content
stringlengths 7
1.05M
| fixed_cases
stringlengths 1
1.28M
|
---|---|
#analysis function for three level game
def stat_analysis(c1,c2,c3):
#ask question for viewing analysis of game
analysis=input('\nDo you want to see your game analysis? (Yes/No) ')
if analysis=='Yes':
levels=['Level 1','Level 2','Level 3']
#calculating the score of levels
l1_score= c1*10
l2_score= c2*10
l3_score= c3*10
level_score=[l1_score,l2_score,l3_score]
#plot bar chart
plt.bar(levels,level_score,color='blue',edgecolor='black')
plt.title('Levelwise Scores',fontsize=16)#add title
plt.xlabel('Levels')#set x-axis label
plt.ylabel('Scores')#set y-axis label
plt.show()
print('\nDescriptive Statistics of Scores:')
#find mean value
print('\nMean: ',statistics.mean(level_score))
#find median value
print('\nMediand: ',statistics.median(level_score))
#Mode calculation
#create numPy array of values with only one mode
arr_val = np.array(level_score)
#find unique values in array along with their counts
vals, uni_val_counts = np.unique(arr_val, return_counts=True)
#find mode
mode_value = np.argwhere(counts == np.max(uni_val_counts))
print('\nMode: ',vals[mode_value].flatten().tolist())
#find variance
print('\nVariance: ',np.var(level_score))
#find standard deviation
print('\nStandard Deviation: ',statistics.stdev(level_score))
print('\nGood Bye.See you later!!!')
elif analysis=='No':
print('\nGood Bye.See you later!!!')
else:
print('Invalid value enter')
stat_analysis(c1,c2,c3)
| def stat_analysis(c1, c2, c3):
analysis = input('\nDo you want to see your game analysis? (Yes/No) ')
if analysis == 'Yes':
levels = ['Level 1', 'Level 2', 'Level 3']
l1_score = c1 * 10
l2_score = c2 * 10
l3_score = c3 * 10
level_score = [l1_score, l2_score, l3_score]
plt.bar(levels, level_score, color='blue', edgecolor='black')
plt.title('Levelwise Scores', fontsize=16)
plt.xlabel('Levels')
plt.ylabel('Scores')
plt.show()
print('\nDescriptive Statistics of Scores:')
print('\nMean: ', statistics.mean(level_score))
print('\nMediand: ', statistics.median(level_score))
arr_val = np.array(level_score)
(vals, uni_val_counts) = np.unique(arr_val, return_counts=True)
mode_value = np.argwhere(counts == np.max(uni_val_counts))
print('\nMode: ', vals[mode_value].flatten().tolist())
print('\nVariance: ', np.var(level_score))
print('\nStandard Deviation: ', statistics.stdev(level_score))
print('\nGood Bye.See you later!!!')
elif analysis == 'No':
print('\nGood Bye.See you later!!!')
else:
print('Invalid value enter')
stat_analysis(c1, c2, c3) |
#!/usr/bin/env python3
def date_time(time):
months = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"]
hour, minute = int(time[11:13]), int(time[14:16])
return f"{int(time[0:2])} {months[int(time[3:5])-1]} {time[6:10]} year {hour} hour{'s' if hour!=1 else ''} {minute} minute{'s' if minute!=1 else ''}"
if __name__ == '__main__':
print(date_time("01.01.2018 00:00"))
assert date_time("01.01.2018 00:00") == "1 January 2018 year 0 hours 0 minutes"
assert date_time("04.08.1984 08:15") == "4 August 1984 year 8 hours 15 minutes"
assert date_time("17.12.1990 07:42") == "17 December 1990 year 7 hours 42 minutes"
| def date_time(time):
months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
(hour, minute) = (int(time[11:13]), int(time[14:16]))
return f"{int(time[0:2])} {months[int(time[3:5]) - 1]} {time[6:10]} year {hour} hour{('s' if hour != 1 else '')} {minute} minute{('s' if minute != 1 else '')}"
if __name__ == '__main__':
print(date_time('01.01.2018 00:00'))
assert date_time('01.01.2018 00:00') == '1 January 2018 year 0 hours 0 minutes'
assert date_time('04.08.1984 08:15') == '4 August 1984 year 8 hours 15 minutes'
assert date_time('17.12.1990 07:42') == '17 December 1990 year 7 hours 42 minutes' |
item1='phone'
item1_price = 100
item1_quantity = 5
item1_price_total = item1_price * item1_quantity
print(type(item1)) # str
print(type(item1_price)) # int
print(type(item1_quantity)) # int
print(type(item1_price_total)) # int
# output:
# <class 'str'>
# <class 'int'>
# <class 'int'>
# <class 'int'> | item1 = 'phone'
item1_price = 100
item1_quantity = 5
item1_price_total = item1_price * item1_quantity
print(type(item1))
print(type(item1_price))
print(type(item1_quantity))
print(type(item1_price_total)) |
a = int(input())
while a:
for x in range(a-1):
out = '*' + ' ' * (a-x-2) + '*' + ' ' * (a-x-2) + '*'
print(out.center(2*a-1))
print('*' * (2 * a - 1))
for x in range(a-1):
out = '*' + ' ' * x + '*' + ' ' * x + '*'
print(out.center(2*a-1))
a = int(input())
| a = int(input())
while a:
for x in range(a - 1):
out = '*' + ' ' * (a - x - 2) + '*' + ' ' * (a - x - 2) + '*'
print(out.center(2 * a - 1))
print('*' * (2 * a - 1))
for x in range(a - 1):
out = '*' + ' ' * x + '*' + ' ' * x + '*'
print(out.center(2 * a - 1))
a = int(input()) |
class Dataset:
_data = None
_first_text_col = 'text'
_second_text_col = None
_label_col = 'label'
def __init__(self):
self._idx = 0
if self._data is None:
raise Exception('Dataset is not loaded')
def __iter__(self):
return self
def __next__(self):
if self._idx >= len(self._data):
raise StopIteration
else:
item = self._data.iloc[self._idx]
self._idx += 1
if self._second_text_col:
return item[self._first_text_col], item[self._second_text_col], int(item[self._label_col])
else:
return item[self._first_text_col], int(item[self._label_col])
def __getitem__(self, item):
if isinstance(item, int):
item = self._data.iloc[item]
if self._second_text_col:
return item[self._first_text_col], item[self._second_text_col], int(item[self._label_col])
else:
return item[self._first_text_col], int(item[self._label_col])
elif isinstance(item, slice):
start = item.start if item.start else 0
stop = item.stop if item.stop else len(self._data)
step = item.step if item.step else 1
items = self._data.iloc[start:stop:step]
if self._second_text_col:
return [(item[self._first_text_col], item[self._second_text_col], int(item[self._label_col])) for _, item in items.iterrows()]
else:
return [(item[self._first_text_col], int(item[self._label_col])) for _, item in items.iterrows()]
else:
raise KeyError
def __str__(self):
return str(self._data) | class Dataset:
_data = None
_first_text_col = 'text'
_second_text_col = None
_label_col = 'label'
def __init__(self):
self._idx = 0
if self._data is None:
raise exception('Dataset is not loaded')
def __iter__(self):
return self
def __next__(self):
if self._idx >= len(self._data):
raise StopIteration
else:
item = self._data.iloc[self._idx]
self._idx += 1
if self._second_text_col:
return (item[self._first_text_col], item[self._second_text_col], int(item[self._label_col]))
else:
return (item[self._first_text_col], int(item[self._label_col]))
def __getitem__(self, item):
if isinstance(item, int):
item = self._data.iloc[item]
if self._second_text_col:
return (item[self._first_text_col], item[self._second_text_col], int(item[self._label_col]))
else:
return (item[self._first_text_col], int(item[self._label_col]))
elif isinstance(item, slice):
start = item.start if item.start else 0
stop = item.stop if item.stop else len(self._data)
step = item.step if item.step else 1
items = self._data.iloc[start:stop:step]
if self._second_text_col:
return [(item[self._first_text_col], item[self._second_text_col], int(item[self._label_col])) for (_, item) in items.iterrows()]
else:
return [(item[self._first_text_col], int(item[self._label_col])) for (_, item) in items.iterrows()]
else:
raise KeyError
def __str__(self):
return str(self._data) |
n=int(input("Enter number "))
fact=1
for i in range(1,n+1):
fact=fact*i
print("Factorial is ",fact)
| n = int(input('Enter number '))
fact = 1
for i in range(1, n + 1):
fact = fact * i
print('Factorial is ', fact) |
# Fractional Knapsack
wt = [40,50,30,10,10,40,30]
pro = [30,20,20,25,5,35,15]
n = len(wt)
data = [ (i,pro[i],wt[i]) for i in range(n) ]
bag = 100
data.sort(key=lambda x: x[1]/x[2], reverse=True)
profit=0
ans=[]
i=0
while i<n:
if data[i][2]<=bag:
bag-=data[i][2]
ans.append(data[i][0])
profit+=data[i][1]
i+=1
else:
break
if i<n:
ans.append(data[i][0])
profit += (bag*data[i][1])/data[i][2]
print(profit,ans)
| wt = [40, 50, 30, 10, 10, 40, 30]
pro = [30, 20, 20, 25, 5, 35, 15]
n = len(wt)
data = [(i, pro[i], wt[i]) for i in range(n)]
bag = 100
data.sort(key=lambda x: x[1] / x[2], reverse=True)
profit = 0
ans = []
i = 0
while i < n:
if data[i][2] <= bag:
bag -= data[i][2]
ans.append(data[i][0])
profit += data[i][1]
i += 1
else:
break
if i < n:
ans.append(data[i][0])
profit += bag * data[i][1] / data[i][2]
print(profit, ans) |
class DeviceSettings:
def __init__(self, settings):
self._id = settings["id"]
self._title = settings["title"]
self._type = settings["type"]["name"]
self._value = settings["value"]
@property
def id(self):
return self._id
@property
def value(self):
return self._value
| class Devicesettings:
def __init__(self, settings):
self._id = settings['id']
self._title = settings['title']
self._type = settings['type']['name']
self._value = settings['value']
@property
def id(self):
return self._id
@property
def value(self):
return self._value |
word = input("Enter a word: ")
if word == "a":
print("one; any")
elif word == "apple":
print("familiar, round fleshy fruit")
elif word == "rhinoceros":
print("large thick-skinned animal with one or two horns on its nose")
else:
print("That word must not exist. This dictionary is very comprehensive.")
| word = input('Enter a word: ')
if word == 'a':
print('one; any')
elif word == 'apple':
print('familiar, round fleshy fruit')
elif word == 'rhinoceros':
print('large thick-skinned animal with one or two horns on its nose')
else:
print('That word must not exist. This dictionary is very comprehensive.') |
cnt = int(input())
num = list(map(int, input()))
sum = 0
for i in range(len(num)):
sum = sum + num[i]
print(sum) | cnt = int(input())
num = list(map(int, input()))
sum = 0
for i in range(len(num)):
sum = sum + num[i]
print(sum) |
def test_xrange(judge_command):
judge_command(
"XRANGE somestream - +",
{"command": "XRANGE", "key": "somestream", "stream_id": ["-", "+"]},
)
judge_command(
"XRANGE somestream 1526985054069 1526985055069",
{
"command": "XRANGE",
"key": "somestream",
"stream_id": ["1526985054069", "1526985055069"],
},
)
judge_command(
"XRANGE somestream 1526985054069 1526985055069-10",
{
"command": "XRANGE",
"key": "somestream",
"stream_id": ["1526985054069", "1526985055069-10"],
},
)
judge_command(
"XRANGE somestream 1526985054069 1526985055069-10 count 10",
{
"command": "XRANGE",
"key": "somestream",
"stream_id": ["1526985054069", "1526985055069-10"],
"count_const": "count",
"count": "10",
},
)
def test_xgroup_create(judge_command):
judge_command(
"XGROUP CREATE mykey mygroup 123",
{
"command": "XGROUP",
"stream_create": "CREATE",
"key": "mykey",
"group": "mygroup",
"stream_id": "123",
},
)
judge_command(
"XGROUP CREATE mykey mygroup $",
{
"command": "XGROUP",
"stream_create": "CREATE",
"key": "mykey",
"group": "mygroup",
"stream_id": "$",
},
)
# short of a parameter
judge_command("XGROUP CREATE mykey mygroup", None)
judge_command("XGROUP CREATE mykey", None)
def test_xgroup_setid(judge_command):
judge_command(
"XGROUP SETID mykey mygroup 123",
{
"command": "XGROUP",
"stream_setid": "SETID",
"key": "mykey",
"group": "mygroup",
"stream_id": "123",
},
)
judge_command(
"XGROUP SETID mykey mygroup $",
{
"command": "XGROUP",
"stream_setid": "SETID",
"key": "mykey",
"group": "mygroup",
"stream_id": "$",
},
)
# two subcommand together shouldn't match
judge_command("XGROUP CREATE mykey mygroup 123 SETID mykey mygroup $", None)
def test_xgroup_destroy(judge_command):
judge_command(
"XGROUP destroy mykey mygroup",
{
"command": "XGROUP",
"stream_destroy": "destroy",
"key": "mykey",
"group": "mygroup",
},
)
judge_command("XGROUP destroy mykey", None)
judge_command("XGROUP DESTROY mykey mygroup $", None)
def test_xgroup_delconsumer(judge_command):
judge_command(
"XGROUP delconsumer mykey mygroup myconsumer",
{
"command": "XGROUP",
"stream_delconsumer": "delconsumer",
"key": "mykey",
"group": "mygroup",
"consumer": "myconsumer",
},
)
judge_command(
"XGROUP delconsumer mykey mygroup $",
{
"command": "XGROUP",
"stream_delconsumer": "delconsumer",
"key": "mykey",
"group": "mygroup",
"consumer": "$",
},
)
judge_command("XGROUP delconsumer mykey mygroup", None)
def test_xgroup_stream(judge_command):
judge_command(
"XACK mystream group1 123123",
{
"command": "XACK",
"key": "mystream",
"group": "group1",
"stream_id": "123123",
},
)
judge_command(
"XACK mystream group1 123123 111",
{"command": "XACK", "key": "mystream", "group": "group1", "stream_id": "111"},
)
def test_xinfo(judge_command):
judge_command(
"XINFO consumers mystream mygroup",
{
"command": "XINFO",
"stream_consumers": "consumers",
"key": "mystream",
"group": "mygroup",
},
)
judge_command(
"XINFO GROUPS mystream",
{"command": "XINFO", "stream_groups": "GROUPS", "key": "mystream"},
)
judge_command(
"XINFO STREAM mystream",
{"command": "XINFO", "stream": "STREAM", "key": "mystream"},
)
judge_command("XINFO HELP", {"command": "XINFO", "help": "HELP"})
judge_command("XINFO consumers mystream mygroup GROUPS mystream", None)
judge_command("XINFO groups mystream mygroup", None)
def test_xinfo_with_full(judge_command):
judge_command(
"XINFO STREAM mystream FULL",
{
"command": "XINFO",
"stream": "STREAM",
"key": "mystream",
"full_const": "FULL",
},
)
judge_command(
"XINFO STREAM mystream FULL count 10",
{
"command": "XINFO",
"stream": "STREAM",
"key": "mystream",
"full_const": "FULL",
"count_const": "count",
"count": "10",
},
)
def test_xpending(judge_command):
judge_command(
"XPENDING mystream group55",
{"command": "XPENDING", "key": "mystream", "group": "group55"},
)
judge_command(
"XPENDING mystream group55 myconsumer",
{
"command": "XPENDING",
"key": "mystream",
"group": "group55",
"consumer": "myconsumer",
},
)
judge_command(
"XPENDING mystream group55 - + 10",
{
"command": "XPENDING",
"key": "mystream",
"group": "group55",
"stream_id": ["-", "+"],
"count": "10",
},
)
judge_command(
"XPENDING mystream group55 - + 10 myconsumer",
{
"command": "XPENDING",
"key": "mystream",
"group": "group55",
"stream_id": ["-", "+"],
"count": "10",
"consumer": "myconsumer",
},
)
judge_command("XPENDING mystream group55 - + ", None)
def test_xadd(judge_command):
judge_command(
"xadd mystream MAXLEN ~ 1000 * key value",
{
"command": "xadd",
"key": "mystream",
"maxlen": "MAXLEN",
"approximately": "~",
"count": "1000",
"sfield": "key",
"svalue": "value",
"stream_id": "*",
},
)
# test for MAXLEN option
judge_command(
"xadd mystream MAXLEN 1000 * key value",
{
"command": "xadd",
"key": "mystream",
"maxlen": "MAXLEN",
"count": "1000",
"sfield": "key",
"svalue": "value",
"stream_id": "*",
},
)
judge_command(
"xadd mystream * key value",
{
"command": "xadd",
"key": "mystream",
"sfield": "key",
"svalue": "value",
"stream_id": "*",
},
)
# spcify stream id
judge_command(
"xadd mystream 123-123 key value",
{
"command": "xadd",
"key": "mystream",
"sfield": "key",
"svalue": "value",
"stream_id": "123-123",
},
)
judge_command(
"xadd mystream 123-123 key value foo bar hello world",
{
"command": "xadd",
"key": "mystream",
"sfield": "hello",
"svalue": "world",
"stream_id": "123-123",
},
)
def test_xtrim(judge_command):
judge_command(
" XTRIM mystream MAXLEN 2",
{"command": "XTRIM", "key": "mystream", "maxlen": "MAXLEN", "count": "2"},
)
judge_command(
" XTRIM mystream MAXLEN ~ 2",
{
"command": "XTRIM",
"key": "mystream",
"maxlen": "MAXLEN",
"count": "2",
"approximately": "~",
},
)
judge_command(" XTRIM mystream", None)
def test_xdel(judge_command):
judge_command(
"XDEL mystream 1581165000000 1549611229000 1581060831000",
{"command": "XDEL", "key": "mystream", "stream_id": "1581060831000"},
)
judge_command(
"XDEL mystream 1581165000000",
{"command": "XDEL", "key": "mystream", "stream_id": "1581165000000"},
)
def test_xclaim(judge_command):
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "1526569498055-0",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 123 456 789",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "789",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 IDEL 300",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": ["3600000", "300"],
"stream_id": "1526569498055-0",
"idel": "IDEL",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 retrycount 7",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "1526569498055-0",
"retrycount": "retrycount",
"count": "7",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 TIME 123456789",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "1526569498055-0",
"time": "TIME",
"timestamp": "123456789",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 FORCE",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "1526569498055-0",
"force": "FORCE",
},
)
judge_command(
"XCLAIM mystream mygroup Alice 3600000 1526569498055-0 JUSTID",
{
"command": "XCLAIM",
"key": "mystream",
"group": "mygroup",
"consumer": "Alice",
"millisecond": "3600000",
"stream_id": "1526569498055-0",
"justid": "JUSTID",
},
)
def test_xread(judge_command):
judge_command(
"XREAD COUNT 2 STREAMS mystream writers 0-0 0-0",
{
"command": "XREAD",
"count_const": "COUNT",
"count": "2",
"streams": "STREAMS",
# FIXME current grammar can't support multiple tokens
# so the ids will be recongized to keys.
"keys": "mystream writers 0-0",
"stream_id": "0-0",
},
)
judge_command(
"XREAD COUNT 2 BLOCK 1000 STREAMS mystream writers 0-0 0-0",
{
"command": "XREAD",
"count_const": "COUNT",
"count": "2",
"streams": "STREAMS",
"keys": "mystream writers 0-0",
"block": "BLOCK",
"millisecond": "1000",
"stream_id": "0-0",
},
)
def test_xreadgroup(judge_command):
judge_command(
"XREADGROUP GROUP mygroup1 Bob COUNT 1 BLOCK 100 NOACK STREAMS key1 1 key2 2",
{
"command": "XREADGROUP",
"stream_group": "GROUP",
"group": "mygroup1",
"consumer": "Bob",
"count_const": "COUNT",
"count": "1",
"block": "BLOCK",
"millisecond": "100",
"noack": "NOACK",
"streams": "STREAMS",
"keys": "key1 1 key2",
"stream_id": "2",
},
)
judge_command(
"XREADGROUP GROUP mygroup1 Bob STREAMS key1 1 key2 2",
{
"command": "XREADGROUP",
"stream_group": "GROUP",
"group": "mygroup1",
"consumer": "Bob",
"streams": "STREAMS",
"keys": "key1 1 key2",
"stream_id": "2",
},
)
judge_command("XREADGROUP GROUP group consumer", None)
| def test_xrange(judge_command):
judge_command('XRANGE somestream - +', {'command': 'XRANGE', 'key': 'somestream', 'stream_id': ['-', '+']})
judge_command('XRANGE somestream 1526985054069 1526985055069', {'command': 'XRANGE', 'key': 'somestream', 'stream_id': ['1526985054069', '1526985055069']})
judge_command('XRANGE somestream 1526985054069 1526985055069-10', {'command': 'XRANGE', 'key': 'somestream', 'stream_id': ['1526985054069', '1526985055069-10']})
judge_command('XRANGE somestream 1526985054069 1526985055069-10 count 10', {'command': 'XRANGE', 'key': 'somestream', 'stream_id': ['1526985054069', '1526985055069-10'], 'count_const': 'count', 'count': '10'})
def test_xgroup_create(judge_command):
judge_command('XGROUP CREATE mykey mygroup 123', {'command': 'XGROUP', 'stream_create': 'CREATE', 'key': 'mykey', 'group': 'mygroup', 'stream_id': '123'})
judge_command('XGROUP CREATE mykey mygroup $', {'command': 'XGROUP', 'stream_create': 'CREATE', 'key': 'mykey', 'group': 'mygroup', 'stream_id': '$'})
judge_command('XGROUP CREATE mykey mygroup', None)
judge_command('XGROUP CREATE mykey', None)
def test_xgroup_setid(judge_command):
judge_command('XGROUP SETID mykey mygroup 123', {'command': 'XGROUP', 'stream_setid': 'SETID', 'key': 'mykey', 'group': 'mygroup', 'stream_id': '123'})
judge_command('XGROUP SETID mykey mygroup $', {'command': 'XGROUP', 'stream_setid': 'SETID', 'key': 'mykey', 'group': 'mygroup', 'stream_id': '$'})
judge_command('XGROUP CREATE mykey mygroup 123 SETID mykey mygroup $', None)
def test_xgroup_destroy(judge_command):
judge_command('XGROUP destroy mykey mygroup', {'command': 'XGROUP', 'stream_destroy': 'destroy', 'key': 'mykey', 'group': 'mygroup'})
judge_command('XGROUP destroy mykey', None)
judge_command('XGROUP DESTROY mykey mygroup $', None)
def test_xgroup_delconsumer(judge_command):
judge_command('XGROUP delconsumer mykey mygroup myconsumer', {'command': 'XGROUP', 'stream_delconsumer': 'delconsumer', 'key': 'mykey', 'group': 'mygroup', 'consumer': 'myconsumer'})
judge_command('XGROUP delconsumer mykey mygroup $', {'command': 'XGROUP', 'stream_delconsumer': 'delconsumer', 'key': 'mykey', 'group': 'mygroup', 'consumer': '$'})
judge_command('XGROUP delconsumer mykey mygroup', None)
def test_xgroup_stream(judge_command):
judge_command('XACK mystream group1 123123', {'command': 'XACK', 'key': 'mystream', 'group': 'group1', 'stream_id': '123123'})
judge_command('XACK mystream group1 123123 111', {'command': 'XACK', 'key': 'mystream', 'group': 'group1', 'stream_id': '111'})
def test_xinfo(judge_command):
judge_command('XINFO consumers mystream mygroup', {'command': 'XINFO', 'stream_consumers': 'consumers', 'key': 'mystream', 'group': 'mygroup'})
judge_command('XINFO GROUPS mystream', {'command': 'XINFO', 'stream_groups': 'GROUPS', 'key': 'mystream'})
judge_command('XINFO STREAM mystream', {'command': 'XINFO', 'stream': 'STREAM', 'key': 'mystream'})
judge_command('XINFO HELP', {'command': 'XINFO', 'help': 'HELP'})
judge_command('XINFO consumers mystream mygroup GROUPS mystream', None)
judge_command('XINFO groups mystream mygroup', None)
def test_xinfo_with_full(judge_command):
judge_command('XINFO STREAM mystream FULL', {'command': 'XINFO', 'stream': 'STREAM', 'key': 'mystream', 'full_const': 'FULL'})
judge_command('XINFO STREAM mystream FULL count 10', {'command': 'XINFO', 'stream': 'STREAM', 'key': 'mystream', 'full_const': 'FULL', 'count_const': 'count', 'count': '10'})
def test_xpending(judge_command):
judge_command('XPENDING mystream group55', {'command': 'XPENDING', 'key': 'mystream', 'group': 'group55'})
judge_command('XPENDING mystream group55 myconsumer', {'command': 'XPENDING', 'key': 'mystream', 'group': 'group55', 'consumer': 'myconsumer'})
judge_command('XPENDING mystream group55 - + 10', {'command': 'XPENDING', 'key': 'mystream', 'group': 'group55', 'stream_id': ['-', '+'], 'count': '10'})
judge_command('XPENDING mystream group55 - + 10 myconsumer', {'command': 'XPENDING', 'key': 'mystream', 'group': 'group55', 'stream_id': ['-', '+'], 'count': '10', 'consumer': 'myconsumer'})
judge_command('XPENDING mystream group55 - + ', None)
def test_xadd(judge_command):
judge_command('xadd mystream MAXLEN ~ 1000 * key value', {'command': 'xadd', 'key': 'mystream', 'maxlen': 'MAXLEN', 'approximately': '~', 'count': '1000', 'sfield': 'key', 'svalue': 'value', 'stream_id': '*'})
judge_command('xadd mystream MAXLEN 1000 * key value', {'command': 'xadd', 'key': 'mystream', 'maxlen': 'MAXLEN', 'count': '1000', 'sfield': 'key', 'svalue': 'value', 'stream_id': '*'})
judge_command('xadd mystream * key value', {'command': 'xadd', 'key': 'mystream', 'sfield': 'key', 'svalue': 'value', 'stream_id': '*'})
judge_command('xadd mystream 123-123 key value', {'command': 'xadd', 'key': 'mystream', 'sfield': 'key', 'svalue': 'value', 'stream_id': '123-123'})
judge_command('xadd mystream 123-123 key value foo bar hello world', {'command': 'xadd', 'key': 'mystream', 'sfield': 'hello', 'svalue': 'world', 'stream_id': '123-123'})
def test_xtrim(judge_command):
judge_command(' XTRIM mystream MAXLEN 2', {'command': 'XTRIM', 'key': 'mystream', 'maxlen': 'MAXLEN', 'count': '2'})
judge_command(' XTRIM mystream MAXLEN ~ 2', {'command': 'XTRIM', 'key': 'mystream', 'maxlen': 'MAXLEN', 'count': '2', 'approximately': '~'})
judge_command(' XTRIM mystream', None)
def test_xdel(judge_command):
judge_command('XDEL mystream 1581165000000 1549611229000 1581060831000', {'command': 'XDEL', 'key': 'mystream', 'stream_id': '1581060831000'})
judge_command('XDEL mystream 1581165000000', {'command': 'XDEL', 'key': 'mystream', 'stream_id': '1581165000000'})
def test_xclaim(judge_command):
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '1526569498055-0'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 123 456 789', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '789'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 IDEL 300', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': ['3600000', '300'], 'stream_id': '1526569498055-0', 'idel': 'IDEL'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 retrycount 7', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '1526569498055-0', 'retrycount': 'retrycount', 'count': '7'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 TIME 123456789', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '1526569498055-0', 'time': 'TIME', 'timestamp': '123456789'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 FORCE', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '1526569498055-0', 'force': 'FORCE'})
judge_command('XCLAIM mystream mygroup Alice 3600000 1526569498055-0 JUSTID', {'command': 'XCLAIM', 'key': 'mystream', 'group': 'mygroup', 'consumer': 'Alice', 'millisecond': '3600000', 'stream_id': '1526569498055-0', 'justid': 'JUSTID'})
def test_xread(judge_command):
judge_command('XREAD COUNT 2 STREAMS mystream writers 0-0 0-0', {'command': 'XREAD', 'count_const': 'COUNT', 'count': '2', 'streams': 'STREAMS', 'keys': 'mystream writers 0-0', 'stream_id': '0-0'})
judge_command('XREAD COUNT 2 BLOCK 1000 STREAMS mystream writers 0-0 0-0', {'command': 'XREAD', 'count_const': 'COUNT', 'count': '2', 'streams': 'STREAMS', 'keys': 'mystream writers 0-0', 'block': 'BLOCK', 'millisecond': '1000', 'stream_id': '0-0'})
def test_xreadgroup(judge_command):
judge_command('XREADGROUP GROUP mygroup1 Bob COUNT 1 BLOCK 100 NOACK STREAMS key1 1 key2 2', {'command': 'XREADGROUP', 'stream_group': 'GROUP', 'group': 'mygroup1', 'consumer': 'Bob', 'count_const': 'COUNT', 'count': '1', 'block': 'BLOCK', 'millisecond': '100', 'noack': 'NOACK', 'streams': 'STREAMS', 'keys': 'key1 1 key2', 'stream_id': '2'})
judge_command('XREADGROUP GROUP mygroup1 Bob STREAMS key1 1 key2 2', {'command': 'XREADGROUP', 'stream_group': 'GROUP', 'group': 'mygroup1', 'consumer': 'Bob', 'streams': 'STREAMS', 'keys': 'key1 1 key2', 'stream_id': '2'})
judge_command('XREADGROUP GROUP group consumer', None) |
def decode(word1,word2,code):
if len(word1)==1:
code+=word1+word2
return code
else:
code+=word1[0]+word2[0]
return decode(word1[1:],word2[1:],code)
Alice='Ti rga eoe esg o h ore"ermetsCmuainls'
Bob='hspormdcdsamsaefrtecus Hraina optcoae"'
print(decode(Alice,Bob,''))
| def decode(word1, word2, code):
if len(word1) == 1:
code += word1 + word2
return code
else:
code += word1[0] + word2[0]
return decode(word1[1:], word2[1:], code)
alice = 'Ti rga eoe esg o h ore"ermetsCmuainls'
bob = 'hspormdcdsamsaefrtecus Hraina optcoae"'
print(decode(Alice, Bob, '')) |
# constants for configuration parameters of our tensorflow models
LABEL = "label"
IDS = "ids"
# LABEL_PAD_ID is used to pad multi-label training examples.
# It should be < 0 to avoid index out of bounds errors by tf.one_hot.
LABEL_PAD_ID = -1
HIDDEN_LAYERS_SIZES = "hidden_layers_sizes"
SHARE_HIDDEN_LAYERS = "share_hidden_layers"
TRANSFORMER_SIZE = "transformer_size"
NUM_TRANSFORMER_LAYERS = "number_of_transformer_layers"
NUM_HEADS = "number_of_attention_heads"
UNIDIRECTIONAL_ENCODER = "unidirectional_encoder"
KEY_RELATIVE_ATTENTION = "use_key_relative_attention"
VALUE_RELATIVE_ATTENTION = "use_value_relative_attention"
MAX_RELATIVE_POSITION = "max_relative_position"
BATCH_SIZES = "batch_size"
BATCH_STRATEGY = "batch_strategy"
EPOCHS = "epochs"
RANDOM_SEED = "random_seed"
LEARNING_RATE = "learning_rate"
DENSE_DIMENSION = "dense_dimension"
CONCAT_DIMENSION = "concat_dimension"
EMBEDDING_DIMENSION = "embedding_dimension"
ENCODING_DIMENSION = "encoding_dimension"
SIMILARITY_TYPE = "similarity_type"
LOSS_TYPE = "loss_type"
NUM_NEG = "number_of_negative_examples"
MAX_POS_SIM = "maximum_positive_similarity"
MAX_NEG_SIM = "maximum_negative_similarity"
USE_MAX_NEG_SIM = "use_maximum_negative_similarity"
SCALE_LOSS = "scale_loss"
REGULARIZATION_CONSTANT = "regularization_constant"
NEGATIVE_MARGIN_SCALE = "negative_margin_scale"
DROP_RATE = "drop_rate"
DROP_RATE_ATTENTION = "drop_rate_attention"
DROP_RATE_DIALOGUE = "drop_rate_dialogue"
DROP_RATE_LABEL = "drop_rate_label"
CONSTRAIN_SIMILARITIES = "constrain_similarities"
WEIGHT_SPARSITY = "weight_sparsity" # Deprecated and superseeded by CONNECTION_DENSITY
CONNECTION_DENSITY = "connection_density"
EVAL_NUM_EPOCHS = "evaluate_every_number_of_epochs"
EVAL_NUM_EXAMPLES = "evaluate_on_number_of_examples"
INTENT_CLASSIFICATION = "intent_classification"
ENTITY_RECOGNITION = "entity_recognition"
MASKED_LM = "use_masked_language_model"
SPARSE_INPUT_DROPOUT = "use_sparse_input_dropout"
DENSE_INPUT_DROPOUT = "use_dense_input_dropout"
RANKING_LENGTH = "ranking_length"
MODEL_CONFIDENCE = "model_confidence"
BILOU_FLAG = "BILOU_flag"
RETRIEVAL_INTENT = "retrieval_intent"
USE_TEXT_AS_LABEL = "use_text_as_label"
SOFTMAX = "softmax"
MARGIN = "margin"
AUTO = "auto"
INNER = "inner"
LINEAR_NORM = "linear_norm"
COSINE = "cosine"
CROSS_ENTROPY = "cross_entropy"
BALANCED = "balanced"
SEQUENCE = "sequence"
SEQUENCE_LENGTH = f"{SEQUENCE}_lengths"
SENTENCE = "sentence"
POOLING = "pooling"
MAX_POOLING = "max"
MEAN_POOLING = "mean"
TENSORBOARD_LOG_DIR = "tensorboard_log_directory"
TENSORBOARD_LOG_LEVEL = "tensorboard_log_level"
SEQUENCE_FEATURES = "sequence_features"
SENTENCE_FEATURES = "sentence_features"
FEATURIZERS = "featurizers"
CHECKPOINT_MODEL = "checkpoint_model"
MASK = "mask"
IGNORE_INTENTS_LIST = "ignore_intents_list"
TOLERANCE = "tolerance"
POSITIVE_SCORES_KEY = "positive_scores"
NEGATIVE_SCORES_KEY = "negative_scores"
RANKING_KEY = "label_ranking"
QUERY_INTENT_KEY = "query_intent"
SCORE_KEY = "score"
THRESHOLD_KEY = "threshold"
SEVERITY_KEY = "severity"
NAME = "name"
EPOCH_OVERRIDE = "epoch_override"
| label = 'label'
ids = 'ids'
label_pad_id = -1
hidden_layers_sizes = 'hidden_layers_sizes'
share_hidden_layers = 'share_hidden_layers'
transformer_size = 'transformer_size'
num_transformer_layers = 'number_of_transformer_layers'
num_heads = 'number_of_attention_heads'
unidirectional_encoder = 'unidirectional_encoder'
key_relative_attention = 'use_key_relative_attention'
value_relative_attention = 'use_value_relative_attention'
max_relative_position = 'max_relative_position'
batch_sizes = 'batch_size'
batch_strategy = 'batch_strategy'
epochs = 'epochs'
random_seed = 'random_seed'
learning_rate = 'learning_rate'
dense_dimension = 'dense_dimension'
concat_dimension = 'concat_dimension'
embedding_dimension = 'embedding_dimension'
encoding_dimension = 'encoding_dimension'
similarity_type = 'similarity_type'
loss_type = 'loss_type'
num_neg = 'number_of_negative_examples'
max_pos_sim = 'maximum_positive_similarity'
max_neg_sim = 'maximum_negative_similarity'
use_max_neg_sim = 'use_maximum_negative_similarity'
scale_loss = 'scale_loss'
regularization_constant = 'regularization_constant'
negative_margin_scale = 'negative_margin_scale'
drop_rate = 'drop_rate'
drop_rate_attention = 'drop_rate_attention'
drop_rate_dialogue = 'drop_rate_dialogue'
drop_rate_label = 'drop_rate_label'
constrain_similarities = 'constrain_similarities'
weight_sparsity = 'weight_sparsity'
connection_density = 'connection_density'
eval_num_epochs = 'evaluate_every_number_of_epochs'
eval_num_examples = 'evaluate_on_number_of_examples'
intent_classification = 'intent_classification'
entity_recognition = 'entity_recognition'
masked_lm = 'use_masked_language_model'
sparse_input_dropout = 'use_sparse_input_dropout'
dense_input_dropout = 'use_dense_input_dropout'
ranking_length = 'ranking_length'
model_confidence = 'model_confidence'
bilou_flag = 'BILOU_flag'
retrieval_intent = 'retrieval_intent'
use_text_as_label = 'use_text_as_label'
softmax = 'softmax'
margin = 'margin'
auto = 'auto'
inner = 'inner'
linear_norm = 'linear_norm'
cosine = 'cosine'
cross_entropy = 'cross_entropy'
balanced = 'balanced'
sequence = 'sequence'
sequence_length = f'{SEQUENCE}_lengths'
sentence = 'sentence'
pooling = 'pooling'
max_pooling = 'max'
mean_pooling = 'mean'
tensorboard_log_dir = 'tensorboard_log_directory'
tensorboard_log_level = 'tensorboard_log_level'
sequence_features = 'sequence_features'
sentence_features = 'sentence_features'
featurizers = 'featurizers'
checkpoint_model = 'checkpoint_model'
mask = 'mask'
ignore_intents_list = 'ignore_intents_list'
tolerance = 'tolerance'
positive_scores_key = 'positive_scores'
negative_scores_key = 'negative_scores'
ranking_key = 'label_ranking'
query_intent_key = 'query_intent'
score_key = 'score'
threshold_key = 'threshold'
severity_key = 'severity'
name = 'name'
epoch_override = 'epoch_override' |
PROTO = {
'spaceone.monitoring.interface.grpc.v1.data_source': ['DataSource'],
'spaceone.monitoring.interface.grpc.v1.metric': ['Metric'],
'spaceone.monitoring.interface.grpc.v1.project_alert_config': ['ProjectAlertConfig'],
'spaceone.monitoring.interface.grpc.v1.escalation_policy': ['EscalationPolicy'],
'spaceone.monitoring.interface.grpc.v1.event_rule': ['EventRule'],
'spaceone.monitoring.interface.grpc.v1.webhook': ['Webhook'],
'spaceone.monitoring.interface.grpc.v1.maintenance_window': ['MaintenanceWindow'],
'spaceone.monitoring.interface.grpc.v1.alert': ['Alert'],
'spaceone.monitoring.interface.grpc.v1.note': ['Note'],
'spaceone.monitoring.interface.grpc.v1.event': ['Event'],
}
| proto = {'spaceone.monitoring.interface.grpc.v1.data_source': ['DataSource'], 'spaceone.monitoring.interface.grpc.v1.metric': ['Metric'], 'spaceone.monitoring.interface.grpc.v1.project_alert_config': ['ProjectAlertConfig'], 'spaceone.monitoring.interface.grpc.v1.escalation_policy': ['EscalationPolicy'], 'spaceone.monitoring.interface.grpc.v1.event_rule': ['EventRule'], 'spaceone.monitoring.interface.grpc.v1.webhook': ['Webhook'], 'spaceone.monitoring.interface.grpc.v1.maintenance_window': ['MaintenanceWindow'], 'spaceone.monitoring.interface.grpc.v1.alert': ['Alert'], 'spaceone.monitoring.interface.grpc.v1.note': ['Note'], 'spaceone.monitoring.interface.grpc.v1.event': ['Event']} |
# -*- coding: utf-8 -*-
class Config(object):
def __init__(self):
self.init_scale = 0.1
self.learning_rate = 1.0
self.max_grad_norm = 5
self.num_layers = 2
self.slice_size = 30
self.hidden_size = 200
self.max_epoch = 13
self.keep_prob = 0.8
self.lr_const_epoch = 4
self.lr_decay = 0.7
self.batch_size = 30
self.vocab_size = 10000
self.rnn_model = "gru"
self.data_path = "./data/"
self.save_path = "../out/cudnn/gru/"
| class Config(object):
def __init__(self):
self.init_scale = 0.1
self.learning_rate = 1.0
self.max_grad_norm = 5
self.num_layers = 2
self.slice_size = 30
self.hidden_size = 200
self.max_epoch = 13
self.keep_prob = 0.8
self.lr_const_epoch = 4
self.lr_decay = 0.7
self.batch_size = 30
self.vocab_size = 10000
self.rnn_model = 'gru'
self.data_path = './data/'
self.save_path = '../out/cudnn/gru/' |
{
'targets': [
{
# have to specify 'liblib' here since gyp will remove the first one :\
'target_name': 'mysql_bindings',
'sources': [
'src/mysql_bindings.cc',
'src/mysql_bindings_connection.cc',
'src/mysql_bindings_result.cc',
'src/mysql_bindings_statement.cc',
],
'conditions': [
['OS=="win"', {
# no Windows support yet...
}, {
'libraries': [
'<!@(mysql_config --libs_r)'
],
}],
['OS=="mac"', {
# cflags on OS X are stupid and have to be defined like this
'xcode_settings': {
'OTHER_CFLAGS': [
'<!@(mysql_config --cflags)'
]
}
}, {
'cflags': [
'<!@(mysql_config --cflags)'
],
}]
]
}
]
}
| {'targets': [{'target_name': 'mysql_bindings', 'sources': ['src/mysql_bindings.cc', 'src/mysql_bindings_connection.cc', 'src/mysql_bindings_result.cc', 'src/mysql_bindings_statement.cc'], 'conditions': [['OS=="win"', {}, {'libraries': ['<!@(mysql_config --libs_r)']}], ['OS=="mac"', {'xcode_settings': {'OTHER_CFLAGS': ['<!@(mysql_config --cflags)']}}, {'cflags': ['<!@(mysql_config --cflags)']}]]}]} |
# TODO turn prints into actual error raise, they are print for testing
def qSystemInitErrors(init):
def newFunction(obj, **kwargs):
init(obj, **kwargs)
if obj._genericQSys__dimension is None:
className = obj.__class__.__name__
print(className + ' requires a dimension')
elif obj.frequency is None:
className = obj.__class__.__name__
print(className + ' requires a frequency')
return newFunction
def qCouplingInitErrors(init):
def newFunction(obj, *args, **kwargs):
init(obj, *args, **kwargs)
if obj.couplingOperators is None: # pylint: disable=protected-access
className = obj.__class__.__name__
print(className + ' requires a coupling functions')
elif obj.coupledSystems is None: # pylint: disable=protected-access
className = obj.__class__.__name__
print(className + ' requires a coupling systems')
#for ind in range(len(obj._qCoupling__qSys)):
# if len(obj._qCoupling__cFncs) != len(obj._qCoupling__qSys):
# className = obj.__class__.__name__
# print(className + ' requires same number of systems as coupling functions')
return newFunction
def sweepInitError(init):
def newFunction(obj, **kwargs):
init(obj, **kwargs)
if obj.sweepList is None:
className = obj.__class__.__name__
print(className + ' requires either a list or relevant info, here are givens'
+ '\n' + # noqa: W503, W504
'sweepList: ', obj.sweepList, '\n' + # noqa: W504
'sweepMax: ', obj.sweepMax, '\n' + # noqa: W504
'sweepMin: ', obj.sweepMin, '\n' + # noqa: W504
'sweepPert: ', obj.sweepPert, '\n' + # noqa: W504
'logSweep: ', obj.logSweep)
return newFunction
| def q_system_init_errors(init):
def new_function(obj, **kwargs):
init(obj, **kwargs)
if obj._genericQSys__dimension is None:
class_name = obj.__class__.__name__
print(className + ' requires a dimension')
elif obj.frequency is None:
class_name = obj.__class__.__name__
print(className + ' requires a frequency')
return newFunction
def q_coupling_init_errors(init):
def new_function(obj, *args, **kwargs):
init(obj, *args, **kwargs)
if obj.couplingOperators is None:
class_name = obj.__class__.__name__
print(className + ' requires a coupling functions')
elif obj.coupledSystems is None:
class_name = obj.__class__.__name__
print(className + ' requires a coupling systems')
return newFunction
def sweep_init_error(init):
def new_function(obj, **kwargs):
init(obj, **kwargs)
if obj.sweepList is None:
class_name = obj.__class__.__name__
print(className + ' requires either a list or relevant info, here are givens' + '\n' + 'sweepList: ', obj.sweepList, '\n' + 'sweepMax: ', obj.sweepMax, '\n' + 'sweepMin: ', obj.sweepMin, '\n' + 'sweepPert: ', obj.sweepPert, '\n' + 'logSweep: ', obj.logSweep)
return newFunction |
def insertion_sort(l):
for i in range(1, len(l)):
j = i - 1
key = l[i]
while (j >= 0) and (l[j] > key):
l[j + 1] = l[j]
j -= 1
l[j + 1] = key
m = int(input().strip())
ar = [int(i) for i in input().strip().split()]
insertion_sort(ar)
print(" ".join(map(str, ar)))
| def insertion_sort(l):
for i in range(1, len(l)):
j = i - 1
key = l[i]
while j >= 0 and l[j] > key:
l[j + 1] = l[j]
j -= 1
l[j + 1] = key
m = int(input().strip())
ar = [int(i) for i in input().strip().split()]
insertion_sort(ar)
print(' '.join(map(str, ar))) |
def Euler0001():
max = 1000
sum = 0
for i in range(1, max):
if i%3 == 0 or i%5 == 0:
sum += i
print(sum)
Euler0001() | def euler0001():
max = 1000
sum = 0
for i in range(1, max):
if i % 3 == 0 or i % 5 == 0:
sum += i
print(sum)
euler0001() |
class Solution:
# @return a string
def convertToTitle(self, n: int) -> str:
capitals = [chr(x) for x in range(ord('A'), ord('Z')+1)]
result = []
while n > 0:
result.insert(0, capitals[(n-1)%len(capitals)])
n = (n-1) % len(capitals)
# result.reverse()
return ''.join(result) | class Solution:
def convert_to_title(self, n: int) -> str:
capitals = [chr(x) for x in range(ord('A'), ord('Z') + 1)]
result = []
while n > 0:
result.insert(0, capitals[(n - 1) % len(capitals)])
n = (n - 1) % len(capitals)
return ''.join(result) |
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
# Intermediate target grouping the android tools needed to run native
# unittests and instrumentation test apks.
{
'target_name': 'android_tools',
'type': 'none',
'dependencies': [
'adb_reboot/adb_reboot.gyp:adb_reboot',
'forwarder2/forwarder.gyp:forwarder2',
'md5sum/md5sum.gyp:md5sum',
'purge_ashmem/purge_ashmem.gyp:purge_ashmem',
],
},
{
'target_name': 'memdump',
'type': 'none',
'dependencies': [
'memdump/memdump.gyp:memdump',
],
},
{
'target_name': 'memconsumer',
'type': 'none',
'dependencies': [
'memconsumer/memconsumer.gyp:memconsumer',
],
},
],
}
| {'targets': [{'target_name': 'android_tools', 'type': 'none', 'dependencies': ['adb_reboot/adb_reboot.gyp:adb_reboot', 'forwarder2/forwarder.gyp:forwarder2', 'md5sum/md5sum.gyp:md5sum', 'purge_ashmem/purge_ashmem.gyp:purge_ashmem']}, {'target_name': 'memdump', 'type': 'none', 'dependencies': ['memdump/memdump.gyp:memdump']}, {'target_name': 'memconsumer', 'type': 'none', 'dependencies': ['memconsumer/memconsumer.gyp:memconsumer']}]} |
# Factory-like class for mortgage options
class MortgageOptions:
def __init__(self,kind,**inputOptions):
self.set_default_options()
self.set_kind_options(kind = kind)
self.set_input_options(**inputOptions)
def set_default_options(self):
self.optionList = dict()
self.optionList['commonDefaults'] = dict(
name = None ,
label = None ,
color = [0,0,0],
houseCost = '100%', # how much you are paying for the house
mortgageRate = '0.0%', # Mortgage annual interest rate
mortgageLength = '30Y' , # Mortgage length (in years)
downPayment = '0%' , # Percentage of house cost paid upfront
startingCash = '100%', # Amount of money you have before purchase
tvmRate = '7.0%', # Annual rate of return of savings
inflationRate = '1.8%', # Annual rate of inflation - NOT IMPLEMENTED
appreciationRate = '5.0%', # Annual rate of increase in value of house
houseValue = '100%', # how much the house is worth when you bought it
originationFees = '0.0%', # Mortgage fees as a percentage of the loan
otherMortgageFees = '0.0%', # Other fees as a percentage of the loan
otherPurchaseFees = '0.0%', # Other fees as a percentage of home value
paymentsPerYear = '12' , # Number of mortgage payments per year
taxRate = '0.0%', # Annual taxes as percentage of home value
insuranceRate = '0.0%', # Annual insurance as percentage of home value
listingFee = '0.0%', # Cost of selling the house
capitalGainsTax = '0.0%', # Paid if selling house within two years
capitalGainsPeriod = '0' , # Years after which cap gains tax is not applied
rentalIncome = '0.0%', # Monthly rental price as percentage of home value
rentalPayment = '0.0%', # Monthly rental price as percentage of home value
)
self.optionList['mortgageDefaults'] = dict(
name = 'mortgage',
label = 'Mortgage',
mortgageRate = '4.5%', # Mortgage annual interest rate
mortgageLength = '30Y' , # Mortgage length (in years)
downPayment = '20%' , # Percentage of house cost paid upfront
startingCash = '100%', # Amount of money you have before purchase
originationFees = '0.5%', # Mortgage fees as a percentage of the loan
otherMortgageFees = '0.5%', # Other fees as a percentage of the loan
otherPurchaseFees = '0.5%', # Other fees as a percentage of home value
paymentsPerYear = '12' , # Number of mortgage payments per year
taxRate = '0.6%', # Annual taxes as percentage of home value
insuranceRate = '0.4%', # Annual insurance as percentage of home value
listingFee = '6.0%', # Cost of selling the house
capitalGainsTax = '15%' , # Paid if selling house within two years
capitalGainsPeriod = '2' , # Years after which cap gains tax is not applied
)
self.optionList['rentalDefaults'] = dict(
rentalPayment = '0.6%', # Monthly rental price as percentage of home value
)
self.optionList['investmentPropertyDefaults'] = dict(
mortgageRate = '4.5%', # Mortgage annual interest rate
mortgageLength = '30Y' , # Mortgage length (in years)
downPayment = '20%' , # Percentage of house cost paid upfront
startingCash = '100%', # Amount of money you have before purchase
tvmRate = '7.0%', # Annual rate of return of savings
inflationRate = '1.8%', # Annual rate of inflation - NOT IMPLEMENTED
appreciationRate = '5.0%', # Annual rate of increase in value of house
houseValue = '100%', # how much the house is worth when you bought it
originationFees = '0.5%', # Mortgage fees as a percentage of the loan
otherMortgageFees = '0.5%', # Other fees as a percentage of the loan
otherPurchaseFees = '0.5%', # Other fees as a percentage of home value
paymentsPerYear = '12' , # Number of mortgage payments per year
taxRate = '0.6%', # Annual taxes as percentage of home value
insuranceRate = '0.4%', # Annual insurance as percentage of home value
listingFee = '6.0%', # Cost of selling the house
capitalGainsTax = '15%' , # Paid if selling house within two years
capitalGainsPeriod = '2' , # Years after which cap gains tax is not applied
rentalIncome = '0.6%', # Monthly rental price as percentage of home value
)
def set_kind_options(self,kind,**inputOptions):
self.options = self.optionList['commonDefaults']
if kind == None:
pass
elif kind == 'mortgage':
for key,val in self.optionList['mortgageDefaults'].items():
self.options[key] = val
elif kind == 'rental':
for key,val in self.optionList['rentalDefaults'].items():
self.options[key] = val
elif kind == 'investmentProperty':
for key,val in self.optionList['investmentPropertyDefaults'].items():
self.options[key] = val
def set_input_options(self,**inputOptions):
for key,val in inputOptions.items():
self.options[key] = val
| class Mortgageoptions:
def __init__(self, kind, **inputOptions):
self.set_default_options()
self.set_kind_options(kind=kind)
self.set_input_options(**inputOptions)
def set_default_options(self):
self.optionList = dict()
self.optionList['commonDefaults'] = dict(name=None, label=None, color=[0, 0, 0], houseCost='100%', mortgageRate='0.0%', mortgageLength='30Y', downPayment='0%', startingCash='100%', tvmRate='7.0%', inflationRate='1.8%', appreciationRate='5.0%', houseValue='100%', originationFees='0.0%', otherMortgageFees='0.0%', otherPurchaseFees='0.0%', paymentsPerYear='12', taxRate='0.0%', insuranceRate='0.0%', listingFee='0.0%', capitalGainsTax='0.0%', capitalGainsPeriod='0', rentalIncome='0.0%', rentalPayment='0.0%')
self.optionList['mortgageDefaults'] = dict(name='mortgage', label='Mortgage', mortgageRate='4.5%', mortgageLength='30Y', downPayment='20%', startingCash='100%', originationFees='0.5%', otherMortgageFees='0.5%', otherPurchaseFees='0.5%', paymentsPerYear='12', taxRate='0.6%', insuranceRate='0.4%', listingFee='6.0%', capitalGainsTax='15%', capitalGainsPeriod='2')
self.optionList['rentalDefaults'] = dict(rentalPayment='0.6%')
self.optionList['investmentPropertyDefaults'] = dict(mortgageRate='4.5%', mortgageLength='30Y', downPayment='20%', startingCash='100%', tvmRate='7.0%', inflationRate='1.8%', appreciationRate='5.0%', houseValue='100%', originationFees='0.5%', otherMortgageFees='0.5%', otherPurchaseFees='0.5%', paymentsPerYear='12', taxRate='0.6%', insuranceRate='0.4%', listingFee='6.0%', capitalGainsTax='15%', capitalGainsPeriod='2', rentalIncome='0.6%')
def set_kind_options(self, kind, **inputOptions):
self.options = self.optionList['commonDefaults']
if kind == None:
pass
elif kind == 'mortgage':
for (key, val) in self.optionList['mortgageDefaults'].items():
self.options[key] = val
elif kind == 'rental':
for (key, val) in self.optionList['rentalDefaults'].items():
self.options[key] = val
elif kind == 'investmentProperty':
for (key, val) in self.optionList['investmentPropertyDefaults'].items():
self.options[key] = val
def set_input_options(self, **inputOptions):
for (key, val) in inputOptions.items():
self.options[key] = val |
__all__ = (
"Role",
)
class Role:
def __init__(self, data):
self.data = data
self._update(data)
def _get_json(self):
return self.data
def __repr__(self):
return (
f"<Role id={self.id} name={self.name}>"
)
def __str__(self):
return (
f"{self.name}"
)
def _update(self, data):
self._id = data["id"]
self._color = data["color"]
self._managed = data["managed"]
self._name = data["name"]
self._guild_id = data["guild_id"]
self._mentionable = data["mentionable"]
self._position = data["potition"]
self._hoisted = data["hoisted"]
@property
def id(self):
return self._id
@property
def color(self):
return self._color
@property
def managed(self):
return self._managed
@property
def name(self):
return self._name
@property
def guild_id(self):
return self._guild_id
@property
def mentionable(self):
return self._mentionable
@property
def position(self):
return self._position
@property
def hoisted(self):
return self._hoisted
| __all__ = ('Role',)
class Role:
def __init__(self, data):
self.data = data
self._update(data)
def _get_json(self):
return self.data
def __repr__(self):
return f'<Role id={self.id} name={self.name}>'
def __str__(self):
return f'{self.name}'
def _update(self, data):
self._id = data['id']
self._color = data['color']
self._managed = data['managed']
self._name = data['name']
self._guild_id = data['guild_id']
self._mentionable = data['mentionable']
self._position = data['potition']
self._hoisted = data['hoisted']
@property
def id(self):
return self._id
@property
def color(self):
return self._color
@property
def managed(self):
return self._managed
@property
def name(self):
return self._name
@property
def guild_id(self):
return self._guild_id
@property
def mentionable(self):
return self._mentionable
@property
def position(self):
return self._position
@property
def hoisted(self):
return self._hoisted |
_Msun_kpc3_to_GeV_cm3_factor = 0.3/8.0e6
def Msun_kpc3_to_GeV_cm3(value):
return value*_Msun_kpc3_to_GeV_cm3_factor
| __msun_kpc3_to__ge_v_cm3_factor = 0.3 / 8000000.0
def msun_kpc3_to__ge_v_cm3(value):
return value * _Msun_kpc3_to_GeV_cm3_factor |
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
'linux_link_kerberos%': 0,
'conditions': [
['chromeos==1 or OS=="android" or OS=="ios"', {
# Disable Kerberos on ChromeOS, Android and iOS, at least for now.
# It needs configuration (krb5.conf and so on).
'use_kerberos%': 0,
}, { # chromeos == 0
'use_kerberos%': 1,
}],
['OS=="android" and target_arch != "ia32"', {
# The way the cache uses mmap() is inefficient on some Android devices.
# If this flag is set, we hackily avoid using mmap() in the disk cache.
# We are pretty confident that mmap-ing the index would not hurt any
# existing x86 android devices, but we cannot be so sure about the
# variety of ARM devices. So enable it for x86 only for now.
'posix_avoid_mmap%': 1,
}, {
'posix_avoid_mmap%': 0,
}],
['OS=="ios"', {
# Websockets and socket stream are not used on iOS.
'enable_websockets%': 0,
# iOS does not use V8.
'use_v8_in_net%': 0,
'enable_built_in_dns%': 0,
}, {
'enable_websockets%': 1,
'use_v8_in_net%': 1,
'enable_built_in_dns%': 1,
}],
],
},
'includes': [
'../build/win_precompile.gypi',
],
'targets': [
{
'target_name': 'net',
'type': '<(component)',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../crypto/crypto.gyp:crypto',
'../sdch/sdch.gyp:sdch',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/zlib/zlib.gyp:zlib',
'net_resources',
],
'sources': [
'android/cert_verify_result_android.h',
'android/cert_verify_result_android_list.h',
'android/gurl_utils.cc',
'android/gurl_utils.h',
'android/keystore.cc',
'android/keystore.h',
'android/keystore_openssl.cc',
'android/keystore_openssl.h',
'android/net_jni_registrar.cc',
'android/net_jni_registrar.h',
'android/network_change_notifier_android.cc',
'android/network_change_notifier_android.h',
'android/network_change_notifier_delegate_android.cc',
'android/network_change_notifier_delegate_android.h',
'android/network_change_notifier_factory_android.cc',
'android/network_change_notifier_factory_android.h',
'android/network_library.cc',
'android/network_library.h',
'base/address_family.h',
'base/address_list.cc',
'base/address_list.h',
'base/address_tracker_linux.cc',
'base/address_tracker_linux.h',
'base/auth.cc',
'base/auth.h',
'base/backoff_entry.cc',
'base/backoff_entry.h',
'base/bandwidth_metrics.cc',
'base/bandwidth_metrics.h',
'base/big_endian.cc',
'base/big_endian.h',
'base/cache_type.h',
'base/completion_callback.h',
'base/connection_type_histograms.cc',
'base/connection_type_histograms.h',
'base/crypto_module.h',
'base/crypto_module_nss.cc',
'base/crypto_module_openssl.cc',
'base/data_url.cc',
'base/data_url.h',
'base/directory_lister.cc',
'base/directory_lister.h',
'base/dns_reloader.cc',
'base/dns_reloader.h',
'base/dns_util.cc',
'base/dns_util.h',
'base/escape.cc',
'base/escape.h',
'base/expiring_cache.h',
'base/file_stream.cc',
'base/file_stream.h',
'base/file_stream_context.cc',
'base/file_stream_context.h',
'base/file_stream_context_posix.cc',
'base/file_stream_context_win.cc',
'base/file_stream_metrics.cc',
'base/file_stream_metrics.h',
'base/file_stream_metrics_posix.cc',
'base/file_stream_metrics_win.cc',
'base/file_stream_net_log_parameters.cc',
'base/file_stream_net_log_parameters.h',
'base/file_stream_whence.h',
'base/filter.cc',
'base/filter.h',
'base/int128.cc',
'base/int128.h',
'base/gzip_filter.cc',
'base/gzip_filter.h',
'base/gzip_header.cc',
'base/gzip_header.h',
'base/hash_value.cc',
'base/hash_value.h',
'base/host_mapping_rules.cc',
'base/host_mapping_rules.h',
'base/host_port_pair.cc',
'base/host_port_pair.h',
'base/io_buffer.cc',
'base/io_buffer.h',
'base/ip_endpoint.cc',
'base/ip_endpoint.h',
'base/keygen_handler.cc',
'base/keygen_handler.h',
'base/keygen_handler_mac.cc',
'base/keygen_handler_nss.cc',
'base/keygen_handler_openssl.cc',
'base/keygen_handler_win.cc',
'base/linked_hash_map.h',
'base/load_flags.h',
'base/load_flags_list.h',
'base/load_states.h',
'base/load_states_list.h',
'base/load_timing_info.cc',
'base/load_timing_info.h',
'base/mime_sniffer.cc',
'base/mime_sniffer.h',
'base/mime_util.cc',
'base/mime_util.h',
'base/net_error_list.h',
'base/net_errors.cc',
'base/net_errors.h',
'base/net_errors_posix.cc',
'base/net_errors_win.cc',
'base/net_export.h',
'base/net_log.cc',
'base/net_log.h',
'base/net_log_event_type_list.h',
'base/net_log_source_type_list.h',
'base/net_module.cc',
'base/net_module.h',
'base/net_util.cc',
'base/net_util.h',
'base/net_util_posix.cc',
'base/net_util_win.cc',
'base/network_change_notifier.cc',
'base/network_change_notifier.h',
'base/network_change_notifier_factory.h',
'base/network_change_notifier_linux.cc',
'base/network_change_notifier_linux.h',
'base/network_change_notifier_mac.cc',
'base/network_change_notifier_mac.h',
'base/network_change_notifier_win.cc',
'base/network_change_notifier_win.h',
'base/network_config_watcher_mac.cc',
'base/network_config_watcher_mac.h',
'base/network_delegate.cc',
'base/network_delegate.h',
'base/nss_memio.c',
'base/nss_memio.h',
'base/openssl_private_key_store.h',
'base/openssl_private_key_store_android.cc',
'base/openssl_private_key_store_memory.cc',
'base/platform_mime_util.h',
# TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
'base/platform_mime_util_linux.cc',
'base/platform_mime_util_mac.mm',
'base/platform_mime_util_win.cc',
'base/prioritized_dispatcher.cc',
'base/prioritized_dispatcher.h',
'base/priority_queue.h',
'base/rand_callback.h',
'base/registry_controlled_domains/registry_controlled_domain.cc',
'base/registry_controlled_domains/registry_controlled_domain.h',
'base/request_priority.h',
'base/sdch_filter.cc',
'base/sdch_filter.h',
'base/sdch_manager.cc',
'base/sdch_manager.h',
'base/static_cookie_policy.cc',
'base/static_cookie_policy.h',
'base/sys_addrinfo.h',
'base/test_data_stream.cc',
'base/test_data_stream.h',
'base/upload_bytes_element_reader.cc',
'base/upload_bytes_element_reader.h',
'base/upload_data.cc',
'base/upload_data.h',
'base/upload_data_stream.cc',
'base/upload_data_stream.h',
'base/upload_element.cc',
'base/upload_element.h',
'base/upload_element_reader.cc',
'base/upload_element_reader.h',
'base/upload_file_element_reader.cc',
'base/upload_file_element_reader.h',
'base/upload_progress.h',
'base/url_util.cc',
'base/url_util.h',
'base/winsock_init.cc',
'base/winsock_init.h',
'base/winsock_util.cc',
'base/winsock_util.h',
'base/zap.cc',
'base/zap.h',
'cert/asn1_util.cc',
'cert/asn1_util.h',
'cert/cert_database.cc',
'cert/cert_database.h',
'cert/cert_database_android.cc',
'cert/cert_database_ios.cc',
'cert/cert_database_mac.cc',
'cert/cert_database_nss.cc',
'cert/cert_database_openssl.cc',
'cert/cert_database_win.cc',
'cert/cert_status_flags.cc',
'cert/cert_status_flags.h',
'cert/cert_trust_anchor_provider.h',
'cert/cert_verifier.cc',
'cert/cert_verifier.h',
'cert/cert_verify_proc.cc',
'cert/cert_verify_proc.h',
'cert/cert_verify_proc_android.cc',
'cert/cert_verify_proc_android.h',
'cert/cert_verify_proc_mac.cc',
'cert/cert_verify_proc_mac.h',
'cert/cert_verify_proc_nss.cc',
'cert/cert_verify_proc_nss.h',
'cert/cert_verify_proc_openssl.cc',
'cert/cert_verify_proc_openssl.h',
'cert/cert_verify_proc_win.cc',
'cert/cert_verify_proc_win.h',
'cert/cert_verify_result.cc',
'cert/cert_verify_result.h',
'cert/crl_set.cc',
'cert/crl_set.h',
'cert/ev_root_ca_metadata.cc',
'cert/ev_root_ca_metadata.h',
'cert/multi_threaded_cert_verifier.cc',
'cert/multi_threaded_cert_verifier.h',
'cert/nss_cert_database.cc',
'cert/nss_cert_database.h',
'cert/pem_tokenizer.cc',
'cert/pem_tokenizer.h',
'cert/single_request_cert_verifier.cc',
'cert/single_request_cert_verifier.h',
'cert/test_root_certs.cc',
'cert/test_root_certs.h',
'cert/test_root_certs_mac.cc',
'cert/test_root_certs_nss.cc',
'cert/test_root_certs_openssl.cc',
'cert/test_root_certs_android.cc',
'cert/test_root_certs_win.cc',
'cert/x509_cert_types.cc',
'cert/x509_cert_types.h',
'cert/x509_cert_types_mac.cc',
'cert/x509_cert_types_win.cc',
'cert/x509_certificate.cc',
'cert/x509_certificate.h',
'cert/x509_certificate_ios.cc',
'cert/x509_certificate_mac.cc',
'cert/x509_certificate_net_log_param.cc',
'cert/x509_certificate_net_log_param.h',
'cert/x509_certificate_nss.cc',
'cert/x509_certificate_openssl.cc',
'cert/x509_certificate_win.cc',
'cert/x509_util.h',
'cert/x509_util.cc',
'cert/x509_util_ios.cc',
'cert/x509_util_ios.h',
'cert/x509_util_mac.cc',
'cert/x509_util_mac.h',
'cert/x509_util_nss.cc',
'cert/x509_util_nss.h',
'cert/x509_util_openssl.cc',
'cert/x509_util_openssl.h',
'cookies/canonical_cookie.cc',
'cookies/canonical_cookie.h',
'cookies/cookie_monster.cc',
'cookies/cookie_monster.h',
'cookies/cookie_options.h',
'cookies/cookie_store.cc',
'cookies/cookie_store.h',
'cookies/cookie_util.cc',
'cookies/cookie_util.h',
'cookies/parsed_cookie.cc',
'cookies/parsed_cookie.h',
'disk_cache/addr.cc',
'disk_cache/addr.h',
'disk_cache/backend_impl.cc',
'disk_cache/backend_impl.h',
'disk_cache/bitmap.cc',
'disk_cache/bitmap.h',
'disk_cache/block_files.cc',
'disk_cache/block_files.h',
'disk_cache/cache_creator.cc',
'disk_cache/cache_util.h',
'disk_cache/cache_util.cc',
'disk_cache/cache_util_posix.cc',
'disk_cache/cache_util_win.cc',
'disk_cache/disk_cache.h',
'disk_cache/disk_format.cc',
'disk_cache/disk_format.h',
'disk_cache/entry_impl.cc',
'disk_cache/entry_impl.h',
'disk_cache/errors.h',
'disk_cache/eviction.cc',
'disk_cache/eviction.h',
'disk_cache/experiments.h',
'disk_cache/file.cc',
'disk_cache/file.h',
'disk_cache/file_block.h',
'disk_cache/file_lock.cc',
'disk_cache/file_lock.h',
'disk_cache/file_posix.cc',
'disk_cache/file_win.cc',
'disk_cache/histogram_macros.h',
'disk_cache/in_flight_backend_io.cc',
'disk_cache/in_flight_backend_io.h',
'disk_cache/in_flight_io.cc',
'disk_cache/in_flight_io.h',
'disk_cache/mapped_file.h',
'disk_cache/mapped_file_posix.cc',
'disk_cache/mapped_file_avoid_mmap_posix.cc',
'disk_cache/mapped_file_win.cc',
'disk_cache/mem_backend_impl.cc',
'disk_cache/mem_backend_impl.h',
'disk_cache/mem_entry_impl.cc',
'disk_cache/mem_entry_impl.h',
'disk_cache/mem_rankings.cc',
'disk_cache/mem_rankings.h',
'disk_cache/net_log_parameters.cc',
'disk_cache/net_log_parameters.h',
'disk_cache/rankings.cc',
'disk_cache/rankings.h',
'disk_cache/sparse_control.cc',
'disk_cache/sparse_control.h',
'disk_cache/stats.cc',
'disk_cache/stats.h',
'disk_cache/stats_histogram.cc',
'disk_cache/stats_histogram.h',
'disk_cache/storage_block-inl.h',
'disk_cache/storage_block.h',
'disk_cache/stress_support.h',
'disk_cache/trace.cc',
'disk_cache/trace.h',
'disk_cache/simple/simple_backend_impl.cc',
'disk_cache/simple/simple_backend_impl.h',
'disk_cache/simple/simple_disk_format.cc',
'disk_cache/simple/simple_disk_format.h',
'disk_cache/simple/simple_entry_impl.cc',
'disk_cache/simple/simple_entry_impl.h',
'disk_cache/simple/simple_index.cc',
'disk_cache/simple/simple_index.h',
'disk_cache/simple/simple_synchronous_entry.cc',
'disk_cache/simple/simple_synchronous_entry.h',
'disk_cache/flash/flash_entry_impl.cc',
'disk_cache/flash/flash_entry_impl.h',
'disk_cache/flash/format.h',
'disk_cache/flash/internal_entry.cc',
'disk_cache/flash/internal_entry.h',
'disk_cache/flash/log_store.cc',
'disk_cache/flash/log_store.h',
'disk_cache/flash/log_store_entry.cc',
'disk_cache/flash/log_store_entry.h',
'disk_cache/flash/segment.cc',
'disk_cache/flash/segment.h',
'disk_cache/flash/storage.cc',
'disk_cache/flash/storage.h',
'dns/address_sorter.h',
'dns/address_sorter_posix.cc',
'dns/address_sorter_posix.h',
'dns/address_sorter_win.cc',
'dns/dns_client.cc',
'dns/dns_client.h',
'dns/dns_config_service.cc',
'dns/dns_config_service.h',
'dns/dns_config_service_posix.cc',
'dns/dns_config_service_posix.h',
'dns/dns_config_service_win.cc',
'dns/dns_config_service_win.h',
'dns/dns_hosts.cc',
'dns/dns_hosts.h',
'dns/dns_protocol.h',
'dns/dns_query.cc',
'dns/dns_query.h',
'dns/dns_response.cc',
'dns/dns_response.h',
'dns/dns_session.cc',
'dns/dns_session.h',
'dns/dns_socket_pool.cc',
'dns/dns_socket_pool.h',
'dns/dns_transaction.cc',
'dns/dns_transaction.h',
'dns/host_cache.cc',
'dns/host_cache.h',
'dns/host_resolver.cc',
'dns/host_resolver.h',
'dns/host_resolver_impl.cc',
'dns/host_resolver_impl.h',
'dns/host_resolver_proc.cc',
'dns/host_resolver_proc.h',
'dns/mapped_host_resolver.cc',
'dns/mapped_host_resolver.h',
'dns/notify_watcher_mac.cc',
'dns/notify_watcher_mac.h',
'dns/serial_worker.cc',
'dns/serial_worker.h',
'dns/single_request_host_resolver.cc',
'dns/single_request_host_resolver.h',
'ftp/ftp_auth_cache.cc',
'ftp/ftp_auth_cache.h',
'ftp/ftp_ctrl_response_buffer.cc',
'ftp/ftp_ctrl_response_buffer.h',
'ftp/ftp_directory_listing_parser.cc',
'ftp/ftp_directory_listing_parser.h',
'ftp/ftp_directory_listing_parser_ls.cc',
'ftp/ftp_directory_listing_parser_ls.h',
'ftp/ftp_directory_listing_parser_netware.cc',
'ftp/ftp_directory_listing_parser_netware.h',
'ftp/ftp_directory_listing_parser_os2.cc',
'ftp/ftp_directory_listing_parser_os2.h',
'ftp/ftp_directory_listing_parser_vms.cc',
'ftp/ftp_directory_listing_parser_vms.h',
'ftp/ftp_directory_listing_parser_windows.cc',
'ftp/ftp_directory_listing_parser_windows.h',
'ftp/ftp_network_layer.cc',
'ftp/ftp_network_layer.h',
'ftp/ftp_network_session.cc',
'ftp/ftp_network_session.h',
'ftp/ftp_network_transaction.cc',
'ftp/ftp_network_transaction.h',
'ftp/ftp_request_info.h',
'ftp/ftp_response_info.cc',
'ftp/ftp_response_info.h',
'ftp/ftp_server_type_histograms.cc',
'ftp/ftp_server_type_histograms.h',
'ftp/ftp_transaction.h',
'ftp/ftp_transaction_factory.h',
'ftp/ftp_util.cc',
'ftp/ftp_util.h',
'http/des.cc',
'http/des.h',
'http/http_atom_list.h',
'http/http_auth.cc',
'http/http_auth.h',
'http/http_auth_cache.cc',
'http/http_auth_cache.h',
'http/http_auth_controller.cc',
'http/http_auth_controller.h',
'http/http_auth_filter.cc',
'http/http_auth_filter.h',
'http/http_auth_filter_win.h',
'http/http_auth_gssapi_posix.cc',
'http/http_auth_gssapi_posix.h',
'http/http_auth_handler.cc',
'http/http_auth_handler.h',
'http/http_auth_handler_basic.cc',
'http/http_auth_handler_basic.h',
'http/http_auth_handler_digest.cc',
'http/http_auth_handler_digest.h',
'http/http_auth_handler_factory.cc',
'http/http_auth_handler_factory.h',
'http/http_auth_handler_negotiate.cc',
'http/http_auth_handler_negotiate.h',
'http/http_auth_handler_ntlm.cc',
'http/http_auth_handler_ntlm.h',
'http/http_auth_handler_ntlm_portable.cc',
'http/http_auth_handler_ntlm_win.cc',
'http/http_auth_sspi_win.cc',
'http/http_auth_sspi_win.h',
'http/http_basic_stream.cc',
'http/http_basic_stream.h',
'http/http_byte_range.cc',
'http/http_byte_range.h',
'http/http_cache.cc',
'http/http_cache.h',
'http/http_cache_transaction.cc',
'http/http_cache_transaction.h',
'http/http_content_disposition.cc',
'http/http_content_disposition.h',
'http/http_chunked_decoder.cc',
'http/http_chunked_decoder.h',
'http/http_network_layer.cc',
'http/http_network_layer.h',
'http/http_network_session.cc',
'http/http_network_session.h',
'http/http_network_session_peer.cc',
'http/http_network_session_peer.h',
'http/http_network_transaction.cc',
'http/http_network_transaction.h',
'http/http_pipelined_connection.h',
'http/http_pipelined_connection_impl.cc',
'http/http_pipelined_connection_impl.h',
'http/http_pipelined_host.cc',
'http/http_pipelined_host.h',
'http/http_pipelined_host_capability.h',
'http/http_pipelined_host_forced.cc',
'http/http_pipelined_host_forced.h',
'http/http_pipelined_host_impl.cc',
'http/http_pipelined_host_impl.h',
'http/http_pipelined_host_pool.cc',
'http/http_pipelined_host_pool.h',
'http/http_pipelined_stream.cc',
'http/http_pipelined_stream.h',
'http/http_proxy_client_socket.cc',
'http/http_proxy_client_socket.h',
'http/http_proxy_client_socket_pool.cc',
'http/http_proxy_client_socket_pool.h',
'http/http_request_headers.cc',
'http/http_request_headers.h',
'http/http_request_info.cc',
'http/http_request_info.h',
'http/http_response_body_drainer.cc',
'http/http_response_body_drainer.h',
'http/http_response_headers.cc',
'http/http_response_headers.h',
'http/http_response_info.cc',
'http/http_response_info.h',
'http/http_security_headers.cc',
'http/http_security_headers.h',
'http/http_server_properties.cc',
'http/http_server_properties.h',
'http/http_server_properties_impl.cc',
'http/http_server_properties_impl.h',
'http/http_status_code.h',
'http/http_stream.h',
'http/http_stream_base.h',
'http/http_stream_factory.cc',
'http/http_stream_factory.h',
'http/http_stream_factory_impl.cc',
'http/http_stream_factory_impl.h',
'http/http_stream_factory_impl_job.cc',
'http/http_stream_factory_impl_job.h',
'http/http_stream_factory_impl_request.cc',
'http/http_stream_factory_impl_request.h',
'http/http_stream_parser.cc',
'http/http_stream_parser.h',
'http/http_transaction.h',
'http/http_transaction_delegate.h',
'http/http_transaction_factory.h',
'http/http_util.cc',
'http/http_util.h',
'http/http_util_icu.cc',
'http/http_vary_data.cc',
'http/http_vary_data.h',
'http/http_version.h',
'http/md4.cc',
'http/md4.h',
'http/partial_data.cc',
'http/partial_data.h',
'http/proxy_client_socket.h',
'http/proxy_client_socket.cc',
'http/transport_security_state.cc',
'http/transport_security_state.h',
'http/transport_security_state_static.h',
'http/url_security_manager.cc',
'http/url_security_manager.h',
'http/url_security_manager_posix.cc',
'http/url_security_manager_win.cc',
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
'proxy/dhcp_proxy_script_fetcher.cc',
'proxy/dhcp_proxy_script_fetcher.h',
'proxy/dhcp_proxy_script_fetcher_factory.cc',
'proxy/dhcp_proxy_script_fetcher_factory.h',
'proxy/dhcp_proxy_script_fetcher_win.cc',
'proxy/dhcp_proxy_script_fetcher_win.h',
'proxy/dhcpcsvc_init_win.cc',
'proxy/dhcpcsvc_init_win.h',
'proxy/multi_threaded_proxy_resolver.cc',
'proxy/multi_threaded_proxy_resolver.h',
'proxy/network_delegate_error_observer.cc',
'proxy/network_delegate_error_observer.h',
'proxy/polling_proxy_config_service.cc',
'proxy/polling_proxy_config_service.h',
'proxy/proxy_bypass_rules.cc',
'proxy/proxy_bypass_rules.h',
'proxy/proxy_config.cc',
'proxy/proxy_config.h',
'proxy/proxy_config_service.h',
'proxy/proxy_config_service_android.cc',
'proxy/proxy_config_service_android.h',
'proxy/proxy_config_service_fixed.cc',
'proxy/proxy_config_service_fixed.h',
'proxy/proxy_config_service_ios.cc',
'proxy/proxy_config_service_ios.h',
'proxy/proxy_config_service_linux.cc',
'proxy/proxy_config_service_linux.h',
'proxy/proxy_config_service_mac.cc',
'proxy/proxy_config_service_mac.h',
'proxy/proxy_config_service_win.cc',
'proxy/proxy_config_service_win.h',
'proxy/proxy_config_source.cc',
'proxy/proxy_config_source.h',
'proxy/proxy_info.cc',
'proxy/proxy_info.h',
'proxy/proxy_list.cc',
'proxy/proxy_list.h',
'proxy/proxy_resolver.h',
'proxy/proxy_resolver_error_observer.h',
'proxy/proxy_resolver_mac.cc',
'proxy/proxy_resolver_mac.h',
'proxy/proxy_resolver_script.h',
'proxy/proxy_resolver_script_data.cc',
'proxy/proxy_resolver_script_data.h',
'proxy/proxy_resolver_winhttp.cc',
'proxy/proxy_resolver_winhttp.h',
'proxy/proxy_retry_info.h',
'proxy/proxy_script_decider.cc',
'proxy/proxy_script_decider.h',
'proxy/proxy_script_fetcher.h',
'proxy/proxy_script_fetcher_impl.cc',
'proxy/proxy_script_fetcher_impl.h',
'proxy/proxy_server.cc',
'proxy/proxy_server.h',
'proxy/proxy_server_mac.cc',
'proxy/proxy_service.cc',
'proxy/proxy_service.h',
'quic/blocked_list.h',
'quic/congestion_control/available_channel_estimator.cc',
'quic/congestion_control/available_channel_estimator.h',
'quic/congestion_control/channel_estimator.cc',
'quic/congestion_control/channel_estimator.h',
'quic/congestion_control/cube_root.cc',
'quic/congestion_control/cube_root.h',
'quic/congestion_control/cubic.cc',
'quic/congestion_control/cubic.h',
'quic/congestion_control/fix_rate_receiver.cc',
'quic/congestion_control/fix_rate_receiver.h',
'quic/congestion_control/fix_rate_sender.cc',
'quic/congestion_control/fix_rate_sender.h',
'quic/congestion_control/hybrid_slow_start.cc',
'quic/congestion_control/hybrid_slow_start.h',
'quic/congestion_control/inter_arrival_bitrate_ramp_up.cc',
'quic/congestion_control/inter_arrival_bitrate_ramp_up.h',
'quic/congestion_control/inter_arrival_overuse_detector.cc',
'quic/congestion_control/inter_arrival_overuse_detector.h',
'quic/congestion_control/inter_arrival_probe.cc',
'quic/congestion_control/inter_arrival_probe.h',
'quic/congestion_control/inter_arrival_receiver.cc',
'quic/congestion_control/inter_arrival_receiver.h',
'quic/congestion_control/inter_arrival_sender.cc',
'quic/congestion_control/inter_arrival_sender.h',
'quic/congestion_control/inter_arrival_state_machine.cc',
'quic/congestion_control/inter_arrival_state_machine.h',
'quic/congestion_control/leaky_bucket.cc',
'quic/congestion_control/leaky_bucket.h',
'quic/congestion_control/paced_sender.cc',
'quic/congestion_control/paced_sender.h',
'quic/congestion_control/quic_congestion_manager.cc',
'quic/congestion_control/quic_congestion_manager.h',
'quic/congestion_control/quic_max_sized_map.h',
'quic/congestion_control/receive_algorithm_interface.cc',
'quic/congestion_control/receive_algorithm_interface.h',
'quic/congestion_control/send_algorithm_interface.cc',
'quic/congestion_control/send_algorithm_interface.h',
'quic/congestion_control/tcp_cubic_sender.cc',
'quic/congestion_control/tcp_cubic_sender.h',
'quic/congestion_control/tcp_receiver.cc',
'quic/congestion_control/tcp_receiver.h',
'quic/crypto/aes_128_gcm_decrypter.h',
'quic/crypto/aes_128_gcm_decrypter_nss.cc',
'quic/crypto/aes_128_gcm_decrypter_openssl.cc',
'quic/crypto/aes_128_gcm_encrypter.h',
'quic/crypto/aes_128_gcm_encrypter_nss.cc',
'quic/crypto/aes_128_gcm_encrypter_openssl.cc',
'quic/crypto/crypto_framer.cc',
'quic/crypto/crypto_framer.h',
'quic/crypto/crypto_handshake.cc',
'quic/crypto/crypto_handshake.h',
'quic/crypto/crypto_protocol.h',
'quic/crypto/crypto_utils.cc',
'quic/crypto/crypto_utils.h',
'quic/crypto/curve25519_key_exchange.cc',
'quic/crypto/curve25519_key_exchange.h',
'quic/crypto/key_exchange.h',
'quic/crypto/null_decrypter.cc',
'quic/crypto/null_decrypter.h',
'quic/crypto/null_encrypter.cc',
'quic/crypto/null_encrypter.h',
'quic/crypto/p256_key_exchange.h',
'quic/crypto/p256_key_exchange_nss.cc',
'quic/crypto/p256_key_exchange_openssl.cc',
'quic/crypto/quic_decrypter.cc',
'quic/crypto/quic_decrypter.h',
'quic/crypto/quic_encrypter.cc',
'quic/crypto/quic_encrypter.h',
'quic/crypto/quic_random.cc',
'quic/crypto/quic_random.h',
'quic/crypto/scoped_evp_cipher_ctx.h',
'quic/crypto/strike_register.cc',
'quic/crypto/strike_register.h',
'quic/quic_bandwidth.cc',
'quic/quic_bandwidth.h',
'quic/quic_blocked_writer_interface.h',
'quic/quic_client_session.cc',
'quic/quic_client_session.h',
'quic/quic_crypto_client_stream.cc',
'quic/quic_crypto_client_stream.h',
'quic/quic_crypto_client_stream_factory.h',
'quic/quic_crypto_server_stream.cc',
'quic/quic_crypto_server_stream.h',
'quic/quic_crypto_stream.cc',
'quic/quic_crypto_stream.h',
'quic/quic_clock.cc',
'quic/quic_clock.h',
'quic/quic_connection.cc',
'quic/quic_connection.h',
'quic/quic_connection_helper.cc',
'quic/quic_connection_helper.h',
'quic/quic_connection_logger.cc',
'quic/quic_connection_logger.h',
'quic/quic_data_reader.cc',
'quic/quic_data_reader.h',
'quic/quic_data_writer.cc',
'quic/quic_data_writer.h',
'quic/quic_fec_group.cc',
'quic/quic_fec_group.h',
'quic/quic_framer.cc',
'quic/quic_framer.h',
'quic/quic_http_stream.cc',
'quic/quic_http_stream.h',
'quic/quic_packet_creator.cc',
'quic/quic_packet_creator.h',
'quic/quic_packet_entropy_manager.cc',
'quic/quic_packet_entropy_manager.h',
'quic/quic_packet_generator.cc',
'quic/quic_packet_generator.h',
'quic/quic_protocol.cc',
'quic/quic_protocol.h',
'quic/quic_reliable_client_stream.cc',
'quic/quic_reliable_client_stream.h',
'quic/quic_session.cc',
'quic/quic_session.h',
'quic/quic_stats.cc',
'quic/quic_stats.h',
'quic/quic_stream_factory.cc',
'quic/quic_stream_factory.h',
'quic/quic_stream_sequencer.cc',
'quic/quic_stream_sequencer.h',
'quic/quic_time.cc',
'quic/quic_time.h',
'quic/quic_utils.cc',
'quic/quic_utils.h',
'quic/reliable_quic_stream.cc',
'quic/reliable_quic_stream.h',
'socket/buffered_write_stream_socket.cc',
'socket/buffered_write_stream_socket.h',
'socket/client_socket_factory.cc',
'socket/client_socket_factory.h',
'socket/client_socket_handle.cc',
'socket/client_socket_handle.h',
'socket/client_socket_pool.cc',
'socket/client_socket_pool.h',
'socket/client_socket_pool_base.cc',
'socket/client_socket_pool_base.h',
'socket/client_socket_pool_histograms.cc',
'socket/client_socket_pool_histograms.h',
'socket/client_socket_pool_manager.cc',
'socket/client_socket_pool_manager.h',
'socket/client_socket_pool_manager_impl.cc',
'socket/client_socket_pool_manager_impl.h',
'socket/next_proto.h',
'socket/nss_ssl_util.cc',
'socket/nss_ssl_util.h',
'socket/server_socket.h',
'socket/socket_net_log_params.cc',
'socket/socket_net_log_params.h',
'socket/socket.h',
'socket/socks5_client_socket.cc',
'socket/socks5_client_socket.h',
'socket/socks_client_socket.cc',
'socket/socks_client_socket.h',
'socket/socks_client_socket_pool.cc',
'socket/socks_client_socket_pool.h',
'socket/ssl_client_socket.cc',
'socket/ssl_client_socket.h',
'socket/ssl_client_socket_nss.cc',
'socket/ssl_client_socket_nss.h',
'socket/ssl_client_socket_openssl.cc',
'socket/ssl_client_socket_openssl.h',
'socket/ssl_client_socket_pool.cc',
'socket/ssl_client_socket_pool.h',
'socket/ssl_error_params.cc',
'socket/ssl_error_params.h',
'socket/ssl_server_socket.h',
'socket/ssl_server_socket_nss.cc',
'socket/ssl_server_socket_nss.h',
'socket/ssl_server_socket_openssl.cc',
'socket/ssl_socket.h',
'socket/stream_listen_socket.cc',
'socket/stream_listen_socket.h',
'socket/stream_socket.cc',
'socket/stream_socket.h',
'socket/tcp_client_socket.cc',
'socket/tcp_client_socket.h',
'socket/tcp_client_socket_libevent.cc',
'socket/tcp_client_socket_libevent.h',
'socket/tcp_client_socket_win.cc',
'socket/tcp_client_socket_win.h',
'socket/tcp_listen_socket.cc',
'socket/tcp_listen_socket.h',
'socket/tcp_server_socket.h',
'socket/tcp_server_socket_libevent.cc',
'socket/tcp_server_socket_libevent.h',
'socket/tcp_server_socket_win.cc',
'socket/tcp_server_socket_win.h',
'socket/transport_client_socket_pool.cc',
'socket/transport_client_socket_pool.h',
'socket/unix_domain_socket_posix.cc',
'socket/unix_domain_socket_posix.h',
'socket_stream/socket_stream.cc',
'socket_stream/socket_stream.h',
'socket_stream/socket_stream_job.cc',
'socket_stream/socket_stream_job.h',
'socket_stream/socket_stream_job_manager.cc',
'socket_stream/socket_stream_job_manager.h',
'socket_stream/socket_stream_metrics.cc',
'socket_stream/socket_stream_metrics.h',
'spdy/buffered_spdy_framer.cc',
'spdy/buffered_spdy_framer.h',
'spdy/spdy_bitmasks.h',
'spdy/spdy_credential_builder.cc',
'spdy/spdy_credential_builder.h',
'spdy/spdy_credential_state.cc',
'spdy/spdy_credential_state.h',
'spdy/spdy_frame_builder.cc',
'spdy/spdy_frame_builder.h',
'spdy/spdy_frame_reader.cc',
'spdy/spdy_frame_reader.h',
'spdy/spdy_framer.cc',
'spdy/spdy_framer.h',
'spdy/spdy_header_block.cc',
'spdy/spdy_header_block.h',
'spdy/spdy_http_stream.cc',
'spdy/spdy_http_stream.h',
'spdy/spdy_http_utils.cc',
'spdy/spdy_http_utils.h',
'spdy/spdy_io_buffer.cc',
'spdy/spdy_io_buffer.h',
'spdy/spdy_priority_forest.h',
'spdy/spdy_protocol.cc',
'spdy/spdy_protocol.h',
'spdy/spdy_proxy_client_socket.cc',
'spdy/spdy_proxy_client_socket.h',
'spdy/spdy_session.cc',
'spdy/spdy_session.h',
'spdy/spdy_session_pool.cc',
'spdy/spdy_session_pool.h',
'spdy/spdy_stream.cc',
'spdy/spdy_stream.h',
'spdy/spdy_websocket_stream.cc',
'spdy/spdy_websocket_stream.h',
'ssl/client_cert_store.h',
'ssl/client_cert_store_impl.h',
'ssl/client_cert_store_impl_mac.cc',
'ssl/client_cert_store_impl_nss.cc',
'ssl/client_cert_store_impl_win.cc',
'ssl/default_server_bound_cert_store.cc',
'ssl/default_server_bound_cert_store.h',
'ssl/openssl_client_key_store.cc',
'ssl/openssl_client_key_store.h',
'ssl/server_bound_cert_service.cc',
'ssl/server_bound_cert_service.h',
'ssl/server_bound_cert_store.cc',
'ssl/server_bound_cert_store.h',
'ssl/ssl_cert_request_info.cc',
'ssl/ssl_cert_request_info.h',
'ssl/ssl_cipher_suite_names.cc',
'ssl/ssl_cipher_suite_names.h',
'ssl/ssl_client_auth_cache.cc',
'ssl/ssl_client_auth_cache.h',
'ssl/ssl_client_cert_type.h',
'ssl/ssl_config_service.cc',
'ssl/ssl_config_service.h',
'ssl/ssl_config_service_defaults.cc',
'ssl/ssl_config_service_defaults.h',
'ssl/ssl_info.cc',
'ssl/ssl_info.h',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
'udp/datagram_client_socket.h',
'udp/datagram_server_socket.h',
'udp/datagram_socket.h',
'udp/udp_client_socket.cc',
'udp/udp_client_socket.h',
'udp/udp_net_log_parameters.cc',
'udp/udp_net_log_parameters.h',
'udp/udp_server_socket.cc',
'udp/udp_server_socket.h',
'udp/udp_socket.h',
'udp/udp_socket_libevent.cc',
'udp/udp_socket_libevent.h',
'udp/udp_socket_win.cc',
'udp/udp_socket_win.h',
'url_request/data_protocol_handler.cc',
'url_request/data_protocol_handler.h',
'url_request/file_protocol_handler.cc',
'url_request/file_protocol_handler.h',
'url_request/fraudulent_certificate_reporter.h',
'url_request/ftp_protocol_handler.cc',
'url_request/ftp_protocol_handler.h',
'url_request/http_user_agent_settings.h',
'url_request/protocol_intercept_job_factory.cc',
'url_request/protocol_intercept_job_factory.h',
'url_request/static_http_user_agent_settings.cc',
'url_request/static_http_user_agent_settings.h',
'url_request/url_fetcher.cc',
'url_request/url_fetcher.h',
'url_request/url_fetcher_core.cc',
'url_request/url_fetcher_core.h',
'url_request/url_fetcher_delegate.cc',
'url_request/url_fetcher_delegate.h',
'url_request/url_fetcher_factory.h',
'url_request/url_fetcher_impl.cc',
'url_request/url_fetcher_impl.h',
'url_request/url_fetcher_response_writer.cc',
'url_request/url_fetcher_response_writer.h',
'url_request/url_request.cc',
'url_request/url_request.h',
'url_request/url_request_about_job.cc',
'url_request/url_request_about_job.h',
'url_request/url_request_context.cc',
'url_request/url_request_context.h',
'url_request/url_request_context_builder.cc',
'url_request/url_request_context_builder.h',
'url_request/url_request_context_getter.cc',
'url_request/url_request_context_getter.h',
'url_request/url_request_context_storage.cc',
'url_request/url_request_context_storage.h',
'url_request/url_request_data_job.cc',
'url_request/url_request_data_job.h',
'url_request/url_request_error_job.cc',
'url_request/url_request_error_job.h',
'url_request/url_request_file_dir_job.cc',
'url_request/url_request_file_dir_job.h',
'url_request/url_request_file_job.cc',
'url_request/url_request_file_job.h',
'url_request/url_request_filter.cc',
'url_request/url_request_filter.h',
'url_request/url_request_ftp_job.cc',
'url_request/url_request_ftp_job.h',
'url_request/url_request_http_job.cc',
'url_request/url_request_http_job.h',
'url_request/url_request_job.cc',
'url_request/url_request_job.h',
'url_request/url_request_job_factory.cc',
'url_request/url_request_job_factory.h',
'url_request/url_request_job_factory_impl.cc',
'url_request/url_request_job_factory_impl.h',
'url_request/url_request_job_manager.cc',
'url_request/url_request_job_manager.h',
'url_request/url_request_netlog_params.cc',
'url_request/url_request_netlog_params.h',
'url_request/url_request_redirect_job.cc',
'url_request/url_request_redirect_job.h',
'url_request/url_request_simple_job.cc',
'url_request/url_request_simple_job.h',
'url_request/url_request_status.h',
'url_request/url_request_test_job.cc',
'url_request/url_request_test_job.h',
'url_request/url_request_throttler_entry.cc',
'url_request/url_request_throttler_entry.h',
'url_request/url_request_throttler_entry_interface.h',
'url_request/url_request_throttler_header_adapter.cc',
'url_request/url_request_throttler_header_adapter.h',
'url_request/url_request_throttler_header_interface.h',
'url_request/url_request_throttler_manager.cc',
'url_request/url_request_throttler_manager.h',
'url_request/view_cache_helper.cc',
'url_request/view_cache_helper.h',
'websockets/websocket_errors.cc',
'websockets/websocket_errors.h',
'websockets/websocket_frame.cc',
'websockets/websocket_frame.h',
'websockets/websocket_frame_parser.cc',
'websockets/websocket_frame_parser.h',
'websockets/websocket_handshake_handler.cc',
'websockets/websocket_handshake_handler.h',
'websockets/websocket_job.cc',
'websockets/websocket_job.h',
'websockets/websocket_net_log_params.cc',
'websockets/websocket_net_log_params.h',
'websockets/websocket_stream.h',
'websockets/websocket_throttle.cc',
'websockets/websocket_throttle.h',
],
'defines': [
'NET_IMPLEMENTATION',
],
'export_dependent_settings': [
'../base/base.gyp:base',
],
'conditions': [
['chromeos==1', {
'sources!': [
'base/network_change_notifier_linux.cc',
'base/network_change_notifier_linux.h',
'base/network_change_notifier_netlink_linux.cc',
'base/network_change_notifier_netlink_linux.h',
'proxy/proxy_config_service_linux.cc',
'proxy/proxy_config_service_linux.h',
],
}],
['use_kerberos==1', {
'defines': [
'USE_KERBEROS',
],
'conditions': [
['OS=="openbsd"', {
'include_dirs': [
'/usr/include/kerberosV'
],
}],
['linux_link_kerberos==1', {
'link_settings': {
'ldflags': [
'<!@(krb5-config --libs gssapi)',
],
},
}, { # linux_link_kerberos==0
'defines': [
'DLOPEN_KERBEROS',
],
}],
],
}, { # use_kerberos == 0
'sources!': [
'http/http_auth_gssapi_posix.cc',
'http/http_auth_gssapi_posix.h',
'http/http_auth_handler_negotiate.h',
'http/http_auth_handler_negotiate.cc',
],
}],
['posix_avoid_mmap==1', {
'defines': [
'POSIX_AVOID_MMAP',
],
'direct_dependent_settings': {
'defines': [
'POSIX_AVOID_MMAP',
],
},
'sources!': [
'disk_cache/mapped_file_posix.cc',
],
}, { # else
'sources!': [
'disk_cache/mapped_file_avoid_mmap_posix.cc',
],
}],
['disable_ftp_support==1', {
'sources/': [
['exclude', '^ftp/'],
],
'sources!': [
'url_request/ftp_protocol_handler.cc',
'url_request/ftp_protocol_handler.h',
'url_request/url_request_ftp_job.cc',
'url_request/url_request_ftp_job.h',
],
}],
['enable_built_in_dns==1', {
'defines': [
'ENABLE_BUILT_IN_DNS',
]
}, { # else
'sources!': [
'dns/address_sorter_posix.cc',
'dns/address_sorter_posix.h',
'dns/dns_client.cc',
],
}],
['use_openssl==1', {
'sources!': [
'base/crypto_module_nss.cc',
'base/keygen_handler_nss.cc',
'base/nss_memio.c',
'base/nss_memio.h',
'cert/cert_database_nss.cc',
'cert/cert_verify_proc_nss.cc',
'cert/cert_verify_proc_nss.h',
'cert/nss_cert_database.cc',
'cert/nss_cert_database.h',
'cert/test_root_certs_nss.cc',
'cert/x509_certificate_nss.cc',
'cert/x509_util_nss.cc',
'cert/x509_util_nss.h',
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
'quic/crypto/aes_128_gcm_decrypter_nss.cc',
'quic/crypto/aes_128_gcm_encrypter_nss.cc',
'quic/crypto/p256_key_exchange_nss.cc',
'socket/nss_ssl_util.cc',
'socket/nss_ssl_util.h',
'socket/ssl_client_socket_nss.cc',
'socket/ssl_client_socket_nss.h',
'socket/ssl_server_socket_nss.cc',
'socket/ssl_server_socket_nss.h',
'ssl/client_cert_store_impl_nss.cc',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
},
{ # else !use_openssl: remove the unneeded files
'sources!': [
'base/crypto_module_openssl.cc',
'base/keygen_handler_openssl.cc',
'base/openssl_private_key_store.h',
'base/openssl_private_key_store_android.cc',
'base/openssl_private_key_store_memory.cc',
'cert/cert_database_openssl.cc',
'cert/cert_verify_proc_openssl.cc',
'cert/cert_verify_proc_openssl.h',
'cert/test_root_certs_openssl.cc',
'cert/x509_certificate_openssl.cc',
'cert/x509_util_openssl.cc',
'cert/x509_util_openssl.h',
'quic/crypto/aes_128_gcm_decrypter_openssl.cc',
'quic/crypto/aes_128_gcm_encrypter_openssl.cc',
'quic/crypto/p256_key_exchange_openssl.cc',
'quic/crypto/scoped_evp_cipher_ctx.h',
'socket/ssl_client_socket_openssl.cc',
'socket/ssl_client_socket_openssl.h',
'socket/ssl_server_socket_openssl.cc',
'ssl/openssl_client_key_store.cc',
'ssl/openssl_client_key_store.h',
],
},
],
[ 'use_glib == 1', {
'dependencies': [
'../build/linux/system.gyp:gconf',
'../build/linux/system.gyp:gio',
],
'conditions': [
['use_openssl==1', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
},
{ # else use_openssl==0, use NSS
'dependencies': [
'../build/linux/system.gyp:ssl',
],
}],
['os_bsd==1', {
'sources!': [
'base/network_change_notifier_linux.cc',
'base/network_change_notifier_netlink_linux.cc',
'proxy/proxy_config_service_linux.cc',
],
},{
'dependencies': [
'../build/linux/system.gyp:libresolv',
],
}],
['OS=="solaris"', {
'link_settings': {
'ldflags': [
'-R/usr/lib/mps',
],
},
}],
],
},
{ # else: OS is not in the above list
'sources!': [
'base/crypto_module_nss.cc',
'base/keygen_handler_nss.cc',
'cert/cert_database_nss.cc',
'cert/nss_cert_database.cc',
'cert/nss_cert_database.h',
'cert/test_root_certs_nss.cc',
'cert/x509_certificate_nss.cc',
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
},
],
[ 'toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:gdk',
],
}],
[ 'use_nss != 1', {
'sources!': [
'cert/cert_verify_proc_nss.cc',
'cert/cert_verify_proc_nss.h',
'ssl/client_cert_store_impl_nss.cc',
],
}],
[ 'enable_websockets != 1', {
'sources/': [
['exclude', '^socket_stream/'],
['exclude', '^websockets/'],
],
'sources!': [
'spdy/spdy_websocket_stream.cc',
'spdy/spdy_websocket_stream.h',
],
}],
[ 'OS == "win"', {
'sources!': [
'http/http_auth_handler_ntlm_portable.cc',
'socket/tcp_client_socket_libevent.cc',
'socket/tcp_client_socket_libevent.h',
'socket/tcp_server_socket_libevent.cc',
'socket/tcp_server_socket_libevent.h',
'ssl/client_cert_store_impl_nss.cc',
'udp/udp_socket_libevent.cc',
'udp/udp_socket_libevent.h',
],
'dependencies': [
'../third_party/nss/nss.gyp:nspr',
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:libssl',
'tld_cleanup',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
}, { # else: OS != "win"
'sources!': [
'base/winsock_init.cc',
'base/winsock_init.h',
'base/winsock_util.cc',
'base/winsock_util.h',
'proxy/proxy_resolver_winhttp.cc',
'proxy/proxy_resolver_winhttp.h',
],
},
],
[ 'OS == "mac"', {
'sources!': [
'ssl/client_cert_store_impl_nss.cc',
],
'dependencies': [
'../third_party/nss/nss.gyp:nspr',
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:libssl',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
'$(SDKROOT)/usr/lib/libresolv.dylib',
]
},
},
],
[ 'OS == "ios"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:libssl',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
'$(SDKROOT)/usr/lib/libresolv.dylib',
],
},
},
],
['OS=="android" and _toolset=="target" and android_webview_build == 0', {
'dependencies': [
'net_java',
],
}],
[ 'OS == "android"', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
'net_jni_headers',
],
'sources!': [
'base/openssl_private_key_store_memory.cc',
'cert/cert_database_openssl.cc',
'cert/cert_verify_proc_openssl.cc',
'cert/test_root_certs_openssl.cc',
],
# The net/android/keystore_openssl.cc source file needs to
# access an OpenSSL-internal header.
'include_dirs': [
'../third_party/openssl',
],
}, { # else OS != "android"
'defines': [
# These are the features Android doesn't support.
'ENABLE_MEDIA_CODEC_THEORA',
],
},
],
[ 'OS == "linux"', {
'dependencies': [
'../build/linux/system.gyp:dbus',
'../dbus/dbus.gyp:dbus',
],
},
],
],
'target_conditions': [
# These source files are excluded by default platform rules, but they
# are needed in specific cases on other platforms. Re-including them can
# only be done in target_conditions as it is evaluated after the
# platform rules.
['OS == "android"', {
'sources/': [
['include', '^base/platform_mime_util_linux\\.cc$'],
],
}],
['OS == "ios"', {
'sources/': [
['include', '^base/network_change_notifier_mac\\.cc$'],
['include', '^base/network_config_watcher_mac\\.cc$'],
['include', '^base/platform_mime_util_mac\\.mm$'],
# The iOS implementation only partially uses NSS and thus does not
# defines |use_nss|. In particular the |USE_NSS| preprocessor
# definition is not used. The following files are needed though:
['include', '^cert/cert_verify_proc_nss\\.cc$'],
['include', '^cert/cert_verify_proc_nss\\.h$'],
['include', '^cert/test_root_certs_nss\\.cc$'],
['include', '^cert/x509_util_nss\\.cc$'],
['include', '^cert/x509_util_nss\\.h$'],
['include', '^dns/notify_watcher_mac\\.cc$'],
['include', '^proxy/proxy_resolver_mac\\.cc$'],
['include', '^proxy/proxy_server_mac\\.cc$'],
['include', '^ocsp/nss_ocsp\\.cc$'],
['include', '^ocsp/nss_ocsp\\.h$'],
],
}],
],
},
{
'target_name': 'net_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../crypto/crypto.gyp:crypto',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/zlib/zlib.gyp:zlib',
'net',
'net_test_support',
],
'sources': [
'android/keystore_unittest.cc',
'android/network_change_notifier_android_unittest.cc',
'base/address_list_unittest.cc',
'base/address_tracker_linux_unittest.cc',
'base/backoff_entry_unittest.cc',
'base/big_endian_unittest.cc',
'base/data_url_unittest.cc',
'base/directory_lister_unittest.cc',
'base/dns_util_unittest.cc',
'base/escape_unittest.cc',
'base/expiring_cache_unittest.cc',
'base/file_stream_unittest.cc',
'base/filter_unittest.cc',
'base/int128_unittest.cc',
'base/gzip_filter_unittest.cc',
'base/host_mapping_rules_unittest.cc',
'base/host_port_pair_unittest.cc',
'base/ip_endpoint_unittest.cc',
'base/keygen_handler_unittest.cc',
'base/mime_sniffer_unittest.cc',
'base/mime_util_unittest.cc',
'base/mock_filter_context.cc',
'base/mock_filter_context.h',
'base/net_log_unittest.cc',
'base/net_log_unittest.h',
'base/net_util_unittest.cc',
'base/network_change_notifier_win_unittest.cc',
'base/prioritized_dispatcher_unittest.cc',
'base/priority_queue_unittest.cc',
'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
'base/sdch_filter_unittest.cc',
'base/static_cookie_policy_unittest.cc',
'base/test_completion_callback_unittest.cc',
'base/upload_bytes_element_reader_unittest.cc',
'base/upload_data_stream_unittest.cc',
'base/upload_file_element_reader_unittest.cc',
'base/url_util_unittest.cc',
'cert/cert_verify_proc_unittest.cc',
'cert/crl_set_unittest.cc',
'cert/ev_root_ca_metadata_unittest.cc',
'cert/multi_threaded_cert_verifier_unittest.cc',
'cert/nss_cert_database_unittest.cc',
'cert/pem_tokenizer_unittest.cc',
'cert/x509_certificate_unittest.cc',
'cert/x509_cert_types_unittest.cc',
'cert/x509_util_unittest.cc',
'cert/x509_util_nss_unittest.cc',
'cert/x509_util_openssl_unittest.cc',
'cookies/canonical_cookie_unittest.cc',
'cookies/cookie_monster_unittest.cc',
'cookies/cookie_store_unittest.h',
'cookies/cookie_util_unittest.cc',
'cookies/parsed_cookie_unittest.cc',
'disk_cache/addr_unittest.cc',
'disk_cache/backend_unittest.cc',
'disk_cache/bitmap_unittest.cc',
'disk_cache/block_files_unittest.cc',
'disk_cache/cache_util_unittest.cc',
'disk_cache/entry_unittest.cc',
'disk_cache/mapped_file_unittest.cc',
'disk_cache/storage_block_unittest.cc',
'disk_cache/flash/flash_entry_unittest.cc',
'disk_cache/flash/log_store_entry_unittest.cc',
'disk_cache/flash/log_store_unittest.cc',
'disk_cache/flash/segment_unittest.cc',
'disk_cache/flash/storage_unittest.cc',
'dns/address_sorter_posix_unittest.cc',
'dns/address_sorter_unittest.cc',
'dns/dns_config_service_posix_unittest.cc',
'dns/dns_config_service_unittest.cc',
'dns/dns_config_service_win_unittest.cc',
'dns/dns_hosts_unittest.cc',
'dns/dns_query_unittest.cc',
'dns/dns_response_unittest.cc',
'dns/dns_session_unittest.cc',
'dns/dns_transaction_unittest.cc',
'dns/host_cache_unittest.cc',
'dns/host_resolver_impl_unittest.cc',
'dns/mapped_host_resolver_unittest.cc',
'dns/serial_worker_unittest.cc',
'dns/single_request_host_resolver_unittest.cc',
'ftp/ftp_auth_cache_unittest.cc',
'ftp/ftp_ctrl_response_buffer_unittest.cc',
'ftp/ftp_directory_listing_parser_ls_unittest.cc',
'ftp/ftp_directory_listing_parser_netware_unittest.cc',
'ftp/ftp_directory_listing_parser_os2_unittest.cc',
'ftp/ftp_directory_listing_parser_unittest.cc',
'ftp/ftp_directory_listing_parser_unittest.h',
'ftp/ftp_directory_listing_parser_vms_unittest.cc',
'ftp/ftp_directory_listing_parser_windows_unittest.cc',
'ftp/ftp_network_transaction_unittest.cc',
'ftp/ftp_util_unittest.cc',
'http/des_unittest.cc',
'http/http_auth_cache_unittest.cc',
'http/http_auth_controller_unittest.cc',
'http/http_auth_filter_unittest.cc',
'http/http_auth_gssapi_posix_unittest.cc',
'http/http_auth_handler_basic_unittest.cc',
'http/http_auth_handler_digest_unittest.cc',
'http/http_auth_handler_factory_unittest.cc',
'http/http_auth_handler_mock.cc',
'http/http_auth_handler_mock.h',
'http/http_auth_handler_negotiate_unittest.cc',
'http/http_auth_handler_unittest.cc',
'http/http_auth_sspi_win_unittest.cc',
'http/http_auth_unittest.cc',
'http/http_byte_range_unittest.cc',
'http/http_cache_unittest.cc',
'http/http_chunked_decoder_unittest.cc',
'http/http_content_disposition_unittest.cc',
'http/http_network_layer_unittest.cc',
'http/http_network_transaction_spdy3_unittest.cc',
'http/http_network_transaction_spdy2_unittest.cc',
'http/http_pipelined_connection_impl_unittest.cc',
'http/http_pipelined_host_forced_unittest.cc',
'http/http_pipelined_host_impl_unittest.cc',
'http/http_pipelined_host_pool_unittest.cc',
'http/http_pipelined_host_test_util.cc',
'http/http_pipelined_host_test_util.h',
'http/http_pipelined_network_transaction_unittest.cc',
'http/http_proxy_client_socket_pool_spdy2_unittest.cc',
'http/http_proxy_client_socket_pool_spdy3_unittest.cc',
'http/http_request_headers_unittest.cc',
'http/http_response_body_drainer_unittest.cc',
'http/http_response_headers_unittest.cc',
'http/http_security_headers_unittest.cc',
'http/http_server_properties_impl_unittest.cc',
'http/http_stream_factory_impl_unittest.cc',
'http/http_stream_parser_unittest.cc',
'http/http_transaction_unittest.cc',
'http/http_transaction_unittest.h',
'http/http_util_unittest.cc',
'http/http_vary_data_unittest.cc',
'http/mock_allow_url_security_manager.cc',
'http/mock_allow_url_security_manager.h',
'http/mock_gssapi_library_posix.cc',
'http/mock_gssapi_library_posix.h',
'http/mock_http_cache.cc',
'http/mock_http_cache.h',
'http/mock_sspi_library_win.cc',
'http/mock_sspi_library_win.h',
'http/transport_security_state_unittest.cc',
'http/url_security_manager_unittest.cc',
'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
'proxy/multi_threaded_proxy_resolver_unittest.cc',
'proxy/network_delegate_error_observer_unittest.cc',
'proxy/proxy_bypass_rules_unittest.cc',
'proxy/proxy_config_service_android_unittest.cc',
'proxy/proxy_config_service_linux_unittest.cc',
'proxy/proxy_config_service_win_unittest.cc',
'proxy/proxy_config_unittest.cc',
'proxy/proxy_info_unittest.cc',
'proxy/proxy_list_unittest.cc',
'proxy/proxy_resolver_v8_tracing_unittest.cc',
'proxy/proxy_resolver_v8_unittest.cc',
'proxy/proxy_script_decider_unittest.cc',
'proxy/proxy_script_fetcher_impl_unittest.cc',
'proxy/proxy_server_unittest.cc',
'proxy/proxy_service_unittest.cc',
'quic/blocked_list_test.cc',
'quic/congestion_control/available_channel_estimator_test.cc',
'quic/congestion_control/channel_estimator_test.cc',
'quic/congestion_control/cube_root_test.cc',
'quic/congestion_control/cubic_test.cc',
'quic/congestion_control/fix_rate_test.cc',
'quic/congestion_control/hybrid_slow_start_test.cc',
'quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc',
'quic/congestion_control/inter_arrival_overuse_detector_test.cc',
'quic/congestion_control/inter_arrival_probe_test.cc',
'quic/congestion_control/inter_arrival_receiver_test.cc',
'quic/congestion_control/inter_arrival_state_machine_test.cc',
'quic/congestion_control/inter_arrival_sender_test.cc',
'quic/congestion_control/leaky_bucket_test.cc',
'quic/congestion_control/paced_sender_test.cc',
'quic/congestion_control/quic_congestion_control_test.cc',
'quic/congestion_control/quic_congestion_manager_test.cc',
'quic/congestion_control/quic_max_sized_map_test.cc',
'quic/congestion_control/tcp_cubic_sender_test.cc',
'quic/congestion_control/tcp_receiver_test.cc',
'quic/crypto/aes_128_gcm_decrypter_test.cc',
'quic/crypto/aes_128_gcm_encrypter_test.cc',
'quic/crypto/crypto_framer_test.cc',
'quic/crypto/crypto_handshake_test.cc',
'quic/crypto/curve25519_key_exchange_test.cc',
'quic/crypto/null_decrypter_test.cc',
'quic/crypto/null_encrypter_test.cc',
'quic/crypto/p256_key_exchange_test.cc',
'quic/crypto/quic_random_test.cc',
'quic/crypto/strike_register_test.cc',
'quic/test_tools/crypto_test_utils.cc',
'quic/test_tools/crypto_test_utils.h',
'quic/test_tools/mock_clock.cc',
'quic/test_tools/mock_clock.h',
'quic/test_tools/mock_crypto_client_stream.cc',
'quic/test_tools/mock_crypto_client_stream.h',
'quic/test_tools/mock_crypto_client_stream_factory.cc',
'quic/test_tools/mock_crypto_client_stream_factory.h',
'quic/test_tools/mock_random.cc',
'quic/test_tools/mock_random.h',
'quic/test_tools/quic_connection_peer.cc',
'quic/test_tools/quic_connection_peer.h',
'quic/test_tools/quic_framer_peer.cc',
'quic/test_tools/quic_framer_peer.h',
'quic/test_tools/quic_packet_creator_peer.cc',
'quic/test_tools/quic_packet_creator_peer.h',
'quic/test_tools/quic_session_peer.cc',
'quic/test_tools/quic_session_peer.h',
'quic/test_tools/quic_test_utils.cc',
'quic/test_tools/quic_test_utils.h',
'quic/test_tools/reliable_quic_stream_peer.cc',
'quic/test_tools/reliable_quic_stream_peer.h',
'quic/test_tools/simple_quic_framer.cc',
'quic/test_tools/simple_quic_framer.h',
'quic/test_tools/test_task_runner.cc',
'quic/test_tools/test_task_runner.h',
'quic/quic_bandwidth_test.cc',
'quic/quic_client_session_test.cc',
'quic/quic_clock_test.cc',
'quic/quic_connection_helper_test.cc',
'quic/quic_connection_test.cc',
'quic/quic_crypto_client_stream_test.cc',
'quic/quic_crypto_server_stream_test.cc',
'quic/quic_crypto_stream_test.cc',
'quic/quic_data_writer_test.cc',
'quic/quic_fec_group_test.cc',
'quic/quic_framer_test.cc',
'quic/quic_http_stream_test.cc',
'quic/quic_network_transaction_unittest.cc',
'quic/quic_packet_creator_test.cc',
'quic/quic_packet_entropy_manager_test.cc',
'quic/quic_packet_generator_test.cc',
'quic/quic_protocol_test.cc',
'quic/quic_reliable_client_stream_test.cc',
'quic/quic_session_test.cc',
'quic/quic_stream_factory_test.cc',
'quic/quic_stream_sequencer_test.cc',
'quic/quic_time_test.cc',
'quic/quic_utils_test.cc',
'quic/reliable_quic_stream_test.cc',
'socket/buffered_write_stream_socket_unittest.cc',
'socket/client_socket_pool_base_unittest.cc',
'socket/deterministic_socket_data_unittest.cc',
'socket/mock_client_socket_pool_manager.cc',
'socket/mock_client_socket_pool_manager.h',
'socket/socks5_client_socket_unittest.cc',
'socket/socks_client_socket_pool_unittest.cc',
'socket/socks_client_socket_unittest.cc',
'socket/ssl_client_socket_openssl_unittest.cc',
'socket/ssl_client_socket_pool_unittest.cc',
'socket/ssl_client_socket_unittest.cc',
'socket/ssl_server_socket_unittest.cc',
'socket/tcp_client_socket_unittest.cc',
'socket/tcp_listen_socket_unittest.cc',
'socket/tcp_listen_socket_unittest.h',
'socket/tcp_server_socket_unittest.cc',
'socket/transport_client_socket_pool_unittest.cc',
'socket/transport_client_socket_unittest.cc',
'socket/unix_domain_socket_posix_unittest.cc',
'socket_stream/socket_stream_metrics_unittest.cc',
'socket_stream/socket_stream_unittest.cc',
'spdy/buffered_spdy_framer_spdy3_unittest.cc',
'spdy/buffered_spdy_framer_spdy2_unittest.cc',
'spdy/spdy_credential_builder_unittest.cc',
'spdy/spdy_credential_state_unittest.cc',
'spdy/spdy_frame_builder_test.cc',
'spdy/spdy_frame_reader_test.cc',
'spdy/spdy_framer_test.cc',
'spdy/spdy_header_block_unittest.cc',
'spdy/spdy_http_stream_spdy3_unittest.cc',
'spdy/spdy_http_stream_spdy2_unittest.cc',
'spdy/spdy_http_utils_unittest.cc',
'spdy/spdy_network_transaction_spdy3_unittest.cc',
'spdy/spdy_network_transaction_spdy2_unittest.cc',
'spdy/spdy_priority_forest_test.cc',
'spdy/spdy_protocol_test.cc',
'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
'spdy/spdy_proxy_client_socket_spdy2_unittest.cc',
'spdy/spdy_session_spdy3_unittest.cc',
'spdy/spdy_session_spdy2_unittest.cc',
'spdy/spdy_stream_spdy3_unittest.cc',
'spdy/spdy_stream_spdy2_unittest.cc',
'spdy/spdy_stream_test_util.cc',
'spdy/spdy_stream_test_util.h',
'spdy/spdy_test_util_common.cc',
'spdy/spdy_test_util_common.h',
'spdy/spdy_test_util_spdy3.cc',
'spdy/spdy_test_util_spdy3.h',
'spdy/spdy_test_util_spdy2.cc',
'spdy/spdy_test_util_spdy2.h',
'spdy/spdy_test_utils.cc',
'spdy/spdy_test_utils.h',
'spdy/spdy_websocket_stream_spdy2_unittest.cc',
'spdy/spdy_websocket_stream_spdy3_unittest.cc',
'spdy/spdy_websocket_test_util_spdy2.cc',
'spdy/spdy_websocket_test_util_spdy2.h',
'spdy/spdy_websocket_test_util_spdy3.cc',
'spdy/spdy_websocket_test_util_spdy3.h',
'ssl/client_cert_store_impl_unittest.cc',
'ssl/default_server_bound_cert_store_unittest.cc',
'ssl/openssl_client_key_store_unittest.cc',
'ssl/server_bound_cert_service_unittest.cc',
'ssl/ssl_cipher_suite_names_unittest.cc',
'ssl/ssl_client_auth_cache_unittest.cc',
'ssl/ssl_config_service_unittest.cc',
'test/python_utils_unittest.cc',
'test/run_all_unittests.cc',
'test/test_certificate_data.h',
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_to_filename_encoder_unittest.cc',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
'tools/dump_cache/url_utilities_unittest.cc',
'udp/udp_socket_unittest.cc',
'url_request/url_fetcher_impl_unittest.cc',
'url_request/url_request_context_builder_unittest.cc',
'url_request/url_request_filter_unittest.cc',
'url_request/url_request_ftp_job_unittest.cc',
'url_request/url_request_http_job_unittest.cc',
'url_request/url_request_job_factory_impl_unittest.cc',
'url_request/url_request_job_unittest.cc',
'url_request/url_request_throttler_simulation_unittest.cc',
'url_request/url_request_throttler_test_support.cc',
'url_request/url_request_throttler_test_support.h',
'url_request/url_request_throttler_unittest.cc',
'url_request/url_request_unittest.cc',
'url_request/view_cache_helper_unittest.cc',
'websockets/websocket_errors_unittest.cc',
'websockets/websocket_frame_parser_unittest.cc',
'websockets/websocket_frame_unittest.cc',
'websockets/websocket_handshake_handler_unittest.cc',
'websockets/websocket_handshake_handler_spdy2_unittest.cc',
'websockets/websocket_handshake_handler_spdy3_unittest.cc',
'websockets/websocket_job_spdy2_unittest.cc',
'websockets/websocket_job_spdy3_unittest.cc',
'websockets/websocket_net_log_params_unittest.cc',
'websockets/websocket_throttle_unittest.cc',
],
'conditions': [
['chromeos==1', {
'sources!': [
'base/network_change_notifier_linux_unittest.cc',
'proxy/proxy_config_service_linux_unittest.cc',
],
}],
[ 'OS == "android"', {
'sources!': [
# No res_ninit() et al on Android, so this doesn't make a lot of
# sense.
'dns/dns_config_service_posix_unittest.cc',
'ssl/client_cert_store_impl_unittest.cc',
],
'dependencies': [
'net_javatests',
'net_test_jni_headers',
],
}],
[ 'use_glib == 1', {
'dependencies': [
'../build/linux/system.gyp:ssl',
],
}, { # else use_glib == 0: !posix || mac
'sources!': [
'cert/nss_cert_database_unittest.cc',
],
},
],
[ 'toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:gtk',
],
},
],
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
'conditions': [
['linux_use_tcmalloc==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
],
}],
],
}],
[ 'use_kerberos==1', {
'defines': [
'USE_KERBEROS',
],
}, { # use_kerberos == 0
'sources!': [
'http/http_auth_gssapi_posix_unittest.cc',
'http/http_auth_handler_negotiate_unittest.cc',
'http/mock_gssapi_library_posix.cc',
'http/mock_gssapi_library_posix.h',
],
}],
[ 'use_openssl==1', {
# When building for OpenSSL, we need to exclude NSS specific tests.
# TODO(bulach): Add equivalent tests when the underlying
# functionality is ported to OpenSSL.
'sources!': [
'cert/nss_cert_database_unittest.cc',
'cert/x509_util_nss_unittest.cc',
'ssl/client_cert_store_impl_unittest.cc',
],
}, { # else !use_openssl: remove the unneeded files
'sources!': [
'cert/x509_util_openssl_unittest.cc',
'socket/ssl_client_socket_openssl_unittest.cc',
'ssl/openssl_client_key_store_unittest.cc',
],
},
],
[ 'enable_websockets != 1', {
'sources/': [
['exclude', '^socket_stream/'],
['exclude', '^websockets/'],
['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$'],
],
}],
[ 'disable_ftp_support==1', {
'sources/': [
['exclude', '^ftp/'],
],
'sources!': [
'url_request/url_request_ftp_job_unittest.cc',
],
},
],
[ 'enable_built_in_dns!=1', {
'sources!': [
'dns/address_sorter_posix_unittest.cc',
'dns/address_sorter_unittest.cc',
],
},
],
[ 'use_v8_in_net==1', {
'dependencies': [
'net_with_v8',
],
}, { # else: !use_v8_in_net
'sources!': [
'proxy/proxy_resolver_v8_unittest.cc',
'proxy/proxy_resolver_v8_tracing_unittest.cc',
],
},
],
[ 'OS == "win"', {
'sources!': [
'dns/dns_config_service_posix_unittest.cc',
'http/http_auth_gssapi_posix_unittest.cc',
],
# This is needed to trigger the dll copy step on windows.
# TODO(mark): Specifying this here shouldn't be necessary.
'dependencies': [
'../third_party/icu/icu.gyp:icudata',
'../third_party/nss/nss.gyp:nspr',
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:libssl',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
[ 'OS == "mac"', {
'dependencies': [
'../third_party/nss/nss.gyp:nspr',
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:libssl',
],
},
],
[ 'OS == "ios"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
],
'actions': [
{
'action_name': 'copy_test_data',
'variables': {
'test_data_files': [
'data/ssl/certificates/',
'data/url_request_unittest/',
],
'test_data_prefix': 'net',
},
'includes': [ '../build/copy_test_data_ios.gypi' ],
},
],
'sources!': [
# TODO(droger): The following tests are disabled because the
# implementation is missing or incomplete.
# KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
'base/keygen_handler_unittest.cc',
# Need to read input data files.
'base/gzip_filter_unittest.cc',
'disk_cache/backend_unittest.cc',
'disk_cache/block_files_unittest.cc',
'socket/ssl_server_socket_unittest.cc',
# Need TestServer.
'proxy/proxy_script_fetcher_impl_unittest.cc',
'socket/ssl_client_socket_unittest.cc',
'ssl/client_cert_store_impl_unittest.cc',
'url_request/url_fetcher_impl_unittest.cc',
'url_request/url_request_context_builder_unittest.cc',
# Needs GetAppOutput().
'test/python_utils_unittest.cc',
# The following tests are disabled because they don't apply to
# iOS.
# OS is not "linux" or "freebsd" or "openbsd".
'socket/unix_domain_socket_posix_unittest.cc',
],
'conditions': [
['coverage != 0', {
'sources!': [
# These sources can't be built with coverage due to a
# toolchain bug: http://openradar.appspot.com/radar?id=1499403
'http/transport_security_state_unittest.cc',
# These tests crash when run with coverage turned on due to an
# issue with llvm_gcda_increment_indirect_counter:
# http://crbug.com/156058
'cookies/cookie_monster_unittest.cc',
'cookies/cookie_store_unittest.h',
'http/http_auth_controller_unittest.cc',
'http/http_network_layer_unittest.cc',
'http/http_network_transaction_spdy2_unittest.cc',
'http/http_network_transaction_spdy3_unittest.cc',
'spdy/spdy_http_stream_spdy2_unittest.cc',
'spdy/spdy_http_stream_spdy3_unittest.cc',
'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
'spdy/spdy_session_spdy3_unittest.cc',
# These tests crash when run with coverage turned on:
# http://crbug.com/177203
'proxy/proxy_service_unittest.cc',
],
}],
],
}],
[ 'OS == "linux"', {
'dependencies': [
'../build/linux/system.gyp:dbus',
'../dbus/dbus.gyp:dbus_test_support',
],
},
],
[ 'OS == "android"', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
'sources!': [
'dns/dns_config_service_posix_unittest.cc',
],
},
],
['OS == "android" and gtest_target_type == "shared_library"', {
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
]
}],
[ 'OS != "win" and OS != "mac"', {
'sources!': [
'cert/x509_cert_types_unittest.cc',
],
}],
],
},
{
'target_name': 'net_perftests',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/base.gyp:test_support_perf',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../testing/gtest.gyp:gtest',
'net',
'net_test_support',
],
'sources': [
'cookies/cookie_monster_perftest.cc',
'disk_cache/disk_cache_perftest.cc',
'proxy/proxy_resolver_perftest.cc',
],
'conditions': [
[ 'use_v8_in_net==1', {
'dependencies': [
'net_with_v8',
],
}, { # else: !use_v8_in_net
'sources!': [
'proxy/proxy_resolver_perftest.cc',
],
},
],
# This is needed to trigger the dll copy step on windows.
# TODO(mark): Specifying this here shouldn't be necessary.
[ 'OS == "win"', {
'dependencies': [
'../third_party/icu/icu.gyp:icudata',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
],
},
{
'target_name': 'net_test_support',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../testing/gtest.gyp:gtest',
'net',
],
'export_dependent_settings': [
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
],
'sources': [
'base/capturing_net_log.cc',
'base/capturing_net_log.h',
'base/load_timing_info_test_util.cc',
'base/load_timing_info_test_util.h',
'base/mock_file_stream.cc',
'base/mock_file_stream.h',
'base/test_completion_callback.cc',
'base/test_completion_callback.h',
'base/test_data_directory.cc',
'base/test_data_directory.h',
'cert/mock_cert_verifier.cc',
'cert/mock_cert_verifier.h',
'cookies/cookie_monster_store_test.cc',
'cookies/cookie_monster_store_test.h',
'cookies/cookie_store_test_callbacks.cc',
'cookies/cookie_store_test_callbacks.h',
'cookies/cookie_store_test_helpers.cc',
'cookies/cookie_store_test_helpers.h',
'disk_cache/disk_cache_test_base.cc',
'disk_cache/disk_cache_test_base.h',
'disk_cache/disk_cache_test_util.cc',
'disk_cache/disk_cache_test_util.h',
'disk_cache/flash/flash_cache_test_base.h',
'disk_cache/flash/flash_cache_test_base.cc',
'dns/dns_test_util.cc',
'dns/dns_test_util.h',
'dns/mock_host_resolver.cc',
'dns/mock_host_resolver.h',
'proxy/mock_proxy_resolver.cc',
'proxy/mock_proxy_resolver.h',
'proxy/mock_proxy_script_fetcher.cc',
'proxy/mock_proxy_script_fetcher.h',
'proxy/proxy_config_service_common_unittest.cc',
'proxy/proxy_config_service_common_unittest.h',
'socket/socket_test_util.cc',
'socket/socket_test_util.h',
'test/base_test_server.cc',
'test/base_test_server.h',
'test/cert_test_util.cc',
'test/cert_test_util.h',
'test/local_test_server_posix.cc',
'test/local_test_server_win.cc',
'test/local_test_server.cc',
'test/local_test_server.h',
'test/net_test_suite.cc',
'test/net_test_suite.h',
'test/python_utils.cc',
'test/python_utils.h',
'test/remote_test_server.cc',
'test/remote_test_server.h',
'test/spawner_communicator.cc',
'test/spawner_communicator.h',
'test/test_server.h',
'url_request/test_url_fetcher_factory.cc',
'url_request/test_url_fetcher_factory.h',
'url_request/url_request_test_util.cc',
'url_request/url_request_test_util.h',
],
'conditions': [
['inside_chromium_build==1 and OS != "ios"', {
'dependencies': [
'../third_party/protobuf/protobuf.gyp:py_proto',
],
}],
['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
'conditions': [
['use_openssl==1', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
}, {
'dependencies': [
'../build/linux/system.gyp:ssl',
],
}],
],
}],
['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
'conditions': [
['linux_use_tcmalloc==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
],
}],
],
}],
['OS != "android"', {
'sources!': [
'test/remote_test_server.cc',
'test/remote_test_server.h',
'test/spawner_communicator.cc',
'test/spawner_communicator.h',
],
}],
['OS == "ios"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
],
}],
[ 'use_v8_in_net==1', {
'dependencies': [
'net_with_v8',
],
},
],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'net_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
},
'actions': [
{
'action_name': 'net_resources',
'variables': {
'grit_grd_file': 'base/net_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
],
'includes': [ '../build/grit_target.gypi' ],
},
{
'target_name': 'http_server',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'../base/base.gyp:base',
'net',
],
'sources': [
'server/http_connection.cc',
'server/http_connection.h',
'server/http_server.cc',
'server/http_server.h',
'server/http_server_request_info.cc',
'server/http_server_request_info.h',
'server/web_socket.cc',
'server/web_socket.h',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'dump_cache',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
'net_test_support',
],
'sources': [
'tools/dump_cache/cache_dumper.cc',
'tools/dump_cache/cache_dumper.h',
'tools/dump_cache/dump_cache.cc',
'tools/dump_cache/dump_files.cc',
'tools/dump_cache/dump_files.h',
'tools/dump_cache/simple_cache_dumper.cc',
'tools/dump_cache/simple_cache_dumper.h',
'tools/dump_cache/upgrade_win.cc',
'tools/dump_cache/upgrade_win.h',
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
'conditions': [
['use_v8_in_net == 1', {
'targets': [
{
'target_name': 'net_with_v8',
'type': '<(component)',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'../base/base.gyp:base',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../v8/tools/gyp/v8.gyp:v8',
'net'
],
'defines': [
'NET_IMPLEMENTATION',
],
'sources': [
'proxy/proxy_resolver_v8.cc',
'proxy/proxy_resolver_v8.h',
'proxy/proxy_resolver_v8_tracing.cc',
'proxy/proxy_resolver_v8_tracing.h',
'proxy/proxy_service_v8.cc',
'proxy/proxy_service_v8.h',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
}],
['OS != "ios"', {
'targets': [
# iOS doesn't have the concept of simple executables, these targets
# can't be compiled on the platform.
{
'target_name': 'crash_cache',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
'net_test_support',
],
'sources': [
'tools/crash_cache/crash_cache.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'crl_set_dump',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
],
'sources': [
'tools/crl_set_dump/crl_set_dump.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'dns_fuzz_stub',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
],
'sources': [
'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'fetch_client',
'type': 'executable',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../testing/gtest.gyp:gtest',
'net',
'net_with_v8',
],
'sources': [
'tools/fetch/fetch_client.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'fetch_server',
'type': 'executable',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'../base/base.gyp:base',
'../build/temp_gyp/googleurl.gyp:googleurl',
'net',
],
'sources': [
'tools/fetch/fetch_server.cc',
'tools/fetch/http_listen_socket.cc',
'tools/fetch/http_listen_socket.h',
'tools/fetch/http_server.cc',
'tools/fetch/http_server.h',
'tools/fetch/http_server_request_info.cc',
'tools/fetch/http_server_request_info.h',
'tools/fetch/http_server_response_info.cc',
'tools/fetch/http_server_response_info.h',
'tools/fetch/http_session.cc',
'tools/fetch/http_session.h',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'gdig',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
],
'sources': [
'tools/gdig/file_net_log.cc',
'tools/gdig/gdig.cc',
],
},
{
'target_name': 'get_server_time',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../build/temp_gyp/googleurl.gyp:googleurl',
'net',
],
'sources': [
'tools/get_server_time/get_server_time.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'net_watcher',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
'net_with_v8',
],
'conditions': [
[ 'use_glib == 1', {
'dependencies': [
'../build/linux/system.gyp:gconf',
'../build/linux/system.gyp:gio',
],
},
],
],
'sources': [
'tools/net_watcher/net_watcher.cc',
],
},
{
'target_name': 'run_testserver',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
'net_test_support',
],
'sources': [
'tools/testserver/run_testserver.cc',
],
},
{
'target_name': 'stress_cache',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'net',
'net_test_support',
],
'sources': [
'disk_cache/stress_cache.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
{
'target_name': 'tld_cleanup',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../build/temp_gyp/googleurl.gyp:googleurl',
],
'sources': [
'tools/tld_cleanup/tld_cleanup.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
}],
['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
'targets': [
{
'target_name': 'flip_balsa_and_epoll_library',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'net',
],
'sources': [
'tools/flip_server/balsa_enums.h',
'tools/flip_server/balsa_frame.cc',
'tools/flip_server/balsa_frame.h',
'tools/flip_server/balsa_headers.cc',
'tools/flip_server/balsa_headers.h',
'tools/flip_server/balsa_headers_token_utils.cc',
'tools/flip_server/balsa_headers_token_utils.h',
'tools/flip_server/balsa_visitor_interface.h',
'tools/flip_server/constants.h',
'tools/flip_server/epoll_server.cc',
'tools/flip_server/epoll_server.h',
'tools/flip_server/http_message_constants.cc',
'tools/flip_server/http_message_constants.h',
'tools/flip_server/split.h',
'tools/flip_server/split.cc',
],
},
{
'target_name': 'flip_in_mem_edsm_server',
'type': 'executable',
'cflags': [
'-Wno-deprecated',
],
'dependencies': [
'../base/base.gyp:base',
'../third_party/openssl/openssl.gyp:openssl',
'flip_balsa_and_epoll_library',
'net',
],
'sources': [
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
'tools/flip_server/acceptor_thread.h',
'tools/flip_server/acceptor_thread.cc',
'tools/flip_server/buffer_interface.h',
'tools/flip_server/create_listener.cc',
'tools/flip_server/create_listener.h',
'tools/flip_server/flip_config.cc',
'tools/flip_server/flip_config.h',
'tools/flip_server/flip_in_mem_edsm_server.cc',
'tools/flip_server/http_interface.cc',
'tools/flip_server/http_interface.h',
'tools/flip_server/loadtime_measurement.h',
'tools/flip_server/mem_cache.h',
'tools/flip_server/mem_cache.cc',
'tools/flip_server/output_ordering.cc',
'tools/flip_server/output_ordering.h',
'tools/flip_server/ring_buffer.cc',
'tools/flip_server/ring_buffer.h',
'tools/flip_server/simple_buffer.cc',
'tools/flip_server/simple_buffer.h',
'tools/flip_server/sm_connection.cc',
'tools/flip_server/sm_connection.h',
'tools/flip_server/sm_interface.h',
'tools/flip_server/spdy_ssl.cc',
'tools/flip_server/spdy_ssl.h',
'tools/flip_server/spdy_interface.cc',
'tools/flip_server/spdy_interface.h',
'tools/flip_server/spdy_util.cc',
'tools/flip_server/spdy_util.h',
'tools/flip_server/streamer_interface.cc',
'tools/flip_server/streamer_interface.h',
'tools/flip_server/string_piece_utils.h',
],
},
{
'target_name': 'quic_library',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../third_party/openssl/openssl.gyp:openssl',
'flip_balsa_and_epoll_library',
'net',
],
'sources': [
'tools/quic/quic_client.cc',
'tools/quic/quic_client.h',
'tools/quic/quic_client_session.cc',
'tools/quic/quic_client_session.h',
'tools/quic/quic_dispatcher.h',
'tools/quic/quic_dispatcher.cc',
'tools/quic/quic_epoll_clock.cc',
'tools/quic/quic_epoll_clock.h',
'tools/quic/quic_epoll_connection_helper.cc',
'tools/quic/quic_epoll_connection_helper.h',
'tools/quic/quic_in_memory_cache.cc',
'tools/quic/quic_in_memory_cache.h',
'tools/quic/quic_packet_writer.h',
'tools/quic/quic_reliable_client_stream.cc',
'tools/quic/quic_reliable_client_stream.h',
'tools/quic/quic_reliable_server_stream.cc',
'tools/quic/quic_reliable_server_stream.h',
'tools/quic/quic_server.cc',
'tools/quic/quic_server.h',
'tools/quic/quic_server_session.cc',
'tools/quic/quic_server_session.h',
'tools/quic/quic_socket_utils.cc',
'tools/quic/quic_socket_utils.h',
'tools/quic/quic_spdy_client_stream.cc',
'tools/quic/quic_spdy_client_stream.h',
'tools/quic/quic_spdy_server_stream.cc',
'tools/quic/quic_spdy_server_stream.h',
'tools/quic/quic_time_wait_list_manager.h',
'tools/quic/quic_time_wait_list_manager.cc',
'tools/quic/spdy_utils.cc',
'tools/quic/spdy_utils.h',
],
},
{
'target_name': 'quic_client',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../third_party/openssl/openssl.gyp:openssl',
'net',
'quic_library',
],
'sources': [
'tools/quic/quic_client_bin.cc',
],
},
{
'target_name': 'quic_server',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../third_party/openssl/openssl.gyp:openssl',
'net',
'quic_library',
],
'sources': [
'tools/quic/quic_server_bin.cc',
],
},
{
'target_name': 'quic_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'../base/base.gyp:test_support_base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'net',
'quic_library',
],
'sources': [
'quic/test_tools/quic_session_peer.cc',
'quic/test_tools/quic_session_peer.h',
'quic/test_tools/crypto_test_utils.cc',
'quic/test_tools/crypto_test_utils.h',
'quic/test_tools/mock_clock.cc',
'quic/test_tools/mock_clock.h',
'quic/test_tools/mock_random.cc',
'quic/test_tools/mock_random.h',
'quic/test_tools/simple_quic_framer.cc',
'quic/test_tools/simple_quic_framer.h',
'quic/test_tools/quic_connection_peer.cc',
'quic/test_tools/quic_connection_peer.h',
'quic/test_tools/quic_framer_peer.cc',
'quic/test_tools/quic_framer_peer.h',
'quic/test_tools/quic_session_peer.cc',
'quic/test_tools/quic_session_peer.h',
'quic/test_tools/quic_test_utils.cc',
'quic/test_tools/quic_test_utils.h',
'quic/test_tools/reliable_quic_stream_peer.cc',
'quic/test_tools/reliable_quic_stream_peer.h',
'tools/flip_server/simple_buffer.cc',
'tools/flip_server/simple_buffer.h',
'tools/quic/end_to_end_test.cc',
'tools/quic/quic_client_session_test.cc',
'tools/quic/quic_dispatcher_test.cc',
'tools/quic/quic_epoll_clock_test.cc',
'tools/quic/quic_epoll_connection_helper_test.cc',
'tools/quic/quic_reliable_client_stream_test.cc',
'tools/quic/quic_reliable_server_stream_test.cc',
'tools/quic/test_tools/http_message_test_utils.cc',
'tools/quic/test_tools/http_message_test_utils.h',
'tools/quic/test_tools/mock_epoll_server.cc',
'tools/quic/test_tools/mock_epoll_server.h',
'tools/quic/test_tools/quic_test_client.cc',
'tools/quic/test_tools/quic_test_client.h',
'tools/quic/test_tools/quic_test_utils.cc',
'tools/quic/test_tools/quic_test_utils.h',
'tools/quic/test_tools/run_all_unittests.cc',
],
}
]
}],
['OS=="android"', {
'targets': [
{
'target_name': 'net_jni_headers',
'type': 'none',
'sources': [
'android/java/src/org/chromium/net/AndroidKeyStore.java',
'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
'android/java/src/org/chromium/net/GURLUtils.java',
'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
'android/java/src/org/chromium/net/ProxyChangeListener.java',
],
'variables': {
'jni_gen_package': 'net',
},
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/net',
],
},
'includes': [ '../build/jni_generator.gypi' ],
},
{
'target_name': 'net_test_jni_headers',
'type': 'none',
'sources': [
'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
],
'variables': {
'jni_gen_package': 'net',
},
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/net',
],
},
'includes': [ '../build/jni_generator.gypi' ],
},
{
'target_name': 'net_java',
'type': 'none',
'variables': {
'java_in_dir': '../net/android/java',
},
'dependencies': [
'../base/base.gyp:base',
'cert_verify_result_android_java',
'certificate_mime_types_java',
'net_errors_java',
'private_key_types_java',
],
'includes': [ '../build/java.gypi' ],
},
{
'target_name': 'net_java_test_support',
'type': 'none',
'variables': {
'java_in_dir': '../net/test/android/javatests',
},
'includes': [ '../build/java.gypi' ],
},
{
'target_name': 'net_javatests',
'type': 'none',
'variables': {
'java_in_dir': '../net/android/javatests',
},
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_java_test_support',
'net_java',
],
'includes': [ '../build/java.gypi' ],
},
{
'target_name': 'net_errors_java',
'type': 'none',
'sources': [
'android/java/NetError.template',
],
'variables': {
'package_name': 'org/chromium/net',
'template_deps': ['base/net_error_list.h'],
},
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
{
'target_name': 'certificate_mime_types_java',
'type': 'none',
'sources': [
'android/java/CertificateMimeType.template',
],
'variables': {
'package_name': 'org/chromium/net',
'template_deps': ['base/mime_util_certificate_type_list.h'],
},
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
{
'target_name': 'cert_verify_result_android_java',
'type': 'none',
'sources': [
'android/java/CertVerifyResultAndroid.template',
],
'variables': {
'package_name': 'org/chromium/net',
'template_deps': ['android/cert_verify_result_android_list.h'],
},
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
{
'target_name': 'private_key_types_java',
'type': 'none',
'sources': [
'android/java/PrivateKeyType.template',
],
'variables': {
'package_name': 'org/chromium/net',
'template_deps': ['android/private_key_type_list.h'],
},
'includes': [ '../build/android/java_cpp_template.gypi' ],
},
],
}],
# Special target to wrap a gtest_target_type==shared_library
# net_unittests into an android apk for execution.
# See base.gyp for TODO(jrg)s about this strategy.
['OS == "android" and gtest_target_type == "shared_library"', {
'targets': [
{
'target_name': 'net_unittests_apk',
'type': 'none',
'dependencies': [
'net_java',
'net_javatests',
'net_unittests',
],
'variables': {
'test_suite_name': 'net_unittests',
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
},
'includes': [ '../build/apk_test.gypi' ],
},
],
}],
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'net_unittests_run',
'type': 'none',
'dependencies': [
'net_unittests',
],
'includes': [
'net_unittests.isolate',
],
'actions': [
{
'action_name': 'isolate',
'inputs': [
'net_unittests.isolate',
'<@(isolate_dependency_tracked)',
],
'outputs': [
'<(PRODUCT_DIR)/net_unittests.isolated',
],
'action': [
'python',
'../tools/swarm_client/isolate.py',
'<(test_isolation_mode)',
'--outdir', '<(test_isolation_outdir)',
'--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
'--variable', 'OS', '<(OS)',
'--result', '<@(_outputs)',
'--isolate', 'net_unittests.isolate',
],
},
],
},
],
}],
],
}
| {'variables': {'chromium_code': 1, 'linux_link_kerberos%': 0, 'conditions': [['chromeos==1 or OS=="android" or OS=="ios"', {'use_kerberos%': 0}, {'use_kerberos%': 1}], ['OS=="android" and target_arch != "ia32"', {'posix_avoid_mmap%': 1}, {'posix_avoid_mmap%': 0}], ['OS=="ios"', {'enable_websockets%': 0, 'use_v8_in_net%': 0, 'enable_built_in_dns%': 0}, {'enable_websockets%': 1, 'use_v8_in_net%': 1, 'enable_built_in_dns%': 1}]]}, 'includes': ['../build/win_precompile.gypi'], 'targets': [{'target_name': 'net', 'type': '<(component)', 'variables': {'enable_wexit_time_destructors': 1}, 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../build/temp_gyp/googleurl.gyp:googleurl', '../crypto/crypto.gyp:crypto', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_resources'], 'sources': ['android/cert_verify_result_android.h', 'android/cert_verify_result_android_list.h', 'android/gurl_utils.cc', 'android/gurl_utils.h', 'android/keystore.cc', 'android/keystore.h', 'android/keystore_openssl.cc', 'android/keystore_openssl.h', 'android/net_jni_registrar.cc', 'android/net_jni_registrar.h', 'android/network_change_notifier_android.cc', 'android/network_change_notifier_android.h', 'android/network_change_notifier_delegate_android.cc', 'android/network_change_notifier_delegate_android.h', 'android/network_change_notifier_factory_android.cc', 'android/network_change_notifier_factory_android.h', 'android/network_library.cc', 'android/network_library.h', 'base/address_family.h', 'base/address_list.cc', 'base/address_list.h', 'base/address_tracker_linux.cc', 'base/address_tracker_linux.h', 'base/auth.cc', 'base/auth.h', 'base/backoff_entry.cc', 'base/backoff_entry.h', 'base/bandwidth_metrics.cc', 'base/bandwidth_metrics.h', 'base/big_endian.cc', 'base/big_endian.h', 'base/cache_type.h', 'base/completion_callback.h', 'base/connection_type_histograms.cc', 'base/connection_type_histograms.h', 'base/crypto_module.h', 'base/crypto_module_nss.cc', 'base/crypto_module_openssl.cc', 'base/data_url.cc', 'base/data_url.h', 'base/directory_lister.cc', 'base/directory_lister.h', 'base/dns_reloader.cc', 'base/dns_reloader.h', 'base/dns_util.cc', 'base/dns_util.h', 'base/escape.cc', 'base/escape.h', 'base/expiring_cache.h', 'base/file_stream.cc', 'base/file_stream.h', 'base/file_stream_context.cc', 'base/file_stream_context.h', 'base/file_stream_context_posix.cc', 'base/file_stream_context_win.cc', 'base/file_stream_metrics.cc', 'base/file_stream_metrics.h', 'base/file_stream_metrics_posix.cc', 'base/file_stream_metrics_win.cc', 'base/file_stream_net_log_parameters.cc', 'base/file_stream_net_log_parameters.h', 'base/file_stream_whence.h', 'base/filter.cc', 'base/filter.h', 'base/int128.cc', 'base/int128.h', 'base/gzip_filter.cc', 'base/gzip_filter.h', 'base/gzip_header.cc', 'base/gzip_header.h', 'base/hash_value.cc', 'base/hash_value.h', 'base/host_mapping_rules.cc', 'base/host_mapping_rules.h', 'base/host_port_pair.cc', 'base/host_port_pair.h', 'base/io_buffer.cc', 'base/io_buffer.h', 'base/ip_endpoint.cc', 'base/ip_endpoint.h', 'base/keygen_handler.cc', 'base/keygen_handler.h', 'base/keygen_handler_mac.cc', 'base/keygen_handler_nss.cc', 'base/keygen_handler_openssl.cc', 'base/keygen_handler_win.cc', 'base/linked_hash_map.h', 'base/load_flags.h', 'base/load_flags_list.h', 'base/load_states.h', 'base/load_states_list.h', 'base/load_timing_info.cc', 'base/load_timing_info.h', 'base/mime_sniffer.cc', 'base/mime_sniffer.h', 'base/mime_util.cc', 'base/mime_util.h', 'base/net_error_list.h', 'base/net_errors.cc', 'base/net_errors.h', 'base/net_errors_posix.cc', 'base/net_errors_win.cc', 'base/net_export.h', 'base/net_log.cc', 'base/net_log.h', 'base/net_log_event_type_list.h', 'base/net_log_source_type_list.h', 'base/net_module.cc', 'base/net_module.h', 'base/net_util.cc', 'base/net_util.h', 'base/net_util_posix.cc', 'base/net_util_win.cc', 'base/network_change_notifier.cc', 'base/network_change_notifier.h', 'base/network_change_notifier_factory.h', 'base/network_change_notifier_linux.cc', 'base/network_change_notifier_linux.h', 'base/network_change_notifier_mac.cc', 'base/network_change_notifier_mac.h', 'base/network_change_notifier_win.cc', 'base/network_change_notifier_win.h', 'base/network_config_watcher_mac.cc', 'base/network_config_watcher_mac.h', 'base/network_delegate.cc', 'base/network_delegate.h', 'base/nss_memio.c', 'base/nss_memio.h', 'base/openssl_private_key_store.h', 'base/openssl_private_key_store_android.cc', 'base/openssl_private_key_store_memory.cc', 'base/platform_mime_util.h', 'base/platform_mime_util_linux.cc', 'base/platform_mime_util_mac.mm', 'base/platform_mime_util_win.cc', 'base/prioritized_dispatcher.cc', 'base/prioritized_dispatcher.h', 'base/priority_queue.h', 'base/rand_callback.h', 'base/registry_controlled_domains/registry_controlled_domain.cc', 'base/registry_controlled_domains/registry_controlled_domain.h', 'base/request_priority.h', 'base/sdch_filter.cc', 'base/sdch_filter.h', 'base/sdch_manager.cc', 'base/sdch_manager.h', 'base/static_cookie_policy.cc', 'base/static_cookie_policy.h', 'base/sys_addrinfo.h', 'base/test_data_stream.cc', 'base/test_data_stream.h', 'base/upload_bytes_element_reader.cc', 'base/upload_bytes_element_reader.h', 'base/upload_data.cc', 'base/upload_data.h', 'base/upload_data_stream.cc', 'base/upload_data_stream.h', 'base/upload_element.cc', 'base/upload_element.h', 'base/upload_element_reader.cc', 'base/upload_element_reader.h', 'base/upload_file_element_reader.cc', 'base/upload_file_element_reader.h', 'base/upload_progress.h', 'base/url_util.cc', 'base/url_util.h', 'base/winsock_init.cc', 'base/winsock_init.h', 'base/winsock_util.cc', 'base/winsock_util.h', 'base/zap.cc', 'base/zap.h', 'cert/asn1_util.cc', 'cert/asn1_util.h', 'cert/cert_database.cc', 'cert/cert_database.h', 'cert/cert_database_android.cc', 'cert/cert_database_ios.cc', 'cert/cert_database_mac.cc', 'cert/cert_database_nss.cc', 'cert/cert_database_openssl.cc', 'cert/cert_database_win.cc', 'cert/cert_status_flags.cc', 'cert/cert_status_flags.h', 'cert/cert_trust_anchor_provider.h', 'cert/cert_verifier.cc', 'cert/cert_verifier.h', 'cert/cert_verify_proc.cc', 'cert/cert_verify_proc.h', 'cert/cert_verify_proc_android.cc', 'cert/cert_verify_proc_android.h', 'cert/cert_verify_proc_mac.cc', 'cert/cert_verify_proc_mac.h', 'cert/cert_verify_proc_nss.cc', 'cert/cert_verify_proc_nss.h', 'cert/cert_verify_proc_openssl.cc', 'cert/cert_verify_proc_openssl.h', 'cert/cert_verify_proc_win.cc', 'cert/cert_verify_proc_win.h', 'cert/cert_verify_result.cc', 'cert/cert_verify_result.h', 'cert/crl_set.cc', 'cert/crl_set.h', 'cert/ev_root_ca_metadata.cc', 'cert/ev_root_ca_metadata.h', 'cert/multi_threaded_cert_verifier.cc', 'cert/multi_threaded_cert_verifier.h', 'cert/nss_cert_database.cc', 'cert/nss_cert_database.h', 'cert/pem_tokenizer.cc', 'cert/pem_tokenizer.h', 'cert/single_request_cert_verifier.cc', 'cert/single_request_cert_verifier.h', 'cert/test_root_certs.cc', 'cert/test_root_certs.h', 'cert/test_root_certs_mac.cc', 'cert/test_root_certs_nss.cc', 'cert/test_root_certs_openssl.cc', 'cert/test_root_certs_android.cc', 'cert/test_root_certs_win.cc', 'cert/x509_cert_types.cc', 'cert/x509_cert_types.h', 'cert/x509_cert_types_mac.cc', 'cert/x509_cert_types_win.cc', 'cert/x509_certificate.cc', 'cert/x509_certificate.h', 'cert/x509_certificate_ios.cc', 'cert/x509_certificate_mac.cc', 'cert/x509_certificate_net_log_param.cc', 'cert/x509_certificate_net_log_param.h', 'cert/x509_certificate_nss.cc', 'cert/x509_certificate_openssl.cc', 'cert/x509_certificate_win.cc', 'cert/x509_util.h', 'cert/x509_util.cc', 'cert/x509_util_ios.cc', 'cert/x509_util_ios.h', 'cert/x509_util_mac.cc', 'cert/x509_util_mac.h', 'cert/x509_util_nss.cc', 'cert/x509_util_nss.h', 'cert/x509_util_openssl.cc', 'cert/x509_util_openssl.h', 'cookies/canonical_cookie.cc', 'cookies/canonical_cookie.h', 'cookies/cookie_monster.cc', 'cookies/cookie_monster.h', 'cookies/cookie_options.h', 'cookies/cookie_store.cc', 'cookies/cookie_store.h', 'cookies/cookie_util.cc', 'cookies/cookie_util.h', 'cookies/parsed_cookie.cc', 'cookies/parsed_cookie.h', 'disk_cache/addr.cc', 'disk_cache/addr.h', 'disk_cache/backend_impl.cc', 'disk_cache/backend_impl.h', 'disk_cache/bitmap.cc', 'disk_cache/bitmap.h', 'disk_cache/block_files.cc', 'disk_cache/block_files.h', 'disk_cache/cache_creator.cc', 'disk_cache/cache_util.h', 'disk_cache/cache_util.cc', 'disk_cache/cache_util_posix.cc', 'disk_cache/cache_util_win.cc', 'disk_cache/disk_cache.h', 'disk_cache/disk_format.cc', 'disk_cache/disk_format.h', 'disk_cache/entry_impl.cc', 'disk_cache/entry_impl.h', 'disk_cache/errors.h', 'disk_cache/eviction.cc', 'disk_cache/eviction.h', 'disk_cache/experiments.h', 'disk_cache/file.cc', 'disk_cache/file.h', 'disk_cache/file_block.h', 'disk_cache/file_lock.cc', 'disk_cache/file_lock.h', 'disk_cache/file_posix.cc', 'disk_cache/file_win.cc', 'disk_cache/histogram_macros.h', 'disk_cache/in_flight_backend_io.cc', 'disk_cache/in_flight_backend_io.h', 'disk_cache/in_flight_io.cc', 'disk_cache/in_flight_io.h', 'disk_cache/mapped_file.h', 'disk_cache/mapped_file_posix.cc', 'disk_cache/mapped_file_avoid_mmap_posix.cc', 'disk_cache/mapped_file_win.cc', 'disk_cache/mem_backend_impl.cc', 'disk_cache/mem_backend_impl.h', 'disk_cache/mem_entry_impl.cc', 'disk_cache/mem_entry_impl.h', 'disk_cache/mem_rankings.cc', 'disk_cache/mem_rankings.h', 'disk_cache/net_log_parameters.cc', 'disk_cache/net_log_parameters.h', 'disk_cache/rankings.cc', 'disk_cache/rankings.h', 'disk_cache/sparse_control.cc', 'disk_cache/sparse_control.h', 'disk_cache/stats.cc', 'disk_cache/stats.h', 'disk_cache/stats_histogram.cc', 'disk_cache/stats_histogram.h', 'disk_cache/storage_block-inl.h', 'disk_cache/storage_block.h', 'disk_cache/stress_support.h', 'disk_cache/trace.cc', 'disk_cache/trace.h', 'disk_cache/simple/simple_backend_impl.cc', 'disk_cache/simple/simple_backend_impl.h', 'disk_cache/simple/simple_disk_format.cc', 'disk_cache/simple/simple_disk_format.h', 'disk_cache/simple/simple_entry_impl.cc', 'disk_cache/simple/simple_entry_impl.h', 'disk_cache/simple/simple_index.cc', 'disk_cache/simple/simple_index.h', 'disk_cache/simple/simple_synchronous_entry.cc', 'disk_cache/simple/simple_synchronous_entry.h', 'disk_cache/flash/flash_entry_impl.cc', 'disk_cache/flash/flash_entry_impl.h', 'disk_cache/flash/format.h', 'disk_cache/flash/internal_entry.cc', 'disk_cache/flash/internal_entry.h', 'disk_cache/flash/log_store.cc', 'disk_cache/flash/log_store.h', 'disk_cache/flash/log_store_entry.cc', 'disk_cache/flash/log_store_entry.h', 'disk_cache/flash/segment.cc', 'disk_cache/flash/segment.h', 'disk_cache/flash/storage.cc', 'disk_cache/flash/storage.h', 'dns/address_sorter.h', 'dns/address_sorter_posix.cc', 'dns/address_sorter_posix.h', 'dns/address_sorter_win.cc', 'dns/dns_client.cc', 'dns/dns_client.h', 'dns/dns_config_service.cc', 'dns/dns_config_service.h', 'dns/dns_config_service_posix.cc', 'dns/dns_config_service_posix.h', 'dns/dns_config_service_win.cc', 'dns/dns_config_service_win.h', 'dns/dns_hosts.cc', 'dns/dns_hosts.h', 'dns/dns_protocol.h', 'dns/dns_query.cc', 'dns/dns_query.h', 'dns/dns_response.cc', 'dns/dns_response.h', 'dns/dns_session.cc', 'dns/dns_session.h', 'dns/dns_socket_pool.cc', 'dns/dns_socket_pool.h', 'dns/dns_transaction.cc', 'dns/dns_transaction.h', 'dns/host_cache.cc', 'dns/host_cache.h', 'dns/host_resolver.cc', 'dns/host_resolver.h', 'dns/host_resolver_impl.cc', 'dns/host_resolver_impl.h', 'dns/host_resolver_proc.cc', 'dns/host_resolver_proc.h', 'dns/mapped_host_resolver.cc', 'dns/mapped_host_resolver.h', 'dns/notify_watcher_mac.cc', 'dns/notify_watcher_mac.h', 'dns/serial_worker.cc', 'dns/serial_worker.h', 'dns/single_request_host_resolver.cc', 'dns/single_request_host_resolver.h', 'ftp/ftp_auth_cache.cc', 'ftp/ftp_auth_cache.h', 'ftp/ftp_ctrl_response_buffer.cc', 'ftp/ftp_ctrl_response_buffer.h', 'ftp/ftp_directory_listing_parser.cc', 'ftp/ftp_directory_listing_parser.h', 'ftp/ftp_directory_listing_parser_ls.cc', 'ftp/ftp_directory_listing_parser_ls.h', 'ftp/ftp_directory_listing_parser_netware.cc', 'ftp/ftp_directory_listing_parser_netware.h', 'ftp/ftp_directory_listing_parser_os2.cc', 'ftp/ftp_directory_listing_parser_os2.h', 'ftp/ftp_directory_listing_parser_vms.cc', 'ftp/ftp_directory_listing_parser_vms.h', 'ftp/ftp_directory_listing_parser_windows.cc', 'ftp/ftp_directory_listing_parser_windows.h', 'ftp/ftp_network_layer.cc', 'ftp/ftp_network_layer.h', 'ftp/ftp_network_session.cc', 'ftp/ftp_network_session.h', 'ftp/ftp_network_transaction.cc', 'ftp/ftp_network_transaction.h', 'ftp/ftp_request_info.h', 'ftp/ftp_response_info.cc', 'ftp/ftp_response_info.h', 'ftp/ftp_server_type_histograms.cc', 'ftp/ftp_server_type_histograms.h', 'ftp/ftp_transaction.h', 'ftp/ftp_transaction_factory.h', 'ftp/ftp_util.cc', 'ftp/ftp_util.h', 'http/des.cc', 'http/des.h', 'http/http_atom_list.h', 'http/http_auth.cc', 'http/http_auth.h', 'http/http_auth_cache.cc', 'http/http_auth_cache.h', 'http/http_auth_controller.cc', 'http/http_auth_controller.h', 'http/http_auth_filter.cc', 'http/http_auth_filter.h', 'http/http_auth_filter_win.h', 'http/http_auth_gssapi_posix.cc', 'http/http_auth_gssapi_posix.h', 'http/http_auth_handler.cc', 'http/http_auth_handler.h', 'http/http_auth_handler_basic.cc', 'http/http_auth_handler_basic.h', 'http/http_auth_handler_digest.cc', 'http/http_auth_handler_digest.h', 'http/http_auth_handler_factory.cc', 'http/http_auth_handler_factory.h', 'http/http_auth_handler_negotiate.cc', 'http/http_auth_handler_negotiate.h', 'http/http_auth_handler_ntlm.cc', 'http/http_auth_handler_ntlm.h', 'http/http_auth_handler_ntlm_portable.cc', 'http/http_auth_handler_ntlm_win.cc', 'http/http_auth_sspi_win.cc', 'http/http_auth_sspi_win.h', 'http/http_basic_stream.cc', 'http/http_basic_stream.h', 'http/http_byte_range.cc', 'http/http_byte_range.h', 'http/http_cache.cc', 'http/http_cache.h', 'http/http_cache_transaction.cc', 'http/http_cache_transaction.h', 'http/http_content_disposition.cc', 'http/http_content_disposition.h', 'http/http_chunked_decoder.cc', 'http/http_chunked_decoder.h', 'http/http_network_layer.cc', 'http/http_network_layer.h', 'http/http_network_session.cc', 'http/http_network_session.h', 'http/http_network_session_peer.cc', 'http/http_network_session_peer.h', 'http/http_network_transaction.cc', 'http/http_network_transaction.h', 'http/http_pipelined_connection.h', 'http/http_pipelined_connection_impl.cc', 'http/http_pipelined_connection_impl.h', 'http/http_pipelined_host.cc', 'http/http_pipelined_host.h', 'http/http_pipelined_host_capability.h', 'http/http_pipelined_host_forced.cc', 'http/http_pipelined_host_forced.h', 'http/http_pipelined_host_impl.cc', 'http/http_pipelined_host_impl.h', 'http/http_pipelined_host_pool.cc', 'http/http_pipelined_host_pool.h', 'http/http_pipelined_stream.cc', 'http/http_pipelined_stream.h', 'http/http_proxy_client_socket.cc', 'http/http_proxy_client_socket.h', 'http/http_proxy_client_socket_pool.cc', 'http/http_proxy_client_socket_pool.h', 'http/http_request_headers.cc', 'http/http_request_headers.h', 'http/http_request_info.cc', 'http/http_request_info.h', 'http/http_response_body_drainer.cc', 'http/http_response_body_drainer.h', 'http/http_response_headers.cc', 'http/http_response_headers.h', 'http/http_response_info.cc', 'http/http_response_info.h', 'http/http_security_headers.cc', 'http/http_security_headers.h', 'http/http_server_properties.cc', 'http/http_server_properties.h', 'http/http_server_properties_impl.cc', 'http/http_server_properties_impl.h', 'http/http_status_code.h', 'http/http_stream.h', 'http/http_stream_base.h', 'http/http_stream_factory.cc', 'http/http_stream_factory.h', 'http/http_stream_factory_impl.cc', 'http/http_stream_factory_impl.h', 'http/http_stream_factory_impl_job.cc', 'http/http_stream_factory_impl_job.h', 'http/http_stream_factory_impl_request.cc', 'http/http_stream_factory_impl_request.h', 'http/http_stream_parser.cc', 'http/http_stream_parser.h', 'http/http_transaction.h', 'http/http_transaction_delegate.h', 'http/http_transaction_factory.h', 'http/http_util.cc', 'http/http_util.h', 'http/http_util_icu.cc', 'http/http_vary_data.cc', 'http/http_vary_data.h', 'http/http_version.h', 'http/md4.cc', 'http/md4.h', 'http/partial_data.cc', 'http/partial_data.h', 'http/proxy_client_socket.h', 'http/proxy_client_socket.cc', 'http/transport_security_state.cc', 'http/transport_security_state.h', 'http/transport_security_state_static.h', 'http/url_security_manager.cc', 'http/url_security_manager.h', 'http/url_security_manager_posix.cc', 'http/url_security_manager_win.cc', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc', 'proxy/dhcp_proxy_script_adapter_fetcher_win.h', 'proxy/dhcp_proxy_script_fetcher.cc', 'proxy/dhcp_proxy_script_fetcher.h', 'proxy/dhcp_proxy_script_fetcher_factory.cc', 'proxy/dhcp_proxy_script_fetcher_factory.h', 'proxy/dhcp_proxy_script_fetcher_win.cc', 'proxy/dhcp_proxy_script_fetcher_win.h', 'proxy/dhcpcsvc_init_win.cc', 'proxy/dhcpcsvc_init_win.h', 'proxy/multi_threaded_proxy_resolver.cc', 'proxy/multi_threaded_proxy_resolver.h', 'proxy/network_delegate_error_observer.cc', 'proxy/network_delegate_error_observer.h', 'proxy/polling_proxy_config_service.cc', 'proxy/polling_proxy_config_service.h', 'proxy/proxy_bypass_rules.cc', 'proxy/proxy_bypass_rules.h', 'proxy/proxy_config.cc', 'proxy/proxy_config.h', 'proxy/proxy_config_service.h', 'proxy/proxy_config_service_android.cc', 'proxy/proxy_config_service_android.h', 'proxy/proxy_config_service_fixed.cc', 'proxy/proxy_config_service_fixed.h', 'proxy/proxy_config_service_ios.cc', 'proxy/proxy_config_service_ios.h', 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h', 'proxy/proxy_config_service_mac.cc', 'proxy/proxy_config_service_mac.h', 'proxy/proxy_config_service_win.cc', 'proxy/proxy_config_service_win.h', 'proxy/proxy_config_source.cc', 'proxy/proxy_config_source.h', 'proxy/proxy_info.cc', 'proxy/proxy_info.h', 'proxy/proxy_list.cc', 'proxy/proxy_list.h', 'proxy/proxy_resolver.h', 'proxy/proxy_resolver_error_observer.h', 'proxy/proxy_resolver_mac.cc', 'proxy/proxy_resolver_mac.h', 'proxy/proxy_resolver_script.h', 'proxy/proxy_resolver_script_data.cc', 'proxy/proxy_resolver_script_data.h', 'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.h', 'proxy/proxy_retry_info.h', 'proxy/proxy_script_decider.cc', 'proxy/proxy_script_decider.h', 'proxy/proxy_script_fetcher.h', 'proxy/proxy_script_fetcher_impl.cc', 'proxy/proxy_script_fetcher_impl.h', 'proxy/proxy_server.cc', 'proxy/proxy_server.h', 'proxy/proxy_server_mac.cc', 'proxy/proxy_service.cc', 'proxy/proxy_service.h', 'quic/blocked_list.h', 'quic/congestion_control/available_channel_estimator.cc', 'quic/congestion_control/available_channel_estimator.h', 'quic/congestion_control/channel_estimator.cc', 'quic/congestion_control/channel_estimator.h', 'quic/congestion_control/cube_root.cc', 'quic/congestion_control/cube_root.h', 'quic/congestion_control/cubic.cc', 'quic/congestion_control/cubic.h', 'quic/congestion_control/fix_rate_receiver.cc', 'quic/congestion_control/fix_rate_receiver.h', 'quic/congestion_control/fix_rate_sender.cc', 'quic/congestion_control/fix_rate_sender.h', 'quic/congestion_control/hybrid_slow_start.cc', 'quic/congestion_control/hybrid_slow_start.h', 'quic/congestion_control/inter_arrival_bitrate_ramp_up.cc', 'quic/congestion_control/inter_arrival_bitrate_ramp_up.h', 'quic/congestion_control/inter_arrival_overuse_detector.cc', 'quic/congestion_control/inter_arrival_overuse_detector.h', 'quic/congestion_control/inter_arrival_probe.cc', 'quic/congestion_control/inter_arrival_probe.h', 'quic/congestion_control/inter_arrival_receiver.cc', 'quic/congestion_control/inter_arrival_receiver.h', 'quic/congestion_control/inter_arrival_sender.cc', 'quic/congestion_control/inter_arrival_sender.h', 'quic/congestion_control/inter_arrival_state_machine.cc', 'quic/congestion_control/inter_arrival_state_machine.h', 'quic/congestion_control/leaky_bucket.cc', 'quic/congestion_control/leaky_bucket.h', 'quic/congestion_control/paced_sender.cc', 'quic/congestion_control/paced_sender.h', 'quic/congestion_control/quic_congestion_manager.cc', 'quic/congestion_control/quic_congestion_manager.h', 'quic/congestion_control/quic_max_sized_map.h', 'quic/congestion_control/receive_algorithm_interface.cc', 'quic/congestion_control/receive_algorithm_interface.h', 'quic/congestion_control/send_algorithm_interface.cc', 'quic/congestion_control/send_algorithm_interface.h', 'quic/congestion_control/tcp_cubic_sender.cc', 'quic/congestion_control/tcp_cubic_sender.h', 'quic/congestion_control/tcp_receiver.cc', 'quic/congestion_control/tcp_receiver.h', 'quic/crypto/aes_128_gcm_decrypter.h', 'quic/crypto/aes_128_gcm_decrypter_nss.cc', 'quic/crypto/aes_128_gcm_decrypter_openssl.cc', 'quic/crypto/aes_128_gcm_encrypter.h', 'quic/crypto/aes_128_gcm_encrypter_nss.cc', 'quic/crypto/aes_128_gcm_encrypter_openssl.cc', 'quic/crypto/crypto_framer.cc', 'quic/crypto/crypto_framer.h', 'quic/crypto/crypto_handshake.cc', 'quic/crypto/crypto_handshake.h', 'quic/crypto/crypto_protocol.h', 'quic/crypto/crypto_utils.cc', 'quic/crypto/crypto_utils.h', 'quic/crypto/curve25519_key_exchange.cc', 'quic/crypto/curve25519_key_exchange.h', 'quic/crypto/key_exchange.h', 'quic/crypto/null_decrypter.cc', 'quic/crypto/null_decrypter.h', 'quic/crypto/null_encrypter.cc', 'quic/crypto/null_encrypter.h', 'quic/crypto/p256_key_exchange.h', 'quic/crypto/p256_key_exchange_nss.cc', 'quic/crypto/p256_key_exchange_openssl.cc', 'quic/crypto/quic_decrypter.cc', 'quic/crypto/quic_decrypter.h', 'quic/crypto/quic_encrypter.cc', 'quic/crypto/quic_encrypter.h', 'quic/crypto/quic_random.cc', 'quic/crypto/quic_random.h', 'quic/crypto/scoped_evp_cipher_ctx.h', 'quic/crypto/strike_register.cc', 'quic/crypto/strike_register.h', 'quic/quic_bandwidth.cc', 'quic/quic_bandwidth.h', 'quic/quic_blocked_writer_interface.h', 'quic/quic_client_session.cc', 'quic/quic_client_session.h', 'quic/quic_crypto_client_stream.cc', 'quic/quic_crypto_client_stream.h', 'quic/quic_crypto_client_stream_factory.h', 'quic/quic_crypto_server_stream.cc', 'quic/quic_crypto_server_stream.h', 'quic/quic_crypto_stream.cc', 'quic/quic_crypto_stream.h', 'quic/quic_clock.cc', 'quic/quic_clock.h', 'quic/quic_connection.cc', 'quic/quic_connection.h', 'quic/quic_connection_helper.cc', 'quic/quic_connection_helper.h', 'quic/quic_connection_logger.cc', 'quic/quic_connection_logger.h', 'quic/quic_data_reader.cc', 'quic/quic_data_reader.h', 'quic/quic_data_writer.cc', 'quic/quic_data_writer.h', 'quic/quic_fec_group.cc', 'quic/quic_fec_group.h', 'quic/quic_framer.cc', 'quic/quic_framer.h', 'quic/quic_http_stream.cc', 'quic/quic_http_stream.h', 'quic/quic_packet_creator.cc', 'quic/quic_packet_creator.h', 'quic/quic_packet_entropy_manager.cc', 'quic/quic_packet_entropy_manager.h', 'quic/quic_packet_generator.cc', 'quic/quic_packet_generator.h', 'quic/quic_protocol.cc', 'quic/quic_protocol.h', 'quic/quic_reliable_client_stream.cc', 'quic/quic_reliable_client_stream.h', 'quic/quic_session.cc', 'quic/quic_session.h', 'quic/quic_stats.cc', 'quic/quic_stats.h', 'quic/quic_stream_factory.cc', 'quic/quic_stream_factory.h', 'quic/quic_stream_sequencer.cc', 'quic/quic_stream_sequencer.h', 'quic/quic_time.cc', 'quic/quic_time.h', 'quic/quic_utils.cc', 'quic/quic_utils.h', 'quic/reliable_quic_stream.cc', 'quic/reliable_quic_stream.h', 'socket/buffered_write_stream_socket.cc', 'socket/buffered_write_stream_socket.h', 'socket/client_socket_factory.cc', 'socket/client_socket_factory.h', 'socket/client_socket_handle.cc', 'socket/client_socket_handle.h', 'socket/client_socket_pool.cc', 'socket/client_socket_pool.h', 'socket/client_socket_pool_base.cc', 'socket/client_socket_pool_base.h', 'socket/client_socket_pool_histograms.cc', 'socket/client_socket_pool_histograms.h', 'socket/client_socket_pool_manager.cc', 'socket/client_socket_pool_manager.h', 'socket/client_socket_pool_manager_impl.cc', 'socket/client_socket_pool_manager_impl.h', 'socket/next_proto.h', 'socket/nss_ssl_util.cc', 'socket/nss_ssl_util.h', 'socket/server_socket.h', 'socket/socket_net_log_params.cc', 'socket/socket_net_log_params.h', 'socket/socket.h', 'socket/socks5_client_socket.cc', 'socket/socks5_client_socket.h', 'socket/socks_client_socket.cc', 'socket/socks_client_socket.h', 'socket/socks_client_socket_pool.cc', 'socket/socks_client_socket_pool.h', 'socket/ssl_client_socket.cc', 'socket/ssl_client_socket.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', 'socket/ssl_client_socket_pool.cc', 'socket/ssl_client_socket_pool.h', 'socket/ssl_error_params.cc', 'socket/ssl_error_params.h', 'socket/ssl_server_socket.h', 'socket/ssl_server_socket_nss.cc', 'socket/ssl_server_socket_nss.h', 'socket/ssl_server_socket_openssl.cc', 'socket/ssl_socket.h', 'socket/stream_listen_socket.cc', 'socket/stream_listen_socket.h', 'socket/stream_socket.cc', 'socket/stream_socket.h', 'socket/tcp_client_socket.cc', 'socket/tcp_client_socket.h', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', 'socket/tcp_client_socket_win.cc', 'socket/tcp_client_socket_win.h', 'socket/tcp_listen_socket.cc', 'socket/tcp_listen_socket.h', 'socket/tcp_server_socket.h', 'socket/tcp_server_socket_libevent.cc', 'socket/tcp_server_socket_libevent.h', 'socket/tcp_server_socket_win.cc', 'socket/tcp_server_socket_win.h', 'socket/transport_client_socket_pool.cc', 'socket/transport_client_socket_pool.h', 'socket/unix_domain_socket_posix.cc', 'socket/unix_domain_socket_posix.h', 'socket_stream/socket_stream.cc', 'socket_stream/socket_stream.h', 'socket_stream/socket_stream_job.cc', 'socket_stream/socket_stream_job.h', 'socket_stream/socket_stream_job_manager.cc', 'socket_stream/socket_stream_job_manager.h', 'socket_stream/socket_stream_metrics.cc', 'socket_stream/socket_stream_metrics.h', 'spdy/buffered_spdy_framer.cc', 'spdy/buffered_spdy_framer.h', 'spdy/spdy_bitmasks.h', 'spdy/spdy_credential_builder.cc', 'spdy/spdy_credential_builder.h', 'spdy/spdy_credential_state.cc', 'spdy/spdy_credential_state.h', 'spdy/spdy_frame_builder.cc', 'spdy/spdy_frame_builder.h', 'spdy/spdy_frame_reader.cc', 'spdy/spdy_frame_reader.h', 'spdy/spdy_framer.cc', 'spdy/spdy_framer.h', 'spdy/spdy_header_block.cc', 'spdy/spdy_header_block.h', 'spdy/spdy_http_stream.cc', 'spdy/spdy_http_stream.h', 'spdy/spdy_http_utils.cc', 'spdy/spdy_http_utils.h', 'spdy/spdy_io_buffer.cc', 'spdy/spdy_io_buffer.h', 'spdy/spdy_priority_forest.h', 'spdy/spdy_protocol.cc', 'spdy/spdy_protocol.h', 'spdy/spdy_proxy_client_socket.cc', 'spdy/spdy_proxy_client_socket.h', 'spdy/spdy_session.cc', 'spdy/spdy_session.h', 'spdy/spdy_session_pool.cc', 'spdy/spdy_session_pool.h', 'spdy/spdy_stream.cc', 'spdy/spdy_stream.h', 'spdy/spdy_websocket_stream.cc', 'spdy/spdy_websocket_stream.h', 'ssl/client_cert_store.h', 'ssl/client_cert_store_impl.h', 'ssl/client_cert_store_impl_mac.cc', 'ssl/client_cert_store_impl_nss.cc', 'ssl/client_cert_store_impl_win.cc', 'ssl/default_server_bound_cert_store.cc', 'ssl/default_server_bound_cert_store.h', 'ssl/openssl_client_key_store.cc', 'ssl/openssl_client_key_store.h', 'ssl/server_bound_cert_service.cc', 'ssl/server_bound_cert_service.h', 'ssl/server_bound_cert_store.cc', 'ssl/server_bound_cert_store.h', 'ssl/ssl_cert_request_info.cc', 'ssl/ssl_cert_request_info.h', 'ssl/ssl_cipher_suite_names.cc', 'ssl/ssl_cipher_suite_names.h', 'ssl/ssl_client_auth_cache.cc', 'ssl/ssl_client_auth_cache.h', 'ssl/ssl_client_cert_type.h', 'ssl/ssl_config_service.cc', 'ssl/ssl_config_service.h', 'ssl/ssl_config_service_defaults.cc', 'ssl/ssl_config_service_defaults.h', 'ssl/ssl_info.cc', 'ssl/ssl_info.h', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h', 'udp/datagram_client_socket.h', 'udp/datagram_server_socket.h', 'udp/datagram_socket.h', 'udp/udp_client_socket.cc', 'udp/udp_client_socket.h', 'udp/udp_net_log_parameters.cc', 'udp/udp_net_log_parameters.h', 'udp/udp_server_socket.cc', 'udp/udp_server_socket.h', 'udp/udp_socket.h', 'udp/udp_socket_libevent.cc', 'udp/udp_socket_libevent.h', 'udp/udp_socket_win.cc', 'udp/udp_socket_win.h', 'url_request/data_protocol_handler.cc', 'url_request/data_protocol_handler.h', 'url_request/file_protocol_handler.cc', 'url_request/file_protocol_handler.h', 'url_request/fraudulent_certificate_reporter.h', 'url_request/ftp_protocol_handler.cc', 'url_request/ftp_protocol_handler.h', 'url_request/http_user_agent_settings.h', 'url_request/protocol_intercept_job_factory.cc', 'url_request/protocol_intercept_job_factory.h', 'url_request/static_http_user_agent_settings.cc', 'url_request/static_http_user_agent_settings.h', 'url_request/url_fetcher.cc', 'url_request/url_fetcher.h', 'url_request/url_fetcher_core.cc', 'url_request/url_fetcher_core.h', 'url_request/url_fetcher_delegate.cc', 'url_request/url_fetcher_delegate.h', 'url_request/url_fetcher_factory.h', 'url_request/url_fetcher_impl.cc', 'url_request/url_fetcher_impl.h', 'url_request/url_fetcher_response_writer.cc', 'url_request/url_fetcher_response_writer.h', 'url_request/url_request.cc', 'url_request/url_request.h', 'url_request/url_request_about_job.cc', 'url_request/url_request_about_job.h', 'url_request/url_request_context.cc', 'url_request/url_request_context.h', 'url_request/url_request_context_builder.cc', 'url_request/url_request_context_builder.h', 'url_request/url_request_context_getter.cc', 'url_request/url_request_context_getter.h', 'url_request/url_request_context_storage.cc', 'url_request/url_request_context_storage.h', 'url_request/url_request_data_job.cc', 'url_request/url_request_data_job.h', 'url_request/url_request_error_job.cc', 'url_request/url_request_error_job.h', 'url_request/url_request_file_dir_job.cc', 'url_request/url_request_file_dir_job.h', 'url_request/url_request_file_job.cc', 'url_request/url_request_file_job.h', 'url_request/url_request_filter.cc', 'url_request/url_request_filter.h', 'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.h', 'url_request/url_request_http_job.cc', 'url_request/url_request_http_job.h', 'url_request/url_request_job.cc', 'url_request/url_request_job.h', 'url_request/url_request_job_factory.cc', 'url_request/url_request_job_factory.h', 'url_request/url_request_job_factory_impl.cc', 'url_request/url_request_job_factory_impl.h', 'url_request/url_request_job_manager.cc', 'url_request/url_request_job_manager.h', 'url_request/url_request_netlog_params.cc', 'url_request/url_request_netlog_params.h', 'url_request/url_request_redirect_job.cc', 'url_request/url_request_redirect_job.h', 'url_request/url_request_simple_job.cc', 'url_request/url_request_simple_job.h', 'url_request/url_request_status.h', 'url_request/url_request_test_job.cc', 'url_request/url_request_test_job.h', 'url_request/url_request_throttler_entry.cc', 'url_request/url_request_throttler_entry.h', 'url_request/url_request_throttler_entry_interface.h', 'url_request/url_request_throttler_header_adapter.cc', 'url_request/url_request_throttler_header_adapter.h', 'url_request/url_request_throttler_header_interface.h', 'url_request/url_request_throttler_manager.cc', 'url_request/url_request_throttler_manager.h', 'url_request/view_cache_helper.cc', 'url_request/view_cache_helper.h', 'websockets/websocket_errors.cc', 'websockets/websocket_errors.h', 'websockets/websocket_frame.cc', 'websockets/websocket_frame.h', 'websockets/websocket_frame_parser.cc', 'websockets/websocket_frame_parser.h', 'websockets/websocket_handshake_handler.cc', 'websockets/websocket_handshake_handler.h', 'websockets/websocket_job.cc', 'websockets/websocket_job.h', 'websockets/websocket_net_log_params.cc', 'websockets/websocket_net_log_params.h', 'websockets/websocket_stream.h', 'websockets/websocket_throttle.cc', 'websockets/websocket_throttle.h'], 'defines': ['NET_IMPLEMENTATION'], 'export_dependent_settings': ['../base/base.gyp:base'], 'conditions': [['chromeos==1', {'sources!': ['base/network_change_notifier_linux.cc', 'base/network_change_notifier_linux.h', 'base/network_change_notifier_netlink_linux.cc', 'base/network_change_notifier_netlink_linux.h', 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h']}], ['use_kerberos==1', {'defines': ['USE_KERBEROS'], 'conditions': [['OS=="openbsd"', {'include_dirs': ['/usr/include/kerberosV']}], ['linux_link_kerberos==1', {'link_settings': {'ldflags': ['<!@(krb5-config --libs gssapi)']}}, {'defines': ['DLOPEN_KERBEROS']}]]}, {'sources!': ['http/http_auth_gssapi_posix.cc', 'http/http_auth_gssapi_posix.h', 'http/http_auth_handler_negotiate.h', 'http/http_auth_handler_negotiate.cc']}], ['posix_avoid_mmap==1', {'defines': ['POSIX_AVOID_MMAP'], 'direct_dependent_settings': {'defines': ['POSIX_AVOID_MMAP']}, 'sources!': ['disk_cache/mapped_file_posix.cc']}, {'sources!': ['disk_cache/mapped_file_avoid_mmap_posix.cc']}], ['disable_ftp_support==1', {'sources/': [['exclude', '^ftp/']], 'sources!': ['url_request/ftp_protocol_handler.cc', 'url_request/ftp_protocol_handler.h', 'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.h']}], ['enable_built_in_dns==1', {'defines': ['ENABLE_BUILT_IN_DNS']}, {'sources!': ['dns/address_sorter_posix.cc', 'dns/address_sorter_posix.h', 'dns/dns_client.cc']}], ['use_openssl==1', {'sources!': ['base/crypto_module_nss.cc', 'base/keygen_handler_nss.cc', 'base/nss_memio.c', 'base/nss_memio.h', 'cert/cert_database_nss.cc', 'cert/cert_verify_proc_nss.cc', 'cert/cert_verify_proc_nss.h', 'cert/nss_cert_database.cc', 'cert/nss_cert_database.h', 'cert/test_root_certs_nss.cc', 'cert/x509_certificate_nss.cc', 'cert/x509_util_nss.cc', 'cert/x509_util_nss.h', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'quic/crypto/aes_128_gcm_decrypter_nss.cc', 'quic/crypto/aes_128_gcm_encrypter_nss.cc', 'quic/crypto/p256_key_exchange_nss.cc', 'socket/nss_ssl_util.cc', 'socket/nss_ssl_util.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_server_socket_nss.cc', 'socket/ssl_server_socket_nss.h', 'ssl/client_cert_store_impl_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}, {'sources!': ['base/crypto_module_openssl.cc', 'base/keygen_handler_openssl.cc', 'base/openssl_private_key_store.h', 'base/openssl_private_key_store_android.cc', 'base/openssl_private_key_store_memory.cc', 'cert/cert_database_openssl.cc', 'cert/cert_verify_proc_openssl.cc', 'cert/cert_verify_proc_openssl.h', 'cert/test_root_certs_openssl.cc', 'cert/x509_certificate_openssl.cc', 'cert/x509_util_openssl.cc', 'cert/x509_util_openssl.h', 'quic/crypto/aes_128_gcm_decrypter_openssl.cc', 'quic/crypto/aes_128_gcm_encrypter_openssl.cc', 'quic/crypto/p256_key_exchange_openssl.cc', 'quic/crypto/scoped_evp_cipher_ctx.h', 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', 'socket/ssl_server_socket_openssl.cc', 'ssl/openssl_client_key_store.cc', 'ssl/openssl_client_key_store.h']}], ['use_glib == 1', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gio'], 'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:ssl']}], ['os_bsd==1', {'sources!': ['base/network_change_notifier_linux.cc', 'base/network_change_notifier_netlink_linux.cc', 'proxy/proxy_config_service_linux.cc']}, {'dependencies': ['../build/linux/system.gyp:libresolv']}], ['OS=="solaris"', {'link_settings': {'ldflags': ['-R/usr/lib/mps']}}]]}, {'sources!': ['base/crypto_module_nss.cc', 'base/keygen_handler_nss.cc', 'cert/cert_database_nss.cc', 'cert/nss_cert_database.cc', 'cert/nss_cert_database.h', 'cert/test_root_certs_nss.cc', 'cert/x509_certificate_nss.cc', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}], ['toolkit_uses_gtk == 1', {'dependencies': ['../build/linux/system.gyp:gdk']}], ['use_nss != 1', {'sources!': ['cert/cert_verify_proc_nss.cc', 'cert/cert_verify_proc_nss.h', 'ssl/client_cert_store_impl_nss.cc']}], ['enable_websockets != 1', {'sources/': [['exclude', '^socket_stream/'], ['exclude', '^websockets/']], 'sources!': ['spdy/spdy_websocket_stream.cc', 'spdy/spdy_websocket_stream.h']}], ['OS == "win"', {'sources!': ['http/http_auth_handler_ntlm_portable.cc', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', 'socket/tcp_server_socket_libevent.cc', 'socket/tcp_server_socket_libevent.h', 'ssl/client_cert_store_impl_nss.cc', 'udp/udp_socket_libevent.cc', 'udp/udp_socket_libevent.h'], 'dependencies': ['../third_party/nss/nss.gyp:nspr', '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:libssl', 'tld_cleanup'], 'msvs_disabled_warnings': [4267]}, {'sources!': ['base/winsock_init.cc', 'base/winsock_init.h', 'base/winsock_util.cc', 'base/winsock_util.h', 'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.h']}], ['OS == "mac"', {'sources!': ['ssl/client_cert_store_impl_nss.cc'], 'dependencies': ['../third_party/nss/nss.gyp:nspr', '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:libssl'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/Foundation.framework', '$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', '$(SDKROOT)/usr/lib/libresolv.dylib']}}], ['OS == "ios"', {'dependencies': ['../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:libssl'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', '$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', '$(SDKROOT)/usr/lib/libresolv.dylib']}}], ['OS=="android" and _toolset=="target" and android_webview_build == 0', {'dependencies': ['net_java']}], ['OS == "android"', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl', 'net_jni_headers'], 'sources!': ['base/openssl_private_key_store_memory.cc', 'cert/cert_database_openssl.cc', 'cert/cert_verify_proc_openssl.cc', 'cert/test_root_certs_openssl.cc'], 'include_dirs': ['../third_party/openssl']}, {'defines': ['ENABLE_MEDIA_CODEC_THEORA']}], ['OS == "linux"', {'dependencies': ['../build/linux/system.gyp:dbus', '../dbus/dbus.gyp:dbus']}]], 'target_conditions': [['OS == "android"', {'sources/': [['include', '^base/platform_mime_util_linux\\.cc$']]}], ['OS == "ios"', {'sources/': [['include', '^base/network_change_notifier_mac\\.cc$'], ['include', '^base/network_config_watcher_mac\\.cc$'], ['include', '^base/platform_mime_util_mac\\.mm$'], ['include', '^cert/cert_verify_proc_nss\\.cc$'], ['include', '^cert/cert_verify_proc_nss\\.h$'], ['include', '^cert/test_root_certs_nss\\.cc$'], ['include', '^cert/x509_util_nss\\.cc$'], ['include', '^cert/x509_util_nss\\.h$'], ['include', '^dns/notify_watcher_mac\\.cc$'], ['include', '^proxy/proxy_resolver_mac\\.cc$'], ['include', '^proxy/proxy_server_mac\\.cc$'], ['include', '^ocsp/nss_ocsp\\.cc$'], ['include', '^ocsp/nss_ocsp\\.h$']]}]]}, {'target_name': 'net_unittests', 'type': '<(gtest_target_type)', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../build/temp_gyp/googleurl.gyp:googleurl', '../crypto/crypto.gyp:crypto', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/zlib/zlib.gyp:zlib', 'net', 'net_test_support'], 'sources': ['android/keystore_unittest.cc', 'android/network_change_notifier_android_unittest.cc', 'base/address_list_unittest.cc', 'base/address_tracker_linux_unittest.cc', 'base/backoff_entry_unittest.cc', 'base/big_endian_unittest.cc', 'base/data_url_unittest.cc', 'base/directory_lister_unittest.cc', 'base/dns_util_unittest.cc', 'base/escape_unittest.cc', 'base/expiring_cache_unittest.cc', 'base/file_stream_unittest.cc', 'base/filter_unittest.cc', 'base/int128_unittest.cc', 'base/gzip_filter_unittest.cc', 'base/host_mapping_rules_unittest.cc', 'base/host_port_pair_unittest.cc', 'base/ip_endpoint_unittest.cc', 'base/keygen_handler_unittest.cc', 'base/mime_sniffer_unittest.cc', 'base/mime_util_unittest.cc', 'base/mock_filter_context.cc', 'base/mock_filter_context.h', 'base/net_log_unittest.cc', 'base/net_log_unittest.h', 'base/net_util_unittest.cc', 'base/network_change_notifier_win_unittest.cc', 'base/prioritized_dispatcher_unittest.cc', 'base/priority_queue_unittest.cc', 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc', 'base/sdch_filter_unittest.cc', 'base/static_cookie_policy_unittest.cc', 'base/test_completion_callback_unittest.cc', 'base/upload_bytes_element_reader_unittest.cc', 'base/upload_data_stream_unittest.cc', 'base/upload_file_element_reader_unittest.cc', 'base/url_util_unittest.cc', 'cert/cert_verify_proc_unittest.cc', 'cert/crl_set_unittest.cc', 'cert/ev_root_ca_metadata_unittest.cc', 'cert/multi_threaded_cert_verifier_unittest.cc', 'cert/nss_cert_database_unittest.cc', 'cert/pem_tokenizer_unittest.cc', 'cert/x509_certificate_unittest.cc', 'cert/x509_cert_types_unittest.cc', 'cert/x509_util_unittest.cc', 'cert/x509_util_nss_unittest.cc', 'cert/x509_util_openssl_unittest.cc', 'cookies/canonical_cookie_unittest.cc', 'cookies/cookie_monster_unittest.cc', 'cookies/cookie_store_unittest.h', 'cookies/cookie_util_unittest.cc', 'cookies/parsed_cookie_unittest.cc', 'disk_cache/addr_unittest.cc', 'disk_cache/backend_unittest.cc', 'disk_cache/bitmap_unittest.cc', 'disk_cache/block_files_unittest.cc', 'disk_cache/cache_util_unittest.cc', 'disk_cache/entry_unittest.cc', 'disk_cache/mapped_file_unittest.cc', 'disk_cache/storage_block_unittest.cc', 'disk_cache/flash/flash_entry_unittest.cc', 'disk_cache/flash/log_store_entry_unittest.cc', 'disk_cache/flash/log_store_unittest.cc', 'disk_cache/flash/segment_unittest.cc', 'disk_cache/flash/storage_unittest.cc', 'dns/address_sorter_posix_unittest.cc', 'dns/address_sorter_unittest.cc', 'dns/dns_config_service_posix_unittest.cc', 'dns/dns_config_service_unittest.cc', 'dns/dns_config_service_win_unittest.cc', 'dns/dns_hosts_unittest.cc', 'dns/dns_query_unittest.cc', 'dns/dns_response_unittest.cc', 'dns/dns_session_unittest.cc', 'dns/dns_transaction_unittest.cc', 'dns/host_cache_unittest.cc', 'dns/host_resolver_impl_unittest.cc', 'dns/mapped_host_resolver_unittest.cc', 'dns/serial_worker_unittest.cc', 'dns/single_request_host_resolver_unittest.cc', 'ftp/ftp_auth_cache_unittest.cc', 'ftp/ftp_ctrl_response_buffer_unittest.cc', 'ftp/ftp_directory_listing_parser_ls_unittest.cc', 'ftp/ftp_directory_listing_parser_netware_unittest.cc', 'ftp/ftp_directory_listing_parser_os2_unittest.cc', 'ftp/ftp_directory_listing_parser_unittest.cc', 'ftp/ftp_directory_listing_parser_unittest.h', 'ftp/ftp_directory_listing_parser_vms_unittest.cc', 'ftp/ftp_directory_listing_parser_windows_unittest.cc', 'ftp/ftp_network_transaction_unittest.cc', 'ftp/ftp_util_unittest.cc', 'http/des_unittest.cc', 'http/http_auth_cache_unittest.cc', 'http/http_auth_controller_unittest.cc', 'http/http_auth_filter_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', 'http/http_auth_handler_digest_unittest.cc', 'http/http_auth_handler_factory_unittest.cc', 'http/http_auth_handler_mock.cc', 'http/http_auth_handler_mock.h', 'http/http_auth_handler_negotiate_unittest.cc', 'http/http_auth_handler_unittest.cc', 'http/http_auth_sspi_win_unittest.cc', 'http/http_auth_unittest.cc', 'http/http_byte_range_unittest.cc', 'http/http_cache_unittest.cc', 'http/http_chunked_decoder_unittest.cc', 'http/http_content_disposition_unittest.cc', 'http/http_network_layer_unittest.cc', 'http/http_network_transaction_spdy3_unittest.cc', 'http/http_network_transaction_spdy2_unittest.cc', 'http/http_pipelined_connection_impl_unittest.cc', 'http/http_pipelined_host_forced_unittest.cc', 'http/http_pipelined_host_impl_unittest.cc', 'http/http_pipelined_host_pool_unittest.cc', 'http/http_pipelined_host_test_util.cc', 'http/http_pipelined_host_test_util.h', 'http/http_pipelined_network_transaction_unittest.cc', 'http/http_proxy_client_socket_pool_spdy2_unittest.cc', 'http/http_proxy_client_socket_pool_spdy3_unittest.cc', 'http/http_request_headers_unittest.cc', 'http/http_response_body_drainer_unittest.cc', 'http/http_response_headers_unittest.cc', 'http/http_security_headers_unittest.cc', 'http/http_server_properties_impl_unittest.cc', 'http/http_stream_factory_impl_unittest.cc', 'http/http_stream_parser_unittest.cc', 'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.h', 'http/http_util_unittest.cc', 'http/http_vary_data_unittest.cc', 'http/mock_allow_url_security_manager.cc', 'http/mock_allow_url_security_manager.h', 'http/mock_gssapi_library_posix.cc', 'http/mock_gssapi_library_posix.h', 'http/mock_http_cache.cc', 'http/mock_http_cache.h', 'http/mock_sspi_library_win.cc', 'http/mock_sspi_library_win.h', 'http/transport_security_state_unittest.cc', 'http/url_security_manager_unittest.cc', 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc', 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc', 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc', 'proxy/multi_threaded_proxy_resolver_unittest.cc', 'proxy/network_delegate_error_observer_unittest.cc', 'proxy/proxy_bypass_rules_unittest.cc', 'proxy/proxy_config_service_android_unittest.cc', 'proxy/proxy_config_service_linux_unittest.cc', 'proxy/proxy_config_service_win_unittest.cc', 'proxy/proxy_config_unittest.cc', 'proxy/proxy_info_unittest.cc', 'proxy/proxy_list_unittest.cc', 'proxy/proxy_resolver_v8_tracing_unittest.cc', 'proxy/proxy_resolver_v8_unittest.cc', 'proxy/proxy_script_decider_unittest.cc', 'proxy/proxy_script_fetcher_impl_unittest.cc', 'proxy/proxy_server_unittest.cc', 'proxy/proxy_service_unittest.cc', 'quic/blocked_list_test.cc', 'quic/congestion_control/available_channel_estimator_test.cc', 'quic/congestion_control/channel_estimator_test.cc', 'quic/congestion_control/cube_root_test.cc', 'quic/congestion_control/cubic_test.cc', 'quic/congestion_control/fix_rate_test.cc', 'quic/congestion_control/hybrid_slow_start_test.cc', 'quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc', 'quic/congestion_control/inter_arrival_overuse_detector_test.cc', 'quic/congestion_control/inter_arrival_probe_test.cc', 'quic/congestion_control/inter_arrival_receiver_test.cc', 'quic/congestion_control/inter_arrival_state_machine_test.cc', 'quic/congestion_control/inter_arrival_sender_test.cc', 'quic/congestion_control/leaky_bucket_test.cc', 'quic/congestion_control/paced_sender_test.cc', 'quic/congestion_control/quic_congestion_control_test.cc', 'quic/congestion_control/quic_congestion_manager_test.cc', 'quic/congestion_control/quic_max_sized_map_test.cc', 'quic/congestion_control/tcp_cubic_sender_test.cc', 'quic/congestion_control/tcp_receiver_test.cc', 'quic/crypto/aes_128_gcm_decrypter_test.cc', 'quic/crypto/aes_128_gcm_encrypter_test.cc', 'quic/crypto/crypto_framer_test.cc', 'quic/crypto/crypto_handshake_test.cc', 'quic/crypto/curve25519_key_exchange_test.cc', 'quic/crypto/null_decrypter_test.cc', 'quic/crypto/null_encrypter_test.cc', 'quic/crypto/p256_key_exchange_test.cc', 'quic/crypto/quic_random_test.cc', 'quic/crypto/strike_register_test.cc', 'quic/test_tools/crypto_test_utils.cc', 'quic/test_tools/crypto_test_utils.h', 'quic/test_tools/mock_clock.cc', 'quic/test_tools/mock_clock.h', 'quic/test_tools/mock_crypto_client_stream.cc', 'quic/test_tools/mock_crypto_client_stream.h', 'quic/test_tools/mock_crypto_client_stream_factory.cc', 'quic/test_tools/mock_crypto_client_stream_factory.h', 'quic/test_tools/mock_random.cc', 'quic/test_tools/mock_random.h', 'quic/test_tools/quic_connection_peer.cc', 'quic/test_tools/quic_connection_peer.h', 'quic/test_tools/quic_framer_peer.cc', 'quic/test_tools/quic_framer_peer.h', 'quic/test_tools/quic_packet_creator_peer.cc', 'quic/test_tools/quic_packet_creator_peer.h', 'quic/test_tools/quic_session_peer.cc', 'quic/test_tools/quic_session_peer.h', 'quic/test_tools/quic_test_utils.cc', 'quic/test_tools/quic_test_utils.h', 'quic/test_tools/reliable_quic_stream_peer.cc', 'quic/test_tools/reliable_quic_stream_peer.h', 'quic/test_tools/simple_quic_framer.cc', 'quic/test_tools/simple_quic_framer.h', 'quic/test_tools/test_task_runner.cc', 'quic/test_tools/test_task_runner.h', 'quic/quic_bandwidth_test.cc', 'quic/quic_client_session_test.cc', 'quic/quic_clock_test.cc', 'quic/quic_connection_helper_test.cc', 'quic/quic_connection_test.cc', 'quic/quic_crypto_client_stream_test.cc', 'quic/quic_crypto_server_stream_test.cc', 'quic/quic_crypto_stream_test.cc', 'quic/quic_data_writer_test.cc', 'quic/quic_fec_group_test.cc', 'quic/quic_framer_test.cc', 'quic/quic_http_stream_test.cc', 'quic/quic_network_transaction_unittest.cc', 'quic/quic_packet_creator_test.cc', 'quic/quic_packet_entropy_manager_test.cc', 'quic/quic_packet_generator_test.cc', 'quic/quic_protocol_test.cc', 'quic/quic_reliable_client_stream_test.cc', 'quic/quic_session_test.cc', 'quic/quic_stream_factory_test.cc', 'quic/quic_stream_sequencer_test.cc', 'quic/quic_time_test.cc', 'quic/quic_utils_test.cc', 'quic/reliable_quic_stream_test.cc', 'socket/buffered_write_stream_socket_unittest.cc', 'socket/client_socket_pool_base_unittest.cc', 'socket/deterministic_socket_data_unittest.cc', 'socket/mock_client_socket_pool_manager.cc', 'socket/mock_client_socket_pool_manager.h', 'socket/socks5_client_socket_unittest.cc', 'socket/socks_client_socket_pool_unittest.cc', 'socket/socks_client_socket_unittest.cc', 'socket/ssl_client_socket_openssl_unittest.cc', 'socket/ssl_client_socket_pool_unittest.cc', 'socket/ssl_client_socket_unittest.cc', 'socket/ssl_server_socket_unittest.cc', 'socket/tcp_client_socket_unittest.cc', 'socket/tcp_listen_socket_unittest.cc', 'socket/tcp_listen_socket_unittest.h', 'socket/tcp_server_socket_unittest.cc', 'socket/transport_client_socket_pool_unittest.cc', 'socket/transport_client_socket_unittest.cc', 'socket/unix_domain_socket_posix_unittest.cc', 'socket_stream/socket_stream_metrics_unittest.cc', 'socket_stream/socket_stream_unittest.cc', 'spdy/buffered_spdy_framer_spdy3_unittest.cc', 'spdy/buffered_spdy_framer_spdy2_unittest.cc', 'spdy/spdy_credential_builder_unittest.cc', 'spdy/spdy_credential_state_unittest.cc', 'spdy/spdy_frame_builder_test.cc', 'spdy/spdy_frame_reader_test.cc', 'spdy/spdy_framer_test.cc', 'spdy/spdy_header_block_unittest.cc', 'spdy/spdy_http_stream_spdy3_unittest.cc', 'spdy/spdy_http_stream_spdy2_unittest.cc', 'spdy/spdy_http_utils_unittest.cc', 'spdy/spdy_network_transaction_spdy3_unittest.cc', 'spdy/spdy_network_transaction_spdy2_unittest.cc', 'spdy/spdy_priority_forest_test.cc', 'spdy/spdy_protocol_test.cc', 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc', 'spdy/spdy_proxy_client_socket_spdy2_unittest.cc', 'spdy/spdy_session_spdy3_unittest.cc', 'spdy/spdy_session_spdy2_unittest.cc', 'spdy/spdy_stream_spdy3_unittest.cc', 'spdy/spdy_stream_spdy2_unittest.cc', 'spdy/spdy_stream_test_util.cc', 'spdy/spdy_stream_test_util.h', 'spdy/spdy_test_util_common.cc', 'spdy/spdy_test_util_common.h', 'spdy/spdy_test_util_spdy3.cc', 'spdy/spdy_test_util_spdy3.h', 'spdy/spdy_test_util_spdy2.cc', 'spdy/spdy_test_util_spdy2.h', 'spdy/spdy_test_utils.cc', 'spdy/spdy_test_utils.h', 'spdy/spdy_websocket_stream_spdy2_unittest.cc', 'spdy/spdy_websocket_stream_spdy3_unittest.cc', 'spdy/spdy_websocket_test_util_spdy2.cc', 'spdy/spdy_websocket_test_util_spdy2.h', 'spdy/spdy_websocket_test_util_spdy3.cc', 'spdy/spdy_websocket_test_util_spdy3.h', 'ssl/client_cert_store_impl_unittest.cc', 'ssl/default_server_bound_cert_store_unittest.cc', 'ssl/openssl_client_key_store_unittest.cc', 'ssl/server_bound_cert_service_unittest.cc', 'ssl/ssl_cipher_suite_names_unittest.cc', 'ssl/ssl_client_auth_cache_unittest.cc', 'ssl/ssl_config_service_unittest.cc', 'test/python_utils_unittest.cc', 'test/run_all_unittests.cc', 'test/test_certificate_data.h', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_to_filename_encoder_unittest.cc', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/dump_cache/url_utilities_unittest.cc', 'udp/udp_socket_unittest.cc', 'url_request/url_fetcher_impl_unittest.cc', 'url_request/url_request_context_builder_unittest.cc', 'url_request/url_request_filter_unittest.cc', 'url_request/url_request_ftp_job_unittest.cc', 'url_request/url_request_http_job_unittest.cc', 'url_request/url_request_job_factory_impl_unittest.cc', 'url_request/url_request_job_unittest.cc', 'url_request/url_request_throttler_simulation_unittest.cc', 'url_request/url_request_throttler_test_support.cc', 'url_request/url_request_throttler_test_support.h', 'url_request/url_request_throttler_unittest.cc', 'url_request/url_request_unittest.cc', 'url_request/view_cache_helper_unittest.cc', 'websockets/websocket_errors_unittest.cc', 'websockets/websocket_frame_parser_unittest.cc', 'websockets/websocket_frame_unittest.cc', 'websockets/websocket_handshake_handler_unittest.cc', 'websockets/websocket_handshake_handler_spdy2_unittest.cc', 'websockets/websocket_handshake_handler_spdy3_unittest.cc', 'websockets/websocket_job_spdy2_unittest.cc', 'websockets/websocket_job_spdy3_unittest.cc', 'websockets/websocket_net_log_params_unittest.cc', 'websockets/websocket_throttle_unittest.cc'], 'conditions': [['chromeos==1', {'sources!': ['base/network_change_notifier_linux_unittest.cc', 'proxy/proxy_config_service_linux_unittest.cc']}], ['OS == "android"', {'sources!': ['dns/dns_config_service_posix_unittest.cc', 'ssl/client_cert_store_impl_unittest.cc'], 'dependencies': ['net_javatests', 'net_test_jni_headers']}], ['use_glib == 1', {'dependencies': ['../build/linux/system.gyp:ssl']}, {'sources!': ['cert/nss_cert_database_unittest.cc']}], ['toolkit_uses_gtk == 1', {'dependencies': ['../build/linux/system.gyp:gtk']}], ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}], ['use_kerberos==1', {'defines': ['USE_KERBEROS']}, {'sources!': ['http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_negotiate_unittest.cc', 'http/mock_gssapi_library_posix.cc', 'http/mock_gssapi_library_posix.h']}], ['use_openssl==1', {'sources!': ['cert/nss_cert_database_unittest.cc', 'cert/x509_util_nss_unittest.cc', 'ssl/client_cert_store_impl_unittest.cc']}, {'sources!': ['cert/x509_util_openssl_unittest.cc', 'socket/ssl_client_socket_openssl_unittest.cc', 'ssl/openssl_client_key_store_unittest.cc']}], ['enable_websockets != 1', {'sources/': [['exclude', '^socket_stream/'], ['exclude', '^websockets/'], ['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$']]}], ['disable_ftp_support==1', {'sources/': [['exclude', '^ftp/']], 'sources!': ['url_request/url_request_ftp_job_unittest.cc']}], ['enable_built_in_dns!=1', {'sources!': ['dns/address_sorter_posix_unittest.cc', 'dns/address_sorter_unittest.cc']}], ['use_v8_in_net==1', {'dependencies': ['net_with_v8']}, {'sources!': ['proxy/proxy_resolver_v8_unittest.cc', 'proxy/proxy_resolver_v8_tracing_unittest.cc']}], ['OS == "win"', {'sources!': ['dns/dns_config_service_posix_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc'], 'dependencies': ['../third_party/icu/icu.gyp:icudata', '../third_party/nss/nss.gyp:nspr', '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:libssl'], 'msvs_disabled_warnings': [4267]}], ['OS == "mac"', {'dependencies': ['../third_party/nss/nss.gyp:nspr', '../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:libssl']}], ['OS == "ios"', {'dependencies': ['../third_party/nss/nss.gyp:nss'], 'actions': [{'action_name': 'copy_test_data', 'variables': {'test_data_files': ['data/ssl/certificates/', 'data/url_request_unittest/'], 'test_data_prefix': 'net'}, 'includes': ['../build/copy_test_data_ios.gypi']}], 'sources!': ['base/keygen_handler_unittest.cc', 'base/gzip_filter_unittest.cc', 'disk_cache/backend_unittest.cc', 'disk_cache/block_files_unittest.cc', 'socket/ssl_server_socket_unittest.cc', 'proxy/proxy_script_fetcher_impl_unittest.cc', 'socket/ssl_client_socket_unittest.cc', 'ssl/client_cert_store_impl_unittest.cc', 'url_request/url_fetcher_impl_unittest.cc', 'url_request/url_request_context_builder_unittest.cc', 'test/python_utils_unittest.cc', 'socket/unix_domain_socket_posix_unittest.cc'], 'conditions': [['coverage != 0', {'sources!': ['http/transport_security_state_unittest.cc', 'cookies/cookie_monster_unittest.cc', 'cookies/cookie_store_unittest.h', 'http/http_auth_controller_unittest.cc', 'http/http_network_layer_unittest.cc', 'http/http_network_transaction_spdy2_unittest.cc', 'http/http_network_transaction_spdy3_unittest.cc', 'spdy/spdy_http_stream_spdy2_unittest.cc', 'spdy/spdy_http_stream_spdy3_unittest.cc', 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc', 'spdy/spdy_session_spdy3_unittest.cc', 'proxy/proxy_service_unittest.cc']}]]}], ['OS == "linux"', {'dependencies': ['../build/linux/system.gyp:dbus', '../dbus/dbus.gyp:dbus_test_support']}], ['OS == "android"', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl'], 'sources!': ['dns/dns_config_service_posix_unittest.cc']}], ['OS == "android" and gtest_target_type == "shared_library"', {'dependencies': ['../testing/android/native_test.gyp:native_test_native_code']}], ['OS != "win" and OS != "mac"', {'sources!': ['cert/x509_cert_types_unittest.cc']}]]}, {'target_name': 'net_perftests', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_perf', '../build/temp_gyp/googleurl.gyp:googleurl', '../testing/gtest.gyp:gtest', 'net', 'net_test_support'], 'sources': ['cookies/cookie_monster_perftest.cc', 'disk_cache/disk_cache_perftest.cc', 'proxy/proxy_resolver_perftest.cc'], 'conditions': [['use_v8_in_net==1', {'dependencies': ['net_with_v8']}, {'sources!': ['proxy/proxy_resolver_perftest.cc']}], ['OS == "win"', {'dependencies': ['../third_party/icu/icu.gyp:icudata'], 'msvs_disabled_warnings': [4267]}]]}, {'target_name': 'net_test_support', 'type': 'static_library', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:test_support_base', '../build/temp_gyp/googleurl.gyp:googleurl', '../testing/gtest.gyp:gtest', 'net'], 'export_dependent_settings': ['../base/base.gyp:base', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest'], 'sources': ['base/capturing_net_log.cc', 'base/capturing_net_log.h', 'base/load_timing_info_test_util.cc', 'base/load_timing_info_test_util.h', 'base/mock_file_stream.cc', 'base/mock_file_stream.h', 'base/test_completion_callback.cc', 'base/test_completion_callback.h', 'base/test_data_directory.cc', 'base/test_data_directory.h', 'cert/mock_cert_verifier.cc', 'cert/mock_cert_verifier.h', 'cookies/cookie_monster_store_test.cc', 'cookies/cookie_monster_store_test.h', 'cookies/cookie_store_test_callbacks.cc', 'cookies/cookie_store_test_callbacks.h', 'cookies/cookie_store_test_helpers.cc', 'cookies/cookie_store_test_helpers.h', 'disk_cache/disk_cache_test_base.cc', 'disk_cache/disk_cache_test_base.h', 'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.h', 'disk_cache/flash/flash_cache_test_base.h', 'disk_cache/flash/flash_cache_test_base.cc', 'dns/dns_test_util.cc', 'dns/dns_test_util.h', 'dns/mock_host_resolver.cc', 'dns/mock_host_resolver.h', 'proxy/mock_proxy_resolver.cc', 'proxy/mock_proxy_resolver.h', 'proxy/mock_proxy_script_fetcher.cc', 'proxy/mock_proxy_script_fetcher.h', 'proxy/proxy_config_service_common_unittest.cc', 'proxy/proxy_config_service_common_unittest.h', 'socket/socket_test_util.cc', 'socket/socket_test_util.h', 'test/base_test_server.cc', 'test/base_test_server.h', 'test/cert_test_util.cc', 'test/cert_test_util.h', 'test/local_test_server_posix.cc', 'test/local_test_server_win.cc', 'test/local_test_server.cc', 'test/local_test_server.h', 'test/net_test_suite.cc', 'test/net_test_suite.h', 'test/python_utils.cc', 'test/python_utils.h', 'test/remote_test_server.cc', 'test/remote_test_server.h', 'test/spawner_communicator.cc', 'test/spawner_communicator.h', 'test/test_server.h', 'url_request/test_url_fetcher_factory.cc', 'url_request/test_url_fetcher_factory.h', 'url_request/url_request_test_util.cc', 'url_request/url_request_test_util.h'], 'conditions': [['inside_chromium_build==1 and OS != "ios"', {'dependencies': ['../third_party/protobuf/protobuf.gyp:py_proto']}], ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:ssl']}]]}], ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}], ['OS != "android"', {'sources!': ['test/remote_test_server.cc', 'test/remote_test_server.h', 'test/spawner_communicator.cc', 'test/spawner_communicator.h']}], ['OS == "ios"', {'dependencies': ['../third_party/nss/nss.gyp:nss']}], ['use_v8_in_net==1', {'dependencies': ['net_with_v8']}]], 'msvs_disabled_warnings': [4267]}, {'target_name': 'net_resources', 'type': 'none', 'variables': {'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net'}, 'actions': [{'action_name': 'net_resources', 'variables': {'grit_grd_file': 'base/net_resources.grd'}, 'includes': ['../build/grit_action.gypi']}], 'includes': ['../build/grit_target.gypi']}, {'target_name': 'http_server', 'type': 'static_library', 'variables': {'enable_wexit_time_destructors': 1}, 'dependencies': ['../base/base.gyp:base', 'net'], 'sources': ['server/http_connection.cc', 'server/http_connection.h', 'server/http_server.cc', 'server/http_server.h', 'server/http_server_request_info.cc', 'server/http_server_request_info.h', 'server/web_socket.cc', 'server/web_socket.h'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'dump_cache', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net', 'net_test_support'], 'sources': ['tools/dump_cache/cache_dumper.cc', 'tools/dump_cache/cache_dumper.h', 'tools/dump_cache/dump_cache.cc', 'tools/dump_cache/dump_files.cc', 'tools/dump_cache/dump_files.h', 'tools/dump_cache/simple_cache_dumper.cc', 'tools/dump_cache/simple_cache_dumper.h', 'tools/dump_cache/upgrade_win.cc', 'tools/dump_cache/upgrade_win.h', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc'], 'msvs_disabled_warnings': [4267]}], 'conditions': [['use_v8_in_net == 1', {'targets': [{'target_name': 'net_with_v8', 'type': '<(component)', 'variables': {'enable_wexit_time_destructors': 1}, 'dependencies': ['../base/base.gyp:base', '../build/temp_gyp/googleurl.gyp:googleurl', '../v8/tools/gyp/v8.gyp:v8', 'net'], 'defines': ['NET_IMPLEMENTATION'], 'sources': ['proxy/proxy_resolver_v8.cc', 'proxy/proxy_resolver_v8.h', 'proxy/proxy_resolver_v8_tracing.cc', 'proxy/proxy_resolver_v8_tracing.h', 'proxy/proxy_service_v8.cc', 'proxy/proxy_service_v8.h'], 'msvs_disabled_warnings': [4267]}]}], ['OS != "ios"', {'targets': [{'target_name': 'crash_cache', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net', 'net_test_support'], 'sources': ['tools/crash_cache/crash_cache.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'crl_set_dump', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net'], 'sources': ['tools/crl_set_dump/crl_set_dump.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'dns_fuzz_stub', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net'], 'sources': ['tools/dns_fuzz_stub/dns_fuzz_stub.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'fetch_client', 'type': 'executable', 'variables': {'enable_wexit_time_destructors': 1}, 'dependencies': ['../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../build/temp_gyp/googleurl.gyp:googleurl', '../testing/gtest.gyp:gtest', 'net', 'net_with_v8'], 'sources': ['tools/fetch/fetch_client.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'fetch_server', 'type': 'executable', 'variables': {'enable_wexit_time_destructors': 1}, 'dependencies': ['../base/base.gyp:base', '../build/temp_gyp/googleurl.gyp:googleurl', 'net'], 'sources': ['tools/fetch/fetch_server.cc', 'tools/fetch/http_listen_socket.cc', 'tools/fetch/http_listen_socket.h', 'tools/fetch/http_server.cc', 'tools/fetch/http_server.h', 'tools/fetch/http_server_request_info.cc', 'tools/fetch/http_server_request_info.h', 'tools/fetch/http_server_response_info.cc', 'tools/fetch/http_server_response_info.h', 'tools/fetch/http_session.cc', 'tools/fetch/http_session.h'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'gdig', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net'], 'sources': ['tools/gdig/file_net_log.cc', 'tools/gdig/gdig.cc']}, {'target_name': 'get_server_time', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', 'net'], 'sources': ['tools/get_server_time/get_server_time.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'net_watcher', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net', 'net_with_v8'], 'conditions': [['use_glib == 1', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gio']}]], 'sources': ['tools/net_watcher/net_watcher.cc']}, {'target_name': 'run_testserver', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest', 'net_test_support'], 'sources': ['tools/testserver/run_testserver.cc']}, {'target_name': 'stress_cache', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', 'net', 'net_test_support'], 'sources': ['disk_cache/stress_cache.cc'], 'msvs_disabled_warnings': [4267]}, {'target_name': 'tld_cleanup', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl'], 'sources': ['tools/tld_cleanup/tld_cleanup.cc'], 'msvs_disabled_warnings': [4267]}]}], ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {'targets': [{'target_name': 'flip_balsa_and_epoll_library', 'type': 'static_library', 'dependencies': ['../base/base.gyp:base', 'net'], 'sources': ['tools/flip_server/balsa_enums.h', 'tools/flip_server/balsa_frame.cc', 'tools/flip_server/balsa_frame.h', 'tools/flip_server/balsa_headers.cc', 'tools/flip_server/balsa_headers.h', 'tools/flip_server/balsa_headers_token_utils.cc', 'tools/flip_server/balsa_headers_token_utils.h', 'tools/flip_server/balsa_visitor_interface.h', 'tools/flip_server/constants.h', 'tools/flip_server/epoll_server.cc', 'tools/flip_server/epoll_server.h', 'tools/flip_server/http_message_constants.cc', 'tools/flip_server/http_message_constants.h', 'tools/flip_server/split.h', 'tools/flip_server/split.cc']}, {'target_name': 'flip_in_mem_edsm_server', 'type': 'executable', 'cflags': ['-Wno-deprecated'], 'dependencies': ['../base/base.gyp:base', '../third_party/openssl/openssl.gyp:openssl', 'flip_balsa_and_epoll_library', 'net'], 'sources': ['tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/flip_server/acceptor_thread.h', 'tools/flip_server/acceptor_thread.cc', 'tools/flip_server/buffer_interface.h', 'tools/flip_server/create_listener.cc', 'tools/flip_server/create_listener.h', 'tools/flip_server/flip_config.cc', 'tools/flip_server/flip_config.h', 'tools/flip_server/flip_in_mem_edsm_server.cc', 'tools/flip_server/http_interface.cc', 'tools/flip_server/http_interface.h', 'tools/flip_server/loadtime_measurement.h', 'tools/flip_server/mem_cache.h', 'tools/flip_server/mem_cache.cc', 'tools/flip_server/output_ordering.cc', 'tools/flip_server/output_ordering.h', 'tools/flip_server/ring_buffer.cc', 'tools/flip_server/ring_buffer.h', 'tools/flip_server/simple_buffer.cc', 'tools/flip_server/simple_buffer.h', 'tools/flip_server/sm_connection.cc', 'tools/flip_server/sm_connection.h', 'tools/flip_server/sm_interface.h', 'tools/flip_server/spdy_ssl.cc', 'tools/flip_server/spdy_ssl.h', 'tools/flip_server/spdy_interface.cc', 'tools/flip_server/spdy_interface.h', 'tools/flip_server/spdy_util.cc', 'tools/flip_server/spdy_util.h', 'tools/flip_server/streamer_interface.cc', 'tools/flip_server/streamer_interface.h', 'tools/flip_server/string_piece_utils.h']}, {'target_name': 'quic_library', 'type': 'static_library', 'dependencies': ['../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../build/temp_gyp/googleurl.gyp:googleurl', '../third_party/openssl/openssl.gyp:openssl', 'flip_balsa_and_epoll_library', 'net'], 'sources': ['tools/quic/quic_client.cc', 'tools/quic/quic_client.h', 'tools/quic/quic_client_session.cc', 'tools/quic/quic_client_session.h', 'tools/quic/quic_dispatcher.h', 'tools/quic/quic_dispatcher.cc', 'tools/quic/quic_epoll_clock.cc', 'tools/quic/quic_epoll_clock.h', 'tools/quic/quic_epoll_connection_helper.cc', 'tools/quic/quic_epoll_connection_helper.h', 'tools/quic/quic_in_memory_cache.cc', 'tools/quic/quic_in_memory_cache.h', 'tools/quic/quic_packet_writer.h', 'tools/quic/quic_reliable_client_stream.cc', 'tools/quic/quic_reliable_client_stream.h', 'tools/quic/quic_reliable_server_stream.cc', 'tools/quic/quic_reliable_server_stream.h', 'tools/quic/quic_server.cc', 'tools/quic/quic_server.h', 'tools/quic/quic_server_session.cc', 'tools/quic/quic_server_session.h', 'tools/quic/quic_socket_utils.cc', 'tools/quic/quic_socket_utils.h', 'tools/quic/quic_spdy_client_stream.cc', 'tools/quic/quic_spdy_client_stream.h', 'tools/quic/quic_spdy_server_stream.cc', 'tools/quic/quic_spdy_server_stream.h', 'tools/quic/quic_time_wait_list_manager.h', 'tools/quic/quic_time_wait_list_manager.cc', 'tools/quic/spdy_utils.cc', 'tools/quic/spdy_utils.h']}, {'target_name': 'quic_client', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../third_party/openssl/openssl.gyp:openssl', 'net', 'quic_library'], 'sources': ['tools/quic/quic_client_bin.cc']}, {'target_name': 'quic_server', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../third_party/openssl/openssl.gyp:openssl', 'net', 'quic_library'], 'sources': ['tools/quic/quic_server_bin.cc']}, {'target_name': 'quic_unittests', 'type': '<(gtest_target_type)', 'dependencies': ['../base/base.gyp:test_support_base', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', 'net', 'quic_library'], 'sources': ['quic/test_tools/quic_session_peer.cc', 'quic/test_tools/quic_session_peer.h', 'quic/test_tools/crypto_test_utils.cc', 'quic/test_tools/crypto_test_utils.h', 'quic/test_tools/mock_clock.cc', 'quic/test_tools/mock_clock.h', 'quic/test_tools/mock_random.cc', 'quic/test_tools/mock_random.h', 'quic/test_tools/simple_quic_framer.cc', 'quic/test_tools/simple_quic_framer.h', 'quic/test_tools/quic_connection_peer.cc', 'quic/test_tools/quic_connection_peer.h', 'quic/test_tools/quic_framer_peer.cc', 'quic/test_tools/quic_framer_peer.h', 'quic/test_tools/quic_session_peer.cc', 'quic/test_tools/quic_session_peer.h', 'quic/test_tools/quic_test_utils.cc', 'quic/test_tools/quic_test_utils.h', 'quic/test_tools/reliable_quic_stream_peer.cc', 'quic/test_tools/reliable_quic_stream_peer.h', 'tools/flip_server/simple_buffer.cc', 'tools/flip_server/simple_buffer.h', 'tools/quic/end_to_end_test.cc', 'tools/quic/quic_client_session_test.cc', 'tools/quic/quic_dispatcher_test.cc', 'tools/quic/quic_epoll_clock_test.cc', 'tools/quic/quic_epoll_connection_helper_test.cc', 'tools/quic/quic_reliable_client_stream_test.cc', 'tools/quic/quic_reliable_server_stream_test.cc', 'tools/quic/test_tools/http_message_test_utils.cc', 'tools/quic/test_tools/http_message_test_utils.h', 'tools/quic/test_tools/mock_epoll_server.cc', 'tools/quic/test_tools/mock_epoll_server.h', 'tools/quic/test_tools/quic_test_client.cc', 'tools/quic/test_tools/quic_test_client.h', 'tools/quic/test_tools/quic_test_utils.cc', 'tools/quic/test_tools/quic_test_utils.h', 'tools/quic/test_tools/run_all_unittests.cc']}]}], ['OS=="android"', {'targets': [{'target_name': 'net_jni_headers', 'type': 'none', 'sources': ['android/java/src/org/chromium/net/AndroidKeyStore.java', 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', 'android/java/src/org/chromium/net/GURLUtils.java', 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', 'android/java/src/org/chromium/net/ProxyChangeListener.java'], 'variables': {'jni_gen_package': 'net'}, 'direct_dependent_settings': {'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net']}, 'includes': ['../build/jni_generator.gypi']}, {'target_name': 'net_test_jni_headers', 'type': 'none', 'sources': ['android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java'], 'variables': {'jni_gen_package': 'net'}, 'direct_dependent_settings': {'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net']}, 'includes': ['../build/jni_generator.gypi']}, {'target_name': 'net_java', 'type': 'none', 'variables': {'java_in_dir': '../net/android/java'}, 'dependencies': ['../base/base.gyp:base', 'cert_verify_result_android_java', 'certificate_mime_types_java', 'net_errors_java', 'private_key_types_java'], 'includes': ['../build/java.gypi']}, {'target_name': 'net_java_test_support', 'type': 'none', 'variables': {'java_in_dir': '../net/test/android/javatests'}, 'includes': ['../build/java.gypi']}, {'target_name': 'net_javatests', 'type': 'none', 'variables': {'java_in_dir': '../net/android/javatests'}, 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_java_test_support', 'net_java'], 'includes': ['../build/java.gypi']}, {'target_name': 'net_errors_java', 'type': 'none', 'sources': ['android/java/NetError.template'], 'variables': {'package_name': 'org/chromium/net', 'template_deps': ['base/net_error_list.h']}, 'includes': ['../build/android/java_cpp_template.gypi']}, {'target_name': 'certificate_mime_types_java', 'type': 'none', 'sources': ['android/java/CertificateMimeType.template'], 'variables': {'package_name': 'org/chromium/net', 'template_deps': ['base/mime_util_certificate_type_list.h']}, 'includes': ['../build/android/java_cpp_template.gypi']}, {'target_name': 'cert_verify_result_android_java', 'type': 'none', 'sources': ['android/java/CertVerifyResultAndroid.template'], 'variables': {'package_name': 'org/chromium/net', 'template_deps': ['android/cert_verify_result_android_list.h']}, 'includes': ['../build/android/java_cpp_template.gypi']}, {'target_name': 'private_key_types_java', 'type': 'none', 'sources': ['android/java/PrivateKeyType.template'], 'variables': {'package_name': 'org/chromium/net', 'template_deps': ['android/private_key_type_list.h']}, 'includes': ['../build/android/java_cpp_template.gypi']}]}], ['OS == "android" and gtest_target_type == "shared_library"', {'targets': [{'target_name': 'net_unittests_apk', 'type': 'none', 'dependencies': ['net_java', 'net_javatests', 'net_unittests'], 'variables': {'test_suite_name': 'net_unittests', 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)'}, 'includes': ['../build/apk_test.gypi']}]}], ['test_isolation_mode != "noop"', {'targets': [{'target_name': 'net_unittests_run', 'type': 'none', 'dependencies': ['net_unittests'], 'includes': ['net_unittests.isolate'], 'actions': [{'action_name': 'isolate', 'inputs': ['net_unittests.isolate', '<@(isolate_dependency_tracked)'], 'outputs': ['<(PRODUCT_DIR)/net_unittests.isolated'], 'action': ['python', '../tools/swarm_client/isolate.py', '<(test_isolation_mode)', '--outdir', '<(test_isolation_outdir)', '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', '--variable', 'OS', '<(OS)', '--result', '<@(_outputs)', '--isolate', 'net_unittests.isolate']}]}]}]]} |
#Author Theodosis Paidakis
print("Hello World")
hello_list = ["Hello World"]
print(hello_list[0])
for i in hello_list:
print(i) | print('Hello World')
hello_list = ['Hello World']
print(hello_list[0])
for i in hello_list:
print(i) |
print('Digite seu nome completo: ')
nome = input().strip().upper()
print('Seu nome tem "Silva"?')
print('SILVA' in nome)
| print('Digite seu nome completo: ')
nome = input().strip().upper()
print('Seu nome tem "Silva"?')
print('SILVA' in nome) |
dataset_type = 'STVQADATASET'
data_root = '/home/datasets/mix_data/iMIX/'
feature_path = 'data/datasets/stvqa/defaults/features/'
ocr_feature_path = 'data/datasets/stvqa/defaults/ocr_features/'
annotation_path = 'data/datasets/stvqa/defaults/annotations/'
vocab_path = 'data/datasets/stvqa/defaults/extras/vocabs/'
train_datasets = ['train']
test_datasets = ['val']
reader_train_cfg = dict(
type='STVQAREADER',
card='default',
mix_features=dict(
train=data_root + feature_path + 'detectron.lmdb',
val=data_root + feature_path + 'detectron.lmdb',
test=data_root + feature_path + 'detectron.lmdb',
),
mix_ocr_features=dict(
train=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
val=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
test=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
),
mix_annotations=dict(
train=data_root + annotation_path + 'imdb_subtrain.npy',
val=data_root + annotation_path + 'imdb_subval.npy',
test=data_root + annotation_path + 'imdb_test_task3.npy',
),
datasets=train_datasets)
reader_test_cfg = dict(
type='STVQAREADER',
card='default',
mix_features=dict(
train=data_root + feature_path + 'detectron.lmdb',
val=data_root + feature_path + 'detectron.lmdb',
test=data_root + feature_path + 'detectron.lmdb',
),
mix_ocr_features=dict(
train=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
val=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
test=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb',
),
mix_annotations=dict(
train=data_root + annotation_path + 'imdb_subtrain.npy',
val=data_root + annotation_path + 'imdb_subval.npy',
test=data_root + annotation_path + 'imdb_test_task3.npy',
),
datasets=train_datasets)
info_cpler_cfg = dict(
type='STVQAInfoCpler',
glove_weights=dict(
glove6b50d=data_root + 'glove/glove.6B.50d.txt.pt',
glove6b100d=data_root + 'glove/glove.6B.100d.txt.pt',
glove6b200d=data_root + 'glove/glove.6B.200d.txt.pt',
glove6b300d=data_root + 'glove/glove.6B.300d.txt.pt',
),
fasttext_weights=dict(
wiki300d1m=data_root + 'fasttext/wiki-news-300d-1M.vec',
wiki300d1msub=data_root + 'fasttext/wiki-news-300d-1M-subword.vec',
wiki_bin=data_root + 'fasttext/wiki.en.bin',
),
tokenizer='/home/datasets/VQA/bert/' + 'bert-base-uncased-vocab.txt',
mix_vocab=dict(
answers_st_5k=data_root + vocab_path + 'fixed_answer_vocab_stvqa_5k.txt',
vocabulary_100k=data_root + vocab_path + 'vocabulary_100k.txt',
),
max_seg_lenth=20,
max_ocr_lenth=10,
word_mask_ratio=0.0,
vocab_name='vocabulary_100k',
vocab_answer_name='answers_st_5k',
glove_name='glove6b300d',
fasttext_name='wiki_bin',
if_bert=True,
)
train_data = dict(
samples_per_gpu=16,
workers_per_gpu=1,
data=dict(type=dataset_type, reader=reader_train_cfg, info_cpler=info_cpler_cfg, limit_nums=800))
test_data = dict(
samples_per_gpu=16,
workers_per_gpu=1,
data=dict(type=dataset_type, reader=reader_test_cfg, info_cpler=info_cpler_cfg),
)
| dataset_type = 'STVQADATASET'
data_root = '/home/datasets/mix_data/iMIX/'
feature_path = 'data/datasets/stvqa/defaults/features/'
ocr_feature_path = 'data/datasets/stvqa/defaults/ocr_features/'
annotation_path = 'data/datasets/stvqa/defaults/annotations/'
vocab_path = 'data/datasets/stvqa/defaults/extras/vocabs/'
train_datasets = ['train']
test_datasets = ['val']
reader_train_cfg = dict(type='STVQAREADER', card='default', mix_features=dict(train=data_root + feature_path + 'detectron.lmdb', val=data_root + feature_path + 'detectron.lmdb', test=data_root + feature_path + 'detectron.lmdb'), mix_ocr_features=dict(train=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb', val=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb', test=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb'), mix_annotations=dict(train=data_root + annotation_path + 'imdb_subtrain.npy', val=data_root + annotation_path + 'imdb_subval.npy', test=data_root + annotation_path + 'imdb_test_task3.npy'), datasets=train_datasets)
reader_test_cfg = dict(type='STVQAREADER', card='default', mix_features=dict(train=data_root + feature_path + 'detectron.lmdb', val=data_root + feature_path + 'detectron.lmdb', test=data_root + feature_path + 'detectron.lmdb'), mix_ocr_features=dict(train=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb', val=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb', test=data_root + ocr_feature_path + 'ocr_en_frcn_features.lmdb'), mix_annotations=dict(train=data_root + annotation_path + 'imdb_subtrain.npy', val=data_root + annotation_path + 'imdb_subval.npy', test=data_root + annotation_path + 'imdb_test_task3.npy'), datasets=train_datasets)
info_cpler_cfg = dict(type='STVQAInfoCpler', glove_weights=dict(glove6b50d=data_root + 'glove/glove.6B.50d.txt.pt', glove6b100d=data_root + 'glove/glove.6B.100d.txt.pt', glove6b200d=data_root + 'glove/glove.6B.200d.txt.pt', glove6b300d=data_root + 'glove/glove.6B.300d.txt.pt'), fasttext_weights=dict(wiki300d1m=data_root + 'fasttext/wiki-news-300d-1M.vec', wiki300d1msub=data_root + 'fasttext/wiki-news-300d-1M-subword.vec', wiki_bin=data_root + 'fasttext/wiki.en.bin'), tokenizer='/home/datasets/VQA/bert/' + 'bert-base-uncased-vocab.txt', mix_vocab=dict(answers_st_5k=data_root + vocab_path + 'fixed_answer_vocab_stvqa_5k.txt', vocabulary_100k=data_root + vocab_path + 'vocabulary_100k.txt'), max_seg_lenth=20, max_ocr_lenth=10, word_mask_ratio=0.0, vocab_name='vocabulary_100k', vocab_answer_name='answers_st_5k', glove_name='glove6b300d', fasttext_name='wiki_bin', if_bert=True)
train_data = dict(samples_per_gpu=16, workers_per_gpu=1, data=dict(type=dataset_type, reader=reader_train_cfg, info_cpler=info_cpler_cfg, limit_nums=800))
test_data = dict(samples_per_gpu=16, workers_per_gpu=1, data=dict(type=dataset_type, reader=reader_test_cfg, info_cpler=info_cpler_cfg)) |
#-------------------------------------------------------------------------------
# Name: module1
# Purpose:
#
# Author: I am
#
# Created: 02/11/2017
# Copyright: (c) I am 2017
# Licence: <your licence>
#-------------------------------------------------------------------------------
def main():
pass
if __name__ == '__main__':
main()
| def main():
pass
if __name__ == '__main__':
main() |
matrix = [list(map(int, input().split())) for _ in range(6)]
max_sum = None
for i in range(4):
for j in range(4):
s = sum(matrix[i][j:j+3]) + matrix[i+1][j+1] + sum(matrix[i+2][j:j+3])
if max_sum is None or s > max_sum:
max_sum = s
print(max_sum)
| matrix = [list(map(int, input().split())) for _ in range(6)]
max_sum = None
for i in range(4):
for j in range(4):
s = sum(matrix[i][j:j + 3]) + matrix[i + 1][j + 1] + sum(matrix[i + 2][j:j + 3])
if max_sum is None or s > max_sum:
max_sum = s
print(max_sum) |
pessoas = {'nomes': "Rafael","sexo":"macho alfa","idade":19}
print(f"o {pessoas['nomes']} que se considera um {pessoas['sexo']} possui {pessoas['idade']}")
print(pessoas.keys())
print(pessoas.values())
print(pessoas.items())
for c in pessoas.keys():
print(c)
for c in pessoas.values():
print(c)
for c, j in pessoas.items():
print(f"o {c} pertence ao {j}")
del pessoas['sexo']
print(pessoas)
pessoas["sexo"] = "macho alfa"
print(pessoas)
print("outro codida daqui pra frente \n\n\n\n\n\n")
estado1 = {'estado': 'minas gerais', 'cidade':'capela nova' }
estado2 = {'estado':'rio de janeiro', 'cidade':"rossinha"}
brasil = []
brasil.append(estado1)
brasil.append(estado2)
print(brasil)
print(f"o brasil possui um estado chamado {brasil[0]['estado']} e a prorpia possui uma cidade chamada {brasil[0]['cidade']}")
print("-"*45)
es = {}
br = []
for c in range(0,3):
es['estado'] = str(input("informe o seu estado:"))
es['cidade'] = str(input("informe a sua cidade:"))
br.append(es.copy())
for c in br:
for i,j in c.items():
print(f"o campo {i} tem valor {j}")
| pessoas = {'nomes': 'Rafael', 'sexo': 'macho alfa', 'idade': 19}
print(f"o {pessoas['nomes']} que se considera um {pessoas['sexo']} possui {pessoas['idade']}")
print(pessoas.keys())
print(pessoas.values())
print(pessoas.items())
for c in pessoas.keys():
print(c)
for c in pessoas.values():
print(c)
for (c, j) in pessoas.items():
print(f'o {c} pertence ao {j}')
del pessoas['sexo']
print(pessoas)
pessoas['sexo'] = 'macho alfa'
print(pessoas)
print('outro codida daqui pra frente \n\n\n\n\n\n')
estado1 = {'estado': 'minas gerais', 'cidade': 'capela nova'}
estado2 = {'estado': 'rio de janeiro', 'cidade': 'rossinha'}
brasil = []
brasil.append(estado1)
brasil.append(estado2)
print(brasil)
print(f"o brasil possui um estado chamado {brasil[0]['estado']} e a prorpia possui uma cidade chamada {brasil[0]['cidade']}")
print('-' * 45)
es = {}
br = []
for c in range(0, 3):
es['estado'] = str(input('informe o seu estado:'))
es['cidade'] = str(input('informe a sua cidade:'))
br.append(es.copy())
for c in br:
for (i, j) in c.items():
print(f'o campo {i} tem valor {j}') |
config = {
"Luminosity": 1000,
"InputDirectory": "results",
"Histograms" : {
"WtMass" : {},
"etmiss" : {},
"lep_n" : {},
"lep_pt" : {},
"lep_eta" : {},
"lep_E" : {},
"lep_phi" : {"y_margin" : 0.6},
"lep_charge" : {"y_margin" : 0.6},
"lep_type" : {"y_margin" : 0.5},
"lep_ptconerel30" : {},
"lep_etconerel20" : {},
"lep_d0" : {},
"lep_z0" : {},
"n_jets" : {},
"jet_pt" : {},
"jet_m" : {},
"jet_jvf" : {"y_margin" : 0.4},
"jet_eta" : {},
"jet_MV1" : {"y_margin" : 0.3},
"vxp_z" : {},
"pvxp_n" : {},
},
"Paintables": {
"Stack": {
"Order" : ["Diboson", "DrellYan", "W", "Z", "stop", "ttbar"],
"Processes" : {
"Diboson" : {
"Color" : "#fa7921",
"Contributions" : ["WW", "WZ", "ZZ"]},
"DrellYan": {
"Color" : "#5bc0eb",
"Contributions" : ["DYeeM08to15", "DYeeM15to40", "DYmumuM08to15", "DYmumuM15to40", "DYtautauM08to15", "DYtautauM15to40"]},
"W": {
"Color" : "#e55934",
"Contributions" : ["WenuJetsBVeto", "WenuWithB", "WenuNoJetsBVeto", "WmunuJetsBVeto", "WmunuWithB", "WmunuNoJetsBVeto", "WtaunuJetsBVeto", "WtaunuWithB", "WtaunuNoJetsBVeto"]},
"Z": {
"Color" : "#086788",
"Contributions" : ["Zee", "Zmumu", "Ztautau"]},
"stop": {
"Color" : "#fde74c",
"Contributions" : ["stop_tchan_top", "stop_tchan_antitop", "stop_schan", "stop_wtchan"]},
"ttbar": {
"Color" : "#9bc53d",
"Contributions" : ["ttbar_lep", "ttbar_had"]}
}
},
"data" : {
"Contributions": ["data_Egamma", "data_Muons"]}
},
"Depictions": {
"Order": ["Main", "Data/MC"],
"Definitions" : {
"Data/MC": {
"type" : "Agreement",
"Paintables" : ["data", "Stack"]
},
"Main": {
"type" : "Main",
"Paintables": ["Stack", "data"]
},
}
},
}
| config = {'Luminosity': 1000, 'InputDirectory': 'results', 'Histograms': {'WtMass': {}, 'etmiss': {}, 'lep_n': {}, 'lep_pt': {}, 'lep_eta': {}, 'lep_E': {}, 'lep_phi': {'y_margin': 0.6}, 'lep_charge': {'y_margin': 0.6}, 'lep_type': {'y_margin': 0.5}, 'lep_ptconerel30': {}, 'lep_etconerel20': {}, 'lep_d0': {}, 'lep_z0': {}, 'n_jets': {}, 'jet_pt': {}, 'jet_m': {}, 'jet_jvf': {'y_margin': 0.4}, 'jet_eta': {}, 'jet_MV1': {'y_margin': 0.3}, 'vxp_z': {}, 'pvxp_n': {}}, 'Paintables': {'Stack': {'Order': ['Diboson', 'DrellYan', 'W', 'Z', 'stop', 'ttbar'], 'Processes': {'Diboson': {'Color': '#fa7921', 'Contributions': ['WW', 'WZ', 'ZZ']}, 'DrellYan': {'Color': '#5bc0eb', 'Contributions': ['DYeeM08to15', 'DYeeM15to40', 'DYmumuM08to15', 'DYmumuM15to40', 'DYtautauM08to15', 'DYtautauM15to40']}, 'W': {'Color': '#e55934', 'Contributions': ['WenuJetsBVeto', 'WenuWithB', 'WenuNoJetsBVeto', 'WmunuJetsBVeto', 'WmunuWithB', 'WmunuNoJetsBVeto', 'WtaunuJetsBVeto', 'WtaunuWithB', 'WtaunuNoJetsBVeto']}, 'Z': {'Color': '#086788', 'Contributions': ['Zee', 'Zmumu', 'Ztautau']}, 'stop': {'Color': '#fde74c', 'Contributions': ['stop_tchan_top', 'stop_tchan_antitop', 'stop_schan', 'stop_wtchan']}, 'ttbar': {'Color': '#9bc53d', 'Contributions': ['ttbar_lep', 'ttbar_had']}}}, 'data': {'Contributions': ['data_Egamma', 'data_Muons']}}, 'Depictions': {'Order': ['Main', 'Data/MC'], 'Definitions': {'Data/MC': {'type': 'Agreement', 'Paintables': ['data', 'Stack']}, 'Main': {'type': 'Main', 'Paintables': ['Stack', 'data']}}}} |
# Desempacotamento de parametros em funcoes
# somando valores de uma tupla
def soma(*num):
soma = 0
print('Tupla: {}' .format(num))
for i in num:
soma += i
return soma
# Programa principal
print('Resultado: {}\n' .format(soma(1, 2)))
print('Resultado: {}\n' .format(soma(1, 2, 3, 4, 5, 6, 7, 8, 9)))
| def soma(*num):
soma = 0
print('Tupla: {}'.format(num))
for i in num:
soma += i
return soma
print('Resultado: {}\n'.format(soma(1, 2)))
print('Resultado: {}\n'.format(soma(1, 2, 3, 4, 5, 6, 7, 8, 9))) |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def swapNodes(self, head: Optional[ListNode], k: int) -> Optional[ListNode]:
temp = head
array = []
while temp:
array.append(temp.val)
temp = temp.next
array[k - 1], array[len(array) - k] = array[len(array) - k], array[k - 1]
head = ListNode(0)
dummy = head
for num in array:
dummy.next = ListNode(num)
dummy = dummy.next
return head.next
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def swapNodes(self, head: Optional[ListNode], k: int) -> Optional[ListNode]:
if head is None or head.next is None:
return head
slow = fast = cnt = head
counter = 0
while cnt:
counter += 1
cnt = cnt.next
for _ in range(k - 1):
slow = slow.next
for _ in range(counter - k):
fast = fast.next
slow.val, fast.val = fast.val, slow.val
return head
| class Solution:
def swap_nodes(self, head: Optional[ListNode], k: int) -> Optional[ListNode]:
temp = head
array = []
while temp:
array.append(temp.val)
temp = temp.next
(array[k - 1], array[len(array) - k]) = (array[len(array) - k], array[k - 1])
head = list_node(0)
dummy = head
for num in array:
dummy.next = list_node(num)
dummy = dummy.next
return head.next
class Solution:
def swap_nodes(self, head: Optional[ListNode], k: int) -> Optional[ListNode]:
if head is None or head.next is None:
return head
slow = fast = cnt = head
counter = 0
while cnt:
counter += 1
cnt = cnt.next
for _ in range(k - 1):
slow = slow.next
for _ in range(counter - k):
fast = fast.next
(slow.val, fast.val) = (fast.val, slow.val)
return head |
DATABASE_OPTIONS = {
'database': 'klazor',
'user': 'root',
'password': '',
'charset': 'utf8mb4',
}
HOSTS = ['127.0.0.1', '67.209.115.211']
| database_options = {'database': 'klazor', 'user': 'root', 'password': '', 'charset': 'utf8mb4'}
hosts = ['127.0.0.1', '67.209.115.211'] |
def HAHA():
return 1,2,3
a = HAHA()
print(a)
print(a[0])
| def haha():
return (1, 2, 3)
a = haha()
print(a)
print(a[0]) |
ser = int(input())
mas = list(map(int, input().split()))
mas.sort()
print(*mas)
| ser = int(input())
mas = list(map(int, input().split()))
mas.sort()
print(*mas) |
backgroundurl = "https://storage.needpix.com/rsynced_images/colored-background.jpg" # <- Need to be a Image URL!!!
lang = "en" # <- language code
displayset = True # <- Display the Set of the Item
raritytext = True # <- Display the Rarity of the Item
typeconfig = {
"BannerToken": True,
"AthenaBackpack": True,
"AthenaPetCarrier": True,
"AthenaPet": True,
"AthenaPickaxe": True,
"AthenaCharacter": True,
"AthenaSkyDiveContrail": True,
"AthenaGlider": True,
"AthenaDance": True,
"AthenaEmoji": True,
"AthenaLoadingScreen": True,
"AthenaMusicPack": True,
"AthenaSpray": True,
"AthenaToy": True,
"AthenaBattleBus": True,
"AthenaItemWrap": True
}
interval = 5 # <- Time (in seconds) until the bot checks for leaks again | Recommend: 7
watermark = "" # <- Leave it empty if you dont want one
watermarksize = 25 # <- Size of the Watermark
| backgroundurl = 'https://storage.needpix.com/rsynced_images/colored-background.jpg'
lang = 'en'
displayset = True
raritytext = True
typeconfig = {'BannerToken': True, 'AthenaBackpack': True, 'AthenaPetCarrier': True, 'AthenaPet': True, 'AthenaPickaxe': True, 'AthenaCharacter': True, 'AthenaSkyDiveContrail': True, 'AthenaGlider': True, 'AthenaDance': True, 'AthenaEmoji': True, 'AthenaLoadingScreen': True, 'AthenaMusicPack': True, 'AthenaSpray': True, 'AthenaToy': True, 'AthenaBattleBus': True, 'AthenaItemWrap': True}
interval = 5
watermark = ''
watermarksize = 25 |
def cube(number):
return number*number*number
digit = input(" the cube of which digit do you want >")
result = cube(int(digit))
print(result)
| def cube(number):
return number * number * number
digit = input(' the cube of which digit do you want >')
result = cube(int(digit))
print(result) |
def main(request, response):
headers = [("Content-type", "text/html;charset=shift-jis")]
# Shift-JIS bytes for katakana TE SU TO ('test')
content = chr(0x83) + chr(0x65) + chr(0x83) + chr(0x58) + chr(0x83) + chr(0x67);
return headers, content
| def main(request, response):
headers = [('Content-type', 'text/html;charset=shift-jis')]
content = chr(131) + chr(101) + chr(131) + chr(88) + chr(131) + chr(103)
return (headers, content) |
# Vicfred
# https://atcoder.jp/contests/abc132/tasks/abc132_a
# implementation
S = list(input())
if len(set(S)) == 2:
if S.count(S[0]) == 2:
print("Yes")
quit()
print("No")
| s = list(input())
if len(set(S)) == 2:
if S.count(S[0]) == 2:
print('Yes')
quit()
print('No') |
for _ in range(int(input())):
x, y = list(map(int, input().split()))
flag = 1
for i in range(x, y + 1):
n = i * i + i + 41
for j in range(2, n):
if j * j > n:
break
if n % j == 0:
flag = 0
break
if flag == 0:
break
if flag:
print("OK")
else:
print("Sorry") | for _ in range(int(input())):
(x, y) = list(map(int, input().split()))
flag = 1
for i in range(x, y + 1):
n = i * i + i + 41
for j in range(2, n):
if j * j > n:
break
if n % j == 0:
flag = 0
break
if flag == 0:
break
if flag:
print('OK')
else:
print('Sorry') |
{
'targets': [
{
'target_name': 'hiredis',
'sources': [
'src/hiredis.cc'
, 'src/reader.cc'
],
'include_dirs': ["<!(node -e \"require('nan')\")"],
'dependencies': [
'deps/hiredis.gyp:hiredis-c'
],
'defines': [
'_GNU_SOURCE'
],
'cflags': [
'-Wall',
'-O3'
]
}
]
}
| {'targets': [{'target_name': 'hiredis', 'sources': ['src/hiredis.cc', 'src/reader.cc'], 'include_dirs': ['<!(node -e "require(\'nan\')")'], 'dependencies': ['deps/hiredis.gyp:hiredis-c'], 'defines': ['_GNU_SOURCE'], 'cflags': ['-Wall', '-O3']}]} |
# mako/__init__.py
# Copyright (C) 2006-2016 the Mako authors and contributors <see AUTHORS file>
#
# This module is part of Mako and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
__version__ = '1.0.9'
| __version__ = '1.0.9' |
def pick_food(name):
if name == "chima":
return "chicken"
else:
return "dry food"
| def pick_food(name):
if name == 'chima':
return 'chicken'
else:
return 'dry food' |
# Creating a elif chain
alien_color = 'red'
if alien_color == 'green':
print('Congratulations! You won 5 points!')
elif alien_color == 'yellow':
print('Congratulations! You won 10 points!')
elif alien_color == 'red':
print('Congratulations! You won 15 points!')
| alien_color = 'red'
if alien_color == 'green':
print('Congratulations! You won 5 points!')
elif alien_color == 'yellow':
print('Congratulations! You won 10 points!')
elif alien_color == 'red':
print('Congratulations! You won 15 points!') |
# https://www.codechef.com/START8C/problems/PENALTY
for T in range(int(input())):
n=list(map(int,input().split()))
a=b=0
for i in range(len(n)):
if(n[i]==1):
if(i%2==0): a+=1
else: b+=1
if(a>b): print(1)
elif(b>a): print(2)
else: print(0) | for t in range(int(input())):
n = list(map(int, input().split()))
a = b = 0
for i in range(len(n)):
if n[i] == 1:
if i % 2 == 0:
a += 1
else:
b += 1
if a > b:
print(1)
elif b > a:
print(2)
else:
print(0) |
MATH_BYTECODE = (
"606060405261022e806100126000396000f360606040523615610074576000357c01000000000000"
"000000000000000000000000000000000000000000009004806316216f391461007657806361bc22"
"1a146100995780637cf5dab0146100bc578063a5f3c23b146100e8578063d09de08a1461011d5780"
"63dcf537b11461014057610074565b005b610083600480505061016c565b60405180828152602001"
"91505060405180910390f35b6100a6600480505061017f565b604051808281526020019150506040"
"5180910390f35b6100d26004808035906020019091905050610188565b6040518082815260200191"
"505060405180910390f35b61010760048080359060200190919080359060200190919050506101ea"
"565b6040518082815260200191505060405180910390f35b61012a6004805050610201565b604051"
"8082815260200191505060405180910390f35b610156600480803590602001909190505061021756"
"5b6040518082815260200191505060405180910390f35b6000600d9050805080905061017c565b90"
"565b60006000505481565b6000816000600082828250540192505081905550600060005054905080"
"507f3496c3ede4ec3ab3686712aa1c238593ea6a42df83f98a5ec7df9834cfa577c5816040518082"
"815260200191505060405180910390a18090506101e5565b919050565b6000818301905080508090"
"506101fb565b92915050565b600061020d6001610188565b9050610214565b90565b600060078202"
"90508050809050610229565b91905056"
)
MATH_ABI = [
{
"constant": False,
"inputs": [],
"name": "return13",
"outputs": [
{"name": "result", "type": "int256"},
],
"type": "function",
},
{
"constant": True,
"inputs": [],
"name": "counter",
"outputs": [
{"name": "", "type": "uint256"},
],
"type": "function",
},
{
"constant": False,
"inputs": [
{"name": "amt", "type": "uint256"},
],
"name": "increment",
"outputs": [
{"name": "result", "type": "uint256"},
],
"type": "function",
},
{
"constant": False,
"inputs": [
{"name": "a", "type": "int256"},
{"name": "b", "type": "int256"},
],
"name": "add",
"outputs": [
{"name": "result", "type": "int256"},
],
"type": "function",
},
{
"constant": False,
"inputs": [],
"name": "increment",
"outputs": [
{"name": "", "type": "uint256"},
],
"type": "function"
},
{
"constant": False,
"inputs": [
{"name": "a", "type": "int256"},
],
"name": "multiply7",
"outputs": [
{"name": "result", "type": "int256"},
],
"type": "function",
},
{
"anonymous": False,
"inputs": [
{"indexed": False, "name": "value", "type": "uint256"},
],
"name": "Increased",
"type": "event",
},
]
| math_bytecode = '606060405261022e806100126000396000f360606040523615610074576000357c01000000000000000000000000000000000000000000000000000000009004806316216f391461007657806361bc221a146100995780637cf5dab0146100bc578063a5f3c23b146100e8578063d09de08a1461011d578063dcf537b11461014057610074565b005b610083600480505061016c565b6040518082815260200191505060405180910390f35b6100a6600480505061017f565b6040518082815260200191505060405180910390f35b6100d26004808035906020019091905050610188565b6040518082815260200191505060405180910390f35b61010760048080359060200190919080359060200190919050506101ea565b6040518082815260200191505060405180910390f35b61012a6004805050610201565b6040518082815260200191505060405180910390f35b6101566004808035906020019091905050610217565b6040518082815260200191505060405180910390f35b6000600d9050805080905061017c565b90565b60006000505481565b6000816000600082828250540192505081905550600060005054905080507f3496c3ede4ec3ab3686712aa1c238593ea6a42df83f98a5ec7df9834cfa577c5816040518082815260200191505060405180910390a18090506101e5565b919050565b6000818301905080508090506101fb565b92915050565b600061020d6001610188565b9050610214565b90565b60006007820290508050809050610229565b91905056'
math_abi = [{'constant': False, 'inputs': [], 'name': 'return13', 'outputs': [{'name': 'result', 'type': 'int256'}], 'type': 'function'}, {'constant': True, 'inputs': [], 'name': 'counter', 'outputs': [{'name': '', 'type': 'uint256'}], 'type': 'function'}, {'constant': False, 'inputs': [{'name': 'amt', 'type': 'uint256'}], 'name': 'increment', 'outputs': [{'name': 'result', 'type': 'uint256'}], 'type': 'function'}, {'constant': False, 'inputs': [{'name': 'a', 'type': 'int256'}, {'name': 'b', 'type': 'int256'}], 'name': 'add', 'outputs': [{'name': 'result', 'type': 'int256'}], 'type': 'function'}, {'constant': False, 'inputs': [], 'name': 'increment', 'outputs': [{'name': '', 'type': 'uint256'}], 'type': 'function'}, {'constant': False, 'inputs': [{'name': 'a', 'type': 'int256'}], 'name': 'multiply7', 'outputs': [{'name': 'result', 'type': 'int256'}], 'type': 'function'}, {'anonymous': False, 'inputs': [{'indexed': False, 'name': 'value', 'type': 'uint256'}], 'name': 'Increased', 'type': 'event'}] |
def modify(y):
return y # returns same reference. No new object is created
x = [1, 2, 3]
y = modify(x)
print("x == y", x == y)
print("x == y", x is y) | def modify(y):
return y
x = [1, 2, 3]
y = modify(x)
print('x == y', x == y)
print('x == y', x is y) |
# 1. Create students score dictionary.
students_score = {}
# 2. Input student's name and check if input is correct. (Alphabet, period, and blank only.)
# 2.1 Creat a function that evaluate the validity of name.
def check_name(name):
# 2.1.1 Remove period and blank and check it if the name is comprised with only Alphabet.
# 2.1.1.1 Make a list of spelling in the name.
list_of_spelling = list(name)
# 2.1.1.2 Remove period and blank from the list.
while "." in list_of_spelling:
list_of_spelling.remove(".")
while " " in list_of_spelling:
list_of_spelling.remove(" ")
# 2.1.1.3 Convert the list to a string.
list_to_string = ""
list_to_string = list_to_string.join(list_of_spelling)
# 2.1.1.4 Return if the string is Alphabet.
return list_to_string.isalpha()
while True:
# 2.2 Input student's name.
name = input("Please input student's name. \n")
check_name(name)
# 2.3 Check if the name is alphabet. If not, ask to input correct name again.
while check_name(name) != True:
name = input("Please input student's name. (Alphabet and period only.)\n")
# 3. Input student's score and check if input is correct. (digits only and between zero and 100)
score = input(f"Please input {name}'s score.(0 ~ 100)\n")
while score.isdigit() == False or int(score) not in range(0, 101):
score = input("Please input valid numbers only.(Number from zero to 100.)\n")
students_score[name] = score
# 4. Ask another student's information.
another_student = input(
"Do you want to input another student's information as well? (Y/N)\n"
)
while another_student.lower() not in ("yes", "y", "n", "no"):
# 4.1 Check if the input is valid.
another_student = input("Please input Y/N only.\n")
if another_student.lower() in ("yes", "y"):
continue
elif another_student.lower() in ("no", "n"):
break
for student in students_score:
score = students_score[student]
score = int(score)
if score >= 90:
students_score[student] = "A"
elif score in range(70, 90):
students_score[student] = "B"
elif score in range(50, 70):
students_score[student] = "C"
elif score in range(40, 50):
students_score[student] = "D"
else:
students_score[student] = "F"
print(students_score)
| students_score = {}
def check_name(name):
list_of_spelling = list(name)
while '.' in list_of_spelling:
list_of_spelling.remove('.')
while ' ' in list_of_spelling:
list_of_spelling.remove(' ')
list_to_string = ''
list_to_string = list_to_string.join(list_of_spelling)
return list_to_string.isalpha()
while True:
name = input("Please input student's name. \n")
check_name(name)
while check_name(name) != True:
name = input("Please input student's name. (Alphabet and period only.)\n")
score = input(f"Please input {name}'s score.(0 ~ 100)\n")
while score.isdigit() == False or int(score) not in range(0, 101):
score = input('Please input valid numbers only.(Number from zero to 100.)\n')
students_score[name] = score
another_student = input("Do you want to input another student's information as well? (Y/N)\n")
while another_student.lower() not in ('yes', 'y', 'n', 'no'):
another_student = input('Please input Y/N only.\n')
if another_student.lower() in ('yes', 'y'):
continue
elif another_student.lower() in ('no', 'n'):
break
for student in students_score:
score = students_score[student]
score = int(score)
if score >= 90:
students_score[student] = 'A'
elif score in range(70, 90):
students_score[student] = 'B'
elif score in range(50, 70):
students_score[student] = 'C'
elif score in range(40, 50):
students_score[student] = 'D'
else:
students_score[student] = 'F'
print(students_score) |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
ee = '\033[1m'
green = '\033[32m'
yellow = '\033[33m'
cyan = '\033[36m'
line = cyan+'-' * 0x2D
print(ee+line)
R,G,B = [float(X) / 0xFF for X in input(f'{yellow}RGB: {green}').split()]
K = 1-max(R,G,B)
C,M,Y = [round(float((1-X-K)/(1-K) * 0x64),1) for X in [R,G,B]]
K = round(K * 0x64,1)
print(f'{yellow}CMYK: {green}{C}%, {M}%, {Y}%, {K}%')
print(line)
| ee = '\x1b[1m'
green = '\x1b[32m'
yellow = '\x1b[33m'
cyan = '\x1b[36m'
line = cyan + '-' * 45
print(ee + line)
(r, g, b) = [float(X) / 255 for x in input(f'{yellow}RGB: {green}').split()]
k = 1 - max(R, G, B)
(c, m, y) = [round(float((1 - X - K) / (1 - K) * 100), 1) for x in [R, G, B]]
k = round(K * 100, 1)
print(f'{yellow}CMYK: {green}{C}%, {M}%, {Y}%, {K}%')
print(line) |
def selection_sort(A): # O(n^2)
n = len(A)
for i in range(n-1): # percorre a lista
min = i
for j in range(i+1, n): # encontra o menor elemento da lista a partir de i + 1
if A[j] < A[min]:
min = j
A[i], A[min] = A[min], A[i] # insere o elemento na posicao correta
return A
# 1 + (n-1)*[3 + X] = 1 + 3*(n-1) + X*(n-1) = 1 + 3*(n-1) + (n^2 + n - 2)/2
# = (1 - 3 - 1) + (3n + n/2) + (n^2/2)
# The complexity is O(n^2) | def selection_sort(A):
n = len(A)
for i in range(n - 1):
min = i
for j in range(i + 1, n):
if A[j] < A[min]:
min = j
(A[i], A[min]) = (A[min], A[i])
return A |
tajniBroj = 51
broj = 2
while tajniBroj != broj:
broj = int(input("Pogodite tajni broj: "))
if tajniBroj == broj:
print("Pogodak!")
elif tajniBroj < broj:
print("Tajni broj je manji od tog broja.")
else:
print("Tajni broj je veci od tog broja.")
print("Kraj programa")
| tajni_broj = 51
broj = 2
while tajniBroj != broj:
broj = int(input('Pogodite tajni broj: '))
if tajniBroj == broj:
print('Pogodak!')
elif tajniBroj < broj:
print('Tajni broj je manji od tog broja.')
else:
print('Tajni broj je veci od tog broja.')
print('Kraj programa') |
class CoinbaseResponse:
bid = 0
ask = 0
product_id = None
def set_bid(self, bid):
self.bid = float(bid)
def get_bid(self):
return self.bid
def set_ask(self, ask):
self.ask = float(ask)
def get_ask(self):
return self.ask
def get_product_id(self):
return self.product_id
def set_product_id(self, product_id):
self.product_id = product_id
| class Coinbaseresponse:
bid = 0
ask = 0
product_id = None
def set_bid(self, bid):
self.bid = float(bid)
def get_bid(self):
return self.bid
def set_ask(self, ask):
self.ask = float(ask)
def get_ask(self):
return self.ask
def get_product_id(self):
return self.product_id
def set_product_id(self, product_id):
self.product_id = product_id |
'''
Problem description:
Given a string, determine whether or not the parentheses are balanced
'''
def balanced_parens(str):
'''
runtime: O(n)
space : O(1)
'''
if str is None:
return True
open_count = 0
for char in str:
if char == '(':
open_count += 1
elif char == ')':
open_count -= 1
if open_count < 0:
return False
return open_count == 0
| """
Problem description:
Given a string, determine whether or not the parentheses are balanced
"""
def balanced_parens(str):
"""
runtime: O(n)
space : O(1)
"""
if str is None:
return True
open_count = 0
for char in str:
if char == '(':
open_count += 1
elif char == ')':
open_count -= 1
if open_count < 0:
return False
return open_count == 0 |
# 13. Join
# it allows to print list a bit better
friends = ['Pythobit','boy','Pythoman']
print(f'My friends are {friends}.') # Output - My friends are ['Pythobit', 'boy', 'Pythoman'].
# So, the Output needs to be a bit clearer.
friends = ['Pythobit','boy','Pythoman']
friend = ', '.join(friends)
print(f'My friends are {friend}') # Output - My friends are Pythobit, boy, Pythoman
# Here (, ) comma n space is used as separator, but you can use anything.
| friends = ['Pythobit', 'boy', 'Pythoman']
print(f'My friends are {friends}.')
friends = ['Pythobit', 'boy', 'Pythoman']
friend = ', '.join(friends)
print(f'My friends are {friend}') |
# settings file for builds.
# if you want to have custom builds, copy this file to "localbuildsettings.py" and make changes there.
# possible fields:
# resourceBaseUrl - optional - the URL base for external resources (all resources embedded in standard IITC)
# distUrlBase - optional - the base URL to use for update checks
# buildMobile - optional - if set, mobile builds are built with 'ant'. requires the Android SDK and appropriate mobile/local.properties file configured
# preBuild - optional - an array of strings to run as commands, via os.system, before building the scripts
# postBuild - optional - an array of string to run as commands, via os.system, after all builds are complete
buildSettings = {
# local: use this build if you're not modifying external resources
# no external resources allowed - they're not needed any more
'randomizax': {
'resourceUrlBase': None,
'distUrlBase': 'https://randomizax.github.io/polygon-label',
},
# local8000: if you need to modify external resources, this build will load them from
# the web server at http://0.0.0.0:8000/dist
# (This shouldn't be required any more - all resources are embedded. but, it remains just in case some new feature
# needs external resources)
'local8000': {
'resourceUrlBase': 'http://0.0.0.0:8000/dist',
'distUrlBase': None,
},
# mobile: default entry that also builds the mobile .apk
# you will need to have the android-sdk installed, and the file mobile/local.properties created as required
'mobile': {
'resourceUrlBase': None,
'distUrlBase': None,
'buildMobile': 'debug',
},
# if you want to publish your own fork of the project, and host it on your own web site
# create a localbuildsettings.py file containing something similar to this
# note: Firefox+Greasemonkey require the distUrlBase to be "https" - they won't check for updates on regular "http" URLs
#'example': {
# 'resourceBaseUrl': 'http://www.example.com/iitc/dist',
# 'distUrlBase': 'https://secure.example.com/iitc/dist',
#},
}
# defaultBuild - the name of the default build to use if none is specified on the build.py command line
# (in here as an example - it only works in localbuildsettings.py)
#defaultBuild = 'local'
| build_settings = {'randomizax': {'resourceUrlBase': None, 'distUrlBase': 'https://randomizax.github.io/polygon-label'}, 'local8000': {'resourceUrlBase': 'http://0.0.0.0:8000/dist', 'distUrlBase': None}, 'mobile': {'resourceUrlBase': None, 'distUrlBase': None, 'buildMobile': 'debug'}} |
class Point3D:
def __init__(self,x,y,z):
self.x = x
self.y = y
self.z = z
'''
Returns the distance between two 3D points
'''
def distance(self, value):
return abs(self.x - value.x) + abs(self.y - value.y) + abs(self.z - value.z)
def __eq__(self, value):
return self.x == value.x and self.y == value.y and self.z == value.z
def __hash__(self):
return hash((self.x,self.y,self.z))
def __repr__(self):
return f'({self.x},{self.y},{self.z})'
def __add__(self,value):
return Point3D(self.x + value.x, self.y + value.y, self.z + value.z) | class Point3D:
def __init__(self, x, y, z):
self.x = x
self.y = y
self.z = z
'\n Returns the distance between two 3D points\n '
def distance(self, value):
return abs(self.x - value.x) + abs(self.y - value.y) + abs(self.z - value.z)
def __eq__(self, value):
return self.x == value.x and self.y == value.y and (self.z == value.z)
def __hash__(self):
return hash((self.x, self.y, self.z))
def __repr__(self):
return f'({self.x},{self.y},{self.z})'
def __add__(self, value):
return point3_d(self.x + value.x, self.y + value.y, self.z + value.z) |
# API keys
# YF_API_KEY = "YRVHVLiFAt3ANYZf00BXr2LHNfZcgKzdWVmsZ9Xi" # yahoo finance api key
TICKER = "TSLA"
INTERVAL = "1m"
PERIOD = "1d"
LOOK_BACK = 30 # hard limit to not reach rate limit of 100 per day | ticker = 'TSLA'
interval = '1m'
period = '1d'
look_back = 30 |
FILE = r'../src/etc-hosts.txt'
hostnames = []
try:
with open(FILE, encoding='utf-8') as file:
content = file.readlines()
except FileNotFoundError:
print('File does not exist')
except PermissionError:
print('Permission denied')
for line in content:
if line.startswith('#'):
continue
if line.isspace():
continue
line = line.strip().split()
ip = line[0]
hosts = line[1:]
for record in hostnames:
if record['ip'] == ip:
record['hostnames'].update(hosts)
break
else:
hostnames.append({
'hostnames': set(hosts),
'protocol': 'IPv4' if '.' in ip else 'IPv6',
'ip': ip,
})
print(hostnames)
| file = '../src/etc-hosts.txt'
hostnames = []
try:
with open(FILE, encoding='utf-8') as file:
content = file.readlines()
except FileNotFoundError:
print('File does not exist')
except PermissionError:
print('Permission denied')
for line in content:
if line.startswith('#'):
continue
if line.isspace():
continue
line = line.strip().split()
ip = line[0]
hosts = line[1:]
for record in hostnames:
if record['ip'] == ip:
record['hostnames'].update(hosts)
break
else:
hostnames.append({'hostnames': set(hosts), 'protocol': 'IPv4' if '.' in ip else 'IPv6', 'ip': ip})
print(hostnames) |
def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
# We only run a small set of tests on Windows for now.
# Override the parent directory's "unsupported" decision until we can handle
# all of its tests.
if root.host_os in ['Windows']:
config.unsupported = False
else:
config.unsupported = True
| def get_root(config):
if not config.parent:
return config
return get_root(config.parent)
root = get_root(config)
if root.host_os in ['Windows']:
config.unsupported = False
else:
config.unsupported = True |
FACTS = ['espoem multiplied by zero still equals espoem.',
'There is no theory of evolution. Just a list of creatures espoem has allowed to live.',
'espoem does not sleep. He waits.',
'Alexander Graham Bell had three missed calls from espoem when he invented the telephone.',
'espoem is the reason why Waldo is hiding.',
'espoem can slam a revolving door.',
"espoem isn't lifting himself up when doing a pushup; he's pushing the earth down.",
"espoem' hand is the only hand that can beat a Royal Flush.",
'espoem made a Happy Meal cry.',
"espoem doesn't need Twitter; he's already following you.",
'espoem once won an underwater breathing contest with a fish.While urinating, espoem is easily capable of welding titanium.',
'In an act of great philanthropy, espoem made a generous donation to the American Cancer Society. He donated 6,000 dead bodies for scientific research.',
'espoem once one a game of connect four in 3 moves.',
"Google won't search for espoem because it knows you don't find espoem, he finds you.",
'espoem? favourite cut of meat is the roundhouse.',
'It is scientifically impossible for espoem to have had a mortal father. The most popular theory is that he went back in time and fathered himself.',
'espoem had to stop washing his clothes in the ocean. The tsunamis were killing people.',
'Pluto is actually an orbiting group of British soldiers from the American Revolution who entered space after the espoem gave them a roundhouse kick to the face.',
'In the Words of Julius Caesar, Veni, Vidi, Vici, espoem. Translation: I came, I saw, and I was roundhouse-kicked inthe face by espoem.',
"espoem doesn't look both ways before he crosses the street... he just roundhouses any cars that get too close.",
'Human cloning is outlawed because of espoem, because then it would be possible for a espoem roundhouse kick to meet another espoem roundhouse kick. Physicists theorize that this contact would end the universe.',
'Using his trademark roundhouse kick, espoem once made a fieldgoal in RJ Stadium in Tampa Bay from the 50 yard line of Qualcomm stadium in San Diego.',
'espoem played Russian Roulette with a fully loaded gun and won.',
"espoem roundhouse kicks don't really kill people. They wipe out their entire existence from the space-time continuum.",
"espoem' testicles do not produce sperm. They produce tiny white ninjas that recognize only one mission: seek and destroy.",
'MacGyver immediately tried to make a bomb out of some Q-Tips and Gatorade, but espoem roundhouse-kicked him in the solar plexus. MacGyver promptly threw up his own heart.',
'Not everyone that espoem is mad at gets killed. Some get away. They are called astronauts.',
'espoem can drink an entire gallon of milk in thirty-seven seconds.',
'If you spell espoem in Scrabble, you win. Forever.',
"When you say no one's perfect, espoem takes this as a personal insult.",
"espoem invented Kentucky Fried Chicken's famous secret recipe with eleven herbs and spices. Nobody ever mentions the twelfth ingredient: Fear.",
'espoem can skeletize a cow in two minutes.',
'espoem eats lightning and shits out thunder.',
'In a fight between Batman and Darth Vader, the winner would be espoem.',
"The phrase 'dead ringer' refers to someone who sits behind espoem in a movie theater and forgets to turn their cell phone off.",
"It is said that looking into espoem' eyes will reveal your future. Unfortunately, everybody's future is always the same: death by a roundhouse-kick to the face.",
"espoem's log statements are always at the FATAL level.",
'espoem can win in a game of Russian roulette with a fully loaded gun.',
'Nothing can escape the gravity of a black hole, except for espoem. espoem eats black holes. They taste like chicken.',
'There is no theory of evolution, just a list of creatures espoem allows to live.',
'A study showed the leading causes of death in the United States are: 1. Heart disease, 2. espoem, 3. Cancer',
'Everybody loves Raymond. Except espoem.',
'Noah was the only man notified before espoem relieved himself in the Atlantic Ocean.',
'In a tagteam match, espoem was teamed with Hulk Hogan against King Kong Bundy and Andre The Giant. He pinned all 3 at the same time.',
"Nobody doesn't like Sara Lee. Except espoem.",
"espoem never has to wax his skis because they're always slick with blood.",
'espoem ordered a Big Mac at Burger King, and got one.',
'espoem owns a chain of fast-food restaurants throughout the southwest. They serve nothing but barbecue-flavored ice cream and Hot Pockets.',
"espoem's database has only one table, 'Kick', which he DROPs frequently.",
"espoem built a time machine and went back in time to stop the JFK assassination. As Oswald shot, espoem met all three bullets with his beard, deflecting them. JFK's head exploded out of sheer amazement.",
'espoem can write infinite recursion functions, and have them return.',
'When espoem does division, there are no remainders.',
'We live in an expanding universe. All of it is trying to get away from espoem.',
'espoem cannot love, he can only not kill.',
'espoem knows the value of NULL, and he can sort by it too.',
'There is no such thing as global warming. espoem was cold, so he turned the sun up.',
'The best-laid plans of mice and men often go awry. Even the worst-laid plans of espoem come off without a hitch.',
'When espoem goes to donate blood, he declines the syringe, and instead requests a hand gun and a bucket.',
'espoem can solve the Towers of Hanoi in one move.',
'All roads lead to espoem. And by the transitive property, a roundhouse kick to the face.',
'If you were somehow able to land a punch on espoem your entire arm would shatter upon impact. This is only in theory, since, come on, who in their right mind would try this?',
'One time, at band camp, espoem ate a percussionist.',
'Product Owners never argue with espoem after he demonstrates the DropKick feature.',
'espoem can read from an input stream.',
'The original draft of The Lord of the Rings featured espoem instead of Frodo Baggins. It was only 5 pages long, as espoem roundhouse-kicked Sauron?s ass halfway through the first chapter.',
"If, by some incredible space-time paradox, espoem would ever fight himself, he'd win. Period.",
'When taking the SAT, write espoem for every answer. You will score over 8000.',
'When in a bar, you can order a drink called a espoem. It is also known as a Bloody Mary, if your name happens to be Mary.',
'espoem causes the Windows Blue Screen of Death.',
'espoem went out of an infinite loop.',
'When Bruce Banner gets mad, he turns into the Hulk. When the Hulk gets mad, he turns into espoem.',
'espoem insists on strongly-typed programming languages.',
'espoem can blow bubbles with beef jerky.',
"espoem is widely predicted to be first black president. If you're thinking to yourself, But espoem isn't black, then you are dead wrong. And stop being a racist.",
'espoem once went skydiving, but promised never to do it again. One Grand Canyon is enough.',
"Godzilla is a Japanese rendition of espoem's first visit to Tokyo.",
'espoem has the greatest Poker-Face of all time. He won the 1983 World Series of Poker, despite holding only a Joker, a Get out of Jail Free Monopoloy card, a 2 of clubs, 7 of spades and a green #4 card from the game UNO.',
'Teenage Mutant Ninja Turtles is based on a true story: espoem once swallowed a turtle whole, and when he crapped it out, the turtle was six feet tall and had learned karate.',
"If you try to kill -9 espoem's programs, it backfires.",
"espoem' Penis is a third degree blackbelt, and an honorable 32nd-degree mason.",
'In ancient China there is a legend that one day a child will be born from a dragon, grow to be a man, and vanquish evil from the land. That man is not espoem, because espoem killed that man.',
'espoem can dereference NULL.',
'All arrays espoem declares are of infinite size, because espoem knows no bounds.',
'The pen is mighter than the sword, but only if the pen is held by espoem.',
"espoem doesn't step on toes. espoem steps on necks.",
'The truth will set you free. Unless espoem has you, in which case, forget it buddy!',
'Simply by pulling on both ends, espoem can stretch diamonds back into coal.',
'espoem does not style his hair. It lays perfectly in place out of sheer terror.',
'espoem once participated in the running of the bulls. He walked.',
'Never look a gift espoem in the mouth, because he will bite your damn eyes off.',
"If you Google search espoem getting his ass kicked you will generate zero results. It just doesn't happen.",
'espoem can unit test entire applications with a single assert.',
'On his birthday, espoem randomly selects one lucky child to be thrown into the sun.',
"Little known medical fact: espoem invented the Caesarean section when he roundhouse-kicked his way out of his monther's womb.",
"No one has ever spoken during review of espoem' code and lived to tell about it.",
'The First rule of espoem is: you do not talk about espoem.',
'Fool me once, shame on you. Fool espoem once and he will roundhouse kick you in the face.',
"espoem doesn't read books. He stares them down until he gets the information he wants.",
"The phrase 'balls to the wall' was originally conceived to describe espoem entering any building smaller than an aircraft hangar.",
"Someone once tried to tell espoem that roundhouse kicks aren't the best way to kick someone. This has been recorded by historians as the worst mistake anyone has ever made.",
'Along with his black belt, espoem often chooses to wear brown shoes. No one has DARED call him on it. Ever.',
'Whiteboards are white because espoem scared them that way.',
'espoem drives an ice cream truck covered in human skulls.',
"Every time espoem smiles, someone dies. Unless he smiles while he's roundhouse kicking someone in the face. Then two people die."]
| facts = ['espoem multiplied by zero still equals espoem.', 'There is no theory of evolution. Just a list of creatures espoem has allowed to live.', 'espoem does not sleep. He waits.', 'Alexander Graham Bell had three missed calls from espoem when he invented the telephone.', 'espoem is the reason why Waldo is hiding.', 'espoem can slam a revolving door.', "espoem isn't lifting himself up when doing a pushup; he's pushing the earth down.", "espoem' hand is the only hand that can beat a Royal Flush.", 'espoem made a Happy Meal cry.', "espoem doesn't need Twitter; he's already following you.", 'espoem once won an underwater breathing contest with a fish.While urinating, espoem is easily capable of welding titanium.', 'In an act of great philanthropy, espoem made a generous donation to the American Cancer Society. He donated 6,000 dead bodies for scientific research.', 'espoem once one a game of connect four in 3 moves.', "Google won't search for espoem because it knows you don't find espoem, he finds you.", 'espoem? favourite cut of meat is the roundhouse.', 'It is scientifically impossible for espoem to have had a mortal father. The most popular theory is that he went back in time and fathered himself.', 'espoem had to stop washing his clothes in the ocean. The tsunamis were killing people.', 'Pluto is actually an orbiting group of British soldiers from the American Revolution who entered space after the espoem gave them a roundhouse kick to the face.', 'In the Words of Julius Caesar, Veni, Vidi, Vici, espoem. Translation: I came, I saw, and I was roundhouse-kicked inthe face by espoem.', "espoem doesn't look both ways before he crosses the street... he just roundhouses any cars that get too close.", 'Human cloning is outlawed because of espoem, because then it would be possible for a espoem roundhouse kick to meet another espoem roundhouse kick. Physicists theorize that this contact would end the universe.', 'Using his trademark roundhouse kick, espoem once made a fieldgoal in RJ Stadium in Tampa Bay from the 50 yard line of Qualcomm stadium in San Diego.', 'espoem played Russian Roulette with a fully loaded gun and won.', "espoem roundhouse kicks don't really kill people. They wipe out their entire existence from the space-time continuum.", "espoem' testicles do not produce sperm. They produce tiny white ninjas that recognize only one mission: seek and destroy.", 'MacGyver immediately tried to make a bomb out of some Q-Tips and Gatorade, but espoem roundhouse-kicked him in the solar plexus. MacGyver promptly threw up his own heart.', 'Not everyone that espoem is mad at gets killed. Some get away. They are called astronauts.', 'espoem can drink an entire gallon of milk in thirty-seven seconds.', 'If you spell espoem in Scrabble, you win. Forever.', "When you say no one's perfect, espoem takes this as a personal insult.", "espoem invented Kentucky Fried Chicken's famous secret recipe with eleven herbs and spices. Nobody ever mentions the twelfth ingredient: Fear.", 'espoem can skeletize a cow in two minutes.', 'espoem eats lightning and shits out thunder.', 'In a fight between Batman and Darth Vader, the winner would be espoem.', "The phrase 'dead ringer' refers to someone who sits behind espoem in a movie theater and forgets to turn their cell phone off.", "It is said that looking into espoem' eyes will reveal your future. Unfortunately, everybody's future is always the same: death by a roundhouse-kick to the face.", "espoem's log statements are always at the FATAL level.", 'espoem can win in a game of Russian roulette with a fully loaded gun.', 'Nothing can escape the gravity of a black hole, except for espoem. espoem eats black holes. They taste like chicken.', 'There is no theory of evolution, just a list of creatures espoem allows to live.', 'A study showed the leading causes of death in the United States are: 1. Heart disease, 2. espoem, 3. Cancer', 'Everybody loves Raymond. Except espoem.', 'Noah was the only man notified before espoem relieved himself in the Atlantic Ocean.', 'In a tagteam match, espoem was teamed with Hulk Hogan against King Kong Bundy and Andre The Giant. He pinned all 3 at the same time.', "Nobody doesn't like Sara Lee. Except espoem.", "espoem never has to wax his skis because they're always slick with blood.", 'espoem ordered a Big Mac at Burger King, and got one.', 'espoem owns a chain of fast-food restaurants throughout the southwest. They serve nothing but barbecue-flavored ice cream and Hot Pockets.', "espoem's database has only one table, 'Kick', which he DROPs frequently.", "espoem built a time machine and went back in time to stop the JFK assassination. As Oswald shot, espoem met all three bullets with his beard, deflecting them. JFK's head exploded out of sheer amazement.", 'espoem can write infinite recursion functions, and have them return.', 'When espoem does division, there are no remainders.', 'We live in an expanding universe. All of it is trying to get away from espoem.', 'espoem cannot love, he can only not kill.', 'espoem knows the value of NULL, and he can sort by it too.', 'There is no such thing as global warming. espoem was cold, so he turned the sun up.', 'The best-laid plans of mice and men often go awry. Even the worst-laid plans of espoem come off without a hitch.', 'When espoem goes to donate blood, he declines the syringe, and instead requests a hand gun and a bucket.', 'espoem can solve the Towers of Hanoi in one move.', 'All roads lead to espoem. And by the transitive property, a roundhouse kick to the face.', 'If you were somehow able to land a punch on espoem your entire arm would shatter upon impact. This is only in theory, since, come on, who in their right mind would try this?', 'One time, at band camp, espoem ate a percussionist.', 'Product Owners never argue with espoem after he demonstrates the DropKick feature.', 'espoem can read from an input stream.', 'The original draft of The Lord of the Rings featured espoem instead of Frodo Baggins. It was only 5 pages long, as espoem roundhouse-kicked Sauron?s ass halfway through the first chapter.', "If, by some incredible space-time paradox, espoem would ever fight himself, he'd win. Period.", 'When taking the SAT, write espoem for every answer. You will score over 8000.', 'When in a bar, you can order a drink called a espoem. It is also known as a Bloody Mary, if your name happens to be Mary.', 'espoem causes the Windows Blue Screen of Death.', 'espoem went out of an infinite loop.', 'When Bruce Banner gets mad, he turns into the Hulk. When the Hulk gets mad, he turns into espoem.', 'espoem insists on strongly-typed programming languages.', 'espoem can blow bubbles with beef jerky.', "espoem is widely predicted to be first black president. If you're thinking to yourself, But espoem isn't black, then you are dead wrong. And stop being a racist.", 'espoem once went skydiving, but promised never to do it again. One Grand Canyon is enough.', "Godzilla is a Japanese rendition of espoem's first visit to Tokyo.", 'espoem has the greatest Poker-Face of all time. He won the 1983 World Series of Poker, despite holding only a Joker, a Get out of Jail Free Monopoloy card, a 2 of clubs, 7 of spades and a green #4 card from the game UNO.', 'Teenage Mutant Ninja Turtles is based on a true story: espoem once swallowed a turtle whole, and when he crapped it out, the turtle was six feet tall and had learned karate.', "If you try to kill -9 espoem's programs, it backfires.", "espoem' Penis is a third degree blackbelt, and an honorable 32nd-degree mason.", 'In ancient China there is a legend that one day a child will be born from a dragon, grow to be a man, and vanquish evil from the land. That man is not espoem, because espoem killed that man.', 'espoem can dereference NULL.', 'All arrays espoem declares are of infinite size, because espoem knows no bounds.', 'The pen is mighter than the sword, but only if the pen is held by espoem.', "espoem doesn't step on toes. espoem steps on necks.", 'The truth will set you free. Unless espoem has you, in which case, forget it buddy!', 'Simply by pulling on both ends, espoem can stretch diamonds back into coal.', 'espoem does not style his hair. It lays perfectly in place out of sheer terror.', 'espoem once participated in the running of the bulls. He walked.', 'Never look a gift espoem in the mouth, because he will bite your damn eyes off.', "If you Google search espoem getting his ass kicked you will generate zero results. It just doesn't happen.", 'espoem can unit test entire applications with a single assert.', 'On his birthday, espoem randomly selects one lucky child to be thrown into the sun.', "Little known medical fact: espoem invented the Caesarean section when he roundhouse-kicked his way out of his monther's womb.", "No one has ever spoken during review of espoem' code and lived to tell about it.", 'The First rule of espoem is: you do not talk about espoem.', 'Fool me once, shame on you. Fool espoem once and he will roundhouse kick you in the face.', "espoem doesn't read books. He stares them down until he gets the information he wants.", "The phrase 'balls to the wall' was originally conceived to describe espoem entering any building smaller than an aircraft hangar.", "Someone once tried to tell espoem that roundhouse kicks aren't the best way to kick someone. This has been recorded by historians as the worst mistake anyone has ever made.", 'Along with his black belt, espoem often chooses to wear brown shoes. No one has DARED call him on it. Ever.', 'Whiteboards are white because espoem scared them that way.', 'espoem drives an ice cream truck covered in human skulls.', "Every time espoem smiles, someone dies. Unless he smiles while he's roundhouse kicking someone in the face. Then two people die."] |
#
# LeetCode
#
# Problem - 106
# URL - https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
#
# 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 buildTree(self, inorder: List[int], postorder: List[int]) -> TreeNode:
if not inorder:
return None
r = postorder.pop()
root = TreeNode(r)
index = inorder.index(r)
root.right = self.buildTree(inorder[index+1:], postorder)
root.left = self.buildTree(inorder[:index], postorder)
return root
| class Solution:
def build_tree(self, inorder: List[int], postorder: List[int]) -> TreeNode:
if not inorder:
return None
r = postorder.pop()
root = tree_node(r)
index = inorder.index(r)
root.right = self.buildTree(inorder[index + 1:], postorder)
root.left = self.buildTree(inorder[:index], postorder)
return root |
#
# PySNMP MIB module EXTREME-RTSTATS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/EXTREME-BASE-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:53:03 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")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection")
extremeAgent, = mibBuilder.importSymbols("EXTREME-BASE-MIB", "extremeAgent")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Unsigned32, iso, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Bits, MibIdentifier, ModuleIdentity, Counter64, Counter32, NotificationType, Integer32, IpAddress, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "iso", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Bits", "MibIdentifier", "ModuleIdentity", "Counter64", "Counter32", "NotificationType", "Integer32", "IpAddress", "TimeTicks")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
extremeRtStats = ModuleIdentity((1, 3, 6, 1, 4, 1, 1916, 1, 11))
if mibBuilder.loadTexts: extremeRtStats.setLastUpdated('9906240000Z')
if mibBuilder.loadTexts: extremeRtStats.setOrganization('Extreme Networks, Inc.')
extremeRtStatsTable = MibTable((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1), )
if mibBuilder.loadTexts: extremeRtStatsTable.setStatus('current')
extremeRtStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1), ).setIndexNames((0, "EXTREME-RTSTATS-MIB", "extremeRtStatsIndex"))
if mibBuilder.loadTexts: extremeRtStatsEntry.setStatus('current')
extremeRtStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsIndex.setStatus('current')
extremeRtStatsIntervalStart = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 2), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsIntervalStart.setStatus('current')
extremeRtStatsCRCAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsCRCAlignErrors.setStatus('current')
extremeRtStatsUndersizePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsUndersizePkts.setStatus('current')
extremeRtStatsOversizePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsOversizePkts.setStatus('current')
extremeRtStatsFragments = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsFragments.setStatus('current')
extremeRtStatsJabbers = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsJabbers.setStatus('current')
extremeRtStatsCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsCollisions.setStatus('current')
extremeRtStatsTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsTotalErrors.setStatus('current')
extremeRtStatsUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: extremeRtStatsUtilization.setStatus('current')
mibBuilder.exportSymbols("EXTREME-RTSTATS-MIB", extremeRtStatsEntry=extremeRtStatsEntry, extremeRtStatsOversizePkts=extremeRtStatsOversizePkts, extremeRtStatsUndersizePkts=extremeRtStatsUndersizePkts, extremeRtStatsTable=extremeRtStatsTable, extremeRtStatsTotalErrors=extremeRtStatsTotalErrors, extremeRtStats=extremeRtStats, PYSNMP_MODULE_ID=extremeRtStats, extremeRtStatsCollisions=extremeRtStatsCollisions, extremeRtStatsCRCAlignErrors=extremeRtStatsCRCAlignErrors, extremeRtStatsJabbers=extremeRtStatsJabbers, extremeRtStatsIndex=extremeRtStatsIndex, extremeRtStatsUtilization=extremeRtStatsUtilization, extremeRtStatsIntervalStart=extremeRtStatsIntervalStart, extremeRtStatsFragments=extremeRtStatsFragments)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection')
(extreme_agent,) = mibBuilder.importSymbols('EXTREME-BASE-MIB', 'extremeAgent')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(unsigned32, iso, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, bits, mib_identifier, module_identity, counter64, counter32, notification_type, integer32, ip_address, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'iso', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Bits', 'MibIdentifier', 'ModuleIdentity', 'Counter64', 'Counter32', 'NotificationType', 'Integer32', 'IpAddress', 'TimeTicks')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
extreme_rt_stats = module_identity((1, 3, 6, 1, 4, 1, 1916, 1, 11))
if mibBuilder.loadTexts:
extremeRtStats.setLastUpdated('9906240000Z')
if mibBuilder.loadTexts:
extremeRtStats.setOrganization('Extreme Networks, Inc.')
extreme_rt_stats_table = mib_table((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1))
if mibBuilder.loadTexts:
extremeRtStatsTable.setStatus('current')
extreme_rt_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1)).setIndexNames((0, 'EXTREME-RTSTATS-MIB', 'extremeRtStatsIndex'))
if mibBuilder.loadTexts:
extremeRtStatsEntry.setStatus('current')
extreme_rt_stats_index = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsIndex.setStatus('current')
extreme_rt_stats_interval_start = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 2), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsIntervalStart.setStatus('current')
extreme_rt_stats_crc_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsCRCAlignErrors.setStatus('current')
extreme_rt_stats_undersize_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsUndersizePkts.setStatus('current')
extreme_rt_stats_oversize_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsOversizePkts.setStatus('current')
extreme_rt_stats_fragments = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsFragments.setStatus('current')
extreme_rt_stats_jabbers = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsJabbers.setStatus('current')
extreme_rt_stats_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsCollisions.setStatus('current')
extreme_rt_stats_total_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsTotalErrors.setStatus('current')
extreme_rt_stats_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1916, 1, 11, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
extremeRtStatsUtilization.setStatus('current')
mibBuilder.exportSymbols('EXTREME-RTSTATS-MIB', extremeRtStatsEntry=extremeRtStatsEntry, extremeRtStatsOversizePkts=extremeRtStatsOversizePkts, extremeRtStatsUndersizePkts=extremeRtStatsUndersizePkts, extremeRtStatsTable=extremeRtStatsTable, extremeRtStatsTotalErrors=extremeRtStatsTotalErrors, extremeRtStats=extremeRtStats, PYSNMP_MODULE_ID=extremeRtStats, extremeRtStatsCollisions=extremeRtStatsCollisions, extremeRtStatsCRCAlignErrors=extremeRtStatsCRCAlignErrors, extremeRtStatsJabbers=extremeRtStatsJabbers, extremeRtStatsIndex=extremeRtStatsIndex, extremeRtStatsUtilization=extremeRtStatsUtilization, extremeRtStatsIntervalStart=extremeRtStatsIntervalStart, extremeRtStatsFragments=extremeRtStatsFragments) |
# https://www.acmicpc.net/problem/1260
n, m, v = map(int, input().split())
graph = [[0] * (n+1) for _ in range(n+1)]
visit = [False] * (n+1)
for _ in range(m):
R, C = map(int, input().split())
graph[R][C] = 1
graph[C][R] = 1
def dfs(v):
visit[v] = True
print(v, end=" ")
for i in range(1, n+1):
if not visit[i] and graph[v][i]==1:
dfs(i)
def bfs(v):
queue = [v]
visit[v] = False
while queue:
v = queue.pop(0)
print(v, end=" ")
for i in range(1, n+1):
if visit[i] and graph[v][i]==1:
queue.append(i)
visit[i] = False
dfs(v)
print()
bfs(v) | (n, m, v) = map(int, input().split())
graph = [[0] * (n + 1) for _ in range(n + 1)]
visit = [False] * (n + 1)
for _ in range(m):
(r, c) = map(int, input().split())
graph[R][C] = 1
graph[C][R] = 1
def dfs(v):
visit[v] = True
print(v, end=' ')
for i in range(1, n + 1):
if not visit[i] and graph[v][i] == 1:
dfs(i)
def bfs(v):
queue = [v]
visit[v] = False
while queue:
v = queue.pop(0)
print(v, end=' ')
for i in range(1, n + 1):
if visit[i] and graph[v][i] == 1:
queue.append(i)
visit[i] = False
dfs(v)
print()
bfs(v) |
class Solution:
def modifyString(self, s: str) -> str:
s = list(s)
for i in range(len(s)):
if s[i] == "?":
for c in "abc":
if (i == 0 or s[i-1] != c) and (i+1 == len(s) or s[i+1] != c):
s[i] = c
break
return "".join(s)
| class Solution:
def modify_string(self, s: str) -> str:
s = list(s)
for i in range(len(s)):
if s[i] == '?':
for c in 'abc':
if (i == 0 or s[i - 1] != c) and (i + 1 == len(s) or s[i + 1] != c):
s[i] = c
break
return ''.join(s) |
class DynamicObject(object):
def __init__(self, name, id_):
self.name = name
self.id = id_
| class Dynamicobject(object):
def __init__(self, name, id_):
self.name = name
self.id = id_ |
# ----------------------------------------------------------------------------
# CLASSES: nightly
#
# Test Case: protocolo.py
#
# Tests: vistprotocol unit test
#
# Mark C. Miller, Tue Jan 11 10:19:23 PST 2011
# ----------------------------------------------------------------------------
tapp = visit_bin_path("visitprotocol")
res = sexe(tapp,ret_output=True)
if res["return_code"] == 0:
excode = 111
else:
excode = 113
Exit(excode)
| tapp = visit_bin_path('visitprotocol')
res = sexe(tapp, ret_output=True)
if res['return_code'] == 0:
excode = 111
else:
excode = 113
exit(excode) |
# store information about a pizza being ordered
pizza = {
'crust': 'thick',
'toppings': ['mushrooms', 'extra vegan cheese']
}
# summarize the order
print("You ordered a " + pizza['crust'] + "-crust pizza" +
"with the following toppings:")
for topping in pizza['toppings']:
print("\t" + topping) | pizza = {'crust': 'thick', 'toppings': ['mushrooms', 'extra vegan cheese']}
print('You ordered a ' + pizza['crust'] + '-crust pizza' + 'with the following toppings:')
for topping in pizza['toppings']:
print('\t' + topping) |
# Tumblr Setup
# Replace the values with your information
# OAuth keys can be generated from https://api.tumblr.com/console/calls/user/info
consumer_key='ShbOqI5zErQXOL7Qnd5XduXpY9XQUlBgJDpCLeq1OYqnY2KzSt' #replace with your key
consumer_secret='ulZradkbJGksjpl2MMlshAfJgEW6TNeSdZucykqeTp8jvwgnhu' #replace with your secret code
oath_token='uUcBuvJx8yhk4HJIZ39sfcYo0W4VoqcvUetR2EwcI5Sn8SLgNt' #replace with your oath token
oath_secret='iNJlqQJI6dwhAGmdNbMtD9u7VazmX2Rk5uW0fuIozIEjk97lz4' #replace with your oath secret code
tumblr_blog = 'soniaetjeremie' # replace with your tumblr account name without .tumblr.com
tagsForTumblr = "photobooth" # change to tags you want, separated with commas
#Config settings to change behavior of photo booth
monitor_w = 800 # width of the display monitor
monitor_h = 480 # height of the display monitor
file_path = '/home/pi/photobooth/pics/' # path to save images
clear_on_startup = False # True will clear previously stored photos as the program launches. False will leave all previous photos.
debounce = 0.3 # how long to debounce the button. Add more time if the button triggers too many times.
post_online = True # True to upload images. False to store locally only.
capture_count_pics = True # if true, show a photo count between taking photos. If false, do not. False is faster.
make_gifs = True # True to make an animated gif. False to post 4 jpgs into one post.
hi_res_pics = False # True to save high res pics from camera.
# If also uploading, the program will also convert each image to a smaller image before making the gif.
# False to first capture low res pics. False is faster.
# Careful, each photo costs against your daily Tumblr upload max.
camera_iso = 400 # adjust for lighting issues. Normal is 100 or 200. Sort of dark is 400. Dark is 800 max.
# available options: 100, 200, 320, 400, 500, 640, 800 | consumer_key = 'ShbOqI5zErQXOL7Qnd5XduXpY9XQUlBgJDpCLeq1OYqnY2KzSt'
consumer_secret = 'ulZradkbJGksjpl2MMlshAfJgEW6TNeSdZucykqeTp8jvwgnhu'
oath_token = 'uUcBuvJx8yhk4HJIZ39sfcYo0W4VoqcvUetR2EwcI5Sn8SLgNt'
oath_secret = 'iNJlqQJI6dwhAGmdNbMtD9u7VazmX2Rk5uW0fuIozIEjk97lz4'
tumblr_blog = 'soniaetjeremie'
tags_for_tumblr = 'photobooth'
monitor_w = 800
monitor_h = 480
file_path = '/home/pi/photobooth/pics/'
clear_on_startup = False
debounce = 0.3
post_online = True
capture_count_pics = True
make_gifs = True
hi_res_pics = False
camera_iso = 400 |
df8.cbind(df9)
# A B C D A0 B0 C0 D0
# ----- ------ ------ ------ ------ ----- ----- -----
# -0.09 0.944 0.160 0.271 -0.351 1.66 -2.32 -0.86
# -0.95 0.669 0.664 1.535 -0.633 -1.78 0.32 1.27
# 0.17 0.657 0.970 -0.419 -1.413 -0.51 0.64 -1.25
# 0.58 -0.516 -1.598 -1.346 0.711 1.09 0.05 0.63
# 1.04 -0.281 -0.411 0.959 -0.009 -0.47 0.41 -0.52
# 0.49 0.170 0.124 -0.170 -0.722 -0.79 -0.91 -2.09
# 1.42 -0.409 -0.525 2.155 -0.841 -0.19 0.13 0.63
# 0.94 1.192 -1.075 0.017 0.167 0.54 0.52 1.42
# -0.53 0.777 -1.090 -2.237 -0.693 0.24 -0.56 1.45
# 0.34 -0.456 -1.220 -0.456 -0.315 1.10 1.38 -0.05
#
# [100 rows x 8 columns] | df8.cbind(df9) |
try:
# num = 10 / 0
number = int(input("Enter a number: "))
print(number)
# catch specific errors
except ZeroDivisionError as err:
print(err)
except ValueError:
print("Invalid input")
| try:
number = int(input('Enter a number: '))
print(number)
except ZeroDivisionError as err:
print(err)
except ValueError:
print('Invalid input') |
class Deque:
def add_first(self, value):
...
def add_last(self, value):
...
def delete_first(self):
...
def delete_last(self):
...
def first(self):
...
def last(self):
...
def is_empty(self):
...
def __len__(self):
...
def __str__(self):
...
| class Deque:
def add_first(self, value):
...
def add_last(self, value):
...
def delete_first(self):
...
def delete_last(self):
...
def first(self):
...
def last(self):
...
def is_empty(self):
...
def __len__(self):
...
def __str__(self):
... |
# A string S consisting of N characters is considered to be properly nested if any of the following conditions is true:
# S is empty;
# S has the form "(U)" or "[U]" or "{U}" where U is a properly nested string; S has the form "VW" where V and W are properly nested strings.
# For example, the string "{[()()]}" is properly nested but "([)()]" is not.
# Write a function:
# int solution(char *S);
# that, given a string S consisting of N characters, returns 1 if S is properly nested and 0 otherwise.
# For example, given S = "{[()()]}", the function should return 1 and given S = "([)()]", the function should return 0, as explained above.
# Assume that:
# N is an integer within the range [0..200,000];
# string S consists only of the following characters: "(", "{", "[", "]", "}" and/or ")". Complexity:
# expected worst-case time complexity is O(N);
# expected worst-case space complexity is O(N) (not counting the storage required for input arguments).
def solution(s):
sets = dict(zip('({[', ')}]'))
if(not isinstance(s, str)):
return "Invalid input"
collector = []
for bracket in s:
if(bracket in sets):
collector.append(sets[bracket])
elif bracket not in(sets.values()):
return "Invalid input"
elif (bracket != collector.pop()):
return False
return not collector
print(solution("()[]{}"))
| def solution(s):
sets = dict(zip('({[', ')}]'))
if not isinstance(s, str):
return 'Invalid input'
collector = []
for bracket in s:
if bracket in sets:
collector.append(sets[bracket])
elif bracket not in sets.values():
return 'Invalid input'
elif bracket != collector.pop():
return False
return not collector
print(solution('()[]{}')) |
class RedisBackend(object):
def __init__(self, settings={}, *args, **kwargs):
self.settings = settings
@property
def connection(self):
# cached redis connection
if not hasattr(self, '_connection'):
self._connection = self.settings.get('redis.connector').get()
return self._connection
@property
def channel(self):
# Fanout channel
if not hasattr(self, '_channel'):
self._channel = self.connection.pubsub()
return self._channel
def subscribe(self, channels=[]):
# Fanout subscriber
for chan_id in channels:
self.channel.subscribe(chan_id)
def listen(self):
# Fanout generator
for m in self.channel.listen():
if m['type'] == 'message':
yield m
def send(self, channel_id, payload):
# Fanout emitter
return self.connection.publish(channel_id, payload)
def listen_queue(self, queue_keys):
# Message queue generator
while 1:
yield self.connection.blpop(queue_keys)
def send_queue(self, queue_key, payload):
return self.connection.rpush(payload)
| class Redisbackend(object):
def __init__(self, settings={}, *args, **kwargs):
self.settings = settings
@property
def connection(self):
if not hasattr(self, '_connection'):
self._connection = self.settings.get('redis.connector').get()
return self._connection
@property
def channel(self):
if not hasattr(self, '_channel'):
self._channel = self.connection.pubsub()
return self._channel
def subscribe(self, channels=[]):
for chan_id in channels:
self.channel.subscribe(chan_id)
def listen(self):
for m in self.channel.listen():
if m['type'] == 'message':
yield m
def send(self, channel_id, payload):
return self.connection.publish(channel_id, payload)
def listen_queue(self, queue_keys):
while 1:
yield self.connection.blpop(queue_keys)
def send_queue(self, queue_key, payload):
return self.connection.rpush(payload) |
# CHECK-TREE: { const <- \x -> \y -> x; y <- const #true #true; z <- const #false #false; #record { const: const, y : y, z: z, }}
const = lambda x, y: x
y = const(True, True)
z = const(False, False)
| const = lambda x, y: x
y = const(True, True)
z = const(False, False) |
_base_ = '../faster_rcnn/faster_rcnn_x101_64x4d_fpn_1x_coco.py'
model = dict(
backbone=dict(
num_stages=4,
#frozen_stages=4
),
roi_head=dict(
bbox_head=dict(
num_classes=3
)
)
)
dataset_type = 'COCODataset'
classes = ('luchs', 'rotfuchs', 'wolf')
data = dict(
train=dict(
img_prefix='raubtierv2a/train/',
classes=classes,
ann_file='raubtierv2a/train/_annotations.coco.json'),
val=dict(
img_prefix='raubtierv2a/valid/',
classes=classes,
ann_file='raubtierv2a/valid/_annotations.coco.json'),
test=dict(
img_prefix='raubtierv2a/test/',
classes=classes,
ann_file='raubtierv2a/test/_annotations.coco.json'))
#optimizer = dict(type='SGD', lr=0.02, momentum=0.9, weight_decay=0.0001) #original (8x2=16)
optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001) #(4x2=8) 4 GPUs
#optimizer = dict(type='SGD', lr=0.0025, momentum=0.9, weight_decay=0.0001) #(1x2=2)
total_epochs=24
evaluation = dict(classwise=True, interval=1, metric='bbox')
work_dir = '/media/storage1/projects/WilLiCam/checkpoint_workdir/raubtierv2a/faster_rcnn_x101_64x4d_fpn_1x_raubtierv2a_nofreeze_4gpu'
#http://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_x101_64x4d_fpn_1x_coco/faster_rcnn_x101_64x4d_fpn_1x_coco_20200204-833ee192.pth
load_from = 'checkpoints/faster_rcnn_x101_64x4d_fpn_1x_coco_20200204-833ee192.pth'
| _base_ = '../faster_rcnn/faster_rcnn_x101_64x4d_fpn_1x_coco.py'
model = dict(backbone=dict(num_stages=4), roi_head=dict(bbox_head=dict(num_classes=3)))
dataset_type = 'COCODataset'
classes = ('luchs', 'rotfuchs', 'wolf')
data = dict(train=dict(img_prefix='raubtierv2a/train/', classes=classes, ann_file='raubtierv2a/train/_annotations.coco.json'), val=dict(img_prefix='raubtierv2a/valid/', classes=classes, ann_file='raubtierv2a/valid/_annotations.coco.json'), test=dict(img_prefix='raubtierv2a/test/', classes=classes, ann_file='raubtierv2a/test/_annotations.coco.json'))
optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001)
total_epochs = 24
evaluation = dict(classwise=True, interval=1, metric='bbox')
work_dir = '/media/storage1/projects/WilLiCam/checkpoint_workdir/raubtierv2a/faster_rcnn_x101_64x4d_fpn_1x_raubtierv2a_nofreeze_4gpu'
load_from = 'checkpoints/faster_rcnn_x101_64x4d_fpn_1x_coco_20200204-833ee192.pth' |
h = int(input())
i = 1
a = 1
b = 1
c = 1
while h >= a:
a = 2 ** i
i += 1
s = 0
t = True
for j in range(1, i-1):
c += 2 ** j
print(c)
| h = int(input())
i = 1
a = 1
b = 1
c = 1
while h >= a:
a = 2 ** i
i += 1
s = 0
t = True
for j in range(1, i - 1):
c += 2 ** j
print(c) |
class ArmorVisitor:
def __init__(self, num_pages, first_page_col_start, first_page_row_start,
last_page_row_start, last_page_col_end, last_page_row_end, num_col_page=5, num_row_page=3):
self.num_pages = num_pages
self.first_page_col_start = first_page_col_start
self.first_page_row_start = first_page_row_start
self.last_page_row_start = last_page_row_start
self.last_page_col_end = last_page_col_end
self.last_page_row_end = last_page_row_end
self.num_col_page = num_col_page
self.num_row_page = num_row_page
def iterate(self, callback):
for page_num in range(1, self.num_pages + 1):
page = self.create_page(page_num)
i = 0
for coord in page:
callback(coord, page_num, i)
i += 1
def create_page(self, page_num):
if page_num == 1:
last_col = self.num_col_page if self.num_pages > 1 else self.last_page_col_end
last_row = self.num_row_page if self.num_pages > 1 else self.last_page_row_end
page = Page(self.first_page_col_start, self.first_page_row_start, last_col, last_row, self.num_col_page)
elif page_num == self.num_pages:
page = Page(1, self.last_page_row_start,
self.last_page_col_end, self.last_page_row_end, self.num_col_page)
else:
page = Page(1, 1, self.num_col_page, self.num_row_page, self.num_col_page)
return page
class Page:
def __init__(self, start_col, start_row, last_col, last_row, num_col_page=5):
self.start_col = start_col
self.start_row = start_row
self.last_col = last_col
self.last_row = last_row
self.num_col_page = num_col_page
def __iter__(self):
self.cur_row = self.start_row
self.cur_col = self.start_col
return self
def __next__(self):
position = (self.cur_row, self.cur_col)
if self.cur_row > self.last_row or (self.cur_col > self.last_col and self.cur_row == self.last_row):
raise StopIteration
elif self.cur_col == self.num_col_page:
self.cur_col = 1
self.cur_row += 1
else:
self.cur_col += 1
return position
| class Armorvisitor:
def __init__(self, num_pages, first_page_col_start, first_page_row_start, last_page_row_start, last_page_col_end, last_page_row_end, num_col_page=5, num_row_page=3):
self.num_pages = num_pages
self.first_page_col_start = first_page_col_start
self.first_page_row_start = first_page_row_start
self.last_page_row_start = last_page_row_start
self.last_page_col_end = last_page_col_end
self.last_page_row_end = last_page_row_end
self.num_col_page = num_col_page
self.num_row_page = num_row_page
def iterate(self, callback):
for page_num in range(1, self.num_pages + 1):
page = self.create_page(page_num)
i = 0
for coord in page:
callback(coord, page_num, i)
i += 1
def create_page(self, page_num):
if page_num == 1:
last_col = self.num_col_page if self.num_pages > 1 else self.last_page_col_end
last_row = self.num_row_page if self.num_pages > 1 else self.last_page_row_end
page = page(self.first_page_col_start, self.first_page_row_start, last_col, last_row, self.num_col_page)
elif page_num == self.num_pages:
page = page(1, self.last_page_row_start, self.last_page_col_end, self.last_page_row_end, self.num_col_page)
else:
page = page(1, 1, self.num_col_page, self.num_row_page, self.num_col_page)
return page
class Page:
def __init__(self, start_col, start_row, last_col, last_row, num_col_page=5):
self.start_col = start_col
self.start_row = start_row
self.last_col = last_col
self.last_row = last_row
self.num_col_page = num_col_page
def __iter__(self):
self.cur_row = self.start_row
self.cur_col = self.start_col
return self
def __next__(self):
position = (self.cur_row, self.cur_col)
if self.cur_row > self.last_row or (self.cur_col > self.last_col and self.cur_row == self.last_row):
raise StopIteration
elif self.cur_col == self.num_col_page:
self.cur_col = 1
self.cur_row += 1
else:
self.cur_col += 1
return position |
#
# PySNMP MIB module InternetThruway-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/InternetThruway-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:58:27 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")
ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ObjectIdentity, Counter64, Gauge32, NotificationType, Bits, NotificationType, MibIdentifier, TimeTicks, enterprises, ModuleIdentity, iso, Integer32, Unsigned32, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ObjectIdentity", "Counter64", "Gauge32", "NotificationType", "Bits", "NotificationType", "MibIdentifier", "TimeTicks", "enterprises", "ModuleIdentity", "iso", "Integer32", "Unsigned32", "Counter32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
nortel = MibIdentifier((1, 3, 6, 1, 4, 1, 562))
dialaccess = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14))
csg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2))
system = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 1))
components = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 2))
traps = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 3))
alarms = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 4))
ncServer = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 5))
ss7 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 6))
omData = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7))
disk = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1))
linkOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1))
maintenanceOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2))
callOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3))
trunkGroupOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4))
phoneNumberOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5))
systemOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6))
nasOMs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7))
class TimeString(DisplayString):
pass
partitionTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1), )
if mibBuilder.loadTexts: partitionTable.setStatus('mandatory')
if mibBuilder.loadTexts: partitionTable.setDescription('The PartitionTable contains information about each disk partition on the CSG')
partitionTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "partitionIndex"))
if mibBuilder.loadTexts: partitionTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: partitionTableEntry.setDescription('An entry in the PartitionTable. Indexed by partitionIndex')
class PartitionSpaceStatus(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("spaceAlarmOff", 1), ("spaceAlarmOn", 2))
partitionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4)))
if mibBuilder.loadTexts: partitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts: partitionIndex.setDescription('Identifies partition number.')
partitionName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionName.setStatus('mandatory')
if mibBuilder.loadTexts: partitionName.setDescription('Identifies partition name.')
partitionPercentFull = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionPercentFull.setStatus('mandatory')
if mibBuilder.loadTexts: partitionPercentFull.setDescription('Indicates (in Percent) how full the disk is.')
partitionMegsFree = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionMegsFree.setStatus('mandatory')
if mibBuilder.loadTexts: partitionMegsFree.setDescription('Indicates how many Megabytes are free on the partition.')
partitionSpaceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 5), PartitionSpaceStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionSpaceStatus.setStatus('mandatory')
if mibBuilder.loadTexts: partitionSpaceStatus.setDescription('Indicates if there is currently a space alarm in progress.')
partitionSpaceKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionSpaceKey.setStatus('mandatory')
if mibBuilder.loadTexts: partitionSpaceKey.setDescription('Unique indicator for the partition space alarm.')
partitionSpaceTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 7), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: partitionSpaceTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: partitionSpaceTimeStamp.setDescription('Indicates the time of the last partitionSpaceStatus transition.')
componentTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10), )
if mibBuilder.loadTexts: componentTable.setStatus('mandatory')
if mibBuilder.loadTexts: componentTable.setDescription('The ComponentTable contains information about all the Components that should be running on the CSG.')
componentTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1), ).setIndexNames((0, "InternetThruway-MIB", "componentIndex"))
if mibBuilder.loadTexts: componentTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: componentTableEntry.setDescription('An entry in the ComponentTable. componentTable entries are indexed by componentIndex, which is an integer. ')
class ComponentIndex(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))
namedValues = NamedValues(("oolsproxy", 1), ("climan", 2), ("arm", 3), ("sem", 4), ("hgm", 5), ("survman", 6), ("ss7scm", 7), ("ss7opm", 8), ("ss7cheni", 9))
class ComponentSysmanState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("inProvisionedState", 1), ("notInProvisionedState", 2), ("unknown", 3))
componentIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 1), ComponentIndex())
if mibBuilder.loadTexts: componentIndex.setStatus('mandatory')
if mibBuilder.loadTexts: componentIndex.setDescription('Identifies the component entry with an enumerated list.')
componentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: componentName.setStatus('mandatory')
if mibBuilder.loadTexts: componentName.setDescription('Identifies component name.')
compSecsInCurrentState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compSecsInCurrentState.setStatus('mandatory')
if mibBuilder.loadTexts: compSecsInCurrentState.setDescription('Indicates how many seconds a component has been running in its current state. ')
compProvStateStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 4), ComponentSysmanState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compProvStateStatus.setStatus('mandatory')
if mibBuilder.loadTexts: compProvStateStatus.setDescription('Indicates the current state of the particular CSG component. The states are one of the following: inProvisionedState(1), notInProvisionedState(2), unknown(3)')
compProvStateKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compProvStateKey.setStatus('mandatory')
if mibBuilder.loadTexts: compProvStateKey.setDescription('Unique indicator for the prov state alarm.')
compProvStateTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 6), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compProvStateTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: compProvStateTimeStamp.setDescription('Indicates the time of the last state transition.')
compDebugStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compDebugStatus.setStatus('mandatory')
if mibBuilder.loadTexts: compDebugStatus.setDescription('Shows if the component is running with debug on.')
compDebugKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compDebugKey.setStatus('mandatory')
if mibBuilder.loadTexts: compDebugKey.setDescription('Unique indicator for the debug state.')
compDebugTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 9), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compDebugTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: compDebugTimeStamp.setDescription('Indicates the time of the last debug transition.')
compRestartStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compRestartStatus.setStatus('mandatory')
if mibBuilder.loadTexts: compRestartStatus.setDescription('Shows if the component has had multiple restarts recently.')
compRestartKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compRestartKey.setStatus('mandatory')
if mibBuilder.loadTexts: compRestartKey.setDescription('Unique indicator for the multi-restart of components.')
compRestartTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 12), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: compRestartTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: compRestartTimeStamp.setDescription('Indicates the time of the last restart flagging.')
linksetTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1), )
if mibBuilder.loadTexts: linksetTable.setStatus('mandatory')
if mibBuilder.loadTexts: linksetTable.setDescription('The linksetTable contains information about all the linksets on the CSG.')
linksetTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "linksetIndex"))
if mibBuilder.loadTexts: linksetTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: linksetTableEntry.setDescription('An entry in the linksetTable. Entries in the linkset table are indexed by linksetIndex, which is an integer.')
class LinksetState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("available", 1), ("unAvailable", 2))
linksetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: linksetIndex.setStatus('mandatory')
if mibBuilder.loadTexts: linksetIndex.setDescription("Identifies the n'th position in the table.")
linksetId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linksetId.setStatus('mandatory')
if mibBuilder.loadTexts: linksetId.setDescription('The id of the linkset to be used as index.')
linksetAdjPointcode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linksetAdjPointcode.setStatus('mandatory')
if mibBuilder.loadTexts: linksetAdjPointcode.setDescription('The adjacent pointcode of the linkset.')
linksetState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 4), LinksetState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linksetState.setStatus('mandatory')
if mibBuilder.loadTexts: linksetState.setDescription('The state of the linkset.')
linkTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2), )
if mibBuilder.loadTexts: linkTable.setStatus('mandatory')
if mibBuilder.loadTexts: linkTable.setDescription('The linkTable contains information about the links in a given linkset on the CSG.')
linkTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1), ).setIndexNames((0, "InternetThruway-MIB", "linksetIndex"), (0, "InternetThruway-MIB", "linkIndex"))
if mibBuilder.loadTexts: linkTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: linkTableEntry.setDescription('An entry in the linkTable. Entries in the link table table are indexed by linksetIndex and linkIndex, which are both integers.')
class LinkState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("available", 1), ("unAvailable", 2))
class LinkInhibitionState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("unInhibited", 1), ("localInhibited", 2), ("remoteInhibited", 3), ("localRemoteInhibited", 4))
class LinkCongestionState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("notCongested", 1), ("congested", 2))
class LinkAlignmentState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("aligned", 1), ("notAligned", 2))
linkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: linkIndex.setStatus('mandatory')
if mibBuilder.loadTexts: linkIndex.setDescription("Identifies the n'th position in the table.")
linkId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkId.setStatus('mandatory')
if mibBuilder.loadTexts: linkId.setDescription('The id of the link.')
linkHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkHostname.setStatus('mandatory')
if mibBuilder.loadTexts: linkHostname.setDescription('The hostname of the CSG to which this link is attached.')
linkCardDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkCardDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: linkCardDeviceName.setDescription('The device name of the card upon which this link is hosted.')
linkState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 5), LinkState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkState.setStatus('mandatory')
if mibBuilder.loadTexts: linkState.setDescription('The state of the link.')
linkInhibitionState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 6), LinkInhibitionState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInhibitionState.setStatus('mandatory')
if mibBuilder.loadTexts: linkInhibitionState.setDescription('The inhibition status of the link.')
linkCongestionState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 7), LinkCongestionState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkCongestionState.setStatus('mandatory')
if mibBuilder.loadTexts: linkCongestionState.setDescription('The congestion status of the link.')
linkAlignmentState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 8), LinkAlignmentState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignmentState.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignmentState.setDescription('The alignment status of the link.')
linkNumMSUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumMSUReceived.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumMSUReceived.setDescription("This object supplies the number of MSU's received by the link.")
linkNumMSUDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumMSUDiscarded.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumMSUDiscarded.setDescription("This object supplies the number of received MSU's discarded by the link.")
linkNumMSUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumMSUTransmitted.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumMSUTransmitted.setDescription("This object supplies the number of MSU's transmitted by the link.")
linkNumSIFReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumSIFReceived.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumSIFReceived.setDescription('This object supplies the number of SIF and SIO octets received by the link.')
linkNumSIFTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumSIFTransmitted.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumSIFTransmitted.setDescription('This object supplies the number of SIF and SIO octects transmitted by the link.')
linkNumAutoChangeovers = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumAutoChangeovers.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumAutoChangeovers.setDescription('This object supplies the number of automatic changeovers undergone by the link.')
linkNumUnexpectedMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNumUnexpectedMsgs.setStatus('mandatory')
if mibBuilder.loadTexts: linkNumUnexpectedMsgs.setDescription('This object supplies the number of unexpected messages received by the link.')
routeTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3), )
if mibBuilder.loadTexts: routeTable.setStatus('mandatory')
if mibBuilder.loadTexts: routeTable.setDescription('The routeTable contains information about the routes provisioned in the CSG complex.')
routeTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1), ).setIndexNames((0, "InternetThruway-MIB", "routeIndex"))
if mibBuilder.loadTexts: routeTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: routeTableEntry.setDescription('An entry in the routeTable. Entries in the route table are indexed by routeIndex, which is an integer.')
class RouteState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("accessible", 1), ("inaccessible", 2), ("restricted", 3))
routeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: routeIndex.setStatus('mandatory')
if mibBuilder.loadTexts: routeIndex.setDescription("Identifies the n'th position in the table.")
routeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: routeId.setStatus('mandatory')
if mibBuilder.loadTexts: routeId.setDescription('The unique identifier of the route.')
routeDestPointCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: routeDestPointCode.setStatus('mandatory')
if mibBuilder.loadTexts: routeDestPointCode.setDescription('The destination point code associated with this route.')
routeState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 4), RouteState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: routeState.setStatus('mandatory')
if mibBuilder.loadTexts: routeState.setDescription('The current state of the route.')
routeRank = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: routeRank.setStatus('mandatory')
if mibBuilder.loadTexts: routeRank.setDescription('Rank assigned to this route.')
routeLinksetId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: routeLinksetId.setStatus('mandatory')
if mibBuilder.loadTexts: routeLinksetId.setDescription('The linkset associated with this route.')
destinationTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4), )
if mibBuilder.loadTexts: destinationTable.setStatus('mandatory')
if mibBuilder.loadTexts: destinationTable.setDescription('The destinationTable contains information about the destinations provisioned in the CSG complex.')
destinationTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1), ).setIndexNames((0, "InternetThruway-MIB", "destIndex"))
if mibBuilder.loadTexts: destinationTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: destinationTableEntry.setDescription('An entry in the destinationTable. Entries in the destination table are indexed by destIndex, which is an integer.')
class DestinationState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("accessible", 1), ("inaccessible", 2), ("restricted", 3))
destIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: destIndex.setStatus('mandatory')
if mibBuilder.loadTexts: destIndex.setDescription("Identifies the n'th position in the table.")
destPointCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destPointCode.setStatus('mandatory')
if mibBuilder.loadTexts: destPointCode.setDescription('The destination point code of this destination.')
destState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 3), DestinationState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destState.setStatus('mandatory')
if mibBuilder.loadTexts: destState.setDescription('The current state of the destination.')
destRuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destRuleId.setStatus('mandatory')
if mibBuilder.loadTexts: destRuleId.setDescription('Rule Identifier (for the routing table to be used) for this destination.')
ncServerId = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncServerId.setStatus('mandatory')
if mibBuilder.loadTexts: ncServerId.setDescription(' The ServerId attribute value of the node.')
ncServerName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncServerName.setStatus('mandatory')
if mibBuilder.loadTexts: ncServerName.setDescription(' The ServerName attribute value of the node.')
ncHostName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncHostName.setStatus('mandatory')
if mibBuilder.loadTexts: ncHostName.setDescription(' The HostName attribute value of the node.')
ncEthernetName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts: ncEthernetName.setDescription(' The EthernetName attribute value of the node.')
ncEthernetIP = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts: ncEthernetIP.setDescription(' The EthernetIP attribute value of the node.')
ncClusterName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncClusterName.setStatus('mandatory')
if mibBuilder.loadTexts: ncClusterName.setDescription(' The ClusterName attribute value of the node.')
ncClusterIP = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 8), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncClusterIP.setStatus('mandatory')
if mibBuilder.loadTexts: ncClusterIP.setDescription(' The ClusterIP attribute value of the node.')
ncOperationalState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts: ncOperationalState.setDescription(' The OperationalState of the node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
ncStandbyState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts: ncStandbyState.setDescription(' The StandbyState attribute value of the node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
ncAvailabilityState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts: ncAvailabilityState.setDescription(' The AvailabilityState attribute value of the node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
ncSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncSoftwareVersion.setStatus('mandatory')
if mibBuilder.loadTexts: ncSoftwareVersion.setDescription(' The SoftwareVersion attribute value of the node.')
class UpgradeInProgress(Integer32):
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2)
ncUpgradeInProgress = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 13), UpgradeInProgress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ncUpgradeInProgress.setStatus('mandatory')
if mibBuilder.loadTexts: ncUpgradeInProgress.setDescription(' The UpgradeInProgress attribute value of the node. Possible values are: 0 = UNKNOWN, 1 = ACTIVE, 2 = INACTIVE ')
hgAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10), )
if mibBuilder.loadTexts: hgAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: hgAlarmTable.setDescription('The HgAlarmTable contains information about all the current HG alarms')
hgAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1), ).setIndexNames((0, "InternetThruway-MIB", "hgIndex"))
if mibBuilder.loadTexts: hgAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: hgAlarmTableEntry.setDescription('An entry in the HgAlarmTable. HgAlarmTable entries are indexed by componentIndex, which is an integer.')
hgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 1), Integer32())
if mibBuilder.loadTexts: hgIndex.setStatus('mandatory')
if mibBuilder.loadTexts: hgIndex.setDescription("Identifies the n'th position in the table.")
hgName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hgName.setStatus('mandatory')
if mibBuilder.loadTexts: hgName.setDescription('The Home gateway to be used as index')
hgKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hgKey.setStatus('mandatory')
if mibBuilder.loadTexts: hgKey.setDescription('Unique identifier for the HgFailure alarm ')
hgAlarmTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 4), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hgAlarmTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: hgAlarmTimeStamp.setDescription('Indicates the time of the HG Alarm.')
hgIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hgIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: hgIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
nasAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11), )
if mibBuilder.loadTexts: nasAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: nasAlarmTable.setDescription('The NasAlarmTable contains information about all the current NAS alarms')
nasAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1), ).setIndexNames((0, "InternetThruway-MIB", "nasIndex"))
if mibBuilder.loadTexts: nasAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: nasAlarmTableEntry.setDescription('An entry in the NasAlarmTable. NasAlarmTable entries are indexed by nasIndex, which is an integer.')
nasIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 1), Integer32())
if mibBuilder.loadTexts: nasIndex.setStatus('mandatory')
if mibBuilder.loadTexts: nasIndex.setDescription("Identifies the n'th position in the table.")
nasName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasName.setStatus('mandatory')
if mibBuilder.loadTexts: nasName.setDescription('The NAS Name')
nasKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasKey.setStatus('mandatory')
if mibBuilder.loadTexts: nasKey.setDescription('Unique identifier for the NAS Failure alarm ')
nasAlarmTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 4), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasAlarmTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: nasAlarmTimeStamp.setDescription('Indicates the time of the NAS Alarm.')
nasIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 5), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: nasIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
nasCmplxName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCmplxName.setStatus('mandatory')
if mibBuilder.loadTexts: nasCmplxName.setDescription(' The complex which this alarm is raised against.')
ss7LinkFailureAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12), )
if mibBuilder.loadTexts: ss7LinkFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkFailureAlarmTable.setDescription('The SS7LinkFailureAlarmTable contains alarms for SS7 link failures.')
ss7LinkFailureAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1), ).setIndexNames((0, "InternetThruway-MIB", "lfIndex"))
if mibBuilder.loadTexts: ss7LinkFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Failure Alarm Table. A row can be uniquely identified with the row index.')
lfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 1), Integer32())
if mibBuilder.loadTexts: lfIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lfIndex.setDescription('Identifies the row number in the table.')
lfKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfKey.setStatus('mandatory')
if mibBuilder.loadTexts: lfKey.setDescription('Unique identifier for the alarm.')
lfIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lfIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
lfLinkCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts: lfLinkCode.setDescription('This object identifies the signalling link code (SLC) of the failed link.')
lfTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 6), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lfTimeStamp.setDescription('Indicates the time of the alarm.')
lfName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfName.setStatus('mandatory')
if mibBuilder.loadTexts: lfName.setDescription('Indicates the configured name for the machine which sent the alarm.')
lfCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfCardId.setStatus('mandatory')
if mibBuilder.loadTexts: lfCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
lfLinkSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lfLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts: lfLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
ss7LinkCongestionAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13), )
if mibBuilder.loadTexts: ss7LinkCongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkCongestionAlarmTable.setDescription('The SS7LinkCongestionAlarmTable contains alarms to indicate congestion on an SS7 link.')
ss7LinkCongestionAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1), ).setIndexNames((0, "InternetThruway-MIB", "lcIndex"))
if mibBuilder.loadTexts: ss7LinkCongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkCongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Congestion Alarm Table. A row can be uniquely identified with the row index.')
lcIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 1), Integer32())
if mibBuilder.loadTexts: lcIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lcIndex.setDescription('Identifies the row number in the table.')
lcKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcKey.setStatus('mandatory')
if mibBuilder.loadTexts: lcKey.setDescription('Unique identifier for the alarm.')
lcIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lcIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
lcLinkCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts: lcLinkCode.setDescription('This object identifies the signalling link code (SLC) of the affected link.')
lcTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 5), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lcTimeStamp.setDescription('Indicates the time of the alarm.')
lcName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcName.setStatus('mandatory')
if mibBuilder.loadTexts: lcName.setDescription('Indicates the configured name for the machine which sent the alarm.')
lcCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcCardId.setStatus('mandatory')
if mibBuilder.loadTexts: lcCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
lcLinkSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lcLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts: lcLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
ss7ISUPFailureAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14), )
if mibBuilder.loadTexts: ss7ISUPFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7ISUPFailureAlarmTable.setDescription('The SS7ISUPFailureAlarmTable contains alarms for SS7 ISUP protocol stack failures.')
ss7ISUPFailureAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1), ).setIndexNames((0, "InternetThruway-MIB", "ifIndex"))
if mibBuilder.loadTexts: ss7ISUPFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7ISUPFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 ISUP Failure Alarm Table. A row can be uniquely identified with the row index.')
ifIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 1), Integer32())
if mibBuilder.loadTexts: ifIndex.setStatus('mandatory')
if mibBuilder.loadTexts: ifIndex.setDescription('Identifies the row number in the table.')
ifKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifKey.setStatus('mandatory')
if mibBuilder.loadTexts: ifKey.setDescription('Unique identifier for the alarm.')
ifIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: ifIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
ifTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 4), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: ifTimeStamp.setDescription('Indicates the time of the alarm.')
ifName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ifName.setStatus('mandatory')
if mibBuilder.loadTexts: ifName.setDescription('Indicates the configured name for the machine which sent the alarm.')
ss7ISUPCongestionAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15), )
if mibBuilder.loadTexts: ss7ISUPCongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7ISUPCongestionAlarmTable.setDescription('The SS7ISUPCongestionAlarmTable contains alarms to indicate congestion with an ISUP protocol stack.')
ss7ISUPCongestionAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1), ).setIndexNames((0, "InternetThruway-MIB", "icIndex"))
if mibBuilder.loadTexts: ss7ISUPCongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7ISUPCongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 ISUP Congestion Alarm Table. A row can be uniquely identified with the row index.')
icIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 1), Integer32())
if mibBuilder.loadTexts: icIndex.setStatus('mandatory')
if mibBuilder.loadTexts: icIndex.setDescription('Identifies the row number in the table.')
icKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icKey.setStatus('mandatory')
if mibBuilder.loadTexts: icKey.setDescription('Unique identifier for the alarm.')
icIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: icIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
icCongestionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icCongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts: icCongestionLevel.setDescription('This object indicates the congestion level with an ISUP protocol stack. Possible congestion levels are: (0) Normal (1) Congestion ')
icTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 5), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: icTimeStamp.setDescription('Indicates the time of the alarm.')
icName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: icName.setStatus('mandatory')
if mibBuilder.loadTexts: icName.setDescription('Indicates the configured name for the machine which sent the alarm.')
ss7MTP3CongestionAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16), )
if mibBuilder.loadTexts: ss7MTP3CongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7MTP3CongestionAlarmTable.setDescription('The SS7MTP3CongestionAlarmTable contains alarms to indicate congestion on an MTP3 link.')
ss7MTP3CongestionAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1), ).setIndexNames((0, "InternetThruway-MIB", "mtp3Index"))
if mibBuilder.loadTexts: ss7MTP3CongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7MTP3CongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 MTP3 Congestion Alarm Table. A row can be uniquely identified with the row index.')
mtp3Index = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 1), Integer32())
if mibBuilder.loadTexts: mtp3Index.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3Index.setDescription('Identifies the row number in the table.')
mtp3Key = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp3Key.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3Key.setDescription('Unique identifier for the alarm.')
mtp3IPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp3IPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3IPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
mtp3CongestionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp3CongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3CongestionLevel.setDescription('This object indicates the congestion level on a problem SS7 Link. Possible congestion values are: (0) Normal (1) Minor (2) Major (3) Critical ')
mtp3TimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 5), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp3TimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3TimeStamp.setDescription('Indicates the time of the alarm.')
mtp3Name = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp3Name.setStatus('mandatory')
if mibBuilder.loadTexts: mtp3Name.setDescription('Represents the configured name of the machine which sent the alarm.')
ss7MTP2TrunkFailureAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17), )
if mibBuilder.loadTexts: ss7MTP2TrunkFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7MTP2TrunkFailureAlarmTable.setDescription('The SS7MTP2TrunkFailureAlarmTable contains alarms to indicate MTP2 trunk failures.')
ss7MTP2TrunkFailureAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1), ).setIndexNames((0, "InternetThruway-MIB", "mtp2Index"))
if mibBuilder.loadTexts: ss7MTP2TrunkFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7MTP2TrunkFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 MTP2 Failure Alarm Table. A row can be uniquely identified with the row index.')
class MTP2AlarmConditionType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))
namedValues = NamedValues(("fasError", 1), ("carrierLost", 2), ("synchroLost", 3), ("aisRcv", 4), ("remoteAlarmRcv", 5), ("tooHighBer", 6))
mtp2Index = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 1), Integer32())
if mibBuilder.loadTexts: mtp2Index.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2Index.setDescription('Identifies the row number in the table.')
mtp2Key = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2Key.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2Key.setDescription('Unique identifier for the alarm.')
mtp2IPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2IPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2IPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
mtp2Name = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2Name.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2Name.setDescription('This object identifies the configured name of the machine which sent the alarm.')
mtp2CardId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2CardId.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2CardId.setDescription('This object indicates the device upon which the affected trunk is hosted. The string contains a physical description of the device, as well as its slot number.')
mtp2AlarmCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 6), MTP2AlarmConditionType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2AlarmCondition.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2AlarmCondition.setDescription('This object indicates which of the possible alarm conditions is in effect. Alarms are not nested: a new alarm is only reported if there is no current alarm condition.')
mtp2TimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 7), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mtp2TimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: mtp2TimeStamp.setDescription('Indicates the time of the alarm.')
ss7LinksetFailureAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18), )
if mibBuilder.loadTexts: ss7LinksetFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinksetFailureAlarmTable.setDescription('The SS7LinksetFailureAlarmTable contains alarms to indicate failure on an CSG linkset.')
ss7LinksetFailureAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1), ).setIndexNames((0, "InternetThruway-MIB", "lsFailureIndex"))
if mibBuilder.loadTexts: ss7LinksetFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinksetFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 Linkset Failure Alarm Table. A row can be uniquely identified with the row index.')
lsFailureIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 1), Integer32())
if mibBuilder.loadTexts: lsFailureIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailureIndex.setDescription('Identifies the row number in the table.')
lsFailureKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsFailureKey.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailureKey.setDescription('Unique identifier for the alarm.')
lsFailureIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsFailureIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailureIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
lsFailureName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsFailureName.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailureName.setDescription('Represents the configured name of the machine which sent the alarm.')
lsFailurePointcode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsFailurePointcode.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailurePointcode.setDescription('This object indicates the pointcode associated with the linkset.')
lsFailureTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 6), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsFailureTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lsFailureTimeStamp.setDescription('Indicates the time of the alarm.')
ss7DestinationInaccessibleAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19), )
if mibBuilder.loadTexts: ss7DestinationInaccessibleAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7DestinationInaccessibleAlarmTable.setDescription('The SS7DestinationAccessAlarmTable contains alarms which indicate inaccessible signalling destinations.')
ss7DestinationInaccessibleAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1), ).setIndexNames((0, "InternetThruway-MIB", "destInaccessIndex"))
if mibBuilder.loadTexts: ss7DestinationInaccessibleAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7DestinationInaccessibleAlarmTableEntry.setDescription('This object defines a row within the SS7 Destination Inaccessible Alarm Table. A row can be uniquely identified with the row index.')
destInaccessIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 1), Integer32())
if mibBuilder.loadTexts: destInaccessIndex.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessIndex.setDescription('Identifies the row number in the table.')
destInaccessKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destInaccessKey.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessKey.setDescription('Unique identifier for the alarm.')
destInaccessIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destInaccessIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
destInaccessName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destInaccessName.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessName.setDescription('Represents the configured name of the machine which sent the alarm.')
destInaccessPointcode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destInaccessPointcode.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessPointcode.setDescription('This object indicates the point code of the inaccessible signalling destination.')
destInaccessTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 6), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destInaccessTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: destInaccessTimeStamp.setDescription('Indicates the time of the alarm.')
ss7DestinationCongestedAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20), )
if mibBuilder.loadTexts: ss7DestinationCongestedAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7DestinationCongestedAlarmTable.setDescription('The SS7DestinationCongestedAlarmTable contains alarms to indicate congestion on the given destination.')
ss7DestinationCongestedAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1), ).setIndexNames((0, "InternetThruway-MIB", "destCongestIndex"))
if mibBuilder.loadTexts: ss7DestinationCongestedAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7DestinationCongestedAlarmTableEntry.setDescription('This object defines a row within the SS7 Destination Congestion Table. A row can be uniquely identified with the row index.')
destCongestIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 1), Integer32())
if mibBuilder.loadTexts: destCongestIndex.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestIndex.setDescription('Identifies the row number in the table.')
destCongestKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestKey.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestKey.setDescription('Unique identifier for the alarm.')
destCongestIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
destCongestName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestName.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestName.setDescription('Represents the configured name of the machine which sent the alarm.')
destCongestPointcode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestPointcode.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestPointcode.setDescription('This object indicates the pointcode of the congested destination.')
destCongestCongestionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestCongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestCongestionLevel.setDescription('This object indicates the congestion level on a problem SS7 pointcode. Possible congestion values are: (0) Normal (1) Minor (2) Major (3) Critical ')
destCongestTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 7), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: destCongestTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: destCongestTimeStamp.setDescription('Indicates the time of the alarm.')
ss7LinkAlignmentAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21), )
if mibBuilder.loadTexts: ss7LinkAlignmentAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkAlignmentAlarmTable.setDescription('The SS7LinkAlignmentAlarmTable contains alarms to indicate congestion on the CSG.')
ss7LinkAlignmentAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1), ).setIndexNames((0, "InternetThruway-MIB", "linkAlignIndex"))
if mibBuilder.loadTexts: ss7LinkAlignmentAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: ss7LinkAlignmentAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Alignment Alarm Table. A row can be uniquely identified with the row index.')
linkAlignIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 1), Integer32())
if mibBuilder.loadTexts: linkAlignIndex.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignIndex.setDescription('Identifies the row number in the table.')
linkAlignKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignKey.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignKey.setDescription('Unique identifier for the alarm.')
linkAlignIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
linkAlignName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignName.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignName.setDescription('Represents the configured name of the machine which sent the alarm.')
linkAlignLinkCode = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignLinkCode.setDescription('This object identifies the signalling link code (SLC) of the affected link.')
linkAlignTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 6), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignTimeStamp.setDescription('Indicates the time of the alarm.')
linkAlignCardId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignCardId.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
linkAlignLinkSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAlignLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts: linkAlignLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
csgComplexStateTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22))
cplxName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxName.setStatus('mandatory')
if mibBuilder.loadTexts: cplxName.setDescription('CLLI, A unique identifier of the CSG Complex.')
cplxLocEthernetName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxLocEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts: cplxLocEthernetName.setDescription(' The EthernetName attribute value of the node.')
cplxLocEthernetIP = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxLocEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts: cplxLocEthernetIP.setDescription(' The EthernetIP attribute value of the node.')
cplxLocOperationalState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxLocOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxLocOperationalState.setDescription(' The OperationalState of the node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
cplxLocStandbyState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxLocStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxLocStandbyState.setDescription(' The StandbyState attribute value of the node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
cplxLocAvailabilityState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxLocAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxLocAvailabilityState.setDescription(' The AvailabilityState attribute value of the node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
cplxMateEthernetName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxMateEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts: cplxMateEthernetName.setDescription(' The EthernetName attribute value of the mate node.')
cplxMateEthernetIP = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 8), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxMateEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts: cplxMateEthernetIP.setDescription(' The EthernetIP attribute value of the mate node.')
cplxMateOperationalState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxMateOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxMateOperationalState.setDescription(' The OperationalState of the mate node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
cplxMateStandbyState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxMateStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxMateStandbyState.setDescription(' The StandbyState attribute value of the mate node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
cplxMateAvailabilityState = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxMateAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts: cplxMateAvailabilityState.setDescription(' The AvailabilityState attribute value of the mate node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
cplxAlarmStatus = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cplxAlarmStatus.setStatus('mandatory')
if mibBuilder.loadTexts: cplxAlarmStatus.setDescription('This object indicates the alarm status of the CSG Complex. Possible status are: NORMAL, MAJOR, CRITICAL ')
lostServerAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1), )
if mibBuilder.loadTexts: lostServerAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts: lostServerAlarmTable.setDescription('')
lostServerAlarmTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "lsIndex"))
if mibBuilder.loadTexts: lostServerAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: lostServerAlarmTableEntry.setDescription('This object defines a row within the Lost Server Alarm Table. A row can be uniquely identified with the row index.')
lsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: lsIndex.setStatus('mandatory')
if mibBuilder.loadTexts: lsIndex.setDescription('Identifies the row number in the table.')
lsKey = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsKey.setStatus('mandatory')
if mibBuilder.loadTexts: lsKey.setDescription('Unique identifier for the alarm.')
lsIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: lsIPAddress.setDescription('This object identifies the IP Address of the machine which is lost.')
lsName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsName.setStatus('mandatory')
if mibBuilder.loadTexts: lsName.setDescription('The configured name associated with the IP Address of the machine which sent the alarm.')
lsTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 5), TimeString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lsTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: lsTimeStamp.setDescription('Indicates the time of the alarm.')
alarmMaskInt1 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 1), Gauge32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alarmMaskInt1.setStatus('mandatory')
if mibBuilder.loadTexts: alarmMaskInt1.setDescription('The value of this bit mask reflects the current filtering policy of CSG events and alarms. Management stations which wish to not receive certain events or alarm types from the CSG can modify this value as needed. Note, however, that changes in the filtration policy affect what is received by all management stations. Initially, the bit mask is set so that all bits are in a false state. Each bit in a true state reflects a currently filtered event, alarm, or alarm type. The actual bit position meanings are given below. Bit 0 is LSB. Bits 0 = Generic Normal Alarm 1 = Generic Warning Alarm 2 = Generic Minor Alarm 3 = Generic Major Alarm 4 = Generic Critical Alarm 5 = Partition Space Alarm 6 = Home Gateway Failure Alarm 7 = Component Not In Provisioned State Alarm 8 = Component Debug On Alarm 9 = Component Multiple Restart Alarm 10 = Component Restart Warning 11 = NAS Registration Failure Warning 12 = NAS Failure Alarm 13 = File Deletion Warning 14 = File Backup Warning 15 = Sysman Restart Warning 16 = File Access Warning 17 = Home Gateway/NAS Provisioning Mismatch Warning 18 = SS7 Link Failure Alarm 19 = SS7 Link Congestion Alarm 20 = ISUP Failure Alarm 21 = ISUP Congestion Alarm 22 = SS7 FEP Congestion Alarm 23 = SS7 BEP Congestion Alarm 24 = High Availability Peer Contact Lost Alarm 25 = SS7 MTP3 Congestion Alarm 26 = SS7 MTP2 Trunk Failure Alarm 27 = SS7 Linkset Failure Alarm 28 = SS7 Destination Inaccessible Alarm 29 = SS7 Destination Congested Alarm 30 = SS7 Link Alignment Failure Alarm ')
alarmStatusInt1 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 2), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: alarmStatusInt1.setStatus('mandatory')
if mibBuilder.loadTexts: alarmStatusInt1.setDescription('The value of this bit mask indicates that current status of CSG component alarms. Each components is represented by a single bit within the range occupied by each component alarm type. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0-15 = Component Not In Provisioned State Alarm 16-31 = Component Multi Restart Alarm ')
alarmStatusInt2 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 3), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: alarmStatusInt2.setStatus('mandatory')
if mibBuilder.loadTexts: alarmStatusInt2.setDescription('The value of this bit mask indicates the current status of active CSG alarms. Component-related alarms occupy a range of bits: each bit within that range represents the alarm status for a particular component. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0-15 = Component Debug On Alarm 16-23 = Partition Space Alarm 24 = Home Gateway Failure Alarm 25 = NAS Failure Alarm 26 = SS7 Link Failure Alarm 27 = SS7 Link Congestion Alarm 28 = ISUP Failure Alarm 29 = ISUP Congestion Alarm 30 = High Availability Peer Contact Lost Alarm 31 = SS7 MTP3 Congestion Alarm ')
alarmStatusInt3 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 4), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: alarmStatusInt3.setStatus('mandatory')
if mibBuilder.loadTexts: alarmStatusInt3.setDescription('The value of this bit mask indicates the current status of active CSG alarms. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0 = SS7 MTP2 Trunk Failure Alarm 1 = SS7 Linkset Failure Alarm 2 = SS7 Destination Inaccessible Alarm 3 = SS7 Destination Congestion Alarm 4 = SS7 Link Alignment Failure Alarm 5 = CSG Complex Status Alarm 6 = External Ethernet Alarm ')
alarmMaskInt2 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 5), Gauge32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: alarmMaskInt2.setStatus('mandatory')
if mibBuilder.loadTexts: alarmMaskInt2.setDescription('The value of this bit mask reflects the current additional filtering policy of CSG events and alarms. Management stations which wish to not receive certain events or alarm types from the CSG can modify this value as needed. Note, however, that changes in the filtration policy affect what is received by all management stations. Initially, the bit mask is set so that all bits are in a false state. Each bit in a true state reflects a currently filtered event, alarm, or alarm type. The actual bit position meanings are given below. Bit 0 is LSB. Bits 0 = External Ethernet Alarm 1 = Cluster Information retrieval Alarm ')
trapCompName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 1), DisplayString())
if mibBuilder.loadTexts: trapCompName.setStatus('mandatory')
if mibBuilder.loadTexts: trapCompName.setDescription('OID for the Component name.')
trapFileName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 2), DisplayString())
if mibBuilder.loadTexts: trapFileName.setStatus('mandatory')
if mibBuilder.loadTexts: trapFileName.setDescription('OID for file Name.')
trapDate = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 3), TimeString())
if mibBuilder.loadTexts: trapDate.setStatus('mandatory')
if mibBuilder.loadTexts: trapDate.setDescription('OID for the date.')
trapGenericStr1 = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 4), DisplayString())
if mibBuilder.loadTexts: trapGenericStr1.setStatus('mandatory')
if mibBuilder.loadTexts: trapGenericStr1.setDescription('OID for the generic data.')
trapIdKey = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 5), Integer32())
if mibBuilder.loadTexts: trapIdKey.setStatus('mandatory')
if mibBuilder.loadTexts: trapIdKey.setDescription('OID for the identification key.')
trapIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 6), IpAddress())
if mibBuilder.loadTexts: trapIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: trapIPAddress.setDescription('OID for IP address.')
trapName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 7), DisplayString())
if mibBuilder.loadTexts: trapName.setStatus('mandatory')
if mibBuilder.loadTexts: trapName.setDescription('OID for configured name associated with an IpAddress.')
trapTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 8), DisplayString())
if mibBuilder.loadTexts: trapTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts: trapTimeStamp.setDescription('Indicates the time at which the alarm occurred.')
diskSpaceClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,1001)).setObjects(("InternetThruway-MIB", "partitionSpaceKey"), ("InternetThruway-MIB", "partitionIndex"), ("InternetThruway-MIB", "partitionName"), ("InternetThruway-MIB", "partitionPercentFull"), ("InternetThruway-MIB", "partitionSpaceTimeStamp"))
if mibBuilder.loadTexts: diskSpaceClear.setDescription('The Trap generated when a disk partition has a space increase after a previously sent DiskSpaceAlarm.')
diskSpaceAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,1004)).setObjects(("InternetThruway-MIB", "partitionSpaceKey"), ("InternetThruway-MIB", "partitionIndex"), ("InternetThruway-MIB", "partitionName"), ("InternetThruway-MIB", "partitionPercentFull"), ("InternetThruway-MIB", "partitionSpaceTimeStamp"))
if mibBuilder.loadTexts: diskSpaceAlarm.setDescription('The Trap generated when a disk partition is running out of space provisioned state.')
etherCardTrapClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,1011))
if mibBuilder.loadTexts: etherCardTrapClear.setDescription(' The Trap generated when the external ethernet card becomes available.')
etherCardTrapMajor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,1014))
if mibBuilder.loadTexts: etherCardTrapMajor.setDescription('The Trap generated when the external ethernet card is down.')
etherCardTrapCritical = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,1015))
if mibBuilder.loadTexts: etherCardTrapCritical.setDescription('The Trap generated when the external ethernet card is down.')
compDebugOff = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2001)).setObjects(("InternetThruway-MIB", "compDebugKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compDebugTimeStamp"))
if mibBuilder.loadTexts: compDebugOff.setDescription('The Trap generated when a Component turns off its debug info.')
compDebugOn = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2002)).setObjects(("InternetThruway-MIB", "compDebugKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compDebugTimeStamp"))
if mibBuilder.loadTexts: compDebugOn.setDescription('The Trap generated when a Component turns on its debug info.')
compStateClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2011)).setObjects(("InternetThruway-MIB", "compProvStateKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compProvStateStatus"), ("InternetThruway-MIB", "compSecsInCurrentState"), ("InternetThruway-MIB", "compProvStateTimeStamp"))
if mibBuilder.loadTexts: compStateClear.setDescription('The Trap generated when a component goes to its provisioned states after a CompStatusAlarm trap has been sent.')
compStateAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2014)).setObjects(("InternetThruway-MIB", "compProvStateKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compProvStateStatus"), ("InternetThruway-MIB", "compSecsInCurrentState"), ("InternetThruway-MIB", "compProvStateTimeStamp"))
if mibBuilder.loadTexts: compStateAlarm.setDescription("The Trap generated when a component is not in it's provisioned state.")
restartStateClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2021)).setObjects(("InternetThruway-MIB", "compRestartKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compRestartStatus"), ("InternetThruway-MIB", "compRestartTimeStamp"))
if mibBuilder.loadTexts: restartStateClear.setDescription('The Trap generated when a component goes to its provisioned states after a RestartStateAlarm trap has been sent.')
restartStateAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,2024)).setObjects(("InternetThruway-MIB", "compRestartKey"), ("InternetThruway-MIB", "componentIndex"), ("InternetThruway-MIB", "componentName"), ("InternetThruway-MIB", "compRestartStatus"), ("InternetThruway-MIB", "compRestartTimeStamp"))
if mibBuilder.loadTexts: restartStateAlarm.setDescription('The Trap generated when a component restarts repeatedly.')
ss7LinkFailureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3004)).setObjects(("InternetThruway-MIB", "lfIndex"), ("InternetThruway-MIB", "lfKey"), ("InternetThruway-MIB", "lfIPAddress"), ("InternetThruway-MIB", "lfLinkCode"), ("InternetThruway-MIB", "lfName"), ("InternetThruway-MIB", "lfCardId"), ("InternetThruway-MIB", "lfLinkSet"), ("InternetThruway-MIB", "lfTimeStamp"))
if mibBuilder.loadTexts: ss7LinkFailureAlarm.setDescription('Trap generated for an SS7 link failure.')
ss7LinkFailureClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3001)).setObjects(("InternetThruway-MIB", "lfIndex"), ("InternetThruway-MIB", "lfKey"), ("InternetThruway-MIB", "lfIPAddress"), ("InternetThruway-MIB", "lfLinkCode"), ("InternetThruway-MIB", "lfName"), ("InternetThruway-MIB", "lfCardId"), ("InternetThruway-MIB", "lfLinkSet"), ("InternetThruway-MIB", "lfTimeStamp"))
if mibBuilder.loadTexts: ss7LinkFailureClear.setDescription('Trap generated to clear an SS7 link failure.')
ss7LinkCongestionAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3012)).setObjects(("InternetThruway-MIB", "lcIndex"), ("InternetThruway-MIB", "lcKey"), ("InternetThruway-MIB", "lcIPAddress"), ("InternetThruway-MIB", "lcLinkCode"), ("InternetThruway-MIB", "lcName"), ("InternetThruway-MIB", "lcCardId"), ("InternetThruway-MIB", "lcLinkSet"), ("InternetThruway-MIB", "lcTimeStamp"))
if mibBuilder.loadTexts: ss7LinkCongestionAlarm.setDescription('Trap generated for congestion on an SS7 Link.')
ss7LinkCongestionClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3011)).setObjects(("InternetThruway-MIB", "lcIndex"), ("InternetThruway-MIB", "lcKey"), ("InternetThruway-MIB", "lcIPAddress"), ("InternetThruway-MIB", "lcLinkCode"), ("InternetThruway-MIB", "lcName"), ("InternetThruway-MIB", "lcCardId"), ("InternetThruway-MIB", "lcLinkSet"), ("InternetThruway-MIB", "lcTimeStamp"))
if mibBuilder.loadTexts: ss7LinkCongestionClear.setDescription('Trap generated to indicate there is no longer congestion on an SS7 link.')
ss7ISUPFailureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3025)).setObjects(("InternetThruway-MIB", "ifIndex"), ("InternetThruway-MIB", "ifKey"), ("InternetThruway-MIB", "ifIPAddress"), ("InternetThruway-MIB", "ifName"), ("InternetThruway-MIB", "ifTimeStamp"))
if mibBuilder.loadTexts: ss7ISUPFailureAlarm.setDescription('Trap generated to indicate ISUP failure.')
ss7ISUPFailureClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3021)).setObjects(("InternetThruway-MIB", "ifIndex"), ("InternetThruway-MIB", "ifKey"), ("InternetThruway-MIB", "ifIPAddress"), ("InternetThruway-MIB", "ifName"), ("InternetThruway-MIB", "ifTimeStamp"))
if mibBuilder.loadTexts: ss7ISUPFailureClear.setDescription('Trap generated to clear an ISUP failure alarm.')
ss7ISUPCongestionAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3033)).setObjects(("InternetThruway-MIB", "icIndex"), ("InternetThruway-MIB", "icKey"), ("InternetThruway-MIB", "icIPAddress"), ("InternetThruway-MIB", "icCongestionLevel"), ("InternetThruway-MIB", "icName"), ("InternetThruway-MIB", "icTimeStamp"))
if mibBuilder.loadTexts: ss7ISUPCongestionAlarm.setDescription('Trap generated to indicate congestion with the ISUP protocol stack.')
ss7ISUPCongestionClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3031)).setObjects(("InternetThruway-MIB", "icIndex"), ("InternetThruway-MIB", "icKey"), ("InternetThruway-MIB", "icIPAddress"), ("InternetThruway-MIB", "icCongestionLevel"), ("InternetThruway-MIB", "icName"), ("InternetThruway-MIB", "icTimeStamp"))
if mibBuilder.loadTexts: ss7ISUPCongestionClear.setDescription('Trap generated to indicate there is no longer congestion with the ISUP protocol stack.')
ss7FEPCongestionWarning = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3042)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapIPAddress"), ("InternetThruway-MIB", "trapName"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: ss7FEPCongestionWarning.setDescription('Notification trap generated to indicate congestion encountered by the SS7 front-end process.')
ss7BEPCongestionWarning = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3052)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapIPAddress"), ("InternetThruway-MIB", "trapName"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: ss7BEPCongestionWarning.setDescription('Notification trap generated to indicate congestion encountered by the SS7 back-end process.')
ss7MTP3CongestionMinor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3063)).setObjects(("InternetThruway-MIB", "mtp3Index"), ("InternetThruway-MIB", "mtp3Key"), ("InternetThruway-MIB", "mtp3IPAddress"), ("InternetThruway-MIB", "mtp3Name"), ("InternetThruway-MIB", "mtp3TimeStamp"))
if mibBuilder.loadTexts: ss7MTP3CongestionMinor.setDescription('Trap generated for MTP3 congestion.')
ss7MTP3CongestionMajor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3064)).setObjects(("InternetThruway-MIB", "mtp3Index"), ("InternetThruway-MIB", "mtp3Key"), ("InternetThruway-MIB", "mtp3IPAddress"), ("InternetThruway-MIB", "mtp3Name"), ("InternetThruway-MIB", "mtp3TimeStamp"))
if mibBuilder.loadTexts: ss7MTP3CongestionMajor.setDescription('Trap generated for MTP3 congestion.')
ss7MTP3CongestionCritical = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3065)).setObjects(("InternetThruway-MIB", "mtp3Index"), ("InternetThruway-MIB", "mtp3Key"), ("InternetThruway-MIB", "mtp3IPAddress"), ("InternetThruway-MIB", "mtp3Name"), ("InternetThruway-MIB", "mtp3TimeStamp"))
if mibBuilder.loadTexts: ss7MTP3CongestionCritical.setDescription('Trap generated for MTP3 congestion.')
ss7MTP3CongestionClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3061)).setObjects(("InternetThruway-MIB", "mtp3Index"), ("InternetThruway-MIB", "mtp3Key"), ("InternetThruway-MIB", "mtp3IPAddress"), ("InternetThruway-MIB", "mtp3Name"), ("InternetThruway-MIB", "mtp3TimeStamp"))
if mibBuilder.loadTexts: ss7MTP3CongestionClear.setDescription('Trap generated to indicate there is no longer MTP3 congestion.')
ss7MTP2TrunkFailureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3075)).setObjects(("InternetThruway-MIB", "mtp2Index"), ("InternetThruway-MIB", "mtp2Key"), ("InternetThruway-MIB", "mtp2IPAddress"), ("InternetThruway-MIB", "mtp2Name"), ("InternetThruway-MIB", "mtp2CardId"), ("InternetThruway-MIB", "mtp2AlarmCondition"), ("InternetThruway-MIB", "mtp2TimeStamp"))
if mibBuilder.loadTexts: ss7MTP2TrunkFailureAlarm.setDescription('Trap generated to indicate an MTP2 trunk failure condition.')
ss7MTP2TrunkFailureClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3071)).setObjects(("InternetThruway-MIB", "mtp2Index"), ("InternetThruway-MIB", "mtp2Key"), ("InternetThruway-MIB", "mtp2IPAddress"), ("InternetThruway-MIB", "mtp2Name"), ("InternetThruway-MIB", "mtp2CardId"), ("InternetThruway-MIB", "mtp2TimeStamp"))
if mibBuilder.loadTexts: ss7MTP2TrunkFailureClear.setDescription('Trap generated to clear an MTP2 trunk failure alarm.')
ss7LinksetFailureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3085)).setObjects(("InternetThruway-MIB", "lsFailureIndex"), ("InternetThruway-MIB", "lsFailureKey"), ("InternetThruway-MIB", "lsFailureIPAddress"), ("InternetThruway-MIB", "lsFailureName"), ("InternetThruway-MIB", "lsFailurePointcode"), ("InternetThruway-MIB", "lsFailureTimeStamp"))
if mibBuilder.loadTexts: ss7LinksetFailureAlarm.setDescription('Trap generated to indicate a linkset failure.')
ss7LinksetFailureClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3081)).setObjects(("InternetThruway-MIB", "lsFailureIndex"), ("InternetThruway-MIB", "lsFailureKey"), ("InternetThruway-MIB", "lsFailureIPAddress"), ("InternetThruway-MIB", "lsFailureName"), ("InternetThruway-MIB", "lsFailurePointcode"), ("InternetThruway-MIB", "lsFailureTimeStamp"))
if mibBuilder.loadTexts: ss7LinksetFailureClear.setDescription('Trap generated to clear a linkset failure alarm.')
ss7DestinationInaccessible = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3092)).setObjects(("InternetThruway-MIB", "destInaccessIndex"), ("InternetThruway-MIB", "destInaccessKey"), ("InternetThruway-MIB", "destInaccessIPAddress"), ("InternetThruway-MIB", "destInaccessName"), ("InternetThruway-MIB", "destInaccessPointcode"), ("InternetThruway-MIB", "destInaccessTimeStamp"))
if mibBuilder.loadTexts: ss7DestinationInaccessible.setDescription('Trap generated to indicate that a signalling destination is inaccessible. A destination is considered inaccessible once Transfer Prohibited (TFP) messages are received which indicate that the route to that destination is prohibited.')
ss7DestinationAccessible = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3091)).setObjects(("InternetThruway-MIB", "destInaccessIndex"), ("InternetThruway-MIB", "destInaccessKey"), ("InternetThruway-MIB", "destInaccessIPAddress"), ("InternetThruway-MIB", "destInaccessName"), ("InternetThruway-MIB", "destInaccessPointcode"), ("InternetThruway-MIB", "destInaccessTimeStamp"))
if mibBuilder.loadTexts: ss7DestinationAccessible.setDescription('Trap generated to clear a destination inacessible alarm. An inaccessible signalling destination is considered accessible once Transfer Allowed (TFA) messages are sent along its prohibited signalling routes.')
ss7DestinationCongestedAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3103)).setObjects(("InternetThruway-MIB", "destCongestIndex"), ("InternetThruway-MIB", "destCongestKey"), ("InternetThruway-MIB", "destCongestIPAddress"), ("InternetThruway-MIB", "destCongestName"), ("InternetThruway-MIB", "destCongestPointcode"), ("InternetThruway-MIB", "destCongestCongestionLevel"), ("InternetThruway-MIB", "destCongestTimeStamp"))
if mibBuilder.loadTexts: ss7DestinationCongestedAlarm.setDescription('Trap generated to indicate congestion at an SS7 destination.')
ss7DestinationCongestedClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3101)).setObjects(("InternetThruway-MIB", "destCongestIndex"), ("InternetThruway-MIB", "destCongestKey"), ("InternetThruway-MIB", "destCongestIPAddress"), ("InternetThruway-MIB", "destCongestName"), ("InternetThruway-MIB", "destCongestPointcode"), ("InternetThruway-MIB", "destCongestCongestionLevel"), ("InternetThruway-MIB", "destCongestTimeStamp"))
if mibBuilder.loadTexts: ss7DestinationCongestedClear.setDescription('Trap generated to indicate that there is no longer congestion at an SS7 destination.')
ss7LinkAlignmentFailureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3114)).setObjects(("InternetThruway-MIB", "linkAlignIndex"), ("InternetThruway-MIB", "linkAlignKey"), ("InternetThruway-MIB", "linkAlignIPAddress"), ("InternetThruway-MIB", "linkAlignName"), ("InternetThruway-MIB", "linkAlignLinkCode"), ("InternetThruway-MIB", "linkAlignCardId"), ("InternetThruway-MIB", "linkAlignLinkSet"), ("InternetThruway-MIB", "linkAlignTimeStamp"))
if mibBuilder.loadTexts: ss7LinkAlignmentFailureAlarm.setDescription('Trap generated to indicate alignment failure on a datalink.')
ss7LinkAlignmentFailureClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,3111)).setObjects(("InternetThruway-MIB", "linkAlignIndex"), ("InternetThruway-MIB", "linkAlignKey"), ("InternetThruway-MIB", "linkAlignIPAddress"), ("InternetThruway-MIB", "linkAlignName"), ("InternetThruway-MIB", "linkAlignLinkCode"), ("InternetThruway-MIB", "linkAlignCardId"), ("InternetThruway-MIB", "linkAlignLinkSet"), ("InternetThruway-MIB", "linkAlignTimeStamp"))
if mibBuilder.loadTexts: ss7LinkAlignmentFailureClear.setDescription('Trap generated to clear a datalink alignment failure alarm.')
ncLostServerTrap = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4014)).setObjects(("InternetThruway-MIB", "lsIndex"), ("InternetThruway-MIB", "lsKey"), ("InternetThruway-MIB", "lsName"), ("InternetThruway-MIB", "lsIPAddress"), ("InternetThruway-MIB", "lsTimeStamp"))
if mibBuilder.loadTexts: ncLostServerTrap.setDescription('This trap is generated when the CSG loses contact with its peer in the cluster. The variables in this trap identify the server that has been lost. The originator of this trap is implicitly defined.')
ncFoundServerTrap = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4011)).setObjects(("InternetThruway-MIB", "lsIndex"), ("InternetThruway-MIB", "lsKey"), ("InternetThruway-MIB", "lsName"), ("InternetThruway-MIB", "lsIPAddress"), ("InternetThruway-MIB", "lsTimeStamp"))
if mibBuilder.loadTexts: ncFoundServerTrap.setDescription('This trap is generated when the initially comes into contact with or regains contact with its peer in the cluster. The variables in this trap identify the server that has been found. The originator of this trap is implicitly defined.')
ncStateChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4022)).setObjects(("InternetThruway-MIB", "ncEthernetName"), ("InternetThruway-MIB", "ncEthernetIP"), ("InternetThruway-MIB", "ncOperationalState"), ("InternetThruway-MIB", "ncStandbyState"), ("InternetThruway-MIB", "ncAvailabilityState"))
if mibBuilder.loadTexts: ncStateChangeTrap.setDescription('This trap is generated when any of the state values change.')
csgComplexStateTrapClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4031)).setObjects(("InternetThruway-MIB", "cplxName"), ("InternetThruway-MIB", "cplxLocEthernetName"), ("InternetThruway-MIB", "cplxLocEthernetIP"), ("InternetThruway-MIB", "cplxLocOperationalState"), ("InternetThruway-MIB", "cplxLocStandbyState"), ("InternetThruway-MIB", "cplxLocAvailabilityState"), ("InternetThruway-MIB", "cplxMateEthernetName"), ("InternetThruway-MIB", "cplxMateEthernetIP"), ("InternetThruway-MIB", "cplxMateOperationalState"), ("InternetThruway-MIB", "cplxMateStandbyState"), ("InternetThruway-MIB", "cplxMateAvailabilityState"), ("InternetThruway-MIB", "cplxAlarmStatus"))
if mibBuilder.loadTexts: csgComplexStateTrapClear.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
csgComplexStateTrapMajor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4034)).setObjects(("InternetThruway-MIB", "cplxName"), ("InternetThruway-MIB", "cplxLocEthernetName"), ("InternetThruway-MIB", "cplxLocEthernetIP"), ("InternetThruway-MIB", "cplxLocOperationalState"), ("InternetThruway-MIB", "cplxLocStandbyState"), ("InternetThruway-MIB", "cplxLocAvailabilityState"), ("InternetThruway-MIB", "cplxMateEthernetName"), ("InternetThruway-MIB", "cplxMateEthernetIP"), ("InternetThruway-MIB", "cplxMateOperationalState"), ("InternetThruway-MIB", "cplxMateStandbyState"), ("InternetThruway-MIB", "cplxMateAvailabilityState"), ("InternetThruway-MIB", "cplxAlarmStatus"))
if mibBuilder.loadTexts: csgComplexStateTrapMajor.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
csgComplexStateTrapCritical = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4035)).setObjects(("InternetThruway-MIB", "cplxName"), ("InternetThruway-MIB", "cplxLocEthernetName"), ("InternetThruway-MIB", "cplxLocEthernetIP"), ("InternetThruway-MIB", "cplxLocOperationalState"), ("InternetThruway-MIB", "cplxLocStandbyState"), ("InternetThruway-MIB", "cplxLocAvailabilityState"), ("InternetThruway-MIB", "cplxMateEthernetName"), ("InternetThruway-MIB", "cplxMateEthernetIP"), ("InternetThruway-MIB", "cplxMateOperationalState"), ("InternetThruway-MIB", "cplxMateStandbyState"), ("InternetThruway-MIB", "cplxMateAvailabilityState"), ("InternetThruway-MIB", "cplxAlarmStatus"))
if mibBuilder.loadTexts: csgComplexStateTrapCritical.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
cisRetrievalFailureTrapMajor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,4044))
if mibBuilder.loadTexts: cisRetrievalFailureTrapMajor.setDescription('This trap is generated when the TruCluster ASE information retrieval attempts failed repeatedly. ')
genericNormal = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9001)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapGenericStr1"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: genericNormal.setDescription('The Trap generated for generic normal priority text messages')
genericWarning = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9002)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapGenericStr1"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: genericWarning.setDescription('The Trap generated for generic warning priority text messages')
genericMinor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9003)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapGenericStr1"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: genericMinor.setDescription('The Trap generated for generic minor priority text messages')
genericMajor = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9004)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapGenericStr1"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: genericMajor.setDescription('The Trap generated for generic major priority text messages')
genericCritical = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9005)).setObjects(("InternetThruway-MIB", "trapIdKey"), ("InternetThruway-MIB", "trapGenericStr1"), ("InternetThruway-MIB", "trapTimeStamp"))
if mibBuilder.loadTexts: genericCritical.setDescription('The Trap generated for generic critical priority text messages')
hgStatusClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9011)).setObjects(("InternetThruway-MIB", "hgKey"), ("InternetThruway-MIB", "hgIndex"), ("InternetThruway-MIB", "hgName"), ("InternetThruway-MIB", "hgIPAddress"), ("InternetThruway-MIB", "hgAlarmTimeStamp"))
if mibBuilder.loadTexts: hgStatusClear.setDescription('The Trap generated when a Home Gateway Status returns to normal after having previously been in the failed status.')
hgStatusAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9014)).setObjects(("InternetThruway-MIB", "hgKey"), ("InternetThruway-MIB", "hgIndex"), ("InternetThruway-MIB", "hgName"), ("InternetThruway-MIB", "hgIPAddress"), ("InternetThruway-MIB", "hgAlarmTimeStamp"))
if mibBuilder.loadTexts: hgStatusAlarm.setDescription('The Trap generated when a Home Gateway is indicated to be failed.')
nasStatusClear = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9021)).setObjects(("InternetThruway-MIB", "nasKey"), ("InternetThruway-MIB", "nasIndex"), ("InternetThruway-MIB", "nasName"), ("InternetThruway-MIB", "nasIPAddress"), ("InternetThruway-MIB", "nasAlarmTimeStamp"), ("InternetThruway-MIB", "nasCmplxName"))
if mibBuilder.loadTexts: nasStatusClear.setDescription('The Trap generated when a rapport registers after having previously been in the failed status.')
nasStatusAlarm = NotificationType((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0,9024)).setObjects(("InternetThruway-MIB", "nasKey"), ("InternetThruway-MIB", "nasIndex"), ("InternetThruway-MIB", "nasName"), ("InternetThruway-MIB", "nasIPAddress"), ("InternetThruway-MIB", "nasAlarmTimeStamp"), ("InternetThruway-MIB", "nasCmplxName"))
if mibBuilder.loadTexts: nasStatusAlarm.setDescription('The Trap generated when a Nas is indicated to be failed.')
linkOMTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1), )
if mibBuilder.loadTexts: linkOMTable.setStatus('mandatory')
if mibBuilder.loadTexts: linkOMTable.setDescription('The LinkTable contains information about each signaling link on the CSG')
linkOMTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "linksetIndex"), (0, "InternetThruway-MIB", "linkIndex"))
if mibBuilder.loadTexts: linkOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: linkOMTableEntry.setDescription('An entry in the LinkTable. Indexed by linkIndex')
linkOMId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOMId.setStatus('mandatory')
if mibBuilder.loadTexts: linkOMId.setDescription('The id of the link.')
linkOMSetId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOMSetId.setStatus('mandatory')
if mibBuilder.loadTexts: linkOMSetId.setDescription('The id of the linkset.')
linkFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkFailures.setStatus('mandatory')
if mibBuilder.loadTexts: linkFailures.setDescription('Number of times this signaling link has failed.')
linkCongestions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkCongestions.setStatus('mandatory')
if mibBuilder.loadTexts: linkCongestions.setDescription('Number of times this signaling link has Congested.')
linkInhibits = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkInhibits.setStatus('mandatory')
if mibBuilder.loadTexts: linkInhibits.setDescription('Number of times this signaling link has been inhibited.')
linkTransmittedMSUs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkTransmittedMSUs.setStatus('mandatory')
if mibBuilder.loadTexts: linkTransmittedMSUs.setDescription('Number of messages sent on this signaling link.')
linkReceivedMSUs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkReceivedMSUs.setStatus('mandatory')
if mibBuilder.loadTexts: linkReceivedMSUs.setDescription('Number of messages received on this signaling link.')
linkRemoteProcOutages = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkRemoteProcOutages.setStatus('mandatory')
if mibBuilder.loadTexts: linkRemoteProcOutages.setDescription('Number of times the remote processor outgaes have been reported.')
bLATimerExpiries = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bLATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts: bLATimerExpiries.setDescription('Number of times the BLA timer has expired.')
rLCTimerExpiries = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rLCTimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts: rLCTimerExpiries.setDescription('Number of times the RLC timer has expired.')
uBATimerExpiries = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: uBATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts: uBATimerExpiries.setDescription('Number of times the UBA timer has expired.')
rSATimerExpiries = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rSATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts: rSATimerExpiries.setDescription('Number of times the RSA timer has expired.')
outCallAttempts = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: outCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: outCallAttempts.setDescription('Total number of outgoing call legs attempted.')
outCallNormalCompletions = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: outCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: outCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
outCallAbnormalCompletions = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: outCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: outCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
userBusyOutCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: userBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: userBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
tempFailOutCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: tempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: tempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
userUnavailableOutCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: userUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: userUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
abnormalReleaseOutCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: abnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: abnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
otherOutCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: otherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: otherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
cumulativeActiveOutCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: cumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
currentlyActiveOutCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
currentlyActiveDigitalOutCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
currentlyActiveAnalogOutCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
inCallAttempts = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: inCallAttempts.setDescription('Total number of incoming call legs attempted.')
inCallNormalCompletions = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: inCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
inCallAbnormalCompletions = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: inCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
userBusyInCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: userBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: userBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
tempFailInCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: tempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: tempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
userUnavailableInCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: userUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: userUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
abnormalReleaseInCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: abnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: abnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
otherInCallRejects = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: otherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: otherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
cumulativeActiveInCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: cumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
currentlyActiveInCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
currentlyActiveDigitalInCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
currentlyActiveAnalogInCalls = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: currentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: currentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
trunkCallOMTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1), )
if mibBuilder.loadTexts: trunkCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCallOMTable.setDescription('The TrunkCallOMTable contains call related OMs on a trunk group basis')
trunkCallOMTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "trunkCallOMIndex"))
if mibBuilder.loadTexts: trunkCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCallOMTableEntry.setDescription('An entry in the TrunkCallOMTable. Indexed by trunkCallOMIndex.')
trunkCallOMIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: trunkCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCallOMIndex.setDescription('Identifies a trunk group index.')
trunkGroupCLLI = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkGroupCLLI.setStatus('mandatory')
if mibBuilder.loadTexts: trunkGroupCLLI.setDescription('The Common Language Location Identifier(CLLI), a unique alphanumeric value to identify this Trunk Group.')
numberOfCircuits = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: numberOfCircuits.setStatus('mandatory')
if mibBuilder.loadTexts: numberOfCircuits.setDescription('Total Number of Circuits provisioned against this trunk group.')
trunkOutCallAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOutCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOutCallAttempts.setDescription('Total number of outgoing call legs attempted.')
trunkOutCallNormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOutCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOutCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
trunkOutCallAbnormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOutCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOutCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
trunkUserBusyOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkUserBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkUserBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
trunkTempFailOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkTempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkTempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
trunkUserUnavailableOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkUserUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkUserUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
trunkAbnormalReleaseOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkAbnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkAbnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
trunkOtherOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOtherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOtherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
trunkCumulativeActiveOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
trunkCurrentlyActiveOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
trunkCurrentlyActiveDigitalOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
trunkCurrentlyActiveAnalogOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
trunkInCallAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkInCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: trunkInCallAttempts.setDescription('Total number of incoming call legs attempted.')
trunkInCallNormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkInCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: trunkInCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
trunkInCallAbnormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkInCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: trunkInCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
trunkUserBusyInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkUserBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkUserBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
trunkTempFailInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkTempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkTempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
trunkUserUnavailableInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkUserUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkUserUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
trunkAbnormalReleaseInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkAbnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkAbnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
trunkOtherInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOtherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOtherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
trunkCumulativeActiveInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
trunkCurrentlyActiveInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
trunkCurrentlyActiveDigitalInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
trunkCurrentlyActiveAnalogInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkCurrentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkCurrentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
trunkAllActiveCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkAllActiveCalls.setStatus('mandatory')
if mibBuilder.loadTexts: trunkAllActiveCalls.setDescription('Total number of currently active call legs (all type).')
trunkOccupancyPerCCS = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 29), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trunkOccupancyPerCCS.setStatus('mandatory')
if mibBuilder.loadTexts: trunkOccupancyPerCCS.setDescription('Trunk occupancy in Centum Call Seconds.')
trafficInCCSs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts: trafficInCCSs.setDescription('Scanned om for tgms that are call busy')
trafficInCCSIncomings = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficInCCSIncomings.setStatus('mandatory')
if mibBuilder.loadTexts: trafficInCCSIncomings.setDescription('Scanned Om on tgms with an incoming call.')
localBusyInCCSs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: localBusyInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts: localBusyInCCSs.setDescription('Scanned om for tgms that are locally blocked.')
remoteBusyInCCSs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: remoteBusyInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts: remoteBusyInCCSs.setDescription('Scanned om for tgms that are remoteley blocked.')
nasCallOMTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1), )
if mibBuilder.loadTexts: nasCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts: nasCallOMTable.setDescription('The NasCallOMTable contains call related OMs on a nas basis')
nasCallOMTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "nasCallOMIndex"))
if mibBuilder.loadTexts: nasCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: nasCallOMTableEntry.setDescription('An entry in the NasCallOMTable. Indexed by nasCallOMIndex.')
nasCallOMIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: nasCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts: nasCallOMIndex.setDescription('Identifies a nas Call OM .')
nasName1 = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasName1.setStatus('mandatory')
if mibBuilder.loadTexts: nasName1.setDescription('A unique alphanumeric value to identify this Nas.')
numberOfPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: numberOfPorts.setStatus('mandatory')
if mibBuilder.loadTexts: numberOfPorts.setDescription('Total Number of Ports provisioned against this nas.')
nasOutCallAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasOutCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: nasOutCallAttempts.setDescription('Total number of outgoing call legs attempted.')
nasOutCallNormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasOutCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: nasOutCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
nasOutCallAbnormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasOutCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: nasOutCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
nasUserBusyOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasUserBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasUserBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
nasTempFailOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasTempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasTempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
nasUserUnavailableOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasUserUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasUserUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
nasAbnormalReleaseOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasAbnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasAbnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
nasOtherOutCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasOtherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasOtherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
nasCumulativeActiveOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
nasCurrentlyActiveOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
nasCurrentlyActiveDigitalOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
nasCurrentlyActiveAnalogOutCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
nasInCallAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasInCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: nasInCallAttempts.setDescription('Total number of incoming call legs attempted.')
nasInCallNormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasInCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: nasInCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
nasInCallAbnormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasInCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: nasInCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
nasUserBusyInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasUserBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasUserBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
nasTempFailInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasTempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasTempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
nasUserUnavailableInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasUserUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasUserUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
nasAbnormalReleaseInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasAbnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasAbnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
nasOtherInCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasOtherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: nasOtherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
nasCumulativeActiveInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
nasCurrentlyActiveInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
nasCurrentlyActiveDigitalInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
nasCurrentlyActiveAnalogInCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
nasAllActiveCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasAllActiveCalls.setStatus('mandatory')
if mibBuilder.loadTexts: nasAllActiveCalls.setDescription('Total number of currently active call legs (all type).')
nasMaxPortsUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 29), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasMaxPortsUsed.setStatus('mandatory')
if mibBuilder.loadTexts: nasMaxPortsUsed.setDescription('Maximum number of ports used in this nas since the last system restart.')
nasMinPortsUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 30), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasMinPortsUsed.setStatus('mandatory')
if mibBuilder.loadTexts: nasMinPortsUsed.setDescription('Minimum number of ports used in this nas since the last system restart.')
nasCurrentlyInUsePorts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 31), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nasCurrentlyInUsePorts.setStatus('mandatory')
if mibBuilder.loadTexts: nasCurrentlyInUsePorts.setDescription('Number of ports currently in use.')
phoneCallOMTable = MibTable((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1), )
if mibBuilder.loadTexts: phoneCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCallOMTable.setDescription('The PhoneCallOMTable contains call related OMs on a phone number basis')
phoneCallOMTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1), ).setIndexNames((0, "InternetThruway-MIB", "phoneCallOMIndex"))
if mibBuilder.loadTexts: phoneCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCallOMTableEntry.setDescription('An entry in the PhoneCallOMTable. Indexed by phoneGroupIndex.')
phoneCallOMIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: phoneCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCallOMIndex.setDescription('Uniquely identifies an entry in this table.')
phoneNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneNumber.setStatus('mandatory')
if mibBuilder.loadTexts: phoneNumber.setDescription('Phone number for the underlying Call OM record.')
phoneDialCallAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneDialCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts: phoneDialCallAttempts.setDescription('Total number of dial calls attempted.')
phoneDialCallNormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneDialCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: phoneDialCallNormalCompletions.setDescription('Total number of dial calls completed normally.')
phoneDialCallAbnormalCompletions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneDialCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts: phoneDialCallAbnormalCompletions.setDescription('Total number of dial calls completed abnormally.')
phoneUserBusyDialCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneUserBusyDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: phoneUserBusyDialCallRejects.setDescription('Total Number of dial calls rejected due to user busy signal.')
phoneTempFailDialCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneTempFailDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: phoneTempFailDialCallRejects.setDescription('Total Number of dial calls rejected due to temporary failure.')
phoneUserUnavailableDialCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneUserUnavailableDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: phoneUserUnavailableDialCallRejects.setDescription('Total number of dial calls failed due to user not available.')
phoneAbnormalReleaseDialCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneAbnormalReleaseDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: phoneAbnormalReleaseDialCallRejects.setDescription('Total Number of dial calls rejected due to abnormal release.')
phoneOtherDialCallRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneOtherDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts: phoneOtherDialCallRejects.setDescription('Total Number of dial calls rejected due to other reasons.')
phoneCumulativeActiveDialCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneCumulativeActiveDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCumulativeActiveDialCalls.setDescription('Cumulatvie Number of dial calls active so far.')
phoneCurrentlyActiveDialCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneCurrentlyActiveDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCurrentlyActiveDialCalls.setDescription('Total Number of dial calls currently active.')
phoneCurrentlyActiveDigitalDialCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneCurrentlyActiveDigitalDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCurrentlyActiveDigitalDialCalls.setDescription('Total Number of digital dial calls currently active.')
phoneCurrentlyActiveAnalogDialCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: phoneCurrentlyActiveAnalogDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts: phoneCurrentlyActiveAnalogDialCalls.setDescription('Total Number of analog dial calls currently active.')
csgComplexCLLI = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: csgComplexCLLI.setStatus('mandatory')
if mibBuilder.loadTexts: csgComplexCLLI.setDescription('A unique identifier of the CSG Complex.')
serverHostName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: serverHostName.setStatus('mandatory')
if mibBuilder.loadTexts: serverHostName.setDescription('Host Name of this server.')
serverIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: serverIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts: serverIpAddress.setDescription('IP address of this server.')
serverCLLI = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: serverCLLI.setStatus('mandatory')
if mibBuilder.loadTexts: serverCLLI.setDescription('A unique identifier of this server (common in the telco world).')
mateServerHostName = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mateServerHostName.setStatus('mandatory')
if mibBuilder.loadTexts: mateServerHostName.setDescription('Host Name of this server.')
mateServerIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 6), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mateServerIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts: mateServerIpAddress.setDescription('IP address of this server.')
serverMemSize = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: serverMemSize.setStatus('mandatory')
if mibBuilder.loadTexts: serverMemSize.setDescription('Memory size in mega bytes of this server.')
provisionedDPCs = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: provisionedDPCs.setStatus('mandatory')
if mibBuilder.loadTexts: provisionedDPCs.setDescription('Number of destination point codes provisioned.')
provisionedCircuits = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: provisionedCircuits.setStatus('mandatory')
if mibBuilder.loadTexts: provisionedCircuits.setDescription('Number of circuits provisioned.')
inserviceCircuits = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inserviceCircuits.setStatus('mandatory')
if mibBuilder.loadTexts: inserviceCircuits.setDescription('Number of circuits in service. This number goes up or down at any given time.')
provisionedNASes = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: provisionedNASes.setStatus('mandatory')
if mibBuilder.loadTexts: provisionedNASes.setDescription('Number of NASes provisioned.')
aliveNASes = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: aliveNASes.setStatus('mandatory')
if mibBuilder.loadTexts: aliveNASes.setDescription('Number of NASes known to be alive. This number goes up or down at any given time.')
inserviceNASes = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inserviceNASes.setStatus('mandatory')
if mibBuilder.loadTexts: inserviceNASes.setDescription('Number of NASes in service. This number goes up or down at any given time.')
provsionedCards = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: provsionedCards.setStatus('mandatory')
if mibBuilder.loadTexts: provsionedCards.setDescription('Number of NAS cards provisioned.')
inserviceCards = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inserviceCards.setStatus('mandatory')
if mibBuilder.loadTexts: inserviceCards.setDescription('Number of NAS cards in service. This number goes up or down at any given time.')
provisionedPorts = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: provisionedPorts.setStatus('mandatory')
if mibBuilder.loadTexts: provisionedPorts.setDescription('Number of ports provisioned.')
inservicePorts = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: inservicePorts.setStatus('mandatory')
if mibBuilder.loadTexts: inservicePorts.setDescription('Number of ports in service. This number goes up or down at any given time.')
userCPUUsage = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: userCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts: userCPUUsage.setDescription('Percentage of CPU used in user domain. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
systemCPUUsage = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts: systemCPUUsage.setDescription('Percentage of CPU used in system domain in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
totalCPUUsage = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: totalCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts: totalCPUUsage.setDescription('Percentage of CPU used in total in this server Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
maxCPUUsage = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: maxCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts: maxCPUUsage.setDescription('High water measurement. Maximum CPU Usage (%) in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
avgLoad = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: avgLoad.setStatus('mandatory')
if mibBuilder.loadTexts: avgLoad.setDescription('Average CPU load factor in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
systemCallRate = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemCallRate.setStatus('mandatory')
if mibBuilder.loadTexts: systemCallRate.setDescription('System Call rate (per second) in this Cserver. Survman computes this value in every 600 seconds. The value stored in the MIB will be the one computed the last time.')
contextSwitchRate = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: contextSwitchRate.setStatus('mandatory')
if mibBuilder.loadTexts: contextSwitchRate.setDescription('Process context switching rate (per second) in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the one computed the last time.')
lastUpdateOMFile = MibScalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 26), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lastUpdateOMFile.setStatus('mandatory')
if mibBuilder.loadTexts: lastUpdateOMFile.setDescription('Name of the last updated OM file.')
mibBuilder.exportSymbols("InternetThruway-MIB", cplxMateStandbyState=cplxMateStandbyState, icTimeStamp=icTimeStamp, linkAlignLinkSet=linkAlignLinkSet, nasUserUnavailableInCallRejects=nasUserUnavailableInCallRejects, phoneCallOMIndex=phoneCallOMIndex, linkOMs=linkOMs, hgIPAddress=hgIPAddress, ss7MTP2TrunkFailureAlarmTableEntry=ss7MTP2TrunkFailureAlarmTableEntry, componentIndex=componentIndex, lsIPAddress=lsIPAddress, RouteState=RouteState, ncLostServerTrap=ncLostServerTrap, LinksetState=LinksetState, nasCallOMTableEntry=nasCallOMTableEntry, trunkOccupancyPerCCS=trunkOccupancyPerCCS, routeIndex=routeIndex, destCongestPointcode=destCongestPointcode, userBusyOutCallRejects=userBusyOutCallRejects, componentTable=componentTable, routeTable=routeTable, ss7DestinationAccessible=ss7DestinationAccessible, ss7LinkCongestionAlarmTableEntry=ss7LinkCongestionAlarmTableEntry, partitionSpaceTimeStamp=partitionSpaceTimeStamp, lcKey=lcKey, nasCurrentlyActiveDigitalOutCalls=nasCurrentlyActiveDigitalOutCalls, destInaccessPointcode=destInaccessPointcode, trunkUserUnavailableOutCallRejects=trunkUserUnavailableOutCallRejects, LinkAlignmentState=LinkAlignmentState, trunkOtherOutCallRejects=trunkOtherOutCallRejects, ss7ISUPFailureAlarmTableEntry=ss7ISUPFailureAlarmTableEntry, trunkOtherInCallRejects=trunkOtherInCallRejects, lcLinkSet=lcLinkSet, lsKey=lsKey, ss7FEPCongestionWarning=ss7FEPCongestionWarning, ss7BEPCongestionWarning=ss7BEPCongestionWarning, provisionedPorts=provisionedPorts, nasUserUnavailableOutCallRejects=nasUserUnavailableOutCallRejects, phoneDialCallNormalCompletions=phoneDialCallNormalCompletions, ss7DestinationCongestedAlarm=ss7DestinationCongestedAlarm, cplxMateAvailabilityState=cplxMateAvailabilityState, totalCPUUsage=totalCPUUsage, provsionedCards=provsionedCards, compDebugStatus=compDebugStatus, provisionedNASes=provisionedNASes, trafficInCCSs=trafficInCCSs, currentlyActiveInCalls=currentlyActiveInCalls, cplxMateOperationalState=cplxMateOperationalState, nasStatusAlarm=nasStatusAlarm, nasAlarmTableEntry=nasAlarmTableEntry, PartitionSpaceStatus=PartitionSpaceStatus, linksetTableEntry=linksetTableEntry, rSATimerExpiries=rSATimerExpiries, mtp2CardId=mtp2CardId, compStateAlarm=compStateAlarm, mtp2Key=mtp2Key, ss7DestinationInaccessibleAlarmTable=ss7DestinationInaccessibleAlarmTable, nasIPAddress=nasIPAddress, inserviceNASes=inserviceNASes, linkOMTableEntry=linkOMTableEntry, nasUserBusyInCallRejects=nasUserBusyInCallRejects, lcIPAddress=lcIPAddress, hgName=hgName, phoneNumberOMs=phoneNumberOMs, linkNumSIFReceived=linkNumSIFReceived, numberOfPorts=numberOfPorts, lsName=lsName, lfCardId=lfCardId, icIndex=icIndex, provisionedDPCs=provisionedDPCs, lfIPAddress=lfIPAddress, lostServerAlarmTableEntry=lostServerAlarmTableEntry, mateServerIpAddress=mateServerIpAddress, cumulativeActiveOutCalls=cumulativeActiveOutCalls, nasCurrentlyActiveOutCalls=nasCurrentlyActiveOutCalls, nasInCallAbnormalCompletions=nasInCallAbnormalCompletions, lsFailureTimeStamp=lsFailureTimeStamp, alarmStatusInt1=alarmStatusInt1, csgComplexStateTrapClear=csgComplexStateTrapClear, partitionPercentFull=partitionPercentFull, systemCPUUsage=systemCPUUsage, destPointCode=destPointCode, destInaccessIndex=destInaccessIndex, nasTempFailInCallRejects=nasTempFailInCallRejects, destinationTable=destinationTable, destinationTableEntry=destinationTableEntry, trunkGroupCLLI=trunkGroupCLLI, nasName=nasName, TimeString=TimeString, currentlyActiveDigitalInCalls=currentlyActiveDigitalInCalls, linksetTable=linksetTable, cplxLocEthernetName=cplxLocEthernetName, genericWarning=genericWarning, phoneDialCallAttempts=phoneDialCallAttempts, ss7MTP2TrunkFailureAlarm=ss7MTP2TrunkFailureAlarm, compRestartKey=compRestartKey, linkAlignIPAddress=linkAlignIPAddress, nasCurrentlyActiveInCalls=nasCurrentlyActiveInCalls, linkFailures=linkFailures, ss7MTP3CongestionCritical=ss7MTP3CongestionCritical, contextSwitchRate=contextSwitchRate, nasCumulativeActiveOutCalls=nasCumulativeActiveOutCalls, compDebugKey=compDebugKey, rLCTimerExpiries=rLCTimerExpiries, routeId=routeId, userUnavailableInCallRejects=userUnavailableInCallRejects, outCallNormalCompletions=outCallNormalCompletions, linkHostname=linkHostname, nasCallOMTable=nasCallOMTable, compProvStateStatus=compProvStateStatus, phoneOtherDialCallRejects=phoneOtherDialCallRejects, cisRetrievalFailureTrapMajor=cisRetrievalFailureTrapMajor, maintenanceOMs=maintenanceOMs, trunkOutCallAttempts=trunkOutCallAttempts, phoneNumber=phoneNumber, icName=icName, ncSoftwareVersion=ncSoftwareVersion, linkIndex=linkIndex, ss7DestinationCongestedAlarmTableEntry=ss7DestinationCongestedAlarmTableEntry, ifTimeStamp=ifTimeStamp, partitionSpaceStatus=partitionSpaceStatus, linkCardDeviceName=linkCardDeviceName, maxCPUUsage=maxCPUUsage, mateServerHostName=mateServerHostName, linkNumMSUDiscarded=linkNumMSUDiscarded, inCallAbnormalCompletions=inCallAbnormalCompletions, ncServerId=ncServerId, serverCLLI=serverCLLI, inservicePorts=inservicePorts, ncEthernetName=ncEthernetName, nasMaxPortsUsed=nasMaxPortsUsed, lsTimeStamp=lsTimeStamp, ss7LinkAlignmentFailureClear=ss7LinkAlignmentFailureClear, phoneCurrentlyActiveDialCalls=phoneCurrentlyActiveDialCalls, phoneUserUnavailableDialCallRejects=phoneUserUnavailableDialCallRejects, csg=csg, ncFoundServerTrap=ncFoundServerTrap, systemOMs=systemOMs, ncClusterIP=ncClusterIP, compSecsInCurrentState=compSecsInCurrentState, abnormalReleaseInCallRejects=abnormalReleaseInCallRejects, nasCumulativeActiveInCalls=nasCumulativeActiveInCalls, ncAvailabilityState=ncAvailabilityState, inserviceCards=inserviceCards, trunkCumulativeActiveOutCalls=trunkCumulativeActiveOutCalls, linkAlignTimeStamp=linkAlignTimeStamp, hgAlarmTableEntry=hgAlarmTableEntry, trunkUserBusyInCallRejects=trunkUserBusyInCallRejects, csgComplexCLLI=csgComplexCLLI, linkAlignLinkCode=linkAlignLinkCode, destState=destState, ifIndex=ifIndex, ss7LinksetFailureAlarmTable=ss7LinksetFailureAlarmTable, uBATimerExpiries=uBATimerExpiries, ss7DestinationCongestedAlarmTable=ss7DestinationCongestedAlarmTable, alarmMaskInt1=alarmMaskInt1, lfKey=lfKey, lastUpdateOMFile=lastUpdateOMFile, linkAlignCardId=linkAlignCardId, genericNormal=genericNormal, lfLinkCode=lfLinkCode, lcTimeStamp=lcTimeStamp, nasStatusClear=nasStatusClear, currentlyActiveDigitalOutCalls=currentlyActiveDigitalOutCalls, LinkCongestionState=LinkCongestionState, nasKey=nasKey, cplxLocOperationalState=cplxLocOperationalState, linkNumMSUTransmitted=linkNumMSUTransmitted, linkCongestions=linkCongestions, ncStandbyState=ncStandbyState, ss7ISUPCongestionAlarmTable=ss7ISUPCongestionAlarmTable, nasOtherOutCallRejects=nasOtherOutCallRejects, linkInhibitionState=linkInhibitionState, genericMinor=genericMinor, hgAlarmTable=hgAlarmTable, ncOperationalState=ncOperationalState, phoneCurrentlyActiveAnalogDialCalls=phoneCurrentlyActiveAnalogDialCalls, trunkUserUnavailableInCallRejects=trunkUserUnavailableInCallRejects, UpgradeInProgress=UpgradeInProgress, alarms=alarms, compDebugTimeStamp=compDebugTimeStamp, cplxMateEthernetIP=cplxMateEthernetIP, trunkCallOMIndex=trunkCallOMIndex, lfName=lfName, userBusyInCallRejects=userBusyInCallRejects, linkRemoteProcOutages=linkRemoteProcOutages, trapGenericStr1=trapGenericStr1, linkAlignKey=linkAlignKey, genericCritical=genericCritical, abnormalReleaseOutCallRejects=abnormalReleaseOutCallRejects, ncServer=ncServer, compProvStateTimeStamp=compProvStateTimeStamp, ss7LinkAlignmentAlarmTableEntry=ss7LinkAlignmentAlarmTableEntry, mtp3Name=mtp3Name, destCongestKey=destCongestKey, hgStatusClear=hgStatusClear, trapName=trapName, userCPUUsage=userCPUUsage, linkOMTable=linkOMTable, ss7ISUPFailureAlarm=ss7ISUPFailureAlarm, ss7MTP3CongestionMinor=ss7MTP3CongestionMinor, partitionIndex=partitionIndex, genericMajor=genericMajor, lcLinkCode=lcLinkCode, alarmMaskInt2=alarmMaskInt2, ncStateChangeTrap=ncStateChangeTrap, ss7MTP3CongestionAlarmTable=ss7MTP3CongestionAlarmTable, remoteBusyInCCSs=remoteBusyInCCSs, csgComplexStateTrapInfo=csgComplexStateTrapInfo, aliveNASes=aliveNASes, destCongestIPAddress=destCongestIPAddress, trunkGroupOMs=trunkGroupOMs, otherOutCallRejects=otherOutCallRejects, lsFailurePointcode=lsFailurePointcode, trapFileName=trapFileName, ss7LinkAlignmentAlarmTable=ss7LinkAlignmentAlarmTable, destIndex=destIndex, destCongestName=destCongestName, nasCurrentlyInUsePorts=nasCurrentlyInUsePorts, systemCallRate=systemCallRate, mtp2TimeStamp=mtp2TimeStamp, linkNumUnexpectedMsgs=linkNumUnexpectedMsgs, trapCompName=trapCompName, linkNumSIFTransmitted=linkNumSIFTransmitted, ncEthernetIP=ncEthernetIP, nortel=nortel, tempFailOutCallRejects=tempFailOutCallRejects, inserviceCircuits=inserviceCircuits, destInaccessIPAddress=destInaccessIPAddress, linksetState=linksetState, cplxLocAvailabilityState=cplxLocAvailabilityState, nasOutCallAbnormalCompletions=nasOutCallAbnormalCompletions, ss7LinkFailureAlarmTable=ss7LinkFailureAlarmTable, ss7LinkCongestionAlarm=ss7LinkCongestionAlarm, restartStateClear=restartStateClear, alarmStatusInt2=alarmStatusInt2, trunkCurrentlyActiveDigitalInCalls=trunkCurrentlyActiveDigitalInCalls, ss7ISUPCongestionClear=ss7ISUPCongestionClear, lfIndex=lfIndex, linkTableEntry=linkTableEntry, mtp2Name=mtp2Name, mtp3IPAddress=mtp3IPAddress, ncUpgradeInProgress=ncUpgradeInProgress, nasOutCallAttempts=nasOutCallAttempts, lfLinkSet=lfLinkSet, provisionedCircuits=provisionedCircuits, partitionTable=partitionTable, ss7LinkCongestionAlarmTable=ss7LinkCongestionAlarmTable, serverMemSize=serverMemSize, ss7LinkFailureClear=ss7LinkFailureClear, trunkInCallAttempts=trunkInCallAttempts, mtp2Index=mtp2Index, trapIdKey=trapIdKey, phoneCallOMTableEntry=phoneCallOMTableEntry, ss7LinksetFailureAlarm=ss7LinksetFailureAlarm)
mibBuilder.exportSymbols("InternetThruway-MIB", icIPAddress=icIPAddress, trunkCumulativeActiveInCalls=trunkCumulativeActiveInCalls, lfTimeStamp=lfTimeStamp, ss7LinkFailureAlarm=ss7LinkFailureAlarm, partitionMegsFree=partitionMegsFree, compStateClear=compStateClear, lsFailureIndex=lsFailureIndex, cumulativeActiveInCalls=cumulativeActiveInCalls, ss7LinksetFailureClear=ss7LinksetFailureClear, linksetId=linksetId, linkOMSetId=linkOMSetId, hgKey=hgKey, csgComplexStateTrapCritical=csgComplexStateTrapCritical, linkNumMSUReceived=linkNumMSUReceived, ss7LinksetFailureAlarmTableEntry=ss7LinksetFailureAlarmTableEntry, partitionName=partitionName, icKey=icKey, ss7MTP3CongestionMajor=ss7MTP3CongestionMajor, icCongestionLevel=icCongestionLevel, trunkCurrentlyActiveOutCalls=trunkCurrentlyActiveOutCalls, avgLoad=avgLoad, compDebugOff=compDebugOff, nasCurrentlyActiveDigitalInCalls=nasCurrentlyActiveDigitalInCalls, destCongestIndex=destCongestIndex, restartStateAlarm=restartStateAlarm, trunkInCallAbnormalCompletions=trunkInCallAbnormalCompletions, trunkAbnormalReleaseInCallRejects=trunkAbnormalReleaseInCallRejects, linksetIndex=linksetIndex, mtp2IPAddress=mtp2IPAddress, ifIPAddress=ifIPAddress, lsFailureName=lsFailureName, nasAlarmTimeStamp=nasAlarmTimeStamp, trafficInCCSIncomings=trafficInCCSIncomings, nasTempFailOutCallRejects=nasTempFailOutCallRejects, routeState=routeState, DestinationState=DestinationState, linkInhibits=linkInhibits, compRestartTimeStamp=compRestartTimeStamp, ss7MTP3CongestionClear=ss7MTP3CongestionClear, nasInCallNormalCompletions=nasInCallNormalCompletions, MTP2AlarmConditionType=MTP2AlarmConditionType, linkId=linkId, ss7ISUPFailureClear=ss7ISUPFailureClear, componentName=componentName, lcCardId=lcCardId, nasOMs=nasOMs, disk=disk, nasIndex=nasIndex, trunkCurrentlyActiveAnalogOutCalls=trunkCurrentlyActiveAnalogOutCalls, ncClusterName=ncClusterName, trunkCurrentlyActiveDigitalOutCalls=trunkCurrentlyActiveDigitalOutCalls, routeDestPointCode=routeDestPointCode, LinkState=LinkState, nasAlarmTable=nasAlarmTable, destCongestTimeStamp=destCongestTimeStamp, cplxAlarmStatus=cplxAlarmStatus, lsIndex=lsIndex, ss7=ss7, nasAbnormalReleaseOutCallRejects=nasAbnormalReleaseOutCallRejects, currentlyActiveOutCalls=currentlyActiveOutCalls, ComponentIndex=ComponentIndex, hgIndex=hgIndex, lostServerAlarmTable=lostServerAlarmTable, localBusyInCCSs=localBusyInCCSs, currentlyActiveAnalogOutCalls=currentlyActiveAnalogOutCalls, ss7LinkCongestionClear=ss7LinkCongestionClear, ss7DestinationCongestedClear=ss7DestinationCongestedClear, mtp3CongestionLevel=mtp3CongestionLevel, callOMs=callOMs, tempFailInCallRejects=tempFailInCallRejects, lcIndex=lcIndex, trunkOutCallAbnormalCompletions=trunkOutCallAbnormalCompletions, phoneUserBusyDialCallRejects=phoneUserBusyDialCallRejects, ss7ISUPCongestionAlarm=ss7ISUPCongestionAlarm, linkAlignIndex=linkAlignIndex, inCallNormalCompletions=inCallNormalCompletions, ifName=ifName, currentlyActiveAnalogInCalls=currentlyActiveAnalogInCalls, routeRank=routeRank, phoneDialCallAbnormalCompletions=phoneDialCallAbnormalCompletions, phoneTempFailDialCallRejects=phoneTempFailDialCallRejects, otherInCallRejects=otherInCallRejects, routeTableEntry=routeTableEntry, trapDate=trapDate, userUnavailableOutCallRejects=userUnavailableOutCallRejects, trapIPAddress=trapIPAddress, cplxMateEthernetName=cplxMateEthernetName, phoneCallOMTable=phoneCallOMTable, serverIpAddress=serverIpAddress, trunkTempFailOutCallRejects=trunkTempFailOutCallRejects, compRestartStatus=compRestartStatus, nasOutCallNormalCompletions=nasOutCallNormalCompletions, ss7DestinationInaccessible=ss7DestinationInaccessible, bLATimerExpiries=bLATimerExpiries, trunkAllActiveCalls=trunkAllActiveCalls, destInaccessName=destInaccessName, system=system, nasOtherInCallRejects=nasOtherInCallRejects, cplxName=cplxName, trunkUserBusyOutCallRejects=trunkUserBusyOutCallRejects, nasInCallAttempts=nasInCallAttempts, lcName=lcName, nasCurrentlyActiveAnalogOutCalls=nasCurrentlyActiveAnalogOutCalls, dialaccess=dialaccess, trapTimeStamp=trapTimeStamp, trunkCurrentlyActiveInCalls=trunkCurrentlyActiveInCalls, linkNumAutoChangeovers=linkNumAutoChangeovers, diskSpaceClear=diskSpaceClear, omData=omData, linkAlignName=linkAlignName, nasName1=nasName1, ss7LinkFailureAlarmTableEntry=ss7LinkFailureAlarmTableEntry, etherCardTrapMajor=etherCardTrapMajor, LinkInhibitionState=LinkInhibitionState, components=components, linkCongestionState=linkCongestionState, ss7MTP3CongestionAlarmTableEntry=ss7MTP3CongestionAlarmTableEntry, destInaccessKey=destInaccessKey, trunkCallOMTable=trunkCallOMTable, alarmStatusInt3=alarmStatusInt3, ss7ISUPCongestionAlarmTableEntry=ss7ISUPCongestionAlarmTableEntry, ifKey=ifKey, serverHostName=serverHostName, compProvStateKey=compProvStateKey, nasMinPortsUsed=nasMinPortsUsed, etherCardTrapCritical=etherCardTrapCritical, ComponentSysmanState=ComponentSysmanState, trunkCurrentlyActiveAnalogInCalls=trunkCurrentlyActiveAnalogInCalls, nasAbnormalReleaseInCallRejects=nasAbnormalReleaseInCallRejects, ss7ISUPFailureAlarmTable=ss7ISUPFailureAlarmTable, mtp2AlarmCondition=mtp2AlarmCondition, trunkOutCallNormalCompletions=trunkOutCallNormalCompletions, etherCardTrapClear=etherCardTrapClear, linkTransmittedMSUs=linkTransmittedMSUs, cplxLocEthernetIP=cplxLocEthernetIP, traps=traps, ncServerName=ncServerName, phoneCumulativeActiveDialCalls=phoneCumulativeActiveDialCalls, partitionTableEntry=partitionTableEntry, linkOMId=linkOMId, csgComplexStateTrapMajor=csgComplexStateTrapMajor, ncHostName=ncHostName, numberOfCircuits=numberOfCircuits, linkTable=linkTable, ss7MTP2TrunkFailureAlarmTable=ss7MTP2TrunkFailureAlarmTable, trunkInCallNormalCompletions=trunkInCallNormalCompletions, linkAlignmentState=linkAlignmentState, outCallAbnormalCompletions=outCallAbnormalCompletions, nasCallOMIndex=nasCallOMIndex, phoneAbnormalReleaseDialCallRejects=phoneAbnormalReleaseDialCallRejects, destRuleId=destRuleId, nasCmplxName=nasCmplxName, lsFailureIPAddress=lsFailureIPAddress, partitionSpaceKey=partitionSpaceKey, ss7DestinationInaccessibleAlarmTableEntry=ss7DestinationInaccessibleAlarmTableEntry, hgStatusAlarm=hgStatusAlarm, inCallAttempts=inCallAttempts, linkState=linkState, ss7MTP2TrunkFailureClear=ss7MTP2TrunkFailureClear, nasAllActiveCalls=nasAllActiveCalls, compDebugOn=compDebugOn, destCongestCongestionLevel=destCongestCongestionLevel, mtp3Key=mtp3Key, linkReceivedMSUs=linkReceivedMSUs, ss7LinkAlignmentFailureAlarm=ss7LinkAlignmentFailureAlarm, linksetAdjPointcode=linksetAdjPointcode, routeLinksetId=routeLinksetId, phoneCurrentlyActiveDigitalDialCalls=phoneCurrentlyActiveDigitalDialCalls, nasCurrentlyActiveAnalogInCalls=nasCurrentlyActiveAnalogInCalls, trunkTempFailInCallRejects=trunkTempFailInCallRejects, trunkCallOMTableEntry=trunkCallOMTableEntry, diskSpaceAlarm=diskSpaceAlarm, mtp3Index=mtp3Index, nasUserBusyOutCallRejects=nasUserBusyOutCallRejects, lsFailureKey=lsFailureKey, hgAlarmTimeStamp=hgAlarmTimeStamp, mtp3TimeStamp=mtp3TimeStamp, componentTableEntry=componentTableEntry, outCallAttempts=outCallAttempts, cplxLocStandbyState=cplxLocStandbyState, trunkAbnormalReleaseOutCallRejects=trunkAbnormalReleaseOutCallRejects, destInaccessTimeStamp=destInaccessTimeStamp)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, value_range_constraint, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, object_identity, counter64, gauge32, notification_type, bits, notification_type, mib_identifier, time_ticks, enterprises, module_identity, iso, integer32, unsigned32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ObjectIdentity', 'Counter64', 'Gauge32', 'NotificationType', 'Bits', 'NotificationType', 'MibIdentifier', 'TimeTicks', 'enterprises', 'ModuleIdentity', 'iso', 'Integer32', 'Unsigned32', 'Counter32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
nortel = mib_identifier((1, 3, 6, 1, 4, 1, 562))
dialaccess = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14))
csg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2))
system = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 1))
components = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 2))
traps = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 3))
alarms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 4))
nc_server = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 5))
ss7 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 6))
om_data = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7))
disk = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1))
link_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1))
maintenance_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2))
call_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3))
trunk_group_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4))
phone_number_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5))
system_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6))
nas_o_ms = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7))
class Timestring(DisplayString):
pass
partition_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1))
if mibBuilder.loadTexts:
partitionTable.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionTable.setDescription('The PartitionTable contains information about each disk partition on the CSG')
partition_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'partitionIndex'))
if mibBuilder.loadTexts:
partitionTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionTableEntry.setDescription('An entry in the PartitionTable. Indexed by partitionIndex')
class Partitionspacestatus(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('spaceAlarmOff', 1), ('spaceAlarmOn', 2))
partition_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4)))
if mibBuilder.loadTexts:
partitionIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionIndex.setDescription('Identifies partition number.')
partition_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionName.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionName.setDescription('Identifies partition name.')
partition_percent_full = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionPercentFull.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionPercentFull.setDescription('Indicates (in Percent) how full the disk is.')
partition_megs_free = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionMegsFree.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionMegsFree.setDescription('Indicates how many Megabytes are free on the partition.')
partition_space_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 5), partition_space_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionSpaceStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionSpaceStatus.setDescription('Indicates if there is currently a space alarm in progress.')
partition_space_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionSpaceKey.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionSpaceKey.setDescription('Unique indicator for the partition space alarm.')
partition_space_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 1, 1, 1, 1, 7), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
partitionSpaceTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
partitionSpaceTimeStamp.setDescription('Indicates the time of the last partitionSpaceStatus transition.')
component_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10))
if mibBuilder.loadTexts:
componentTable.setStatus('mandatory')
if mibBuilder.loadTexts:
componentTable.setDescription('The ComponentTable contains information about all the Components that should be running on the CSG.')
component_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1)).setIndexNames((0, 'InternetThruway-MIB', 'componentIndex'))
if mibBuilder.loadTexts:
componentTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
componentTableEntry.setDescription('An entry in the ComponentTable. componentTable entries are indexed by componentIndex, which is an integer. ')
class Componentindex(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))
named_values = named_values(('oolsproxy', 1), ('climan', 2), ('arm', 3), ('sem', 4), ('hgm', 5), ('survman', 6), ('ss7scm', 7), ('ss7opm', 8), ('ss7cheni', 9))
class Componentsysmanstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('inProvisionedState', 1), ('notInProvisionedState', 2), ('unknown', 3))
component_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 1), component_index())
if mibBuilder.loadTexts:
componentIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
componentIndex.setDescription('Identifies the component entry with an enumerated list.')
component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
componentName.setStatus('mandatory')
if mibBuilder.loadTexts:
componentName.setDescription('Identifies component name.')
comp_secs_in_current_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compSecsInCurrentState.setStatus('mandatory')
if mibBuilder.loadTexts:
compSecsInCurrentState.setDescription('Indicates how many seconds a component has been running in its current state. ')
comp_prov_state_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 4), component_sysman_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compProvStateStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
compProvStateStatus.setDescription('Indicates the current state of the particular CSG component. The states are one of the following: inProvisionedState(1), notInProvisionedState(2), unknown(3)')
comp_prov_state_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compProvStateKey.setStatus('mandatory')
if mibBuilder.loadTexts:
compProvStateKey.setDescription('Unique indicator for the prov state alarm.')
comp_prov_state_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 6), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compProvStateTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
compProvStateTimeStamp.setDescription('Indicates the time of the last state transition.')
comp_debug_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compDebugStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
compDebugStatus.setDescription('Shows if the component is running with debug on.')
comp_debug_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compDebugKey.setStatus('mandatory')
if mibBuilder.loadTexts:
compDebugKey.setDescription('Unique indicator for the debug state.')
comp_debug_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 9), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compDebugTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
compDebugTimeStamp.setDescription('Indicates the time of the last debug transition.')
comp_restart_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compRestartStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
compRestartStatus.setDescription('Shows if the component has had multiple restarts recently.')
comp_restart_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compRestartKey.setStatus('mandatory')
if mibBuilder.loadTexts:
compRestartKey.setDescription('Unique indicator for the multi-restart of components.')
comp_restart_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 2, 10, 1, 12), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
compRestartTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
compRestartTimeStamp.setDescription('Indicates the time of the last restart flagging.')
linkset_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1))
if mibBuilder.loadTexts:
linksetTable.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetTable.setDescription('The linksetTable contains information about all the linksets on the CSG.')
linkset_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'linksetIndex'))
if mibBuilder.loadTexts:
linksetTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetTableEntry.setDescription('An entry in the linksetTable. Entries in the linkset table are indexed by linksetIndex, which is an integer.')
class Linksetstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('available', 1), ('unAvailable', 2))
linkset_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 1), integer32())
if mibBuilder.loadTexts:
linksetIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetIndex.setDescription("Identifies the n'th position in the table.")
linkset_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linksetId.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetId.setDescription('The id of the linkset to be used as index.')
linkset_adj_pointcode = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linksetAdjPointcode.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetAdjPointcode.setDescription('The adjacent pointcode of the linkset.')
linkset_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 1, 1, 4), linkset_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linksetState.setStatus('mandatory')
if mibBuilder.loadTexts:
linksetState.setDescription('The state of the linkset.')
link_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2))
if mibBuilder.loadTexts:
linkTable.setStatus('mandatory')
if mibBuilder.loadTexts:
linkTable.setDescription('The linkTable contains information about the links in a given linkset on the CSG.')
link_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1)).setIndexNames((0, 'InternetThruway-MIB', 'linksetIndex'), (0, 'InternetThruway-MIB', 'linkIndex'))
if mibBuilder.loadTexts:
linkTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
linkTableEntry.setDescription('An entry in the linkTable. Entries in the link table table are indexed by linksetIndex and linkIndex, which are both integers.')
class Linkstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('available', 1), ('unAvailable', 2))
class Linkinhibitionstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4))
named_values = named_values(('unInhibited', 1), ('localInhibited', 2), ('remoteInhibited', 3), ('localRemoteInhibited', 4))
class Linkcongestionstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('notCongested', 1), ('congested', 2))
class Linkalignmentstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('aligned', 1), ('notAligned', 2))
link_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 1), integer32())
if mibBuilder.loadTexts:
linkIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
linkIndex.setDescription("Identifies the n'th position in the table.")
link_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkId.setStatus('mandatory')
if mibBuilder.loadTexts:
linkId.setDescription('The id of the link.')
link_hostname = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkHostname.setStatus('mandatory')
if mibBuilder.loadTexts:
linkHostname.setDescription('The hostname of the CSG to which this link is attached.')
link_card_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkCardDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
linkCardDeviceName.setDescription('The device name of the card upon which this link is hosted.')
link_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 5), link_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkState.setStatus('mandatory')
if mibBuilder.loadTexts:
linkState.setDescription('The state of the link.')
link_inhibition_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 6), link_inhibition_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkInhibitionState.setStatus('mandatory')
if mibBuilder.loadTexts:
linkInhibitionState.setDescription('The inhibition status of the link.')
link_congestion_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 7), link_congestion_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkCongestionState.setStatus('mandatory')
if mibBuilder.loadTexts:
linkCongestionState.setDescription('The congestion status of the link.')
link_alignment_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 8), link_alignment_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignmentState.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignmentState.setDescription('The alignment status of the link.')
link_num_msu_received = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumMSUReceived.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumMSUReceived.setDescription("This object supplies the number of MSU's received by the link.")
link_num_msu_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumMSUDiscarded.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumMSUDiscarded.setDescription("This object supplies the number of received MSU's discarded by the link.")
link_num_msu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumMSUTransmitted.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumMSUTransmitted.setDescription("This object supplies the number of MSU's transmitted by the link.")
link_num_sif_received = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumSIFReceived.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumSIFReceived.setDescription('This object supplies the number of SIF and SIO octets received by the link.')
link_num_sif_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumSIFTransmitted.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumSIFTransmitted.setDescription('This object supplies the number of SIF and SIO octects transmitted by the link.')
link_num_auto_changeovers = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumAutoChangeovers.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumAutoChangeovers.setDescription('This object supplies the number of automatic changeovers undergone by the link.')
link_num_unexpected_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkNumUnexpectedMsgs.setStatus('mandatory')
if mibBuilder.loadTexts:
linkNumUnexpectedMsgs.setDescription('This object supplies the number of unexpected messages received by the link.')
route_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3))
if mibBuilder.loadTexts:
routeTable.setStatus('mandatory')
if mibBuilder.loadTexts:
routeTable.setDescription('The routeTable contains information about the routes provisioned in the CSG complex.')
route_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1)).setIndexNames((0, 'InternetThruway-MIB', 'routeIndex'))
if mibBuilder.loadTexts:
routeTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
routeTableEntry.setDescription('An entry in the routeTable. Entries in the route table are indexed by routeIndex, which is an integer.')
class Routestate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('accessible', 1), ('inaccessible', 2), ('restricted', 3))
route_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 1), integer32())
if mibBuilder.loadTexts:
routeIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
routeIndex.setDescription("Identifies the n'th position in the table.")
route_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
routeId.setStatus('mandatory')
if mibBuilder.loadTexts:
routeId.setDescription('The unique identifier of the route.')
route_dest_point_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
routeDestPointCode.setStatus('mandatory')
if mibBuilder.loadTexts:
routeDestPointCode.setDescription('The destination point code associated with this route.')
route_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 4), route_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
routeState.setStatus('mandatory')
if mibBuilder.loadTexts:
routeState.setDescription('The current state of the route.')
route_rank = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
routeRank.setStatus('mandatory')
if mibBuilder.loadTexts:
routeRank.setDescription('Rank assigned to this route.')
route_linkset_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 3, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
routeLinksetId.setStatus('mandatory')
if mibBuilder.loadTexts:
routeLinksetId.setDescription('The linkset associated with this route.')
destination_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4))
if mibBuilder.loadTexts:
destinationTable.setStatus('mandatory')
if mibBuilder.loadTexts:
destinationTable.setDescription('The destinationTable contains information about the destinations provisioned in the CSG complex.')
destination_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1)).setIndexNames((0, 'InternetThruway-MIB', 'destIndex'))
if mibBuilder.loadTexts:
destinationTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
destinationTableEntry.setDescription('An entry in the destinationTable. Entries in the destination table are indexed by destIndex, which is an integer.')
class Destinationstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('accessible', 1), ('inaccessible', 2), ('restricted', 3))
dest_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 1), integer32())
if mibBuilder.loadTexts:
destIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
destIndex.setDescription("Identifies the n'th position in the table.")
dest_point_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destPointCode.setStatus('mandatory')
if mibBuilder.loadTexts:
destPointCode.setDescription('The destination point code of this destination.')
dest_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 3), destination_state()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destState.setStatus('mandatory')
if mibBuilder.loadTexts:
destState.setDescription('The current state of the destination.')
dest_rule_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 6, 4, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destRuleId.setStatus('mandatory')
if mibBuilder.loadTexts:
destRuleId.setDescription('Rule Identifier (for the routing table to be used) for this destination.')
nc_server_id = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncServerId.setStatus('mandatory')
if mibBuilder.loadTexts:
ncServerId.setDescription(' The ServerId attribute value of the node.')
nc_server_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncServerName.setStatus('mandatory')
if mibBuilder.loadTexts:
ncServerName.setDescription(' The ServerName attribute value of the node.')
nc_host_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncHostName.setStatus('mandatory')
if mibBuilder.loadTexts:
ncHostName.setDescription(' The HostName attribute value of the node.')
nc_ethernet_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts:
ncEthernetName.setDescription(' The EthernetName attribute value of the node.')
nc_ethernet_ip = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 6), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts:
ncEthernetIP.setDescription(' The EthernetIP attribute value of the node.')
nc_cluster_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncClusterName.setStatus('mandatory')
if mibBuilder.loadTexts:
ncClusterName.setDescription(' The ClusterName attribute value of the node.')
nc_cluster_ip = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 8), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncClusterIP.setStatus('mandatory')
if mibBuilder.loadTexts:
ncClusterIP.setDescription(' The ClusterIP attribute value of the node.')
nc_operational_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts:
ncOperationalState.setDescription(' The OperationalState of the node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
nc_standby_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 10), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts:
ncStandbyState.setDescription(' The StandbyState attribute value of the node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
nc_availability_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 11), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts:
ncAvailabilityState.setDescription(' The AvailabilityState attribute value of the node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
nc_software_version = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 12), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncSoftwareVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
ncSoftwareVersion.setDescription(' The SoftwareVersion attribute value of the node.')
class Upgradeinprogress(Integer32):
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2)
nc_upgrade_in_progress = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 13), upgrade_in_progress()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ncUpgradeInProgress.setStatus('mandatory')
if mibBuilder.loadTexts:
ncUpgradeInProgress.setDescription(' The UpgradeInProgress attribute value of the node. Possible values are: 0 = UNKNOWN, 1 = ACTIVE, 2 = INACTIVE ')
hg_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10))
if mibBuilder.loadTexts:
hgAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
hgAlarmTable.setDescription('The HgAlarmTable contains information about all the current HG alarms')
hg_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1)).setIndexNames((0, 'InternetThruway-MIB', 'hgIndex'))
if mibBuilder.loadTexts:
hgAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
hgAlarmTableEntry.setDescription('An entry in the HgAlarmTable. HgAlarmTable entries are indexed by componentIndex, which is an integer.')
hg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 1), integer32())
if mibBuilder.loadTexts:
hgIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
hgIndex.setDescription("Identifies the n'th position in the table.")
hg_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hgName.setStatus('mandatory')
if mibBuilder.loadTexts:
hgName.setDescription('The Home gateway to be used as index')
hg_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hgKey.setStatus('mandatory')
if mibBuilder.loadTexts:
hgKey.setDescription('Unique identifier for the HgFailure alarm ')
hg_alarm_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 4), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hgAlarmTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
hgAlarmTimeStamp.setDescription('Indicates the time of the HG Alarm.')
hg_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 10, 1, 5), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hgIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
hgIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
nas_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11))
if mibBuilder.loadTexts:
nasAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAlarmTable.setDescription('The NasAlarmTable contains information about all the current NAS alarms')
nas_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1)).setIndexNames((0, 'InternetThruway-MIB', 'nasIndex'))
if mibBuilder.loadTexts:
nasAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAlarmTableEntry.setDescription('An entry in the NasAlarmTable. NasAlarmTable entries are indexed by nasIndex, which is an integer.')
nas_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 1), integer32())
if mibBuilder.loadTexts:
nasIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
nasIndex.setDescription("Identifies the n'th position in the table.")
nas_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasName.setStatus('mandatory')
if mibBuilder.loadTexts:
nasName.setDescription('The NAS Name')
nas_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasKey.setStatus('mandatory')
if mibBuilder.loadTexts:
nasKey.setDescription('Unique identifier for the NAS Failure alarm ')
nas_alarm_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 4), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasAlarmTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAlarmTimeStamp.setDescription('Indicates the time of the NAS Alarm.')
nas_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 5), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
nasIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
nas_cmplx_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 11, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCmplxName.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCmplxName.setDescription(' The complex which this alarm is raised against.')
ss7_link_failure_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12))
if mibBuilder.loadTexts:
ss7LinkFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkFailureAlarmTable.setDescription('The SS7LinkFailureAlarmTable contains alarms for SS7 link failures.')
ss7_link_failure_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1)).setIndexNames((0, 'InternetThruway-MIB', 'lfIndex'))
if mibBuilder.loadTexts:
ss7LinkFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Failure Alarm Table. A row can be uniquely identified with the row index.')
lf_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 1), integer32())
if mibBuilder.loadTexts:
lfIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lfIndex.setDescription('Identifies the row number in the table.')
lf_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfKey.setStatus('mandatory')
if mibBuilder.loadTexts:
lfKey.setDescription('Unique identifier for the alarm.')
lf_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lfIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
lf_link_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts:
lfLinkCode.setDescription('This object identifies the signalling link code (SLC) of the failed link.')
lf_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 6), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lfTimeStamp.setDescription('Indicates the time of the alarm.')
lf_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfName.setStatus('mandatory')
if mibBuilder.loadTexts:
lfName.setDescription('Indicates the configured name for the machine which sent the alarm.')
lf_card_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 8), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfCardId.setStatus('mandatory')
if mibBuilder.loadTexts:
lfCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
lf_link_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 12, 1, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lfLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts:
lfLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
ss7_link_congestion_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13))
if mibBuilder.loadTexts:
ss7LinkCongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkCongestionAlarmTable.setDescription('The SS7LinkCongestionAlarmTable contains alarms to indicate congestion on an SS7 link.')
ss7_link_congestion_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1)).setIndexNames((0, 'InternetThruway-MIB', 'lcIndex'))
if mibBuilder.loadTexts:
ss7LinkCongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkCongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Congestion Alarm Table. A row can be uniquely identified with the row index.')
lc_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 1), integer32())
if mibBuilder.loadTexts:
lcIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lcIndex.setDescription('Identifies the row number in the table.')
lc_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcKey.setStatus('mandatory')
if mibBuilder.loadTexts:
lcKey.setDescription('Unique identifier for the alarm.')
lc_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lcIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
lc_link_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts:
lcLinkCode.setDescription('This object identifies the signalling link code (SLC) of the affected link.')
lc_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 5), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lcTimeStamp.setDescription('Indicates the time of the alarm.')
lc_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcName.setStatus('mandatory')
if mibBuilder.loadTexts:
lcName.setDescription('Indicates the configured name for the machine which sent the alarm.')
lc_card_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcCardId.setStatus('mandatory')
if mibBuilder.loadTexts:
lcCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
lc_link_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 13, 1, 8), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lcLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts:
lcLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
ss7_isup_failure_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14))
if mibBuilder.loadTexts:
ss7ISUPFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7ISUPFailureAlarmTable.setDescription('The SS7ISUPFailureAlarmTable contains alarms for SS7 ISUP protocol stack failures.')
ss7_isup_failure_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1)).setIndexNames((0, 'InternetThruway-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
ss7ISUPFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7ISUPFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 ISUP Failure Alarm Table. A row can be uniquely identified with the row index.')
if_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 1), integer32())
if mibBuilder.loadTexts:
ifIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
ifIndex.setDescription('Identifies the row number in the table.')
if_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ifKey.setStatus('mandatory')
if mibBuilder.loadTexts:
ifKey.setDescription('Unique identifier for the alarm.')
if_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ifIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
ifIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
if_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 4), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ifTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
ifTimeStamp.setDescription('Indicates the time of the alarm.')
if_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 14, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ifName.setStatus('mandatory')
if mibBuilder.loadTexts:
ifName.setDescription('Indicates the configured name for the machine which sent the alarm.')
ss7_isup_congestion_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15))
if mibBuilder.loadTexts:
ss7ISUPCongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7ISUPCongestionAlarmTable.setDescription('The SS7ISUPCongestionAlarmTable contains alarms to indicate congestion with an ISUP protocol stack.')
ss7_isup_congestion_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1)).setIndexNames((0, 'InternetThruway-MIB', 'icIndex'))
if mibBuilder.loadTexts:
ss7ISUPCongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7ISUPCongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 ISUP Congestion Alarm Table. A row can be uniquely identified with the row index.')
ic_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 1), integer32())
if mibBuilder.loadTexts:
icIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
icIndex.setDescription('Identifies the row number in the table.')
ic_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icKey.setStatus('mandatory')
if mibBuilder.loadTexts:
icKey.setDescription('Unique identifier for the alarm.')
ic_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
icIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
ic_congestion_level = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icCongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
icCongestionLevel.setDescription('This object indicates the congestion level with an ISUP protocol stack. Possible congestion levels are: (0) Normal (1) Congestion ')
ic_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 5), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
icTimeStamp.setDescription('Indicates the time of the alarm.')
ic_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 15, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
icName.setStatus('mandatory')
if mibBuilder.loadTexts:
icName.setDescription('Indicates the configured name for the machine which sent the alarm.')
ss7_mtp3_congestion_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16))
if mibBuilder.loadTexts:
ss7MTP3CongestionAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7MTP3CongestionAlarmTable.setDescription('The SS7MTP3CongestionAlarmTable contains alarms to indicate congestion on an MTP3 link.')
ss7_mtp3_congestion_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1)).setIndexNames((0, 'InternetThruway-MIB', 'mtp3Index'))
if mibBuilder.loadTexts:
ss7MTP3CongestionAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7MTP3CongestionAlarmTableEntry.setDescription('This object defines a row within the SS7 MTP3 Congestion Alarm Table. A row can be uniquely identified with the row index.')
mtp3_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 1), integer32())
if mibBuilder.loadTexts:
mtp3Index.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3Index.setDescription('Identifies the row number in the table.')
mtp3_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp3Key.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3Key.setDescription('Unique identifier for the alarm.')
mtp3_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp3IPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3IPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
mtp3_congestion_level = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp3CongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3CongestionLevel.setDescription('This object indicates the congestion level on a problem SS7 Link. Possible congestion values are: (0) Normal (1) Minor (2) Major (3) Critical ')
mtp3_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 5), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp3TimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3TimeStamp.setDescription('Indicates the time of the alarm.')
mtp3_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 16, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp3Name.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp3Name.setDescription('Represents the configured name of the machine which sent the alarm.')
ss7_mtp2_trunk_failure_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17))
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureAlarmTable.setDescription('The SS7MTP2TrunkFailureAlarmTable contains alarms to indicate MTP2 trunk failures.')
ss7_mtp2_trunk_failure_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1)).setIndexNames((0, 'InternetThruway-MIB', 'mtp2Index'))
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 MTP2 Failure Alarm Table. A row can be uniquely identified with the row index.')
class Mtp2Alarmconditiontype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))
named_values = named_values(('fasError', 1), ('carrierLost', 2), ('synchroLost', 3), ('aisRcv', 4), ('remoteAlarmRcv', 5), ('tooHighBer', 6))
mtp2_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 1), integer32())
if mibBuilder.loadTexts:
mtp2Index.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2Index.setDescription('Identifies the row number in the table.')
mtp2_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2Key.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2Key.setDescription('Unique identifier for the alarm.')
mtp2_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2IPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2IPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
mtp2_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2Name.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2Name.setDescription('This object identifies the configured name of the machine which sent the alarm.')
mtp2_card_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2CardId.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2CardId.setDescription('This object indicates the device upon which the affected trunk is hosted. The string contains a physical description of the device, as well as its slot number.')
mtp2_alarm_condition = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 6), mtp2_alarm_condition_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2AlarmCondition.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2AlarmCondition.setDescription('This object indicates which of the possible alarm conditions is in effect. Alarms are not nested: a new alarm is only reported if there is no current alarm condition.')
mtp2_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 17, 1, 7), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mtp2TimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
mtp2TimeStamp.setDescription('Indicates the time of the alarm.')
ss7_linkset_failure_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18))
if mibBuilder.loadTexts:
ss7LinksetFailureAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinksetFailureAlarmTable.setDescription('The SS7LinksetFailureAlarmTable contains alarms to indicate failure on an CSG linkset.')
ss7_linkset_failure_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1)).setIndexNames((0, 'InternetThruway-MIB', 'lsFailureIndex'))
if mibBuilder.loadTexts:
ss7LinksetFailureAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinksetFailureAlarmTableEntry.setDescription('This object defines a row within the SS7 Linkset Failure Alarm Table. A row can be uniquely identified with the row index.')
ls_failure_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 1), integer32())
if mibBuilder.loadTexts:
lsFailureIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailureIndex.setDescription('Identifies the row number in the table.')
ls_failure_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsFailureKey.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailureKey.setDescription('Unique identifier for the alarm.')
ls_failure_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsFailureIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailureIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
ls_failure_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsFailureName.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailureName.setDescription('Represents the configured name of the machine which sent the alarm.')
ls_failure_pointcode = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsFailurePointcode.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailurePointcode.setDescription('This object indicates the pointcode associated with the linkset.')
ls_failure_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 18, 1, 6), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsFailureTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lsFailureTimeStamp.setDescription('Indicates the time of the alarm.')
ss7_destination_inaccessible_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19))
if mibBuilder.loadTexts:
ss7DestinationInaccessibleAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7DestinationInaccessibleAlarmTable.setDescription('The SS7DestinationAccessAlarmTable contains alarms which indicate inaccessible signalling destinations.')
ss7_destination_inaccessible_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1)).setIndexNames((0, 'InternetThruway-MIB', 'destInaccessIndex'))
if mibBuilder.loadTexts:
ss7DestinationInaccessibleAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7DestinationInaccessibleAlarmTableEntry.setDescription('This object defines a row within the SS7 Destination Inaccessible Alarm Table. A row can be uniquely identified with the row index.')
dest_inaccess_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 1), integer32())
if mibBuilder.loadTexts:
destInaccessIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessIndex.setDescription('Identifies the row number in the table.')
dest_inaccess_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destInaccessKey.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessKey.setDescription('Unique identifier for the alarm.')
dest_inaccess_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destInaccessIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
dest_inaccess_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destInaccessName.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessName.setDescription('Represents the configured name of the machine which sent the alarm.')
dest_inaccess_pointcode = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destInaccessPointcode.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessPointcode.setDescription('This object indicates the point code of the inaccessible signalling destination.')
dest_inaccess_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 19, 1, 6), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destInaccessTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
destInaccessTimeStamp.setDescription('Indicates the time of the alarm.')
ss7_destination_congested_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20))
if mibBuilder.loadTexts:
ss7DestinationCongestedAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7DestinationCongestedAlarmTable.setDescription('The SS7DestinationCongestedAlarmTable contains alarms to indicate congestion on the given destination.')
ss7_destination_congested_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1)).setIndexNames((0, 'InternetThruway-MIB', 'destCongestIndex'))
if mibBuilder.loadTexts:
ss7DestinationCongestedAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7DestinationCongestedAlarmTableEntry.setDescription('This object defines a row within the SS7 Destination Congestion Table. A row can be uniquely identified with the row index.')
dest_congest_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 1), integer32())
if mibBuilder.loadTexts:
destCongestIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestIndex.setDescription('Identifies the row number in the table.')
dest_congest_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestKey.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestKey.setDescription('Unique identifier for the alarm.')
dest_congest_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
dest_congest_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestName.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestName.setDescription('Represents the configured name of the machine which sent the alarm.')
dest_congest_pointcode = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestPointcode.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestPointcode.setDescription('This object indicates the pointcode of the congested destination.')
dest_congest_congestion_level = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestCongestionLevel.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestCongestionLevel.setDescription('This object indicates the congestion level on a problem SS7 pointcode. Possible congestion values are: (0) Normal (1) Minor (2) Major (3) Critical ')
dest_congest_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 20, 1, 7), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
destCongestTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
destCongestTimeStamp.setDescription('Indicates the time of the alarm.')
ss7_link_alignment_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21))
if mibBuilder.loadTexts:
ss7LinkAlignmentAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkAlignmentAlarmTable.setDescription('The SS7LinkAlignmentAlarmTable contains alarms to indicate congestion on the CSG.')
ss7_link_alignment_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1)).setIndexNames((0, 'InternetThruway-MIB', 'linkAlignIndex'))
if mibBuilder.loadTexts:
ss7LinkAlignmentAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
ss7LinkAlignmentAlarmTableEntry.setDescription('This object defines a row within the SS7 Link Alignment Alarm Table. A row can be uniquely identified with the row index.')
link_align_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 1), integer32())
if mibBuilder.loadTexts:
linkAlignIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignIndex.setDescription('Identifies the row number in the table.')
link_align_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignKey.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignKey.setDescription('Unique identifier for the alarm.')
link_align_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignIPAddress.setDescription('This object identifies the IP Address of the machine which sent the alarm.')
link_align_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignName.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignName.setDescription('Represents the configured name of the machine which sent the alarm.')
link_align_link_code = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignLinkCode.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignLinkCode.setDescription('This object identifies the signalling link code (SLC) of the affected link.')
link_align_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 6), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignTimeStamp.setDescription('Indicates the time of the alarm.')
link_align_card_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignCardId.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignCardId.setDescription('This object identifies the device that hosts the failed link. It provides a physical description of the device, as well as its slot number.')
link_align_link_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 21, 1, 8), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkAlignLinkSet.setStatus('mandatory')
if mibBuilder.loadTexts:
linkAlignLinkSet.setDescription('This object identifies the linkset associated with the link via its adjacent point code.')
csg_complex_state_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22))
cplx_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxName.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxName.setDescription('CLLI, A unique identifier of the CSG Complex.')
cplx_loc_ethernet_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxLocEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxLocEthernetName.setDescription(' The EthernetName attribute value of the node.')
cplx_loc_ethernet_ip = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxLocEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxLocEthernetIP.setDescription(' The EthernetIP attribute value of the node.')
cplx_loc_operational_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxLocOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxLocOperationalState.setDescription(' The OperationalState of the node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
cplx_loc_standby_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxLocStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxLocStandbyState.setDescription(' The StandbyState attribute value of the node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
cplx_loc_availability_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxLocAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxLocAvailabilityState.setDescription(' The AvailabilityState attribute value of the node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
cplx_mate_ethernet_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxMateEthernetName.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxMateEthernetName.setDescription(' The EthernetName attribute value of the mate node.')
cplx_mate_ethernet_ip = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 8), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxMateEthernetIP.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxMateEthernetIP.setDescription(' The EthernetIP attribute value of the mate node.')
cplx_mate_operational_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxMateOperationalState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxMateOperationalState.setDescription(' The OperationalState of the mate node. Possible values are: UNKNOWN, ENABLED, ENABLED_NETDSC, ENABLED_NETPAR, DISABLED ')
cplx_mate_standby_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 10), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxMateStandbyState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxMateStandbyState.setDescription(' The StandbyState attribute value of the mate node. Possible values are: UNKNOWN, HOT_STANDBY, COLD_STANDBY, WARM_STANDBY, PROVIDING_SERVICE ')
cplx_mate_availability_state = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 11), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxMateAvailabilityState.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxMateAvailabilityState.setDescription(' The AvailabilityState attribute value of the mate node. Possible values are: UNKNOWN, AVAILABLE, DEGRADED, OFFLINE ')
cplx_alarm_status = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 22, 12), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cplxAlarmStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
cplxAlarmStatus.setDescription('This object indicates the alarm status of the CSG Complex. Possible status are: NORMAL, MAJOR, CRITICAL ')
lost_server_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1))
if mibBuilder.loadTexts:
lostServerAlarmTable.setStatus('mandatory')
if mibBuilder.loadTexts:
lostServerAlarmTable.setDescription('')
lost_server_alarm_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'lsIndex'))
if mibBuilder.loadTexts:
lostServerAlarmTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
lostServerAlarmTableEntry.setDescription('This object defines a row within the Lost Server Alarm Table. A row can be uniquely identified with the row index.')
ls_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 1), integer32())
if mibBuilder.loadTexts:
lsIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
lsIndex.setDescription('Identifies the row number in the table.')
ls_key = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsKey.setStatus('mandatory')
if mibBuilder.loadTexts:
lsKey.setDescription('Unique identifier for the alarm.')
ls_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
lsIPAddress.setDescription('This object identifies the IP Address of the machine which is lost.')
ls_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsName.setStatus('mandatory')
if mibBuilder.loadTexts:
lsName.setDescription('The configured name associated with the IP Address of the machine which sent the alarm.')
ls_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 5, 1, 1, 5), time_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lsTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
lsTimeStamp.setDescription('Indicates the time of the alarm.')
alarm_mask_int1 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 1), gauge32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alarmMaskInt1.setStatus('mandatory')
if mibBuilder.loadTexts:
alarmMaskInt1.setDescription('The value of this bit mask reflects the current filtering policy of CSG events and alarms. Management stations which wish to not receive certain events or alarm types from the CSG can modify this value as needed. Note, however, that changes in the filtration policy affect what is received by all management stations. Initially, the bit mask is set so that all bits are in a false state. Each bit in a true state reflects a currently filtered event, alarm, or alarm type. The actual bit position meanings are given below. Bit 0 is LSB. Bits 0 = Generic Normal Alarm 1 = Generic Warning Alarm 2 = Generic Minor Alarm 3 = Generic Major Alarm 4 = Generic Critical Alarm 5 = Partition Space Alarm 6 = Home Gateway Failure Alarm 7 = Component Not In Provisioned State Alarm 8 = Component Debug On Alarm 9 = Component Multiple Restart Alarm 10 = Component Restart Warning 11 = NAS Registration Failure Warning 12 = NAS Failure Alarm 13 = File Deletion Warning 14 = File Backup Warning 15 = Sysman Restart Warning 16 = File Access Warning 17 = Home Gateway/NAS Provisioning Mismatch Warning 18 = SS7 Link Failure Alarm 19 = SS7 Link Congestion Alarm 20 = ISUP Failure Alarm 21 = ISUP Congestion Alarm 22 = SS7 FEP Congestion Alarm 23 = SS7 BEP Congestion Alarm 24 = High Availability Peer Contact Lost Alarm 25 = SS7 MTP3 Congestion Alarm 26 = SS7 MTP2 Trunk Failure Alarm 27 = SS7 Linkset Failure Alarm 28 = SS7 Destination Inaccessible Alarm 29 = SS7 Destination Congested Alarm 30 = SS7 Link Alignment Failure Alarm ')
alarm_status_int1 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 2), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
alarmStatusInt1.setStatus('mandatory')
if mibBuilder.loadTexts:
alarmStatusInt1.setDescription('The value of this bit mask indicates that current status of CSG component alarms. Each components is represented by a single bit within the range occupied by each component alarm type. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0-15 = Component Not In Provisioned State Alarm 16-31 = Component Multi Restart Alarm ')
alarm_status_int2 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 3), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
alarmStatusInt2.setStatus('mandatory')
if mibBuilder.loadTexts:
alarmStatusInt2.setDescription('The value of this bit mask indicates the current status of active CSG alarms. Component-related alarms occupy a range of bits: each bit within that range represents the alarm status for a particular component. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0-15 = Component Debug On Alarm 16-23 = Partition Space Alarm 24 = Home Gateway Failure Alarm 25 = NAS Failure Alarm 26 = SS7 Link Failure Alarm 27 = SS7 Link Congestion Alarm 28 = ISUP Failure Alarm 29 = ISUP Congestion Alarm 30 = High Availability Peer Contact Lost Alarm 31 = SS7 MTP3 Congestion Alarm ')
alarm_status_int3 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 4), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
alarmStatusInt3.setStatus('mandatory')
if mibBuilder.loadTexts:
alarmStatusInt3.setDescription('The value of this bit mask indicates the current status of active CSG alarms. Each bit in a true state reflects a currently raised alarm. The actual bit position meanings are given below. Bit 0 is the LSB. Bits 0 = SS7 MTP2 Trunk Failure Alarm 1 = SS7 Linkset Failure Alarm 2 = SS7 Destination Inaccessible Alarm 3 = SS7 Destination Congestion Alarm 4 = SS7 Link Alignment Failure Alarm 5 = CSG Complex Status Alarm 6 = External Ethernet Alarm ')
alarm_mask_int2 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 4, 5), gauge32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
alarmMaskInt2.setStatus('mandatory')
if mibBuilder.loadTexts:
alarmMaskInt2.setDescription('The value of this bit mask reflects the current additional filtering policy of CSG events and alarms. Management stations which wish to not receive certain events or alarm types from the CSG can modify this value as needed. Note, however, that changes in the filtration policy affect what is received by all management stations. Initially, the bit mask is set so that all bits are in a false state. Each bit in a true state reflects a currently filtered event, alarm, or alarm type. The actual bit position meanings are given below. Bit 0 is LSB. Bits 0 = External Ethernet Alarm 1 = Cluster Information retrieval Alarm ')
trap_comp_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 1), display_string())
if mibBuilder.loadTexts:
trapCompName.setStatus('mandatory')
if mibBuilder.loadTexts:
trapCompName.setDescription('OID for the Component name.')
trap_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 2), display_string())
if mibBuilder.loadTexts:
trapFileName.setStatus('mandatory')
if mibBuilder.loadTexts:
trapFileName.setDescription('OID for file Name.')
trap_date = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 3), time_string())
if mibBuilder.loadTexts:
trapDate.setStatus('mandatory')
if mibBuilder.loadTexts:
trapDate.setDescription('OID for the date.')
trap_generic_str1 = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 4), display_string())
if mibBuilder.loadTexts:
trapGenericStr1.setStatus('mandatory')
if mibBuilder.loadTexts:
trapGenericStr1.setDescription('OID for the generic data.')
trap_id_key = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 5), integer32())
if mibBuilder.loadTexts:
trapIdKey.setStatus('mandatory')
if mibBuilder.loadTexts:
trapIdKey.setDescription('OID for the identification key.')
trap_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 6), ip_address())
if mibBuilder.loadTexts:
trapIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
trapIPAddress.setDescription('OID for IP address.')
trap_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 7), display_string())
if mibBuilder.loadTexts:
trapName.setStatus('mandatory')
if mibBuilder.loadTexts:
trapName.setDescription('OID for configured name associated with an IpAddress.')
trap_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 3, 8), display_string())
if mibBuilder.loadTexts:
trapTimeStamp.setStatus('mandatory')
if mibBuilder.loadTexts:
trapTimeStamp.setDescription('Indicates the time at which the alarm occurred.')
disk_space_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 1001)).setObjects(('InternetThruway-MIB', 'partitionSpaceKey'), ('InternetThruway-MIB', 'partitionIndex'), ('InternetThruway-MIB', 'partitionName'), ('InternetThruway-MIB', 'partitionPercentFull'), ('InternetThruway-MIB', 'partitionSpaceTimeStamp'))
if mibBuilder.loadTexts:
diskSpaceClear.setDescription('The Trap generated when a disk partition has a space increase after a previously sent DiskSpaceAlarm.')
disk_space_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 1004)).setObjects(('InternetThruway-MIB', 'partitionSpaceKey'), ('InternetThruway-MIB', 'partitionIndex'), ('InternetThruway-MIB', 'partitionName'), ('InternetThruway-MIB', 'partitionPercentFull'), ('InternetThruway-MIB', 'partitionSpaceTimeStamp'))
if mibBuilder.loadTexts:
diskSpaceAlarm.setDescription('The Trap generated when a disk partition is running out of space provisioned state.')
ether_card_trap_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 1011))
if mibBuilder.loadTexts:
etherCardTrapClear.setDescription(' The Trap generated when the external ethernet card becomes available.')
ether_card_trap_major = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 1014))
if mibBuilder.loadTexts:
etherCardTrapMajor.setDescription('The Trap generated when the external ethernet card is down.')
ether_card_trap_critical = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 1015))
if mibBuilder.loadTexts:
etherCardTrapCritical.setDescription('The Trap generated when the external ethernet card is down.')
comp_debug_off = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2001)).setObjects(('InternetThruway-MIB', 'compDebugKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compDebugTimeStamp'))
if mibBuilder.loadTexts:
compDebugOff.setDescription('The Trap generated when a Component turns off its debug info.')
comp_debug_on = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2002)).setObjects(('InternetThruway-MIB', 'compDebugKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compDebugTimeStamp'))
if mibBuilder.loadTexts:
compDebugOn.setDescription('The Trap generated when a Component turns on its debug info.')
comp_state_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2011)).setObjects(('InternetThruway-MIB', 'compProvStateKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compProvStateStatus'), ('InternetThruway-MIB', 'compSecsInCurrentState'), ('InternetThruway-MIB', 'compProvStateTimeStamp'))
if mibBuilder.loadTexts:
compStateClear.setDescription('The Trap generated when a component goes to its provisioned states after a CompStatusAlarm trap has been sent.')
comp_state_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2014)).setObjects(('InternetThruway-MIB', 'compProvStateKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compProvStateStatus'), ('InternetThruway-MIB', 'compSecsInCurrentState'), ('InternetThruway-MIB', 'compProvStateTimeStamp'))
if mibBuilder.loadTexts:
compStateAlarm.setDescription("The Trap generated when a component is not in it's provisioned state.")
restart_state_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2021)).setObjects(('InternetThruway-MIB', 'compRestartKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compRestartStatus'), ('InternetThruway-MIB', 'compRestartTimeStamp'))
if mibBuilder.loadTexts:
restartStateClear.setDescription('The Trap generated when a component goes to its provisioned states after a RestartStateAlarm trap has been sent.')
restart_state_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 2024)).setObjects(('InternetThruway-MIB', 'compRestartKey'), ('InternetThruway-MIB', 'componentIndex'), ('InternetThruway-MIB', 'componentName'), ('InternetThruway-MIB', 'compRestartStatus'), ('InternetThruway-MIB', 'compRestartTimeStamp'))
if mibBuilder.loadTexts:
restartStateAlarm.setDescription('The Trap generated when a component restarts repeatedly.')
ss7_link_failure_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3004)).setObjects(('InternetThruway-MIB', 'lfIndex'), ('InternetThruway-MIB', 'lfKey'), ('InternetThruway-MIB', 'lfIPAddress'), ('InternetThruway-MIB', 'lfLinkCode'), ('InternetThruway-MIB', 'lfName'), ('InternetThruway-MIB', 'lfCardId'), ('InternetThruway-MIB', 'lfLinkSet'), ('InternetThruway-MIB', 'lfTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkFailureAlarm.setDescription('Trap generated for an SS7 link failure.')
ss7_link_failure_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3001)).setObjects(('InternetThruway-MIB', 'lfIndex'), ('InternetThruway-MIB', 'lfKey'), ('InternetThruway-MIB', 'lfIPAddress'), ('InternetThruway-MIB', 'lfLinkCode'), ('InternetThruway-MIB', 'lfName'), ('InternetThruway-MIB', 'lfCardId'), ('InternetThruway-MIB', 'lfLinkSet'), ('InternetThruway-MIB', 'lfTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkFailureClear.setDescription('Trap generated to clear an SS7 link failure.')
ss7_link_congestion_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3012)).setObjects(('InternetThruway-MIB', 'lcIndex'), ('InternetThruway-MIB', 'lcKey'), ('InternetThruway-MIB', 'lcIPAddress'), ('InternetThruway-MIB', 'lcLinkCode'), ('InternetThruway-MIB', 'lcName'), ('InternetThruway-MIB', 'lcCardId'), ('InternetThruway-MIB', 'lcLinkSet'), ('InternetThruway-MIB', 'lcTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkCongestionAlarm.setDescription('Trap generated for congestion on an SS7 Link.')
ss7_link_congestion_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3011)).setObjects(('InternetThruway-MIB', 'lcIndex'), ('InternetThruway-MIB', 'lcKey'), ('InternetThruway-MIB', 'lcIPAddress'), ('InternetThruway-MIB', 'lcLinkCode'), ('InternetThruway-MIB', 'lcName'), ('InternetThruway-MIB', 'lcCardId'), ('InternetThruway-MIB', 'lcLinkSet'), ('InternetThruway-MIB', 'lcTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkCongestionClear.setDescription('Trap generated to indicate there is no longer congestion on an SS7 link.')
ss7_isup_failure_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3025)).setObjects(('InternetThruway-MIB', 'ifIndex'), ('InternetThruway-MIB', 'ifKey'), ('InternetThruway-MIB', 'ifIPAddress'), ('InternetThruway-MIB', 'ifName'), ('InternetThruway-MIB', 'ifTimeStamp'))
if mibBuilder.loadTexts:
ss7ISUPFailureAlarm.setDescription('Trap generated to indicate ISUP failure.')
ss7_isup_failure_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3021)).setObjects(('InternetThruway-MIB', 'ifIndex'), ('InternetThruway-MIB', 'ifKey'), ('InternetThruway-MIB', 'ifIPAddress'), ('InternetThruway-MIB', 'ifName'), ('InternetThruway-MIB', 'ifTimeStamp'))
if mibBuilder.loadTexts:
ss7ISUPFailureClear.setDescription('Trap generated to clear an ISUP failure alarm.')
ss7_isup_congestion_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3033)).setObjects(('InternetThruway-MIB', 'icIndex'), ('InternetThruway-MIB', 'icKey'), ('InternetThruway-MIB', 'icIPAddress'), ('InternetThruway-MIB', 'icCongestionLevel'), ('InternetThruway-MIB', 'icName'), ('InternetThruway-MIB', 'icTimeStamp'))
if mibBuilder.loadTexts:
ss7ISUPCongestionAlarm.setDescription('Trap generated to indicate congestion with the ISUP protocol stack.')
ss7_isup_congestion_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3031)).setObjects(('InternetThruway-MIB', 'icIndex'), ('InternetThruway-MIB', 'icKey'), ('InternetThruway-MIB', 'icIPAddress'), ('InternetThruway-MIB', 'icCongestionLevel'), ('InternetThruway-MIB', 'icName'), ('InternetThruway-MIB', 'icTimeStamp'))
if mibBuilder.loadTexts:
ss7ISUPCongestionClear.setDescription('Trap generated to indicate there is no longer congestion with the ISUP protocol stack.')
ss7_fep_congestion_warning = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3042)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapIPAddress'), ('InternetThruway-MIB', 'trapName'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
ss7FEPCongestionWarning.setDescription('Notification trap generated to indicate congestion encountered by the SS7 front-end process.')
ss7_bep_congestion_warning = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3052)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapIPAddress'), ('InternetThruway-MIB', 'trapName'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
ss7BEPCongestionWarning.setDescription('Notification trap generated to indicate congestion encountered by the SS7 back-end process.')
ss7_mtp3_congestion_minor = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3063)).setObjects(('InternetThruway-MIB', 'mtp3Index'), ('InternetThruway-MIB', 'mtp3Key'), ('InternetThruway-MIB', 'mtp3IPAddress'), ('InternetThruway-MIB', 'mtp3Name'), ('InternetThruway-MIB', 'mtp3TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP3CongestionMinor.setDescription('Trap generated for MTP3 congestion.')
ss7_mtp3_congestion_major = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3064)).setObjects(('InternetThruway-MIB', 'mtp3Index'), ('InternetThruway-MIB', 'mtp3Key'), ('InternetThruway-MIB', 'mtp3IPAddress'), ('InternetThruway-MIB', 'mtp3Name'), ('InternetThruway-MIB', 'mtp3TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP3CongestionMajor.setDescription('Trap generated for MTP3 congestion.')
ss7_mtp3_congestion_critical = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3065)).setObjects(('InternetThruway-MIB', 'mtp3Index'), ('InternetThruway-MIB', 'mtp3Key'), ('InternetThruway-MIB', 'mtp3IPAddress'), ('InternetThruway-MIB', 'mtp3Name'), ('InternetThruway-MIB', 'mtp3TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP3CongestionCritical.setDescription('Trap generated for MTP3 congestion.')
ss7_mtp3_congestion_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3061)).setObjects(('InternetThruway-MIB', 'mtp3Index'), ('InternetThruway-MIB', 'mtp3Key'), ('InternetThruway-MIB', 'mtp3IPAddress'), ('InternetThruway-MIB', 'mtp3Name'), ('InternetThruway-MIB', 'mtp3TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP3CongestionClear.setDescription('Trap generated to indicate there is no longer MTP3 congestion.')
ss7_mtp2_trunk_failure_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3075)).setObjects(('InternetThruway-MIB', 'mtp2Index'), ('InternetThruway-MIB', 'mtp2Key'), ('InternetThruway-MIB', 'mtp2IPAddress'), ('InternetThruway-MIB', 'mtp2Name'), ('InternetThruway-MIB', 'mtp2CardId'), ('InternetThruway-MIB', 'mtp2AlarmCondition'), ('InternetThruway-MIB', 'mtp2TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureAlarm.setDescription('Trap generated to indicate an MTP2 trunk failure condition.')
ss7_mtp2_trunk_failure_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3071)).setObjects(('InternetThruway-MIB', 'mtp2Index'), ('InternetThruway-MIB', 'mtp2Key'), ('InternetThruway-MIB', 'mtp2IPAddress'), ('InternetThruway-MIB', 'mtp2Name'), ('InternetThruway-MIB', 'mtp2CardId'), ('InternetThruway-MIB', 'mtp2TimeStamp'))
if mibBuilder.loadTexts:
ss7MTP2TrunkFailureClear.setDescription('Trap generated to clear an MTP2 trunk failure alarm.')
ss7_linkset_failure_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3085)).setObjects(('InternetThruway-MIB', 'lsFailureIndex'), ('InternetThruway-MIB', 'lsFailureKey'), ('InternetThruway-MIB', 'lsFailureIPAddress'), ('InternetThruway-MIB', 'lsFailureName'), ('InternetThruway-MIB', 'lsFailurePointcode'), ('InternetThruway-MIB', 'lsFailureTimeStamp'))
if mibBuilder.loadTexts:
ss7LinksetFailureAlarm.setDescription('Trap generated to indicate a linkset failure.')
ss7_linkset_failure_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3081)).setObjects(('InternetThruway-MIB', 'lsFailureIndex'), ('InternetThruway-MIB', 'lsFailureKey'), ('InternetThruway-MIB', 'lsFailureIPAddress'), ('InternetThruway-MIB', 'lsFailureName'), ('InternetThruway-MIB', 'lsFailurePointcode'), ('InternetThruway-MIB', 'lsFailureTimeStamp'))
if mibBuilder.loadTexts:
ss7LinksetFailureClear.setDescription('Trap generated to clear a linkset failure alarm.')
ss7_destination_inaccessible = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3092)).setObjects(('InternetThruway-MIB', 'destInaccessIndex'), ('InternetThruway-MIB', 'destInaccessKey'), ('InternetThruway-MIB', 'destInaccessIPAddress'), ('InternetThruway-MIB', 'destInaccessName'), ('InternetThruway-MIB', 'destInaccessPointcode'), ('InternetThruway-MIB', 'destInaccessTimeStamp'))
if mibBuilder.loadTexts:
ss7DestinationInaccessible.setDescription('Trap generated to indicate that a signalling destination is inaccessible. A destination is considered inaccessible once Transfer Prohibited (TFP) messages are received which indicate that the route to that destination is prohibited.')
ss7_destination_accessible = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3091)).setObjects(('InternetThruway-MIB', 'destInaccessIndex'), ('InternetThruway-MIB', 'destInaccessKey'), ('InternetThruway-MIB', 'destInaccessIPAddress'), ('InternetThruway-MIB', 'destInaccessName'), ('InternetThruway-MIB', 'destInaccessPointcode'), ('InternetThruway-MIB', 'destInaccessTimeStamp'))
if mibBuilder.loadTexts:
ss7DestinationAccessible.setDescription('Trap generated to clear a destination inacessible alarm. An inaccessible signalling destination is considered accessible once Transfer Allowed (TFA) messages are sent along its prohibited signalling routes.')
ss7_destination_congested_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3103)).setObjects(('InternetThruway-MIB', 'destCongestIndex'), ('InternetThruway-MIB', 'destCongestKey'), ('InternetThruway-MIB', 'destCongestIPAddress'), ('InternetThruway-MIB', 'destCongestName'), ('InternetThruway-MIB', 'destCongestPointcode'), ('InternetThruway-MIB', 'destCongestCongestionLevel'), ('InternetThruway-MIB', 'destCongestTimeStamp'))
if mibBuilder.loadTexts:
ss7DestinationCongestedAlarm.setDescription('Trap generated to indicate congestion at an SS7 destination.')
ss7_destination_congested_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3101)).setObjects(('InternetThruway-MIB', 'destCongestIndex'), ('InternetThruway-MIB', 'destCongestKey'), ('InternetThruway-MIB', 'destCongestIPAddress'), ('InternetThruway-MIB', 'destCongestName'), ('InternetThruway-MIB', 'destCongestPointcode'), ('InternetThruway-MIB', 'destCongestCongestionLevel'), ('InternetThruway-MIB', 'destCongestTimeStamp'))
if mibBuilder.loadTexts:
ss7DestinationCongestedClear.setDescription('Trap generated to indicate that there is no longer congestion at an SS7 destination.')
ss7_link_alignment_failure_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3114)).setObjects(('InternetThruway-MIB', 'linkAlignIndex'), ('InternetThruway-MIB', 'linkAlignKey'), ('InternetThruway-MIB', 'linkAlignIPAddress'), ('InternetThruway-MIB', 'linkAlignName'), ('InternetThruway-MIB', 'linkAlignLinkCode'), ('InternetThruway-MIB', 'linkAlignCardId'), ('InternetThruway-MIB', 'linkAlignLinkSet'), ('InternetThruway-MIB', 'linkAlignTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkAlignmentFailureAlarm.setDescription('Trap generated to indicate alignment failure on a datalink.')
ss7_link_alignment_failure_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 3111)).setObjects(('InternetThruway-MIB', 'linkAlignIndex'), ('InternetThruway-MIB', 'linkAlignKey'), ('InternetThruway-MIB', 'linkAlignIPAddress'), ('InternetThruway-MIB', 'linkAlignName'), ('InternetThruway-MIB', 'linkAlignLinkCode'), ('InternetThruway-MIB', 'linkAlignCardId'), ('InternetThruway-MIB', 'linkAlignLinkSet'), ('InternetThruway-MIB', 'linkAlignTimeStamp'))
if mibBuilder.loadTexts:
ss7LinkAlignmentFailureClear.setDescription('Trap generated to clear a datalink alignment failure alarm.')
nc_lost_server_trap = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4014)).setObjects(('InternetThruway-MIB', 'lsIndex'), ('InternetThruway-MIB', 'lsKey'), ('InternetThruway-MIB', 'lsName'), ('InternetThruway-MIB', 'lsIPAddress'), ('InternetThruway-MIB', 'lsTimeStamp'))
if mibBuilder.loadTexts:
ncLostServerTrap.setDescription('This trap is generated when the CSG loses contact with its peer in the cluster. The variables in this trap identify the server that has been lost. The originator of this trap is implicitly defined.')
nc_found_server_trap = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4011)).setObjects(('InternetThruway-MIB', 'lsIndex'), ('InternetThruway-MIB', 'lsKey'), ('InternetThruway-MIB', 'lsName'), ('InternetThruway-MIB', 'lsIPAddress'), ('InternetThruway-MIB', 'lsTimeStamp'))
if mibBuilder.loadTexts:
ncFoundServerTrap.setDescription('This trap is generated when the initially comes into contact with or regains contact with its peer in the cluster. The variables in this trap identify the server that has been found. The originator of this trap is implicitly defined.')
nc_state_change_trap = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4022)).setObjects(('InternetThruway-MIB', 'ncEthernetName'), ('InternetThruway-MIB', 'ncEthernetIP'), ('InternetThruway-MIB', 'ncOperationalState'), ('InternetThruway-MIB', 'ncStandbyState'), ('InternetThruway-MIB', 'ncAvailabilityState'))
if mibBuilder.loadTexts:
ncStateChangeTrap.setDescription('This trap is generated when any of the state values change.')
csg_complex_state_trap_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4031)).setObjects(('InternetThruway-MIB', 'cplxName'), ('InternetThruway-MIB', 'cplxLocEthernetName'), ('InternetThruway-MIB', 'cplxLocEthernetIP'), ('InternetThruway-MIB', 'cplxLocOperationalState'), ('InternetThruway-MIB', 'cplxLocStandbyState'), ('InternetThruway-MIB', 'cplxLocAvailabilityState'), ('InternetThruway-MIB', 'cplxMateEthernetName'), ('InternetThruway-MIB', 'cplxMateEthernetIP'), ('InternetThruway-MIB', 'cplxMateOperationalState'), ('InternetThruway-MIB', 'cplxMateStandbyState'), ('InternetThruway-MIB', 'cplxMateAvailabilityState'), ('InternetThruway-MIB', 'cplxAlarmStatus'))
if mibBuilder.loadTexts:
csgComplexStateTrapClear.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
csg_complex_state_trap_major = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4034)).setObjects(('InternetThruway-MIB', 'cplxName'), ('InternetThruway-MIB', 'cplxLocEthernetName'), ('InternetThruway-MIB', 'cplxLocEthernetIP'), ('InternetThruway-MIB', 'cplxLocOperationalState'), ('InternetThruway-MIB', 'cplxLocStandbyState'), ('InternetThruway-MIB', 'cplxLocAvailabilityState'), ('InternetThruway-MIB', 'cplxMateEthernetName'), ('InternetThruway-MIB', 'cplxMateEthernetIP'), ('InternetThruway-MIB', 'cplxMateOperationalState'), ('InternetThruway-MIB', 'cplxMateStandbyState'), ('InternetThruway-MIB', 'cplxMateAvailabilityState'), ('InternetThruway-MIB', 'cplxAlarmStatus'))
if mibBuilder.loadTexts:
csgComplexStateTrapMajor.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
csg_complex_state_trap_critical = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4035)).setObjects(('InternetThruway-MIB', 'cplxName'), ('InternetThruway-MIB', 'cplxLocEthernetName'), ('InternetThruway-MIB', 'cplxLocEthernetIP'), ('InternetThruway-MIB', 'cplxLocOperationalState'), ('InternetThruway-MIB', 'cplxLocStandbyState'), ('InternetThruway-MIB', 'cplxLocAvailabilityState'), ('InternetThruway-MIB', 'cplxMateEthernetName'), ('InternetThruway-MIB', 'cplxMateEthernetIP'), ('InternetThruway-MIB', 'cplxMateOperationalState'), ('InternetThruway-MIB', 'cplxMateStandbyState'), ('InternetThruway-MIB', 'cplxMateAvailabilityState'), ('InternetThruway-MIB', 'cplxAlarmStatus'))
if mibBuilder.loadTexts:
csgComplexStateTrapCritical.setDescription('This trap is generated when any of the state values change Severity is determined only by the operational and standby states of both servers.')
cis_retrieval_failure_trap_major = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 4044))
if mibBuilder.loadTexts:
cisRetrievalFailureTrapMajor.setDescription('This trap is generated when the TruCluster ASE information retrieval attempts failed repeatedly. ')
generic_normal = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9001)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapGenericStr1'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
genericNormal.setDescription('The Trap generated for generic normal priority text messages')
generic_warning = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9002)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapGenericStr1'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
genericWarning.setDescription('The Trap generated for generic warning priority text messages')
generic_minor = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9003)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapGenericStr1'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
genericMinor.setDescription('The Trap generated for generic minor priority text messages')
generic_major = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9004)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapGenericStr1'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
genericMajor.setDescription('The Trap generated for generic major priority text messages')
generic_critical = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9005)).setObjects(('InternetThruway-MIB', 'trapIdKey'), ('InternetThruway-MIB', 'trapGenericStr1'), ('InternetThruway-MIB', 'trapTimeStamp'))
if mibBuilder.loadTexts:
genericCritical.setDescription('The Trap generated for generic critical priority text messages')
hg_status_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9011)).setObjects(('InternetThruway-MIB', 'hgKey'), ('InternetThruway-MIB', 'hgIndex'), ('InternetThruway-MIB', 'hgName'), ('InternetThruway-MIB', 'hgIPAddress'), ('InternetThruway-MIB', 'hgAlarmTimeStamp'))
if mibBuilder.loadTexts:
hgStatusClear.setDescription('The Trap generated when a Home Gateway Status returns to normal after having previously been in the failed status.')
hg_status_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9014)).setObjects(('InternetThruway-MIB', 'hgKey'), ('InternetThruway-MIB', 'hgIndex'), ('InternetThruway-MIB', 'hgName'), ('InternetThruway-MIB', 'hgIPAddress'), ('InternetThruway-MIB', 'hgAlarmTimeStamp'))
if mibBuilder.loadTexts:
hgStatusAlarm.setDescription('The Trap generated when a Home Gateway is indicated to be failed.')
nas_status_clear = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9021)).setObjects(('InternetThruway-MIB', 'nasKey'), ('InternetThruway-MIB', 'nasIndex'), ('InternetThruway-MIB', 'nasName'), ('InternetThruway-MIB', 'nasIPAddress'), ('InternetThruway-MIB', 'nasAlarmTimeStamp'), ('InternetThruway-MIB', 'nasCmplxName'))
if mibBuilder.loadTexts:
nasStatusClear.setDescription('The Trap generated when a rapport registers after having previously been in the failed status.')
nas_status_alarm = notification_type((1, 3, 6, 1, 4, 1, 562, 14, 2, 3) + (0, 9024)).setObjects(('InternetThruway-MIB', 'nasKey'), ('InternetThruway-MIB', 'nasIndex'), ('InternetThruway-MIB', 'nasName'), ('InternetThruway-MIB', 'nasIPAddress'), ('InternetThruway-MIB', 'nasAlarmTimeStamp'), ('InternetThruway-MIB', 'nasCmplxName'))
if mibBuilder.loadTexts:
nasStatusAlarm.setDescription('The Trap generated when a Nas is indicated to be failed.')
link_om_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1))
if mibBuilder.loadTexts:
linkOMTable.setStatus('mandatory')
if mibBuilder.loadTexts:
linkOMTable.setDescription('The LinkTable contains information about each signaling link on the CSG')
link_om_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'linksetIndex'), (0, 'InternetThruway-MIB', 'linkIndex'))
if mibBuilder.loadTexts:
linkOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
linkOMTableEntry.setDescription('An entry in the LinkTable. Indexed by linkIndex')
link_om_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkOMId.setStatus('mandatory')
if mibBuilder.loadTexts:
linkOMId.setDescription('The id of the link.')
link_om_set_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkOMSetId.setStatus('mandatory')
if mibBuilder.loadTexts:
linkOMSetId.setDescription('The id of the linkset.')
link_failures = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkFailures.setStatus('mandatory')
if mibBuilder.loadTexts:
linkFailures.setDescription('Number of times this signaling link has failed.')
link_congestions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkCongestions.setStatus('mandatory')
if mibBuilder.loadTexts:
linkCongestions.setDescription('Number of times this signaling link has Congested.')
link_inhibits = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkInhibits.setStatus('mandatory')
if mibBuilder.loadTexts:
linkInhibits.setDescription('Number of times this signaling link has been inhibited.')
link_transmitted_ms_us = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkTransmittedMSUs.setStatus('mandatory')
if mibBuilder.loadTexts:
linkTransmittedMSUs.setDescription('Number of messages sent on this signaling link.')
link_received_ms_us = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkReceivedMSUs.setStatus('mandatory')
if mibBuilder.loadTexts:
linkReceivedMSUs.setDescription('Number of messages received on this signaling link.')
link_remote_proc_outages = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 1, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
linkRemoteProcOutages.setStatus('mandatory')
if mibBuilder.loadTexts:
linkRemoteProcOutages.setDescription('Number of times the remote processor outgaes have been reported.')
b_la_timer_expiries = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bLATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts:
bLATimerExpiries.setDescription('Number of times the BLA timer has expired.')
r_lc_timer_expiries = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rLCTimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts:
rLCTimerExpiries.setDescription('Number of times the RLC timer has expired.')
u_ba_timer_expiries = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
uBATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts:
uBATimerExpiries.setDescription('Number of times the UBA timer has expired.')
r_sa_timer_expiries = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 2, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rSATimerExpiries.setStatus('mandatory')
if mibBuilder.loadTexts:
rSATimerExpiries.setDescription('Number of times the RSA timer has expired.')
out_call_attempts = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
outCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
outCallAttempts.setDescription('Total number of outgoing call legs attempted.')
out_call_normal_completions = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
outCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
outCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
out_call_abnormal_completions = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
outCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
outCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
user_busy_out_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
userBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
userBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
temp_fail_out_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
tempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
tempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
user_unavailable_out_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
userUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
userUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
abnormal_release_out_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
abnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
abnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
other_out_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
otherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
otherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
cumulative_active_out_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
cumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
currently_active_out_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
currently_active_digital_out_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
currently_active_analog_out_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
in_call_attempts = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
inCallAttempts.setDescription('Total number of incoming call legs attempted.')
in_call_normal_completions = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
inCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
in_call_abnormal_completions = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 15), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
inCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
user_busy_in_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
userBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
userBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
temp_fail_in_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 17), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
tempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
tempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
user_unavailable_in_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
userUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
userUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
abnormal_release_in_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
abnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
abnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
other_in_call_rejects = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
otherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
otherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
cumulative_active_in_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
cumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
currently_active_in_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
currently_active_digital_in_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
currently_active_analog_in_calls = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 3, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
currentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
currentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
trunk_call_om_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1))
if mibBuilder.loadTexts:
trunkCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCallOMTable.setDescription('The TrunkCallOMTable contains call related OMs on a trunk group basis')
trunk_call_om_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'trunkCallOMIndex'))
if mibBuilder.loadTexts:
trunkCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCallOMTableEntry.setDescription('An entry in the TrunkCallOMTable. Indexed by trunkCallOMIndex.')
trunk_call_om_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 1), integer32())
if mibBuilder.loadTexts:
trunkCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCallOMIndex.setDescription('Identifies a trunk group index.')
trunk_group_clli = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkGroupCLLI.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkGroupCLLI.setDescription('The Common Language Location Identifier(CLLI), a unique alphanumeric value to identify this Trunk Group.')
number_of_circuits = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
numberOfCircuits.setStatus('mandatory')
if mibBuilder.loadTexts:
numberOfCircuits.setDescription('Total Number of Circuits provisioned against this trunk group.')
trunk_out_call_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOutCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOutCallAttempts.setDescription('Total number of outgoing call legs attempted.')
trunk_out_call_normal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOutCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOutCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
trunk_out_call_abnormal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOutCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOutCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
trunk_user_busy_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkUserBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkUserBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
trunk_temp_fail_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkTempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkTempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
trunk_user_unavailable_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkUserUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkUserUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
trunk_abnormal_release_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkAbnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkAbnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
trunk_other_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOtherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOtherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
trunk_cumulative_active_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
trunk_currently_active_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
trunk_currently_active_digital_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
trunk_currently_active_analog_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 15), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
trunk_in_call_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkInCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkInCallAttempts.setDescription('Total number of incoming call legs attempted.')
trunk_in_call_normal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 17), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkInCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkInCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
trunk_in_call_abnormal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkInCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkInCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
trunk_user_busy_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkUserBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkUserBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
trunk_temp_fail_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkTempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkTempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
trunk_user_unavailable_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkUserUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkUserUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
trunk_abnormal_release_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkAbnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkAbnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
trunk_other_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOtherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOtherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
trunk_cumulative_active_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
trunk_currently_active_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 25), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
trunk_currently_active_digital_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 26), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
trunk_currently_active_analog_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 27), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkCurrentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkCurrentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
trunk_all_active_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkAllActiveCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkAllActiveCalls.setDescription('Total number of currently active call legs (all type).')
trunk_occupancy_per_ccs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 29), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trunkOccupancyPerCCS.setStatus('mandatory')
if mibBuilder.loadTexts:
trunkOccupancyPerCCS.setDescription('Trunk occupancy in Centum Call Seconds.')
traffic_in_cc_ss = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 30), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trafficInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts:
trafficInCCSs.setDescription('Scanned om for tgms that are call busy')
traffic_in_ccs_incomings = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 31), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
trafficInCCSIncomings.setStatus('mandatory')
if mibBuilder.loadTexts:
trafficInCCSIncomings.setDescription('Scanned Om on tgms with an incoming call.')
local_busy_in_cc_ss = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 32), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
localBusyInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts:
localBusyInCCSs.setDescription('Scanned om for tgms that are locally blocked.')
remote_busy_in_cc_ss = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 4, 1, 1, 33), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
remoteBusyInCCSs.setStatus('mandatory')
if mibBuilder.loadTexts:
remoteBusyInCCSs.setDescription('Scanned om for tgms that are remoteley blocked.')
nas_call_om_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1))
if mibBuilder.loadTexts:
nasCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCallOMTable.setDescription('The NasCallOMTable contains call related OMs on a nas basis')
nas_call_om_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'nasCallOMIndex'))
if mibBuilder.loadTexts:
nasCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCallOMTableEntry.setDescription('An entry in the NasCallOMTable. Indexed by nasCallOMIndex.')
nas_call_om_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 1), integer32())
if mibBuilder.loadTexts:
nasCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCallOMIndex.setDescription('Identifies a nas Call OM .')
nas_name1 = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasName1.setStatus('mandatory')
if mibBuilder.loadTexts:
nasName1.setDescription('A unique alphanumeric value to identify this Nas.')
number_of_ports = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
numberOfPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
numberOfPorts.setDescription('Total Number of Ports provisioned against this nas.')
nas_out_call_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasOutCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
nasOutCallAttempts.setDescription('Total number of outgoing call legs attempted.')
nas_out_call_normal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasOutCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
nasOutCallNormalCompletions.setDescription('Total number of outgoing call legs completed normally.')
nas_out_call_abnormal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasOutCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
nasOutCallAbnormalCompletions.setDescription('Total number of outgoing call legs completed abnormally.')
nas_user_busy_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasUserBusyOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasUserBusyOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to user busy signal.')
nas_temp_fail_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasTempFailOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasTempFailOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to temporary failure.')
nas_user_unavailable_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasUserUnavailableOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasUserUnavailableOutCallRejects.setDescription('Total number of outgoing call legs failed due to user not available.')
nas_abnormal_release_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasAbnormalReleaseOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAbnormalReleaseOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to abnormal release.')
nas_other_out_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasOtherOutCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasOtherOutCallRejects.setDescription('Total Number of outgoing call legs rejected due to other reasons.')
nas_cumulative_active_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCumulativeActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCumulativeActiveOutCalls.setDescription('Cumulatvie Number of outgoing call legs active so far.')
nas_currently_active_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveOutCalls.setDescription('Total Number of outgoing call legs currently active.')
nas_currently_active_digital_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveDigitalOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveDigitalOutCalls.setDescription('Total Number of outgoing digital call legs currently active.')
nas_currently_active_analog_out_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 15), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveAnalogOutCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveAnalogOutCalls.setDescription('Total Number of outgoing analog call legs currently active.')
nas_in_call_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasInCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
nasInCallAttempts.setDescription('Total number of incoming call legs attempted.')
nas_in_call_normal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 17), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasInCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
nasInCallNormalCompletions.setDescription('Total number of incoming call legs completed normally.')
nas_in_call_abnormal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasInCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
nasInCallAbnormalCompletions.setDescription('Total number of incoming call legs completed abnormally.')
nas_user_busy_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasUserBusyInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasUserBusyInCallRejects.setDescription('Total Number of incoming call legs rejected due to user busy signal.')
nas_temp_fail_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasTempFailInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasTempFailInCallRejects.setDescription('Total Number of incoming call legs rejected due to temporary failure.')
nas_user_unavailable_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasUserUnavailableInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasUserUnavailableInCallRejects.setDescription('Total number of incoming call legs failed due to user not available.')
nas_abnormal_release_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasAbnormalReleaseInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAbnormalReleaseInCallRejects.setDescription('Total Number of incoming call legs rejected due to abnormal release.')
nas_other_in_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasOtherInCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
nasOtherInCallRejects.setDescription('Total Number of incoming call legs rejected due to other reasons.')
nas_cumulative_active_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCumulativeActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCumulativeActiveInCalls.setDescription('Cumulatvie Number of incoming call legs active so far.')
nas_currently_active_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 25), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveInCalls.setDescription('Total Number of incoming call legs currently active.')
nas_currently_active_digital_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 26), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveDigitalInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveDigitalInCalls.setDescription('Total Number of incoming digital call legs currently active.')
nas_currently_active_analog_in_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 27), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyActiveAnalogInCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyActiveAnalogInCalls.setDescription('Total Number of incoming analog call legs currently active.')
nas_all_active_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasAllActiveCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
nasAllActiveCalls.setDescription('Total number of currently active call legs (all type).')
nas_max_ports_used = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 29), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasMaxPortsUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
nasMaxPortsUsed.setDescription('Maximum number of ports used in this nas since the last system restart.')
nas_min_ports_used = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 30), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasMinPortsUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
nasMinPortsUsed.setDescription('Minimum number of ports used in this nas since the last system restart.')
nas_currently_in_use_ports = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 7, 1, 1, 31), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nasCurrentlyInUsePorts.setStatus('mandatory')
if mibBuilder.loadTexts:
nasCurrentlyInUsePorts.setDescription('Number of ports currently in use.')
phone_call_om_table = mib_table((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1))
if mibBuilder.loadTexts:
phoneCallOMTable.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCallOMTable.setDescription('The PhoneCallOMTable contains call related OMs on a phone number basis')
phone_call_om_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1)).setIndexNames((0, 'InternetThruway-MIB', 'phoneCallOMIndex'))
if mibBuilder.loadTexts:
phoneCallOMTableEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCallOMTableEntry.setDescription('An entry in the PhoneCallOMTable. Indexed by phoneGroupIndex.')
phone_call_om_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 1), integer32())
if mibBuilder.loadTexts:
phoneCallOMIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCallOMIndex.setDescription('Uniquely identifies an entry in this table.')
phone_number = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneNumber.setDescription('Phone number for the underlying Call OM record.')
phone_dial_call_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneDialCallAttempts.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneDialCallAttempts.setDescription('Total number of dial calls attempted.')
phone_dial_call_normal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneDialCallNormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneDialCallNormalCompletions.setDescription('Total number of dial calls completed normally.')
phone_dial_call_abnormal_completions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneDialCallAbnormalCompletions.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneDialCallAbnormalCompletions.setDescription('Total number of dial calls completed abnormally.')
phone_user_busy_dial_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneUserBusyDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneUserBusyDialCallRejects.setDescription('Total Number of dial calls rejected due to user busy signal.')
phone_temp_fail_dial_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneTempFailDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneTempFailDialCallRejects.setDescription('Total Number of dial calls rejected due to temporary failure.')
phone_user_unavailable_dial_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneUserUnavailableDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneUserUnavailableDialCallRejects.setDescription('Total number of dial calls failed due to user not available.')
phone_abnormal_release_dial_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneAbnormalReleaseDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneAbnormalReleaseDialCallRejects.setDescription('Total Number of dial calls rejected due to abnormal release.')
phone_other_dial_call_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneOtherDialCallRejects.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneOtherDialCallRejects.setDescription('Total Number of dial calls rejected due to other reasons.')
phone_cumulative_active_dial_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneCumulativeActiveDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCumulativeActiveDialCalls.setDescription('Cumulatvie Number of dial calls active so far.')
phone_currently_active_dial_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneCurrentlyActiveDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCurrentlyActiveDialCalls.setDescription('Total Number of dial calls currently active.')
phone_currently_active_digital_dial_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneCurrentlyActiveDigitalDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCurrentlyActiveDigitalDialCalls.setDescription('Total Number of digital dial calls currently active.')
phone_currently_active_analog_dial_calls = mib_table_column((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 5, 1, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
phoneCurrentlyActiveAnalogDialCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
phoneCurrentlyActiveAnalogDialCalls.setDescription('Total Number of analog dial calls currently active.')
csg_complex_clli = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
csgComplexCLLI.setStatus('mandatory')
if mibBuilder.loadTexts:
csgComplexCLLI.setDescription('A unique identifier of the CSG Complex.')
server_host_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
serverHostName.setStatus('mandatory')
if mibBuilder.loadTexts:
serverHostName.setDescription('Host Name of this server.')
server_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
serverIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
serverIpAddress.setDescription('IP address of this server.')
server_clli = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
serverCLLI.setStatus('mandatory')
if mibBuilder.loadTexts:
serverCLLI.setDescription('A unique identifier of this server (common in the telco world).')
mate_server_host_name = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mateServerHostName.setStatus('mandatory')
if mibBuilder.loadTexts:
mateServerHostName.setDescription('Host Name of this server.')
mate_server_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 6), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mateServerIpAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
mateServerIpAddress.setDescription('IP address of this server.')
server_mem_size = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
serverMemSize.setStatus('mandatory')
if mibBuilder.loadTexts:
serverMemSize.setDescription('Memory size in mega bytes of this server.')
provisioned_dp_cs = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
provisionedDPCs.setStatus('mandatory')
if mibBuilder.loadTexts:
provisionedDPCs.setDescription('Number of destination point codes provisioned.')
provisioned_circuits = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
provisionedCircuits.setStatus('mandatory')
if mibBuilder.loadTexts:
provisionedCircuits.setDescription('Number of circuits provisioned.')
inservice_circuits = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inserviceCircuits.setStatus('mandatory')
if mibBuilder.loadTexts:
inserviceCircuits.setDescription('Number of circuits in service. This number goes up or down at any given time.')
provisioned_na_ses = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
provisionedNASes.setStatus('mandatory')
if mibBuilder.loadTexts:
provisionedNASes.setDescription('Number of NASes provisioned.')
alive_na_ses = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
aliveNASes.setStatus('mandatory')
if mibBuilder.loadTexts:
aliveNASes.setDescription('Number of NASes known to be alive. This number goes up or down at any given time.')
inservice_na_ses = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inserviceNASes.setStatus('mandatory')
if mibBuilder.loadTexts:
inserviceNASes.setDescription('Number of NASes in service. This number goes up or down at any given time.')
provsioned_cards = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
provsionedCards.setStatus('mandatory')
if mibBuilder.loadTexts:
provsionedCards.setDescription('Number of NAS cards provisioned.')
inservice_cards = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inserviceCards.setStatus('mandatory')
if mibBuilder.loadTexts:
inserviceCards.setDescription('Number of NAS cards in service. This number goes up or down at any given time.')
provisioned_ports = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
provisionedPorts.setStatus('mandatory')
if mibBuilder.loadTexts:
provisionedPorts.setDescription('Number of ports provisioned.')
inservice_ports = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
inservicePorts.setStatus('mandatory')
if mibBuilder.loadTexts:
inservicePorts.setDescription('Number of ports in service. This number goes up or down at any given time.')
user_cpu_usage = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
userCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
userCPUUsage.setDescription('Percentage of CPU used in user domain. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
system_cpu_usage = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
systemCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
systemCPUUsage.setDescription('Percentage of CPU used in system domain in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
total_cpu_usage = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 21), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
totalCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
totalCPUUsage.setDescription('Percentage of CPU used in total in this server Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
max_cpu_usage = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
maxCPUUsage.setStatus('mandatory')
if mibBuilder.loadTexts:
maxCPUUsage.setDescription('High water measurement. Maximum CPU Usage (%) in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
avg_load = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 23), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
avgLoad.setStatus('mandatory')
if mibBuilder.loadTexts:
avgLoad.setDescription('Average CPU load factor in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the last one computed.')
system_call_rate = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
systemCallRate.setStatus('mandatory')
if mibBuilder.loadTexts:
systemCallRate.setDescription('System Call rate (per second) in this Cserver. Survman computes this value in every 600 seconds. The value stored in the MIB will be the one computed the last time.')
context_switch_rate = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
contextSwitchRate.setStatus('mandatory')
if mibBuilder.loadTexts:
contextSwitchRate.setDescription('Process context switching rate (per second) in this server. Survman computes this value in every 600 seconds. The value stored in the MIB will be the one computed the last time.')
last_update_om_file = mib_scalar((1, 3, 6, 1, 4, 1, 562, 14, 2, 7, 6, 26), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lastUpdateOMFile.setStatus('mandatory')
if mibBuilder.loadTexts:
lastUpdateOMFile.setDescription('Name of the last updated OM file.')
mibBuilder.exportSymbols('InternetThruway-MIB', cplxMateStandbyState=cplxMateStandbyState, icTimeStamp=icTimeStamp, linkAlignLinkSet=linkAlignLinkSet, nasUserUnavailableInCallRejects=nasUserUnavailableInCallRejects, phoneCallOMIndex=phoneCallOMIndex, linkOMs=linkOMs, hgIPAddress=hgIPAddress, ss7MTP2TrunkFailureAlarmTableEntry=ss7MTP2TrunkFailureAlarmTableEntry, componentIndex=componentIndex, lsIPAddress=lsIPAddress, RouteState=RouteState, ncLostServerTrap=ncLostServerTrap, LinksetState=LinksetState, nasCallOMTableEntry=nasCallOMTableEntry, trunkOccupancyPerCCS=trunkOccupancyPerCCS, routeIndex=routeIndex, destCongestPointcode=destCongestPointcode, userBusyOutCallRejects=userBusyOutCallRejects, componentTable=componentTable, routeTable=routeTable, ss7DestinationAccessible=ss7DestinationAccessible, ss7LinkCongestionAlarmTableEntry=ss7LinkCongestionAlarmTableEntry, partitionSpaceTimeStamp=partitionSpaceTimeStamp, lcKey=lcKey, nasCurrentlyActiveDigitalOutCalls=nasCurrentlyActiveDigitalOutCalls, destInaccessPointcode=destInaccessPointcode, trunkUserUnavailableOutCallRejects=trunkUserUnavailableOutCallRejects, LinkAlignmentState=LinkAlignmentState, trunkOtherOutCallRejects=trunkOtherOutCallRejects, ss7ISUPFailureAlarmTableEntry=ss7ISUPFailureAlarmTableEntry, trunkOtherInCallRejects=trunkOtherInCallRejects, lcLinkSet=lcLinkSet, lsKey=lsKey, ss7FEPCongestionWarning=ss7FEPCongestionWarning, ss7BEPCongestionWarning=ss7BEPCongestionWarning, provisionedPorts=provisionedPorts, nasUserUnavailableOutCallRejects=nasUserUnavailableOutCallRejects, phoneDialCallNormalCompletions=phoneDialCallNormalCompletions, ss7DestinationCongestedAlarm=ss7DestinationCongestedAlarm, cplxMateAvailabilityState=cplxMateAvailabilityState, totalCPUUsage=totalCPUUsage, provsionedCards=provsionedCards, compDebugStatus=compDebugStatus, provisionedNASes=provisionedNASes, trafficInCCSs=trafficInCCSs, currentlyActiveInCalls=currentlyActiveInCalls, cplxMateOperationalState=cplxMateOperationalState, nasStatusAlarm=nasStatusAlarm, nasAlarmTableEntry=nasAlarmTableEntry, PartitionSpaceStatus=PartitionSpaceStatus, linksetTableEntry=linksetTableEntry, rSATimerExpiries=rSATimerExpiries, mtp2CardId=mtp2CardId, compStateAlarm=compStateAlarm, mtp2Key=mtp2Key, ss7DestinationInaccessibleAlarmTable=ss7DestinationInaccessibleAlarmTable, nasIPAddress=nasIPAddress, inserviceNASes=inserviceNASes, linkOMTableEntry=linkOMTableEntry, nasUserBusyInCallRejects=nasUserBusyInCallRejects, lcIPAddress=lcIPAddress, hgName=hgName, phoneNumberOMs=phoneNumberOMs, linkNumSIFReceived=linkNumSIFReceived, numberOfPorts=numberOfPorts, lsName=lsName, lfCardId=lfCardId, icIndex=icIndex, provisionedDPCs=provisionedDPCs, lfIPAddress=lfIPAddress, lostServerAlarmTableEntry=lostServerAlarmTableEntry, mateServerIpAddress=mateServerIpAddress, cumulativeActiveOutCalls=cumulativeActiveOutCalls, nasCurrentlyActiveOutCalls=nasCurrentlyActiveOutCalls, nasInCallAbnormalCompletions=nasInCallAbnormalCompletions, lsFailureTimeStamp=lsFailureTimeStamp, alarmStatusInt1=alarmStatusInt1, csgComplexStateTrapClear=csgComplexStateTrapClear, partitionPercentFull=partitionPercentFull, systemCPUUsage=systemCPUUsage, destPointCode=destPointCode, destInaccessIndex=destInaccessIndex, nasTempFailInCallRejects=nasTempFailInCallRejects, destinationTable=destinationTable, destinationTableEntry=destinationTableEntry, trunkGroupCLLI=trunkGroupCLLI, nasName=nasName, TimeString=TimeString, currentlyActiveDigitalInCalls=currentlyActiveDigitalInCalls, linksetTable=linksetTable, cplxLocEthernetName=cplxLocEthernetName, genericWarning=genericWarning, phoneDialCallAttempts=phoneDialCallAttempts, ss7MTP2TrunkFailureAlarm=ss7MTP2TrunkFailureAlarm, compRestartKey=compRestartKey, linkAlignIPAddress=linkAlignIPAddress, nasCurrentlyActiveInCalls=nasCurrentlyActiveInCalls, linkFailures=linkFailures, ss7MTP3CongestionCritical=ss7MTP3CongestionCritical, contextSwitchRate=contextSwitchRate, nasCumulativeActiveOutCalls=nasCumulativeActiveOutCalls, compDebugKey=compDebugKey, rLCTimerExpiries=rLCTimerExpiries, routeId=routeId, userUnavailableInCallRejects=userUnavailableInCallRejects, outCallNormalCompletions=outCallNormalCompletions, linkHostname=linkHostname, nasCallOMTable=nasCallOMTable, compProvStateStatus=compProvStateStatus, phoneOtherDialCallRejects=phoneOtherDialCallRejects, cisRetrievalFailureTrapMajor=cisRetrievalFailureTrapMajor, maintenanceOMs=maintenanceOMs, trunkOutCallAttempts=trunkOutCallAttempts, phoneNumber=phoneNumber, icName=icName, ncSoftwareVersion=ncSoftwareVersion, linkIndex=linkIndex, ss7DestinationCongestedAlarmTableEntry=ss7DestinationCongestedAlarmTableEntry, ifTimeStamp=ifTimeStamp, partitionSpaceStatus=partitionSpaceStatus, linkCardDeviceName=linkCardDeviceName, maxCPUUsage=maxCPUUsage, mateServerHostName=mateServerHostName, linkNumMSUDiscarded=linkNumMSUDiscarded, inCallAbnormalCompletions=inCallAbnormalCompletions, ncServerId=ncServerId, serverCLLI=serverCLLI, inservicePorts=inservicePorts, ncEthernetName=ncEthernetName, nasMaxPortsUsed=nasMaxPortsUsed, lsTimeStamp=lsTimeStamp, ss7LinkAlignmentFailureClear=ss7LinkAlignmentFailureClear, phoneCurrentlyActiveDialCalls=phoneCurrentlyActiveDialCalls, phoneUserUnavailableDialCallRejects=phoneUserUnavailableDialCallRejects, csg=csg, ncFoundServerTrap=ncFoundServerTrap, systemOMs=systemOMs, ncClusterIP=ncClusterIP, compSecsInCurrentState=compSecsInCurrentState, abnormalReleaseInCallRejects=abnormalReleaseInCallRejects, nasCumulativeActiveInCalls=nasCumulativeActiveInCalls, ncAvailabilityState=ncAvailabilityState, inserviceCards=inserviceCards, trunkCumulativeActiveOutCalls=trunkCumulativeActiveOutCalls, linkAlignTimeStamp=linkAlignTimeStamp, hgAlarmTableEntry=hgAlarmTableEntry, trunkUserBusyInCallRejects=trunkUserBusyInCallRejects, csgComplexCLLI=csgComplexCLLI, linkAlignLinkCode=linkAlignLinkCode, destState=destState, ifIndex=ifIndex, ss7LinksetFailureAlarmTable=ss7LinksetFailureAlarmTable, uBATimerExpiries=uBATimerExpiries, ss7DestinationCongestedAlarmTable=ss7DestinationCongestedAlarmTable, alarmMaskInt1=alarmMaskInt1, lfKey=lfKey, lastUpdateOMFile=lastUpdateOMFile, linkAlignCardId=linkAlignCardId, genericNormal=genericNormal, lfLinkCode=lfLinkCode, lcTimeStamp=lcTimeStamp, nasStatusClear=nasStatusClear, currentlyActiveDigitalOutCalls=currentlyActiveDigitalOutCalls, LinkCongestionState=LinkCongestionState, nasKey=nasKey, cplxLocOperationalState=cplxLocOperationalState, linkNumMSUTransmitted=linkNumMSUTransmitted, linkCongestions=linkCongestions, ncStandbyState=ncStandbyState, ss7ISUPCongestionAlarmTable=ss7ISUPCongestionAlarmTable, nasOtherOutCallRejects=nasOtherOutCallRejects, linkInhibitionState=linkInhibitionState, genericMinor=genericMinor, hgAlarmTable=hgAlarmTable, ncOperationalState=ncOperationalState, phoneCurrentlyActiveAnalogDialCalls=phoneCurrentlyActiveAnalogDialCalls, trunkUserUnavailableInCallRejects=trunkUserUnavailableInCallRejects, UpgradeInProgress=UpgradeInProgress, alarms=alarms, compDebugTimeStamp=compDebugTimeStamp, cplxMateEthernetIP=cplxMateEthernetIP, trunkCallOMIndex=trunkCallOMIndex, lfName=lfName, userBusyInCallRejects=userBusyInCallRejects, linkRemoteProcOutages=linkRemoteProcOutages, trapGenericStr1=trapGenericStr1, linkAlignKey=linkAlignKey, genericCritical=genericCritical, abnormalReleaseOutCallRejects=abnormalReleaseOutCallRejects, ncServer=ncServer, compProvStateTimeStamp=compProvStateTimeStamp, ss7LinkAlignmentAlarmTableEntry=ss7LinkAlignmentAlarmTableEntry, mtp3Name=mtp3Name, destCongestKey=destCongestKey, hgStatusClear=hgStatusClear, trapName=trapName, userCPUUsage=userCPUUsage, linkOMTable=linkOMTable, ss7ISUPFailureAlarm=ss7ISUPFailureAlarm, ss7MTP3CongestionMinor=ss7MTP3CongestionMinor, partitionIndex=partitionIndex, genericMajor=genericMajor, lcLinkCode=lcLinkCode, alarmMaskInt2=alarmMaskInt2, ncStateChangeTrap=ncStateChangeTrap, ss7MTP3CongestionAlarmTable=ss7MTP3CongestionAlarmTable, remoteBusyInCCSs=remoteBusyInCCSs, csgComplexStateTrapInfo=csgComplexStateTrapInfo, aliveNASes=aliveNASes, destCongestIPAddress=destCongestIPAddress, trunkGroupOMs=trunkGroupOMs, otherOutCallRejects=otherOutCallRejects, lsFailurePointcode=lsFailurePointcode, trapFileName=trapFileName, ss7LinkAlignmentAlarmTable=ss7LinkAlignmentAlarmTable, destIndex=destIndex, destCongestName=destCongestName, nasCurrentlyInUsePorts=nasCurrentlyInUsePorts, systemCallRate=systemCallRate, mtp2TimeStamp=mtp2TimeStamp, linkNumUnexpectedMsgs=linkNumUnexpectedMsgs, trapCompName=trapCompName, linkNumSIFTransmitted=linkNumSIFTransmitted, ncEthernetIP=ncEthernetIP, nortel=nortel, tempFailOutCallRejects=tempFailOutCallRejects, inserviceCircuits=inserviceCircuits, destInaccessIPAddress=destInaccessIPAddress, linksetState=linksetState, cplxLocAvailabilityState=cplxLocAvailabilityState, nasOutCallAbnormalCompletions=nasOutCallAbnormalCompletions, ss7LinkFailureAlarmTable=ss7LinkFailureAlarmTable, ss7LinkCongestionAlarm=ss7LinkCongestionAlarm, restartStateClear=restartStateClear, alarmStatusInt2=alarmStatusInt2, trunkCurrentlyActiveDigitalInCalls=trunkCurrentlyActiveDigitalInCalls, ss7ISUPCongestionClear=ss7ISUPCongestionClear, lfIndex=lfIndex, linkTableEntry=linkTableEntry, mtp2Name=mtp2Name, mtp3IPAddress=mtp3IPAddress, ncUpgradeInProgress=ncUpgradeInProgress, nasOutCallAttempts=nasOutCallAttempts, lfLinkSet=lfLinkSet, provisionedCircuits=provisionedCircuits, partitionTable=partitionTable, ss7LinkCongestionAlarmTable=ss7LinkCongestionAlarmTable, serverMemSize=serverMemSize, ss7LinkFailureClear=ss7LinkFailureClear, trunkInCallAttempts=trunkInCallAttempts, mtp2Index=mtp2Index, trapIdKey=trapIdKey, phoneCallOMTableEntry=phoneCallOMTableEntry, ss7LinksetFailureAlarm=ss7LinksetFailureAlarm)
mibBuilder.exportSymbols('InternetThruway-MIB', icIPAddress=icIPAddress, trunkCumulativeActiveInCalls=trunkCumulativeActiveInCalls, lfTimeStamp=lfTimeStamp, ss7LinkFailureAlarm=ss7LinkFailureAlarm, partitionMegsFree=partitionMegsFree, compStateClear=compStateClear, lsFailureIndex=lsFailureIndex, cumulativeActiveInCalls=cumulativeActiveInCalls, ss7LinksetFailureClear=ss7LinksetFailureClear, linksetId=linksetId, linkOMSetId=linkOMSetId, hgKey=hgKey, csgComplexStateTrapCritical=csgComplexStateTrapCritical, linkNumMSUReceived=linkNumMSUReceived, ss7LinksetFailureAlarmTableEntry=ss7LinksetFailureAlarmTableEntry, partitionName=partitionName, icKey=icKey, ss7MTP3CongestionMajor=ss7MTP3CongestionMajor, icCongestionLevel=icCongestionLevel, trunkCurrentlyActiveOutCalls=trunkCurrentlyActiveOutCalls, avgLoad=avgLoad, compDebugOff=compDebugOff, nasCurrentlyActiveDigitalInCalls=nasCurrentlyActiveDigitalInCalls, destCongestIndex=destCongestIndex, restartStateAlarm=restartStateAlarm, trunkInCallAbnormalCompletions=trunkInCallAbnormalCompletions, trunkAbnormalReleaseInCallRejects=trunkAbnormalReleaseInCallRejects, linksetIndex=linksetIndex, mtp2IPAddress=mtp2IPAddress, ifIPAddress=ifIPAddress, lsFailureName=lsFailureName, nasAlarmTimeStamp=nasAlarmTimeStamp, trafficInCCSIncomings=trafficInCCSIncomings, nasTempFailOutCallRejects=nasTempFailOutCallRejects, routeState=routeState, DestinationState=DestinationState, linkInhibits=linkInhibits, compRestartTimeStamp=compRestartTimeStamp, ss7MTP3CongestionClear=ss7MTP3CongestionClear, nasInCallNormalCompletions=nasInCallNormalCompletions, MTP2AlarmConditionType=MTP2AlarmConditionType, linkId=linkId, ss7ISUPFailureClear=ss7ISUPFailureClear, componentName=componentName, lcCardId=lcCardId, nasOMs=nasOMs, disk=disk, nasIndex=nasIndex, trunkCurrentlyActiveAnalogOutCalls=trunkCurrentlyActiveAnalogOutCalls, ncClusterName=ncClusterName, trunkCurrentlyActiveDigitalOutCalls=trunkCurrentlyActiveDigitalOutCalls, routeDestPointCode=routeDestPointCode, LinkState=LinkState, nasAlarmTable=nasAlarmTable, destCongestTimeStamp=destCongestTimeStamp, cplxAlarmStatus=cplxAlarmStatus, lsIndex=lsIndex, ss7=ss7, nasAbnormalReleaseOutCallRejects=nasAbnormalReleaseOutCallRejects, currentlyActiveOutCalls=currentlyActiveOutCalls, ComponentIndex=ComponentIndex, hgIndex=hgIndex, lostServerAlarmTable=lostServerAlarmTable, localBusyInCCSs=localBusyInCCSs, currentlyActiveAnalogOutCalls=currentlyActiveAnalogOutCalls, ss7LinkCongestionClear=ss7LinkCongestionClear, ss7DestinationCongestedClear=ss7DestinationCongestedClear, mtp3CongestionLevel=mtp3CongestionLevel, callOMs=callOMs, tempFailInCallRejects=tempFailInCallRejects, lcIndex=lcIndex, trunkOutCallAbnormalCompletions=trunkOutCallAbnormalCompletions, phoneUserBusyDialCallRejects=phoneUserBusyDialCallRejects, ss7ISUPCongestionAlarm=ss7ISUPCongestionAlarm, linkAlignIndex=linkAlignIndex, inCallNormalCompletions=inCallNormalCompletions, ifName=ifName, currentlyActiveAnalogInCalls=currentlyActiveAnalogInCalls, routeRank=routeRank, phoneDialCallAbnormalCompletions=phoneDialCallAbnormalCompletions, phoneTempFailDialCallRejects=phoneTempFailDialCallRejects, otherInCallRejects=otherInCallRejects, routeTableEntry=routeTableEntry, trapDate=trapDate, userUnavailableOutCallRejects=userUnavailableOutCallRejects, trapIPAddress=trapIPAddress, cplxMateEthernetName=cplxMateEthernetName, phoneCallOMTable=phoneCallOMTable, serverIpAddress=serverIpAddress, trunkTempFailOutCallRejects=trunkTempFailOutCallRejects, compRestartStatus=compRestartStatus, nasOutCallNormalCompletions=nasOutCallNormalCompletions, ss7DestinationInaccessible=ss7DestinationInaccessible, bLATimerExpiries=bLATimerExpiries, trunkAllActiveCalls=trunkAllActiveCalls, destInaccessName=destInaccessName, system=system, nasOtherInCallRejects=nasOtherInCallRejects, cplxName=cplxName, trunkUserBusyOutCallRejects=trunkUserBusyOutCallRejects, nasInCallAttempts=nasInCallAttempts, lcName=lcName, nasCurrentlyActiveAnalogOutCalls=nasCurrentlyActiveAnalogOutCalls, dialaccess=dialaccess, trapTimeStamp=trapTimeStamp, trunkCurrentlyActiveInCalls=trunkCurrentlyActiveInCalls, linkNumAutoChangeovers=linkNumAutoChangeovers, diskSpaceClear=diskSpaceClear, omData=omData, linkAlignName=linkAlignName, nasName1=nasName1, ss7LinkFailureAlarmTableEntry=ss7LinkFailureAlarmTableEntry, etherCardTrapMajor=etherCardTrapMajor, LinkInhibitionState=LinkInhibitionState, components=components, linkCongestionState=linkCongestionState, ss7MTP3CongestionAlarmTableEntry=ss7MTP3CongestionAlarmTableEntry, destInaccessKey=destInaccessKey, trunkCallOMTable=trunkCallOMTable, alarmStatusInt3=alarmStatusInt3, ss7ISUPCongestionAlarmTableEntry=ss7ISUPCongestionAlarmTableEntry, ifKey=ifKey, serverHostName=serverHostName, compProvStateKey=compProvStateKey, nasMinPortsUsed=nasMinPortsUsed, etherCardTrapCritical=etherCardTrapCritical, ComponentSysmanState=ComponentSysmanState, trunkCurrentlyActiveAnalogInCalls=trunkCurrentlyActiveAnalogInCalls, nasAbnormalReleaseInCallRejects=nasAbnormalReleaseInCallRejects, ss7ISUPFailureAlarmTable=ss7ISUPFailureAlarmTable, mtp2AlarmCondition=mtp2AlarmCondition, trunkOutCallNormalCompletions=trunkOutCallNormalCompletions, etherCardTrapClear=etherCardTrapClear, linkTransmittedMSUs=linkTransmittedMSUs, cplxLocEthernetIP=cplxLocEthernetIP, traps=traps, ncServerName=ncServerName, phoneCumulativeActiveDialCalls=phoneCumulativeActiveDialCalls, partitionTableEntry=partitionTableEntry, linkOMId=linkOMId, csgComplexStateTrapMajor=csgComplexStateTrapMajor, ncHostName=ncHostName, numberOfCircuits=numberOfCircuits, linkTable=linkTable, ss7MTP2TrunkFailureAlarmTable=ss7MTP2TrunkFailureAlarmTable, trunkInCallNormalCompletions=trunkInCallNormalCompletions, linkAlignmentState=linkAlignmentState, outCallAbnormalCompletions=outCallAbnormalCompletions, nasCallOMIndex=nasCallOMIndex, phoneAbnormalReleaseDialCallRejects=phoneAbnormalReleaseDialCallRejects, destRuleId=destRuleId, nasCmplxName=nasCmplxName, lsFailureIPAddress=lsFailureIPAddress, partitionSpaceKey=partitionSpaceKey, ss7DestinationInaccessibleAlarmTableEntry=ss7DestinationInaccessibleAlarmTableEntry, hgStatusAlarm=hgStatusAlarm, inCallAttempts=inCallAttempts, linkState=linkState, ss7MTP2TrunkFailureClear=ss7MTP2TrunkFailureClear, nasAllActiveCalls=nasAllActiveCalls, compDebugOn=compDebugOn, destCongestCongestionLevel=destCongestCongestionLevel, mtp3Key=mtp3Key, linkReceivedMSUs=linkReceivedMSUs, ss7LinkAlignmentFailureAlarm=ss7LinkAlignmentFailureAlarm, linksetAdjPointcode=linksetAdjPointcode, routeLinksetId=routeLinksetId, phoneCurrentlyActiveDigitalDialCalls=phoneCurrentlyActiveDigitalDialCalls, nasCurrentlyActiveAnalogInCalls=nasCurrentlyActiveAnalogInCalls, trunkTempFailInCallRejects=trunkTempFailInCallRejects, trunkCallOMTableEntry=trunkCallOMTableEntry, diskSpaceAlarm=diskSpaceAlarm, mtp3Index=mtp3Index, nasUserBusyOutCallRejects=nasUserBusyOutCallRejects, lsFailureKey=lsFailureKey, hgAlarmTimeStamp=hgAlarmTimeStamp, mtp3TimeStamp=mtp3TimeStamp, componentTableEntry=componentTableEntry, outCallAttempts=outCallAttempts, cplxLocStandbyState=cplxLocStandbyState, trunkAbnormalReleaseOutCallRejects=trunkAbnormalReleaseOutCallRejects, destInaccessTimeStamp=destInaccessTimeStamp) |
# 2. Repeat Strings
# Write a Program That Reads a list of strings. Each string is repeated N times, where N is the length of the string. Print the concatenated string.
strings = input().split()
output_string = ""
for string in strings:
N = len(string)
output_string += string * N
print(output_string)
| strings = input().split()
output_string = ''
for string in strings:
n = len(string)
output_string += string * N
print(output_string) |
def dfs(V):
print(V, end=' ')
visited[V] = True
for n in graph[V]:
if not visited[n]:
dfs(n)
def dfs_s(V):
stack = [V]
visited[V] = True
while stack:
now = stack.pop()
print(now, end=' ')
for n in graph[now]:
if not visited[n]:
stack.append(n)
visited[n] = True
def bfs(V):
visited[V] = True
queue = [V]
while queue:
now = queue.pop(0)
print(now, end=' ')
for n in graph[now]:
if not visited[n]:
queue.append(n)
visited[n] = True
N, M, V = map(int, input().strip().split())
visited = [False] * (N + 1)
graph = [[] for _ in range(N + 1)]
for i in range(M):
a, b = map(int, input().strip().split())
graph[a].append(b)
graph[b].append(a)
for i in range(1, N + 1):
graph[i].sort()
dfs(V)
visited = [False] * (N + 1)
print()
bfs(V)
| def dfs(V):
print(V, end=' ')
visited[V] = True
for n in graph[V]:
if not visited[n]:
dfs(n)
def dfs_s(V):
stack = [V]
visited[V] = True
while stack:
now = stack.pop()
print(now, end=' ')
for n in graph[now]:
if not visited[n]:
stack.append(n)
visited[n] = True
def bfs(V):
visited[V] = True
queue = [V]
while queue:
now = queue.pop(0)
print(now, end=' ')
for n in graph[now]:
if not visited[n]:
queue.append(n)
visited[n] = True
(n, m, v) = map(int, input().strip().split())
visited = [False] * (N + 1)
graph = [[] for _ in range(N + 1)]
for i in range(M):
(a, b) = map(int, input().strip().split())
graph[a].append(b)
graph[b].append(a)
for i in range(1, N + 1):
graph[i].sort()
dfs(V)
visited = [False] * (N + 1)
print()
bfs(V) |
# Time Complexity - O(n) ; Space Complexity - O(n)
class Solution:
def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode:
carry = 0
out = temp = ListNode()
while l1 is not None and l2 is not None:
tempsum = l1.val + l2.val
tempsum += carry
if tempsum > 9:
carry = tempsum//10
tempsum %= 10
else:
carry = 0
temp.next = ListNode(tempsum)
temp = temp.next
l1 = l1.next
l2 = l2.next
if l1:
while l1:
tempsum = l1.val + carry
if tempsum > 9:
carry = tempsum//10
tempsum %= 10
else:
carry = 0
temp.next = ListNode(tempsum)
temp = temp.next
l1 = l1.next
elif l2:
while l2:
tempsum = l2.val + carry
if tempsum > 9:
carry = tempsum//10
tempsum %= 10
else:
carry = 0
temp.next = ListNode(tempsum)
temp = temp.next
l2 = l2.next
if carry:
temp.next = ListNode(carry)
return out.next | class Solution:
def add_two_numbers(self, l1: ListNode, l2: ListNode) -> ListNode:
carry = 0
out = temp = list_node()
while l1 is not None and l2 is not None:
tempsum = l1.val + l2.val
tempsum += carry
if tempsum > 9:
carry = tempsum // 10
tempsum %= 10
else:
carry = 0
temp.next = list_node(tempsum)
temp = temp.next
l1 = l1.next
l2 = l2.next
if l1:
while l1:
tempsum = l1.val + carry
if tempsum > 9:
carry = tempsum // 10
tempsum %= 10
else:
carry = 0
temp.next = list_node(tempsum)
temp = temp.next
l1 = l1.next
elif l2:
while l2:
tempsum = l2.val + carry
if tempsum > 9:
carry = tempsum // 10
tempsum %= 10
else:
carry = 0
temp.next = list_node(tempsum)
temp = temp.next
l2 = l2.next
if carry:
temp.next = list_node(carry)
return out.next |
_base_ = [
'../_base_/models/faster_rcnn_r50_fpn.py'
]
model = dict(
type='FasterRCNN',
# pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=True),
norm_eval=True,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512, 1024, 2048],
out_channels=256,
num_outs=5),
rpn_head=dict(
type='RPNHead',
in_channels=256,
feat_channels=256,
anchor_generator=dict(
type='AnchorGenerator',
scales=[8],
ratios=[0.5, 1.0, 2.0],
strides=[4, 8, 16, 32, 64]),
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[.0, .0, .0, .0],
target_stds=[1.0, 1.0, 1.0, 1.0]),
loss_cls=dict(
type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),
loss_bbox=dict(type='L1Loss', loss_weight=1.0)),
roi_head=dict(
# type='StandardRoIHead',
_delete_=True,
type='KeypointRoIHead',
output_heatmaps=False,
# keypoint_head=dict(
# type='HRNetKeypointHead',
# num_convs=8,
# in_channels=256,
# features_size=[256, 256, 256, 256],
# conv_out_channels=512,
# num_keypoints=5,
# loss_keypoint=dict(type='MSELoss', loss_weight=50.0)),
keypoint_decoder=dict(type='HeatmapDecodeOneKeypoint', upscale=4),
bbox_roi_extractor=dict(
type='SingleRoIExtractor',
roi_layer=dict(type='RoIAlign', output_size=7, sampling_ratio=0),
out_channels=256,
featmap_strides=[4, 8, 16, 32]),
bbox_head=dict(
type='Shared2FCBBoxHead',
in_channels=256,
fc_out_channels=1024,
roi_feat_size=7,
num_classes=80,
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[0., 0., 0., 0.],
target_stds=[0.1, 0.1, 0.2, 0.2]),
reg_class_agnostic=False,
loss_cls=dict(
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0),
loss_bbox=dict(type='L1Loss', loss_weight=1.0)))
)
#optimizer = dict(lr=0.002)
#lr_config = dict(step=[40, 55])
#total_epochs = 60
| _base_ = ['../_base_/models/faster_rcnn_r50_fpn.py']
model = dict(type='FasterRCNN', backbone=dict(type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, style='pytorch'), neck=dict(type='FPN', in_channels=[256, 512, 1024, 2048], out_channels=256, num_outs=5), rpn_head=dict(type='RPNHead', in_channels=256, feat_channels=256, anchor_generator=dict(type='AnchorGenerator', scales=[8], ratios=[0.5, 1.0, 2.0], strides=[4, 8, 16, 32, 64]), bbox_coder=dict(type='DeltaXYWHBBoxCoder', target_means=[0.0, 0.0, 0.0, 0.0], target_stds=[1.0, 1.0, 1.0, 1.0]), loss_cls=dict(type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0), loss_bbox=dict(type='L1Loss', loss_weight=1.0)), roi_head=dict(_delete_=True, type='KeypointRoIHead', output_heatmaps=False, keypoint_decoder=dict(type='HeatmapDecodeOneKeypoint', upscale=4), bbox_roi_extractor=dict(type='SingleRoIExtractor', roi_layer=dict(type='RoIAlign', output_size=7, sampling_ratio=0), out_channels=256, featmap_strides=[4, 8, 16, 32]), bbox_head=dict(type='Shared2FCBBoxHead', in_channels=256, fc_out_channels=1024, roi_feat_size=7, num_classes=80, bbox_coder=dict(type='DeltaXYWHBBoxCoder', target_means=[0.0, 0.0, 0.0, 0.0], target_stds=[0.1, 0.1, 0.2, 0.2]), reg_class_agnostic=False, loss_cls=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0), loss_bbox=dict(type='L1Loss', loss_weight=1.0)))) |
# Message class Implementation
# @author: Gaurav Yeole <[email protected]>
class Message:
class Request:
def __init__(self, action="", data=None):
self.action = action
self.data = data
class Rsponse:
def __init__(self):
self.status = False
self.data = None
def __init__(self):
pass
def set_request(self):
pass
def response(self):
pass | class Message:
class Request:
def __init__(self, action='', data=None):
self.action = action
self.data = data
class Rsponse:
def __init__(self):
self.status = False
self.data = None
def __init__(self):
pass
def set_request(self):
pass
def response(self):
pass |
#
# PySNMP MIB module CISCO-VSI-CONTROLLER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VSI-CONTROLLER-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:03:33 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")
ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
ObjectIdentity, NotificationType, Gauge32, Bits, Unsigned32, IpAddress, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Counter32, Counter64, iso, Integer32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "NotificationType", "Gauge32", "Bits", "Unsigned32", "IpAddress", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Counter32", "Counter64", "iso", "Integer32", "TimeTicks")
TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString")
ciscoVSIControllerMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 141))
if mibBuilder.loadTexts: ciscoVSIControllerMIB.setLastUpdated('9906080000Z')
if mibBuilder.loadTexts: ciscoVSIControllerMIB.setOrganization('Cisco Systems, Inc.')
class CvcControllerShelfLocation(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("internal", 1), ("external", 2))
class CvcControllerType(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("par", 1), ("pnni", 2), ("lsc", 3))
cvcMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 1))
cvcConfController = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1))
cvcConfTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1), )
if mibBuilder.loadTexts: cvcConfTable.setStatus('current')
cvcConfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-VSI-CONTROLLER-MIB", "cvcConfControllerID"))
if mibBuilder.loadTexts: cvcConfEntry.setStatus('current')
cvcConfControllerID = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: cvcConfControllerID.setStatus('current')
cvcConfControllerType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 2), CvcControllerType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfControllerType.setStatus('current')
cvcConfControllerShelfLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 3), CvcControllerShelfLocation()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfControllerShelfLocation.setStatus('current')
cvcConfControllerLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfControllerLocation.setStatus('current')
cvcConfControllerName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 5), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfControllerName.setStatus('current')
cvcConfVpi = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfVpi.setStatus('current')
cvcConfVci = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(32, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfVci.setStatus('current')
cvcConfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cvcConfRowStatus.setStatus('current')
cvcMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3))
cvcMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 1))
cvcMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2))
cvcMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 1, 1)).setObjects(("CISCO-VSI-CONTROLLER-MIB", "cvcConfGroup"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfGroupExternal"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvcMIBCompliance = cvcMIBCompliance.setStatus('current')
cvcConfGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2, 1)).setObjects(("CISCO-VSI-CONTROLLER-MIB", "cvcConfControllerType"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfControllerShelfLocation"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfControllerLocation"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfControllerName"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvcConfGroup = cvcConfGroup.setStatus('current')
cvcConfGroupExternal = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2, 2)).setObjects(("CISCO-VSI-CONTROLLER-MIB", "cvcConfVpi"), ("CISCO-VSI-CONTROLLER-MIB", "cvcConfVci"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvcConfGroupExternal = cvcConfGroupExternal.setStatus('current')
mibBuilder.exportSymbols("CISCO-VSI-CONTROLLER-MIB", cvcConfTable=cvcConfTable, cvcMIBGroups=cvcMIBGroups, cvcConfControllerType=cvcConfControllerType, cvcConfVpi=cvcConfVpi, CvcControllerShelfLocation=CvcControllerShelfLocation, cvcConfControllerLocation=cvcConfControllerLocation, cvcConfController=cvcConfController, cvcConfControllerName=cvcConfControllerName, PYSNMP_MODULE_ID=ciscoVSIControllerMIB, cvcConfControllerID=cvcConfControllerID, cvcConfGroupExternal=cvcConfGroupExternal, cvcMIBCompliance=cvcMIBCompliance, cvcConfEntry=cvcConfEntry, ciscoVSIControllerMIB=ciscoVSIControllerMIB, cvcConfControllerShelfLocation=cvcConfControllerShelfLocation, cvcConfRowStatus=cvcConfRowStatus, cvcConfGroup=cvcConfGroup, CvcControllerType=CvcControllerType, cvcConfVci=cvcConfVci, cvcMIBObjects=cvcMIBObjects, cvcMIBCompliances=cvcMIBCompliances, cvcMIBConformance=cvcMIBConformance)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, constraints_intersection, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(object_identity, notification_type, gauge32, bits, unsigned32, ip_address, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, counter32, counter64, iso, integer32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'NotificationType', 'Gauge32', 'Bits', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Counter32', 'Counter64', 'iso', 'Integer32', 'TimeTicks')
(textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString')
cisco_vsi_controller_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 141))
if mibBuilder.loadTexts:
ciscoVSIControllerMIB.setLastUpdated('9906080000Z')
if mibBuilder.loadTexts:
ciscoVSIControllerMIB.setOrganization('Cisco Systems, Inc.')
class Cvccontrollershelflocation(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('internal', 1), ('external', 2))
class Cvccontrollertype(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('par', 1), ('pnni', 2), ('lsc', 3))
cvc_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 1))
cvc_conf_controller = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1))
cvc_conf_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1))
if mibBuilder.loadTexts:
cvcConfTable.setStatus('current')
cvc_conf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-VSI-CONTROLLER-MIB', 'cvcConfControllerID'))
if mibBuilder.loadTexts:
cvcConfEntry.setStatus('current')
cvc_conf_controller_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
cvcConfControllerID.setStatus('current')
cvc_conf_controller_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 2), cvc_controller_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfControllerType.setStatus('current')
cvc_conf_controller_shelf_location = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 3), cvc_controller_shelf_location()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfControllerShelfLocation.setStatus('current')
cvc_conf_controller_location = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfControllerLocation.setStatus('current')
cvc_conf_controller_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 5), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfControllerName.setStatus('current')
cvc_conf_vpi = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfVpi.setStatus('current')
cvc_conf_vci = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(32, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfVci.setStatus('current')
cvc_conf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 141, 1, 1, 1, 1, 8), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cvcConfRowStatus.setStatus('current')
cvc_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3))
cvc_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 1))
cvc_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2))
cvc_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 1, 1)).setObjects(('CISCO-VSI-CONTROLLER-MIB', 'cvcConfGroup'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfGroupExternal'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvc_mib_compliance = cvcMIBCompliance.setStatus('current')
cvc_conf_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2, 1)).setObjects(('CISCO-VSI-CONTROLLER-MIB', 'cvcConfControllerType'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfControllerShelfLocation'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfControllerLocation'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfControllerName'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvc_conf_group = cvcConfGroup.setStatus('current')
cvc_conf_group_external = object_group((1, 3, 6, 1, 4, 1, 9, 9, 141, 3, 2, 2)).setObjects(('CISCO-VSI-CONTROLLER-MIB', 'cvcConfVpi'), ('CISCO-VSI-CONTROLLER-MIB', 'cvcConfVci'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cvc_conf_group_external = cvcConfGroupExternal.setStatus('current')
mibBuilder.exportSymbols('CISCO-VSI-CONTROLLER-MIB', cvcConfTable=cvcConfTable, cvcMIBGroups=cvcMIBGroups, cvcConfControllerType=cvcConfControllerType, cvcConfVpi=cvcConfVpi, CvcControllerShelfLocation=CvcControllerShelfLocation, cvcConfControllerLocation=cvcConfControllerLocation, cvcConfController=cvcConfController, cvcConfControllerName=cvcConfControllerName, PYSNMP_MODULE_ID=ciscoVSIControllerMIB, cvcConfControllerID=cvcConfControllerID, cvcConfGroupExternal=cvcConfGroupExternal, cvcMIBCompliance=cvcMIBCompliance, cvcConfEntry=cvcConfEntry, ciscoVSIControllerMIB=ciscoVSIControllerMIB, cvcConfControllerShelfLocation=cvcConfControllerShelfLocation, cvcConfRowStatus=cvcConfRowStatus, cvcConfGroup=cvcConfGroup, CvcControllerType=CvcControllerType, cvcConfVci=cvcConfVci, cvcMIBObjects=cvcMIBObjects, cvcMIBCompliances=cvcMIBCompliances, cvcMIBConformance=cvcMIBConformance) |
class SceneRelation:
def __init__(self):
self.on_ground = set()
self.on_block = {}
self.clear = set()
def print_relation(self):
print(self.on_ground)
print(self.on_block)
print(self.clear) | class Scenerelation:
def __init__(self):
self.on_ground = set()
self.on_block = {}
self.clear = set()
def print_relation(self):
print(self.on_ground)
print(self.on_block)
print(self.clear) |
def _jpeg_compression(im):
assert torch.is_tensor(im)
im = ToPILImage()(im)
savepath = BytesIO()
im.save(savepath, 'JPEG', quality=75)
im = Image.open(savepath)
im = ToTensor()(im)
return im | def _jpeg_compression(im):
assert torch.is_tensor(im)
im = to_pil_image()(im)
savepath = bytes_io()
im.save(savepath, 'JPEG', quality=75)
im = Image.open(savepath)
im = to_tensor()(im)
return im |
load("@wix_oss_infra//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "org_specs2_specs2_fp_2_12",
artifact = "org.specs2:specs2-fp_2.12:4.8.3",
artifact_sha256 = "777962ca58054a9ea86e294e025453ecf394c60084c28bd61956a00d16be31a7",
srcjar_sha256 = "6b8bd1e7210754b768b68610709271c0dac29447936a976a2a9881389e6404ca",
deps = [
"@org_scala_lang_scala_library"
],
)
import_external(
name = "org_specs2_specs2_common_2_12",
artifact = "org.specs2:specs2-common_2.12:4.8.3",
artifact_sha256 = "3b08fecb9e21d3903e48b62cd95c19ea9253d466e03fd4cf9dc9227e7c368708",
srcjar_sha256 = "b2f148c75d3939b3cd0d58afddd74a8ce03077bb3ccdc93dae55bd9c3993e9c3",
deps = [
"@org_scala_lang_modules_scala_parser_combinators_2_12",
"@org_scala_lang_modules_scala_xml_2_12",
"@org_scala_lang_scala_library",
"@org_scala_lang_scala_reflect",
"@org_specs2_specs2_fp_2_12"
],
)
import_external(
name = "org_specs2_specs2_matcher_2_12",
artifact = "org.specs2:specs2-matcher_2.12:4.8.3",
artifact_sha256 = "aadf27b6d015572b2e3842627c09bf0797153dbb329262ea3bcbbce129d51ad8",
srcjar_sha256 = "01251acc28219aa17aabcb9a26a84e1871aa64980d335cd8f83c2bcea6f4f1be",
deps = [
"@org_scala_lang_scala_library",
"@org_specs2_specs2_common_2_12"
],
)
import_external(
name = "org_specs2_specs2_core_2_12",
artifact = "org.specs2:specs2-core_2.12:4.8.3",
artifact_sha256 = "f73f32156a711a4e83e696dc83e269c5a165d62cc3dd7c652617cb03d140d063",
srcjar_sha256 = "0e3cebfc7410051b70e627e35f13978add3d061b8f1233741f9b397638f193e9",
deps = [
"@org_scala_lang_scala_library",
"@org_scala_sbt_test_interface",
"@org_specs2_specs2_common_2_12",
"@org_specs2_specs2_matcher_2_12"
],
)
import_external(
name = "org_specs2_specs2_junit_2_12",
artifact = "org.specs2:specs2-junit_2.12:4.8.3",
artifact_sha256 = "5d7ad2c0b0bc142ea064edb7a1ea75ab7b17ad37e1a621ac7e578823845098e8",
srcjar_sha256 = "84edd1cd6291f6686638225fcbaff970ae36da006efabf2228255c2127b2290c",
deps = [
"@junit_junit",
"@org_scala_lang_scala_library",
"@org_scala_sbt_test_interface",
"@org_specs2_specs2_core_2_12"
],
)
| load('@wix_oss_infra//:import_external.bzl', import_external='safe_wix_scala_maven_import_external')
def dependencies():
import_external(name='org_specs2_specs2_fp_2_12', artifact='org.specs2:specs2-fp_2.12:4.8.3', artifact_sha256='777962ca58054a9ea86e294e025453ecf394c60084c28bd61956a00d16be31a7', srcjar_sha256='6b8bd1e7210754b768b68610709271c0dac29447936a976a2a9881389e6404ca', deps=['@org_scala_lang_scala_library'])
import_external(name='org_specs2_specs2_common_2_12', artifact='org.specs2:specs2-common_2.12:4.8.3', artifact_sha256='3b08fecb9e21d3903e48b62cd95c19ea9253d466e03fd4cf9dc9227e7c368708', srcjar_sha256='b2f148c75d3939b3cd0d58afddd74a8ce03077bb3ccdc93dae55bd9c3993e9c3', deps=['@org_scala_lang_modules_scala_parser_combinators_2_12', '@org_scala_lang_modules_scala_xml_2_12', '@org_scala_lang_scala_library', '@org_scala_lang_scala_reflect', '@org_specs2_specs2_fp_2_12'])
import_external(name='org_specs2_specs2_matcher_2_12', artifact='org.specs2:specs2-matcher_2.12:4.8.3', artifact_sha256='aadf27b6d015572b2e3842627c09bf0797153dbb329262ea3bcbbce129d51ad8', srcjar_sha256='01251acc28219aa17aabcb9a26a84e1871aa64980d335cd8f83c2bcea6f4f1be', deps=['@org_scala_lang_scala_library', '@org_specs2_specs2_common_2_12'])
import_external(name='org_specs2_specs2_core_2_12', artifact='org.specs2:specs2-core_2.12:4.8.3', artifact_sha256='f73f32156a711a4e83e696dc83e269c5a165d62cc3dd7c652617cb03d140d063', srcjar_sha256='0e3cebfc7410051b70e627e35f13978add3d061b8f1233741f9b397638f193e9', deps=['@org_scala_lang_scala_library', '@org_scala_sbt_test_interface', '@org_specs2_specs2_common_2_12', '@org_specs2_specs2_matcher_2_12'])
import_external(name='org_specs2_specs2_junit_2_12', artifact='org.specs2:specs2-junit_2.12:4.8.3', artifact_sha256='5d7ad2c0b0bc142ea064edb7a1ea75ab7b17ad37e1a621ac7e578823845098e8', srcjar_sha256='84edd1cd6291f6686638225fcbaff970ae36da006efabf2228255c2127b2290c', deps=['@junit_junit', '@org_scala_lang_scala_library', '@org_scala_sbt_test_interface', '@org_specs2_specs2_core_2_12']) |
a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a == 0 and b == 0:
print("INF")
else:
if (d - b * c / a) != 0 and (- b / a) == (- b // a):
print(- b // a)
else:
print("NO")
| a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a == 0 and b == 0:
print('INF')
elif d - b * c / a != 0 and -b / a == -b // a:
print(-b // a)
else:
print('NO') |
n = int(input())
coelho = rato = sapo = contador = 0
for i in range(0, n):
q, t = input().split(' ')
t = t.upper()
q = int(q)
if 1 <= q <= 15:
contador += q
if t == 'C':
coelho += q
elif t == 'R':
rato += q
elif t == 'S':
sapo += q
porccoelho = (coelho * 100) / contador
porcrato = (rato * 100) / contador
porcsapo = (sapo * 100) / contador
print(f'Total: {contador} cobaias')
print(f'Total de coelhos: {coelho}')
print(f'Total de ratos: {rato}')
print(f'Total de sapos: {sapo}')
print(f'Percentual de coelhos: {porccoelho:.2f} %')
print(f'Percentual de ratos: {porcrato:.2f} %')
print(f'Percentual de sapos: {porcsapo:.2f} %')
| n = int(input())
coelho = rato = sapo = contador = 0
for i in range(0, n):
(q, t) = input().split(' ')
t = t.upper()
q = int(q)
if 1 <= q <= 15:
contador += q
if t == 'C':
coelho += q
elif t == 'R':
rato += q
elif t == 'S':
sapo += q
porccoelho = coelho * 100 / contador
porcrato = rato * 100 / contador
porcsapo = sapo * 100 / contador
print(f'Total: {contador} cobaias')
print(f'Total de coelhos: {coelho}')
print(f'Total de ratos: {rato}')
print(f'Total de sapos: {sapo}')
print(f'Percentual de coelhos: {porccoelho:.2f} %')
print(f'Percentual de ratos: {porcrato:.2f} %')
print(f'Percentual de sapos: {porcsapo:.2f} %') |
#a2_t1b.py
#This program is to convert Celsius to Kelvin
def c_to_k(c):
k = c + 273.15 #Formula to convert Celsius to Kelvin
return k
def f_to_c(f):
fa = (f-32) * 5/9 #Formula to convert Fareheit to Celsius
return fa
c = 25.0
f = 100.0
k = c_to_k(c)
fa = f_to_c(f)
print("Celsius of " + str(c) + " is " + str(k) + " in Kelvin")
print("Farenheit of " + str(f) + " is " + str(fa) + " in Celsius")
| def c_to_k(c):
k = c + 273.15
return k
def f_to_c(f):
fa = (f - 32) * 5 / 9
return fa
c = 25.0
f = 100.0
k = c_to_k(c)
fa = f_to_c(f)
print('Celsius of ' + str(c) + ' is ' + str(k) + ' in Kelvin')
print('Farenheit of ' + str(f) + ' is ' + str(fa) + ' in Celsius') |
# -*- coding: utf-8 -*-
def main():
s, t, u = map(str, input().split())
if len(s) == 5 and len(t) == 7 and len(u) == 5:
print('valid')
else:
print('invalid')
if __name__ == '__main__':
main()
| def main():
(s, t, u) = map(str, input().split())
if len(s) == 5 and len(t) == 7 and (len(u) == 5):
print('valid')
else:
print('invalid')
if __name__ == '__main__':
main() |
def aaa():
# trick sphinx to build link in doc
pass
# retired
ibmqx2_c_to_tars =\
{
0: [1, 2],
1: [2],
2: [],
3: [2, 4],
4: [2]
} # 6 edges
# retired
ibmqx4_c_to_tars =\
{
0: [],
1: [0],
2: [0, 1, 4],
3: [2, 4],
4: []
} # 6 edges
# retired
ibmq16Rus_c_to_tars = \
{
0: [],
1: [0, 2],
2: [3],
3: [4, 14],
4: [],
5: [4],
6: [5, 7, 11],
7: [10],
8: [7],
9: [8, 10],
10: [],
11: [10],
12: [5, 11, 13],
13: [4, 14],
14: [],
15: [0, 2, 14]
} # 22 edges
ibm20AustinTokyo_c_to_tars = \
{
0: [1, 5],
1: [0, 2, 6, 7],
2: [1, 3, 6, 7],
3: [2, 4, 8, 9],
4: [3, 8, 9],
5: [0, 6, 10, 11],
6: [1, 2, 5, 7, 10, 11],
7: [1, 2, 6, 8, 12, 13],
8: [3, 4, 7, 9, 12, 13],
9: [3, 4, 8, 14],
10: [5, 6, 11, 15],
11: [5, 6, 10, 12, 16, 17],
12: [7, 8, 11, 13, 16, 17],
13: [7, 8, 12, 14, 18, 19],
14: [9, 13, 18, 19],
15: [10, 16],
16: [11, 12, 15, 17],
17: [11, 12, 16, 18],
18: [13, 14, 17, 19],
19: [13, 14, 18]
} # 86 edges
ibmq5YorktownTenerife_c_to_tars = \
{
0: [1, 2],
1: [0, 2],
2: [0, 1, 3, 4],
3: [2, 4],
4: [2, 3]
} # 12 edges
ibmq14Melb_c_to_tars = \
{
0: [1],
1: [0, 2, 13],
2: [1, 3, 12],
3: [2, 4, 11],
4: [3, 5, 10],
5: [4, 6, 9],
6: [5, 8],
7: [8],
8: [6, 7, 9],
9: [5, 8, 10],
10: [4, 9, 11],
11: [3, 10, 12],
12: [2, 11, 13],
13: [1, 12]
} # 36 edges
| def aaa():
pass
ibmqx2_c_to_tars = {0: [1, 2], 1: [2], 2: [], 3: [2, 4], 4: [2]}
ibmqx4_c_to_tars = {0: [], 1: [0], 2: [0, 1, 4], 3: [2, 4], 4: []}
ibmq16_rus_c_to_tars = {0: [], 1: [0, 2], 2: [3], 3: [4, 14], 4: [], 5: [4], 6: [5, 7, 11], 7: [10], 8: [7], 9: [8, 10], 10: [], 11: [10], 12: [5, 11, 13], 13: [4, 14], 14: [], 15: [0, 2, 14]}
ibm20_austin_tokyo_c_to_tars = {0: [1, 5], 1: [0, 2, 6, 7], 2: [1, 3, 6, 7], 3: [2, 4, 8, 9], 4: [3, 8, 9], 5: [0, 6, 10, 11], 6: [1, 2, 5, 7, 10, 11], 7: [1, 2, 6, 8, 12, 13], 8: [3, 4, 7, 9, 12, 13], 9: [3, 4, 8, 14], 10: [5, 6, 11, 15], 11: [5, 6, 10, 12, 16, 17], 12: [7, 8, 11, 13, 16, 17], 13: [7, 8, 12, 14, 18, 19], 14: [9, 13, 18, 19], 15: [10, 16], 16: [11, 12, 15, 17], 17: [11, 12, 16, 18], 18: [13, 14, 17, 19], 19: [13, 14, 18]}
ibmq5_yorktown_tenerife_c_to_tars = {0: [1, 2], 1: [0, 2], 2: [0, 1, 3, 4], 3: [2, 4], 4: [2, 3]}
ibmq14_melb_c_to_tars = {0: [1], 1: [0, 2, 13], 2: [1, 3, 12], 3: [2, 4, 11], 4: [3, 5, 10], 5: [4, 6, 9], 6: [5, 8], 7: [8], 8: [6, 7, 9], 9: [5, 8, 10], 10: [4, 9, 11], 11: [3, 10, 12], 12: [2, 11, 13], 13: [1, 12]} |
class Donation_text:
# Shown as a message across the top of the page on return from a donation
# used in views.py:new_donation()
thank_you = (
"Thank you for your donation. "
"You may need to refresh this page to see the donation."
)
confirmation_email_subject = (
'Thank you for donating to the Triple Crown for Heart! '
)
# Start of the email sent confirming the paypal payment has gone through
# used in paypal.py:process_paypal()
confirmation_email_opening = (
'Thank you for your donation of '
)
# Closing of the email sent confirming the paypal payment has gone through
# used in paypal.py:process_paypal()
confirmation_email_closing = (
'.\n\nFor all donations over $20, you will receive a tax receipt for '
'the 2019 tax year.'
'\nYour PayPal receipt should arrive in a separate email.\n'
)
notification_email_subject = (
"You got a donation!"
)
notification_email_opening = (
"Great news! You've just received a donation of "
)
notification_email_closing = (
"\n\nAwesome work! They would probably appreciate "
"a quick thank you email.\n\n"
"-- Triple Crown for Heart\n"
)
class Fundraiser_text:
# Subject of the email sent on signup
signup_email_subject = (
"Welcome to fundraising for the Triple Crown for Heart!"
)
# Start of the email sent when someone signs up
# used in views.py:signup()
signup_email_opening = (
"Thanks for signing up to fundraise with us!\n"
"Your fundraising page can be found at:\n"
)
# Closing of the email sent when someone signs up
# used in views.py:signup()
signup_email_closing = (
'\n\nYou can change your information by using the "Login" link at the '
'top of that page.'
'\n\nThe easiest way to start fundraising is to post the above link '
'on social media or write a short email to your friends telling them '
'about your ride.'
'\nDon\'t forget to include the link to your page!\n'
)
# Message show at the top of the fundraiser page after signing up
# used in views.py:signup()
signup_return_message = (
"Thank you for signing up. Sharing your fundraiser page on social "
"media or over email is the best way to get donations."
)
signup_wrong_password_existing_user = (
"The username already exists, but the password entered is incorrect. "
"If you were already a fundraiser for a previous campaign, please "
"enter your previous password or use "
"<a href='/team_fundraising/accounts/password_reset/'>"
"Forgot your password</a>. If this is your first campaign, "
"please choose a different username."
)
| class Donation_Text:
thank_you = 'Thank you for your donation. You may need to refresh this page to see the donation.'
confirmation_email_subject = 'Thank you for donating to the Triple Crown for Heart! '
confirmation_email_opening = 'Thank you for your donation of '
confirmation_email_closing = '.\n\nFor all donations over $20, you will receive a tax receipt for the 2019 tax year.\nYour PayPal receipt should arrive in a separate email.\n'
notification_email_subject = 'You got a donation!'
notification_email_opening = "Great news! You've just received a donation of "
notification_email_closing = '\n\nAwesome work! They would probably appreciate a quick thank you email.\n\n-- Triple Crown for Heart\n'
class Fundraiser_Text:
signup_email_subject = 'Welcome to fundraising for the Triple Crown for Heart!'
signup_email_opening = 'Thanks for signing up to fundraise with us!\nYour fundraising page can be found at:\n'
signup_email_closing = '\n\nYou can change your information by using the "Login" link at the top of that page.\n\nThe easiest way to start fundraising is to post the above link on social media or write a short email to your friends telling them about your ride.\nDon\'t forget to include the link to your page!\n'
signup_return_message = 'Thank you for signing up. Sharing your fundraiser page on social media or over email is the best way to get donations.'
signup_wrong_password_existing_user = "The username already exists, but the password entered is incorrect. If you were already a fundraiser for a previous campaign, please enter your previous password or use <a href='/team_fundraising/accounts/password_reset/'>Forgot your password</a>. If this is your first campaign, please choose a different username." |
class Yaratik(object):
def move_left(self):
print('Moving left...')
def move_right(self):
print('Moving left...')
class Ejderha(Yaratik):
def Ates_puskurtme(self):
print('ates puskurtum!')
class Zombie(Yaratik):
def Isirmak(self):
print('Isirdim simdi!')
enemy = Yaratik()
enemy.move_left()
# ejderha also includes all functions from parent class (yaratik)
ejderha = Ejderha()
ejderha.move_left()
ejderha.Ates_puskurtme()
# Zombie is called the (child class), inherits from Yaratik (parent class)
zombie = Zombie()
zombie.move_right()
zombie.Isirmak()
| class Yaratik(object):
def move_left(self):
print('Moving left...')
def move_right(self):
print('Moving left...')
class Ejderha(Yaratik):
def ates_puskurtme(self):
print('ates puskurtum!')
class Zombie(Yaratik):
def isirmak(self):
print('Isirdim simdi!')
enemy = yaratik()
enemy.move_left()
ejderha = ejderha()
ejderha.move_left()
ejderha.Ates_puskurtme()
zombie = zombie()
zombie.move_right()
zombie.Isirmak() |
class Solution:
def nextGreatestLetter(self, letters: list, target: str) -> str:
if target < letters[0] or target >= letters[-1]:
return letters[0]
left, right = 0, len(letters) - 1
while left < right:
mid = left + (right - left) // 2
if letters[mid] > target:
right = mid
else:
left = mid + 1
return letters[right]
if __name__ == '__main__':
letters = ["c", "f", "j"]
target = "a"
print(f"Input: letters = {letters}, target = {target}")
print(f"Output: {Solution().nextGreatestLetter(letters, target)}")
| class Solution:
def next_greatest_letter(self, letters: list, target: str) -> str:
if target < letters[0] or target >= letters[-1]:
return letters[0]
(left, right) = (0, len(letters) - 1)
while left < right:
mid = left + (right - left) // 2
if letters[mid] > target:
right = mid
else:
left = mid + 1
return letters[right]
if __name__ == '__main__':
letters = ['c', 'f', 'j']
target = 'a'
print(f'Input: letters = {letters}, target = {target}')
print(f'Output: {solution().nextGreatestLetter(letters, target)}') |
my_set = {1, 3, 5}
my_dict = {'name': 'Jose', 'age': 90}
another_dict = {1: 15, 2: 75, 3: 150}
lottery_players = [
{
'name': 'Rolf',
'numbers': (13, 45, 66, 23, 22)
},
{
'name': 'John',
'numbers': (14, 56, 80, 23, 22)
}
]
universities = [
{
'name': 'Oxford',
'location': 'UK'
},
{
'name': 'MIT',
'location': 'US'
}
] | my_set = {1, 3, 5}
my_dict = {'name': 'Jose', 'age': 90}
another_dict = {1: 15, 2: 75, 3: 150}
lottery_players = [{'name': 'Rolf', 'numbers': (13, 45, 66, 23, 22)}, {'name': 'John', 'numbers': (14, 56, 80, 23, 22)}]
universities = [{'name': 'Oxford', 'location': 'UK'}, {'name': 'MIT', 'location': 'US'}] |
class Solution:
def XXX(self, x: int) -> int:
def solve(x):
a = list(map(int,str(x)))
p = {}
d=0
for ind, val in enumerate(a):
p[ind] = val
for i, v in p.items():
d += v*(10**i)
if (2**31 - 1>= d >= -(2**31)):
return d
else:
return 0
if x>=0:
return (solve(x))
if x<0:
x = -x
return (-solve(x))
| class Solution:
def xxx(self, x: int) -> int:
def solve(x):
a = list(map(int, str(x)))
p = {}
d = 0
for (ind, val) in enumerate(a):
p[ind] = val
for (i, v) in p.items():
d += v * 10 ** i
if 2 ** 31 - 1 >= d >= -2 ** 31:
return d
else:
return 0
if x >= 0:
return solve(x)
if x < 0:
x = -x
return -solve(x) |
#------ game constants -----#
#players
WHITE = 0
BLACK = 1
BOTH = 2
#color for onTurnLabel
PLAYER_COLOR = ["white", "black"]
#figures
PAWN = 1
KNIGHT = 2
BISHOP = 3
ROOK = 4
QUEEN = 5
KING = 6
FIGURE_NAME = [ "", "pawn", "knight", "bishop", "rook", "queen", "king" ]
#used in move 32bit for promotion figure prom_figure = figure-2
PROM_KNIGHT = 0
PROM_BISHOP = 1
PROM_ROOK = 2
PROM_QUEEN = 3
#all lines
A, B, C, D, E, F, G, H = range(8)
#all squares
A1, B1, C1, D1, E1, F1, G1, H1, \
A2, B2, C2, D2, E2, F2, G2, H2, \
A3, B3, C3, D3, E3, F3, G3, H3, \
A4, B4, C4, D4, E4, F4, G4, H4, \
A5, B5, C5, D5, E5, F5, G5, H5, \
A6, B6, C6, D6, E6, F6, G6, H6, \
A7, B7, C7, D7, E7, F7, G7, H7, \
A8, B8, C8, D8, E8, F8, G8, H8 = range(64)
#----- game display constants -----#
DEFAULTBORDERWIDTH = 20
DEFAULTTILEWIDTH = 45
DEFAULTFONTSIZE = (7, 15)
COLORS = { "bg":"#EDC08C",
"border":"#B55602",
"tiles":("#FC9235", "#FFB87A") }
#----- move types -----#
NORMAL_MOVE, CAPTURE, PROMOTION, DOUBLE_STEP, ENPASSANT_CAPTURE, CASTLING, KING_CAPTURE = range(7)
#----- move 32bit reservation -----#
# a single move is stored in 32 bit as follows
# xxxxxxxx xx x xxx xxx xxxxxx xxxxxx xxx
# G F E D C B A
#
# A: move type (0-6)
# B: start sq (0-63)
# C: destination sq (0-63)
# D: start figure (1-6)
# E: captured figure (1-6)
# F: color of moved piece (0-1)
# G: promotion figure (0-3)
#NAME = (start_bit, lenght)
MOVE_TYPE = (0, 3)
MOVE_START = (3, 6)
MOVE_DEST = (9, 6)
MOVE_FIG_START = (15, 3)
MOVE_FIG_CAPTURE = (18, 3)
MOVE_COLOR = (21, 1)
MOVE_PROM = (22, 2)
#----- castling -----#
CASTLING_LEFT = 0
CASTLING_RIGHT = 1
#----- player status -----#
IDELING = 0
PICKING = 1
INF = 1000000
ASCII_FIG = [[],[]]
ASCII_FIG[WHITE] = [ 'x', chr(9817), chr(9816), chr(9815), chr(9814), chr(9813), chr(9812)]
ASCII_FIG[BLACK] = [ 'x', chr(9823), chr(9822), chr(9821), chr(9820), chr(9819), chr(9818)]
#AI constants
CASTLING_RIGHT_LOSS_PENALTY = -40
| white = 0
black = 1
both = 2
player_color = ['white', 'black']
pawn = 1
knight = 2
bishop = 3
rook = 4
queen = 5
king = 6
figure_name = ['', 'pawn', 'knight', 'bishop', 'rook', 'queen', 'king']
prom_knight = 0
prom_bishop = 1
prom_rook = 2
prom_queen = 3
(a, b, c, d, e, f, g, h) = range(8)
(a1, b1, c1, d1, e1, f1, g1, h1, a2, b2, c2, d2, e2, f2, g2, h2, a3, b3, c3, d3, e3, f3, g3, h3, a4, b4, c4, d4, e4, f4, g4, h4, a5, b5, c5, d5, e5, f5, g5, h5, a6, b6, c6, d6, e6, f6, g6, h6, a7, b7, c7, d7, e7, f7, g7, h7, a8, b8, c8, d8, e8, f8, g8, h8) = range(64)
defaultborderwidth = 20
defaulttilewidth = 45
defaultfontsize = (7, 15)
colors = {'bg': '#EDC08C', 'border': '#B55602', 'tiles': ('#FC9235', '#FFB87A')}
(normal_move, capture, promotion, double_step, enpassant_capture, castling, king_capture) = range(7)
move_type = (0, 3)
move_start = (3, 6)
move_dest = (9, 6)
move_fig_start = (15, 3)
move_fig_capture = (18, 3)
move_color = (21, 1)
move_prom = (22, 2)
castling_left = 0
castling_right = 1
ideling = 0
picking = 1
inf = 1000000
ascii_fig = [[], []]
ASCII_FIG[WHITE] = ['x', chr(9817), chr(9816), chr(9815), chr(9814), chr(9813), chr(9812)]
ASCII_FIG[BLACK] = ['x', chr(9823), chr(9822), chr(9821), chr(9820), chr(9819), chr(9818)]
castling_right_loss_penalty = -40 |