content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# coding: utf-8
s = input()
k = int(input())
w = [int(i) for i in input().split()]
li = []
for ch in s:
li.append(w[ord(ch)-ord('a')])
li.extend([max(w)]*k)
ans = 0
for i in range(0,len(li)):
ans += (i+1)*li[i]
print(ans)
| s = input()
k = int(input())
w = [int(i) for i in input().split()]
li = []
for ch in s:
li.append(w[ord(ch) - ord('a')])
li.extend([max(w)] * k)
ans = 0
for i in range(0, len(li)):
ans += (i + 1) * li[i]
print(ans) |
answer_filename='g0pA_taskb.txt'
n=3
answer_row = complete_df.loc[complete_df['File'] == answer_filename]
task = answer_row['Task'].values[0]
answer = answer_row['Text'].values[0]
source = complete_df.loc[(complete_df['Datatype'] == 'orig') &
(complete_df['Task'] == task)]['Text'].values[0]
counts = CountVectorizer(analyzer='word', ngram_range=(n,n)) # n-gram counter
vocab2int = counts.fit([answer, source]).vocabulary_
ngrams = counts.fit_transform([answer, source]) # n-gram count array
ngram_array = ngrams.toarray()
intersection_list = np.amin(ngram_array, axis=0) # min value in each column
intersection = np.sum(intersection_list)
answer_idx = 0
answer_cnt = np.sum(ngram_array[answer_idx])
containment_value = intersection / answer_cnt
print ('SOURCE: \n',source,'\n')
print ('ANSWER: \n',answer,'\n')
print(vocab2int,'\n')
print(ngrams,'\n')
print(intersection_list,'\n')
print(intersection, answer_cnt)
print(containment_value)
if answer_row['Class'].values[0] ==1:
print('Plagerized !')
else:
print('not plagerized')
''' RESULTS
SOURCE:
pagerank is a link analysis algorithm used by the google internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents such as the world wide web with the purpose of measuring its relative importance within the set the algorithm may be applied to any collection of entities with reciprocal quotations and references the numerical weight that it assigns to any given element e is also called the pagerank of e and denoted by pr e the name pagerank is a trademark of google and the pagerank process has been patented u s patent 6 285 999 however the patent is assigned to stanford university and not to google google has exclusive license rights on the patent from stanford university the university received 1 8 million shares in google in exchange for use of the patent the shares were sold in 2005 for 336 million google describes pagerank pagerank relies on the uniquely democratic nature of the web by using its vast link structure as an indicator of an individual page s value in essence google interprets a link from page a to page b as a vote by page a for page b but google looks at more than the sheer volume of votes or links a page receives it also analyzes the page that casts the vote votes cast by pages that are themselves important weigh more heavily and help to make other pages important in other words a pagerank results from a ballot among all the other pages on the world wide web about how important a page is a hyperlink to a page counts as a vote of support the pagerank of a page is defined recursively and depends on the number and pagerank metric of all pages that link to it incoming links a page that is linked to by many pages with high pagerank receives a high rank itself if there are no links to a web page there is no support for that page google assigns a numeric weighting from 0 10 for each webpage on the internet this pagerank denotes a site s importance in the eyes of google the pagerank is derived from a theoretical probability value on a logarithmic scale like the richter scale the pagerank of a particular page is roughly based upon the quantity of inbound links as well as the pagerank of the pages providing the links it is known that other factors e g relevance of search words on the page and actual visits to the page reported by the google toolbar also influence the pagerank in order to prevent manipulation spoofing and spamdexing google provides no specific details about how other factors influence pagerank numerous academic papers concerning pagerank have been published since page and brin s original paper in practice the pagerank concept has proven to be vulnerable to manipulation and extensive research has been devoted to identifying falsely inflated pagerank and ways to ignore links from documents with falsely inflated pagerank other link based ranking algorithms for web pages include the hits algorithm invented by jon kleinberg used by teoma and now ask com the ibm clever project and the trustrank algorithm
ANSWER:
pagerank is a link analysis algorithm used by the google internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents such as the world wide web with the purpose of measuring its relative importance within the set google assigns a numeric weighting from 0 10 for each webpage on the internet this pagerank denotes a site s importance in the eyes of google the pagerank is derived from a theoretical probability value on a logarithmic scale like the richter scale the pagerank of a particular page is roughly based upon the quantity of inbound links as well as the pagerank of the pages providing the links the algorithm may be applied to any collection of entities with reciprocal quotations and references the numerical weight that it assigns to any given element e is also called the pagerank of e and denoted by pr e it is known that other factors e g relevance of search words on the page and actual visits to the page reported by the google toolbar also influence the pagerank other link based ranking algorithms for web pages include the hits algorithm invented by jon kleinberg used by teoma and now ask com the ibm clever project and the trustrank algorithm
{'pagerank is link': 295, 'is link analysis': 183, 'link analysis algorithm': 200, 'analysis algorithm used': 21, 'algorithm used by': 11, 'used by the': 457, 'by the google': 71, 'the google internet': 389, 'google internet search': 126, 'internet search engine': 173, 'search engine that': 357, 'engine that assigns': 97, 'that assigns numerical': 380, 'assigns numerical weighting': 51, 'numerical weighting to': 236, 'weighting to each': 480, 'to each element': 435, 'each element of': 93, 'element of hyperlinked': 96, 'of hyperlinked set': 245, 'hyperlinked set of': 146, 'set of documents': 360, 'of documents such': 241, 'documents such as': 91, 'such as the': 374, 'as the world': 44, 'the world wide': 425, 'world wide web': 492, 'wide web with': 484, 'web with the': 475, 'with the purpose': 488, 'the purpose of': 413, 'purpose of measuring': 335, 'of measuring its': 247, 'measuring its relative': 220, 'its relative importance': 192, 'relative importance within': 346, 'importance within the': 152, 'within the set': 489, 'the set google': 416, 'set google assigns': 359, 'google assigns numeric': 121, 'assigns numeric weighting': 50, 'numeric weighting from': 234, 'weighting from 10': 479, 'from 10 for': 113, '10 for each': 0, 'for each webpage': 108, 'each webpage on': 94, 'webpage on the': 476, 'on the internet': 257, 'the internet this': 393, 'internet this pagerank': 174, 'this pagerank denotes': 430, 'pagerank denotes site': 291, 'denotes site importance': 85, 'site importance in': 366, 'importance in the': 151, 'in the eyes': 163, 'the eyes of': 388, 'eyes of google': 103, 'of google the': 244, 'google the pagerank': 130, 'the pagerank is': 405, 'pagerank is derived': 294, 'is derived from': 180, 'derived from theoretical': 87, 'from theoretical probability': 118, 'theoretical probability value': 427, 'probability value on': 328, 'value on logarithmic': 460, 'on logarithmic scale': 256, 'logarithmic scale like': 213, 'scale like the': 355, 'like the richter': 199, 'the richter scale': 415, 'richter scale the': 352, 'scale the pagerank': 356, 'the pagerank of': 406, 'pagerank of particular': 301, 'of particular page': 249, 'particular page is': 318, 'page is roughly': 281, 'is roughly based': 186, 'roughly based upon': 354, 'based upon the': 56, 'upon the quantity': 454, 'the quantity of': 414, 'quantity of inbound': 336, 'of inbound links': 246, 'inbound links as': 164, 'links as well': 206, 'as well as': 47, 'well as the': 481, 'as the pagerank': 43, 'pagerank of the': 302, 'of the pages': 252, 'the pages providing': 409, 'pages providing the': 312, 'providing the links': 333, 'the links the': 395, 'links the algorithm': 211, 'the algorithm may': 387, 'algorithm may be': 10, 'may be applied': 219, 'be applied to': 57, 'applied to any': 39, 'to any collection': 431, 'any collection of': 37, 'collection of entities': 77, 'of entities with': 242, 'entities with reciprocal': 98, 'with reciprocal quotations': 487, 'reciprocal quotations and': 343, 'quotations and references': 337, 'and references the': 32, 'references the numerical': 345, 'the numerical weight': 398, 'numerical weight that': 235, 'weight that it': 478, 'that it assigns': 383, 'it assigns to': 189, 'assigns to any': 52, 'to any given': 432, 'any given element': 38, 'given element is': 119, 'element is also': 95, 'is also called': 177, 'also called the': 16, 'called the pagerank': 73, 'pagerank of and': 299, 'of and denoted': 240, 'and denoted by': 25, 'denoted by pr': 84, 'by pr it': 68, 'pr it is': 324, 'it is known': 191, 'is known that': 182, 'known that other': 197, 'that other factors': 385, 'other factors relevance': 267, 'factors relevance of': 105, 'relevance of search': 347, 'of search words': 250, 'search words on': 358, 'words on the': 490, 'on the page': 259, 'the page and': 400, 'page and actual': 272, 'and actual visits': 23, 'actual visits to': 8, 'visits to the': 462, 'to the page': 446, 'the page reported': 401, 'page reported by': 283, 'reported by the': 349, 'the google toolbar': 390, 'google toolbar also': 131, 'toolbar also influence': 448, 'also influence the': 17, 'influence the pagerank': 172, 'the pagerank other': 407, 'pagerank other link': 303, 'other link based': 268, 'link based ranking': 201, 'based ranking algorithms': 55, 'ranking algorithms for': 339, 'algorithms for web': 12, 'for web pages': 112, 'web pages include': 474, 'pages include the': 310, 'include the hits': 165, 'the hits algorithm': 391, 'hits algorithm invented': 141, 'algorithm invented by': 9, 'invented by jon': 176, 'by jon kleinberg': 64, 'jon kleinberg used': 195, 'kleinberg used by': 196, 'used by teoma': 456, 'by teoma and': 70, 'teoma and now': 377, 'and now ask': 30, 'now ask com': 232, 'ask com the': 48, 'com the ibm': 78, 'the ibm clever': 392, 'ibm clever project': 147, 'clever project and': 76, 'project and the': 330, 'and the trustrank': 35, 'the trustrank algorithm': 420, 'the set the': 417, 'set the algorithm': 361, 'by pr the': 69, 'pr the name': 325, 'the name pagerank': 396, 'name pagerank is': 226, 'pagerank is trademark': 296, 'is trademark of': 187, 'trademark of google': 449, 'of google and': 243, 'google and the': 120, 'and the pagerank': 34, 'the pagerank process': 408, 'pagerank process has': 305, 'process has been': 329, 'has been patented': 133, 'been patented patent': 60, 'patented patent 285': 323, 'patent 285 999': 319, '285 999 however': 2, '999 however the': 4, 'however the patent': 144, 'the patent is': 411, 'patent is assigned': 321, 'is assigned to': 178, 'assigned to stanford': 49, 'to stanford university': 445, 'stanford university and': 371, 'university and not': 451, 'and not to': 29, 'not to google': 231, 'to google google': 436, 'google google has': 123, 'google has exclusive': 124, 'has exclusive license': 134, 'exclusive license rights': 101, 'license rights on': 198, 'rights on the': 353, 'on the patent': 260, 'the patent from': 410, 'patent from stanford': 320, 'from stanford university': 117, 'stanford university the': 372, 'university the university': 453, 'the university received': 422, 'university received million': 452, 'received million shares': 340, 'million shares in': 223, 'shares in google': 362, 'in google in': 159, 'google in exchange': 125, 'in exchange for': 158, 'exchange for use': 100, 'for use of': 111, 'use of the': 455, 'of the patent': 253, 'the patent the': 412, 'patent the shares': 322, 'the shares were': 418, 'shares were sold': 363, 'were sold in': 482, 'sold in 2005': 367, 'in 2005 for': 156, '2005 for 336': 1, 'for 336 million': 107, '336 million google': 3, 'million google describes': 222, 'google describes pagerank': 122, 'describes pagerank pagerank': 88, 'pagerank pagerank relies': 304, 'pagerank relies on': 307, 'relies on the': 348, 'on the uniquely': 261, 'the uniquely democratic': 421, 'uniquely democratic nature': 450, 'democratic nature of': 83, 'nature of the': 227, 'of the web': 254, 'the web by': 424, 'web by using': 472, 'by using its': 72, 'using its vast': 458, 'its vast link': 193, 'vast link structure': 461, 'link structure as': 203, 'structure as an': 373, 'as an indicator': 42, 'an indicator of': 19, 'indicator of an': 167, 'of an individual': 239, 'an individual page': 20, 'individual page value': 168, 'page value in': 288, 'value in essence': 459, 'in essence google': 157, 'essence google interprets': 99, 'google interprets link': 127, 'interprets link from': 175, 'link from page': 202, 'from page to': 116, 'page to page': 287, 'to page as': 442, 'page as vote': 274, 'as vote by': 45, 'vote by page': 464, 'by page for': 66, 'page for page': 277, 'for page but': 109, 'page but google': 275, 'but google looks': 63, 'google looks at': 128, 'looks at more': 214, 'at more than': 53, 'more than the': 225, 'than the sheer': 378, 'the sheer volume': 419, 'sheer volume of': 364, 'volume of votes': 463, 'of votes or': 255, 'votes or links': 468, 'or links page': 263, 'links page receives': 209, 'page receives it': 282, 'receives it also': 342, 'it also analyzes': 188, 'also analyzes the': 15, 'analyzes the page': 22, 'the page that': 402, 'page that casts': 284, 'that casts the': 381, 'casts the vote': 75, 'the vote votes': 423, 'vote votes cast': 466, 'votes cast by': 467, 'cast by pages': 74, 'by pages that': 67, 'pages that are': 313, 'that are themselves': 379, 'are themselves important': 41, 'themselves important weigh': 426, 'important weigh more': 155, 'weigh more heavily': 477, 'more heavily and': 224, 'heavily and help': 137, 'and help to': 28, 'help to make': 138, 'to make other': 440, 'make other pages': 215, 'other pages important': 269, 'pages important in': 309, 'important in other': 153, 'in other words': 161, 'other words pagerank': 271, 'words pagerank results': 491, 'pagerank results from': 308, 'results from ballot': 351, 'from ballot among': 114, 'ballot among all': 54, 'among all the': 18, 'all the other': 14, 'the other pages': 399, 'other pages on': 270, 'pages on the': 311, 'on the world': 262, 'wide web about': 483, 'web about how': 471, 'about how important': 5, 'how important page': 142, 'important page is': 154, 'page is hyperlink': 280, 'is hyperlink to': 181, 'hyperlink to page': 145, 'to page counts': 443, 'page counts as': 276, 'counts as vote': 81, 'as vote of': 46, 'vote of support': 465, 'of support the': 251, 'support the pagerank': 376, 'pagerank of page': 300, 'of page is': 248, 'page is defined': 279, 'is defined recursively': 179, 'defined recursively and': 82, 'recursively and depends': 344, 'and depends on': 26, 'depends on the': 86, 'on the number': 258, 'the number and': 397, 'number and pagerank': 233, 'and pagerank metric': 31, 'pagerank metric of': 297, 'metric of all': 221, 'of all pages': 238, 'all pages that': 13, 'pages that link': 314, 'that link to': 384, 'link to it': 204, 'to it incoming': 439, 'it incoming links': 190, 'incoming links page': 166, 'links page that': 210, 'page that is': 285, 'that is linked': 382, 'is linked to': 184, 'linked to by': 205, 'to by many': 434, 'by many pages': 65, 'many pages with': 218, 'pages with high': 315, 'with high pagerank': 486, 'high pagerank receives': 139, 'pagerank receives high': 306, 'receives high rank': 341, 'high rank itself': 140, 'rank itself if': 338, 'itself if there': 194, 'if there are': 149, 'there are no': 428, 'are no links': 40, 'no links to': 228, 'links to web': 212, 'to web page': 447, 'web page there': 473, 'page there is': 286, 'there is no': 429, 'is no support': 185, 'no support for': 230, 'support for that': 375, 'for that page': 110, 'that page google': 386, 'page google assigns': 278, 'the links it': 394, 'links it is': 208, 'the pagerank in': 404, 'pagerank in order': 293, 'in order to': 160, 'order to prevent': 264, 'to prevent manipulation': 444, 'prevent manipulation spoofing': 327, 'manipulation spoofing and': 217, 'spoofing and spamdexing': 370, 'and spamdexing google': 33, 'spamdexing google provides': 368, 'google provides no': 129, 'provides no specific': 332, 'no specific details': 229, 'specific details about': 369, 'details about how': 89, 'about how other': 6, 'how other factors': 143, 'other factors influence': 266, 'factors influence pagerank': 104, 'influence pagerank numerous': 171, 'pagerank numerous academic': 298, 'numerous academic papers': 237, 'academic papers concerning': 7, 'papers concerning pagerank': 317, 'concerning pagerank have': 80, 'pagerank have been': 292, 'have been published': 136, 'been published since': 61, 'published since page': 334, 'since page and': 365, 'page and brin': 273, 'and brin original': 24, 'brin original paper': 62, 'original paper in': 265, 'paper in practice': 316, 'in practice the': 162, 'practice the pagerank': 326, 'the pagerank concept': 403, 'pagerank concept has': 290, 'concept has proven': 79, 'has proven to': 135, 'proven to be': 331, 'to be vulnerable': 433, 'be vulnerable to': 58, 'vulnerable to manipulation': 469, 'to manipulation and': 441, 'manipulation and extensive': 216, 'and extensive research': 27, 'extensive research has': 102, 'research has been': 350, 'has been devoted': 132, 'been devoted to': 59, 'devoted to identifying': 90, 'to identifying falsely': 437, 'identifying falsely inflated': 148, 'falsely inflated pagerank': 106, 'inflated pagerank and': 169, 'pagerank and ways': 289, 'and ways to': 36, 'ways to ignore': 470, 'to ignore links': 438, 'ignore links from': 150, 'links from documents': 207, 'from documents with': 115, 'documents with falsely': 92, 'with falsely inflated': 485, 'inflated pagerank other': 170}
(0, 420) 1
(0, 35) 1
(0, 330) 1
(0, 76) 1
(0, 147) 1
(0, 392) 1
(0, 78) 1
(0, 48) 1
(0, 232) 1
(0, 30) 1
(0, 377) 1
(0, 70) 1
(0, 456) 1
(0, 196) 1
(0, 195) 1
(0, 64) 1
(0, 176) 1
(0, 9) 1
(0, 141) 1
(0, 391) 1
(0, 165) 1
(0, 310) 1
(0, 474) 1
(0, 112) 1
(0, 12) 1
: :
(1, 374) 1
(1, 91) 1
(1, 241) 1
(1, 360) 1
(1, 146) 1
(1, 245) 1
(1, 96) 1
(1, 93) 1
(1, 435) 1
(1, 480) 1
(1, 236) 1
(1, 51) 1
(1, 380) 1
(1, 97) 1
(1, 357) 1
(1, 173) 1
(1, 126) 1
(1, 389) 1
(1, 71) 2
(1, 457) 1
(1, 11) 1
(1, 21) 1
(1, 200) 1
(1, 183) 1
(1, 295) 1
[1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0 1 0
1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 2 0 1
0 0 1 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 1 0 1 0 0 1 0 0
0 1 1 0 0 0 0 1 1 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 1 0 0 1 0 1 1 0
0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0
0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0 1 1 1 1 0 1 1 0 1 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 1
0 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0
1 0 1 1 1 0 1 0 0 0 1 0 1 1 1 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 0 0 0
0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1 0 0 0 0 1 0 1 1 0 0 0 1 3
0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 1 1
1 0 0 1 0 0 1 1 1 1 0 1]
188 195
0.9641025641025641
Plagerized !'''
| answer_filename = 'g0pA_taskb.txt'
n = 3
answer_row = complete_df.loc[complete_df['File'] == answer_filename]
task = answer_row['Task'].values[0]
answer = answer_row['Text'].values[0]
source = complete_df.loc[(complete_df['Datatype'] == 'orig') & (complete_df['Task'] == task)]['Text'].values[0]
counts = count_vectorizer(analyzer='word', ngram_range=(n, n))
vocab2int = counts.fit([answer, source]).vocabulary_
ngrams = counts.fit_transform([answer, source])
ngram_array = ngrams.toarray()
intersection_list = np.amin(ngram_array, axis=0)
intersection = np.sum(intersection_list)
answer_idx = 0
answer_cnt = np.sum(ngram_array[answer_idx])
containment_value = intersection / answer_cnt
print('SOURCE: \n', source, '\n')
print('ANSWER: \n', answer, '\n')
print(vocab2int, '\n')
print(ngrams, '\n')
print(intersection_list, '\n')
print(intersection, answer_cnt)
print(containment_value)
if answer_row['Class'].values[0] == 1:
print('Plagerized !')
else:
print('not plagerized')
" RESULTS\nSOURCE:\n pagerank is a link analysis algorithm used by the google internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents such as the world wide web with the purpose of measuring its relative importance within the set the algorithm may be applied to any collection of entities with reciprocal quotations and references the numerical weight that it assigns to any given element e is also called the pagerank of e and denoted by pr e the name pagerank is a trademark of google and the pagerank process has been patented u s patent 6 285 999 however the patent is assigned to stanford university and not to google google has exclusive license rights on the patent from stanford university the university received 1 8 million shares in google in exchange for use of the patent the shares were sold in 2005 for 336 million google describes pagerank pagerank relies on the uniquely democratic nature of the web by using its vast link structure as an indicator of an individual page s value in essence google interprets a link from page a to page b as a vote by page a for page b but google looks at more than the sheer volume of votes or links a page receives it also analyzes the page that casts the vote votes cast by pages that are themselves important weigh more heavily and help to make other pages important in other words a pagerank results from a ballot among all the other pages on the world wide web about how important a page is a hyperlink to a page counts as a vote of support the pagerank of a page is defined recursively and depends on the number and pagerank metric of all pages that link to it incoming links a page that is linked to by many pages with high pagerank receives a high rank itself if there are no links to a web page there is no support for that page google assigns a numeric weighting from 0 10 for each webpage on the internet this pagerank denotes a site s importance in the eyes of google the pagerank is derived from a theoretical probability value on a logarithmic scale like the richter scale the pagerank of a particular page is roughly based upon the quantity of inbound links as well as the pagerank of the pages providing the links it is known that other factors e g relevance of search words on the page and actual visits to the page reported by the google toolbar also influence the pagerank in order to prevent manipulation spoofing and spamdexing google provides no specific details about how other factors influence pagerank numerous academic papers concerning pagerank have been published since page and brin s original paper in practice the pagerank concept has proven to be vulnerable to manipulation and extensive research has been devoted to identifying falsely inflated pagerank and ways to ignore links from documents with falsely inflated pagerank other link based ranking algorithms for web pages include the hits algorithm invented by jon kleinberg used by teoma and now ask com the ibm clever project and the trustrank algorithm\n\nANSWER:\n pagerank is a link analysis algorithm used by the google internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents such as the world wide web with the purpose of measuring its relative importance within the set google assigns a numeric weighting from 0 10 for each webpage on the internet this pagerank denotes a site s importance in the eyes of google the pagerank is derived from a theoretical probability value on a logarithmic scale like the richter scale the pagerank of a particular page is roughly based upon the quantity of inbound links as well as the pagerank of the pages providing the links the algorithm may be applied to any collection of entities with reciprocal quotations and references the numerical weight that it assigns to any given element e is also called the pagerank of e and denoted by pr e it is known that other factors e g relevance of search words on the page and actual visits to the page reported by the google toolbar also influence the pagerank other link based ranking algorithms for web pages include the hits algorithm invented by jon kleinberg used by teoma and now ask com the ibm clever project and the trustrank algorithm\n\n{'pagerank is link': 295, 'is link analysis': 183, 'link analysis algorithm': 200, 'analysis algorithm used': 21, 'algorithm used by': 11, 'used by the': 457, 'by the google': 71, 'the google internet': 389, 'google internet search': 126, 'internet search engine': 173, 'search engine that': 357, 'engine that assigns': 97, 'that assigns numerical': 380, 'assigns numerical weighting': 51, 'numerical weighting to': 236, 'weighting to each': 480, 'to each element': 435, 'each element of': 93, 'element of hyperlinked': 96, 'of hyperlinked set': 245, 'hyperlinked set of': 146, 'set of documents': 360, 'of documents such': 241, 'documents such as': 91, 'such as the': 374, 'as the world': 44, 'the world wide': 425, 'world wide web': 492, 'wide web with': 484, 'web with the': 475, 'with the purpose': 488, 'the purpose of': 413, 'purpose of measuring': 335, 'of measuring its': 247, 'measuring its relative': 220, 'its relative importance': 192, 'relative importance within': 346, 'importance within the': 152, 'within the set': 489, 'the set google': 416, 'set google assigns': 359, 'google assigns numeric': 121, 'assigns numeric weighting': 50, 'numeric weighting from': 234, 'weighting from 10': 479, 'from 10 for': 113, '10 for each': 0, 'for each webpage': 108, 'each webpage on': 94, 'webpage on the': 476, 'on the internet': 257, 'the internet this': 393, 'internet this pagerank': 174, 'this pagerank denotes': 430, 'pagerank denotes site': 291, 'denotes site importance': 85, 'site importance in': 366, 'importance in the': 151, 'in the eyes': 163, 'the eyes of': 388, 'eyes of google': 103, 'of google the': 244, 'google the pagerank': 130, 'the pagerank is': 405, 'pagerank is derived': 294, 'is derived from': 180, 'derived from theoretical': 87, 'from theoretical probability': 118, 'theoretical probability value': 427, 'probability value on': 328, 'value on logarithmic': 460, 'on logarithmic scale': 256, 'logarithmic scale like': 213, 'scale like the': 355, 'like the richter': 199, 'the richter scale': 415, 'richter scale the': 352, 'scale the pagerank': 356, 'the pagerank of': 406, 'pagerank of particular': 301, 'of particular page': 249, 'particular page is': 318, 'page is roughly': 281, 'is roughly based': 186, 'roughly based upon': 354, 'based upon the': 56, 'upon the quantity': 454, 'the quantity of': 414, 'quantity of inbound': 336, 'of inbound links': 246, 'inbound links as': 164, 'links as well': 206, 'as well as': 47, 'well as the': 481, 'as the pagerank': 43, 'pagerank of the': 302, 'of the pages': 252, 'the pages providing': 409, 'pages providing the': 312, 'providing the links': 333, 'the links the': 395, 'links the algorithm': 211, 'the algorithm may': 387, 'algorithm may be': 10, 'may be applied': 219, 'be applied to': 57, 'applied to any': 39, 'to any collection': 431, 'any collection of': 37, 'collection of entities': 77, 'of entities with': 242, 'entities with reciprocal': 98, 'with reciprocal quotations': 487, 'reciprocal quotations and': 343, 'quotations and references': 337, 'and references the': 32, 'references the numerical': 345, 'the numerical weight': 398, 'numerical weight that': 235, 'weight that it': 478, 'that it assigns': 383, 'it assigns to': 189, 'assigns to any': 52, 'to any given': 432, 'any given element': 38, 'given element is': 119, 'element is also': 95, 'is also called': 177, 'also called the': 16, 'called the pagerank': 73, 'pagerank of and': 299, 'of and denoted': 240, 'and denoted by': 25, 'denoted by pr': 84, 'by pr it': 68, 'pr it is': 324, 'it is known': 191, 'is known that': 182, 'known that other': 197, 'that other factors': 385, 'other factors relevance': 267, 'factors relevance of': 105, 'relevance of search': 347, 'of search words': 250, 'search words on': 358, 'words on the': 490, 'on the page': 259, 'the page and': 400, 'page and actual': 272, 'and actual visits': 23, 'actual visits to': 8, 'visits to the': 462, 'to the page': 446, 'the page reported': 401, 'page reported by': 283, 'reported by the': 349, 'the google toolbar': 390, 'google toolbar also': 131, 'toolbar also influence': 448, 'also influence the': 17, 'influence the pagerank': 172, 'the pagerank other': 407, 'pagerank other link': 303, 'other link based': 268, 'link based ranking': 201, 'based ranking algorithms': 55, 'ranking algorithms for': 339, 'algorithms for web': 12, 'for web pages': 112, 'web pages include': 474, 'pages include the': 310, 'include the hits': 165, 'the hits algorithm': 391, 'hits algorithm invented': 141, 'algorithm invented by': 9, 'invented by jon': 176, 'by jon kleinberg': 64, 'jon kleinberg used': 195, 'kleinberg used by': 196, 'used by teoma': 456, 'by teoma and': 70, 'teoma and now': 377, 'and now ask': 30, 'now ask com': 232, 'ask com the': 48, 'com the ibm': 78, 'the ibm clever': 392, 'ibm clever project': 147, 'clever project and': 76, 'project and the': 330, 'and the trustrank': 35, 'the trustrank algorithm': 420, 'the set the': 417, 'set the algorithm': 361, 'by pr the': 69, 'pr the name': 325, 'the name pagerank': 396, 'name pagerank is': 226, 'pagerank is trademark': 296, 'is trademark of': 187, 'trademark of google': 449, 'of google and': 243, 'google and the': 120, 'and the pagerank': 34, 'the pagerank process': 408, 'pagerank process has': 305, 'process has been': 329, 'has been patented': 133, 'been patented patent': 60, 'patented patent 285': 323, 'patent 285 999': 319, '285 999 however': 2, '999 however the': 4, 'however the patent': 144, 'the patent is': 411, 'patent is assigned': 321, 'is assigned to': 178, 'assigned to stanford': 49, 'to stanford university': 445, 'stanford university and': 371, 'university and not': 451, 'and not to': 29, 'not to google': 231, 'to google google': 436, 'google google has': 123, 'google has exclusive': 124, 'has exclusive license': 134, 'exclusive license rights': 101, 'license rights on': 198, 'rights on the': 353, 'on the patent': 260, 'the patent from': 410, 'patent from stanford': 320, 'from stanford university': 117, 'stanford university the': 372, 'university the university': 453, 'the university received': 422, 'university received million': 452, 'received million shares': 340, 'million shares in': 223, 'shares in google': 362, 'in google in': 159, 'google in exchange': 125, 'in exchange for': 158, 'exchange for use': 100, 'for use of': 111, 'use of the': 455, 'of the patent': 253, 'the patent the': 412, 'patent the shares': 322, 'the shares were': 418, 'shares were sold': 363, 'were sold in': 482, 'sold in 2005': 367, 'in 2005 for': 156, '2005 for 336': 1, 'for 336 million': 107, '336 million google': 3, 'million google describes': 222, 'google describes pagerank': 122, 'describes pagerank pagerank': 88, 'pagerank pagerank relies': 304, 'pagerank relies on': 307, 'relies on the': 348, 'on the uniquely': 261, 'the uniquely democratic': 421, 'uniquely democratic nature': 450, 'democratic nature of': 83, 'nature of the': 227, 'of the web': 254, 'the web by': 424, 'web by using': 472, 'by using its': 72, 'using its vast': 458, 'its vast link': 193, 'vast link structure': 461, 'link structure as': 203, 'structure as an': 373, 'as an indicator': 42, 'an indicator of': 19, 'indicator of an': 167, 'of an individual': 239, 'an individual page': 20, 'individual page value': 168, 'page value in': 288, 'value in essence': 459, 'in essence google': 157, 'essence google interprets': 99, 'google interprets link': 127, 'interprets link from': 175, 'link from page': 202, 'from page to': 116, 'page to page': 287, 'to page as': 442, 'page as vote': 274, 'as vote by': 45, 'vote by page': 464, 'by page for': 66, 'page for page': 277, 'for page but': 109, 'page but google': 275, 'but google looks': 63, 'google looks at': 128, 'looks at more': 214, 'at more than': 53, 'more than the': 225, 'than the sheer': 378, 'the sheer volume': 419, 'sheer volume of': 364, 'volume of votes': 463, 'of votes or': 255, 'votes or links': 468, 'or links page': 263, 'links page receives': 209, 'page receives it': 282, 'receives it also': 342, 'it also analyzes': 188, 'also analyzes the': 15, 'analyzes the page': 22, 'the page that': 402, 'page that casts': 284, 'that casts the': 381, 'casts the vote': 75, 'the vote votes': 423, 'vote votes cast': 466, 'votes cast by': 467, 'cast by pages': 74, 'by pages that': 67, 'pages that are': 313, 'that are themselves': 379, 'are themselves important': 41, 'themselves important weigh': 426, 'important weigh more': 155, 'weigh more heavily': 477, 'more heavily and': 224, 'heavily and help': 137, 'and help to': 28, 'help to make': 138, 'to make other': 440, 'make other pages': 215, 'other pages important': 269, 'pages important in': 309, 'important in other': 153, 'in other words': 161, 'other words pagerank': 271, 'words pagerank results': 491, 'pagerank results from': 308, 'results from ballot': 351, 'from ballot among': 114, 'ballot among all': 54, 'among all the': 18, 'all the other': 14, 'the other pages': 399, 'other pages on': 270, 'pages on the': 311, 'on the world': 262, 'wide web about': 483, 'web about how': 471, 'about how important': 5, 'how important page': 142, 'important page is': 154, 'page is hyperlink': 280, 'is hyperlink to': 181, 'hyperlink to page': 145, 'to page counts': 443, 'page counts as': 276, 'counts as vote': 81, 'as vote of': 46, 'vote of support': 465, 'of support the': 251, 'support the pagerank': 376, 'pagerank of page': 300, 'of page is': 248, 'page is defined': 279, 'is defined recursively': 179, 'defined recursively and': 82, 'recursively and depends': 344, 'and depends on': 26, 'depends on the': 86, 'on the number': 258, 'the number and': 397, 'number and pagerank': 233, 'and pagerank metric': 31, 'pagerank metric of': 297, 'metric of all': 221, 'of all pages': 238, 'all pages that': 13, 'pages that link': 314, 'that link to': 384, 'link to it': 204, 'to it incoming': 439, 'it incoming links': 190, 'incoming links page': 166, 'links page that': 210, 'page that is': 285, 'that is linked': 382, 'is linked to': 184, 'linked to by': 205, 'to by many': 434, 'by many pages': 65, 'many pages with': 218, 'pages with high': 315, 'with high pagerank': 486, 'high pagerank receives': 139, 'pagerank receives high': 306, 'receives high rank': 341, 'high rank itself': 140, 'rank itself if': 338, 'itself if there': 194, 'if there are': 149, 'there are no': 428, 'are no links': 40, 'no links to': 228, 'links to web': 212, 'to web page': 447, 'web page there': 473, 'page there is': 286, 'there is no': 429, 'is no support': 185, 'no support for': 230, 'support for that': 375, 'for that page': 110, 'that page google': 386, 'page google assigns': 278, 'the links it': 394, 'links it is': 208, 'the pagerank in': 404, 'pagerank in order': 293, 'in order to': 160, 'order to prevent': 264, 'to prevent manipulation': 444, 'prevent manipulation spoofing': 327, 'manipulation spoofing and': 217, 'spoofing and spamdexing': 370, 'and spamdexing google': 33, 'spamdexing google provides': 368, 'google provides no': 129, 'provides no specific': 332, 'no specific details': 229, 'specific details about': 369, 'details about how': 89, 'about how other': 6, 'how other factors': 143, 'other factors influence': 266, 'factors influence pagerank': 104, 'influence pagerank numerous': 171, 'pagerank numerous academic': 298, 'numerous academic papers': 237, 'academic papers concerning': 7, 'papers concerning pagerank': 317, 'concerning pagerank have': 80, 'pagerank have been': 292, 'have been published': 136, 'been published since': 61, 'published since page': 334, 'since page and': 365, 'page and brin': 273, 'and brin original': 24, 'brin original paper': 62, 'original paper in': 265, 'paper in practice': 316, 'in practice the': 162, 'practice the pagerank': 326, 'the pagerank concept': 403, 'pagerank concept has': 290, 'concept has proven': 79, 'has proven to': 135, 'proven to be': 331, 'to be vulnerable': 433, 'be vulnerable to': 58, 'vulnerable to manipulation': 469, 'to manipulation and': 441, 'manipulation and extensive': 216, 'and extensive research': 27, 'extensive research has': 102, 'research has been': 350, 'has been devoted': 132, 'been devoted to': 59, 'devoted to identifying': 90, 'to identifying falsely': 437, 'identifying falsely inflated': 148, 'falsely inflated pagerank': 106, 'inflated pagerank and': 169, 'pagerank and ways': 289, 'and ways to': 36, 'ways to ignore': 470, 'to ignore links': 438, 'ignore links from': 150, 'links from documents': 207, 'from documents with': 115, 'documents with falsely': 92, 'with falsely inflated': 485, 'inflated pagerank other': 170}\n\n (0, 420)\t1\n (0, 35)\t1\n (0, 330)\t1\n (0, 76)\t1\n (0, 147)\t1\n (0, 392)\t1\n (0, 78)\t1\n (0, 48)\t1\n (0, 232)\t1\n (0, 30)\t1\n (0, 377)\t1\n (0, 70)\t1\n (0, 456)\t1\n (0, 196)\t1\n (0, 195)\t1\n (0, 64)\t1\n (0, 176)\t1\n (0, 9)\t1\n (0, 141)\t1\n (0, 391)\t1\n (0, 165)\t1\n (0, 310)\t1\n (0, 474)\t1\n (0, 112)\t1\n (0, 12)\t1\n :\t:\n (1, 374)\t1\n (1, 91)\t1\n (1, 241)\t1\n (1, 360)\t1\n (1, 146)\t1\n (1, 245)\t1\n (1, 96)\t1\n (1, 93)\t1\n (1, 435)\t1\n (1, 480)\t1\n (1, 236)\t1\n (1, 51)\t1\n (1, 380)\t1\n (1, 97)\t1\n (1, 357)\t1\n (1, 173)\t1\n (1, 126)\t1\n (1, 389)\t1\n (1, 71)\t2\n (1, 457)\t1\n (1, 11)\t1\n (1, 21)\t1\n (1, 200)\t1\n (1, 183)\t1\n (1, 295)\t1\n\n[1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0 1 0\n 1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 2 0 1\n 0 0 1 1 1 0 0 0 0 0 1 1 0 1 0 0 0 1 0 1 1 1 1 1 1 0 0 0 0 1 0 1 0 0 1 0 0\n 0 1 1 0 0 0 0 1 1 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1\n 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 1 0 0 1 0 1 1 0\n 0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0\n 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0 1 1 1 1 0 1 1 0 1 0 0 0 1 1 0\n 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 1\n 0 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0\n 1 0 1 1 1 0 1 0 0 0 1 0 1 1 1 0 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 0 0 0\n 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 1 1 1 0 0 0 0 1 0 1 1 0 0 0 1 3\n 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0\n 0 0 1 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 1 1\n 1 0 0 1 0 0 1 1 1 1 0 1]\n\n188 195\n0.9641025641025641\nPlagerized !" |
#!/usr/bin/python3.5
# Solves the magic hexagon problem for n = 3 by brute force
# https://en.wikipedia.org/wiki/Magic_hexagon
line_jumps = [3, 4, 5, 4, 3]
lines = [
[0, 1, 2],
[3, 4, 5, 6],
[7, 8, 9, 10, 11],
[12, 13, 14, 15],
[16, 17, 18],
[7, 3, 0],
[12, 8, 4, 1],
[16, 13, 9, 5, 2],
[17, 14, 10, 6],
[18, 15, 11],
# [2, 6, 11],
# [1, 5, 10, 15],
# [0, 4, 9, 14, 18],
# [3, 8, 13, 17],
# [7, 12, 16]
]
def print_board(board):
c = 0
s = ''
for jump in line_jumps:
for x in board[c:jump + c]:
s += str(x) + ' '
s += '\n'
c += jump
print(s)
def validate(board):
for indexes in lines:
line = [board[i] for i in indexes]
if 0 not in line and sum(line) != 38:
return False
return True
r = range(1, 20)
board = [0] * 19
current_slot = 0
remaining_pieces = { x for x in r }
slot_incorrect_pieces = [ set() for x in r ]
while current_slot < 19:
incorrect_pieces = slot_incorrect_pieces[current_slot]
available_pieces = remaining_pieces - incorrect_pieces
# print(current_slot)
# print('current_slot:', current_slot)
# print('available_pieces:', available_pieces)
# Try available pieces
if len(available_pieces):
piece = available_pieces.pop()
board[current_slot] = piece
if validate(board):
current_slot += 1
remaining_pieces.remove(piece)
else:
board[current_slot] = 0
incorrect_pieces.add(piece)
# Or backtrack
else:
slot_incorrect_pieces[current_slot] = set()
current_slot -= 1
previous_piece = board[current_slot]
board[current_slot] = 0
slot_incorrect_pieces[current_slot].add(previous_piece)
remaining_pieces.add(previous_piece)
# print_board(board)
# print('incorrect_pieces:', incorrect_pieces)
# print('remaining_pieces:', remaining_pieces)
# input()
print('Solution:\n')
print_board(board)
| line_jumps = [3, 4, 5, 4, 3]
lines = [[0, 1, 2], [3, 4, 5, 6], [7, 8, 9, 10, 11], [12, 13, 14, 15], [16, 17, 18], [7, 3, 0], [12, 8, 4, 1], [16, 13, 9, 5, 2], [17, 14, 10, 6], [18, 15, 11]]
def print_board(board):
c = 0
s = ''
for jump in line_jumps:
for x in board[c:jump + c]:
s += str(x) + ' '
s += '\n'
c += jump
print(s)
def validate(board):
for indexes in lines:
line = [board[i] for i in indexes]
if 0 not in line and sum(line) != 38:
return False
return True
r = range(1, 20)
board = [0] * 19
current_slot = 0
remaining_pieces = {x for x in r}
slot_incorrect_pieces = [set() for x in r]
while current_slot < 19:
incorrect_pieces = slot_incorrect_pieces[current_slot]
available_pieces = remaining_pieces - incorrect_pieces
if len(available_pieces):
piece = available_pieces.pop()
board[current_slot] = piece
if validate(board):
current_slot += 1
remaining_pieces.remove(piece)
else:
board[current_slot] = 0
incorrect_pieces.add(piece)
else:
slot_incorrect_pieces[current_slot] = set()
current_slot -= 1
previous_piece = board[current_slot]
board[current_slot] = 0
slot_incorrect_pieces[current_slot].add(previous_piece)
remaining_pieces.add(previous_piece)
print('Solution:\n')
print_board(board) |
class TransactionData():
def __init__(self):
self.data_frame = None
self.train_df = None
self.test_df = None
self.validation_df = None
self.train_indexes = {}
self.test_indexes = {}
self.validation_indexes = {}
self.all_indexes = {}
self.columns = []
| class Transactiondata:
def __init__(self):
self.data_frame = None
self.train_df = None
self.test_df = None
self.validation_df = None
self.train_indexes = {}
self.test_indexes = {}
self.validation_indexes = {}
self.all_indexes = {}
self.columns = [] |
class Edge:
def __init__(self, start, end, cost, length, direction):
self.start = start
self.end = end
self.cost = cost
self.length = length
self.direction = direction
self.is_visited = False
self.length_by_cost = length/cost
# making global variables
def parse(file):
i = open(file, "r")
v, e, time, cars, start = map(int, i.readline().split())
for _ in range(v):
i.readline()
# 0 -> 2, 3, 4 -> adj_list
# 0 -> 0, 1, 2 (indexes) cost[0][0.(1)] = cost from 0 to 3
class_adj_list = []
for _ in range(v):
class_adj_list.append([])
for _ in range(e):
a, b, d, c, l = map(int, i.readline().split())
class_adj_list[a].append(Edge(a, b, c, l, d))
if d == 2:
class_adj_list[b].append(Edge(b, a, c, l, d))
return start, cars, time, class_adj_list
if __name__ == "__main__":
parse()
| class Edge:
def __init__(self, start, end, cost, length, direction):
self.start = start
self.end = end
self.cost = cost
self.length = length
self.direction = direction
self.is_visited = False
self.length_by_cost = length / cost
def parse(file):
i = open(file, 'r')
(v, e, time, cars, start) = map(int, i.readline().split())
for _ in range(v):
i.readline()
class_adj_list = []
for _ in range(v):
class_adj_list.append([])
for _ in range(e):
(a, b, d, c, l) = map(int, i.readline().split())
class_adj_list[a].append(edge(a, b, c, l, d))
if d == 2:
class_adj_list[b].append(edge(b, a, c, l, d))
return (start, cars, time, class_adj_list)
if __name__ == '__main__':
parse() |
def get_attribute(attributes, attribute_name, default_value=None):
attribute = next(item for item in attributes if item.Name == attribute_name)
if attribute:
return attribute.Value
if default_value:
return default_value
raise ValueError('Attribute {0} is missing'.format(attribute_name))
| def get_attribute(attributes, attribute_name, default_value=None):
attribute = next((item for item in attributes if item.Name == attribute_name))
if attribute:
return attribute.Value
if default_value:
return default_value
raise value_error('Attribute {0} is missing'.format(attribute_name)) |
# This simple calculator calculates the sum, the difference, the quotient and the product of two integers.
def calculator(input1,input2):
summe = input1+input2
difference=input1-input2
quotient=input1/input2
product=input1*input2
results = [summe,difference,quotient,product]
return results
# Print the calculated values to console:
print("Folgende Werte wurden berechnet:"
"\nSumme ={:6.2f}".format(summe),
"\nDifferenz ={:6.2f}".format(difference),
"\nProdukt ={:6.2f}".format(product),
"\nQuotient ={:6.2f}".format(quotient))
# This function check, whether a given value is a prime number or not.
def is_prime(zahl):
if zahl>1:
for value in range(2,zahl):
if (zahl % value) == 0:
print(zahl,"ist keine Primzahl")
return False
break
else:
print(zahl,"ist eine Primzahl")
return True
else:
print(zahl,"ist keine Primzahl")
return False
# This function calculates the sum of two fractions
def add_frac(zaehler1,nenner1,zaehler2,nenner2):
bruch1=[zaehler1,nenner1]
bruch2=[zaehler2,nenner2]
# Calculation of the common denominator
neuerzaehler1=bruch1[0]*bruch2[1]
hauptnenner = bruch1[1]*bruch2[1]
neuerzaehler2=bruch2[0]*bruch1[1]
# Calculation of the sum:
summe =[neuerzaehler1+neuerzaehler2,hauptnenner]
return summe
| def calculator(input1, input2):
summe = input1 + input2
difference = input1 - input2
quotient = input1 / input2
product = input1 * input2
results = [summe, difference, quotient, product]
return results
print('Folgende Werte wurden berechnet:\nSumme ={:6.2f}'.format(summe), '\nDifferenz ={:6.2f}'.format(difference), '\nProdukt ={:6.2f}'.format(product), '\nQuotient ={:6.2f}'.format(quotient))
def is_prime(zahl):
if zahl > 1:
for value in range(2, zahl):
if zahl % value == 0:
print(zahl, 'ist keine Primzahl')
return False
break
else:
print(zahl, 'ist eine Primzahl')
return True
else:
print(zahl, 'ist keine Primzahl')
return False
def add_frac(zaehler1, nenner1, zaehler2, nenner2):
bruch1 = [zaehler1, nenner1]
bruch2 = [zaehler2, nenner2]
neuerzaehler1 = bruch1[0] * bruch2[1]
hauptnenner = bruch1[1] * bruch2[1]
neuerzaehler2 = bruch2[0] * bruch1[1]
summe = [neuerzaehler1 + neuerzaehler2, hauptnenner]
return summe |
# CPU: 0.14 s
leg_a, leg_b, leg_c, total = map(int, input().split())
possible = False
for a in range(total // leg_a + 1):
for b in range(total // leg_b + 1):
for c in range(total // leg_c + 1):
if leg_a * a + leg_b * b + leg_c * c == total:
print(a, b, c)
possible = True
if not possible:
print("impossible")
| (leg_a, leg_b, leg_c, total) = map(int, input().split())
possible = False
for a in range(total // leg_a + 1):
for b in range(total // leg_b + 1):
for c in range(total // leg_c + 1):
if leg_a * a + leg_b * b + leg_c * c == total:
print(a, b, c)
possible = True
if not possible:
print('impossible') |
i = 29 # ratio
z1 = 29 # disc teeth number
m = 3.5 # module
x = 0.2857 # correction coefficient
rc_star = 1 # fixed teeth radius coefficient
n = 600 # motor rotation speed [rpm]
T1 = 4000 # motor torque [Nmm]
T2 = 116000 # output torque [Nmm]
S = 2 # safety factor
'-------------------------------------------------------'
L1 = 16
L2 = 14
L3 = 16
delta = 3 # gap between cycloidal discs [mm]
B = 13.5 # cycloidal disc thickness [mm]
zw = 4 # number of output pins
dp = 12 # output pin diameter [mm]
dx = 40 # cycloid disc excenter diameter [mm]
phik0 = 0 # angle of first output roller relative to the X-axis [deg]
eccentric_c0 = 34500 # static force for eccentric bearing working lifespan [N]
shaft_end_c0 = 2850 # static force for shaft end bearing working lifespan [N]
| i = 29
z1 = 29
m = 3.5
x = 0.2857
rc_star = 1
n = 600
t1 = 4000
t2 = 116000
s = 2
'-------------------------------------------------------'
l1 = 16
l2 = 14
l3 = 16
delta = 3
b = 13.5
zw = 4
dp = 12
dx = 40
phik0 = 0
eccentric_c0 = 34500
shaft_end_c0 = 2850 |
CURR_USD, CURR_EUR = range(1, 3)
CURRENCY_CHOICES = (
(CURR_USD, 'USD'),
(CURR_EUR, 'EUR'),
)
SR_PRIVAT, SR_MONO, SR_VKURSE, SR_OTP, SR_TAS, = range(1, 6)
SOURCE_CHOICES = (
(SR_PRIVAT, 'PrivetBank'),
(SR_MONO, 'MonoBank'),
(SR_VKURSE, 'Vkurse'),
(SR_OTP, 'OTP-bank'),
(SR_TAS, 'TasCom-bank'),
)
| (curr_usd, curr_eur) = range(1, 3)
currency_choices = ((CURR_USD, 'USD'), (CURR_EUR, 'EUR'))
(sr_privat, sr_mono, sr_vkurse, sr_otp, sr_tas) = range(1, 6)
source_choices = ((SR_PRIVAT, 'PrivetBank'), (SR_MONO, 'MonoBank'), (SR_VKURSE, 'Vkurse'), (SR_OTP, 'OTP-bank'), (SR_TAS, 'TasCom-bank')) |
n=int(input())
s=[]
s2=[]
for i in range(n):
s.append(input())
for i in range(n-1):
s2.append(input())
s.sort()
s2.sort()
for i in range(n-1):
if s[i]!=s2[i]:
print(s[i])
break
else:
print(s[-1]) | n = int(input())
s = []
s2 = []
for i in range(n):
s.append(input())
for i in range(n - 1):
s2.append(input())
s.sort()
s2.sort()
for i in range(n - 1):
if s[i] != s2[i]:
print(s[i])
break
else:
print(s[-1]) |
''' setting global variables/constants '''
GAP_SCORE = -0.9
MISMATCH_SCORE = -1.0
MATCH_SCORE = 0
| """ setting global variables/constants """
gap_score = -0.9
mismatch_score = -1.0
match_score = 0 |
class Constants(object):
HISTORY_FILE = "~/.spanner-cli-history"
MAX_RESULT = 1000
PYGMENT_STYLE = "monokai"
LOGFILE = "~/.spanner-cli.log"
LESS_FLAG = "-RXF"
| class Constants(object):
history_file = '~/.spanner-cli-history'
max_result = 1000
pygment_style = 'monokai'
logfile = '~/.spanner-cli.log'
less_flag = '-RXF' |
class BinTreeNode():
def __init__(self, element=None, left=None, right=None):
self.element = element
self.left = left
self.right = right
class BinaryTree(object): # Linked structure binary tree
def __init__(self):
self.root = None
# self.size = 0
def populate_tree(self):
element = input("ROOT element: ")
if element:
node = BinTreeNode(element)
self.root = node
self.populate_node(node)
def populate_node(self, parent, depth=0):
left_element = input(depth * "\t" + f"LEFT of {parent.element}: ")
if left_element:
node = BinTreeNode(left_element)
parent.left = node
self.populate_node(node, depth + 1)
right_element = input(depth * "\t" + f"RIGHT of {parent.element}: ")
if left_element:
node = BinTreeNode(right_element)
parent.right = node
self.populate_node(node, depth + 1)
def print_preorder(self):
print(self.preorder_string(self.root))
def preorder_string(self, node):
if node is None:
return ""
string = str(node.element)
left_str = self.preorder_string(node.left)
if left_str:
string += " " + left_str
right_str = self.preorder_string(node.right)
if right_str:
string += " " + right_str
return string
def print_postorder(self):
print(self.postorder_string(self.root))
def postorder_string(self, node):
if node is None:
return ""
string = self.postorder_string(node.left)
if string:
string += " "
right_str = self.postorder_string(node.right)
if right_str:
string += right_str + " "
return string + str(node.element)
def print_inorder(self):
print(self.inorder_string(self.root))
def inorder_string(self, node):
if node is None:
return ""
string = self.inorder_string(node.left)
if string:
string += " "
string += str(node.element)
right_str = self.inorder_string(node.right)
if right_str:
string += " " + right_str
return string
if __name__ == "__main__":
tree = BinaryTree()
tree.populate_tree()
tree.print_preorder()
tree.print_postorder()
tree.print_inorder()
| class Bintreenode:
def __init__(self, element=None, left=None, right=None):
self.element = element
self.left = left
self.right = right
class Binarytree(object):
def __init__(self):
self.root = None
def populate_tree(self):
element = input('ROOT element: ')
if element:
node = bin_tree_node(element)
self.root = node
self.populate_node(node)
def populate_node(self, parent, depth=0):
left_element = input(depth * '\t' + f'LEFT of {parent.element}: ')
if left_element:
node = bin_tree_node(left_element)
parent.left = node
self.populate_node(node, depth + 1)
right_element = input(depth * '\t' + f'RIGHT of {parent.element}: ')
if left_element:
node = bin_tree_node(right_element)
parent.right = node
self.populate_node(node, depth + 1)
def print_preorder(self):
print(self.preorder_string(self.root))
def preorder_string(self, node):
if node is None:
return ''
string = str(node.element)
left_str = self.preorder_string(node.left)
if left_str:
string += ' ' + left_str
right_str = self.preorder_string(node.right)
if right_str:
string += ' ' + right_str
return string
def print_postorder(self):
print(self.postorder_string(self.root))
def postorder_string(self, node):
if node is None:
return ''
string = self.postorder_string(node.left)
if string:
string += ' '
right_str = self.postorder_string(node.right)
if right_str:
string += right_str + ' '
return string + str(node.element)
def print_inorder(self):
print(self.inorder_string(self.root))
def inorder_string(self, node):
if node is None:
return ''
string = self.inorder_string(node.left)
if string:
string += ' '
string += str(node.element)
right_str = self.inorder_string(node.right)
if right_str:
string += ' ' + right_str
return string
if __name__ == '__main__':
tree = binary_tree()
tree.populate_tree()
tree.print_preorder()
tree.print_postorder()
tree.print_inorder() |
class FrameHeader:
fin: int
rsv1: int
rsv2: int
rsv3: int
opcode: int
masked: int
length: int
# Opcode
# https://tools.ietf.org/html/rfc6455#section-5.2
# Non-control frames
# %x0 denotes a continuation frame
OPCODE_CONTINUATION = 0x0
# %x1 denotes a text frame
OPCODE_TEXT = 0x1
# %x2 denotes a binary frame
OPCODE_BINARY = 0x2
# %x3-7 are reserved for further non-control frames
# Control frames
# %x8 denotes a connection close
OPCODE_CLOSE = 0x8
# %x9 denotes a ping
OPCODE_PING = 0x9
# %xA denotes a pong
OPCODE_PONG = 0xA
# %xB-F are reserved for further control frames
def __init__(
self,
opcode: int,
fin: int = 1,
rsv1: int = 0,
rsv2: int = 0,
rsv3: int = 0,
masked: int = 0,
length: int = 0,
):
self.opcode = opcode
self.fin = fin
self.rsv1 = rsv1
self.rsv2 = rsv2
self.rsv3 = rsv3
self.masked = masked
self.length = length
| class Frameheader:
fin: int
rsv1: int
rsv2: int
rsv3: int
opcode: int
masked: int
length: int
opcode_continuation = 0
opcode_text = 1
opcode_binary = 2
opcode_close = 8
opcode_ping = 9
opcode_pong = 10
def __init__(self, opcode: int, fin: int=1, rsv1: int=0, rsv2: int=0, rsv3: int=0, masked: int=0, length: int=0):
self.opcode = opcode
self.fin = fin
self.rsv1 = rsv1
self.rsv2 = rsv2
self.rsv3 = rsv3
self.masked = masked
self.length = length |
def is_one_to_one(df, col1, col2):
first = df.drop_duplicates([col1, col2]).groupby(col1)[col2].count().max()
second = df.drop_duplicates([col1, col2]).groupby(col2)[col1].count().max()
return first + second == 2
| def is_one_to_one(df, col1, col2):
first = df.drop_duplicates([col1, col2]).groupby(col1)[col2].count().max()
second = df.drop_duplicates([col1, col2]).groupby(col2)[col1].count().max()
return first + second == 2 |
class Color(object): # subclass color of nodes
def __init__(self):
self._RED = True
self._BLACK = False
@property
def RED(self):
return self._RED
@property
def BLACK(self):
return self._BLACK
| class Color(object):
def __init__(self):
self._RED = True
self._BLACK = False
@property
def red(self):
return self._RED
@property
def black(self):
return self._BLACK |
#
# PySNMP MIB module CISCO-CIPCMPC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-CIPCMPC-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:53:20 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint")
cipCardSubChannelIndex, cipCardEntryIndex, cipCardDtrBrdIndex = mibBuilder.importSymbols("CISCO-CHANNEL-MIB", "cipCardSubChannelIndex", "cipCardEntryIndex", "cipCardDtrBrdIndex")
ChannelPath, ChannelDevice = mibBuilder.importSymbols("CISCO-CIPCSNA-MIB", "ChannelPath", "ChannelDevice")
ChannelTgName, = mibBuilder.importSymbols("CISCO-CIPTG-MIB", "ChannelTgName")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
Bits, IpAddress, ModuleIdentity, NotificationType, Unsigned32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, Counter64, ObjectIdentity, Counter32, TimeTicks, iso, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "IpAddress", "ModuleIdentity", "NotificationType", "Unsigned32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "Counter64", "ObjectIdentity", "Counter32", "TimeTicks", "iso", "Gauge32")
TextualConvention, RowStatus, DisplayString, TimeStamp, TDomain = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "TimeStamp", "TDomain")
ciscoCipCmpcMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 72))
ciscoCipCmpcMIB.setRevisions(('1999-01-25 00:00', '1998-01-06 00:00', '1997-02-09 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoCipCmpcMIB.setRevisionsDescriptions(('Since the CMCC now supports MPC and MPC+, the new state, activePlus, was added to cipCmpcSubChannelOperState to indicate the TG is active and using the MPC+ protocol.', "With the addition of Cisco's new Channel Port Adapter cards, all the references to CIP in the MIB description and object descriptions are changed to CMCC (Cisco Mainframe Channel Connection). The object names in the form of cip... or cipCard... will remain the same, but will be valid objects for the Channel Port Adapter cards.", 'Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoCipCmpcMIB.setLastUpdated('9901250000Z')
if mibBuilder.loadTexts: ciscoCipCmpcMIB.setOrganization('cisco IBU Engineering Working Group')
if mibBuilder.loadTexts: ciscoCipCmpcMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-snmp@cisco.com')
if mibBuilder.loadTexts: ciscoCipCmpcMIB.setDescription('This is the Management Information Base (MIB) module for objects used to manage the Cisco Multi-Path Channel (MPC) support on Cisco Mainframe Channel Connection (CMCC) cards, also called the CMPC feature. ------------------------------------------------- | Acronym Definitions: | | CIP = Channel Interface Processor | | CMPC = Cisco Multi-Path Channel | | HPR = High Performance Routing | | HPDT = High Performance Data Transfer | | ISR = Intermediate Session Routing | | MPC = Multi-Path Channel | | MPC+ = HPDT MPC | | SNA = Systems Network Architecture | | TG = Transmission Group | ------------------------------------------------- This MIB consists of the following tables: 1) CMPC Subchannel Administration 2) CMPC Subchannel Operational 3) CMPC TG Statistics Refer to the following MIBs for an understanding of Cisco channel terminology and Cisco CMCC terminology: CISCO-CHANNEL-MIB CISCO-CIPCSNA-MIB CISCO-CIPLAN-MIB CISCO-CIPTG-MIB ')
cipCmpcObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1))
cipCmpcSubChannel = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1))
cipCmpcTg = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2))
cipCmpcSubChannelAdminTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1), )
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTable.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTable.setDescription('This table contains configuration information used to define subchannels for the Cisco Multi-Path Channel (CMPC) feature on the CMCC card. Each instance of this table is created when a CMPC sub-channel is configured on the router. When the CMPC sub-channel configuration statement is deleted from the router, the instance represented by this table is removed.')
cipCmpcSubChannelAdminEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-CHANNEL-MIB", "cipCardEntryIndex"), (0, "CISCO-CHANNEL-MIB", "cipCardDtrBrdIndex"), (0, "CISCO-CHANNEL-MIB", "cipCardSubChannelIndex"))
if mibBuilder.loadTexts: cipCmpcSubChannelAdminEntry.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminEntry.setDescription('A list of CMPC configuration values.')
cipCmpcSubChannelAdminPath = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 1), ChannelPath()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminPath.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminPath.setDescription('Channel path for this CMPC instance.')
cipCmpcSubChannelAdminDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 2), ChannelDevice()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminDevice.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminDevice.setDescription('Device address of the subchannel the attached host will use to communicate with this CMPC instance.')
cipCmpcSubChannelAdminTgName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 3), ChannelTgName()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTgName.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTgName.setDescription('This is the name of the CMPC transmission group. Each CMPC subchannel in the same connection transmission group must have the same TG name')
cipCmpcSubChannelAdminDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("read", 1), ("write", 2), ("readOrWrite", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminDirection.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminDirection.setDescription('Specifies whether the CMPC subchannel is for host reads or host writes.')
cipCmpcSubChannelAdminTgTransport = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 5), TDomain()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTgTransport.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminTgTransport.setDescription('This object specifies the Transmission Group transport type OID for which this CMPC Sub-Channel instance if configured. When the Transmission Group for this CMPC Sub-Channel instance is not configured, this object will be set to the NULL TDomian { 0, 0 }.')
cipCmpcSubChannelAdminRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cipCmpcSubChannelAdminRowStatus.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelAdminRowStatus.setDescription("This object is used by a Management Station to create or delete the row entry in the cipCmpcSubChannelAdminTable following the the RowStatus textual convention. Upon successful creation of the row, an Agent automatically creates a corresponding entry in the cipCmpcSubChannelOperTable and cipCmpcSubChannelStatsTable. The Management Station can initiate row deletion, by setting this value to 'destroy (6)'. The Agent will then delete the rows corresponding to this CMPC instance from the cipCmpcSubChannelAdminTable, cipCmpcSubChannelOperTable and cipCmpcSubChannelStatsTable.")
cipCmpcSubChannelOperTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2), )
if mibBuilder.loadTexts: cipCmpcSubChannelOperTable.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelOperTable.setDescription('This table contains operational information for the Cisco Multi-Path Channel (CMPC) feature on the CMCC card.')
cipCmpcSubChannelOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1), )
cipCmpcSubChannelAdminEntry.registerAugmentions(("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelOperEntry"))
cipCmpcSubChannelOperEntry.setIndexNames(*cipCmpcSubChannelAdminEntry.getIndexNames())
if mibBuilder.loadTexts: cipCmpcSubChannelOperEntry.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelOperEntry.setDescription('A list of CMPC operational and status values. The entries are created by the Agent. They have read-only access.')
cipCmpcSubChannelOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("shutdown", 1), ("inactive", 2), ("xid2Pending", 3), ("active", 4), ("activePlus", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcSubChannelOperState.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelOperState.setDescription('Activation state of the CMPC subchannel. shutdown - CMCC interface with this CMPC subchannel configured is shutdown. inactive - CMCC physical channel up, CMPC subchannel has not started to activate yet. xid2Pending - VTAM and CMCC CMPC have started negotiating channel connection. active - CMCC CMPC subchannel is active in MPC or non-HPDT mode. activePlus - CMCC CMPC subchannel is active in MPC+ or HPDT mode.')
cipCmpcSubChannelOperMaxbfru = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcSubChannelOperMaxbfru.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSubChannelOperMaxbfru.setDescription('Maximum number of 4096 byte buffers allowed per channel block I/O on this CMPC subchannel. For host write subchannels, this is the maximum number of 4096 byte buffers the host can write to the CMCC for each channel block I/O. Since the CMCC is capable of receiving 16 4096 byte buffers per channel block I/O, the value on host write subchannels will always be 16. For host read subchannels, this is the maximum number of 4096 byte buffers the host can read from the CMCC for each channel block I/O.')
cipCmpcTgOperTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1), )
if mibBuilder.loadTexts: cipCmpcTgOperTable.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperTable.setDescription('This table contains Operational information for each instance of a CMPC Transmission Group (TG). Each instance of this table is created for every CMPC TG with a unique tg-name configured on a CMCC card.')
cipCmpcTgOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-CIPCMPC-MIB", "cipCmpcTgOperName"))
if mibBuilder.loadTexts: cipCmpcTgOperEntry.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperEntry.setDescription('A list of CMPC TG Operational objects.')
cipCmpcTgOperName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 1), ChannelTgName())
if mibBuilder.loadTexts: cipCmpcTgOperName.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperName.setDescription('This is the name for this instance of a CMPC transmission group (TG).')
cipCmpcTgOperLastSeqNumFailureCause = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("blockSeqError", 2), ("sweepSeqError", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumFailureCause.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumFailureCause.setDescription('The last CMPC TG sequence number failure cause. none - No sequence number errors have been detected. blockSeqError - Sequence number received in a cmpc I/O block did not match the expected sequence number. sweepSeqError - Sequence number received in a sweep message does not compare to the expected sequence number. for this CMPC TG.')
cipCmpcTgOperLastSeqNumFailureTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 3), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumFailureTime.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumFailureTime.setDescription('This object describes the value of sysUpTime when this CMPC TG last detected a sequence number error. If the CMPC TG has not failed, then this value shall be zero.')
cipCmpcTgOperExpectedReceiveSeqNum = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgOperExpectedReceiveSeqNum.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperExpectedReceiveSeqNum.setDescription('This is the sequence number expected from the host by this CMPC TG.')
cipCmpcTgOperLastSeqNumReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumReceived.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumReceived.setDescription('This is the last sequence number received from the host by this CMPC TG.')
cipCmpcTgOperLastSeqNumSent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumSent.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgOperLastSeqNumSent.setDescription('This is the last sequence number sent to the host by this CMPC TG.')
cipCmpcTgStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2), )
if mibBuilder.loadTexts: cipCmpcTgStatsTable.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsTable.setDescription('This table contains statistical information for each instance of a CMPC Transmission Group (TG). Each instance of this table is created for every CMPC TG with a unique tg-name configured on a CMCC card.')
cipCmpcTgStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1), )
cipCmpcTgOperEntry.registerAugmentions(("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsEntry"))
cipCmpcTgStatsEntry.setIndexNames(*cipCmpcTgOperEntry.getIndexNames())
if mibBuilder.loadTexts: cipCmpcTgStatsEntry.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsEntry.setDescription('A list of CMPC TG statistical objects.')
cipCmpcTgStatsConnectReqs = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsConnectReqs.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsConnectReqs.setDescription('Number of connect requests received from the host by this CMPC TG.')
cipCmpcTgStatsConnectInds = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsConnectInds.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsConnectInds.setDescription('Number of connect indications sent to the host by this CMPC TG.')
cipCmpcTgStatsConnectRsps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsConnectRsps.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsConnectRsps.setDescription('Number of connect responses received from the host by this CMPC TG.')
cipCmpcTgStatsConnectCnfms = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsConnectCnfms.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsConnectCnfms.setDescription('Number of connect confirms sent to the host by this CMPC TG.')
cipCmpcTgStatsDiscReqs = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsDiscReqs.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsDiscReqs.setDescription('Number of disconnect requests received from the host by this CMPC TG.')
cipCmpcTgStatsDiscInds = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsDiscInds.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsDiscInds.setDescription('Number of disconnect Indications sent to the host by this CMPC TG.')
cipCmpcTgStatsSweepReqsIn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsSweepReqsIn.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsSweepReqsIn.setDescription('Number of sweep requests received from from the host by this CMPC TG.')
cipCmpcTgStatsSweepReqsOut = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsSweepReqsOut.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsSweepReqsOut.setDescription('Number of CMPC sweep requests sent by this CMPC TG.')
cipCmpcTgStatsSweepRspsIn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsSweepRspsIn.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsSweepRspsIn.setDescription('Number of CMPC sweep responses received from VTAM by this CMPC TG.')
cipCmpcTgStatsSweepRspsOut = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsSweepRspsOut.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsSweepRspsOut.setDescription('Number of CMPC sweep responses sent by this CMPC TG.')
cipCmpcTgStatsWraps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cipCmpcTgStatsWraps.setStatus('current')
if mibBuilder.loadTexts: cipCmpcTgStatsWraps.setDescription('Number of times the CMPC sequence number for this TG has wrapped.')
cipCmpcNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 2))
cipCmpcNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0))
cipCmpcDirectionMismatch = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0, 1)).setObjects(("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminDirection"))
if mibBuilder.loadTexts: cipCmpcDirectionMismatch.setStatus('current')
if mibBuilder.loadTexts: cipCmpcDirectionMismatch.setDescription('This trap indicates that the configured direction for the specified CMPC subchannel does not match the direction specified by the host. The CMPC subchannel will not activate as long as this mismatch exists.')
cipCmpcSeqNumError = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0, 2)).setObjects(("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumFailureCause"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperExpectedReceiveSeqNum"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumReceived"))
if mibBuilder.loadTexts: cipCmpcSeqNumError.setStatus('current')
if mibBuilder.loadTexts: cipCmpcSeqNumError.setDescription('This trap indicates that the CMPC TG has detected an MPC sequence number error. This error will cause the CMPC TG to disconnect.')
ciscoCipCmpcMibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3))
ciscoCipCmpcMibCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 1))
ciscoCipCmpcMibGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2))
ciscoCipCmpcMibCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 1, 1)).setObjects(("CISCO-CIPCMPC-MIB", "ciscoCipCmpcSubChannelGroup"), ("CISCO-CIPCMPC-MIB", "ciscoCipCmpcTgGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoCipCmpcMibCompliance = ciscoCipCmpcMibCompliance.setStatus('current')
if mibBuilder.loadTexts: ciscoCipCmpcMibCompliance.setDescription('The compliance statement for the Cisco Multi-Path Channel (CMPC) feature.')
ciscoCipCmpcSubChannelGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2, 1)).setObjects(("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminPath"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminDevice"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminTgName"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminDirection"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminTgTransport"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelAdminRowStatus"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelOperState"), ("CISCO-CIPCMPC-MIB", "cipCmpcSubChannelOperMaxbfru"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoCipCmpcSubChannelGroup = ciscoCipCmpcSubChannelGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoCipCmpcSubChannelGroup.setDescription('A collection of objects providing Cisco Multi-Path Channel (CMPC) Administration, Operational status and Statistics.')
ciscoCipCmpcTgGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2, 2)).setObjects(("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumFailureCause"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumFailureTime"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperExpectedReceiveSeqNum"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumReceived"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgOperLastSeqNumSent"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsConnectReqs"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsConnectInds"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsConnectRsps"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsConnectCnfms"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsDiscReqs"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsDiscInds"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsSweepReqsIn"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsSweepReqsOut"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsSweepRspsIn"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsSweepRspsOut"), ("CISCO-CIPCMPC-MIB", "cipCmpcTgStatsWraps"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoCipCmpcTgGroup = ciscoCipCmpcTgGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoCipCmpcTgGroup.setDescription('A collection of objects providing CMPC TG Operational and Statistical information.')
mibBuilder.exportSymbols("CISCO-CIPCMPC-MIB", PYSNMP_MODULE_ID=ciscoCipCmpcMIB, cipCmpcSubChannel=cipCmpcSubChannel, cipCmpcSubChannelAdminPath=cipCmpcSubChannelAdminPath, cipCmpcTgStatsDiscReqs=cipCmpcTgStatsDiscReqs, ciscoCipCmpcSubChannelGroup=ciscoCipCmpcSubChannelGroup, cipCmpcSubChannelOperMaxbfru=cipCmpcSubChannelOperMaxbfru, ciscoCipCmpcMibConformance=ciscoCipCmpcMibConformance, cipCmpcTgOperName=cipCmpcTgOperName, cipCmpcNotificationPrefix=cipCmpcNotificationPrefix, cipCmpcTgStatsDiscInds=cipCmpcTgStatsDiscInds, cipCmpcTgStatsSweepRspsIn=cipCmpcTgStatsSweepRspsIn, cipCmpcTgStatsSweepReqsOut=cipCmpcTgStatsSweepReqsOut, cipCmpcSubChannelAdminDevice=cipCmpcSubChannelAdminDevice, cipCmpcTg=cipCmpcTg, cipCmpcTgStatsWraps=cipCmpcTgStatsWraps, cipCmpcTgStatsEntry=cipCmpcTgStatsEntry, cipCmpcSubChannelAdminTgName=cipCmpcSubChannelAdminTgName, cipCmpcTgOperLastSeqNumFailureTime=cipCmpcTgOperLastSeqNumFailureTime, cipCmpcTgOperExpectedReceiveSeqNum=cipCmpcTgOperExpectedReceiveSeqNum, cipCmpcTgOperLastSeqNumSent=cipCmpcTgOperLastSeqNumSent, cipCmpcTgStatsTable=cipCmpcTgStatsTable, cipCmpcTgStatsConnectRsps=cipCmpcTgStatsConnectRsps, cipCmpcTgStatsSweepRspsOut=cipCmpcTgStatsSweepRspsOut, ciscoCipCmpcMibCompliances=ciscoCipCmpcMibCompliances, cipCmpcSubChannelAdminTgTransport=cipCmpcSubChannelAdminTgTransport, cipCmpcSeqNumError=cipCmpcSeqNumError, ciscoCipCmpcMibGroups=ciscoCipCmpcMibGroups, cipCmpcSubChannelAdminTable=cipCmpcSubChannelAdminTable, cipCmpcTgOperEntry=cipCmpcTgOperEntry, cipCmpcTgStatsSweepReqsIn=cipCmpcTgStatsSweepReqsIn, cipCmpcSubChannelAdminEntry=cipCmpcSubChannelAdminEntry, cipCmpcSubChannelOperTable=cipCmpcSubChannelOperTable, ciscoCipCmpcMibCompliance=ciscoCipCmpcMibCompliance, cipCmpcTgOperLastSeqNumReceived=cipCmpcTgOperLastSeqNumReceived, ciscoCipCmpcTgGroup=ciscoCipCmpcTgGroup, cipCmpcSubChannelOperState=cipCmpcSubChannelOperState, ciscoCipCmpcMIB=ciscoCipCmpcMIB, cipCmpcDirectionMismatch=cipCmpcDirectionMismatch, cipCmpcSubChannelAdminDirection=cipCmpcSubChannelAdminDirection, cipCmpcSubChannelOperEntry=cipCmpcSubChannelOperEntry, cipCmpcTgStatsConnectReqs=cipCmpcTgStatsConnectReqs, cipCmpcObjects=cipCmpcObjects, cipCmpcTgOperTable=cipCmpcTgOperTable, cipCmpcTgStatsConnectInds=cipCmpcTgStatsConnectInds, cipCmpcSubChannelAdminRowStatus=cipCmpcSubChannelAdminRowStatus, cipCmpcTgStatsConnectCnfms=cipCmpcTgStatsConnectCnfms, cipCmpcNotifications=cipCmpcNotifications, cipCmpcTgOperLastSeqNumFailureCause=cipCmpcTgOperLastSeqNumFailureCause)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_range_constraint, constraints_union, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint')
(cip_card_sub_channel_index, cip_card_entry_index, cip_card_dtr_brd_index) = mibBuilder.importSymbols('CISCO-CHANNEL-MIB', 'cipCardSubChannelIndex', 'cipCardEntryIndex', 'cipCardDtrBrdIndex')
(channel_path, channel_device) = mibBuilder.importSymbols('CISCO-CIPCSNA-MIB', 'ChannelPath', 'ChannelDevice')
(channel_tg_name,) = mibBuilder.importSymbols('CISCO-CIPTG-MIB', 'ChannelTgName')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup')
(bits, ip_address, module_identity, notification_type, unsigned32, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, counter64, object_identity, counter32, time_ticks, iso, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'IpAddress', 'ModuleIdentity', 'NotificationType', 'Unsigned32', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'Counter64', 'ObjectIdentity', 'Counter32', 'TimeTicks', 'iso', 'Gauge32')
(textual_convention, row_status, display_string, time_stamp, t_domain) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString', 'TimeStamp', 'TDomain')
cisco_cip_cmpc_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 72))
ciscoCipCmpcMIB.setRevisions(('1999-01-25 00:00', '1998-01-06 00:00', '1997-02-09 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoCipCmpcMIB.setRevisionsDescriptions(('Since the CMCC now supports MPC and MPC+, the new state, activePlus, was added to cipCmpcSubChannelOperState to indicate the TG is active and using the MPC+ protocol.', "With the addition of Cisco's new Channel Port Adapter cards, all the references to CIP in the MIB description and object descriptions are changed to CMCC (Cisco Mainframe Channel Connection). The object names in the form of cip... or cipCard... will remain the same, but will be valid objects for the Channel Port Adapter cards.", 'Initial version of this MIB module.'))
if mibBuilder.loadTexts:
ciscoCipCmpcMIB.setLastUpdated('9901250000Z')
if mibBuilder.loadTexts:
ciscoCipCmpcMIB.setOrganization('cisco IBU Engineering Working Group')
if mibBuilder.loadTexts:
ciscoCipCmpcMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-snmp@cisco.com')
if mibBuilder.loadTexts:
ciscoCipCmpcMIB.setDescription('This is the Management Information Base (MIB) module for objects used to manage the Cisco Multi-Path Channel (MPC) support on Cisco Mainframe Channel Connection (CMCC) cards, also called the CMPC feature. ------------------------------------------------- | Acronym Definitions: | | CIP = Channel Interface Processor | | CMPC = Cisco Multi-Path Channel | | HPR = High Performance Routing | | HPDT = High Performance Data Transfer | | ISR = Intermediate Session Routing | | MPC = Multi-Path Channel | | MPC+ = HPDT MPC | | SNA = Systems Network Architecture | | TG = Transmission Group | ------------------------------------------------- This MIB consists of the following tables: 1) CMPC Subchannel Administration 2) CMPC Subchannel Operational 3) CMPC TG Statistics Refer to the following MIBs for an understanding of Cisco channel terminology and Cisco CMCC terminology: CISCO-CHANNEL-MIB CISCO-CIPCSNA-MIB CISCO-CIPLAN-MIB CISCO-CIPTG-MIB ')
cip_cmpc_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1))
cip_cmpc_sub_channel = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1))
cip_cmpc_tg = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2))
cip_cmpc_sub_channel_admin_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1))
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTable.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTable.setDescription('This table contains configuration information used to define subchannels for the Cisco Multi-Path Channel (CMPC) feature on the CMCC card. Each instance of this table is created when a CMPC sub-channel is configured on the router. When the CMPC sub-channel configuration statement is deleted from the router, the instance represented by this table is removed.')
cip_cmpc_sub_channel_admin_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-CHANNEL-MIB', 'cipCardEntryIndex'), (0, 'CISCO-CHANNEL-MIB', 'cipCardDtrBrdIndex'), (0, 'CISCO-CHANNEL-MIB', 'cipCardSubChannelIndex'))
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminEntry.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminEntry.setDescription('A list of CMPC configuration values.')
cip_cmpc_sub_channel_admin_path = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 1), channel_path()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminPath.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminPath.setDescription('Channel path for this CMPC instance.')
cip_cmpc_sub_channel_admin_device = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 2), channel_device()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminDevice.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminDevice.setDescription('Device address of the subchannel the attached host will use to communicate with this CMPC instance.')
cip_cmpc_sub_channel_admin_tg_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 3), channel_tg_name()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTgName.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTgName.setDescription('This is the name of the CMPC transmission group. Each CMPC subchannel in the same connection transmission group must have the same TG name')
cip_cmpc_sub_channel_admin_direction = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('read', 1), ('write', 2), ('readOrWrite', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminDirection.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminDirection.setDescription('Specifies whether the CMPC subchannel is for host reads or host writes.')
cip_cmpc_sub_channel_admin_tg_transport = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 5), t_domain()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTgTransport.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminTgTransport.setDescription('This object specifies the Transmission Group transport type OID for which this CMPC Sub-Channel instance if configured. When the Transmission Group for this CMPC Sub-Channel instance is not configured, this object will be set to the NULL TDomian { 0, 0 }.')
cip_cmpc_sub_channel_admin_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 1, 1, 6), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminRowStatus.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelAdminRowStatus.setDescription("This object is used by a Management Station to create or delete the row entry in the cipCmpcSubChannelAdminTable following the the RowStatus textual convention. Upon successful creation of the row, an Agent automatically creates a corresponding entry in the cipCmpcSubChannelOperTable and cipCmpcSubChannelStatsTable. The Management Station can initiate row deletion, by setting this value to 'destroy (6)'. The Agent will then delete the rows corresponding to this CMPC instance from the cipCmpcSubChannelAdminTable, cipCmpcSubChannelOperTable and cipCmpcSubChannelStatsTable.")
cip_cmpc_sub_channel_oper_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2))
if mibBuilder.loadTexts:
cipCmpcSubChannelOperTable.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperTable.setDescription('This table contains operational information for the Cisco Multi-Path Channel (CMPC) feature on the CMCC card.')
cip_cmpc_sub_channel_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1))
cipCmpcSubChannelAdminEntry.registerAugmentions(('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelOperEntry'))
cipCmpcSubChannelOperEntry.setIndexNames(*cipCmpcSubChannelAdminEntry.getIndexNames())
if mibBuilder.loadTexts:
cipCmpcSubChannelOperEntry.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperEntry.setDescription('A list of CMPC operational and status values. The entries are created by the Agent. They have read-only access.')
cip_cmpc_sub_channel_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('shutdown', 1), ('inactive', 2), ('xid2Pending', 3), ('active', 4), ('activePlus', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperState.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperState.setDescription('Activation state of the CMPC subchannel. shutdown - CMCC interface with this CMPC subchannel configured is shutdown. inactive - CMCC physical channel up, CMPC subchannel has not started to activate yet. xid2Pending - VTAM and CMCC CMPC have started negotiating channel connection. active - CMCC CMPC subchannel is active in MPC or non-HPDT mode. activePlus - CMCC CMPC subchannel is active in MPC+ or HPDT mode.')
cip_cmpc_sub_channel_oper_maxbfru = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 1, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperMaxbfru.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSubChannelOperMaxbfru.setDescription('Maximum number of 4096 byte buffers allowed per channel block I/O on this CMPC subchannel. For host write subchannels, this is the maximum number of 4096 byte buffers the host can write to the CMCC for each channel block I/O. Since the CMCC is capable of receiving 16 4096 byte buffers per channel block I/O, the value on host write subchannels will always be 16. For host read subchannels, this is the maximum number of 4096 byte buffers the host can read from the CMCC for each channel block I/O.')
cip_cmpc_tg_oper_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1))
if mibBuilder.loadTexts:
cipCmpcTgOperTable.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperTable.setDescription('This table contains Operational information for each instance of a CMPC Transmission Group (TG). Each instance of this table is created for every CMPC TG with a unique tg-name configured on a CMCC card.')
cip_cmpc_tg_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'CISCO-CIPCMPC-MIB', 'cipCmpcTgOperName'))
if mibBuilder.loadTexts:
cipCmpcTgOperEntry.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperEntry.setDescription('A list of CMPC TG Operational objects.')
cip_cmpc_tg_oper_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 1), channel_tg_name())
if mibBuilder.loadTexts:
cipCmpcTgOperName.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperName.setDescription('This is the name for this instance of a CMPC transmission group (TG).')
cip_cmpc_tg_oper_last_seq_num_failure_cause = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('blockSeqError', 2), ('sweepSeqError', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumFailureCause.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumFailureCause.setDescription('The last CMPC TG sequence number failure cause. none - No sequence number errors have been detected. blockSeqError - Sequence number received in a cmpc I/O block did not match the expected sequence number. sweepSeqError - Sequence number received in a sweep message does not compare to the expected sequence number. for this CMPC TG.')
cip_cmpc_tg_oper_last_seq_num_failure_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 3), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumFailureTime.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumFailureTime.setDescription('This object describes the value of sysUpTime when this CMPC TG last detected a sequence number error. If the CMPC TG has not failed, then this value shall be zero.')
cip_cmpc_tg_oper_expected_receive_seq_num = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgOperExpectedReceiveSeqNum.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperExpectedReceiveSeqNum.setDescription('This is the sequence number expected from the host by this CMPC TG.')
cip_cmpc_tg_oper_last_seq_num_received = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumReceived.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumReceived.setDescription('This is the last sequence number received from the host by this CMPC TG.')
cip_cmpc_tg_oper_last_seq_num_sent = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumSent.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgOperLastSeqNumSent.setDescription('This is the last sequence number sent to the host by this CMPC TG.')
cip_cmpc_tg_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2))
if mibBuilder.loadTexts:
cipCmpcTgStatsTable.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsTable.setDescription('This table contains statistical information for each instance of a CMPC Transmission Group (TG). Each instance of this table is created for every CMPC TG with a unique tg-name configured on a CMCC card.')
cip_cmpc_tg_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1))
cipCmpcTgOperEntry.registerAugmentions(('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsEntry'))
cipCmpcTgStatsEntry.setIndexNames(*cipCmpcTgOperEntry.getIndexNames())
if mibBuilder.loadTexts:
cipCmpcTgStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsEntry.setDescription('A list of CMPC TG statistical objects.')
cip_cmpc_tg_stats_connect_reqs = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectReqs.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectReqs.setDescription('Number of connect requests received from the host by this CMPC TG.')
cip_cmpc_tg_stats_connect_inds = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectInds.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectInds.setDescription('Number of connect indications sent to the host by this CMPC TG.')
cip_cmpc_tg_stats_connect_rsps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectRsps.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectRsps.setDescription('Number of connect responses received from the host by this CMPC TG.')
cip_cmpc_tg_stats_connect_cnfms = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectCnfms.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsConnectCnfms.setDescription('Number of connect confirms sent to the host by this CMPC TG.')
cip_cmpc_tg_stats_disc_reqs = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsDiscReqs.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsDiscReqs.setDescription('Number of disconnect requests received from the host by this CMPC TG.')
cip_cmpc_tg_stats_disc_inds = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsDiscInds.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsDiscInds.setDescription('Number of disconnect Indications sent to the host by this CMPC TG.')
cip_cmpc_tg_stats_sweep_reqs_in = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepReqsIn.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepReqsIn.setDescription('Number of sweep requests received from from the host by this CMPC TG.')
cip_cmpc_tg_stats_sweep_reqs_out = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepReqsOut.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepReqsOut.setDescription('Number of CMPC sweep requests sent by this CMPC TG.')
cip_cmpc_tg_stats_sweep_rsps_in = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepRspsIn.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepRspsIn.setDescription('Number of CMPC sweep responses received from VTAM by this CMPC TG.')
cip_cmpc_tg_stats_sweep_rsps_out = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepRspsOut.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsSweepRspsOut.setDescription('Number of CMPC sweep responses sent by this CMPC TG.')
cip_cmpc_tg_stats_wraps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 72, 1, 2, 2, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cipCmpcTgStatsWraps.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcTgStatsWraps.setDescription('Number of times the CMPC sequence number for this TG has wrapped.')
cip_cmpc_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 2))
cip_cmpc_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0))
cip_cmpc_direction_mismatch = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0, 1)).setObjects(('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminDirection'))
if mibBuilder.loadTexts:
cipCmpcDirectionMismatch.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcDirectionMismatch.setDescription('This trap indicates that the configured direction for the specified CMPC subchannel does not match the direction specified by the host. The CMPC subchannel will not activate as long as this mismatch exists.')
cip_cmpc_seq_num_error = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 72, 2, 0, 2)).setObjects(('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumFailureCause'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperExpectedReceiveSeqNum'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumReceived'))
if mibBuilder.loadTexts:
cipCmpcSeqNumError.setStatus('current')
if mibBuilder.loadTexts:
cipCmpcSeqNumError.setDescription('This trap indicates that the CMPC TG has detected an MPC sequence number error. This error will cause the CMPC TG to disconnect.')
cisco_cip_cmpc_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3))
cisco_cip_cmpc_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 1))
cisco_cip_cmpc_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2))
cisco_cip_cmpc_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 1, 1)).setObjects(('CISCO-CIPCMPC-MIB', 'ciscoCipCmpcSubChannelGroup'), ('CISCO-CIPCMPC-MIB', 'ciscoCipCmpcTgGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_cip_cmpc_mib_compliance = ciscoCipCmpcMibCompliance.setStatus('current')
if mibBuilder.loadTexts:
ciscoCipCmpcMibCompliance.setDescription('The compliance statement for the Cisco Multi-Path Channel (CMPC) feature.')
cisco_cip_cmpc_sub_channel_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2, 1)).setObjects(('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminPath'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminDevice'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminTgName'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminDirection'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminTgTransport'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelAdminRowStatus'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelOperState'), ('CISCO-CIPCMPC-MIB', 'cipCmpcSubChannelOperMaxbfru'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_cip_cmpc_sub_channel_group = ciscoCipCmpcSubChannelGroup.setStatus('current')
if mibBuilder.loadTexts:
ciscoCipCmpcSubChannelGroup.setDescription('A collection of objects providing Cisco Multi-Path Channel (CMPC) Administration, Operational status and Statistics.')
cisco_cip_cmpc_tg_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 72, 3, 2, 2)).setObjects(('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumFailureCause'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumFailureTime'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperExpectedReceiveSeqNum'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumReceived'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgOperLastSeqNumSent'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsConnectReqs'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsConnectInds'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsConnectRsps'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsConnectCnfms'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsDiscReqs'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsDiscInds'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsSweepReqsIn'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsSweepReqsOut'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsSweepRspsIn'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsSweepRspsOut'), ('CISCO-CIPCMPC-MIB', 'cipCmpcTgStatsWraps'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_cip_cmpc_tg_group = ciscoCipCmpcTgGroup.setStatus('current')
if mibBuilder.loadTexts:
ciscoCipCmpcTgGroup.setDescription('A collection of objects providing CMPC TG Operational and Statistical information.')
mibBuilder.exportSymbols('CISCO-CIPCMPC-MIB', PYSNMP_MODULE_ID=ciscoCipCmpcMIB, cipCmpcSubChannel=cipCmpcSubChannel, cipCmpcSubChannelAdminPath=cipCmpcSubChannelAdminPath, cipCmpcTgStatsDiscReqs=cipCmpcTgStatsDiscReqs, ciscoCipCmpcSubChannelGroup=ciscoCipCmpcSubChannelGroup, cipCmpcSubChannelOperMaxbfru=cipCmpcSubChannelOperMaxbfru, ciscoCipCmpcMibConformance=ciscoCipCmpcMibConformance, cipCmpcTgOperName=cipCmpcTgOperName, cipCmpcNotificationPrefix=cipCmpcNotificationPrefix, cipCmpcTgStatsDiscInds=cipCmpcTgStatsDiscInds, cipCmpcTgStatsSweepRspsIn=cipCmpcTgStatsSweepRspsIn, cipCmpcTgStatsSweepReqsOut=cipCmpcTgStatsSweepReqsOut, cipCmpcSubChannelAdminDevice=cipCmpcSubChannelAdminDevice, cipCmpcTg=cipCmpcTg, cipCmpcTgStatsWraps=cipCmpcTgStatsWraps, cipCmpcTgStatsEntry=cipCmpcTgStatsEntry, cipCmpcSubChannelAdminTgName=cipCmpcSubChannelAdminTgName, cipCmpcTgOperLastSeqNumFailureTime=cipCmpcTgOperLastSeqNumFailureTime, cipCmpcTgOperExpectedReceiveSeqNum=cipCmpcTgOperExpectedReceiveSeqNum, cipCmpcTgOperLastSeqNumSent=cipCmpcTgOperLastSeqNumSent, cipCmpcTgStatsTable=cipCmpcTgStatsTable, cipCmpcTgStatsConnectRsps=cipCmpcTgStatsConnectRsps, cipCmpcTgStatsSweepRspsOut=cipCmpcTgStatsSweepRspsOut, ciscoCipCmpcMibCompliances=ciscoCipCmpcMibCompliances, cipCmpcSubChannelAdminTgTransport=cipCmpcSubChannelAdminTgTransport, cipCmpcSeqNumError=cipCmpcSeqNumError, ciscoCipCmpcMibGroups=ciscoCipCmpcMibGroups, cipCmpcSubChannelAdminTable=cipCmpcSubChannelAdminTable, cipCmpcTgOperEntry=cipCmpcTgOperEntry, cipCmpcTgStatsSweepReqsIn=cipCmpcTgStatsSweepReqsIn, cipCmpcSubChannelAdminEntry=cipCmpcSubChannelAdminEntry, cipCmpcSubChannelOperTable=cipCmpcSubChannelOperTable, ciscoCipCmpcMibCompliance=ciscoCipCmpcMibCompliance, cipCmpcTgOperLastSeqNumReceived=cipCmpcTgOperLastSeqNumReceived, ciscoCipCmpcTgGroup=ciscoCipCmpcTgGroup, cipCmpcSubChannelOperState=cipCmpcSubChannelOperState, ciscoCipCmpcMIB=ciscoCipCmpcMIB, cipCmpcDirectionMismatch=cipCmpcDirectionMismatch, cipCmpcSubChannelAdminDirection=cipCmpcSubChannelAdminDirection, cipCmpcSubChannelOperEntry=cipCmpcSubChannelOperEntry, cipCmpcTgStatsConnectReqs=cipCmpcTgStatsConnectReqs, cipCmpcObjects=cipCmpcObjects, cipCmpcTgOperTable=cipCmpcTgOperTable, cipCmpcTgStatsConnectInds=cipCmpcTgStatsConnectInds, cipCmpcSubChannelAdminRowStatus=cipCmpcSubChannelAdminRowStatus, cipCmpcTgStatsConnectCnfms=cipCmpcTgStatsConnectCnfms, cipCmpcNotifications=cipCmpcNotifications, cipCmpcTgOperLastSeqNumFailureCause=cipCmpcTgOperLastSeqNumFailureCause) |
pwNextLetters = "abcdefghjkmnpqrstuvwxyz" # The next letter after a valid letter
pwInvalidNextLetters = "ijlmop" # The next letter after an invalid letter
pwInvalidLetters = "ilo"
def nextLetter(letter):
sequenceForNext = pwNextLetters if letter not in pwInvalidLetters else pwInvalidNextLetters
letterPos = sequenceForNext.index(letter)
if letterPos < len(sequenceForNext) - 1:
return sequenceForNext[letterPos + 1]
return None
def nextPassword(pwString):
pw = [letter for letter in pwString]
letterIndex = -1
while pw[letterIndex] == "z":
pw[letterIndex] = "a"
letterIndex -= 1
pw[letterIndex] = nextLetter(pw[letterIndex])
return ''.join(pw)
def pwIsValid(pw):
if "i" in pw or "l" in pw or "o" in pw:
return False
pairs = set()
i = 0
while i < len(pw) - 1:
if pw[i] == pw[i + 1]:
pairs.add(pw[i])
i += 1 # Skip the matching letter. The matching pairs can't overlap
i += 1
if len(pairs) < 2:
return False
foundTrio = False
i = 0
while not foundTrio and i < len(pw) - 2:
foundTrio = ord(pw[i+1]) == ord(pw[i]) + 1 and ord(pw[i+2]) == ord(pw[i+1]) + 1
i += 1
return foundTrio
def day11(input):
pw = nextPassword(input)
while not pwIsValid(pw):
pw = nextPassword(pw)
return pw
print(day11("abcdefgh"))
print(day11("ghjaaaaa"))
next = (day11("cqjxjnds"))
print(next)
print(day11(next))
| pw_next_letters = 'abcdefghjkmnpqrstuvwxyz'
pw_invalid_next_letters = 'ijlmop'
pw_invalid_letters = 'ilo'
def next_letter(letter):
sequence_for_next = pwNextLetters if letter not in pwInvalidLetters else pwInvalidNextLetters
letter_pos = sequenceForNext.index(letter)
if letterPos < len(sequenceForNext) - 1:
return sequenceForNext[letterPos + 1]
return None
def next_password(pwString):
pw = [letter for letter in pwString]
letter_index = -1
while pw[letterIndex] == 'z':
pw[letterIndex] = 'a'
letter_index -= 1
pw[letterIndex] = next_letter(pw[letterIndex])
return ''.join(pw)
def pw_is_valid(pw):
if 'i' in pw or 'l' in pw or 'o' in pw:
return False
pairs = set()
i = 0
while i < len(pw) - 1:
if pw[i] == pw[i + 1]:
pairs.add(pw[i])
i += 1
i += 1
if len(pairs) < 2:
return False
found_trio = False
i = 0
while not foundTrio and i < len(pw) - 2:
found_trio = ord(pw[i + 1]) == ord(pw[i]) + 1 and ord(pw[i + 2]) == ord(pw[i + 1]) + 1
i += 1
return foundTrio
def day11(input):
pw = next_password(input)
while not pw_is_valid(pw):
pw = next_password(pw)
return pw
print(day11('abcdefgh'))
print(day11('ghjaaaaa'))
next = day11('cqjxjnds')
print(next)
print(day11(next)) |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__all__ = ["cli", "influx", "udp", "routines", "helper", "sample_dump", "colormap"]
| __all__ = ['cli', 'influx', 'udp', 'routines', 'helper', 'sample_dump', 'colormap'] |
class Version():
def __init__(self, major, minor, patch, revision, beta, protocol):
self.major = major
self.minor = minor
self.patch = patch
self.revision = revision
self.beta = beta
self.protocol = protocol
def __str__(self):
return 'Version: %d.%d.%d.%d\nProtocol: %d\nBeta: %d' % (self.major, self.minor, self.patch, self.revision, self.protocol, self.beta)
def game_version(self):
return ('v%d.%d.%d' % (self.major, self.minor, self.patch)) + (('.%d beta' % self.revision) if self.beta == 1 else '')
def game_version_network(self):
return ('%d.%d.%d' % (self.major, self.minor, self.patch)) + (('.%d' % self.revision) if self.beta == 1 else '')
| class Version:
def __init__(self, major, minor, patch, revision, beta, protocol):
self.major = major
self.minor = minor
self.patch = patch
self.revision = revision
self.beta = beta
self.protocol = protocol
def __str__(self):
return 'Version: %d.%d.%d.%d\nProtocol: %d\nBeta: %d' % (self.major, self.minor, self.patch, self.revision, self.protocol, self.beta)
def game_version(self):
return 'v%d.%d.%d' % (self.major, self.minor, self.patch) + ('.%d beta' % self.revision if self.beta == 1 else '')
def game_version_network(self):
return '%d.%d.%d' % (self.major, self.minor, self.patch) + ('.%d' % self.revision if self.beta == 1 else '') |
for _ in range(int(input())):
N = input()
result = 0
while True:
if N == "6174":
print(result)
break
b = ''.join(sorted(N))
a = ''.join(sorted(N, reverse=True))
sub = str(int(a) - int(b))
sub += "0" * (4 - len(sub))
N = sub
result += 1
| for _ in range(int(input())):
n = input()
result = 0
while True:
if N == '6174':
print(result)
break
b = ''.join(sorted(N))
a = ''.join(sorted(N, reverse=True))
sub = str(int(a) - int(b))
sub += '0' * (4 - len(sub))
n = sub
result += 1 |
class Solution:
def isValidSudoku(self, board: List[List[str]]) -> bool:
for i in range(3):
d=""
for j in range(3):
d+=board[i*3][j*3]+board[i*3+1][j*3+1]+board[i*3+2][j*3+2]
for k in range(1,10):
if d.count(str(k))>1:
return False
for i in range(1,10):
for j in range(1,10):
if board[i].count(str(j)):
return False
for i in range(1,10):
d=''
for j in range(1,10):
d+=board[j][i]
for k in range(1,10):
if board[i].count(str(j)):
return False
| class Solution:
def is_valid_sudoku(self, board: List[List[str]]) -> bool:
for i in range(3):
d = ''
for j in range(3):
d += board[i * 3][j * 3] + board[i * 3 + 1][j * 3 + 1] + board[i * 3 + 2][j * 3 + 2]
for k in range(1, 10):
if d.count(str(k)) > 1:
return False
for i in range(1, 10):
for j in range(1, 10):
if board[i].count(str(j)):
return False
for i in range(1, 10):
d = ''
for j in range(1, 10):
d += board[j][i]
for k in range(1, 10):
if board[i].count(str(j)):
return False |
number = int(input()) # number of letters
a = 0
for i in range(0, number):
for k in range(0, number):
for h in range(0, number):
print(f"{chr(97 + i)}{chr(97 + k)}{chr(97 + h)}")
for f in range(0, 900000):
a += 1 | number = int(input())
a = 0
for i in range(0, number):
for k in range(0, number):
for h in range(0, number):
print(f'{chr(97 + i)}{chr(97 + k)}{chr(97 + h)}')
for f in range(0, 900000):
a += 1 |
def runner(
input_iterable=None,
transform_function=lambda x: x,
post_method=None
):
for item in input_iterable:
post_method(transform_function(item)) | def runner(input_iterable=None, transform_function=lambda x: x, post_method=None):
for item in input_iterable:
post_method(transform_function(item)) |
'''
chitragoopt: Test module.
Meant for use with py.test.
Write each test as a function named test_<something>.
Read more here: http://pytest.org/
Copyright 2015, Venkatesh Rao
Licensed under MIT
'''
def test_example():
assert True
| """
chitragoopt: Test module.
Meant for use with py.test.
Write each test as a function named test_<something>.
Read more here: http://pytest.org/
Copyright 2015, Venkatesh Rao
Licensed under MIT
"""
def test_example():
assert True |
#
# PySNMP MIB module IEEE8021-BRIDGE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IEEE8021-BRIDGE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:52: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")
ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection")
IEEE8021PbbComponentIdentifierOrZero, IEEE8021PriorityCodePoint, IEEE8021PbbComponentIdentifier, ieee802dot1mibs, IEEE8021PriorityValue, IEEE8021BridgePortNumberOrZero, IEEE8021BridgePortNumber, IEEE8021BridgePortType = mibBuilder.importSymbols("IEEE8021-TC-MIB", "IEEE8021PbbComponentIdentifierOrZero", "IEEE8021PriorityCodePoint", "IEEE8021PbbComponentIdentifier", "ieee802dot1mibs", "IEEE8021PriorityValue", "IEEE8021BridgePortNumberOrZero", "IEEE8021BridgePortNumber", "IEEE8021BridgePortType")
ifGeneralInformationGroup, InterfaceIndexOrZero, ifIndex = mibBuilder.importSymbols("IF-MIB", "ifGeneralInformationGroup", "InterfaceIndexOrZero", "ifIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
systemGroup, = mibBuilder.importSymbols("SNMPv2-MIB", "systemGroup")
IpAddress, ObjectIdentity, ModuleIdentity, Bits, Counter32, MibIdentifier, Counter64, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Integer32, NotificationType, Unsigned32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "ObjectIdentity", "ModuleIdentity", "Bits", "Counter32", "MibIdentifier", "Counter64", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Integer32", "NotificationType", "Unsigned32", "TimeTicks")
DisplayString, TimeInterval, MacAddress, TextualConvention, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TimeInterval", "MacAddress", "TextualConvention", "RowStatus", "TruthValue")
ieee8021BridgeMib = ModuleIdentity((1, 3, 111, 2, 802, 1, 1, 2))
ieee8021BridgeMib.setRevisions(('2014-12-15 00:00', '2012-08-10 00:00', '2012-02-15 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-10-15 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ieee8021BridgeMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected.', 'Added an enumeration for tComponent in ieee8021BridgeBaseComponentType as part of IEEE Std 802.1Q Cor-2.', 'Extended ieee8021BridgeBaseComponentType to include erComponent and ieee8021BridgeBasePortTypeCapabilities to include stationFacingBridgePort, uplinkAccessPort and uplinkRelayPort. Added tables ieee8021BridgeBaseIfToPortTable and ieee8021BridgePortTable as part of IEEE Std 802.1Qbg.', 'Modifications to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Initial revision, derived from RFC 4188.',))
if mibBuilder.loadTexts: ieee8021BridgeMib.setLastUpdated('201412150000Z')
if mibBuilder.loadTexts: ieee8021BridgeMib.setOrganization('IEEE 802.1 Working Group')
if mibBuilder.loadTexts: ieee8021BridgeMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG')
if mibBuilder.loadTexts: ieee8021BridgeMib.setDescription('The Bridge MIB module for managing devices that support IEEE Std 802.1Q. This MIB module is derived from the IETF BRIDGE-MIB, RFC 4188. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE802.1Q; see the draft itself for full legal notices.')
ieee8021BridgeNotifications = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 0))
ieee8021BridgeObjects = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1))
ieee8021BridgeConformance = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 2))
ieee8021BridgeBase = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 1))
ieee8021BridgeTp = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 2))
ieee8021BridgePriority = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 3))
ieee8021BridgeMrp = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 4))
ieee8021BridgeMmrp = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 5))
ieee8021BridgeInternalLan = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 6))
ieee8021BridgeDot1d = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 7))
ieee8021BridgeBaseTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1), )
if mibBuilder.loadTexts: ieee8021BridgeBaseTable.setReference('12.4.1')
if mibBuilder.loadTexts: ieee8021BridgeBaseTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseTable.setDescription('A table that contains generic information about every Bridge component. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021BridgeBaseEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseComponentId"))
if mibBuilder.loadTexts: ieee8021BridgeBaseEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseEntry.setDescription('A list of objects containing information for each Bridge component.')
ieee8021BridgeBaseComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeBaseComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgeBaseBridgeAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 2), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseBridgeAddress.setReference('12.4.1.1.3 a)')
if mibBuilder.loadTexts: ieee8021BridgeBaseBridgeAddress.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseBridgeAddress.setDescription('The MAC address used by this Bridge when it is referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this Bridge. However, it is only required to be unique. When concatenated with ieee8021SpanningTreePriority, a unique BridgeIdentifier is formed, which is used in the Spanning Tree Protocol. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBaseNumPorts = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 3), Integer32()).setUnits('ports').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBaseNumPorts.setReference('12.4.1.1.3 c)')
if mibBuilder.loadTexts: ieee8021BridgeBaseNumPorts.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseNumPorts.setDescription('The number of ports controlled by this bridging entity.')
ieee8021BridgeBaseComponentType = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("iComponent", 1), ("bComponent", 2), ("cVlanComponent", 3), ("sVlanComponent", 4), ("dBridgeComponent", 5), ("erComponent", 6), ("tComponent", 7)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseComponentType.setReference('12.3 m)')
if mibBuilder.loadTexts: ieee8021BridgeBaseComponentType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseComponentType.setDescription('Indicates the component type(s) of this Bridge. The following component types are possible: iComponent(1) - An S-VLAN component of a Backbone Edge Bridge which performs encapsulation of customer frames. bComponent(2) - An S-VLAN component of a Backbone Edge Bridge which bundles backbone service instances into B-VLANs. cVlanComponent(3) - A C-VLAN component of an enterprise VLAN Bridge or of a Provider Bridge used to process C-tagged frames. sVlanComponent(4) - An S-VLAN component of a Provider Bridge. dBridgeComponent(5) - A VLAN unaware component of an IEEE 802.1Q Bridge. erComponent (6) - An Edge Relay component of an EVB Station. tComponent (7) - A TPMR component in a Backbone Edge Bridge. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBaseDeviceCapabilities = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 5), Bits().clone(namedValues=NamedValues(("dot1dExtendedFilteringServices", 0), ("dot1dTrafficClasses", 1), ("dot1qStaticEntryIndividualPort", 2), ("dot1qIVLCapable", 3), ("dot1qSVLCapable", 4), ("dot1qHybridCapable", 5), ("dot1qConfigurablePvidTagging", 6), ("dot1dLocalVlanCapable", 7)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseDeviceCapabilities.setReference('12.10.1.1.3 b)')
if mibBuilder.loadTexts: ieee8021BridgeBaseDeviceCapabilities.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseDeviceCapabilities.setDescription('Indicates the optional parts of 802.1Q that are implemented by this device and are manageable through this MIB. Capabilities that are allowed on a per-port basis are indicated in ieee8021BridgeBasePortCapabilities. dot1dExtendedFilteringServices(0), -- can perform filtering of -- individual multicast addresses -- controlled by MMRP. dot1dTrafficClasses(1), -- can map priority to -- multiple traffic classes. dot1qStaticEntryIndividualPort(2), -- dot1qStaticUnicastReceivePort & -- dot1qStaticMulticastReceivePort -- can represent non-zero entries. dot1qIVLCapable(3), -- Independent VLAN Learning (IVL). dot1qSVLCapable(4), -- Shared VLAN Learning (SVL). dot1qHybridCapable(5), -- both IVL & SVL simultaneously. dot1qConfigurablePvidTagging(6), -- whether the implementation -- supports the ability to -- override the default PVID -- setting and its egress status -- (VLAN-Tagged or Untagged) on -- each port. dot1dLocalVlanCapable(7) -- can support multiple local -- Bridges, outside of the scope -- of 802.1Q defined VLANs. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBaseTrafficClassesEnabled = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseTrafficClassesEnabled.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseTrafficClassesEnabled.setDescription('The value true(1) indicates that Traffic Classes are enabled on this Bridge. When false(2), the Bridge operates with a single priority level for all traffic. This object may be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBaseMmrpEnabledStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseMmrpEnabledStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseMmrpEnabledStatus.setDescription('The administrative status requested by management for MMRP. The value true(1) indicates that MMRP should be enabled on this device, in all VLANs, on all ports for which it has not been specifically disabled. When false(2), MMRP is disabled, in all VLANs and on all ports, and all MMRP packets will be forwarded transparently. This object affects both Applicant and Registrar state machines. A transition from false(2) to true(1) will cause a reset of all MMRP state machines on all ports. This object may be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBaseRowStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeBaseRowStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseRowStatus.setDescription('The object indicates the status of an entry, and is used to create/delete entries. The following objects MUST be set prior to making a new entry active: ieee8021BridgeBaseBridgeAddress ieee8021BridgeBaseComponentType ieee8021BridgeBaseDeviceCapabilities It is recommended that these three objects not be allowed to be modified while the corresponding instance of ieee8021BridgeBaseRowStatus object is active(1). The following objects are not required to be set before making a new entry active (they will take their defaults), and they also may be modified while the corresponding instance of this object is active(1): ieee8021BridgeBaseTrafficClassesEnabled ieee8021BridgeBaseMmrpEnabledStatus The value of this object and all corresponding instances of other objects in this table MUST be retained across reinitializations of the management system.')
ieee8021BridgeBasePortTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4), )
if mibBuilder.loadTexts: ieee8021BridgeBasePortTable.setReference('12.4.2')
if mibBuilder.loadTexts: ieee8021BridgeBasePortTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortTable.setDescription('A table that contains generic information about every port that is associated with this Bridge. Transparent, and source-route ports are included.')
ieee8021BridgeBasePortEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePort"))
if mibBuilder.loadTexts: ieee8021BridgeBasePortEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortEntry.setDescription('A list of objects containing information for each port of the Bridge.')
ieee8021BridgeBasePortComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeBasePortComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgeBasePort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeBasePort.setReference('12.4.2.1')
if mibBuilder.loadTexts: ieee8021BridgeBasePort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePort.setDescription('The port number of the port for which this entry contains Bridge management information.')
ieee8021BridgeBasePortIfIndex = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeBasePortIfIndex.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. It is an implementation specific decision as to whether this object may be modified if it has been created or if 0 is a legal value. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system.')
ieee8021BridgeBasePortDelayExceededDiscards = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 4), Counter64()).setUnits('frames').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortDelayExceededDiscards.setReference('12.6.1.1.3 f)')
if mibBuilder.loadTexts: ieee8021BridgeBasePortDelayExceededDiscards.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortDelayExceededDiscards.setDescription('The number of frames discarded by this port due to excessive transit delay through the Bridge. It is incremented by both transparent and source route Bridges. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021BridgeBasePortMtuExceededDiscards = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 5), Counter64()).setUnits('frames').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortMtuExceededDiscards.setReference('12.6.1.1.3 g)')
if mibBuilder.loadTexts: ieee8021BridgeBasePortMtuExceededDiscards.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortMtuExceededDiscards.setDescription('The number of frames discarded by this port due to an excessive size. It is incremented by both transparent and source route Bridges. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021BridgeBasePortCapabilities = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 6), Bits().clone(namedValues=NamedValues(("dot1qDot1qTagging", 0), ("dot1qConfigurableAcceptableFrameTypes", 1), ("dot1qIngressFiltering", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortCapabilities.setReference('12.10.1.1.3 c)')
if mibBuilder.loadTexts: ieee8021BridgeBasePortCapabilities.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortCapabilities.setDescription('Indicates the parts of IEEE 802.1Q that are optional on a per-port basis, that are implemented by this device, and that are manageable through this MIB. dot1qDot1qTagging(0), -- supports 802.1Q VLAN tagging of -- frames and MVRP. dot1qConfigurableAcceptableFrameTypes(1), -- allows modified values of -- dot1qPortAcceptableFrameTypes. dot1qIngressFiltering(2) -- supports the discarding of any -- frame received on a Port whose -- VLAN classification does not -- include that Port in its Member -- set.')
ieee8021BridgeBasePortTypeCapabilities = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 7), Bits().clone(namedValues=NamedValues(("customerVlanPort", 0), ("providerNetworkPort", 1), ("customerNetworkPort", 2), ("customerEdgePort", 3), ("customerBackbonePort", 4), ("virtualInstancePort", 5), ("dBridgePort", 6), ("remoteCustomerAccessPort", 7), ("stationFacingBridgePort", 8), ("uplinkAccessPort", 9), ("uplinkRelayPort", 10)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortTypeCapabilities.setReference('40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.2.1, 12.26')
if mibBuilder.loadTexts: ieee8021BridgeBasePortTypeCapabilities.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortTypeCapabilities.setDescription("Indicates the capabilities of this port. The corresponding instance of ieee8021BridgeBasePortType can potentially take any of the values for which the corresponding bit in this object is 1. The possible port types are as follows: customerVlanPort(0) - Indicates the port can be a C-TAG aware port of an enterprise VLAN aware Bridge. providerNetworkPort(1) - Indicates the port can be an S-TAG aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(2) - Indicates the port can be an S-TAG aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(3) - Indicates the port can be a C-TAG aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(4) - Indicates the port can be a I-TAG aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(5) - Indicates the port can be a virtual S-TAG aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(6) - Indicates the port can be a VLAN-unaware member of an 802.1Q Bridge. remoteCustomerAccessPort(7) - Indicates the port can be an S-TAG aware port of a Provider Bridge capable of providing Remote Customer Service Interfaces. stationFacingBridgePort(8) - Indicates the station-facing Bridge Port in a EVB Bridge. uplinkAccessPort(9) - Indicates the uplink access port in an EVB Bridge or EVB station. uplinkRelayPort (10) - Indicates the uplink relay port in an EVB station.")
ieee8021BridgeBasePortType = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 8), IEEE8021BridgePortType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortType.setReference('40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.2.1, 12.26')
if mibBuilder.loadTexts: ieee8021BridgeBasePortType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortType.setDescription('The port type. This value MUST be persistent over power up restart/reboot.')
ieee8021BridgeBasePortExternal = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 9), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortExternal.setReference('12.4.2.1')
if mibBuilder.loadTexts: ieee8021BridgeBasePortExternal.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortExternal.setDescription('A boolean indicating whether the port is external. A value of true(1) means the port is external. A value of false(2) means the port is internal.')
ieee8021BridgeBasePortAdminPointToPoint = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("forceTrue", 1), ("forceFalse", 2), ("auto", 3))).clone('forceFalse')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeBasePortAdminPointToPoint.setReference('IEEE Std 802.1AC, 6.10, 12.8.2.1.3 o), 12.8.2.3.2 f), 26.4.1')
if mibBuilder.loadTexts: ieee8021BridgeBasePortAdminPointToPoint.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortAdminPointToPoint.setDescription('For a port running spanning tree, this object represents the administrative point-to-point status of the LAN segment attached to this port, using the enumeration values of IEEE Std 802.1AC. A value of forceTrue(1) indicates that this port should always be treated as if it is connected to a point-to-point link. A value of forceFalse(2) indicates that this port should be treated as having a shared media connection. A value of auto(3) indicates that this port is considered to have a point-to-point link if it is an Aggregator and all of its members are aggregatable, or if the MAC entity is configured for full duplex operation, either through auto-negotiation or by management means. Manipulating this object changes the underlying adminPointToPointMAC. For a VIP, the adminPointToPointMAC parameter controls the mechanism by which the Default Backbone Destination parameter for the VIP is determined. For a backbone service instance that includes only 2 VIPs, the value may be set to forceTrue(1) which permits dynamic learning of the Default Backbone Destination parameter. For a backbone service instance that includes more than 2 VIPs, the value MUST be set to ForceFalse(2) or auto(3). When this object is set to forceTrue(1) for a VIP, the Default Backbone Destination parameter is modified by the subsequent M_UNITDATA.indications as specified in 6.10.1 (and described in 26.4.1). Whenever the parameter is set to forceFalse(2) or auto(3), the value for the Default Backbone Destination parameter is set to the Backbone Service Instance Group Address for the VIP-ISID. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeBasePortOperPointToPoint = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 11), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortOperPointToPoint.setReference('IEEE Std 802.1AC, 6.10, 12.8.2.1.3 p), 12.8.2.3.2 f), 26.4.1')
if mibBuilder.loadTexts: ieee8021BridgeBasePortOperPointToPoint.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortOperPointToPoint.setDescription('For a port running spanning tree, this object represents the operational point-to-point status of the LAN segment attached to this port. It indicates whether a port is considered to have a point-to-point connection. If adminPointToPointMAC is set to auto(2), then the value of operPointToPointMAC is determined in accordance with the specific procedures defined for the MAC entity concerned, as defined in IEEE Std 802.1AC. The value is determined dynamically; that is, it is re-evaluated whenever the value of adminPointToPointMAC changes, and whenever the specific procedures defined for the MAC entity evaluate a change in its point-to-point status. For a VIP, this object simply reflects the value of the corresponding instance of ieee8021BridgeBasePortAdminPointToPoint. The value will be true(1) if that object is forceTrue(1), and the value will be false(2) if the value of that object is either forceFalse(2) or auto(3).')
ieee8021BridgeBasePortName = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 12), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBasePortName.setReference('12.4.2.1')
if mibBuilder.loadTexts: ieee8021BridgeBasePortName.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortName.setDescription('A text string of up to 32 characters, of locally determined significance.')
ieee8021BridgeBaseIfToPortTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5), )
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortTable.setReference('17.2.2')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortTable.setDescription('A table that contains generic information about every ifIndex that is associated with this Bridge.')
ieee8021BridgeBaseIfToPortEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortEntry.setDescription('A list of objects containing information for each ifIndex of the Bridge.')
ieee8021BridgeBaseIfIndexComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1, 1), IEEE8021PbbComponentIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBaseIfIndexComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfIndexComponentId.setDescription('The component ID for this ifIndex.')
ieee8021BridgeBaseIfIndexPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1, 2), IEEE8021BridgePortNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeBaseIfIndexPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfIndexPort.setDescription('The port for this ifIndex.')
ieee8021BridgePhyPortTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6), )
if mibBuilder.loadTexts: ieee8021BridgePhyPortTable.setReference('12.5.1')
if mibBuilder.loadTexts: ieee8021BridgePhyPortTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortTable.setDescription('A table that contains ISS port number to Bridge componentID and port number mapping.')
ieee8021BridgePhyPortEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPort"))
if mibBuilder.loadTexts: ieee8021BridgePhyPortEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortEntry.setDescription('A list of objects containing mapping for ISS port numbers to Bridge componentID and port numbers ')
ieee8021BridgePhyPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 1), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgePhyPort.setReference('12.26')
if mibBuilder.loadTexts: ieee8021BridgePhyPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPort.setDescription('The ISS port.')
ieee8021BridgePhyPortIfIndex = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePhyPortIfIndex.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system.')
ieee8021BridgePhyMacAddress = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePhyMacAddress.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyMacAddress.setDescription('The MAC address')
ieee8021BridgePhyPortToComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 4), IEEE8021PbbComponentIdentifierOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePhyPortToComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortToComponentId.setDescription('The component ID that this ISS port belongs to.')
ieee8021BridgePhyPortToInternalPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 5), IEEE8021BridgePortNumberOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePhyPortToInternalPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortToInternalPort.setDescription('The port number to which this ISS port maps to.')
ieee8021BridgeTpPortTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1), )
if mibBuilder.loadTexts: ieee8021BridgeTpPortTable.setReference('12.4.2')
if mibBuilder.loadTexts: ieee8021BridgeTpPortTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortTable.setDescription('A table that contains information about every port that is associated with this transparent Bridge.')
ieee8021BridgeTpPortEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPort"))
if mibBuilder.loadTexts: ieee8021BridgeTpPortEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortEntry.setDescription('A list of objects containing information for each port of a transparent Bridge.')
ieee8021BridgeTpPortComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeTpPortComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgeTpPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeTpPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPort.setDescription('The port number of the port for which this entry contains Transparent bridging management information.')
ieee8021BridgeTpPortMaxInfo = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 3), Integer32()).setUnits('bytes').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeTpPortMaxInfo.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortMaxInfo.setDescription('The maximum size of the INFO (non-MAC) field that this port will receive or transmit.')
ieee8021BridgeTpPortInFrames = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 4), Counter64()).setUnits('frames').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeTpPortInFrames.setReference('12.6.1.1.3 a)')
if mibBuilder.loadTexts: ieee8021BridgeTpPortInFrames.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including Bridge management frames. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021BridgeTpPortOutFrames = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 5), Counter64()).setUnits('frames').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeTpPortOutFrames.setReference('12.6.1.1.3 d)')
if mibBuilder.loadTexts: ieee8021BridgeTpPortOutFrames.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including Bridge management frames. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021BridgeTpPortInDiscards = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 6), Counter64()).setUnits('frames').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeTpPortInDiscards.setReference('12.6.1.1.3 c)')
if mibBuilder.loadTexts: ieee8021BridgeTpPortInDiscards.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortInDiscards.setDescription('Count of received valid frames that were discarded (i.e., filtered) by the Forwarding Process. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021BridgePortPriorityTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1), )
if mibBuilder.loadTexts: ieee8021BridgePortPriorityTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortPriorityTable.setDescription('A table that contains information about every port that is associated with this transparent Bridge.')
ieee8021BridgePortPriorityEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1), )
ieee8021BridgeBasePortEntry.registerAugmentions(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortPriorityEntry"))
ieee8021BridgePortPriorityEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: ieee8021BridgePortPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortPriorityEntry.setDescription('A list of Default User Priorities for each port of a transparent Bridge. This is indexed by ieee8021BridgeBasePortComponentId and ieee8021BridgeBasePort.')
ieee8021BridgePortDefaultUserPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 1), IEEE8021PriorityValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortDefaultUserPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDefaultUserPriority.setDescription('The default ingress priority for this port. This only has effect on media, such as Ethernet, that do not support native priority. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortNumTrafficClasses = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortNumTrafficClasses.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortNumTrafficClasses.setDescription('The number of egress traffic classes supported on this port. This object may optionally be read-only. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortPriorityCodePointSelection = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 3), IEEE8021PriorityCodePoint()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortPriorityCodePointSelection.setReference('12.6.2.6, 12.6.2.7')
if mibBuilder.loadTexts: ieee8021BridgePortPriorityCodePointSelection.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortPriorityCodePointSelection.setDescription(' This object identifies the rows in the PCP encoding and decoding tables that are used to remark frames on this port if this remarking is enabled.')
ieee8021BridgePortUseDEI = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 4), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortUseDEI.setReference('12.6.2.11, 12.6.2.12')
if mibBuilder.loadTexts: ieee8021BridgePortUseDEI.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortUseDEI.setDescription('If the Use_DEI is set to true(1) for the Port then the drop_eligible parameter is encoded in the DEI of transmitted frames, and the drop_eligible parameter shall be true(1) for a received frame if the DEI is set in the VLAN tag or the Priority Code Point Decoding Table indicates drop_eligible True for the received PCP value. If the Use_DEI parameter is false(2), the DEI shall be transmitted as zero and ignored on receipt. The default value of the Use_DEI parameter is false(2).')
ieee8021BridgePortRequireDropEncoding = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortRequireDropEncoding.setReference('12.6.2.13, 12.6.2.14')
if mibBuilder.loadTexts: ieee8021BridgePortRequireDropEncoding.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortRequireDropEncoding.setDescription('If a Bridge supports encoding or decoding of drop_eligible from the PCP field of a VLAN tag (6.7.3) on any of its Ports, then it shall implement a Boolean parameter Require Drop Encoding on each of its Ports with default value false(2). If Require Drop Encoding is True and the Bridge Port cannot encode particular priorities with drop_eligible, then frames queued with those priorities and drop_eligible true(1) shall be discarded and not transmitted.')
ieee8021BridgePortServiceAccessPrioritySelection = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 6), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortServiceAccessPrioritySelection.setReference('12.6.2.15, 12.6.2.16')
if mibBuilder.loadTexts: ieee8021BridgePortServiceAccessPrioritySelection.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortServiceAccessPrioritySelection.setDescription('Indication of whether the Service Access Priority Selection function is supported on the Customer Bridge Port to request priority handling of the frame from a Port-based service interface.')
ieee8021BridgeUserPriorityRegenTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2), )
if mibBuilder.loadTexts: ieee8021BridgeUserPriorityRegenTable.setReference('6.5.9, 6.9.4')
if mibBuilder.loadTexts: ieee8021BridgeUserPriorityRegenTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeUserPriorityRegenTable.setDescription('A list of Regenerated User Priorities for each received priority on each port of a Bridge. The regenerated priority value may be used to index the Traffic Class Table for each input port. This only has effect on media that support native priority. The default values for Regenerated User Priorities are the same as the User Priorities.')
ieee8021BridgeUserPriorityRegenEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePort"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeUserPriority"))
if mibBuilder.loadTexts: ieee8021BridgeUserPriorityRegenEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeUserPriorityRegenEntry.setDescription('A mapping of incoming priority to a regenerated priority.')
ieee8021BridgeUserPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1, 1), IEEE8021PriorityValue())
if mibBuilder.loadTexts: ieee8021BridgeUserPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeUserPriority.setDescription('The priority for a frame received on this port.')
ieee8021BridgeRegenUserPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1, 2), IEEE8021PriorityValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeRegenUserPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeRegenUserPriority.setDescription('The regenerated priority that the incoming User Priority is mapped to for this port. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeTrafficClassTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3), )
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassTable.setReference('8.6.6, Table 8-4')
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassTable.setDescription('A table mapping evaluated priority to Traffic Class, for forwarding by the Bridge. Traffic class is a number in the range (0..(ieee8021BridgePortNumTrafficClasses-1)).')
ieee8021BridgeTrafficClassEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePort"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeTrafficClassPriority"))
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassEntry.setDescription('Priority to Traffic Class mapping.')
ieee8021BridgeTrafficClassPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1, 1), IEEE8021PriorityValue())
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTrafficClassPriority.setDescription('The Priority value determined for the received frame. This value is equivalent to the priority indicated in the tagged frame received, or one of the evaluated priorities, determined according to the media-type. For untagged frames received from Ethernet media, this value is equal to the ieee8021BridgePortDefaultUserPriority value for the ingress port. For untagged frames received from non-Ethernet media, this value is equal to the ieee8021BridgeRegenUserPriority value for the ingress port and media-specific priority.')
ieee8021BridgeTrafficClass = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeTrafficClass.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTrafficClass.setDescription('The Traffic Class the received frame is mapped to. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortOutboundAccessPriorityTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4), )
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriorityTable.setReference('IEEE Std 802.1AC')
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriorityTable.setDescription('A table mapping regenerated priority to Outbound Access Priority. This is a fixed mapping for all port types, with three options for IEEE 802.17 RPR.')
ieee8021BridgePortOutboundAccessPriorityEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePort"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeRegenUserPriority"))
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriorityEntry.setDescription('Regenerated priority to Outbound Access Priority mapping.')
ieee8021BridgePortOutboundAccessPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4, 1, 1), IEEE8021PriorityValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortOutboundAccessPriority.setDescription('The Outbound Access Priority the received frame is mapped to.')
ieee8021BridgePortDecodingTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5), )
if mibBuilder.loadTexts: ieee8021BridgePortDecodingTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingTable.setDescription('A table that contains information about Priority Code Point Decoding Table for a Port of a provider Bridge. Alternative values for each table are specified as rows in Table 6-3 (6.9.3), with each alternative labeled by the number of distinct priorities that can be communicated, and the number of these for which drop precedence can be communicated. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021BridgePortDecodingEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingPortNum"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingPriorityCodePointRow"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingPriorityCodePoint"))
if mibBuilder.loadTexts: ieee8021BridgePortDecodingEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingEntry.setDescription('A list of objects containing Priority Code Point Decoding information for a port of a provider Bridge.')
ieee8021BridgePortDecodingComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgePortDecodingComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgePortDecodingPortNum = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPortNum.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021BridgePortDecodingPriorityCodePointRow = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 3), IEEE8021PriorityCodePoint())
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriorityCodePointRow.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriorityCodePointRow.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP.')
ieee8021BridgePortDecodingPriorityCodePoint = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)))
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriorityCodePoint.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriorityCodePoint.setDescription('The specific PCP value in Table 6-2 (6.9.3).')
ieee8021BridgePortDecodingPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 5), IEEE8021PriorityValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriority.setReference('6.9.3, 12.6.2.8, 12.6.2.9')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingPriority.setDescription('The specific priority value in Table 6-2 (6.9.3).')
ieee8021BridgePortDecodingDropEligible = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 6), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortDecodingDropEligible.setReference('6.9.3, 12.6.2.8, 12.6.2.9')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingDropEligible.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingDropEligible.setDescription('The drop eligibility value in Table 6-3 (6.7.3).')
ieee8021BridgePortEncodingTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6), )
if mibBuilder.loadTexts: ieee8021BridgePortEncodingTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingTable.setDescription('A table that contains information about Priority Code Point Decoding Table for a Port of a provider Bridge. Alternative values for each table are specified as rows in Table 6-2 (6.9.3), with each alternative labeled by the number of distinct priorities that can be communicated, and the number of these for which drop precedence can be communicated. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021BridgePortEncodingEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingPortNum"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingPriorityCodePointRow"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingPriorityCodePoint"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingDropEligible"))
if mibBuilder.loadTexts: ieee8021BridgePortEncodingEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingEntry.setDescription('A list of objects containing Priority Code Point Encoding information for a port of a provider Bridge.')
ieee8021BridgePortEncodingComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgePortEncodingComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgePortEncodingPortNum = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPortNum.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021BridgePortEncodingPriorityCodePointRow = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 3), IEEE8021PriorityCodePoint())
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriorityCodePointRow.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriorityCodePointRow.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP row. (i.e. 8P0D, 7P1D, 6P2D, 5P3D)')
ieee8021BridgePortEncodingPriorityCodePoint = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)))
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriorityCodePoint.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriorityCodePoint.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP. (i.e., 0,1,2,3,4,5,6,7).')
ieee8021BridgePortEncodingDropEligible = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 5), TruthValue())
if mibBuilder.loadTexts: ieee8021BridgePortEncodingDropEligible.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingDropEligible.setDescription('The specific row in Table 6-2 (6.9.3) indicating the drop eligibility. A value of true(1) means eligible for drop.')
ieee8021BridgePortEncodingPriority = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 6), IEEE8021PriorityValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriority.setReference('6.9.3, 12.6.2.9, 12.6.2.10')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriority.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingPriority.setDescription('The encoding priority in Table 6-2 (6.9.3).')
ieee8021BridgeServiceAccessPriorityTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7), )
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityTable.setDescription('A table that contains information about the Service Access Priority Selection function for a provider Bridge. The use of this table enables a mechanism for a Customer Bridge attached to a Provider Bridged Network to request priority handling of frames. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021BridgeServiceAccessPriorityEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeServiceAccessPriorityComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeServiceAccessPriorityPortNum"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeServiceAccessPriorityReceived"))
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityEntry.setDescription('A list of objects containing information about the Service Access Priority Selection function for a provider Bridge.')
ieee8021BridgeServiceAccessPriorityComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021BridgeServiceAccessPriorityPortNum = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityPortNum.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021BridgeServiceAccessPriorityReceived = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 3), IEEE8021PriorityValue())
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityReceived.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityReceived.setDescription('The default received priority value in Table 6-4 (IEEE Std 802.1AC). (i.e., 0,1,2,3,4,5,6,7)')
ieee8021BridgeServiceAccessPriorityValue = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 4), IEEE8021PriorityValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityValue.setReference('12.6.2.17, 112.6.2.18')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityValue.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityValue.setDescription('The regenerated priority value in Table 6-4 (IEEE Std 802.1AC). (i.e., 0,1,2,3,4,5,6,7)')
ieee8021BridgePortMrpTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1), )
if mibBuilder.loadTexts: ieee8021BridgePortMrpTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpTable.setDescription('A table of MRP control information about every Bridge port. This is indexed by ieee8021BridgeBasePortComponentId and ieee8021BridgeBasePort.')
ieee8021BridgePortMrpEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1), )
ieee8021BridgeBasePortEntry.registerAugmentions(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMrpEntry"))
ieee8021BridgePortMrpEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: ieee8021BridgePortMrpEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpEntry.setDescription('MRP control information for a Bridge Port.')
ieee8021BridgePortMrpJoinTime = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 1), TimeInterval().clone(20)).setUnits('centi-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortMrpJoinTime.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpJoinTime.setDescription('The MRP Join time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortMrpLeaveTime = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 2), TimeInterval().clone(60)).setUnits('centi-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortMrpLeaveTime.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpLeaveTime.setDescription('The MRP Leave time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortMrpLeaveAllTime = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 3), TimeInterval().clone(1000)).setUnits('centi-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortMrpLeaveAllTime.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpLeaveAllTime.setDescription('The MRP LeaveAll time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortMmrpTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1), )
if mibBuilder.loadTexts: ieee8021BridgePortMmrpTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpTable.setDescription('A table of MMRP control and status information about every Bridge Port. Augments the ieee8021BridgeBasePortTable.')
ieee8021BridgePortMmrpEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1), )
ieee8021BridgeBasePortEntry.registerAugmentions(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMmrpEntry"))
ieee8021BridgePortMmrpEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: ieee8021BridgePortMmrpEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpEntry.setDescription('MMRP control and status information for a Bridge Port.')
ieee8021BridgePortMmrpEnabledStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 1), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortMmrpEnabledStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpEnabledStatus.setDescription('The administrative state of MMRP operation on this port. The value true(1) indicates that MMRP is enabled on this port in all VLANs as long as ieee8021BridgeMmrpEnabledStatus is also true(1). A value of false(2) indicates that MMRP is disabled on this port in all VLANs: any MMRP packets received will be silently discarded, and no MMRP registrations will be propagated from other ports. Setting this to a value of true(1) will be stored by the agent but will only take effect on the MMRP protocol operation if ieee8021BridgeMmrpEnabledStatus also indicates the value true(1). This object affects all MMRP Applicant and Registrar state machines on this port. A transition from false(2) to true(1) will cause a reset of all MMRP state machines on this port. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgePortMmrpFailedRegistrations = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 2), Counter64()).setUnits('failed MMRP registrations').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePortMmrpFailedRegistrations.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpFailedRegistrations.setDescription('The total number of failed MMRP registrations, for any reason, in all VLANs, on this port.')
ieee8021BridgePortMmrpLastPduOrigin = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgePortMmrpLastPduOrigin.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpLastPduOrigin.setDescription('The Source MAC Address of the last MMRP message received on this port.')
ieee8021BridgePortRestrictedGroupRegistration = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgePortRestrictedGroupRegistration.setReference('11.2.3.2.3, 12.11.1.3')
if mibBuilder.loadTexts: ieee8021BridgePortRestrictedGroupRegistration.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortRestrictedGroupRegistration.setDescription('The state of Restricted Group Registration on this port. If the value of this control is true(1), then creation of a new dynamic entry is permitted only if there is a Static Filtering Entry for the VLAN concerned, in which the Registrar Administrative Control value is Normal Registration. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021BridgeILanIfTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1), )
if mibBuilder.loadTexts: ieee8021BridgeILanIfTable.setReference('17.3.2.2')
if mibBuilder.loadTexts: ieee8021BridgeILanIfTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeILanIfTable.setDescription("This table is a sparse augmentation of ifTable and controls the creation of the I-LAN Interface. An I-LAN Interface is used to create internal connections between Bridge Ports in a 802.1 device. An I-LAN Interfaces can be directly associated with a set of Bridge Ports. An I-LAN Interfaces can also be used as a stacking interface to relate other interfaces before association to Bridge Ports. For example, an I-LAN interface can be created to link traffic between a PIP and a CBP. In this case a CBP is created on the B-Component and the CBP's related IfEntry is stacked upon the IfEntry of the I-LAN. The PIP is stacked upon the I-LAN using the IfStackTable. Finally, a VIP is created on the I-Component and is associated with the PIP, thus completing the path from the I-Component's MAC relay to the CBP on the B-Component. Entries in this table MUST be persistent over power up restart/reboot.")
ieee8021BridgeILanIfEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: ieee8021BridgeILanIfEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeILanIfEntry.setDescription('Each entry consists of a Row Status to control creation.')
ieee8021BridgeILanIfRowStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1, 1, 1), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeILanIfRowStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeILanIfRowStatus.setDescription('This object is used to create and delete entries in this table and the Interface table.')
ieee8021BridgeDot1dPortTable = MibTable((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1), )
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortTable.setReference('17.5.3')
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortTable.setDescription('This table provides the capability to dynamically create and delete MAC Bridge Ports. Each entry in this table MUST have a corresponding entry in the ieee8021BridgeBasePortTable. Entries in this table MUST be persistent over power up restart/reboot.')
ieee8021BridgeDot1dPortEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortComponentId"), (0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePort"))
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortEntry.setDescription('Each entry consists of a Row Status to control creation.')
ieee8021BridgeDot1dPortRowStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1, 1, 1), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortRowStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDot1dPortRowStatus.setDescription('This object is used to create and delete entries in this table and the ieee8021BridgeBasePortTable.')
ieee8021BridgeCompliances = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 2, 1))
ieee8021BridgeGroups = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 2, 2, 2))
ieee8021BridgeBaseBridgeGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 1)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseBridgeAddress"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseNumPorts"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseComponentType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeBaseBridgeGroup = ieee8021BridgeBaseBridgeGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseBridgeGroup.setDescription('Bridge level information for this device.')
ieee8021BridgeBasePortGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 2)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortIfIndex"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortDelayExceededDiscards"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortMtuExceededDiscards"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortType"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortExternal"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortAdminPointToPoint"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortOperPointToPoint"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeBasePortGroup = ieee8021BridgeBasePortGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBasePortGroup.setDescription('Information for each port on this device.')
ieee8021BridgeCapGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 3)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseDeviceCapabilities"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortCapabilities"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortTypeCapabilities"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeCapGroup = ieee8021BridgeCapGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeCapGroup.setDescription('A collection of objects indicating the optional capabilities of the device.')
ieee8021BridgeDeviceMmrpGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 4)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseMmrpEnabledStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeDeviceMmrpGroup = ieee8021BridgeDeviceMmrpGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDeviceMmrpGroup.setDescription('A collection of objects providing device-level control for the Multicast Filtering extended Bridge services.')
ieee8021BridgeTpPortGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 6)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortMaxInfo"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortInFrames"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortOutFrames"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortInDiscards"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeTpPortGroup = ieee8021BridgeTpPortGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeTpPortGroup.setDescription('Dynamic Filtering Database information for each port of the Bridge.')
ieee8021BridgeDevicePriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 7)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseTrafficClassesEnabled"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeDevicePriorityGroup = ieee8021BridgeDevicePriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDevicePriorityGroup.setDescription('A collection of objects providing device-level control for the Priority services.')
ieee8021BridgeDefaultPriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 8)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDefaultUserPriority"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortPriorityCodePointSelection"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortUseDEI"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortRequireDropEncoding"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortServiceAccessPrioritySelection"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeDefaultPriorityGroup = ieee8021BridgeDefaultPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDefaultPriorityGroup.setDescription('A collection of objects defining the priority applicable to each port for media that do not support native priority.')
ieee8021BridgeRegenPriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 9)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeRegenUserPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeRegenPriorityGroup = ieee8021BridgeRegenPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeRegenPriorityGroup.setDescription('A collection of objects defining the User Priorities applicable to each port for media that support native priority.')
ieee8021BridgePriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 10)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortNumTrafficClasses"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTrafficClass"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePriorityGroup = ieee8021BridgePriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePriorityGroup.setDescription('A collection of objects defining the traffic classes within a Bridge for each evaluated priority.')
ieee8021BridgeAccessPriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 11)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortOutboundAccessPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeAccessPriorityGroup = ieee8021BridgeAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeAccessPriorityGroup.setDescription('A collection of objects defining the media-dependent outbound access level for each priority.')
ieee8021BridgePortMrpGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 12)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMrpJoinTime"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMrpLeaveTime"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMrpLeaveAllTime"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePortMrpGroup = ieee8021BridgePortMrpGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortMrpGroup.setDescription('A collection of objects providing port level control and status information for MRP operation.')
ieee8021BridgePortMmrpGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 13)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMmrpEnabledStatus"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMmrpFailedRegistrations"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMmrpLastPduOrigin"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortRestrictedGroupRegistration"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePortMmrpGroup = ieee8021BridgePortMmrpGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgePortMmrpGroup.setDescription('A collection of objects providing port level control and status information for MMRP operation.')
ieee8021BridgePortDecodingGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 14)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingPriority"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingDropEligible"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePortDecodingGroup = ieee8021BridgePortDecodingGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortDecodingGroup.setDescription('A collection of objects providing statistics counters for decoding priority and drop eligibility for Bridge Ports.')
ieee8021BridgePortEncodingGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 15)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePortEncodingGroup = ieee8021BridgePortEncodingGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePortEncodingGroup.setDescription('A collection of objects providing statistics counters for encoding priority and drop eligibility for Bridge Ports.')
ieee8021BridgeServiceAccessPriorityGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 16)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeServiceAccessPriorityValue"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeServiceAccessPriorityGroup = ieee8021BridgeServiceAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeServiceAccessPriorityGroup.setDescription('A collection of objects providing statistics counters for service access priority.')
ieee8021BridgeInternalLANGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 17)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeILanIfRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeInternalLANGroup = ieee8021BridgeInternalLANGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeInternalLANGroup.setDescription('A collection of objects providing control of internal LAN configuration.')
ieee8021BridgeCreatableBaseBridgeGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 18)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeCreatableBaseBridgeGroup = ieee8021BridgeCreatableBaseBridgeGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeCreatableBaseBridgeGroup.setDescription('Controls the managment system directed creation of Bridge Components.')
ieee8021BridgeDot1dDynamicPortCreationGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 19)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDot1dPortRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeDot1dDynamicPortCreationGroup = ieee8021BridgeDot1dDynamicPortCreationGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeDot1dDynamicPortCreationGroup.setDescription('A collection of objects providing dynamic creation and deletion of MAC Bridge Ports.')
ieee8021BridgeBaseIfToPortGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 20)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseIfIndexComponentId"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseIfIndexPort"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeBaseIfToPortGroup = ieee8021BridgeBaseIfToPortGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeBaseIfToPortGroup.setDescription('A collection of objects providing a map between interface index and component ID and Bridge Ports.')
ieee8021BridgePhyPortGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 21)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPortIfIndex"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyMacAddress"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPortToComponentId"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPortToInternalPort"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePhyPortGroup = ieee8021BridgePhyPortGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgePhyPortGroup.setDescription('The collection of objects used to represent a ISS port management objects.')
ieee8021BridgeCompliance1 = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 3)).setObjects(("SNMPv2-MIB", "systemGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseBridgeGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeCreatableBaseBridgeGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeInternalLANGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDot1dDynamicPortCreationGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseIfToPortGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPortGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeCompliance1 = ieee8021BridgeCompliance1.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeCompliance1.setDescription('The compliance statement for devices supporting VLAN-unaware bridging services as defined in IEEE Std 802.1Q. Such devices support path cost values of 32-bits, and Bridge and port priority values are more restricted than in 802.1D-1995. Full support for the IEEE 802.1Q management objects requires implementation of the objects listed in the systemGroup from the SNMPv2-MIB [RFC3418], as well as the objects listed in the ifGeneralInformationGroup from the IF-MIB [RFC2863].')
ieee8021BridgeCompliance = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 1)).setObjects(("SNMPv2-MIB", "systemGroup"), ("IF-MIB", "ifGeneralInformationGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBaseBridgeGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeBasePortGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeCreatableBaseBridgeGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeTpPortGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeInternalLANGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDot1dDynamicPortCreationGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeCompliance = ieee8021BridgeCompliance.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeCompliance.setDescription('The compliance statement for devices supporting VLAN-unaware bridging services as defined in IEEE Std 802.1Q. Such devices support path cost values of 32-bits, and Bridge and port priority values are more restricted than in 802.1D-1995. Full support for the IEEE 802.1Q management objects requires implementation of the objects listed in the systemGroup from the SNMPv2-MIB [RFC3418], as well as the objects listed in the ifGeneralInformationGroup from the IF-MIB [RFC2863].')
ieee8021BridgePriorityAndMulticastFilteringCompliance = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 2)).setObjects(("IEEE8021-BRIDGE-MIB", "ieee8021BridgeCapGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDeviceMmrpGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDevicePriorityGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeDefaultPriorityGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeRegenPriorityGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePriorityGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeAccessPriorityGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMrpGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortMmrpGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortDecodingGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgePortEncodingGroup"), ("IEEE8021-BRIDGE-MIB", "ieee8021BridgeServiceAccessPriorityGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgePriorityAndMulticastFilteringCompliance = ieee8021BridgePriorityAndMulticastFilteringCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgePriorityAndMulticastFilteringCompliance.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
mibBuilder.exportSymbols("IEEE8021-BRIDGE-MIB", ieee8021BridgePortEncodingEntry=ieee8021BridgePortEncodingEntry, ieee8021BridgePortDecodingComponentId=ieee8021BridgePortDecodingComponentId, ieee8021BridgeTrafficClassEntry=ieee8021BridgeTrafficClassEntry, ieee8021BridgeCreatableBaseBridgeGroup=ieee8021BridgeCreatableBaseBridgeGroup, ieee8021BridgeBase=ieee8021BridgeBase, ieee8021BridgePortDefaultUserPriority=ieee8021BridgePortDefaultUserPriority, ieee8021BridgePortMmrpLastPduOrigin=ieee8021BridgePortMmrpLastPduOrigin, ieee8021BridgePhyMacAddress=ieee8021BridgePhyMacAddress, ieee8021BridgePortMmrpEnabledStatus=ieee8021BridgePortMmrpEnabledStatus, ieee8021BridgePortMmrpFailedRegistrations=ieee8021BridgePortMmrpFailedRegistrations, ieee8021BridgeMrp=ieee8021BridgeMrp, ieee8021BridgeMib=ieee8021BridgeMib, ieee8021BridgeBaseIfToPortEntry=ieee8021BridgeBaseIfToPortEntry, ieee8021BridgeTpPortOutFrames=ieee8021BridgeTpPortOutFrames, ieee8021BridgeServiceAccessPriorityPortNum=ieee8021BridgeServiceAccessPriorityPortNum, ieee8021BridgeTpPortMaxInfo=ieee8021BridgeTpPortMaxInfo, ieee8021BridgePortEncodingPriorityCodePointRow=ieee8021BridgePortEncodingPriorityCodePointRow, ieee8021BridgePortDecodingPriorityCodePointRow=ieee8021BridgePortDecodingPriorityCodePointRow, ieee8021BridgeServiceAccessPriorityComponentId=ieee8021BridgeServiceAccessPriorityComponentId, ieee8021BridgeBasePortTypeCapabilities=ieee8021BridgeBasePortTypeCapabilities, PYSNMP_MODULE_ID=ieee8021BridgeMib, ieee8021BridgeDot1dDynamicPortCreationGroup=ieee8021BridgeDot1dDynamicPortCreationGroup, ieee8021BridgeBasePortDelayExceededDiscards=ieee8021BridgeBasePortDelayExceededDiscards, ieee8021BridgeTpPortComponentId=ieee8021BridgeTpPortComponentId, ieee8021BridgePortEncodingDropEligible=ieee8021BridgePortEncodingDropEligible, ieee8021BridgePortMmrpEntry=ieee8021BridgePortMmrpEntry, ieee8021BridgeDot1dPortRowStatus=ieee8021BridgeDot1dPortRowStatus, ieee8021BridgeBasePortEntry=ieee8021BridgeBasePortEntry, ieee8021BridgePhyPortEntry=ieee8021BridgePhyPortEntry, ieee8021BridgeBasePortComponentId=ieee8021BridgeBasePortComponentId, ieee8021BridgeBaseComponentType=ieee8021BridgeBaseComponentType, ieee8021BridgeBaseEntry=ieee8021BridgeBaseEntry, ieee8021BridgePortRestrictedGroupRegistration=ieee8021BridgePortRestrictedGroupRegistration, ieee8021BridgePhyPort=ieee8021BridgePhyPort, ieee8021BridgePriority=ieee8021BridgePriority, ieee8021BridgePortNumTrafficClasses=ieee8021BridgePortNumTrafficClasses, ieee8021BridgePortUseDEI=ieee8021BridgePortUseDEI, ieee8021BridgeBaseIfIndexPort=ieee8021BridgeBaseIfIndexPort, ieee8021BridgePortEncodingPriority=ieee8021BridgePortEncodingPriority, ieee8021BridgePortDecodingPriority=ieee8021BridgePortDecodingPriority, ieee8021BridgeTrafficClassTable=ieee8021BridgeTrafficClassTable, ieee8021BridgeNotifications=ieee8021BridgeNotifications, ieee8021BridgePriorityGroup=ieee8021BridgePriorityGroup, ieee8021BridgeILanIfRowStatus=ieee8021BridgeILanIfRowStatus, ieee8021BridgeTpPortTable=ieee8021BridgeTpPortTable, ieee8021BridgePortMrpGroup=ieee8021BridgePortMrpGroup, ieee8021BridgeBaseComponentId=ieee8021BridgeBaseComponentId, ieee8021BridgeDefaultPriorityGroup=ieee8021BridgeDefaultPriorityGroup, ieee8021BridgePortEncodingGroup=ieee8021BridgePortEncodingGroup, ieee8021BridgeTrafficClass=ieee8021BridgeTrafficClass, ieee8021BridgeGroups=ieee8021BridgeGroups, ieee8021BridgeBasePortIfIndex=ieee8021BridgeBasePortIfIndex, ieee8021BridgeBaseMmrpEnabledStatus=ieee8021BridgeBaseMmrpEnabledStatus, ieee8021BridgePriorityAndMulticastFilteringCompliance=ieee8021BridgePriorityAndMulticastFilteringCompliance, ieee8021BridgeBaseBridgeAddress=ieee8021BridgeBaseBridgeAddress, ieee8021BridgeBaseIfToPortGroup=ieee8021BridgeBaseIfToPortGroup, ieee8021BridgePhyPortTable=ieee8021BridgePhyPortTable, ieee8021BridgePortOutboundAccessPriority=ieee8021BridgePortOutboundAccessPriority, ieee8021BridgePortEncodingPortNum=ieee8021BridgePortEncodingPortNum, ieee8021BridgeTpPortInDiscards=ieee8021BridgeTpPortInDiscards, ieee8021BridgeTpPortInFrames=ieee8021BridgeTpPortInFrames, ieee8021BridgeTp=ieee8021BridgeTp, ieee8021BridgeBaseIfToPortTable=ieee8021BridgeBaseIfToPortTable, ieee8021BridgePortPriorityCodePointSelection=ieee8021BridgePortPriorityCodePointSelection, ieee8021BridgePortRequireDropEncoding=ieee8021BridgePortRequireDropEncoding, ieee8021BridgeILanIfTable=ieee8021BridgeILanIfTable, ieee8021BridgePhyPortToInternalPort=ieee8021BridgePhyPortToInternalPort, ieee8021BridgePortServiceAccessPrioritySelection=ieee8021BridgePortServiceAccessPrioritySelection, ieee8021BridgeServiceAccessPriorityValue=ieee8021BridgeServiceAccessPriorityValue, ieee8021BridgeRegenPriorityGroup=ieee8021BridgeRegenPriorityGroup, ieee8021BridgeDot1dPortEntry=ieee8021BridgeDot1dPortEntry, ieee8021BridgeServiceAccessPriorityEntry=ieee8021BridgeServiceAccessPriorityEntry, ieee8021BridgeObjects=ieee8021BridgeObjects, ieee8021BridgeUserPriorityRegenTable=ieee8021BridgeUserPriorityRegenTable, ieee8021BridgeDevicePriorityGroup=ieee8021BridgeDevicePriorityGroup, ieee8021BridgeTpPortEntry=ieee8021BridgeTpPortEntry, ieee8021BridgePortMrpLeaveTime=ieee8021BridgePortMrpLeaveTime, ieee8021BridgePortDecodingDropEligible=ieee8021BridgePortDecodingDropEligible, ieee8021BridgeBasePortName=ieee8021BridgeBasePortName, ieee8021BridgePhyPortToComponentId=ieee8021BridgePhyPortToComponentId, ieee8021BridgePortDecodingPriorityCodePoint=ieee8021BridgePortDecodingPriorityCodePoint, ieee8021BridgePhyPortIfIndex=ieee8021BridgePhyPortIfIndex, ieee8021BridgePortDecodingTable=ieee8021BridgePortDecodingTable, ieee8021BridgePortMmrpTable=ieee8021BridgePortMmrpTable, ieee8021BridgeBasePortMtuExceededDiscards=ieee8021BridgeBasePortMtuExceededDiscards, ieee8021BridgeBasePortOperPointToPoint=ieee8021BridgeBasePortOperPointToPoint, ieee8021BridgePortEncodingTable=ieee8021BridgePortEncodingTable, ieee8021BridgeDeviceMmrpGroup=ieee8021BridgeDeviceMmrpGroup, ieee8021BridgePortMrpLeaveAllTime=ieee8021BridgePortMrpLeaveAllTime, ieee8021BridgePortPriorityTable=ieee8021BridgePortPriorityTable, ieee8021BridgeBaseDeviceCapabilities=ieee8021BridgeBaseDeviceCapabilities, ieee8021BridgePortOutboundAccessPriorityEntry=ieee8021BridgePortOutboundAccessPriorityEntry, ieee8021BridgePortDecodingGroup=ieee8021BridgePortDecodingGroup, ieee8021BridgeBasePortGroup=ieee8021BridgeBasePortGroup, ieee8021BridgeServiceAccessPriorityTable=ieee8021BridgeServiceAccessPriorityTable, ieee8021BridgePortDecodingEntry=ieee8021BridgePortDecodingEntry, ieee8021BridgeUserPriority=ieee8021BridgeUserPriority, ieee8021BridgeServiceAccessPriorityGroup=ieee8021BridgeServiceAccessPriorityGroup, ieee8021BridgeCompliance1=ieee8021BridgeCompliance1, ieee8021BridgeTpPortGroup=ieee8021BridgeTpPortGroup, ieee8021BridgeBasePortCapabilities=ieee8021BridgeBasePortCapabilities, ieee8021BridgePortMrpTable=ieee8021BridgePortMrpTable, ieee8021BridgePortOutboundAccessPriorityTable=ieee8021BridgePortOutboundAccessPriorityTable, ieee8021BridgeDot1d=ieee8021BridgeDot1d, ieee8021BridgeBaseTrafficClassesEnabled=ieee8021BridgeBaseTrafficClassesEnabled, ieee8021BridgeBaseNumPorts=ieee8021BridgeBaseNumPorts, ieee8021BridgeCompliance=ieee8021BridgeCompliance, ieee8021BridgeBasePortTable=ieee8021BridgeBasePortTable, ieee8021BridgeTpPort=ieee8021BridgeTpPort, ieee8021BridgePortMrpEntry=ieee8021BridgePortMrpEntry, ieee8021BridgeConformance=ieee8021BridgeConformance, ieee8021BridgePortEncodingPriorityCodePoint=ieee8021BridgePortEncodingPriorityCodePoint, ieee8021BridgeTrafficClassPriority=ieee8021BridgeTrafficClassPriority, ieee8021BridgeMmrp=ieee8021BridgeMmrp, ieee8021BridgeInternalLan=ieee8021BridgeInternalLan, ieee8021BridgeUserPriorityRegenEntry=ieee8021BridgeUserPriorityRegenEntry, ieee8021BridgeBaseBridgeGroup=ieee8021BridgeBaseBridgeGroup, ieee8021BridgeILanIfEntry=ieee8021BridgeILanIfEntry, ieee8021BridgeDot1dPortTable=ieee8021BridgeDot1dPortTable, ieee8021BridgeBaseRowStatus=ieee8021BridgeBaseRowStatus, ieee8021BridgeBaseIfIndexComponentId=ieee8021BridgeBaseIfIndexComponentId, ieee8021BridgePortEncodingComponentId=ieee8021BridgePortEncodingComponentId, ieee8021BridgeAccessPriorityGroup=ieee8021BridgeAccessPriorityGroup, ieee8021BridgePortPriorityEntry=ieee8021BridgePortPriorityEntry, ieee8021BridgePortMrpJoinTime=ieee8021BridgePortMrpJoinTime, ieee8021BridgePortMmrpGroup=ieee8021BridgePortMmrpGroup, ieee8021BridgeCapGroup=ieee8021BridgeCapGroup, ieee8021BridgeServiceAccessPriorityReceived=ieee8021BridgeServiceAccessPriorityReceived, ieee8021BridgeBasePort=ieee8021BridgeBasePort, ieee8021BridgeRegenUserPriority=ieee8021BridgeRegenUserPriority, ieee8021BridgeBaseTable=ieee8021BridgeBaseTable, ieee8021BridgeBasePortExternal=ieee8021BridgeBasePortExternal, ieee8021BridgeCompliances=ieee8021BridgeCompliances, ieee8021BridgeInternalLANGroup=ieee8021BridgeInternalLANGroup, ieee8021BridgePhyPortGroup=ieee8021BridgePhyPortGroup, ieee8021BridgeBasePortType=ieee8021BridgeBasePortType, ieee8021BridgeBasePortAdminPointToPoint=ieee8021BridgeBasePortAdminPointToPoint, ieee8021BridgePortDecodingPortNum=ieee8021BridgePortDecodingPortNum)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, value_range_constraint, single_value_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection')
(ieee8021_pbb_component_identifier_or_zero, ieee8021_priority_code_point, ieee8021_pbb_component_identifier, ieee802dot1mibs, ieee8021_priority_value, ieee8021_bridge_port_number_or_zero, ieee8021_bridge_port_number, ieee8021_bridge_port_type) = mibBuilder.importSymbols('IEEE8021-TC-MIB', 'IEEE8021PbbComponentIdentifierOrZero', 'IEEE8021PriorityCodePoint', 'IEEE8021PbbComponentIdentifier', 'ieee802dot1mibs', 'IEEE8021PriorityValue', 'IEEE8021BridgePortNumberOrZero', 'IEEE8021BridgePortNumber', 'IEEE8021BridgePortType')
(if_general_information_group, interface_index_or_zero, if_index) = mibBuilder.importSymbols('IF-MIB', 'ifGeneralInformationGroup', 'InterfaceIndexOrZero', 'ifIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(system_group,) = mibBuilder.importSymbols('SNMPv2-MIB', 'systemGroup')
(ip_address, object_identity, module_identity, bits, counter32, mib_identifier, counter64, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, integer32, notification_type, unsigned32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'ObjectIdentity', 'ModuleIdentity', 'Bits', 'Counter32', 'MibIdentifier', 'Counter64', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Integer32', 'NotificationType', 'Unsigned32', 'TimeTicks')
(display_string, time_interval, mac_address, textual_convention, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TimeInterval', 'MacAddress', 'TextualConvention', 'RowStatus', 'TruthValue')
ieee8021_bridge_mib = module_identity((1, 3, 111, 2, 802, 1, 1, 2))
ieee8021BridgeMib.setRevisions(('2014-12-15 00:00', '2012-08-10 00:00', '2012-02-15 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-10-15 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ieee8021BridgeMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected.', 'Added an enumeration for tComponent in ieee8021BridgeBaseComponentType as part of IEEE Std 802.1Q Cor-2.', 'Extended ieee8021BridgeBaseComponentType to include erComponent and ieee8021BridgeBasePortTypeCapabilities to include stationFacingBridgePort, uplinkAccessPort and uplinkRelayPort. Added tables ieee8021BridgeBaseIfToPortTable and ieee8021BridgePortTable as part of IEEE Std 802.1Qbg.', 'Modifications to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Initial revision, derived from RFC 4188.'))
if mibBuilder.loadTexts:
ieee8021BridgeMib.setLastUpdated('201412150000Z')
if mibBuilder.loadTexts:
ieee8021BridgeMib.setOrganization('IEEE 802.1 Working Group')
if mibBuilder.loadTexts:
ieee8021BridgeMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG')
if mibBuilder.loadTexts:
ieee8021BridgeMib.setDescription('The Bridge MIB module for managing devices that support IEEE Std 802.1Q. This MIB module is derived from the IETF BRIDGE-MIB, RFC 4188. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE802.1Q; see the draft itself for full legal notices.')
ieee8021_bridge_notifications = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 0))
ieee8021_bridge_objects = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1))
ieee8021_bridge_conformance = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 2))
ieee8021_bridge_base = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 1))
ieee8021_bridge_tp = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 2))
ieee8021_bridge_priority = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 3))
ieee8021_bridge_mrp = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 4))
ieee8021_bridge_mmrp = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 5))
ieee8021_bridge_internal_lan = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 6))
ieee8021_bridge_dot1d = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 1, 7))
ieee8021_bridge_base_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1))
if mibBuilder.loadTexts:
ieee8021BridgeBaseTable.setReference('12.4.1')
if mibBuilder.loadTexts:
ieee8021BridgeBaseTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseTable.setDescription('A table that contains generic information about every Bridge component. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021_bridge_base_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseComponentId'))
if mibBuilder.loadTexts:
ieee8021BridgeBaseEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseEntry.setDescription('A list of objects containing information for each Bridge component.')
ieee8021_bridge_base_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgeBaseComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_base_bridge_address = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 2), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseBridgeAddress.setReference('12.4.1.1.3 a)')
if mibBuilder.loadTexts:
ieee8021BridgeBaseBridgeAddress.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseBridgeAddress.setDescription('The MAC address used by this Bridge when it is referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this Bridge. However, it is only required to be unique. When concatenated with ieee8021SpanningTreePriority, a unique BridgeIdentifier is formed, which is used in the Spanning Tree Protocol. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_num_ports = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 3), integer32()).setUnits('ports').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBaseNumPorts.setReference('12.4.1.1.3 c)')
if mibBuilder.loadTexts:
ieee8021BridgeBaseNumPorts.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseNumPorts.setDescription('The number of ports controlled by this bridging entity.')
ieee8021_bridge_base_component_type = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('iComponent', 1), ('bComponent', 2), ('cVlanComponent', 3), ('sVlanComponent', 4), ('dBridgeComponent', 5), ('erComponent', 6), ('tComponent', 7)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseComponentType.setReference('12.3 m)')
if mibBuilder.loadTexts:
ieee8021BridgeBaseComponentType.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseComponentType.setDescription('Indicates the component type(s) of this Bridge. The following component types are possible: iComponent(1) - An S-VLAN component of a Backbone Edge Bridge which performs encapsulation of customer frames. bComponent(2) - An S-VLAN component of a Backbone Edge Bridge which bundles backbone service instances into B-VLANs. cVlanComponent(3) - A C-VLAN component of an enterprise VLAN Bridge or of a Provider Bridge used to process C-tagged frames. sVlanComponent(4) - An S-VLAN component of a Provider Bridge. dBridgeComponent(5) - A VLAN unaware component of an IEEE 802.1Q Bridge. erComponent (6) - An Edge Relay component of an EVB Station. tComponent (7) - A TPMR component in a Backbone Edge Bridge. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_device_capabilities = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 5), bits().clone(namedValues=named_values(('dot1dExtendedFilteringServices', 0), ('dot1dTrafficClasses', 1), ('dot1qStaticEntryIndividualPort', 2), ('dot1qIVLCapable', 3), ('dot1qSVLCapable', 4), ('dot1qHybridCapable', 5), ('dot1qConfigurablePvidTagging', 6), ('dot1dLocalVlanCapable', 7)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseDeviceCapabilities.setReference('12.10.1.1.3 b)')
if mibBuilder.loadTexts:
ieee8021BridgeBaseDeviceCapabilities.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseDeviceCapabilities.setDescription('Indicates the optional parts of 802.1Q that are implemented by this device and are manageable through this MIB. Capabilities that are allowed on a per-port basis are indicated in ieee8021BridgeBasePortCapabilities. dot1dExtendedFilteringServices(0), -- can perform filtering of -- individual multicast addresses -- controlled by MMRP. dot1dTrafficClasses(1), -- can map priority to -- multiple traffic classes. dot1qStaticEntryIndividualPort(2), -- dot1qStaticUnicastReceivePort & -- dot1qStaticMulticastReceivePort -- can represent non-zero entries. dot1qIVLCapable(3), -- Independent VLAN Learning (IVL). dot1qSVLCapable(4), -- Shared VLAN Learning (SVL). dot1qHybridCapable(5), -- both IVL & SVL simultaneously. dot1qConfigurablePvidTagging(6), -- whether the implementation -- supports the ability to -- override the default PVID -- setting and its egress status -- (VLAN-Tagged or Untagged) on -- each port. dot1dLocalVlanCapable(7) -- can support multiple local -- Bridges, outside of the scope -- of 802.1Q defined VLANs. This object may not be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_traffic_classes_enabled = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 6), truth_value().clone('true')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseTrafficClassesEnabled.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseTrafficClassesEnabled.setDescription('The value true(1) indicates that Traffic Classes are enabled on this Bridge. When false(2), the Bridge operates with a single priority level for all traffic. This object may be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_mmrp_enabled_status = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseMmrpEnabledStatus.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseMmrpEnabledStatus.setDescription('The administrative status requested by management for MMRP. The value true(1) indicates that MMRP should be enabled on this device, in all VLANs, on all ports for which it has not been specifically disabled. When false(2), MMRP is disabled, in all VLANs and on all ports, and all MMRP packets will be forwarded transparently. This object affects both Applicant and Registrar state machines. A transition from false(2) to true(1) will cause a reset of all MMRP state machines on all ports. This object may be modified while the corresponding instance of ieee8021BridgeBaseRowStatus is active(1). The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_row_status = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 1, 1, 8), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeBaseRowStatus.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseRowStatus.setDescription('The object indicates the status of an entry, and is used to create/delete entries. The following objects MUST be set prior to making a new entry active: ieee8021BridgeBaseBridgeAddress ieee8021BridgeBaseComponentType ieee8021BridgeBaseDeviceCapabilities It is recommended that these three objects not be allowed to be modified while the corresponding instance of ieee8021BridgeBaseRowStatus object is active(1). The following objects are not required to be set before making a new entry active (they will take their defaults), and they also may be modified while the corresponding instance of this object is active(1): ieee8021BridgeBaseTrafficClassesEnabled ieee8021BridgeBaseMmrpEnabledStatus The value of this object and all corresponding instances of other objects in this table MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_port_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4))
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTable.setReference('12.4.2')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTable.setDescription('A table that contains generic information about every port that is associated with this Bridge. Transparent, and source-route ports are included.')
ieee8021_bridge_base_port_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePort'))
if mibBuilder.loadTexts:
ieee8021BridgeBasePortEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortEntry.setDescription('A list of objects containing information for each port of the Bridge.')
ieee8021_bridge_base_port_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgeBasePortComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_base_port = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 2), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgeBasePort.setReference('12.4.2.1')
if mibBuilder.loadTexts:
ieee8021BridgeBasePort.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePort.setDescription('The port number of the port for which this entry contains Bridge management information.')
ieee8021_bridge_base_port_if_index = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 3), interface_index_or_zero()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortIfIndex.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. It is an implementation specific decision as to whether this object may be modified if it has been created or if 0 is a legal value. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system.')
ieee8021_bridge_base_port_delay_exceeded_discards = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 4), counter64()).setUnits('frames').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortDelayExceededDiscards.setReference('12.6.1.1.3 f)')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortDelayExceededDiscards.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortDelayExceededDiscards.setDescription('The number of frames discarded by this port due to excessive transit delay through the Bridge. It is incremented by both transparent and source route Bridges. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021_bridge_base_port_mtu_exceeded_discards = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 5), counter64()).setUnits('frames').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortMtuExceededDiscards.setReference('12.6.1.1.3 g)')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortMtuExceededDiscards.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortMtuExceededDiscards.setDescription('The number of frames discarded by this port due to an excessive size. It is incremented by both transparent and source route Bridges. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021_bridge_base_port_capabilities = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 6), bits().clone(namedValues=named_values(('dot1qDot1qTagging', 0), ('dot1qConfigurableAcceptableFrameTypes', 1), ('dot1qIngressFiltering', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortCapabilities.setReference('12.10.1.1.3 c)')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortCapabilities.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortCapabilities.setDescription('Indicates the parts of IEEE 802.1Q that are optional on a per-port basis, that are implemented by this device, and that are manageable through this MIB. dot1qDot1qTagging(0), -- supports 802.1Q VLAN tagging of -- frames and MVRP. dot1qConfigurableAcceptableFrameTypes(1), -- allows modified values of -- dot1qPortAcceptableFrameTypes. dot1qIngressFiltering(2) -- supports the discarding of any -- frame received on a Port whose -- VLAN classification does not -- include that Port in its Member -- set.')
ieee8021_bridge_base_port_type_capabilities = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 7), bits().clone(namedValues=named_values(('customerVlanPort', 0), ('providerNetworkPort', 1), ('customerNetworkPort', 2), ('customerEdgePort', 3), ('customerBackbonePort', 4), ('virtualInstancePort', 5), ('dBridgePort', 6), ('remoteCustomerAccessPort', 7), ('stationFacingBridgePort', 8), ('uplinkAccessPort', 9), ('uplinkRelayPort', 10)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTypeCapabilities.setReference('40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.2.1, 12.26')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTypeCapabilities.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortTypeCapabilities.setDescription("Indicates the capabilities of this port. The corresponding instance of ieee8021BridgeBasePortType can potentially take any of the values for which the corresponding bit in this object is 1. The possible port types are as follows: customerVlanPort(0) - Indicates the port can be a C-TAG aware port of an enterprise VLAN aware Bridge. providerNetworkPort(1) - Indicates the port can be an S-TAG aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(2) - Indicates the port can be an S-TAG aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(3) - Indicates the port can be a C-TAG aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(4) - Indicates the port can be a I-TAG aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(5) - Indicates the port can be a virtual S-TAG aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(6) - Indicates the port can be a VLAN-unaware member of an 802.1Q Bridge. remoteCustomerAccessPort(7) - Indicates the port can be an S-TAG aware port of a Provider Bridge capable of providing Remote Customer Service Interfaces. stationFacingBridgePort(8) - Indicates the station-facing Bridge Port in a EVB Bridge. uplinkAccessPort(9) - Indicates the uplink access port in an EVB Bridge or EVB station. uplinkRelayPort (10) - Indicates the uplink relay port in an EVB station.")
ieee8021_bridge_base_port_type = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 8), ieee8021_bridge_port_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortType.setReference('40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.2.1, 12.26')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortType.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortType.setDescription('The port type. This value MUST be persistent over power up restart/reboot.')
ieee8021_bridge_base_port_external = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 9), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortExternal.setReference('12.4.2.1')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortExternal.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortExternal.setDescription('A boolean indicating whether the port is external. A value of true(1) means the port is external. A value of false(2) means the port is internal.')
ieee8021_bridge_base_port_admin_point_to_point = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('forceTrue', 1), ('forceFalse', 2), ('auto', 3))).clone('forceFalse')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortAdminPointToPoint.setReference('IEEE Std 802.1AC, 6.10, 12.8.2.1.3 o), 12.8.2.3.2 f), 26.4.1')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortAdminPointToPoint.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortAdminPointToPoint.setDescription('For a port running spanning tree, this object represents the administrative point-to-point status of the LAN segment attached to this port, using the enumeration values of IEEE Std 802.1AC. A value of forceTrue(1) indicates that this port should always be treated as if it is connected to a point-to-point link. A value of forceFalse(2) indicates that this port should be treated as having a shared media connection. A value of auto(3) indicates that this port is considered to have a point-to-point link if it is an Aggregator and all of its members are aggregatable, or if the MAC entity is configured for full duplex operation, either through auto-negotiation or by management means. Manipulating this object changes the underlying adminPointToPointMAC. For a VIP, the adminPointToPointMAC parameter controls the mechanism by which the Default Backbone Destination parameter for the VIP is determined. For a backbone service instance that includes only 2 VIPs, the value may be set to forceTrue(1) which permits dynamic learning of the Default Backbone Destination parameter. For a backbone service instance that includes more than 2 VIPs, the value MUST be set to ForceFalse(2) or auto(3). When this object is set to forceTrue(1) for a VIP, the Default Backbone Destination parameter is modified by the subsequent M_UNITDATA.indications as specified in 6.10.1 (and described in 26.4.1). Whenever the parameter is set to forceFalse(2) or auto(3), the value for the Default Backbone Destination parameter is set to the Backbone Service Instance Group Address for the VIP-ISID. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_base_port_oper_point_to_point = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 11), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortOperPointToPoint.setReference('IEEE Std 802.1AC, 6.10, 12.8.2.1.3 p), 12.8.2.3.2 f), 26.4.1')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortOperPointToPoint.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortOperPointToPoint.setDescription('For a port running spanning tree, this object represents the operational point-to-point status of the LAN segment attached to this port. It indicates whether a port is considered to have a point-to-point connection. If adminPointToPointMAC is set to auto(2), then the value of operPointToPointMAC is determined in accordance with the specific procedures defined for the MAC entity concerned, as defined in IEEE Std 802.1AC. The value is determined dynamically; that is, it is re-evaluated whenever the value of adminPointToPointMAC changes, and whenever the specific procedures defined for the MAC entity evaluate a change in its point-to-point status. For a VIP, this object simply reflects the value of the corresponding instance of ieee8021BridgeBasePortAdminPointToPoint. The value will be true(1) if that object is forceTrue(1), and the value will be false(2) if the value of that object is either forceFalse(2) or auto(3).')
ieee8021_bridge_base_port_name = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 4, 1, 12), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortName.setReference('12.4.2.1')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortName.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortName.setDescription('A text string of up to 32 characters, of locally determined significance.')
ieee8021_bridge_base_if_to_port_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5))
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortTable.setReference('17.2.2')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortTable.setDescription('A table that contains generic information about every ifIndex that is associated with this Bridge.')
ieee8021_bridge_base_if_to_port_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortEntry.setDescription('A list of objects containing information for each ifIndex of the Bridge.')
ieee8021_bridge_base_if_index_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1, 1), ieee8021_pbb_component_identifier()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfIndexComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfIndexComponentId.setDescription('The component ID for this ifIndex.')
ieee8021_bridge_base_if_index_port = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 5, 1, 2), ieee8021_bridge_port_number()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfIndexPort.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfIndexPort.setDescription('The port for this ifIndex.')
ieee8021_bridge_phy_port_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6))
if mibBuilder.loadTexts:
ieee8021BridgePhyPortTable.setReference('12.5.1')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortTable.setDescription('A table that contains ISS port number to Bridge componentID and port number mapping.')
ieee8021_bridge_phy_port_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyPort'))
if mibBuilder.loadTexts:
ieee8021BridgePhyPortEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortEntry.setDescription('A list of objects containing mapping for ISS port numbers to Bridge componentID and port numbers ')
ieee8021_bridge_phy_port = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 1), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgePhyPort.setReference('12.26')
if mibBuilder.loadTexts:
ieee8021BridgePhyPort.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPort.setDescription('The ISS port.')
ieee8021_bridge_phy_port_if_index = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 2), interface_index_or_zero()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortIfIndex.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system.')
ieee8021_bridge_phy_mac_address = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePhyMacAddress.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyMacAddress.setDescription('The MAC address')
ieee8021_bridge_phy_port_to_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 4), ieee8021_pbb_component_identifier_or_zero()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortToComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortToComponentId.setDescription('The component ID that this ISS port belongs to.')
ieee8021_bridge_phy_port_to_internal_port = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 1, 6, 1, 5), ieee8021_bridge_port_number_or_zero()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortToInternalPort.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortToInternalPort.setDescription('The port number to which this ISS port maps to.')
ieee8021_bridge_tp_port_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1))
if mibBuilder.loadTexts:
ieee8021BridgeTpPortTable.setReference('12.4.2')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortTable.setDescription('A table that contains information about every port that is associated with this transparent Bridge.')
ieee8021_bridge_tp_port_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPort'))
if mibBuilder.loadTexts:
ieee8021BridgeTpPortEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortEntry.setDescription('A list of objects containing information for each port of a transparent Bridge.')
ieee8021_bridge_tp_port_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgeTpPortComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_tp_port = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 2), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgeTpPort.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPort.setDescription('The port number of the port for which this entry contains Transparent bridging management information.')
ieee8021_bridge_tp_port_max_info = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 3), integer32()).setUnits('bytes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortMaxInfo.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortMaxInfo.setDescription('The maximum size of the INFO (non-MAC) field that this port will receive or transmit.')
ieee8021_bridge_tp_port_in_frames = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 4), counter64()).setUnits('frames').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInFrames.setReference('12.6.1.1.3 a)')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInFrames.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including Bridge management frames. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021_bridge_tp_port_out_frames = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 5), counter64()).setUnits('frames').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortOutFrames.setReference('12.6.1.1.3 d)')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortOutFrames.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including Bridge management frames. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021_bridge_tp_port_in_discards = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 2, 1, 1, 6), counter64()).setUnits('frames').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInDiscards.setReference('12.6.1.1.3 c)')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInDiscards.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortInDiscards.setDescription('Count of received valid frames that were discarded (i.e., filtered) by the Forwarding Process. Discontinuities in the value of the counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime object of the associated interface (if any).')
ieee8021_bridge_port_priority_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1))
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityTable.setDescription('A table that contains information about every port that is associated with this transparent Bridge.')
ieee8021_bridge_port_priority_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1))
ieee8021BridgeBasePortEntry.registerAugmentions(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortPriorityEntry'))
ieee8021BridgePortPriorityEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityEntry.setDescription('A list of Default User Priorities for each port of a transparent Bridge. This is indexed by ieee8021BridgeBasePortComponentId and ieee8021BridgeBasePort.')
ieee8021_bridge_port_default_user_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 1), ieee8021_priority_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortDefaultUserPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDefaultUserPriority.setDescription('The default ingress priority for this port. This only has effect on media, such as Ethernet, that do not support native priority. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_num_traffic_classes = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortNumTrafficClasses.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortNumTrafficClasses.setDescription('The number of egress traffic classes supported on this port. This object may optionally be read-only. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_priority_code_point_selection = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 3), ieee8021_priority_code_point()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityCodePointSelection.setReference('12.6.2.6, 12.6.2.7')
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityCodePointSelection.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortPriorityCodePointSelection.setDescription(' This object identifies the rows in the PCP encoding and decoding tables that are used to remark frames on this port if this remarking is enabled.')
ieee8021_bridge_port_use_dei = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 4), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortUseDEI.setReference('12.6.2.11, 12.6.2.12')
if mibBuilder.loadTexts:
ieee8021BridgePortUseDEI.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortUseDEI.setDescription('If the Use_DEI is set to true(1) for the Port then the drop_eligible parameter is encoded in the DEI of transmitted frames, and the drop_eligible parameter shall be true(1) for a received frame if the DEI is set in the VLAN tag or the Priority Code Point Decoding Table indicates drop_eligible True for the received PCP value. If the Use_DEI parameter is false(2), the DEI shall be transmitted as zero and ignored on receipt. The default value of the Use_DEI parameter is false(2).')
ieee8021_bridge_port_require_drop_encoding = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortRequireDropEncoding.setReference('12.6.2.13, 12.6.2.14')
if mibBuilder.loadTexts:
ieee8021BridgePortRequireDropEncoding.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortRequireDropEncoding.setDescription('If a Bridge supports encoding or decoding of drop_eligible from the PCP field of a VLAN tag (6.7.3) on any of its Ports, then it shall implement a Boolean parameter Require Drop Encoding on each of its Ports with default value false(2). If Require Drop Encoding is True and the Bridge Port cannot encode particular priorities with drop_eligible, then frames queued with those priorities and drop_eligible true(1) shall be discarded and not transmitted.')
ieee8021_bridge_port_service_access_priority_selection = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 1, 1, 6), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortServiceAccessPrioritySelection.setReference('12.6.2.15, 12.6.2.16')
if mibBuilder.loadTexts:
ieee8021BridgePortServiceAccessPrioritySelection.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortServiceAccessPrioritySelection.setDescription('Indication of whether the Service Access Priority Selection function is supported on the Customer Bridge Port to request priority handling of the frame from a Port-based service interface.')
ieee8021_bridge_user_priority_regen_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2))
if mibBuilder.loadTexts:
ieee8021BridgeUserPriorityRegenTable.setReference('6.5.9, 6.9.4')
if mibBuilder.loadTexts:
ieee8021BridgeUserPriorityRegenTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeUserPriorityRegenTable.setDescription('A list of Regenerated User Priorities for each received priority on each port of a Bridge. The regenerated priority value may be used to index the Traffic Class Table for each input port. This only has effect on media that support native priority. The default values for Regenerated User Priorities are the same as the User Priorities.')
ieee8021_bridge_user_priority_regen_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePort'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeUserPriority'))
if mibBuilder.loadTexts:
ieee8021BridgeUserPriorityRegenEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeUserPriorityRegenEntry.setDescription('A mapping of incoming priority to a regenerated priority.')
ieee8021_bridge_user_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1, 1), ieee8021_priority_value())
if mibBuilder.loadTexts:
ieee8021BridgeUserPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeUserPriority.setDescription('The priority for a frame received on this port.')
ieee8021_bridge_regen_user_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 2, 1, 2), ieee8021_priority_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgeRegenUserPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeRegenUserPriority.setDescription('The regenerated priority that the incoming User Priority is mapped to for this port. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_traffic_class_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3))
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassTable.setReference('8.6.6, Table 8-4')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassTable.setDescription('A table mapping evaluated priority to Traffic Class, for forwarding by the Bridge. Traffic class is a number in the range (0..(ieee8021BridgePortNumTrafficClasses-1)).')
ieee8021_bridge_traffic_class_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePort'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTrafficClassPriority'))
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassEntry.setDescription('Priority to Traffic Class mapping.')
ieee8021_bridge_traffic_class_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1, 1), ieee8021_priority_value())
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClassPriority.setDescription('The Priority value determined for the received frame. This value is equivalent to the priority indicated in the tagged frame received, or one of the evaluated priorities, determined according to the media-type. For untagged frames received from Ethernet media, this value is equal to the ieee8021BridgePortDefaultUserPriority value for the ingress port. For untagged frames received from non-Ethernet media, this value is equal to the ieee8021BridgeRegenUserPriority value for the ingress port and media-specific priority.')
ieee8021_bridge_traffic_class = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClass.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTrafficClass.setDescription('The Traffic Class the received frame is mapped to. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_outbound_access_priority_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4))
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriorityTable.setReference('IEEE Std 802.1AC')
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriorityTable.setDescription('A table mapping regenerated priority to Outbound Access Priority. This is a fixed mapping for all port types, with three options for IEEE 802.17 RPR.')
ieee8021_bridge_port_outbound_access_priority_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePort'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeRegenUserPriority'))
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriorityEntry.setDescription('Regenerated priority to Outbound Access Priority mapping.')
ieee8021_bridge_port_outbound_access_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 4, 1, 1), ieee8021_priority_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortOutboundAccessPriority.setDescription('The Outbound Access Priority the received frame is mapped to.')
ieee8021_bridge_port_decoding_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5))
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingTable.setDescription('A table that contains information about Priority Code Point Decoding Table for a Port of a provider Bridge. Alternative values for each table are specified as rows in Table 6-3 (6.9.3), with each alternative labeled by the number of distinct priorities that can be communicated, and the number of these for which drop precedence can be communicated. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021_bridge_port_decoding_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingPortNum'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingPriorityCodePointRow'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingPriorityCodePoint'))
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingEntry.setDescription('A list of objects containing Priority Code Point Decoding information for a port of a provider Bridge.')
ieee8021_bridge_port_decoding_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_port_decoding_port_num = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 2), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPortNum.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021_bridge_port_decoding_priority_code_point_row = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 3), ieee8021_priority_code_point())
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriorityCodePointRow.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriorityCodePointRow.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP.')
ieee8021_bridge_port_decoding_priority_code_point = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)))
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriorityCodePoint.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriorityCodePoint.setDescription('The specific PCP value in Table 6-2 (6.9.3).')
ieee8021_bridge_port_decoding_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 5), ieee8021_priority_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriority.setReference('6.9.3, 12.6.2.8, 12.6.2.9')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingPriority.setDescription('The specific priority value in Table 6-2 (6.9.3).')
ieee8021_bridge_port_decoding_drop_eligible = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 5, 1, 6), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingDropEligible.setReference('6.9.3, 12.6.2.8, 12.6.2.9')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingDropEligible.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingDropEligible.setDescription('The drop eligibility value in Table 6-3 (6.7.3).')
ieee8021_bridge_port_encoding_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6))
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingTable.setDescription('A table that contains information about Priority Code Point Decoding Table for a Port of a provider Bridge. Alternative values for each table are specified as rows in Table 6-2 (6.9.3), with each alternative labeled by the number of distinct priorities that can be communicated, and the number of these for which drop precedence can be communicated. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021_bridge_port_encoding_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingPortNum'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingPriorityCodePointRow'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingPriorityCodePoint'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingDropEligible'))
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingEntry.setDescription('A list of objects containing Priority Code Point Encoding information for a port of a provider Bridge.')
ieee8021_bridge_port_encoding_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_port_encoding_port_num = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 2), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPortNum.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021_bridge_port_encoding_priority_code_point_row = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 3), ieee8021_priority_code_point())
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriorityCodePointRow.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriorityCodePointRow.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP row. (i.e. 8P0D, 7P1D, 6P2D, 5P3D)')
ieee8021_bridge_port_encoding_priority_code_point = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)))
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriorityCodePoint.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriorityCodePoint.setDescription('The specific row in Table 6-2 (6.9.3) indicating the PCP. (i.e., 0,1,2,3,4,5,6,7).')
ieee8021_bridge_port_encoding_drop_eligible = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 5), truth_value())
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingDropEligible.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingDropEligible.setDescription('The specific row in Table 6-2 (6.9.3) indicating the drop eligibility. A value of true(1) means eligible for drop.')
ieee8021_bridge_port_encoding_priority = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 6, 1, 6), ieee8021_priority_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriority.setReference('6.9.3, 12.6.2.9, 12.6.2.10')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriority.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingPriority.setDescription('The encoding priority in Table 6-2 (6.9.3).')
ieee8021_bridge_service_access_priority_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7))
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityTable.setDescription('A table that contains information about the Service Access Priority Selection function for a provider Bridge. The use of this table enables a mechanism for a Customer Bridge attached to a Provider Bridged Network to request priority handling of frames. All writable objects in this table MUST be persistent over power up restart/reboot.')
ieee8021_bridge_service_access_priority_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeServiceAccessPriorityComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeServiceAccessPriorityPortNum'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeServiceAccessPriorityReceived'))
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityEntry.setDescription('A list of objects containing information about the Service Access Priority Selection function for a provider Bridge.')
ieee8021_bridge_service_access_priority_component_id = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 1), ieee8021_pbb_component_identifier())
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityComponentId.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityComponentId.setDescription('The component identifier is used to distinguish between the multiple virtual Bridge instances within a PBB. In simple situations where there is only a single component the default value is 1.')
ieee8021_bridge_service_access_priority_port_num = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 2), ieee8021_bridge_port_number())
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityPortNum.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityPortNum.setDescription('A unique identifier of a port controlled by this VLAN bridging entity.')
ieee8021_bridge_service_access_priority_received = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 3), ieee8021_priority_value())
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityReceived.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityReceived.setDescription('The default received priority value in Table 6-4 (IEEE Std 802.1AC). (i.e., 0,1,2,3,4,5,6,7)')
ieee8021_bridge_service_access_priority_value = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 3, 7, 1, 4), ieee8021_priority_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityValue.setReference('12.6.2.17, 112.6.2.18')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityValue.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityValue.setDescription('The regenerated priority value in Table 6-4 (IEEE Std 802.1AC). (i.e., 0,1,2,3,4,5,6,7)')
ieee8021_bridge_port_mrp_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1))
if mibBuilder.loadTexts:
ieee8021BridgePortMrpTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpTable.setDescription('A table of MRP control information about every Bridge port. This is indexed by ieee8021BridgeBasePortComponentId and ieee8021BridgeBasePort.')
ieee8021_bridge_port_mrp_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1))
ieee8021BridgeBasePortEntry.registerAugmentions(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMrpEntry'))
ieee8021BridgePortMrpEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
ieee8021BridgePortMrpEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpEntry.setDescription('MRP control information for a Bridge Port.')
ieee8021_bridge_port_mrp_join_time = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 1), time_interval().clone(20)).setUnits('centi-seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpJoinTime.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpJoinTime.setDescription('The MRP Join time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_mrp_leave_time = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 2), time_interval().clone(60)).setUnits('centi-seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpLeaveTime.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpLeaveTime.setDescription('The MRP Leave time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_mrp_leave_all_time = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 4, 1, 1, 3), time_interval().clone(1000)).setUnits('centi-seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpLeaveAllTime.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpLeaveAllTime.setDescription('The MRP LeaveAll time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_mmrp_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1))
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpTable.setDescription('A table of MMRP control and status information about every Bridge Port. Augments the ieee8021BridgeBasePortTable.')
ieee8021_bridge_port_mmrp_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1))
ieee8021BridgeBasePortEntry.registerAugmentions(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMmrpEntry'))
ieee8021BridgePortMmrpEntry.setIndexNames(*ieee8021BridgeBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpEntry.setDescription('MMRP control and status information for a Bridge Port.')
ieee8021_bridge_port_mmrp_enabled_status = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 1), truth_value().clone('true')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpEnabledStatus.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpEnabledStatus.setDescription('The administrative state of MMRP operation on this port. The value true(1) indicates that MMRP is enabled on this port in all VLANs as long as ieee8021BridgeMmrpEnabledStatus is also true(1). A value of false(2) indicates that MMRP is disabled on this port in all VLANs: any MMRP packets received will be silently discarded, and no MMRP registrations will be propagated from other ports. Setting this to a value of true(1) will be stored by the agent but will only take effect on the MMRP protocol operation if ieee8021BridgeMmrpEnabledStatus also indicates the value true(1). This object affects all MMRP Applicant and Registrar state machines on this port. A transition from false(2) to true(1) will cause a reset of all MMRP state machines on this port. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_port_mmrp_failed_registrations = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 2), counter64()).setUnits('failed MMRP registrations').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpFailedRegistrations.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpFailedRegistrations.setDescription('The total number of failed MMRP registrations, for any reason, in all VLANs, on this port.')
ieee8021_bridge_port_mmrp_last_pdu_origin = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpLastPduOrigin.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpLastPduOrigin.setDescription('The Source MAC Address of the last MMRP message received on this port.')
ieee8021_bridge_port_restricted_group_registration = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 5, 1, 1, 4), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
ieee8021BridgePortRestrictedGroupRegistration.setReference('11.2.3.2.3, 12.11.1.3')
if mibBuilder.loadTexts:
ieee8021BridgePortRestrictedGroupRegistration.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortRestrictedGroupRegistration.setDescription('The state of Restricted Group Registration on this port. If the value of this control is true(1), then creation of a new dynamic entry is permitted only if there is a Static Filtering Entry for the VLAN concerned, in which the Registrar Administrative Control value is Normal Registration. The value of this object MUST be retained across reinitializations of the management system.')
ieee8021_bridge_i_lan_if_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1))
if mibBuilder.loadTexts:
ieee8021BridgeILanIfTable.setReference('17.3.2.2')
if mibBuilder.loadTexts:
ieee8021BridgeILanIfTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeILanIfTable.setDescription("This table is a sparse augmentation of ifTable and controls the creation of the I-LAN Interface. An I-LAN Interface is used to create internal connections between Bridge Ports in a 802.1 device. An I-LAN Interfaces can be directly associated with a set of Bridge Ports. An I-LAN Interfaces can also be used as a stacking interface to relate other interfaces before association to Bridge Ports. For example, an I-LAN interface can be created to link traffic between a PIP and a CBP. In this case a CBP is created on the B-Component and the CBP's related IfEntry is stacked upon the IfEntry of the I-LAN. The PIP is stacked upon the I-LAN using the IfStackTable. Finally, a VIP is created on the I-Component and is associated with the PIP, thus completing the path from the I-Component's MAC relay to the CBP on the B-Component. Entries in this table MUST be persistent over power up restart/reboot.")
ieee8021_bridge_i_lan_if_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
ieee8021BridgeILanIfEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeILanIfEntry.setDescription('Each entry consists of a Row Status to control creation.')
ieee8021_bridge_i_lan_if_row_status = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 6, 1, 1, 1), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeILanIfRowStatus.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeILanIfRowStatus.setDescription('This object is used to create and delete entries in this table and the Interface table.')
ieee8021_bridge_dot1d_port_table = mib_table((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1))
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortTable.setReference('17.5.3')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortTable.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortTable.setDescription('This table provides the capability to dynamically create and delete MAC Bridge Ports. Each entry in this table MUST have a corresponding entry in the ieee8021BridgeBasePortTable. Entries in this table MUST be persistent over power up restart/reboot.')
ieee8021_bridge_dot1d_port_entry = mib_table_row((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1, 1)).setIndexNames((0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortComponentId'), (0, 'IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePort'))
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortEntry.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortEntry.setDescription('Each entry consists of a Row Status to control creation.')
ieee8021_bridge_dot1d_port_row_status = mib_table_column((1, 3, 111, 2, 802, 1, 1, 2, 1, 7, 1, 1, 1), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortRowStatus.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dPortRowStatus.setDescription('This object is used to create and delete entries in this table and the ieee8021BridgeBasePortTable.')
ieee8021_bridge_compliances = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 2, 1))
ieee8021_bridge_groups = mib_identifier((1, 3, 111, 2, 802, 1, 1, 2, 2, 2))
ieee8021_bridge_base_bridge_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 1)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseBridgeAddress'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseNumPorts'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseComponentType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_base_bridge_group = ieee8021BridgeBaseBridgeGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseBridgeGroup.setDescription('Bridge level information for this device.')
ieee8021_bridge_base_port_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 2)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortIfIndex'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortDelayExceededDiscards'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortMtuExceededDiscards'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortType'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortExternal'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortAdminPointToPoint'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortOperPointToPoint'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_base_port_group = ieee8021BridgeBasePortGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBasePortGroup.setDescription('Information for each port on this device.')
ieee8021_bridge_cap_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 3)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseDeviceCapabilities'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortCapabilities'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortTypeCapabilities'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_cap_group = ieee8021BridgeCapGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeCapGroup.setDescription('A collection of objects indicating the optional capabilities of the device.')
ieee8021_bridge_device_mmrp_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 4)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseMmrpEnabledStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_device_mmrp_group = ieee8021BridgeDeviceMmrpGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDeviceMmrpGroup.setDescription('A collection of objects providing device-level control for the Multicast Filtering extended Bridge services.')
ieee8021_bridge_tp_port_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 6)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortMaxInfo'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortInFrames'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortOutFrames'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortInDiscards'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_tp_port_group = ieee8021BridgeTpPortGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeTpPortGroup.setDescription('Dynamic Filtering Database information for each port of the Bridge.')
ieee8021_bridge_device_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 7)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseTrafficClassesEnabled'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_device_priority_group = ieee8021BridgeDevicePriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDevicePriorityGroup.setDescription('A collection of objects providing device-level control for the Priority services.')
ieee8021_bridge_default_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 8)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDefaultUserPriority'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortPriorityCodePointSelection'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortUseDEI'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortRequireDropEncoding'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortServiceAccessPrioritySelection'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_default_priority_group = ieee8021BridgeDefaultPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDefaultPriorityGroup.setDescription('A collection of objects defining the priority applicable to each port for media that do not support native priority.')
ieee8021_bridge_regen_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 9)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeRegenUserPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_regen_priority_group = ieee8021BridgeRegenPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeRegenPriorityGroup.setDescription('A collection of objects defining the User Priorities applicable to each port for media that support native priority.')
ieee8021_bridge_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 10)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortNumTrafficClasses'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTrafficClass'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_priority_group = ieee8021BridgePriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePriorityGroup.setDescription('A collection of objects defining the traffic classes within a Bridge for each evaluated priority.')
ieee8021_bridge_access_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 11)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortOutboundAccessPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_access_priority_group = ieee8021BridgeAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeAccessPriorityGroup.setDescription('A collection of objects defining the media-dependent outbound access level for each priority.')
ieee8021_bridge_port_mrp_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 12)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMrpJoinTime'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMrpLeaveTime'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMrpLeaveAllTime'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_port_mrp_group = ieee8021BridgePortMrpGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortMrpGroup.setDescription('A collection of objects providing port level control and status information for MRP operation.')
ieee8021_bridge_port_mmrp_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 13)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMmrpEnabledStatus'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMmrpFailedRegistrations'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMmrpLastPduOrigin'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortRestrictedGroupRegistration'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_port_mmrp_group = ieee8021BridgePortMmrpGroup.setStatus('deprecated')
if mibBuilder.loadTexts:
ieee8021BridgePortMmrpGroup.setDescription('A collection of objects providing port level control and status information for MMRP operation.')
ieee8021_bridge_port_decoding_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 14)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingPriority'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingDropEligible'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_port_decoding_group = ieee8021BridgePortDecodingGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortDecodingGroup.setDescription('A collection of objects providing statistics counters for decoding priority and drop eligibility for Bridge Ports.')
ieee8021_bridge_port_encoding_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 15)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_port_encoding_group = ieee8021BridgePortEncodingGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePortEncodingGroup.setDescription('A collection of objects providing statistics counters for encoding priority and drop eligibility for Bridge Ports.')
ieee8021_bridge_service_access_priority_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 16)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeServiceAccessPriorityValue'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_service_access_priority_group = ieee8021BridgeServiceAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeServiceAccessPriorityGroup.setDescription('A collection of objects providing statistics counters for service access priority.')
ieee8021_bridge_internal_lan_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 17)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeILanIfRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_internal_lan_group = ieee8021BridgeInternalLANGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeInternalLANGroup.setDescription('A collection of objects providing control of internal LAN configuration.')
ieee8021_bridge_creatable_base_bridge_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 18)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_creatable_base_bridge_group = ieee8021BridgeCreatableBaseBridgeGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeCreatableBaseBridgeGroup.setDescription('Controls the managment system directed creation of Bridge Components.')
ieee8021_bridge_dot1d_dynamic_port_creation_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 19)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDot1dPortRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_dot1d_dynamic_port_creation_group = ieee8021BridgeDot1dDynamicPortCreationGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeDot1dDynamicPortCreationGroup.setDescription('A collection of objects providing dynamic creation and deletion of MAC Bridge Ports.')
ieee8021_bridge_base_if_to_port_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 20)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseIfIndexComponentId'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseIfIndexPort'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_base_if_to_port_group = ieee8021BridgeBaseIfToPortGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeBaseIfToPortGroup.setDescription('A collection of objects providing a map between interface index and component ID and Bridge Ports.')
ieee8021_bridge_phy_port_group = object_group((1, 3, 111, 2, 802, 1, 1, 2, 2, 2, 21)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyPortIfIndex'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyMacAddress'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyPortToComponentId'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyPortToInternalPort'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_phy_port_group = ieee8021BridgePhyPortGroup.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgePhyPortGroup.setDescription('The collection of objects used to represent a ISS port management objects.')
ieee8021_bridge_compliance1 = module_compliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 3)).setObjects(('SNMPv2-MIB', 'systemGroup'), ('IF-MIB', 'ifGeneralInformationGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseBridgeGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeCreatableBaseBridgeGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeInternalLANGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDot1dDynamicPortCreationGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseIfToPortGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePhyPortGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_compliance1 = ieee8021BridgeCompliance1.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeCompliance1.setDescription('The compliance statement for devices supporting VLAN-unaware bridging services as defined in IEEE Std 802.1Q. Such devices support path cost values of 32-bits, and Bridge and port priority values are more restricted than in 802.1D-1995. Full support for the IEEE 802.1Q management objects requires implementation of the objects listed in the systemGroup from the SNMPv2-MIB [RFC3418], as well as the objects listed in the ifGeneralInformationGroup from the IF-MIB [RFC2863].')
ieee8021_bridge_compliance = module_compliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 1)).setObjects(('SNMPv2-MIB', 'systemGroup'), ('IF-MIB', 'ifGeneralInformationGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBaseBridgeGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeBasePortGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeCreatableBaseBridgeGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeTpPortGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeInternalLANGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDot1dDynamicPortCreationGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_compliance = ieee8021BridgeCompliance.setStatus('current')
if mibBuilder.loadTexts:
ieee8021BridgeCompliance.setDescription('The compliance statement for devices supporting VLAN-unaware bridging services as defined in IEEE Std 802.1Q. Such devices support path cost values of 32-bits, and Bridge and port priority values are more restricted than in 802.1D-1995. Full support for the IEEE 802.1Q management objects requires implementation of the objects listed in the systemGroup from the SNMPv2-MIB [RFC3418], as well as the objects listed in the ifGeneralInformationGroup from the IF-MIB [RFC2863].')
ieee8021_bridge_priority_and_multicast_filtering_compliance = module_compliance((1, 3, 111, 2, 802, 1, 1, 2, 2, 1, 2)).setObjects(('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeCapGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDeviceMmrpGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDevicePriorityGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeDefaultPriorityGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeRegenPriorityGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePriorityGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeAccessPriorityGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMrpGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortMmrpGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortDecodingGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgePortEncodingGroup'), ('IEEE8021-BRIDGE-MIB', 'ieee8021BridgeServiceAccessPriorityGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021_bridge_priority_and_multicast_filtering_compliance = ieee8021BridgePriorityAndMulticastFilteringCompliance.setStatus('deprecated')
if mibBuilder.loadTexts:
ieee8021BridgePriorityAndMulticastFilteringCompliance.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
mibBuilder.exportSymbols('IEEE8021-BRIDGE-MIB', ieee8021BridgePortEncodingEntry=ieee8021BridgePortEncodingEntry, ieee8021BridgePortDecodingComponentId=ieee8021BridgePortDecodingComponentId, ieee8021BridgeTrafficClassEntry=ieee8021BridgeTrafficClassEntry, ieee8021BridgeCreatableBaseBridgeGroup=ieee8021BridgeCreatableBaseBridgeGroup, ieee8021BridgeBase=ieee8021BridgeBase, ieee8021BridgePortDefaultUserPriority=ieee8021BridgePortDefaultUserPriority, ieee8021BridgePortMmrpLastPduOrigin=ieee8021BridgePortMmrpLastPduOrigin, ieee8021BridgePhyMacAddress=ieee8021BridgePhyMacAddress, ieee8021BridgePortMmrpEnabledStatus=ieee8021BridgePortMmrpEnabledStatus, ieee8021BridgePortMmrpFailedRegistrations=ieee8021BridgePortMmrpFailedRegistrations, ieee8021BridgeMrp=ieee8021BridgeMrp, ieee8021BridgeMib=ieee8021BridgeMib, ieee8021BridgeBaseIfToPortEntry=ieee8021BridgeBaseIfToPortEntry, ieee8021BridgeTpPortOutFrames=ieee8021BridgeTpPortOutFrames, ieee8021BridgeServiceAccessPriorityPortNum=ieee8021BridgeServiceAccessPriorityPortNum, ieee8021BridgeTpPortMaxInfo=ieee8021BridgeTpPortMaxInfo, ieee8021BridgePortEncodingPriorityCodePointRow=ieee8021BridgePortEncodingPriorityCodePointRow, ieee8021BridgePortDecodingPriorityCodePointRow=ieee8021BridgePortDecodingPriorityCodePointRow, ieee8021BridgeServiceAccessPriorityComponentId=ieee8021BridgeServiceAccessPriorityComponentId, ieee8021BridgeBasePortTypeCapabilities=ieee8021BridgeBasePortTypeCapabilities, PYSNMP_MODULE_ID=ieee8021BridgeMib, ieee8021BridgeDot1dDynamicPortCreationGroup=ieee8021BridgeDot1dDynamicPortCreationGroup, ieee8021BridgeBasePortDelayExceededDiscards=ieee8021BridgeBasePortDelayExceededDiscards, ieee8021BridgeTpPortComponentId=ieee8021BridgeTpPortComponentId, ieee8021BridgePortEncodingDropEligible=ieee8021BridgePortEncodingDropEligible, ieee8021BridgePortMmrpEntry=ieee8021BridgePortMmrpEntry, ieee8021BridgeDot1dPortRowStatus=ieee8021BridgeDot1dPortRowStatus, ieee8021BridgeBasePortEntry=ieee8021BridgeBasePortEntry, ieee8021BridgePhyPortEntry=ieee8021BridgePhyPortEntry, ieee8021BridgeBasePortComponentId=ieee8021BridgeBasePortComponentId, ieee8021BridgeBaseComponentType=ieee8021BridgeBaseComponentType, ieee8021BridgeBaseEntry=ieee8021BridgeBaseEntry, ieee8021BridgePortRestrictedGroupRegistration=ieee8021BridgePortRestrictedGroupRegistration, ieee8021BridgePhyPort=ieee8021BridgePhyPort, ieee8021BridgePriority=ieee8021BridgePriority, ieee8021BridgePortNumTrafficClasses=ieee8021BridgePortNumTrafficClasses, ieee8021BridgePortUseDEI=ieee8021BridgePortUseDEI, ieee8021BridgeBaseIfIndexPort=ieee8021BridgeBaseIfIndexPort, ieee8021BridgePortEncodingPriority=ieee8021BridgePortEncodingPriority, ieee8021BridgePortDecodingPriority=ieee8021BridgePortDecodingPriority, ieee8021BridgeTrafficClassTable=ieee8021BridgeTrafficClassTable, ieee8021BridgeNotifications=ieee8021BridgeNotifications, ieee8021BridgePriorityGroup=ieee8021BridgePriorityGroup, ieee8021BridgeILanIfRowStatus=ieee8021BridgeILanIfRowStatus, ieee8021BridgeTpPortTable=ieee8021BridgeTpPortTable, ieee8021BridgePortMrpGroup=ieee8021BridgePortMrpGroup, ieee8021BridgeBaseComponentId=ieee8021BridgeBaseComponentId, ieee8021BridgeDefaultPriorityGroup=ieee8021BridgeDefaultPriorityGroup, ieee8021BridgePortEncodingGroup=ieee8021BridgePortEncodingGroup, ieee8021BridgeTrafficClass=ieee8021BridgeTrafficClass, ieee8021BridgeGroups=ieee8021BridgeGroups, ieee8021BridgeBasePortIfIndex=ieee8021BridgeBasePortIfIndex, ieee8021BridgeBaseMmrpEnabledStatus=ieee8021BridgeBaseMmrpEnabledStatus, ieee8021BridgePriorityAndMulticastFilteringCompliance=ieee8021BridgePriorityAndMulticastFilteringCompliance, ieee8021BridgeBaseBridgeAddress=ieee8021BridgeBaseBridgeAddress, ieee8021BridgeBaseIfToPortGroup=ieee8021BridgeBaseIfToPortGroup, ieee8021BridgePhyPortTable=ieee8021BridgePhyPortTable, ieee8021BridgePortOutboundAccessPriority=ieee8021BridgePortOutboundAccessPriority, ieee8021BridgePortEncodingPortNum=ieee8021BridgePortEncodingPortNum, ieee8021BridgeTpPortInDiscards=ieee8021BridgeTpPortInDiscards, ieee8021BridgeTpPortInFrames=ieee8021BridgeTpPortInFrames, ieee8021BridgeTp=ieee8021BridgeTp, ieee8021BridgeBaseIfToPortTable=ieee8021BridgeBaseIfToPortTable, ieee8021BridgePortPriorityCodePointSelection=ieee8021BridgePortPriorityCodePointSelection, ieee8021BridgePortRequireDropEncoding=ieee8021BridgePortRequireDropEncoding, ieee8021BridgeILanIfTable=ieee8021BridgeILanIfTable, ieee8021BridgePhyPortToInternalPort=ieee8021BridgePhyPortToInternalPort, ieee8021BridgePortServiceAccessPrioritySelection=ieee8021BridgePortServiceAccessPrioritySelection, ieee8021BridgeServiceAccessPriorityValue=ieee8021BridgeServiceAccessPriorityValue, ieee8021BridgeRegenPriorityGroup=ieee8021BridgeRegenPriorityGroup, ieee8021BridgeDot1dPortEntry=ieee8021BridgeDot1dPortEntry, ieee8021BridgeServiceAccessPriorityEntry=ieee8021BridgeServiceAccessPriorityEntry, ieee8021BridgeObjects=ieee8021BridgeObjects, ieee8021BridgeUserPriorityRegenTable=ieee8021BridgeUserPriorityRegenTable, ieee8021BridgeDevicePriorityGroup=ieee8021BridgeDevicePriorityGroup, ieee8021BridgeTpPortEntry=ieee8021BridgeTpPortEntry, ieee8021BridgePortMrpLeaveTime=ieee8021BridgePortMrpLeaveTime, ieee8021BridgePortDecodingDropEligible=ieee8021BridgePortDecodingDropEligible, ieee8021BridgeBasePortName=ieee8021BridgeBasePortName, ieee8021BridgePhyPortToComponentId=ieee8021BridgePhyPortToComponentId, ieee8021BridgePortDecodingPriorityCodePoint=ieee8021BridgePortDecodingPriorityCodePoint, ieee8021BridgePhyPortIfIndex=ieee8021BridgePhyPortIfIndex, ieee8021BridgePortDecodingTable=ieee8021BridgePortDecodingTable, ieee8021BridgePortMmrpTable=ieee8021BridgePortMmrpTable, ieee8021BridgeBasePortMtuExceededDiscards=ieee8021BridgeBasePortMtuExceededDiscards, ieee8021BridgeBasePortOperPointToPoint=ieee8021BridgeBasePortOperPointToPoint, ieee8021BridgePortEncodingTable=ieee8021BridgePortEncodingTable, ieee8021BridgeDeviceMmrpGroup=ieee8021BridgeDeviceMmrpGroup, ieee8021BridgePortMrpLeaveAllTime=ieee8021BridgePortMrpLeaveAllTime, ieee8021BridgePortPriorityTable=ieee8021BridgePortPriorityTable, ieee8021BridgeBaseDeviceCapabilities=ieee8021BridgeBaseDeviceCapabilities, ieee8021BridgePortOutboundAccessPriorityEntry=ieee8021BridgePortOutboundAccessPriorityEntry, ieee8021BridgePortDecodingGroup=ieee8021BridgePortDecodingGroup, ieee8021BridgeBasePortGroup=ieee8021BridgeBasePortGroup, ieee8021BridgeServiceAccessPriorityTable=ieee8021BridgeServiceAccessPriorityTable, ieee8021BridgePortDecodingEntry=ieee8021BridgePortDecodingEntry, ieee8021BridgeUserPriority=ieee8021BridgeUserPriority, ieee8021BridgeServiceAccessPriorityGroup=ieee8021BridgeServiceAccessPriorityGroup, ieee8021BridgeCompliance1=ieee8021BridgeCompliance1, ieee8021BridgeTpPortGroup=ieee8021BridgeTpPortGroup, ieee8021BridgeBasePortCapabilities=ieee8021BridgeBasePortCapabilities, ieee8021BridgePortMrpTable=ieee8021BridgePortMrpTable, ieee8021BridgePortOutboundAccessPriorityTable=ieee8021BridgePortOutboundAccessPriorityTable, ieee8021BridgeDot1d=ieee8021BridgeDot1d, ieee8021BridgeBaseTrafficClassesEnabled=ieee8021BridgeBaseTrafficClassesEnabled, ieee8021BridgeBaseNumPorts=ieee8021BridgeBaseNumPorts, ieee8021BridgeCompliance=ieee8021BridgeCompliance, ieee8021BridgeBasePortTable=ieee8021BridgeBasePortTable, ieee8021BridgeTpPort=ieee8021BridgeTpPort, ieee8021BridgePortMrpEntry=ieee8021BridgePortMrpEntry, ieee8021BridgeConformance=ieee8021BridgeConformance, ieee8021BridgePortEncodingPriorityCodePoint=ieee8021BridgePortEncodingPriorityCodePoint, ieee8021BridgeTrafficClassPriority=ieee8021BridgeTrafficClassPriority, ieee8021BridgeMmrp=ieee8021BridgeMmrp, ieee8021BridgeInternalLan=ieee8021BridgeInternalLan, ieee8021BridgeUserPriorityRegenEntry=ieee8021BridgeUserPriorityRegenEntry, ieee8021BridgeBaseBridgeGroup=ieee8021BridgeBaseBridgeGroup, ieee8021BridgeILanIfEntry=ieee8021BridgeILanIfEntry, ieee8021BridgeDot1dPortTable=ieee8021BridgeDot1dPortTable, ieee8021BridgeBaseRowStatus=ieee8021BridgeBaseRowStatus, ieee8021BridgeBaseIfIndexComponentId=ieee8021BridgeBaseIfIndexComponentId, ieee8021BridgePortEncodingComponentId=ieee8021BridgePortEncodingComponentId, ieee8021BridgeAccessPriorityGroup=ieee8021BridgeAccessPriorityGroup, ieee8021BridgePortPriorityEntry=ieee8021BridgePortPriorityEntry, ieee8021BridgePortMrpJoinTime=ieee8021BridgePortMrpJoinTime, ieee8021BridgePortMmrpGroup=ieee8021BridgePortMmrpGroup, ieee8021BridgeCapGroup=ieee8021BridgeCapGroup, ieee8021BridgeServiceAccessPriorityReceived=ieee8021BridgeServiceAccessPriorityReceived, ieee8021BridgeBasePort=ieee8021BridgeBasePort, ieee8021BridgeRegenUserPriority=ieee8021BridgeRegenUserPriority, ieee8021BridgeBaseTable=ieee8021BridgeBaseTable, ieee8021BridgeBasePortExternal=ieee8021BridgeBasePortExternal, ieee8021BridgeCompliances=ieee8021BridgeCompliances, ieee8021BridgeInternalLANGroup=ieee8021BridgeInternalLANGroup, ieee8021BridgePhyPortGroup=ieee8021BridgePhyPortGroup, ieee8021BridgeBasePortType=ieee8021BridgeBasePortType, ieee8021BridgeBasePortAdminPointToPoint=ieee8021BridgeBasePortAdminPointToPoint, ieee8021BridgePortDecodingPortNum=ieee8021BridgePortDecodingPortNum) |
paths = [
'LDRLDLRDUURULDDDRLLUULUDRDLRRD', # level "1".
'UDLLDDRUDDRRRRDUURUULLUURLULDRUDLLDRRUUR', # level "2".
'UUULRUULRRURRRUDRDLUULLLLLUDRDLLDDDDDRRRRRUULDDLLLLLDU', # level "3".
# level "4"; looks like '21'.
'LDDRLDLLDULURDDRRRDULRDUURULUDLUDRLDDLLURRDURRDURUDL',
# level "5"; top (of 2) sausage is unreachable.
'DRDLLULRDURURLULRU',
# level "6"; 1 sausage with grill to left of it.
'UULLUDRDDDLLURRDULRDRUULRDRULLDURLRUDD',
# level "7"; - goes right, | goes left.
'LDULUURRRDRUDRDDLLLUURUDLRRURULL',
# level "8"; horz strip.
'RULDLRRURRRUDRDDLUUURLLLULLLDLRURDRL',
# level "9"; |__:.
'DUDLLULRDRUUULRURLLUDDLDRRUL',
]
codes = [27, 16, 30, 34, 55, 46, 49, 37, 63]
assert (len(paths) == len(codes))
for i, path in enumerate(paths):
print(''.join(
[chr(len(path) + codes[i] + offset) for offset in range(-6, 1)]))
| paths = ['LDRLDLRDUURULDDDRLLUULUDRDLRRD', 'UDLLDDRUDDRRRRDUURUULLUURLULDRUDLLDRRUUR', 'UUULRUULRRURRRUDRDLUULLLLLUDRDLLDDDDDRRRRRUULDDLLLLLDU', 'LDDRLDLLDULURDDRRRDULRDUURULUDLUDRLDDLLURRDURRDURUDL', 'DRDLLULRDURURLULRU', 'UULLUDRDDDLLURRDULRDRUULRDRULLDURLRUDD', 'LDULUURRRDRUDRDDLLLUURUDLRRURULL', 'RULDLRRURRRUDRDDLUUURLLLULLLDLRURDRL', 'DUDLLULRDRUUULRURLLUDDLDRRUL']
codes = [27, 16, 30, 34, 55, 46, 49, 37, 63]
assert len(paths) == len(codes)
for (i, path) in enumerate(paths):
print(''.join([chr(len(path) + codes[i] + offset) for offset in range(-6, 1)])) |
example = [int(age) for age in open('./day 07/Xavier - Python/example.txt').readline().strip().split(',')]
input = [int(age) for age in open('./day 07/Xavier - Python/input.txt').readline().strip().split(',')]
def part_one(positions):
fuels = [sum([abs(i-x) for x in positions]) for i in range(min(positions), max(positions))]
return min(fuels)
assert part_one(example) == 37
print(part_one(input))
def part_two(positions):
fuels = [sum([sum(range(1, abs(i-x)+1)) for x in positions]) for i in range(min(positions), max(positions))]
return min(fuels)
assert part_two(example) == 168
print(part_two(input))
| example = [int(age) for age in open('./day 07/Xavier - Python/example.txt').readline().strip().split(',')]
input = [int(age) for age in open('./day 07/Xavier - Python/input.txt').readline().strip().split(',')]
def part_one(positions):
fuels = [sum([abs(i - x) for x in positions]) for i in range(min(positions), max(positions))]
return min(fuels)
assert part_one(example) == 37
print(part_one(input))
def part_two(positions):
fuels = [sum([sum(range(1, abs(i - x) + 1)) for x in positions]) for i in range(min(positions), max(positions))]
return min(fuels)
assert part_two(example) == 168
print(part_two(input)) |
#!/usr/bin/env python
def inner_iter(iterations):
for i in range(0, iterations):
yield i * iterations
def outer_iter(iterations):
for i in range(0, iterations):
yield from inner_iter(i)
if __name__ == '__main__':
for i in outer_iter(10):
print(i)
| def inner_iter(iterations):
for i in range(0, iterations):
yield (i * iterations)
def outer_iter(iterations):
for i in range(0, iterations):
yield from inner_iter(i)
if __name__ == '__main__':
for i in outer_iter(10):
print(i) |
#
# PySNMP MIB module ALCATEL-IND1-MAC-ADDRESS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-MAC-ADDRESS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:02:54 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
softentIND1MacAddress, = mibBuilder.importSymbols("ALCATEL-IND1-BASE", "softentIND1MacAddress")
vlanNumber, = mibBuilder.importSymbols("ALCATEL-IND1-VLAN-MGR-MIB", "vlanNumber")
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
dot1qVlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "dot1qVlanIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, IpAddress, iso, TimeTicks, Bits, ObjectIdentity, Counter64, Gauge32, Unsigned32, Counter32, Integer32, ModuleIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "IpAddress", "iso", "TimeTicks", "Bits", "ObjectIdentity", "Counter64", "Gauge32", "Unsigned32", "Counter32", "Integer32", "ModuleIdentity", "NotificationType")
TextualConvention, RowStatus, DisplayString, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "MacAddress")
alcatelIND1MacAddressMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1))
alcatelIND1MacAddressMIB.setRevisions(('2010-05-13 00:00', '2007-04-03 00:00',))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIB.setLastUpdated('201005130000Z')
if mibBuilder.loadTexts: alcatelIND1MacAddressMIB.setOrganization('Alcatel-Lucent, Enterprise Solutions Division')
alcatelIND1MacAddressMIBNotifications = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 0))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIBNotifications.setStatus('current')
alcatelIND1MacAddressMIBObjects = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIBObjects.setStatus('current')
alcatelIND1MacAddressMIBConformance = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIBConformance.setStatus('current')
alcatelIND1MacAddressMIBGroups = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIBGroups.setStatus('current')
alcatelIND1MacAddressMIBCompliances = ObjectIdentity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 2))
if mibBuilder.loadTexts: alcatelIND1MacAddressMIBCompliances.setStatus('current')
class MacAddressProtocolType(TextualConvention, Integer32):
status = 'current'
displayHint = 'x'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 2147483647)
slMacAddressAgingTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2), )
if mibBuilder.loadTexts: slMacAddressAgingTable.setStatus('current')
slMacAddressAgingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"))
if mibBuilder.loadTexts: slMacAddressAgingEntry.setStatus('current')
slMacAgingValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000)).clone(300)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAgingValue.setStatus('current')
slMacAgingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAgingRowStatus.setStatus('current')
slDistributedMacMode = MibScalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: slDistributedMacMode.setStatus('current')
slMacLearningControlTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7), )
if mibBuilder.loadTexts: slMacLearningControlTable.setStatus('current')
slMacLearningControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: slMacLearningControlEntry.setStatus('current')
slMacLearningControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: slMacLearningControlStatus.setStatus('current')
slMacLearningVlanControlTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10), )
if mibBuilder.loadTexts: slMacLearningVlanControlTable.setStatus('current')
slMacLearningVlanControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10, 1), ).setIndexNames((0, "ALCATEL-IND1-VLAN-MGR-MIB", "vlanNumber"))
if mibBuilder.loadTexts: slMacLearningVlanControlEntry.setStatus('current')
slMacLearningVlanControlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: slMacLearningVlanControlStatus.setStatus('current')
alaSlMacAddressGlobalTable = MibTable((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8), )
if mibBuilder.loadTexts: alaSlMacAddressGlobalTable.setStatus('current')
alaSlMacAddressGlobalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1), ).setIndexNames((0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacDomain"), (0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slLocaleType"), (0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slOriginId"), (0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slServiceId"), (0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slSubId"), (0, "ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGbl"))
if mibBuilder.loadTexts: alaSlMacAddressGlobalEntry.setStatus('current')
slMacDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("all", 0), ("vlan", 1), ("vpls", 2), ("spbm", 3), ("evb", 4))).clone('all'))
if mibBuilder.loadTexts: slMacDomain.setStatus('current')
slLocaleType = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("default", 0), ("sap", 1), ("sBind", 2))).clone('default'))
if mibBuilder.loadTexts: slLocaleType.setStatus('current')
slOriginId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 2147483647), )))
if mibBuilder.loadTexts: slOriginId.setStatus('current')
slServiceId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 32767), )))
if mibBuilder.loadTexts: slServiceId.setStatus('current')
slSubId = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)))
if mibBuilder.loadTexts: slSubId.setStatus('current')
slMacAddressGbl = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 6), MacAddress())
if mibBuilder.loadTexts: slMacAddressGbl.setStatus('current')
slMacAddressGblManagement = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("permanent", 1), ("deleteOnReset", 2), ("deleteOnTimeout", 3), ("learned", 4), ("staticMulticast", 5))).clone('permanent')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAddressGblManagement.setStatus('current')
slMacAddressGblDisposition = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("bridging", 1), ("filtering", 2), ("quarantined", 3), ("hostIntegrity", 4), ("userNetworkProf", 5))).clone('bridging')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAddressGblDisposition.setStatus('current')
slMacAddressGblRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 9), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAddressGblRowStatus.setStatus('current')
slMacAddressGblProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 10), MacAddressProtocolType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAddressGblProtocol.setStatus('current')
slMacAddressGblGroupField = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 11), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slMacAddressGblGroupField.setStatus('current')
slSvcISID = MibTableColumn((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(256, 16777214), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: slSvcISID.setStatus('current')
alcatelIND1MacAddressMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 2, 1)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGroup"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAgingGroup"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacGeneralGroup"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacLearningGroup"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacVlanLearningGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alcatelIND1MacAddressMIBCompliance = alcatelIND1MacAddressMIBCompliance.setStatus('current')
slMacAddressGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 1)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGblManagement"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGblDisposition"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGblRowStatus"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGblProtocol"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAddressGblGroupField"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slSvcISID"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
slMacAddressGroup = slMacAddressGroup.setStatus('current')
slMacAgingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 2)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAgingValue"), ("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacAgingRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
slMacAgingGroup = slMacAgingGroup.setStatus('current')
slMacGeneralGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 3)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slDistributedMacMode"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
slMacGeneralGroup = slMacGeneralGroup.setStatus('current')
slMacLearningGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 4)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacLearningControlStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
slMacLearningGroup = slMacLearningGroup.setStatus('current')
slMacVlanLearningGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 5)).setObjects(("ALCATEL-IND1-MAC-ADDRESS-MIB", "slMacLearningVlanControlStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
slMacVlanLearningGroup = slMacVlanLearningGroup.setStatus('current')
mibBuilder.exportSymbols("ALCATEL-IND1-MAC-ADDRESS-MIB", alcatelIND1MacAddressMIBNotifications=alcatelIND1MacAddressMIBNotifications, slMacAddressGblManagement=slMacAddressGblManagement, slMacAddressGblProtocol=slMacAddressGblProtocol, alcatelIND1MacAddressMIBGroups=alcatelIND1MacAddressMIBGroups, slMacAddressAgingEntry=slMacAddressAgingEntry, slMacGeneralGroup=slMacGeneralGroup, slMacAddressGblDisposition=slMacAddressGblDisposition, slMacAgingGroup=slMacAgingGroup, slSubId=slSubId, slMacLearningVlanControlTable=slMacLearningVlanControlTable, slMacAddressGblGroupField=slMacAddressGblGroupField, slMacAgingRowStatus=slMacAgingRowStatus, slMacLearningVlanControlStatus=slMacLearningVlanControlStatus, slMacAddressGbl=slMacAddressGbl, alcatelIND1MacAddressMIBCompliances=alcatelIND1MacAddressMIBCompliances, alcatelIND1MacAddressMIBObjects=alcatelIND1MacAddressMIBObjects, slMacAgingValue=slMacAgingValue, PYSNMP_MODULE_ID=alcatelIND1MacAddressMIB, alaSlMacAddressGlobalTable=alaSlMacAddressGlobalTable, slMacLearningVlanControlEntry=slMacLearningVlanControlEntry, slMacLearningGroup=slMacLearningGroup, MacAddressProtocolType=MacAddressProtocolType, slDistributedMacMode=slDistributedMacMode, slMacLearningControlTable=slMacLearningControlTable, slMacLearningControlEntry=slMacLearningControlEntry, slMacVlanLearningGroup=slMacVlanLearningGroup, slServiceId=slServiceId, slMacLearningControlStatus=slMacLearningControlStatus, alcatelIND1MacAddressMIB=alcatelIND1MacAddressMIB, slOriginId=slOriginId, slMacAddressAgingTable=slMacAddressAgingTable, alcatelIND1MacAddressMIBCompliance=alcatelIND1MacAddressMIBCompliance, alaSlMacAddressGlobalEntry=alaSlMacAddressGlobalEntry, alcatelIND1MacAddressMIBConformance=alcatelIND1MacAddressMIBConformance, slMacAddressGroup=slMacAddressGroup, slSvcISID=slSvcISID, slMacAddressGblRowStatus=slMacAddressGblRowStatus, slLocaleType=slLocaleType, slMacDomain=slMacDomain)
| (softent_ind1_mac_address,) = mibBuilder.importSymbols('ALCATEL-IND1-BASE', 'softentIND1MacAddress')
(vlan_number,) = mibBuilder.importSymbols('ALCATEL-IND1-VLAN-MGR-MIB', 'vlanNumber')
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(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')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(dot1q_vlan_index,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'dot1qVlanIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup')
(mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, ip_address, iso, time_ticks, bits, object_identity, counter64, gauge32, unsigned32, counter32, integer32, module_identity, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'IpAddress', 'iso', 'TimeTicks', 'Bits', 'ObjectIdentity', 'Counter64', 'Gauge32', 'Unsigned32', 'Counter32', 'Integer32', 'ModuleIdentity', 'NotificationType')
(textual_convention, row_status, display_string, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString', 'MacAddress')
alcatel_ind1_mac_address_mib = module_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1))
alcatelIND1MacAddressMIB.setRevisions(('2010-05-13 00:00', '2007-04-03 00:00'))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIB.setLastUpdated('201005130000Z')
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIB.setOrganization('Alcatel-Lucent, Enterprise Solutions Division')
alcatel_ind1_mac_address_mib_notifications = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 0))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIBNotifications.setStatus('current')
alcatel_ind1_mac_address_mib_objects = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIBObjects.setStatus('current')
alcatel_ind1_mac_address_mib_conformance = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIBConformance.setStatus('current')
alcatel_ind1_mac_address_mib_groups = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIBGroups.setStatus('current')
alcatel_ind1_mac_address_mib_compliances = object_identity((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 2))
if mibBuilder.loadTexts:
alcatelIND1MacAddressMIBCompliances.setStatus('current')
class Macaddressprotocoltype(TextualConvention, Integer32):
status = 'current'
display_hint = 'x'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 2147483647)
sl_mac_address_aging_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2))
if mibBuilder.loadTexts:
slMacAddressAgingTable.setStatus('current')
sl_mac_address_aging_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1)).setIndexNames((0, 'Q-BRIDGE-MIB', 'dot1qVlanIndex'))
if mibBuilder.loadTexts:
slMacAddressAgingEntry.setStatus('current')
sl_mac_aging_value = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000000)).clone(300)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAgingValue.setStatus('current')
sl_mac_aging_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 2, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAgingRowStatus.setStatus('current')
sl_distributed_mac_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
slDistributedMacMode.setStatus('current')
sl_mac_learning_control_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7))
if mibBuilder.loadTexts:
slMacLearningControlTable.setStatus('current')
sl_mac_learning_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
slMacLearningControlEntry.setStatus('current')
sl_mac_learning_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
slMacLearningControlStatus.setStatus('current')
sl_mac_learning_vlan_control_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10))
if mibBuilder.loadTexts:
slMacLearningVlanControlTable.setStatus('current')
sl_mac_learning_vlan_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10, 1)).setIndexNames((0, 'ALCATEL-IND1-VLAN-MGR-MIB', 'vlanNumber'))
if mibBuilder.loadTexts:
slMacLearningVlanControlEntry.setStatus('current')
sl_mac_learning_vlan_control_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
slMacLearningVlanControlStatus.setStatus('current')
ala_sl_mac_address_global_table = mib_table((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8))
if mibBuilder.loadTexts:
alaSlMacAddressGlobalTable.setStatus('current')
ala_sl_mac_address_global_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1)).setIndexNames((0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacDomain'), (0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slLocaleType'), (0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slOriginId'), (0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slServiceId'), (0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slSubId'), (0, 'ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGbl'))
if mibBuilder.loadTexts:
alaSlMacAddressGlobalEntry.setStatus('current')
sl_mac_domain = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('all', 0), ('vlan', 1), ('vpls', 2), ('spbm', 3), ('evb', 4))).clone('all'))
if mibBuilder.loadTexts:
slMacDomain.setStatus('current')
sl_locale_type = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('default', 0), ('sap', 1), ('sBind', 2))).clone('default'))
if mibBuilder.loadTexts:
slLocaleType.setStatus('current')
sl_origin_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 3), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 2147483647))))
if mibBuilder.loadTexts:
slOriginId.setStatus('current')
sl_service_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 32767))))
if mibBuilder.loadTexts:
slServiceId.setStatus('current')
sl_sub_id = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647)))
if mibBuilder.loadTexts:
slSubId.setStatus('current')
sl_mac_address_gbl = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 6), mac_address())
if mibBuilder.loadTexts:
slMacAddressGbl.setStatus('current')
sl_mac_address_gbl_management = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('permanent', 1), ('deleteOnReset', 2), ('deleteOnTimeout', 3), ('learned', 4), ('staticMulticast', 5))).clone('permanent')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAddressGblManagement.setStatus('current')
sl_mac_address_gbl_disposition = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('bridging', 1), ('filtering', 2), ('quarantined', 3), ('hostIntegrity', 4), ('userNetworkProf', 5))).clone('bridging')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAddressGblDisposition.setStatus('current')
sl_mac_address_gbl_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 9), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAddressGblRowStatus.setStatus('current')
sl_mac_address_gbl_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 10), mac_address_protocol_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAddressGblProtocol.setStatus('current')
sl_mac_address_gbl_group_field = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 11), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slMacAddressGblGroupField.setStatus('current')
sl_svc_isid = mib_table_column((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 1, 8, 1, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(256, 16777214)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
slSvcISID.setStatus('current')
alcatel_ind1_mac_address_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 2, 1)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGroup'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAgingGroup'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacGeneralGroup'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacLearningGroup'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacVlanLearningGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
alcatel_ind1_mac_address_mib_compliance = alcatelIND1MacAddressMIBCompliance.setStatus('current')
sl_mac_address_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 1)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGblManagement'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGblDisposition'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGblRowStatus'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGblProtocol'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAddressGblGroupField'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slSvcISID'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sl_mac_address_group = slMacAddressGroup.setStatus('current')
sl_mac_aging_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 2)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAgingValue'), ('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacAgingRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sl_mac_aging_group = slMacAgingGroup.setStatus('current')
sl_mac_general_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 3)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slDistributedMacMode'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sl_mac_general_group = slMacGeneralGroup.setStatus('current')
sl_mac_learning_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 4)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacLearningControlStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sl_mac_learning_group = slMacLearningGroup.setStatus('current')
sl_mac_vlan_learning_group = object_group((1, 3, 6, 1, 4, 1, 6486, 801, 1, 2, 1, 8, 1, 2, 1, 5)).setObjects(('ALCATEL-IND1-MAC-ADDRESS-MIB', 'slMacLearningVlanControlStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sl_mac_vlan_learning_group = slMacVlanLearningGroup.setStatus('current')
mibBuilder.exportSymbols('ALCATEL-IND1-MAC-ADDRESS-MIB', alcatelIND1MacAddressMIBNotifications=alcatelIND1MacAddressMIBNotifications, slMacAddressGblManagement=slMacAddressGblManagement, slMacAddressGblProtocol=slMacAddressGblProtocol, alcatelIND1MacAddressMIBGroups=alcatelIND1MacAddressMIBGroups, slMacAddressAgingEntry=slMacAddressAgingEntry, slMacGeneralGroup=slMacGeneralGroup, slMacAddressGblDisposition=slMacAddressGblDisposition, slMacAgingGroup=slMacAgingGroup, slSubId=slSubId, slMacLearningVlanControlTable=slMacLearningVlanControlTable, slMacAddressGblGroupField=slMacAddressGblGroupField, slMacAgingRowStatus=slMacAgingRowStatus, slMacLearningVlanControlStatus=slMacLearningVlanControlStatus, slMacAddressGbl=slMacAddressGbl, alcatelIND1MacAddressMIBCompliances=alcatelIND1MacAddressMIBCompliances, alcatelIND1MacAddressMIBObjects=alcatelIND1MacAddressMIBObjects, slMacAgingValue=slMacAgingValue, PYSNMP_MODULE_ID=alcatelIND1MacAddressMIB, alaSlMacAddressGlobalTable=alaSlMacAddressGlobalTable, slMacLearningVlanControlEntry=slMacLearningVlanControlEntry, slMacLearningGroup=slMacLearningGroup, MacAddressProtocolType=MacAddressProtocolType, slDistributedMacMode=slDistributedMacMode, slMacLearningControlTable=slMacLearningControlTable, slMacLearningControlEntry=slMacLearningControlEntry, slMacVlanLearningGroup=slMacVlanLearningGroup, slServiceId=slServiceId, slMacLearningControlStatus=slMacLearningControlStatus, alcatelIND1MacAddressMIB=alcatelIND1MacAddressMIB, slOriginId=slOriginId, slMacAddressAgingTable=slMacAddressAgingTable, alcatelIND1MacAddressMIBCompliance=alcatelIND1MacAddressMIBCompliance, alaSlMacAddressGlobalEntry=alaSlMacAddressGlobalEntry, alcatelIND1MacAddressMIBConformance=alcatelIND1MacAddressMIBConformance, slMacAddressGroup=slMacAddressGroup, slSvcISID=slSvcISID, slMacAddressGblRowStatus=slMacAddressGblRowStatus, slLocaleType=slLocaleType, slMacDomain=slMacDomain) |
# apply a value to functions
def applyFuns(L, x):
'''
assumes L is a list of functions
x is an int
'''
for f in L:
print(f(x)) | def apply_funs(L, x):
"""
assumes L is a list of functions
x is an int
"""
for f in L:
print(f(x)) |
class _BotCommands:
def __init__(self):
self.StartCommand = 'start'
self.ListCommand = 'list'
self.AuthorizeCommand = 'authorize'
self.UnAuthorizeCommand = 'unauthorize'
self.PingCommand = 'ping'
self.StatsCommand = 'stats'
self.HelpCommand = 'help'
self.LogCommand = 'log'
self.CloneCommand = "clone"
BotCommands = _BotCommands()
| class _Botcommands:
def __init__(self):
self.StartCommand = 'start'
self.ListCommand = 'list'
self.AuthorizeCommand = 'authorize'
self.UnAuthorizeCommand = 'unauthorize'
self.PingCommand = 'ping'
self.StatsCommand = 'stats'
self.HelpCommand = 'help'
self.LogCommand = 'log'
self.CloneCommand = 'clone'
bot_commands = __bot_commands() |
class Calculator(object):
num1 = None
num2 = None
def sum(self):
return self.num1 + self.num2 | class Calculator(object):
num1 = None
num2 = None
def sum(self):
return self.num1 + self.num2 |
# The problem has asked for longest contiguous subarray that contains only 1s. What makes this problem a little trickier
# is the K flips allowed from 0 --> 1. This means a contiguous subarray of 1's might not just contain 1's but also
# may contain some 0's. The number of 0's allowed in a given subarray is given by K.
# In any sliding window based problem we have two pointers. One right pointer whose job is to expand the current window
# and then we have the left pointer whose job is to contract a given window. At any point in time only one of these pointers
# move and the other one remains fixed.
# The solution is pretty intuitive. We keep expanding the window by moving the right pointer. When the window has reached the limit
# of 0's allowed, we contract (if possible) and save the longest window till now.
# Approach:
# Initialize two pointers. The two pointers help us to mark the left and right end of the window/subarray with contiguous 1's.
# left = 0, right = 0, window_size = 0
# We use the right pointer to expand the window until the window/subarray is desirable. i.e. number of 0's in the window are in the allowed range of [0, K].
# Once we have a window which has more than the allowed number of 0's, we can move the left pointer ahead one by one until we encounter 0 on the left too. This step ensures we are throwing out the extra zero.
class Solution:
def longestOnes(self, A: List[int], K: int) -> int:
left = 0
for right in range(len(A)):
if A[right] == 0:
K-=1
if K <0:
if A[left] == 0:
K+=1
left+=1
return right - left + 1
class Solution:
def longestOnes(self, A: List[int], K: int) -> int:
left = 0
# use right pointer to expand the window
for right in range(len(A)):
# if meeting 0, then continue
if A[right] == 0:
K-=1
# if more than # of allowed 0s, move left pointer ahead and add 1 back if A[left] is 0, if A[left] is 1, then keep moving
if K<0:
K+= 1-A[left]
left+=1
# window size
return right-left+1
# Time: O(N)
# Space:O(1) | class Solution:
def longest_ones(self, A: List[int], K: int) -> int:
left = 0
for right in range(len(A)):
if A[right] == 0:
k -= 1
if K < 0:
if A[left] == 0:
k += 1
left += 1
return right - left + 1
class Solution:
def longest_ones(self, A: List[int], K: int) -> int:
left = 0
for right in range(len(A)):
if A[right] == 0:
k -= 1
if K < 0:
k += 1 - A[left]
left += 1
return right - left + 1 |
a = list(input().split())
for i in a:
if int(i) == 0:
a.remove(i)
a.append(i)
print(*a) | a = list(input().split())
for i in a:
if int(i) == 0:
a.remove(i)
a.append(i)
print(*a) |
# Commands/methods
TURNON = 1
TURNOFF = 2
BELL = 4
TOGGLE = 8
DIM = 16
LEARN = 32
UP = 128
DOWN = 256
STOP = 512
RGBW = 1024
THERMOSTAT = 2048
# Sensor types
TEMPERATURE = "temp"
HUMIDITY = "humidity"
RAINRATE = "rrate"
RAINTOTAL = "rtot"
WINDDIRECTION = "wdir"
WINDAVERAGE = "wavg"
WINDGUST = "wgust"
UV = "uv"
POWER = "watt"
LUMINANCE = "lum"
DEW_POINT = "dewp"
BAROMETRIC_PRESSURE = "barpress"
# Battery status
BATTERY_LOW = 255
BATTERY_UNKNOWN = 254
BATTERY_OK = 253
| turnon = 1
turnoff = 2
bell = 4
toggle = 8
dim = 16
learn = 32
up = 128
down = 256
stop = 512
rgbw = 1024
thermostat = 2048
temperature = 'temp'
humidity = 'humidity'
rainrate = 'rrate'
raintotal = 'rtot'
winddirection = 'wdir'
windaverage = 'wavg'
windgust = 'wgust'
uv = 'uv'
power = 'watt'
luminance = 'lum'
dew_point = 'dewp'
barometric_pressure = 'barpress'
battery_low = 255
battery_unknown = 254
battery_ok = 253 |
l = ['a', 'b', 'c']
try:
print("1. Inside try")
print("2. About to do something bad")
l[3]
print("3. After doing something bad")
except:
print("4. Caught the exception")
print("5. And exiting") | l = ['a', 'b', 'c']
try:
print('1. Inside try')
print('2. About to do something bad')
l[3]
print('3. After doing something bad')
except:
print('4. Caught the exception')
print('5. And exiting') |
# Set Data Type Demo
class SetDataTypeDemo:
Instances = 0
def __init__(self):
SetDataTypeDemo.Instances += 1
def displaySetValues(self, title, value):
print(f"----- {title} -----")
print(f'SetDataTypeDemo.Instances: {self.Instances}')
print(f'{value}')
def main():
title = "Set Data Type Demo"
setDataType = SetDataTypeDemo()
# set can't store duplicate
numbersSet = { 3, 7, 11, 15, 15, 15 }
setDataType.displaySetValues(title, numbersSet)
# Mixed data types set
mixedDataSet = {11, 1.1, "11", (1, 2)}
setDataType.displaySetValues(title, mixedDataSet)
# using set() method
mixedDataSet1 = set([11, 1.1, "11", "Shiva", (1, 2)])
setDataType.displaySetValues(title, mixedDataSet1)
listData = [11, 1.1, "11", "Shiva Sai", (1, 2)]
listData.append("Rajesh")
setDataType.displaySetValues("Display List", listData)
mixedDataSet2 = set(listData)
setDataType.displaySetValues(title, mixedDataSet2)
if __name__ == "__main__":
main()
| class Setdatatypedemo:
instances = 0
def __init__(self):
SetDataTypeDemo.Instances += 1
def display_set_values(self, title, value):
print(f'----- {title} -----')
print(f'SetDataTypeDemo.Instances: {self.Instances}')
print(f'{value}')
def main():
title = 'Set Data Type Demo'
set_data_type = set_data_type_demo()
numbers_set = {3, 7, 11, 15, 15, 15}
setDataType.displaySetValues(title, numbersSet)
mixed_data_set = {11, 1.1, '11', (1, 2)}
setDataType.displaySetValues(title, mixedDataSet)
mixed_data_set1 = set([11, 1.1, '11', 'Shiva', (1, 2)])
setDataType.displaySetValues(title, mixedDataSet1)
list_data = [11, 1.1, '11', 'Shiva Sai', (1, 2)]
listData.append('Rajesh')
setDataType.displaySetValues('Display List', listData)
mixed_data_set2 = set(listData)
setDataType.displaySetValues(title, mixedDataSet2)
if __name__ == '__main__':
main() |
# -*- coding: utf-8 -*-
def test_workflows_step_completed(slack_time):
assert slack_time.workflows.step_completed
def test_workflows_step_failed(slack_time):
assert slack_time.workflows.step_failed
def test_workflows_update_step(slack_time):
assert slack_time.workflows.update_step
| def test_workflows_step_completed(slack_time):
assert slack_time.workflows.step_completed
def test_workflows_step_failed(slack_time):
assert slack_time.workflows.step_failed
def test_workflows_update_step(slack_time):
assert slack_time.workflows.update_step |
_base_ = [
'../_base_/models/fast_scnn.py', '../_base_/datasets/publaynet.py',
'../_base_/default_runtime.py', '../_base_/schedules/schedule_320k.py'
]
# Re-config the data sampler.
data = dict(samples_per_gpu=16, workers_per_gpu=4)
# Re-config the optimizer.
optimizer = dict(type='SGD', lr=0.12, momentum=0.9, weight_decay=4e-5) | _base_ = ['../_base_/models/fast_scnn.py', '../_base_/datasets/publaynet.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_320k.py']
data = dict(samples_per_gpu=16, workers_per_gpu=4)
optimizer = dict(type='SGD', lr=0.12, momentum=0.9, weight_decay=4e-05) |
class DNSQuery:
def __init__(self, data):
self.data=data
self.dominio=''
#print("Reading datagram data...")
m = data[2] # ord(data[2])
tipo = (m >> 3) & 15 # Opcode bits
if tipo == 0: # Standard query
ini=12
lon=data[ini] # ord(data[ini])
while lon != 0:
self.dominio+=data[ini+1:ini+lon+1].decode("utf-8") +'.'
ini+=lon+1
lon=data[ini] #ord(data[ini])
def respuesta(self, ip):
packet=b''
#print("Resposta {} == {}".format(self.dominio, ip))
if self.dominio:
packet+=self.data[:2] + b"\x81\x80"
packet+=self.data[4:6] + self.data[4:6] + b'\x00\x00\x00\x00' # Questions and Answers Counts
packet+=self.data[12:] # Original Domain Name Question
packet+= b'\xc0\x0c' # Pointer to domain name
packet+= b'\x00\x01\x00\x01\x00\x00\x00\x3c\x00\x04' # Response type, ttl and resource data length -> 4 bytes
packet+=bytes(map(int,ip.split('.'))) # 4 bytes of IP
return packet
| class Dnsquery:
def __init__(self, data):
self.data = data
self.dominio = ''
m = data[2]
tipo = m >> 3 & 15
if tipo == 0:
ini = 12
lon = data[ini]
while lon != 0:
self.dominio += data[ini + 1:ini + lon + 1].decode('utf-8') + '.'
ini += lon + 1
lon = data[ini]
def respuesta(self, ip):
packet = b''
if self.dominio:
packet += self.data[:2] + b'\x81\x80'
packet += self.data[4:6] + self.data[4:6] + b'\x00\x00\x00\x00'
packet += self.data[12:]
packet += b'\xc0\x0c'
packet += b'\x00\x01\x00\x01\x00\x00\x00<\x00\x04'
packet += bytes(map(int, ip.split('.')))
return packet |
#import stuff here
__version__ = '0.2'
| __version__ = '0.2' |
class Solution:
def longestConsecutive(self, nums: 'List[int]') -> 'int':
if len(nums) < 1: return 0
nums.sort()
longest, tmp = 1, 1
for i in range(1, len(nums)):
if nums[i] != nums[i - 1]:
if nums[i] == nums[i - 1] + 1:
tmp += 1
else:
longest = max(longest, tmp)
tmp = 1
return max(longest, tmp)
| class Solution:
def longest_consecutive(self, nums: 'List[int]') -> 'int':
if len(nums) < 1:
return 0
nums.sort()
(longest, tmp) = (1, 1)
for i in range(1, len(nums)):
if nums[i] != nums[i - 1]:
if nums[i] == nums[i - 1] + 1:
tmp += 1
else:
longest = max(longest, tmp)
tmp = 1
return max(longest, tmp) |
#!/bin/python3
def check_trap(prev_row, i, row_len):
if i - 1 < 0:
left = "."
else:
left = prev_row[i - 1]
if i + 1 > row_len - 1:
right = "."
else:
right = prev_row[i + 1]
if (left == "." and right == "^") or (left == "^" and right == "."):
return "^"
else:
return "."
def main():
rows = []
with open("aoc_day_18_input.txt") as f:
rows.append([x for x in f.read()])
counter = rows[0].count(".")
row_len = len(rows[0])
row = 1
while row < 400000:
next_row = []
for i in range(row_len):
next_square = check_trap(rows[row - 1], i, row_len)
counter += 1 if next_square == "." else 0
next_row.append(next_square)
rows.append(next_row)
row += 1
return counter
if __name__ == "__name__":
print(main())
| def check_trap(prev_row, i, row_len):
if i - 1 < 0:
left = '.'
else:
left = prev_row[i - 1]
if i + 1 > row_len - 1:
right = '.'
else:
right = prev_row[i + 1]
if left == '.' and right == '^' or (left == '^' and right == '.'):
return '^'
else:
return '.'
def main():
rows = []
with open('aoc_day_18_input.txt') as f:
rows.append([x for x in f.read()])
counter = rows[0].count('.')
row_len = len(rows[0])
row = 1
while row < 400000:
next_row = []
for i in range(row_len):
next_square = check_trap(rows[row - 1], i, row_len)
counter += 1 if next_square == '.' else 0
next_row.append(next_square)
rows.append(next_row)
row += 1
return counter
if __name__ == '__name__':
print(main()) |
# task type can be either 'classification' or 'regression', based on the target feature in the dataset
TASK_TYPE = ''
# the header (all column names) of the input data file(s)
HEADERS = []
# the default values of all the columns of the input data, to help TF detect the data types of the columns
HEADER_DEFAULTS = []
# column of type int or float
NUMERIC_FEATURE_NAMES = []
# categorical features with few values (to be encoded as one-hot indicators)
CATEGORICAL_FEATURE_NAMES_WITH_VOCABULARY = {}
# categorical features with many values (to be treated using embedding)
CATEGORICAL_FEATURE_NAMES_WITH_HASH_BUCKET = {}
# all the categorical feature names
CATEGORICAL_FEATURE_NAMES = list(CATEGORICAL_FEATURE_NAMES_WITH_VOCABULARY.keys()) \
+ list(CATEGORICAL_FEATURE_NAMES_WITH_HASH_BUCKET.keys())
# all the feature names to be used in the model
FEATURE_NAMES = NUMERIC_FEATURE_NAMES + CATEGORICAL_FEATURE_NAMES
# target feature name (response or class variable)
TARGET_NAME = ''
# the class values target feature in a classification dataset
TARGET_LABELS = []
# column to be ignores (e.g. keys, constants, etc.)
UNUSED_FEATURE_NAMES = [] | task_type = ''
headers = []
header_defaults = []
numeric_feature_names = []
categorical_feature_names_with_vocabulary = {}
categorical_feature_names_with_hash_bucket = {}
categorical_feature_names = list(CATEGORICAL_FEATURE_NAMES_WITH_VOCABULARY.keys()) + list(CATEGORICAL_FEATURE_NAMES_WITH_HASH_BUCKET.keys())
feature_names = NUMERIC_FEATURE_NAMES + CATEGORICAL_FEATURE_NAMES
target_name = ''
target_labels = []
unused_feature_names = [] |
class TreeNode(object):
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution(object):
def sumOfLeftLeaves(self, root):
def sumOfLeftLeavesHelper(root, is_left):
if not root:
return 0
if not root.left and not root.right :
return root.val if is_left else 0
return sumOfLeftLeavesHelper(root.left, True) + sumOfLeftLeavesHelper(root.right, False)
return sumOfLeftLeavesHelper(root, False)
root = TreeNode(1)
root.left = TreeNode(2)
root.right = TreeNode(3)
res = Solution().sumOfLeftLeaves(root)
print(res) | class Treenode(object):
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution(object):
def sum_of_left_leaves(self, root):
def sum_of_left_leaves_helper(root, is_left):
if not root:
return 0
if not root.left and (not root.right):
return root.val if is_left else 0
return sum_of_left_leaves_helper(root.left, True) + sum_of_left_leaves_helper(root.right, False)
return sum_of_left_leaves_helper(root, False)
root = tree_node(1)
root.left = tree_node(2)
root.right = tree_node(3)
res = solution().sumOfLeftLeaves(root)
print(res) |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2012 Dag Wieers <dag@wieers.com>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = {'metadata_version': '1.0',
'status': ['stableinterface'],
'supported_by': 'core'}
DOCUMENTATION = '''
---
module: fail
short_description: Fail with custom message
description:
- This module fails the progress with a custom message. It can be
useful for bailing out when a certain condition is met using C(when).
version_added: "0.8"
options:
msg:
description:
- The customized message used for failing execution. If omitted,
fail will simply bail out with a generic message.
required: false
default: "'Failed as requested from task'"
author: "Dag Wieers (@dagwieers)"
'''
EXAMPLES = '''
# Example playbook using fail and when together
- fail:
msg: "The system may not be provisioned according to the CMDB status."
when: cmdb_status != "to-be-staged"
'''
| ansible_metadata = {'metadata_version': '1.0', 'status': ['stableinterface'], 'supported_by': 'core'}
documentation = '\n---\nmodule: fail\nshort_description: Fail with custom message\ndescription:\n - This module fails the progress with a custom message. It can be\n useful for bailing out when a certain condition is met using C(when).\nversion_added: "0.8"\noptions:\n msg:\n description:\n - The customized message used for failing execution. If omitted,\n fail will simply bail out with a generic message.\n required: false\n default: "\'Failed as requested from task\'"\n\nauthor: "Dag Wieers (@dagwieers)"\n'
examples = '\n# Example playbook using fail and when together\n- fail:\n msg: "The system may not be provisioned according to the CMDB status."\n when: cmdb_status != "to-be-staged"\n' |
#In Python, a dictionary can only hold a single value for a given key.
#To workaround this, our single value can be a list containing multiple values.
#Here we have a dictionary called "wardrobe" with items of clothing and their colors.
#Fill in the blanks to print a line for each item of clothing with each color,
#for example: "red shirt", "blue shirt", and so on.
#Solution:
wardrobe = {"shirt":["red","blue","white"], "jeans":["blue","black"]}
for key in wardrobe:
for values in wardrobe[key]:
print("{} {}".format(values,key))
| wardrobe = {'shirt': ['red', 'blue', 'white'], 'jeans': ['blue', 'black']}
for key in wardrobe:
for values in wardrobe[key]:
print('{} {}'.format(values, key)) |
#1. Reverse the order of the items in an array.
#Example:
#a = [1, 2, 3, 4, 5]
#Result:
#a = [5, 4, 3, 2, 1]
a = [1,2,3,4,5]
list.reverse(a)
print ('Ex1: Inverted list is:', a)
#2. Get the number of occurrences of var b in array a.
#Example:
#a = [1, 1, 2, 2, 2, 2, 3, 3, 3]
#b = 2
#Result:
#4
a = [1, 1, 2, 2, 2, 2, 3, 3, 3]
b = 2
count = 0
for i in a:
if ( i == b):
count+=1
print ('Ex2: The number of occurences is:', count)
#3. Given a sentence as string, count the number of words in it.
# Example:
# a = 'ana are mere si nu are pere'
# Result:
# 7
a = 'ana are mere si nu are pere'
res = a.count(' ') + 1
print ('Ex3: Number of words in string is:', res)
| a = [1, 2, 3, 4, 5]
list.reverse(a)
print('Ex1: Inverted list is:', a)
a = [1, 1, 2, 2, 2, 2, 3, 3, 3]
b = 2
count = 0
for i in a:
if i == b:
count += 1
print('Ex2: The number of occurences is:', count)
a = 'ana are mere si nu are pere'
res = a.count(' ') + 1
print('Ex3: Number of words in string is:', res) |
def spin(step):
mem = [0]
pos = 0
for i in range(1, 2018):
pos = (pos + step) % i + 1
mem.insert(pos, i)
return mem
my_spin = spin(349)
print("Part 1: {}".format(my_spin[my_spin.index(2017) + 1]))
def spin_2(step):
pos = 0
res = 0
for i in range(1, 50000000):
pos = (pos + step) % i + 1
if pos == 1:
res = i
return res
print("Part 2: {}".format(spin_2(349)))
| def spin(step):
mem = [0]
pos = 0
for i in range(1, 2018):
pos = (pos + step) % i + 1
mem.insert(pos, i)
return mem
my_spin = spin(349)
print('Part 1: {}'.format(my_spin[my_spin.index(2017) + 1]))
def spin_2(step):
pos = 0
res = 0
for i in range(1, 50000000):
pos = (pos + step) % i + 1
if pos == 1:
res = i
return res
print('Part 2: {}'.format(spin_2(349))) |
#https://leetcode.com/problems/linked-list-cycle-ii/
# Definition for singly-linked list.
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def detectCycle(self, head: ListNode) -> ListNode:
#basially you want to see if a pointer is pointing to something more than
#once and you want to check to see. if it is, there is a cycle
# create set
nodes_set = set()
#while loop
while head :
#if head in set, return the head
if head in nodes_set :
return head
#also add the head to the set
nodes_set.add(head)
head = head.next
return None
| class Listnode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def detect_cycle(self, head: ListNode) -> ListNode:
nodes_set = set()
while head:
if head in nodes_set:
return head
nodes_set.add(head)
head = head.next
return None |
DOMAIN = "dyson_cloud"
CONF_REGION = "region"
CONF_AUTH = "auth"
DATA_ACCOUNT = "account"
DATA_DEVICES = "devices"
| domain = 'dyson_cloud'
conf_region = 'region'
conf_auth = 'auth'
data_account = 'account'
data_devices = 'devices' |
class Count:
def countAndSay(self, n: int) -> str:
cou='1'
for i in range(n-1):
j=0
new_count=''
while len(cou)>j:
count=1
while j<len(cou)-1 and cou[j]==cou[j+1]:
count+=1
j+=1
j+=1
new_count=new_count+str(count)+cou[j-1]
cou=new_count
return cou
a=12
b=1
c=8
print(Count().countAndSay(a))
print(Count().countAndSay(b))
print(Count().countAndSay(c)) | class Count:
def count_and_say(self, n: int) -> str:
cou = '1'
for i in range(n - 1):
j = 0
new_count = ''
while len(cou) > j:
count = 1
while j < len(cou) - 1 and cou[j] == cou[j + 1]:
count += 1
j += 1
j += 1
new_count = new_count + str(count) + cou[j - 1]
cou = new_count
return cou
a = 12
b = 1
c = 8
print(count().countAndSay(a))
print(count().countAndSay(b))
print(count().countAndSay(c)) |
power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate Leakage': 0.00662954,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0691322,
'Subthreshold Leakage with power gating': 0.0259246},
'Core': [{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.174335,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.339619,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 1.04625,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.679077,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.17592,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.674421,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.52941,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.510834,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 7.71081,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.197658,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0246171,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.23902,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.182058,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.436678,
'Execution Unit/Register Files/Runtime Dynamic': 0.206675,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.625331,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.57299,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 5.05408,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00304623,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00304623,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00264323,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00101775,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00261528,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.011351,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0295654,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.175017,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.508676,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.594438,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 8.96874,
'Instruction Fetch Unit/Runtime Dynamic': 1.31905,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0662118,
'L2/Runtime Dynamic': 0.013656,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 6.74751,
'Load Store Unit/Data Cache/Runtime Dynamic': 2.65487,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.178274,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.178274,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 7.59279,
'Load Store Unit/Runtime Dynamic': 3.71233,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.439594,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.879187,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.156013,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.157003,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0834025,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.828211,
'Memory Management Unit/Runtime Dynamic': 0.240406,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 29.7285,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.689585,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.0430222,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.341119,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 1.07373,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 11.4132,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0615796,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251056,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.397481,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.271625,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.438121,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.221149,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.930896,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.249722,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.97477,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0750928,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0113932,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.102802,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0842596,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.177894,
'Execution Unit/Register Files/Runtime Dynamic': 0.0956527,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.231973,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.565985,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.24897,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00169362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00169362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00149926,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000593576,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.0012104,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00609689,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0153767,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0810009,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.15235,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.262984,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.275115,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 7.62092,
'Instruction Fetch Unit/Runtime Dynamic': 0.640574,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0341848,
'L2/Runtime Dynamic': 0.0127583,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.13076,
'Load Store Unit/Data Cache/Runtime Dynamic': 0.93655,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0612638,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0612638,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 3.42006,
'Load Store Unit/Runtime Dynamic': 1.29995,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.151066,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.302132,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0536138,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0541262,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.320354,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0431153,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.568562,
'Memory Management Unit/Runtime Dynamic': 0.0972415,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 20.208,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.197535,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0146589,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.135229,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.347422,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.64691,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0626736,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251915,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.339207,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.225648,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.363961,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.183715,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.773324,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.20607,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.8234,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0640835,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00946467,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.091875,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.069997,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.155958,
'Execution Unit/Register Files/Runtime Dynamic': 0.0794617,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.209227,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.528695,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.03877,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00132731,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00132731,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00116334,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000454318,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00100551,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00482347,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0124668,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.06729,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.28021,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.201115,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.228547,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 6.70646,
'Instruction Fetch Unit/Runtime Dynamic': 0.514242,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0383632,
'L2/Runtime Dynamic': 0.00837484,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 4.13384,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.39245,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0937158,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0937158,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.57639,
'Load Store Unit/Runtime Dynamic': 1.94834,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.231087,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.462174,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0820136,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0825895,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.266128,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0329704,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.563122,
'Memory Management Unit/Runtime Dynamic': 0.11556,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 20.2972,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.168574,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0122321,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.112254,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.29306,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.91835,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0728054,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.259873,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.449684,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.285636,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.46072,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.232556,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.978911,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.257742,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 5.08729,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0849549,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0119808,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.111596,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0886057,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.196551,
'Execution Unit/Register Files/Runtime Dynamic': 0.100587,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.253307,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.653008,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.39776,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00166865,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00166865,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00147149,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000579538,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00127283,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00608162,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0153521,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0851789,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.41811,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.251525,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.289306,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 7.89958,
'Instruction Fetch Unit/Runtime Dynamic': 0.647444,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0277978,
'L2/Runtime Dynamic': 0.00662606,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.94134,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.30356,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.087488,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.087488,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.35448,
'Load Store Unit/Runtime Dynamic': 1.82251,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.215731,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.431461,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0765635,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0769788,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.336878,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0412397,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.62451,
'Memory Management Unit/Runtime Dynamic': 0.118219,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 21.5831,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.223478,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0156068,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.141835,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.380919,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 5.37348,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 1.7131803411726962,
'Runtime Dynamic': 1.7131803411726962,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.115402,
'Runtime Dynamic': 0.070725,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 191.908,
'Gate Leakage': 1.53485,
'Peak Dynamic': 91.9322,
'Peak Power': 125.044,
'Runtime Dynamic': 26.4227,
'Subthreshold Leakage': 31.5774,
'Subthreshold Leakage with power gating': 13.9484,
'Total Cores/Area': 128.669,
'Total Cores/Gate Leakage': 1.4798,
'Total Cores/Peak Dynamic': 91.8167,
'Total Cores/Runtime Dynamic': 26.352,
'Total Cores/Subthreshold Leakage': 24.7074,
'Total Cores/Subthreshold Leakage with power gating': 10.2429,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.115402,
'Total L3s/Runtime Dynamic': 0.070725,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 33.1122,
'Total NoCs/Area': 1.33155,
'Total NoCs/Gate Leakage': 0.00662954,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0691322,
'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}} | power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.174335, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.339619, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.04625, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.679077, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.17592, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.674421, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.52941, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.510834, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 7.71081, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.197658, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0246171, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.23902, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.182058, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.436678, 'Execution Unit/Register Files/Runtime Dynamic': 0.206675, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.625331, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.57299, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.05408, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00304623, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00304623, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00264323, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00101775, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00261528, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.011351, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0295654, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.175017, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.508676, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.594438, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.31905, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0662118, 'L2/Runtime Dynamic': 0.013656, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 6.74751, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.65487, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.178274, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.178274, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 7.59279, 'Load Store Unit/Runtime Dynamic': 3.71233, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.439594, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.879187, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.156013, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.157003, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0834025, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.828211, 'Memory Management Unit/Runtime Dynamic': 0.240406, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 29.7285, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.689585, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0430222, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.341119, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 1.07373, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 11.4132, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0615796, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251056, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.397481, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.271625, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.438121, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.221149, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.930896, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.249722, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.97477, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0750928, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0113932, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.102802, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0842596, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.177894, 'Execution Unit/Register Files/Runtime Dynamic': 0.0956527, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.231973, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.565985, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.24897, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00169362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00169362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00149926, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000593576, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.0012104, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00609689, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0153767, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0810009, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.15235, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.262984, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.275115, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.62092, 'Instruction Fetch Unit/Runtime Dynamic': 0.640574, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0341848, 'L2/Runtime Dynamic': 0.0127583, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.13076, 'Load Store Unit/Data Cache/Runtime Dynamic': 0.93655, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0612638, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0612638, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.42006, 'Load Store Unit/Runtime Dynamic': 1.29995, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.151066, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.302132, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0536138, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0541262, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.320354, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0431153, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.568562, 'Memory Management Unit/Runtime Dynamic': 0.0972415, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.208, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.197535, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0146589, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.135229, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.347422, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.64691, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0626736, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251915, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.339207, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.225648, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.363961, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.183715, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.773324, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.20607, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 4.8234, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0640835, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00946467, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.091875, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.069997, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.155958, 'Execution Unit/Register Files/Runtime Dynamic': 0.0794617, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.209227, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.528695, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.03877, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00132731, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00132731, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00116334, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000454318, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00100551, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00482347, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0124668, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.06729, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.28021, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.201115, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.228547, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 6.70646, 'Instruction Fetch Unit/Runtime Dynamic': 0.514242, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0383632, 'L2/Runtime Dynamic': 0.00837484, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 4.13384, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.39245, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0937158, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0937158, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.57639, 'Load Store Unit/Runtime Dynamic': 1.94834, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.231087, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.462174, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0820136, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0825895, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.266128, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0329704, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.563122, 'Memory Management Unit/Runtime Dynamic': 0.11556, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.2972, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.168574, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0122321, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.112254, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.29306, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.91835, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.0728054, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.259873, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.449684, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.285636, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.46072, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.232556, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.978911, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.257742, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.08729, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0849549, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0119808, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.111596, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0886057, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.196551, 'Execution Unit/Register Files/Runtime Dynamic': 0.100587, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.253307, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.653008, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.39776, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00166865, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00166865, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00147149, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000579538, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00127283, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00608162, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0153521, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0851789, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.41811, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.251525, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.289306, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.89958, 'Instruction Fetch Unit/Runtime Dynamic': 0.647444, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0277978, 'L2/Runtime Dynamic': 0.00662606, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.94134, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.30356, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.087488, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.087488, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.35448, 'Load Store Unit/Runtime Dynamic': 1.82251, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.215731, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.431461, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0765635, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0769788, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.336878, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0412397, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.62451, 'Memory Management Unit/Runtime Dynamic': 0.118219, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 21.5831, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.223478, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0156068, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.141835, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.380919, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.37348, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 1.7131803411726962, 'Runtime Dynamic': 1.7131803411726962, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.115402, 'Runtime Dynamic': 0.070725, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 91.9322, 'Peak Power': 125.044, 'Runtime Dynamic': 26.4227, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 91.8167, 'Total Cores/Runtime Dynamic': 26.352, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.115402, 'Total L3s/Runtime Dynamic': 0.070725, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}} |
api_url = "https://developer-api.nest.com"
cam_url = "https://www.dropcam.com/api/wwn.get_snapshot/CjZKT2ljN2JJTGxIYzd3emF2S01DRFFtbm5Na2VGZzYwOEJaaUNVcG9oX3RYaHFSdDktY1JDTlESFk01T2dKTVg3cW1CQ0NGX202eEJYYVEaNkc4SElfUUpZbmtFUFlyZmR1M3lJUXV5OFZyUjdVU0QwdWljbWlLUU1rNXRBVW93RzNHWXVfZw?auth=019N06kj4pw8zmue62OkCF8p2yhICbCoq1YJMcwsB02rwNh9RxP2jHLCy8fCepGMcfuy5ncaAkVeXka0pQaZ0Abtw0onR5diVw2loCucihvKPDSBSk5SgcK9bGq_8VIrPfuFUJBV68v647wAadtLiA82n_gHRUeNzxMjz5hghCYSlGC5cTiUsvoOq2CEQdCDKrhuNg8M0OKal8"
auth = {
"auth": "019N06kj4pw8zmue62OkCF8p2yhICbCoq1YJMcwsB02rwNh9RxP2jHLCy8fCepGMcfuy5ncaAkVeXka0pQaZ0Abtw0onR5diVw2loCucihvKPDSBSk5SgcK9bGq_8VIrPfuFUJBV68v647wAadtLiA82n_gHRUeNzxMjz5hghCYSlGC5cTiUsvoOq2CEQdCDKrhuNg8M0OKal8"}
headers = {
'Content-Type': "application/json",
'Authorization': "Bearer c.btukZ0beLsaESdqng7aSdLx8EI4A3HajKSLztDaDK1e2WfzPyozQqBqWJUhlWoRVzwvHegdlgR94mW0HctEd0MTJO59SLGgFI2QwGKuSilnaEYuNJhGoF9obI3ap3tJDRLZvRwfhRrs6z79q",
'cache-control': "no-cache",
'Postman-Token': "7fb3a407-5a70-4b53-8b98-9d26178ed5fb"
}
face_cascade="./data/haarcascade_frontalface_default.xml" | api_url = 'https://developer-api.nest.com'
cam_url = 'https://www.dropcam.com/api/wwn.get_snapshot/CjZKT2ljN2JJTGxIYzd3emF2S01DRFFtbm5Na2VGZzYwOEJaaUNVcG9oX3RYaHFSdDktY1JDTlESFk01T2dKTVg3cW1CQ0NGX202eEJYYVEaNkc4SElfUUpZbmtFUFlyZmR1M3lJUXV5OFZyUjdVU0QwdWljbWlLUU1rNXRBVW93RzNHWXVfZw?auth=019N06kj4pw8zmue62OkCF8p2yhICbCoq1YJMcwsB02rwNh9RxP2jHLCy8fCepGMcfuy5ncaAkVeXka0pQaZ0Abtw0onR5diVw2loCucihvKPDSBSk5SgcK9bGq_8VIrPfuFUJBV68v647wAadtLiA82n_gHRUeNzxMjz5hghCYSlGC5cTiUsvoOq2CEQdCDKrhuNg8M0OKal8'
auth = {'auth': '019N06kj4pw8zmue62OkCF8p2yhICbCoq1YJMcwsB02rwNh9RxP2jHLCy8fCepGMcfuy5ncaAkVeXka0pQaZ0Abtw0onR5diVw2loCucihvKPDSBSk5SgcK9bGq_8VIrPfuFUJBV68v647wAadtLiA82n_gHRUeNzxMjz5hghCYSlGC5cTiUsvoOq2CEQdCDKrhuNg8M0OKal8'}
headers = {'Content-Type': 'application/json', 'Authorization': 'Bearer c.btukZ0beLsaESdqng7aSdLx8EI4A3HajKSLztDaDK1e2WfzPyozQqBqWJUhlWoRVzwvHegdlgR94mW0HctEd0MTJO59SLGgFI2QwGKuSilnaEYuNJhGoF9obI3ap3tJDRLZvRwfhRrs6z79q', 'cache-control': 'no-cache', 'Postman-Token': '7fb3a407-5a70-4b53-8b98-9d26178ed5fb'}
face_cascade = './data/haarcascade_frontalface_default.xml' |
nome = str(input('Qual seu nome completo? '))
print('Tem SILVA no nome?')
print('Silva' in nome)
| nome = str(input('Qual seu nome completo? '))
print('Tem SILVA no nome?')
print('Silva' in nome) |
def solve(n, m, k):
ncard = len(k)
for i1 in range(ncard):
n1 = k[i1]
for i2 in range(ncard):
n2 = k[i2]
for i3 in range(ncard):
n3 = k[i3]
for i4 in range(ncard):
if n1 + n2 + n3 + k[i4] == m:
print("Yes")
return
print("No")
return
n: int = 3
m: int = 10
k = (1, 3, 5)
solve(n, m, k)
solve(3, 9, (1, 3, 5)) | def solve(n, m, k):
ncard = len(k)
for i1 in range(ncard):
n1 = k[i1]
for i2 in range(ncard):
n2 = k[i2]
for i3 in range(ncard):
n3 = k[i3]
for i4 in range(ncard):
if n1 + n2 + n3 + k[i4] == m:
print('Yes')
return
print('No')
return
n: int = 3
m: int = 10
k = (1, 3, 5)
solve(n, m, k)
solve(3, 9, (1, 3, 5)) |
def edge_rotate(edge, ccw=False):
pass
def edge_split(edge, vert, fac):
pass
def face_flip(faces):
pass
def face_join(faces, remove=True):
pass
def face_split(face, vert_a, vert_b, coords=(), use_exist=True, example=None):
pass
def face_split_edgenet(face, edgenet):
pass
def face_vert_separate(face, vert):
pass
def loop_separate(loop):
pass
def vert_collapse_edge(vert, edge):
pass
def vert_collapse_faces(vert, edge, fac, join_faces):
pass
def vert_dissolve(vert):
pass
def vert_separate(vert, edges):
pass
def vert_splice(vert, vert_target):
pass
| def edge_rotate(edge, ccw=False):
pass
def edge_split(edge, vert, fac):
pass
def face_flip(faces):
pass
def face_join(faces, remove=True):
pass
def face_split(face, vert_a, vert_b, coords=(), use_exist=True, example=None):
pass
def face_split_edgenet(face, edgenet):
pass
def face_vert_separate(face, vert):
pass
def loop_separate(loop):
pass
def vert_collapse_edge(vert, edge):
pass
def vert_collapse_faces(vert, edge, fac, join_faces):
pass
def vert_dissolve(vert):
pass
def vert_separate(vert, edges):
pass
def vert_splice(vert, vert_target):
pass |
class ESKException(Exception):
def __init__(self, status_code, message):
self.status = status_code
self.message = message
def __str__(self) -> str:
return f"{ self.status }: { self.message }" | class Eskexception(Exception):
def __init__(self, status_code, message):
self.status = status_code
self.message = message
def __str__(self) -> str:
return f'{self.status}: {self.message}' |
def requests_utils(request):
host = request.get_host()
port = request.get_port()
uri = '{}'.format(host)
real_uri = request.build_absolute_uri()
return {
'host': host,
'port': port,
'secure_uri': 'https://{}'.format(uri),
'insecure_uri': 'http://{}'.format(uri),
'real_uri': real_uri
}
| def requests_utils(request):
host = request.get_host()
port = request.get_port()
uri = '{}'.format(host)
real_uri = request.build_absolute_uri()
return {'host': host, 'port': port, 'secure_uri': 'https://{}'.format(uri), 'insecure_uri': 'http://{}'.format(uri), 'real_uri': real_uri} |
'''
Problem description:
Write a function, which takes a non-negative integer (seconds) as input and returns
the time in a human-readable format (HH:MM:SS)
HH = hours, padded to 2 digits, range: 00 - 99
MM = minutes, padded to 2 digits, range: 00 - 59
SS = seconds, padded to 2 digits, range: 00 - 59
The maximum time never exceeds 359999 (99:59:59)
You can find some examples in the test fixtures.
'''
def make_readable(seconds):
h = seconds // 3600
m = int((seconds % 3600) / 60)
s = ((seconds % 3600) % 60)
return f"{h:02d}:{m:02d}:{s:02d}" | """
Problem description:
Write a function, which takes a non-negative integer (seconds) as input and returns
the time in a human-readable format (HH:MM:SS)
HH = hours, padded to 2 digits, range: 00 - 99
MM = minutes, padded to 2 digits, range: 00 - 59
SS = seconds, padded to 2 digits, range: 00 - 59
The maximum time never exceeds 359999 (99:59:59)
You can find some examples in the test fixtures.
"""
def make_readable(seconds):
h = seconds // 3600
m = int(seconds % 3600 / 60)
s = seconds % 3600 % 60
return f'{h:02d}:{m:02d}:{s:02d}' |
# -*- coding: utf-8 -*-
# Fixed for our Hot Dog & Pizza classes
NUM_CLASSES = 2
# Fixed for Hot Dog & Pizza color images
CHANNELS = 3
IMAGE_RESIZE = 224
RESNET50_POOLING_AVERAGE = 'avg'
DENSE_LAYER_ACTIVATION = 'sigmoid'
OBJECTIVE_FUNCTION = 'binary_crossentropy'
# The name of the .h5 file containing the pretrained weights for the ResNet50
WEIGHTS_FILE = 'resnet50_weights_notop.h5'
SCALE = 300
| num_classes = 2
channels = 3
image_resize = 224
resnet50_pooling_average = 'avg'
dense_layer_activation = 'sigmoid'
objective_function = 'binary_crossentropy'
weights_file = 'resnet50_weights_notop.h5'
scale = 300 |
# First Missing Positive: https://leetcode.com/problems/first-missing-positive/
# Given an unsorted integer array nums, find the smallest missing positive integer.
# You must implement an algorithm that runs in O(n) time and uses constant extra space.
# The brute force of this is to look through all of nums for each 1 -> k until you find the missing k
# this is quite bad as you will need to duplicate lots of work
# Alternatively you could sort the array and do the same thing as you know that you can quickly
# find the first missing by mobing i and left pointer across this is o(nlogn)
# The problem suggests that we could do this in o(n) with constant space and I believe the way to
# do this is to simply swap the value to negative if we have seen it and the first index that
# isn't negative is the one that is missing
class Solution:
def firstMissingPositive(self, nums) -> int:
# Check if we even have the start otherwise this doesn't matter
hasOne = False
# We also need to remove invalid values from our list aka negatives and 0s as they
# Give us false positives
for i in range(len(nums)):
if nums[i] == 1:
hasOne = True
if nums[i] <= 0:
# Since we already checked for one we can
# Simply make all invalid numbers equal to one
nums[i] = 1
if not hasOne:
return 1
# Also check if we have just one
if hasOne and len(nums) == 1:
return 2
for index in range(len(nums)):
# get our current number and make sure it is the positive version
curNumber = abs(nums[index])
# If the location in the area is positive turn it to negative to mark that we have seen it
if curNumber - 1 < len(nums) and nums[curNumber - 1] > 0:
nums[curNumber - 1] = -nums[curNumber - 1]
# Now that everything is marked we can run a for loop and find the first missing based off of the
# first positive we see
for i in range(len(nums)):
if nums[i] > 0:
return i + 1
return len(nums) + 1
# My initial intuiton on this problem was correct there are a few weird things we want to take care of that I hadn't considered
# If we have 0 or a negative value we need to remove them but how do we do so?
# The answer is we check if we have one and then make all those values = to 1 so that we know what to add these values with
# Now is there other optimizations on this problem? For sure by using a set we can have an o(1) look up so just loop
# n times and add all numbers to a set and then simply loop from 1 -> k and see if it is in set which will run in o(k) time and o(n) space
# Score Card
# Did I need hints? Nope
# Did you finish within 30 min? 30
# Was the solution optimal? See above
# Were there any bugs? i forgot to add a return that says len(nums) + 1 at the end in case we have every number from 1 -> len(nums)
# 5 3 5 3 = 4
| class Solution:
def first_missing_positive(self, nums) -> int:
has_one = False
for i in range(len(nums)):
if nums[i] == 1:
has_one = True
if nums[i] <= 0:
nums[i] = 1
if not hasOne:
return 1
if hasOne and len(nums) == 1:
return 2
for index in range(len(nums)):
cur_number = abs(nums[index])
if curNumber - 1 < len(nums) and nums[curNumber - 1] > 0:
nums[curNumber - 1] = -nums[curNumber - 1]
for i in range(len(nums)):
if nums[i] > 0:
return i + 1
return len(nums) + 1 |
n = int(input())
A = list(map(int, input().split()))
abs_sum = 0
minus = 0
abs_list = []
for i in range(n):
if A[i] < 0:
minus += 1
abs_list.append(abs(A[i]))
abs_sum += abs_list[i]
if minus % 2 != 0:
abs_sum -= min(abs_list)*2
print(abs_sum)
| n = int(input())
a = list(map(int, input().split()))
abs_sum = 0
minus = 0
abs_list = []
for i in range(n):
if A[i] < 0:
minus += 1
abs_list.append(abs(A[i]))
abs_sum += abs_list[i]
if minus % 2 != 0:
abs_sum -= min(abs_list) * 2
print(abs_sum) |
def main():
_, array = input(), map(int, input().split())
A, B = (set(map(int, input().split())) for _ in range(2))
print(sum((x in A) - (x in B) for x in array))
if __name__ == '__main__':
main()
| def main():
(_, array) = (input(), map(int, input().split()))
(a, b) = (set(map(int, input().split())) for _ in range(2))
print(sum(((x in A) - (x in B) for x in array)))
if __name__ == '__main__':
main() |
class Solution:
def longestCommonPrefix(self, strs: List[str]) -> str:
if len(strs)==1:
return strs[0]
minlen = min([len(each) for each in strs])
result=""
for i in range(minlen):
basis = strs[-1][i]
for j in range(len(strs)-1):
if basis!=strs[j][i]:
return result
result+=basis
return result
# case: long common string (not prefix)
# result=""
# for s1 in strs[0]:
# nolook=False
# for s2 in strs[1:]:
# if result+s1 not in s2:
# nolook=True
# break
# print(s1, s2, result, nolook)
# if nolook==False:
# result+=s1
# return result | class Solution:
def longest_common_prefix(self, strs: List[str]) -> str:
if len(strs) == 1:
return strs[0]
minlen = min([len(each) for each in strs])
result = ''
for i in range(minlen):
basis = strs[-1][i]
for j in range(len(strs) - 1):
if basis != strs[j][i]:
return result
result += basis
return result |
def PlusOne(arr:list) -> list:
string = ''
for x in arr:
string = string + str(x)
number = int(string) + 1
new_arr = []
for x in str(number):
new_arr.append(int(x))
return new_arr
arr = [0]
new_arr = PlusOne(arr)
print(new_arr) | def plus_one(arr: list) -> list:
string = ''
for x in arr:
string = string + str(x)
number = int(string) + 1
new_arr = []
for x in str(number):
new_arr.append(int(x))
return new_arr
arr = [0]
new_arr = plus_one(arr)
print(new_arr) |
a = list(map(str,input().split()))
b = []
c = 0
d = []
e = []
while a!= ['-1']:
b.append(a)
a = list(map(str,input().split()))
for i in b:
e += [[i[1],i[2]]]
if i[2] == 'right':
c += int(i[0])
for k in range(65,91):
count = 0
for l in e:
count += l.count(chr(k))
for l in e:
if l[0] == chr(k):
if l[1] == 'right':
c += (count-1)*20
d.append(chr(k))
print(str(len(d)) +' ' + str(c))
| a = list(map(str, input().split()))
b = []
c = 0
d = []
e = []
while a != ['-1']:
b.append(a)
a = list(map(str, input().split()))
for i in b:
e += [[i[1], i[2]]]
if i[2] == 'right':
c += int(i[0])
for k in range(65, 91):
count = 0
for l in e:
count += l.count(chr(k))
for l in e:
if l[0] == chr(k):
if l[1] == 'right':
c += (count - 1) * 20
d.append(chr(k))
print(str(len(d)) + ' ' + str(c)) |
#!/usr/bin/env python3
class filterParameter:
def __init__(self):
self.newData = {}
self.arrayParameter = []
def filterKeyValueParameter(self, data):
for key, value in data.items():
if "." not in key and value != '':
self.newData[key] = value
return self.newData
def filterArrayParameter(self, data):
for key, value in data.items():
if "." in key and "#" not in key and "tags" not in key and int(len(key.split("."))) == 2:
self.arrayParameter.append(key.split(".")[0])
arrayParameterSet = set(self.arrayParameter)
for parameter in arrayParameterSet:
newList = []
for key, value in data.items():
if "#" not in key and parameter in key and value != '':
newList.append(value)
self.newData[parameter.split('.')[0]] = newList
return self.newData
## Special thanks to hung_pt for this function
def filterMappingParameter(self, data):
def isValid(key):
if '.' in key and 'tags' not in key and '#' not in key:
return True
else:
return False
def processAllLevel(keys, value, data, repeat=0, isLastArr=False):
if repeat == len(keys) - 1:
if isLastArr != True:
return data.update({keys[repeat]: value})
else:
return data.append(value)
else:
if repeat + 1 == len(keys) - 1:
try:
int(keys[repeat+1])
data.setdefault(keys[repeat], [])
isLastArr = True
except:
data.setdefault(keys[repeat], {})
else:
data.setdefault(keys[repeat], {})
data = processAllLevel(
keys, value, data[keys[repeat]], repeat + 1, isLastArr)
def powerVersion(data):
result = {}
for key, value in data.items():
if isValid(key) == True:
if len(key.split('.')) >= 3:
processAllLevel(key.split('.'), value, result)
return result
self.newData = powerVersion(data)
return self.newData
def filterTagsParameter(self, data):
for key, value in data.items():
newDict = {}
if 'tags' in key and '%' not in key and '.' in key:
newDict[key.split('tags.')[1]] = value
self.newData.setdefault(key.split('.')[0], {}).update(newDict)
return self.newData | class Filterparameter:
def __init__(self):
self.newData = {}
self.arrayParameter = []
def filter_key_value_parameter(self, data):
for (key, value) in data.items():
if '.' not in key and value != '':
self.newData[key] = value
return self.newData
def filter_array_parameter(self, data):
for (key, value) in data.items():
if '.' in key and '#' not in key and ('tags' not in key) and (int(len(key.split('.'))) == 2):
self.arrayParameter.append(key.split('.')[0])
array_parameter_set = set(self.arrayParameter)
for parameter in arrayParameterSet:
new_list = []
for (key, value) in data.items():
if '#' not in key and parameter in key and (value != ''):
newList.append(value)
self.newData[parameter.split('.')[0]] = newList
return self.newData
def filter_mapping_parameter(self, data):
def is_valid(key):
if '.' in key and 'tags' not in key and ('#' not in key):
return True
else:
return False
def process_all_level(keys, value, data, repeat=0, isLastArr=False):
if repeat == len(keys) - 1:
if isLastArr != True:
return data.update({keys[repeat]: value})
else:
return data.append(value)
else:
if repeat + 1 == len(keys) - 1:
try:
int(keys[repeat + 1])
data.setdefault(keys[repeat], [])
is_last_arr = True
except:
data.setdefault(keys[repeat], {})
else:
data.setdefault(keys[repeat], {})
data = process_all_level(keys, value, data[keys[repeat]], repeat + 1, isLastArr)
def power_version(data):
result = {}
for (key, value) in data.items():
if is_valid(key) == True:
if len(key.split('.')) >= 3:
process_all_level(key.split('.'), value, result)
return result
self.newData = power_version(data)
return self.newData
def filter_tags_parameter(self, data):
for (key, value) in data.items():
new_dict = {}
if 'tags' in key and '%' not in key and ('.' in key):
newDict[key.split('tags.')[1]] = value
self.newData.setdefault(key.split('.')[0], {}).update(newDict)
return self.newData |
class Module:
def __init__(self,name,lessons,course):
self.course = course
self.plataform = self.course.plataform
self.name = name
self.lessons = lessons
| class Module:
def __init__(self, name, lessons, course):
self.course = course
self.plataform = self.course.plataform
self.name = name
self.lessons = lessons |
sexo = str(input("Digite o seu genero [M] ou [F] ")).strip().upper()[0]
while(sexo not in "MmFf"):
sexo = input("Dados invalidos. Digite o seu genero [M] ou [F] ").strip().upper()
print("Sexo Cadastrado com sucesso! Obrigado!")
| sexo = str(input('Digite o seu genero [M] ou [F] ')).strip().upper()[0]
while sexo not in 'MmFf':
sexo = input('Dados invalidos. Digite o seu genero [M] ou [F] ').strip().upper()
print('Sexo Cadastrado com sucesso! Obrigado!') |
numbers = [int(x) for x in list(input())]
def odd_and_even_sum():
even_sum = 0
odd_sum = 0
for current_number in numbers:
if current_number % 2 == 0:
even_sum += current_number
else:
odd_sum += current_number
print(f"Odd sum = {odd_sum}, Even sum = {even_sum}")
odd_and_even_sum()
| numbers = [int(x) for x in list(input())]
def odd_and_even_sum():
even_sum = 0
odd_sum = 0
for current_number in numbers:
if current_number % 2 == 0:
even_sum += current_number
else:
odd_sum += current_number
print(f'Odd sum = {odd_sum}, Even sum = {even_sum}')
odd_and_even_sum() |
#
# File: recordedfuture_consts.py
#
# Copyright (c) Recorded Future, Inc., 2019-2020
#
# This unpublished material is proprietary to Recorded Future.
# All rights reserved. The methods and
# techniques described herein are considered trade secrets
# and/or confidential. Reproduction or distribution, in whole
# or in part, is forbidden except by express written permission
# of Recorded Future.
#
# ---------------------------------------------
# Phantom Recorded Future Connector python file
# ---------------------------------------------
# Define your constants here
version = '2.1.0-rc1'
buildid = '139690'
# These dicts map which path_info, which fields, what the Recorded Future
# category is called and whether to quote the entity or not.
# They are used to make the reputation/intelligence method parameterized.
# (path_info template, fields, quote parameter)
INTELLIGENCE_MAP = {
'ip': ('/ip/%s',
['entity', 'risk', 'timestamps', "threatLists", "intelCard",
"metrics", "location", "relatedEntities"],
'ip',
False),
'domain': ('/domain/idn:%s',
['entity', 'risk', 'timestamps', "threatLists",
"intelCard", "metrics", "relatedEntities"],
'domain',
False),
'file': ('/hash/%s',
['entity', 'risk', 'timestamps', "threatLists", "intelCard",
"metrics", "hashAlgorithm", "relatedEntities"],
'hash',
False),
'vulnerability': ('/vulnerability/%s',
['entity', 'risk', 'timestamps', "threatLists",
"intelCard",
"metrics", "cvss", "nvdDescription", "relatedEntities"],
'vulnerability',
False),
'url': ('/url/%s',
['entity', 'risk', 'timestamps', "metrics", "relatedEntities"],
'url',
True),
}
| version = '2.1.0-rc1'
buildid = '139690'
intelligence_map = {'ip': ('/ip/%s', ['entity', 'risk', 'timestamps', 'threatLists', 'intelCard', 'metrics', 'location', 'relatedEntities'], 'ip', False), 'domain': ('/domain/idn:%s', ['entity', 'risk', 'timestamps', 'threatLists', 'intelCard', 'metrics', 'relatedEntities'], 'domain', False), 'file': ('/hash/%s', ['entity', 'risk', 'timestamps', 'threatLists', 'intelCard', 'metrics', 'hashAlgorithm', 'relatedEntities'], 'hash', False), 'vulnerability': ('/vulnerability/%s', ['entity', 'risk', 'timestamps', 'threatLists', 'intelCard', 'metrics', 'cvss', 'nvdDescription', 'relatedEntities'], 'vulnerability', False), 'url': ('/url/%s', ['entity', 'risk', 'timestamps', 'metrics', 'relatedEntities'], 'url', True)} |
#App.open("Yousician Launcher.app")
#wait("png/home.png", 60)
App.focus("Yousician")
click("png/settings.png")
wait("png/guitar.png")
click("png/guitar.png")
wait("png/challenges.png")
click("png/challenges.png")
wait("png/history.png")
click("png/history.png")
wait(1)
click(Location(700, 400))
wait(1)
print(Region(100,100,1266,100).text())
print(Region(457,231,647,516).text())
print(Region(1260,250,80,500).text())
App.focus("Firefox")
| App.focus('Yousician')
click('png/settings.png')
wait('png/guitar.png')
click('png/guitar.png')
wait('png/challenges.png')
click('png/challenges.png')
wait('png/history.png')
click('png/history.png')
wait(1)
click(location(700, 400))
wait(1)
print(region(100, 100, 1266, 100).text())
print(region(457, 231, 647, 516).text())
print(region(1260, 250, 80, 500).text())
App.focus('Firefox') |
def sumOfDigits(n):
if n <= 9:
return n
recAns = sumOfDigits(n//10)
return recAns + (n % 10)
print(sumOfDigits(984))
| def sum_of_digits(n):
if n <= 9:
return n
rec_ans = sum_of_digits(n // 10)
return recAns + n % 10
print(sum_of_digits(984)) |
'''
Module containing configuration for ExternalUrl objects.
'''
# dictionary of External URL (key, type)
EXTERNAL_URL_TYPES = {
"BLOG" : "blog",
"REPOSITORY": "repository",
"HOMEPAGE": "homepage",
"REFERENCE": "reference",
"TRACKER": "tracker",
"USECASE": "usecase",
"POLICY": "policy",
"ROADMAPS": "roadmaps",
"DOWNLOAD": "download",
"ADMIN_DOCS": "admin_docs",
"USER_DOCS": "user_docs",
"FAQ": "faq",
"CODE_EXAMPLE": "code_example",
"DEV_DOCS": "dev_docs",
"TESTING": "testing",
"CHECKLIST": "checklist",
"PRIORITIZATION": "prioritization",
"MINUTE": "minute",
"METRIC": "metric",
"RELEASE_SCHEDULE": "release_schedule",
}
class ExternalUrlConf(object):
'''Simple class for holding configuration information about External URL pages.'''
def __init__(self, suburl, label, type):
self.suburl = suburl
self.label = label
self.type = type
class ExternalUrlManager(object):
'''Class managing configuration for External URLs.'''
def __init__(self):
# list of pre-defined External URL pages
self.EXTERNAL_URL_PAGES = [ ExternalUrlConf('blogs', 'Blog', EXTERNAL_URL_TYPES["BLOG"]),
ExternalUrlConf('repositories', 'Repositories', EXTERNAL_URL_TYPES["REPOSITORY"]),
ExternalUrlConf('', 'Home Page', EXTERNAL_URL_TYPES["HOMEPAGE"]),
ExternalUrlConf('', 'Reference', EXTERNAL_URL_TYPES["REFERENCE"]),
ExternalUrlConf('trackers', 'Trackers', EXTERNAL_URL_TYPES["TRACKER"]),
ExternalUrlConf('usecases', 'Use Cases', EXTERNAL_URL_TYPES["USECASE"]),
ExternalUrlConf('policies',' Policies', EXTERNAL_URL_TYPES["POLICY"]),
ExternalUrlConf('roadmap', 'Roadmaps', EXTERNAL_URL_TYPES["ROADMAPS"]),
ExternalUrlConf('download', 'Download / Releases', EXTERNAL_URL_TYPES["DOWNLOAD"]),
ExternalUrlConf('admin_docs', 'Install / Admin Docs', EXTERNAL_URL_TYPES["ADMIN_DOCS"]),
ExternalUrlConf('user_docs', 'User Docs', EXTERNAL_URL_TYPES["USER_DOCS"]),
ExternalUrlConf('faq', 'FAQ', EXTERNAL_URL_TYPES["FAQ"]),
ExternalUrlConf('code_examples', 'Code Examples', EXTERNAL_URL_TYPES["CODE_EXAMPLE"]),
ExternalUrlConf('dev_docs', 'Dev Docs', EXTERNAL_URL_TYPES["DEV_DOCS"]),
ExternalUrlConf('testing', 'Testing', EXTERNAL_URL_TYPES["TESTING"]),
ExternalUrlConf('checklist', 'Checklists', EXTERNAL_URL_TYPES["CHECKLIST"]),
ExternalUrlConf('prioritization', 'Prioritization', EXTERNAL_URL_TYPES["PRIORITIZATION"]),
ExternalUrlConf('metrics', 'Metrics', EXTERNAL_URL_TYPES["METRIC"]),
ExternalUrlConf('release_schedules', 'Release Schedules', EXTERNAL_URL_TYPES["RELEASE_SCHEDULE"]),
]
# map frm suburl -> ExternalUrlConf instance
self.EXTERNAL_URL_SUBURL_MAP = {}
# map from type -> ExternalUrlConf instance
self.EXTERNAL_URL_TYPE_MAP = {}
for obj in self.EXTERNAL_URL_PAGES:
self.EXTERNAL_URL_SUBURL_MAP[obj.suburl] = obj
self.EXTERNAL_URL_TYPE_MAP[obj.type] = obj
def getConf(self, suburl=None, type=None):
'''Returns the configuration for a given type (checked first), suburl (checked second), or None.'''
if type is not None:
return self.EXTERNAL_URL_TYPE_MAP[type]
elif suburl is not None:
return self.EXTERNAL_URL_SUBURL_MAP[suburl]
else:
raise Exception("Suburl or type must be specified")
def external_url_choices(self):
'''Provides valid options when building ExternalUrl choices.'''
return [(obj.type, obj.label) for obj in self.EXTERNAL_URL_PAGES]
# singleton instance
externalUrlManager = ExternalUrlManager()
| """
Module containing configuration for ExternalUrl objects.
"""
external_url_types = {'BLOG': 'blog', 'REPOSITORY': 'repository', 'HOMEPAGE': 'homepage', 'REFERENCE': 'reference', 'TRACKER': 'tracker', 'USECASE': 'usecase', 'POLICY': 'policy', 'ROADMAPS': 'roadmaps', 'DOWNLOAD': 'download', 'ADMIN_DOCS': 'admin_docs', 'USER_DOCS': 'user_docs', 'FAQ': 'faq', 'CODE_EXAMPLE': 'code_example', 'DEV_DOCS': 'dev_docs', 'TESTING': 'testing', 'CHECKLIST': 'checklist', 'PRIORITIZATION': 'prioritization', 'MINUTE': 'minute', 'METRIC': 'metric', 'RELEASE_SCHEDULE': 'release_schedule'}
class Externalurlconf(object):
"""Simple class for holding configuration information about External URL pages."""
def __init__(self, suburl, label, type):
self.suburl = suburl
self.label = label
self.type = type
class Externalurlmanager(object):
"""Class managing configuration for External URLs."""
def __init__(self):
self.EXTERNAL_URL_PAGES = [external_url_conf('blogs', 'Blog', EXTERNAL_URL_TYPES['BLOG']), external_url_conf('repositories', 'Repositories', EXTERNAL_URL_TYPES['REPOSITORY']), external_url_conf('', 'Home Page', EXTERNAL_URL_TYPES['HOMEPAGE']), external_url_conf('', 'Reference', EXTERNAL_URL_TYPES['REFERENCE']), external_url_conf('trackers', 'Trackers', EXTERNAL_URL_TYPES['TRACKER']), external_url_conf('usecases', 'Use Cases', EXTERNAL_URL_TYPES['USECASE']), external_url_conf('policies', ' Policies', EXTERNAL_URL_TYPES['POLICY']), external_url_conf('roadmap', 'Roadmaps', EXTERNAL_URL_TYPES['ROADMAPS']), external_url_conf('download', 'Download / Releases', EXTERNAL_URL_TYPES['DOWNLOAD']), external_url_conf('admin_docs', 'Install / Admin Docs', EXTERNAL_URL_TYPES['ADMIN_DOCS']), external_url_conf('user_docs', 'User Docs', EXTERNAL_URL_TYPES['USER_DOCS']), external_url_conf('faq', 'FAQ', EXTERNAL_URL_TYPES['FAQ']), external_url_conf('code_examples', 'Code Examples', EXTERNAL_URL_TYPES['CODE_EXAMPLE']), external_url_conf('dev_docs', 'Dev Docs', EXTERNAL_URL_TYPES['DEV_DOCS']), external_url_conf('testing', 'Testing', EXTERNAL_URL_TYPES['TESTING']), external_url_conf('checklist', 'Checklists', EXTERNAL_URL_TYPES['CHECKLIST']), external_url_conf('prioritization', 'Prioritization', EXTERNAL_URL_TYPES['PRIORITIZATION']), external_url_conf('metrics', 'Metrics', EXTERNAL_URL_TYPES['METRIC']), external_url_conf('release_schedules', 'Release Schedules', EXTERNAL_URL_TYPES['RELEASE_SCHEDULE'])]
self.EXTERNAL_URL_SUBURL_MAP = {}
self.EXTERNAL_URL_TYPE_MAP = {}
for obj in self.EXTERNAL_URL_PAGES:
self.EXTERNAL_URL_SUBURL_MAP[obj.suburl] = obj
self.EXTERNAL_URL_TYPE_MAP[obj.type] = obj
def get_conf(self, suburl=None, type=None):
"""Returns the configuration for a given type (checked first), suburl (checked second), or None."""
if type is not None:
return self.EXTERNAL_URL_TYPE_MAP[type]
elif suburl is not None:
return self.EXTERNAL_URL_SUBURL_MAP[suburl]
else:
raise exception('Suburl or type must be specified')
def external_url_choices(self):
"""Provides valid options when building ExternalUrl choices."""
return [(obj.type, obj.label) for obj in self.EXTERNAL_URL_PAGES]
external_url_manager = external_url_manager() |
def places_per_neighborhood(gfN, gf, neighborhood):
gfNeighborhood = gfN.query('nhood == @neighborhood')
nhood_places = gpd.sjoin(gf, gfNeighborhood, how="inner", op='within')
return(nhood_places)
| def places_per_neighborhood(gfN, gf, neighborhood):
gf_neighborhood = gfN.query('nhood == @neighborhood')
nhood_places = gpd.sjoin(gf, gfNeighborhood, how='inner', op='within')
return nhood_places |
name = input()
age = int(input())
town = input()
salary = float(input())
print(f"Name: {name}\nAge: {age}\nTown: {town}\nSalary: ${salary:.2f}")
age_range = None
if age < 18:
age_range = "teen"
elif age < 70:
age_range = "adult"
else:
age_range = "elder"
print(f"Age range: {age_range}")
salary_range = None
if salary < 500:
salary_range = "low"
elif salary < 2000:
salary_range = "medium"
else:
salary_range = "high"
print(f"Salary range: {salary_range}")
| name = input()
age = int(input())
town = input()
salary = float(input())
print(f'Name: {name}\nAge: {age}\nTown: {town}\nSalary: ${salary:.2f}')
age_range = None
if age < 18:
age_range = 'teen'
elif age < 70:
age_range = 'adult'
else:
age_range = 'elder'
print(f'Age range: {age_range}')
salary_range = None
if salary < 500:
salary_range = 'low'
elif salary < 2000:
salary_range = 'medium'
else:
salary_range = 'high'
print(f'Salary range: {salary_range}') |
# Declare second integer, double, and String variables.
a=int(input())
b=float(input())
c=input()
# Read and save an integer, double, and String to your variables.
# Print the sum of both integer variables on a new line.
print(i+a)
# Print the sum of the double variables on a new line.
print(b+d)
# Concatenate and print the String variables on a new line
# The 's' variable above should be printed first.
print(s+c)
| a = int(input())
b = float(input())
c = input()
print(i + a)
print(b + d)
print(s + c) |
OUTGOING_KEY = "5a4d2016bc16dc64883194ffd9"
INCOMING_KEY = "c91d9eec420160730d825604e0"
STATE_LENGTH = 256
class RC4:
def __init__(self, key):
self.key = bytearray.fromhex(key)
self.x = 0
self.y = 0
self.state = [0] * STATE_LENGTH
self.reset()
def process(self, data):
if isinstance(data, str):
data = bytearray.fromhex(data)
elif isinstance(data, bytes):
data = bytearray(data)
for i in range(len(data)):
self.x = (self.x + 1) % STATE_LENGTH
self.y = (self.y + self.state[self.x]) % STATE_LENGTH
self.state[self.x], self.state[self.y] = self.state[self.y], self.state[self.x]
k = self.state[(self.state[self.x] + self.state[self.y]) % STATE_LENGTH]
data[i] = data[i] ^ k
return data
def reset(self):
self.x = 0
self.y = 0
for i in range(STATE_LENGTH):
self.state[i] = i
i2 = 0
for i in range(STATE_LENGTH):
i2 = (i2 + self.state[i] + self.key[i%len(self.key)]) % STATE_LENGTH
self.state[i], self.state[i2] = self.state[i2], self.state[i]
| outgoing_key = '5a4d2016bc16dc64883194ffd9'
incoming_key = 'c91d9eec420160730d825604e0'
state_length = 256
class Rc4:
def __init__(self, key):
self.key = bytearray.fromhex(key)
self.x = 0
self.y = 0
self.state = [0] * STATE_LENGTH
self.reset()
def process(self, data):
if isinstance(data, str):
data = bytearray.fromhex(data)
elif isinstance(data, bytes):
data = bytearray(data)
for i in range(len(data)):
self.x = (self.x + 1) % STATE_LENGTH
self.y = (self.y + self.state[self.x]) % STATE_LENGTH
(self.state[self.x], self.state[self.y]) = (self.state[self.y], self.state[self.x])
k = self.state[(self.state[self.x] + self.state[self.y]) % STATE_LENGTH]
data[i] = data[i] ^ k
return data
def reset(self):
self.x = 0
self.y = 0
for i in range(STATE_LENGTH):
self.state[i] = i
i2 = 0
for i in range(STATE_LENGTH):
i2 = (i2 + self.state[i] + self.key[i % len(self.key)]) % STATE_LENGTH
(self.state[i], self.state[i2]) = (self.state[i2], self.state[i]) |
# Runtime: 328 ms, faster than 44.59% of Python3 online submissions for 4Sum II.
# Memory Usage: 34 MB, less than 86.63% of Python3 online submissions for 4Sum II.
class Solution:
def fourSumCount(self, A, B, C, D):
ab = {}
for i in A:
for j in B:
ab[i + j] = ab.get(i+j, 0) + 1
res = 0
for i in C:
for j in D:
res += ab.get(-i - j, 0)
return res
| class Solution:
def four_sum_count(self, A, B, C, D):
ab = {}
for i in A:
for j in B:
ab[i + j] = ab.get(i + j, 0) + 1
res = 0
for i in C:
for j in D:
res += ab.get(-i - j, 0)
return res |
# This problem was recently asked by Amazon:
# Given a string, return the first recurring letter that appears. If there are no recurring letters, return None.
def first_recurring_char(s):
# Fill this in.
stack = []
for i in s:
if i in stack:
return i
else:
stack.append(i)
return None
print(first_recurring_char("qwertty"))
# t
print(first_recurring_char("qwerty"))
# None
| def first_recurring_char(s):
stack = []
for i in s:
if i in stack:
return i
else:
stack.append(i)
return None
print(first_recurring_char('qwertty'))
print(first_recurring_char('qwerty')) |
tweets['text'] = map(lambda tweet: tweet['text'], tweets_data)
tweets['lang'] = map(lambda tweet: tweet['lang'], tweets_data)
tweets['country'] = map(lambda tweet: tweet['place']['country']
if tweet['place'] != None else None, tweets_data)
tweets_by_lang = tweets['lang'].value_counts()
fig, ax = plt.subplots(figsize=(20,10))
ax.tick_params(axis='x', labelsize=20)
ax.tick_params(axis='y', labelsize=15)
ax.set_xlabel('Idiomas'.decode('utf-8'), fontsize=20)
ax.set_ylabel('Numero de tweets'.decode('utf-8') , fontsize=20)
ax.set_title('Top 4 Idiomas'.decode('utf-8'),
fontsize=20, fontweight='bold')
tweets_by_lang[:4].plot(ax=ax, kind='bar', color='mediumspringgreen')
plt.grid()
| tweets['text'] = map(lambda tweet: tweet['text'], tweets_data)
tweets['lang'] = map(lambda tweet: tweet['lang'], tweets_data)
tweets['country'] = map(lambda tweet: tweet['place']['country'] if tweet['place'] != None else None, tweets_data)
tweets_by_lang = tweets['lang'].value_counts()
(fig, ax) = plt.subplots(figsize=(20, 10))
ax.tick_params(axis='x', labelsize=20)
ax.tick_params(axis='y', labelsize=15)
ax.set_xlabel('Idiomas'.decode('utf-8'), fontsize=20)
ax.set_ylabel('Numero de tweets'.decode('utf-8'), fontsize=20)
ax.set_title('Top 4 Idiomas'.decode('utf-8'), fontsize=20, fontweight='bold')
tweets_by_lang[:4].plot(ax=ax, kind='bar', color='mediumspringgreen')
plt.grid() |
def readFile(filename):
try:
with open(filename,"r") as f:
print(f.read())
except FileNotFoundError:
print(f"File {filename} is not Found in this Directory.")
readFile("01_i.txt")
readFile("01_ii.txt")
readFile("01_iii.txt")
# ---------------------------------------
# output:- 1st time (Before delete File)
# first File
# Second File
# Thrid File
# output:- 1st time (After delete File)
# first File
# Second File
# File 01_iii.txt is not Found in this Directory. | def read_file(filename):
try:
with open(filename, 'r') as f:
print(f.read())
except FileNotFoundError:
print(f'File {filename} is not Found in this Directory.')
read_file('01_i.txt')
read_file('01_ii.txt')
read_file('01_iii.txt') |
level = 3
name = 'Cilengkrang'
capital = 'Jatiendah'
area = 30.12
| level = 3
name = 'Cilengkrang'
capital = 'Jatiendah'
area = 30.12 |
# Display the DataFrame hours using print
print(hours)
# Create a bar plot from the DataFrame hours
plt.bar(hours.officer, hours.avg_hours_worked)
# Display the plot
plt.show()
# Display the DataFrame hours using print
print(hours)
# Create a bar plot from the DataFrame hours
plt.bar(hours.officer, hours.avg_hours_worked,
# Add error bars
yerr=hours.std_hours_worked)
# Display the plot
plt.show()
# Plot the number of hours spent on desk work
plt.bar(hours.officer, hours.desk_work, label='Desk Work')
# Display the plot
plt.show()
# Plot the number of hours spent on desk work
plt.bar(hours.officer, hours.desk_work, label='Desk Work')
# Plot the hours spent on field work on top of desk work
plt.bar(hours.officer, hours.field_work, bottom=hours.desk_work, label='Field Work')
# Add a legend
plt.legend()
# Display the plot
plt.show()
| print(hours)
plt.bar(hours.officer, hours.avg_hours_worked)
plt.show()
print(hours)
plt.bar(hours.officer, hours.avg_hours_worked, yerr=hours.std_hours_worked)
plt.show()
plt.bar(hours.officer, hours.desk_work, label='Desk Work')
plt.show()
plt.bar(hours.officer, hours.desk_work, label='Desk Work')
plt.bar(hours.officer, hours.field_work, bottom=hours.desk_work, label='Field Work')
plt.legend()
plt.show() |
assert gradient('red', 'blue') == gradient('red', 'blue')
assert gradient('red', 'blue', start='center') == gradient('red', 'blue')
assert gradient('red', 'blue', start='left') == gradient('red', 'blue', start='left')
assert gradient('red', 'blue') != gradient('red', 'blue', start='left')
assert gradient('red', 'blue', start='left') != gradient('red', 'blue')
assert gradient('red', 'green') != gradient('red', 'blue')
assert gradient('red', 'blue', 'orange') != gradient('red', 'blue')
assert rgb(0, 0, 0) == rgb(0, 0, 0)
assert rgb(1, 0, 0) != rgb(0, 0, 0)
assert rgb(0, 1, 0) != rgb(0, 0, 0)
assert rgb(0, 0, 1) != rgb(0, 0, 0)
assert gradient('red', rgb(0, 0, 5)) == gradient('red', rgb(0, 0, 5))
assert gradient('red', rgb(0, 0, 5)) != gradient('red', rgb(0, 5, 0))
assert gradient('red', rgb(0, 0, 5)) != gradient('red', 'green')
assert gradient('red', 'green') != gradient('red', rgb(0, 0, 5))
rect = Rect(50, 50, 150, 150, fill=gradient('orange', 'red'))
assert rect.fill == gradient('orange', 'red')
| assert gradient('red', 'blue') == gradient('red', 'blue')
assert gradient('red', 'blue', start='center') == gradient('red', 'blue')
assert gradient('red', 'blue', start='left') == gradient('red', 'blue', start='left')
assert gradient('red', 'blue') != gradient('red', 'blue', start='left')
assert gradient('red', 'blue', start='left') != gradient('red', 'blue')
assert gradient('red', 'green') != gradient('red', 'blue')
assert gradient('red', 'blue', 'orange') != gradient('red', 'blue')
assert rgb(0, 0, 0) == rgb(0, 0, 0)
assert rgb(1, 0, 0) != rgb(0, 0, 0)
assert rgb(0, 1, 0) != rgb(0, 0, 0)
assert rgb(0, 0, 1) != rgb(0, 0, 0)
assert gradient('red', rgb(0, 0, 5)) == gradient('red', rgb(0, 0, 5))
assert gradient('red', rgb(0, 0, 5)) != gradient('red', rgb(0, 5, 0))
assert gradient('red', rgb(0, 0, 5)) != gradient('red', 'green')
assert gradient('red', 'green') != gradient('red', rgb(0, 0, 5))
rect = rect(50, 50, 150, 150, fill=gradient('orange', 'red'))
assert rect.fill == gradient('orange', 'red') |
class GlobalStorage:
storage = {'design style': 'dark std',
'debugging': False}
def debug(*args):
s = ''
for arg in args:
s += ' '+str(arg)
if GlobalStorage.storage['debugging']:
print(' --> DEBUG:', s)
# yyep, that's it....
# you must be kidding...
# you MUST be
# it's actually true....
# that's ridiculous.
# indeed.
| class Globalstorage:
storage = {'design style': 'dark std', 'debugging': False}
def debug(*args):
s = ''
for arg in args:
s += ' ' + str(arg)
if GlobalStorage.storage['debugging']:
print(' --> DEBUG:', s) |
#!/usr/bin/env python3
def calculate():
I = 10**16
subsets = [0] * 250
subsets[0] = 1
for i in range(1, 250250 +1):
offset = pow(i, i, 250)
subsets = [(val + subsets[(j - offset) % 250]) % I
for (j, val) in enumerate(subsets)]
answer = (subsets[0] - 1) % I
return str(answer)
if __name__ == "__main__":
print(calculate())
# Answer: 1425480602091519
| def calculate():
i = 10 ** 16
subsets = [0] * 250
subsets[0] = 1
for i in range(1, 250250 + 1):
offset = pow(i, i, 250)
subsets = [(val + subsets[(j - offset) % 250]) % I for (j, val) in enumerate(subsets)]
answer = (subsets[0] - 1) % I
return str(answer)
if __name__ == '__main__':
print(calculate()) |
#
# PySNMP MIB module ADTRAN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ADTRAN-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:13:55 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Counter64, Unsigned32, IpAddress, iso, enterprises, TimeTicks, Integer32, Gauge32, ModuleIdentity, Counter32, Bits, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Counter64", "Unsigned32", "IpAddress", "iso", "enterprises", "TimeTicks", "Integer32", "Gauge32", "ModuleIdentity", "Counter32", "Bits", "NotificationType")
DisplayString, PhysAddress, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "PhysAddress", "TextualConvention")
adtran = ModuleIdentity((1, 3, 6, 1, 4, 1, 664))
if mibBuilder.loadTexts: adtran.setLastUpdated('0208090000Z')
if mibBuilder.loadTexts: adtran.setOrganization('ADTRAN, Inc.')
if mibBuilder.loadTexts: adtran.setContactInfo(' Technical Support Dept. Postal: ADTRAN, Inc. 901 Explorer Blvd. Huntsville, AL 35806 Tel: +1 800 726-8663 Fax: +1 256 963 6217 E-mail: support@adtran.com')
if mibBuilder.loadTexts: adtran.setDescription('The MIB module that describes the base organization for all enterprises MIBs developed by ADTRAN, Inc.')
adProducts = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 1))
adMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 2))
adAdmin = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 3))
adPerform = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 4))
adShared = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5))
adIdentity = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 6))
adIdentityShared = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 6, 10000))
adAgentCapModule = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 7))
adAgentCapProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 7, 1))
adAgentCapShared = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 7, 2))
adConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 99))
adComplianceShared = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 99, 10000))
adProductInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 3, 1))
adProdName = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdName.setStatus('current')
if mibBuilder.loadTexts: adProdName.setDescription('The Adtran Product Name')
adProdPartNumber = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdPartNumber.setStatus('current')
if mibBuilder.loadTexts: adProdPartNumber.setDescription('The Adtran Product Part Number')
adProdCLEIcode = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdCLEIcode.setStatus('current')
if mibBuilder.loadTexts: adProdCLEIcode.setDescription('The Adtran Product CLEI Code')
adProdSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdSerialNumber.setStatus('current')
if mibBuilder.loadTexts: adProdSerialNumber.setDescription('The Adtran Product Serial Number')
adProdRevision = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdRevision.setStatus('current')
if mibBuilder.loadTexts: adProdRevision.setDescription('The Adtran Product Revision Number')
adProdSwVersion = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdSwVersion.setStatus('current')
if mibBuilder.loadTexts: adProdSwVersion.setDescription('The Adtran Product Software Version Number')
adProdPhysAddress = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 7), PhysAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdPhysAddress.setStatus('current')
if mibBuilder.loadTexts: adProdPhysAddress.setDescription("This octet string variable contains the Adtran Physical Address assigned to this product. For example, the octet sequence 16 02 03 01 specifies bank/shelf number 22 (hex 16), group number 2, slot number 3, unit/port 1. This object value is commonly reported in SNMP Traps to identify the product's location.")
adProdProductID = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 8), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdProductID.setStatus('current')
if mibBuilder.loadTexts: adProdProductID.setDescription('The Adtran Product ID as reported via sysObjectID. Note: In the proprietary ASP protocol, the product reports only its product type number as an octet string.')
adProdTransType = MibScalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adProdTransType.setStatus('current')
if mibBuilder.loadTexts: adProdTransType.setDescription('The data transmission circuit/facility/payload level of the device (see Appendix A of GR-833-CORE). Common examples are: T0, T1, T2, T3, STS1, and OC3. For the SCU and other common equipment cards, the code should be EQPT.')
adCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 99, 1))
adMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 99, 2))
adCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 664, 99, 1, 1)).setObjects(("ADTRAN-MIB", "adBaseGroup"), ("ADTRAN-MIB", "adCNDGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
adCompliance = adCompliance.setStatus('current')
if mibBuilder.loadTexts: adCompliance.setDescription('The compliance statement for SNMPv2 entities which implement the adtran MIB, which is supported by all ADTRAN SNMP agents.')
adBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 664, 99, 2, 1)).setObjects(("ADTRAN-MIB", "adProdName"), ("ADTRAN-MIB", "adProdPartNumber"), ("ADTRAN-MIB", "adProdCLEIcode"), ("ADTRAN-MIB", "adProdSerialNumber"), ("ADTRAN-MIB", "adProdRevision"), ("ADTRAN-MIB", "adProdSwVersion"), ("ADTRAN-MIB", "adProdPhysAddress"), ("ADTRAN-MIB", "adProdProductID"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
adBaseGroup = adBaseGroup.setStatus('current')
if mibBuilder.loadTexts: adBaseGroup.setDescription('The ADTRAN Base Group.')
adCNDGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 664, 99, 2, 2)).setObjects(("ADTRAN-MIB", "adProdTransType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
adCNDGroup = adCNDGroup.setStatus('current')
if mibBuilder.loadTexts: adCNDGroup.setDescription('Variables supported by CND products only.')
mibBuilder.exportSymbols("ADTRAN-MIB", adShared=adShared, adtran=adtran, adProdTransType=adProdTransType, adIdentity=adIdentity, adProdPartNumber=adProdPartNumber, adProdSerialNumber=adProdSerialNumber, adPerform=adPerform, adProdPhysAddress=adProdPhysAddress, adProdName=adProdName, adCNDGroup=adCNDGroup, adIdentityShared=adIdentityShared, adCompliance=adCompliance, adProducts=adProducts, adComplianceShared=adComplianceShared, adBaseGroup=adBaseGroup, adAgentCapProduct=adAgentCapProduct, adAdmin=adAdmin, adProdCLEIcode=adProdCLEIcode, PYSNMP_MODULE_ID=adtran, adProdRevision=adProdRevision, adCompliances=adCompliances, adProductInfo=adProductInfo, adMIBGroups=adMIBGroups, adProdSwVersion=adProdSwVersion, adAgentCapModule=adAgentCapModule, adConformance=adConformance, adProdProductID=adProdProductID, adMgmt=adMgmt, adAgentCapShared=adAgentCapShared)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, constraints_union, single_value_constraint, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint')
(object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup')
(mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, counter64, unsigned32, ip_address, iso, enterprises, time_ticks, integer32, gauge32, module_identity, counter32, bits, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Counter64', 'Unsigned32', 'IpAddress', 'iso', 'enterprises', 'TimeTicks', 'Integer32', 'Gauge32', 'ModuleIdentity', 'Counter32', 'Bits', 'NotificationType')
(display_string, phys_address, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'PhysAddress', 'TextualConvention')
adtran = module_identity((1, 3, 6, 1, 4, 1, 664))
if mibBuilder.loadTexts:
adtran.setLastUpdated('0208090000Z')
if mibBuilder.loadTexts:
adtran.setOrganization('ADTRAN, Inc.')
if mibBuilder.loadTexts:
adtran.setContactInfo(' Technical Support Dept. Postal: ADTRAN, Inc. 901 Explorer Blvd. Huntsville, AL 35806 Tel: +1 800 726-8663 Fax: +1 256 963 6217 E-mail: support@adtran.com')
if mibBuilder.loadTexts:
adtran.setDescription('The MIB module that describes the base organization for all enterprises MIBs developed by ADTRAN, Inc.')
ad_products = mib_identifier((1, 3, 6, 1, 4, 1, 664, 1))
ad_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 664, 2))
ad_admin = mib_identifier((1, 3, 6, 1, 4, 1, 664, 3))
ad_perform = mib_identifier((1, 3, 6, 1, 4, 1, 664, 4))
ad_shared = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5))
ad_identity = mib_identifier((1, 3, 6, 1, 4, 1, 664, 6))
ad_identity_shared = mib_identifier((1, 3, 6, 1, 4, 1, 664, 6, 10000))
ad_agent_cap_module = mib_identifier((1, 3, 6, 1, 4, 1, 664, 7))
ad_agent_cap_product = mib_identifier((1, 3, 6, 1, 4, 1, 664, 7, 1))
ad_agent_cap_shared = mib_identifier((1, 3, 6, 1, 4, 1, 664, 7, 2))
ad_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 664, 99))
ad_compliance_shared = mib_identifier((1, 3, 6, 1, 4, 1, 664, 99, 10000))
ad_product_info = mib_identifier((1, 3, 6, 1, 4, 1, 664, 3, 1))
ad_prod_name = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdName.setStatus('current')
if mibBuilder.loadTexts:
adProdName.setDescription('The Adtran Product Name')
ad_prod_part_number = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdPartNumber.setStatus('current')
if mibBuilder.loadTexts:
adProdPartNumber.setDescription('The Adtran Product Part Number')
ad_prod_cle_icode = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdCLEIcode.setStatus('current')
if mibBuilder.loadTexts:
adProdCLEIcode.setDescription('The Adtran Product CLEI Code')
ad_prod_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdSerialNumber.setStatus('current')
if mibBuilder.loadTexts:
adProdSerialNumber.setDescription('The Adtran Product Serial Number')
ad_prod_revision = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 5), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdRevision.setStatus('current')
if mibBuilder.loadTexts:
adProdRevision.setDescription('The Adtran Product Revision Number')
ad_prod_sw_version = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 6), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdSwVersion.setStatus('current')
if mibBuilder.loadTexts:
adProdSwVersion.setDescription('The Adtran Product Software Version Number')
ad_prod_phys_address = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 7), phys_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdPhysAddress.setStatus('current')
if mibBuilder.loadTexts:
adProdPhysAddress.setDescription("This octet string variable contains the Adtran Physical Address assigned to this product. For example, the octet sequence 16 02 03 01 specifies bank/shelf number 22 (hex 16), group number 2, slot number 3, unit/port 1. This object value is commonly reported in SNMP Traps to identify the product's location.")
ad_prod_product_id = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 8), object_identifier()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdProductID.setStatus('current')
if mibBuilder.loadTexts:
adProdProductID.setDescription('The Adtran Product ID as reported via sysObjectID. Note: In the proprietary ASP protocol, the product reports only its product type number as an octet string.')
ad_prod_trans_type = mib_scalar((1, 3, 6, 1, 4, 1, 664, 3, 1, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
adProdTransType.setStatus('current')
if mibBuilder.loadTexts:
adProdTransType.setDescription('The data transmission circuit/facility/payload level of the device (see Appendix A of GR-833-CORE). Common examples are: T0, T1, T2, T3, STS1, and OC3. For the SCU and other common equipment cards, the code should be EQPT.')
ad_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 664, 99, 1))
ad_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 664, 99, 2))
ad_compliance = module_compliance((1, 3, 6, 1, 4, 1, 664, 99, 1, 1)).setObjects(('ADTRAN-MIB', 'adBaseGroup'), ('ADTRAN-MIB', 'adCNDGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ad_compliance = adCompliance.setStatus('current')
if mibBuilder.loadTexts:
adCompliance.setDescription('The compliance statement for SNMPv2 entities which implement the adtran MIB, which is supported by all ADTRAN SNMP agents.')
ad_base_group = object_group((1, 3, 6, 1, 4, 1, 664, 99, 2, 1)).setObjects(('ADTRAN-MIB', 'adProdName'), ('ADTRAN-MIB', 'adProdPartNumber'), ('ADTRAN-MIB', 'adProdCLEIcode'), ('ADTRAN-MIB', 'adProdSerialNumber'), ('ADTRAN-MIB', 'adProdRevision'), ('ADTRAN-MIB', 'adProdSwVersion'), ('ADTRAN-MIB', 'adProdPhysAddress'), ('ADTRAN-MIB', 'adProdProductID'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ad_base_group = adBaseGroup.setStatus('current')
if mibBuilder.loadTexts:
adBaseGroup.setDescription('The ADTRAN Base Group.')
ad_cnd_group = object_group((1, 3, 6, 1, 4, 1, 664, 99, 2, 2)).setObjects(('ADTRAN-MIB', 'adProdTransType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ad_cnd_group = adCNDGroup.setStatus('current')
if mibBuilder.loadTexts:
adCNDGroup.setDescription('Variables supported by CND products only.')
mibBuilder.exportSymbols('ADTRAN-MIB', adShared=adShared, adtran=adtran, adProdTransType=adProdTransType, adIdentity=adIdentity, adProdPartNumber=adProdPartNumber, adProdSerialNumber=adProdSerialNumber, adPerform=adPerform, adProdPhysAddress=adProdPhysAddress, adProdName=adProdName, adCNDGroup=adCNDGroup, adIdentityShared=adIdentityShared, adCompliance=adCompliance, adProducts=adProducts, adComplianceShared=adComplianceShared, adBaseGroup=adBaseGroup, adAgentCapProduct=adAgentCapProduct, adAdmin=adAdmin, adProdCLEIcode=adProdCLEIcode, PYSNMP_MODULE_ID=adtran, adProdRevision=adProdRevision, adCompliances=adCompliances, adProductInfo=adProductInfo, adMIBGroups=adMIBGroups, adProdSwVersion=adProdSwVersion, adAgentCapModule=adAgentCapModule, adConformance=adConformance, adProdProductID=adProdProductID, adMgmt=adMgmt, adAgentCapShared=adAgentCapShared) |
## Regex validate PIN code
## 7 kyu
## https://www.codewars.com/kata/55f8a9c06c018a0d6e000132
def validate_pin(pin):
#return true or false
if pin.isdigit():
if len(pin) == 4 or len(pin) ==6:
return True
else:
return False
else:
return False
| def validate_pin(pin):
if pin.isdigit():
if len(pin) == 4 or len(pin) == 6:
return True
else:
return False
else:
return False |
#
# PySNMP MIB module DOCS-SUBMGT3-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DOCS-SUBMGT3-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:28:20 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint")
clabProjDocsis, DocsL2vpnIfList = mibBuilder.importSymbols("CLAB-DEF-MIB", "clabProjDocsis", "DocsL2vpnIfList")
docsIf3CmtsCmRegStatusId, docsIf3CmtsCmRegStatusEntry = mibBuilder.importSymbols("DOCS-IF3-MIB", "docsIf3CmtsCmRegStatusId", "docsIf3CmtsCmRegStatusEntry")
InetAddress, InetAddressType, InetPortNumber, InetAddressPrefixLength = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber", "InetAddressPrefixLength")
SnmpTagList, = mibBuilder.importSymbols("SNMP-TARGET-MIB", "SnmpTagList")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
TimeTicks, MibIdentifier, Counter32, ObjectIdentity, ModuleIdentity, Counter64, NotificationType, Bits, Integer32, IpAddress, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "MibIdentifier", "Counter32", "ObjectIdentity", "ModuleIdentity", "Counter64", "NotificationType", "Bits", "Integer32", "IpAddress", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Unsigned32")
TruthValue, DisplayString, TimeStamp, MacAddress, TextualConvention, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "DisplayString", "TimeStamp", "MacAddress", "TextualConvention", "RowStatus")
docsSubmgt3Mib = ModuleIdentity((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10))
docsSubmgt3Mib.setRevisions(('2015-06-03 00:00', '2014-04-03 00:00', '2011-06-23 00:00', '2010-06-11 00:00', '2009-01-21 00:00', '2007-05-18 00:00', '2006-12-07 17:00',))
if mibBuilder.loadTexts: docsSubmgt3Mib.setLastUpdated('201506030000Z')
if mibBuilder.loadTexts: docsSubmgt3Mib.setOrganization('Cable Television Laboratories, Inc.')
docsSubmgt3MibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1))
docsSubmgt3Base = MibIdentifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1))
docsSubmgt3BaseCpeMaxIpv4Def = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023)).clone(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCpeMaxIpv4Def.setStatus('current')
docsSubmgt3BaseCpeMaxIpv6AddressesDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023)).clone(16)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCpeMaxIpv6AddressesDef.setStatus('deprecated')
docsSubmgt3BaseCpeMaxIpv6PrefixesDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCpeMaxIpv6PrefixesDef.setStatus('current')
docsSubmgt3BaseCpeActiveDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCpeActiveDef.setStatus('current')
docsSubmgt3BaseCpeLearnableDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCpeLearnableDef.setStatus('current')
docsSubmgt3BaseSubFilterDownDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseSubFilterDownDef.setStatus('current')
docsSubmgt3BaseSubFilterUpDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseSubFilterUpDef.setStatus('current')
docsSubmgt3BaseCmFilterDownDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCmFilterDownDef.setStatus('current')
docsSubmgt3BaseCmFilterUpDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseCmFilterUpDef.setStatus('current')
docsSubmgt3BasePsFilterDownDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BasePsFilterDownDef.setStatus('current')
docsSubmgt3BasePsFilterUpDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BasePsFilterUpDef.setStatus('current')
docsSubmgt3BaseMtaFilterDownDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseMtaFilterDownDef.setStatus('current')
docsSubmgt3BaseMtaFilterUpDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseMtaFilterUpDef.setStatus('current')
docsSubmgt3BaseStbFilterDownDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseStbFilterDownDef.setStatus('current')
docsSubmgt3BaseStbFilterUpDef = MibScalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3BaseStbFilterUpDef.setStatus('current')
docsSubmgt3CpeCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2), )
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlTable.setStatus('current')
docsSubmgt3CpeCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1), )
docsIf3CmtsCmRegStatusEntry.registerAugmentions(("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlEntry"))
docsSubmgt3CpeCtrlEntry.setIndexNames(*docsIf3CmtsCmRegStatusEntry.getIndexNames())
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlEntry.setStatus('current')
docsSubmgt3CpeCtrlMaxCpeIpv4 = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlMaxCpeIpv4.setStatus('current')
docsSubmgt3CpeCtrlMaxCpeIpv6Addresses = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlMaxCpeIpv6Addresses.setStatus('deprecated')
docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes.setStatus('current')
docsSubmgt3CpeCtrlActive = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 3), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlActive.setStatus('current')
docsSubmgt3CpeCtrlLearnable = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 4), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlLearnable.setStatus('current')
docsSubmgt3CpeCtrlReset = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 5), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlReset.setStatus('current')
docsSubmgt3CpeCtrlLastReset = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 6), TimeStamp()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3CpeCtrlLastReset.setStatus('current')
docsSubmgt3CpeIpTable = MibTable((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3), )
if mibBuilder.loadTexts: docsSubmgt3CpeIpTable.setStatus('current')
docsSubmgt3CpeIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1), ).setIndexNames((0, "DOCS-IF3-MIB", "docsIf3CmtsCmRegStatusId"), (0, "DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpId"))
if mibBuilder.loadTexts: docsSubmgt3CpeIpEntry.setStatus('current')
docsSubmgt3CpeIpId = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023)))
if mibBuilder.loadTexts: docsSubmgt3CpeIpId.setStatus('current')
docsSubmgt3CpeIpAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 2), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3CpeIpAddrType.setStatus('current')
docsSubmgt3CpeIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 3), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3CpeIpAddr.setStatus('current')
docsSubmgt3CpeIpAddrPrefixLen = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 4), InetAddressPrefixLength()).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3CpeIpAddrPrefixLen.setStatus('current')
docsSubmgt3CpeIpLearned = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3CpeIpLearned.setStatus('current')
docsSubmgt3CpeIpType = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("cpe", 1), ("ps", 2), ("mta", 3), ("stb", 4), ("tea", 5), ("erouter", 6), ("dva", 7), ("sg", 8), ("card", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3CpeIpType.setStatus('current')
docsSubmgt3GrpTable = MibTable((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4), )
if mibBuilder.loadTexts: docsSubmgt3GrpTable.setStatus('current')
docsSubmgt3GrpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1), )
docsIf3CmtsCmRegStatusEntry.registerAugmentions(("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpEntry"))
docsSubmgt3GrpEntry.setIndexNames(*docsIf3CmtsCmRegStatusEntry.getIndexNames())
if mibBuilder.loadTexts: docsSubmgt3GrpEntry.setStatus('current')
docsSubMgt3GrpUdcGroupIds = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 1), SnmpTagList().clone(hexValue="")).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubMgt3GrpUdcGroupIds.setStatus('current')
docsSubMgt3GrpUdcSentInRegRsp = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubMgt3GrpUdcSentInRegRsp.setStatus('current')
docsSubmgt3GrpSubFilterDs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpSubFilterDs.setStatus('current')
docsSubmgt3GrpSubFilterUs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpSubFilterUs.setStatus('current')
docsSubmgt3GrpCmFilterDs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpCmFilterDs.setStatus('current')
docsSubmgt3GrpCmFilterUs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpCmFilterUs.setStatus('current')
docsSubmgt3GrpPsFilterDs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpPsFilterDs.setStatus('current')
docsSubmgt3GrpPsFilterUs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpPsFilterUs.setStatus('current')
docsSubmgt3GrpMtaFilterDs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpMtaFilterDs.setStatus('current')
docsSubmgt3GrpMtaFilterUs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpMtaFilterUs.setStatus('current')
docsSubmgt3GrpStbFilterDs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpStbFilterDs.setStatus('current')
docsSubmgt3GrpStbFilterUs = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: docsSubmgt3GrpStbFilterUs.setStatus('current')
docsSubmgt3FilterGrpTable = MibTable((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5), )
if mibBuilder.loadTexts: docsSubmgt3FilterGrpTable.setStatus('current')
docsSubmgt3FilterGrpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1), ).setIndexNames((0, "DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpGrpId"), (0, "DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpRuleId"))
if mibBuilder.loadTexts: docsSubmgt3FilterGrpEntry.setStatus('current')
docsSubmgt3FilterGrpGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024)))
if mibBuilder.loadTexts: docsSubmgt3FilterGrpGrpId.setStatus('current')
docsSubmgt3FilterGrpRuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)))
if mibBuilder.loadTexts: docsSubmgt3FilterGrpRuleId.setStatus('current')
docsSubmgt3FilterGrpAction = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("permit", 1), ("deny", 2))).clone('permit')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpAction.setStatus('current')
docsSubmgt3FilterGrpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpPriority.setStatus('current')
docsSubmgt3FilterGrpIpTosLow = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue="00")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpIpTosLow.setStatus('current')
docsSubmgt3FilterGrpIpTosHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue="00")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpIpTosHigh.setStatus('current')
docsSubmgt3FilterGrpIpTosMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue="00")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpIpTosMask.setStatus('current')
docsSubmgt3FilterGrpIpProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 257)).clone(256)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpIpProtocol.setStatus('current')
docsSubmgt3FilterGrpInetAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 9), InetAddressType().clone('unknown')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpInetAddrType.setStatus('current')
docsSubmgt3FilterGrpInetSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 10), InetAddress().clone(hexValue="")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpInetSrcAddr.setStatus('current')
docsSubmgt3FilterGrpInetSrcMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 11), InetAddress().clone(hexValue="")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpInetSrcMask.setStatus('current')
docsSubmgt3FilterGrpInetDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 12), InetAddress().clone(hexValue="")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpInetDestAddr.setStatus('current')
docsSubmgt3FilterGrpInetDestMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 13), InetAddress().clone(hexValue="")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpInetDestMask.setStatus('current')
docsSubmgt3FilterGrpSrcPortStart = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 14), InetPortNumber()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpSrcPortStart.setStatus('current')
docsSubmgt3FilterGrpSrcPortEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 15), InetPortNumber().clone(65535)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpSrcPortEnd.setStatus('current')
docsSubmgt3FilterGrpDestPortStart = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 16), InetPortNumber()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpDestPortStart.setStatus('current')
docsSubmgt3FilterGrpDestPortEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 17), InetPortNumber().clone(65535)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpDestPortEnd.setStatus('current')
docsSubmgt3FilterGrpDestMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 18), MacAddress().clone(hexValue="000000000000")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpDestMacAddr.setStatus('current')
docsSubmgt3FilterGrpDestMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 19), MacAddress().clone(hexValue="000000000000")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpDestMacMask.setStatus('current')
docsSubmgt3FilterGrpSrcMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 20), MacAddress().clone(hexValue="FFFFFFFFFFFF")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpSrcMacAddr.setStatus('current')
docsSubmgt3FilterGrpEnetProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("ethertype", 1), ("dsap", 2), ("mac", 3), ("all", 4))).clone('none')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpEnetProtocolType.setStatus('current')
docsSubmgt3FilterGrpEnetProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpEnetProtocol.setStatus('current')
docsSubmgt3FilterGrpUserPriLow = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 23), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpUserPriLow.setStatus('current')
docsSubmgt3FilterGrpUserPriHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpUserPriHigh.setStatus('current')
docsSubmgt3FilterGrpVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 25), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4094), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpVlanId.setStatus('current')
docsSubmgt3FilterGrpClassPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpClassPkts.setStatus('current')
docsSubmgt3FilterGrpFlowLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 27), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpFlowLabel.setStatus('current')
docsSubmgt3FilterGrpCmInterfaceMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 28), DocsL2vpnIfList()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpCmInterfaceMask.setStatus('current')
docsSubmgt3FilterGrpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 29), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: docsSubmgt3FilterGrpRowStatus.setStatus('current')
docsSubmgt3MibConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2))
docsSubmgt3MibCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 1))
docsSubmgt3MibGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 2))
docsSubmgt3Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 1, 1)).setObjects(("DOCS-SUBMGT3-MIB", "docsSubmgt3Group"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
docsSubmgt3Compliance = docsSubmgt3Compliance.setStatus('current')
docsSubmgt3Group = ObjectGroup((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 2, 1)).setObjects(("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCpeMaxIpv4Def"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCpeMaxIpv6PrefixesDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCpeActiveDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCpeLearnableDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseSubFilterDownDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseSubFilterUpDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCmFilterDownDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseCmFilterUpDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BasePsFilterDownDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BasePsFilterUpDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseMtaFilterDownDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseMtaFilterUpDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseStbFilterDownDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3BaseStbFilterUpDef"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlMaxCpeIpv4"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlActive"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlLearnable"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlReset"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeCtrlLastReset"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpAddrType"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpAddr"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpAddrPrefixLen"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpLearned"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3CpeIpType"), ("DOCS-SUBMGT3-MIB", "docsSubMgt3GrpUdcGroupIds"), ("DOCS-SUBMGT3-MIB", "docsSubMgt3GrpUdcSentInRegRsp"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpSubFilterDs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpSubFilterUs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpCmFilterDs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpCmFilterUs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpPsFilterDs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpPsFilterUs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpMtaFilterDs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpMtaFilterUs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpStbFilterDs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3GrpStbFilterUs"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpAction"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpPriority"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpIpTosLow"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpIpTosHigh"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpIpTosMask"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpIpProtocol"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpInetAddrType"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpInetSrcAddr"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpInetSrcMask"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpInetDestAddr"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpInetDestMask"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpSrcPortStart"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpSrcPortEnd"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpDestPortStart"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpDestPortEnd"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpDestMacAddr"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpDestMacMask"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpSrcMacAddr"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpEnetProtocolType"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpEnetProtocol"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpUserPriLow"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpUserPriHigh"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpVlanId"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpClassPkts"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpFlowLabel"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpCmInterfaceMask"), ("DOCS-SUBMGT3-MIB", "docsSubmgt3FilterGrpRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
docsSubmgt3Group = docsSubmgt3Group.setStatus('current')
mibBuilder.exportSymbols("DOCS-SUBMGT3-MIB", docsSubmgt3BaseStbFilterDownDef=docsSubmgt3BaseStbFilterDownDef, docsSubmgt3CpeCtrlMaxCpeIpv6Addresses=docsSubmgt3CpeCtrlMaxCpeIpv6Addresses, docsSubmgt3Group=docsSubmgt3Group, docsSubmgt3GrpEntry=docsSubmgt3GrpEntry, docsSubMgt3GrpUdcSentInRegRsp=docsSubMgt3GrpUdcSentInRegRsp, docsSubmgt3FilterGrpDestMacAddr=docsSubmgt3FilterGrpDestMacAddr, docsSubmgt3CpeIpAddrType=docsSubmgt3CpeIpAddrType, docsSubmgt3FilterGrpFlowLabel=docsSubmgt3FilterGrpFlowLabel, docsSubmgt3CpeIpId=docsSubmgt3CpeIpId, docsSubmgt3FilterGrpDestPortEnd=docsSubmgt3FilterGrpDestPortEnd, docsSubmgt3BaseCpeMaxIpv4Def=docsSubmgt3BaseCpeMaxIpv4Def, docsSubmgt3FilterGrpInetAddrType=docsSubmgt3FilterGrpInetAddrType, docsSubmgt3CpeCtrlActive=docsSubmgt3CpeCtrlActive, docsSubmgt3FilterGrpAction=docsSubmgt3FilterGrpAction, docsSubmgt3CpeIpType=docsSubmgt3CpeIpType, docsSubmgt3FilterGrpEnetProtocol=docsSubmgt3FilterGrpEnetProtocol, docsSubmgt3GrpSubFilterUs=docsSubmgt3GrpSubFilterUs, docsSubmgt3FilterGrpClassPkts=docsSubmgt3FilterGrpClassPkts, docsSubmgt3CpeIpLearned=docsSubmgt3CpeIpLearned, docsSubmgt3CpeCtrlMaxCpeIpv4=docsSubmgt3CpeCtrlMaxCpeIpv4, docsSubmgt3GrpPsFilterUs=docsSubmgt3GrpPsFilterUs, docsSubmgt3GrpSubFilterDs=docsSubmgt3GrpSubFilterDs, docsSubmgt3FilterGrpCmInterfaceMask=docsSubmgt3FilterGrpCmInterfaceMask, docsSubmgt3FilterGrpEnetProtocolType=docsSubmgt3FilterGrpEnetProtocolType, docsSubmgt3FilterGrpInetDestMask=docsSubmgt3FilterGrpInetDestMask, docsSubmgt3BaseCpeMaxIpv6PrefixesDef=docsSubmgt3BaseCpeMaxIpv6PrefixesDef, docsSubmgt3MibCompliances=docsSubmgt3MibCompliances, docsSubmgt3BaseCpeMaxIpv6AddressesDef=docsSubmgt3BaseCpeMaxIpv6AddressesDef, docsSubmgt3CpeCtrlLastReset=docsSubmgt3CpeCtrlLastReset, docsSubMgt3GrpUdcGroupIds=docsSubMgt3GrpUdcGroupIds, docsSubmgt3FilterGrpInetDestAddr=docsSubmgt3FilterGrpInetDestAddr, docsSubmgt3GrpPsFilterDs=docsSubmgt3GrpPsFilterDs, docsSubmgt3FilterGrpIpTosMask=docsSubmgt3FilterGrpIpTosMask, docsSubmgt3GrpStbFilterDs=docsSubmgt3GrpStbFilterDs, docsSubmgt3FilterGrpVlanId=docsSubmgt3FilterGrpVlanId, docsSubmgt3GrpMtaFilterUs=docsSubmgt3GrpMtaFilterUs, docsSubmgt3CpeCtrlReset=docsSubmgt3CpeCtrlReset, docsSubmgt3CpeIpTable=docsSubmgt3CpeIpTable, docsSubmgt3BaseCmFilterUpDef=docsSubmgt3BaseCmFilterUpDef, docsSubmgt3FilterGrpDestMacMask=docsSubmgt3FilterGrpDestMacMask, docsSubmgt3BasePsFilterDownDef=docsSubmgt3BasePsFilterDownDef, docsSubmgt3CpeCtrlEntry=docsSubmgt3CpeCtrlEntry, docsSubmgt3BaseCmFilterDownDef=docsSubmgt3BaseCmFilterDownDef, docsSubmgt3CpeCtrlLearnable=docsSubmgt3CpeCtrlLearnable, docsSubmgt3BasePsFilterUpDef=docsSubmgt3BasePsFilterUpDef, docsSubmgt3BaseStbFilterUpDef=docsSubmgt3BaseStbFilterUpDef, docsSubmgt3FilterGrpEntry=docsSubmgt3FilterGrpEntry, PYSNMP_MODULE_ID=docsSubmgt3Mib, docsSubmgt3CpeIpAddrPrefixLen=docsSubmgt3CpeIpAddrPrefixLen, docsSubmgt3BaseSubFilterUpDef=docsSubmgt3BaseSubFilterUpDef, docsSubmgt3FilterGrpPriority=docsSubmgt3FilterGrpPriority, docsSubmgt3FilterGrpInetSrcMask=docsSubmgt3FilterGrpInetSrcMask, docsSubmgt3MibConformance=docsSubmgt3MibConformance, docsSubmgt3GrpTable=docsSubmgt3GrpTable, docsSubmgt3CpeIpEntry=docsSubmgt3CpeIpEntry, docsSubmgt3BaseCpeActiveDef=docsSubmgt3BaseCpeActiveDef, docsSubmgt3BaseCpeLearnableDef=docsSubmgt3BaseCpeLearnableDef, docsSubmgt3BaseSubFilterDownDef=docsSubmgt3BaseSubFilterDownDef, docsSubmgt3FilterGrpRowStatus=docsSubmgt3FilterGrpRowStatus, docsSubmgt3FilterGrpGrpId=docsSubmgt3FilterGrpGrpId, docsSubmgt3FilterGrpTable=docsSubmgt3FilterGrpTable, docsSubmgt3Compliance=docsSubmgt3Compliance, docsSubmgt3FilterGrpIpTosHigh=docsSubmgt3FilterGrpIpTosHigh, docsSubmgt3FilterGrpRuleId=docsSubmgt3FilterGrpRuleId, docsSubmgt3GrpCmFilterDs=docsSubmgt3GrpCmFilterDs, docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes=docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes, docsSubmgt3FilterGrpSrcPortEnd=docsSubmgt3FilterGrpSrcPortEnd, docsSubmgt3Base=docsSubmgt3Base, docsSubmgt3CpeIpAddr=docsSubmgt3CpeIpAddr, docsSubmgt3FilterGrpUserPriLow=docsSubmgt3FilterGrpUserPriLow, docsSubmgt3FilterGrpInetSrcAddr=docsSubmgt3FilterGrpInetSrcAddr, docsSubmgt3MibGroups=docsSubmgt3MibGroups, docsSubmgt3BaseMtaFilterDownDef=docsSubmgt3BaseMtaFilterDownDef, docsSubmgt3FilterGrpIpTosLow=docsSubmgt3FilterGrpIpTosLow, docsSubmgt3FilterGrpSrcPortStart=docsSubmgt3FilterGrpSrcPortStart, docsSubmgt3GrpMtaFilterDs=docsSubmgt3GrpMtaFilterDs, docsSubmgt3FilterGrpIpProtocol=docsSubmgt3FilterGrpIpProtocol, docsSubmgt3Mib=docsSubmgt3Mib, docsSubmgt3BaseMtaFilterUpDef=docsSubmgt3BaseMtaFilterUpDef, docsSubmgt3GrpCmFilterUs=docsSubmgt3GrpCmFilterUs, docsSubmgt3MibObjects=docsSubmgt3MibObjects, docsSubmgt3FilterGrpUserPriHigh=docsSubmgt3FilterGrpUserPriHigh, docsSubmgt3FilterGrpDestPortStart=docsSubmgt3FilterGrpDestPortStart, docsSubmgt3FilterGrpSrcMacAddr=docsSubmgt3FilterGrpSrcMacAddr, docsSubmgt3GrpStbFilterUs=docsSubmgt3GrpStbFilterUs, docsSubmgt3CpeCtrlTable=docsSubmgt3CpeCtrlTable)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, single_value_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint')
(clab_proj_docsis, docs_l2vpn_if_list) = mibBuilder.importSymbols('CLAB-DEF-MIB', 'clabProjDocsis', 'DocsL2vpnIfList')
(docs_if3_cmts_cm_reg_status_id, docs_if3_cmts_cm_reg_status_entry) = mibBuilder.importSymbols('DOCS-IF3-MIB', 'docsIf3CmtsCmRegStatusId', 'docsIf3CmtsCmRegStatusEntry')
(inet_address, inet_address_type, inet_port_number, inet_address_prefix_length) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType', 'InetPortNumber', 'InetAddressPrefixLength')
(snmp_tag_list,) = mibBuilder.importSymbols('SNMP-TARGET-MIB', 'SnmpTagList')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(time_ticks, mib_identifier, counter32, object_identity, module_identity, counter64, notification_type, bits, integer32, ip_address, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'MibIdentifier', 'Counter32', 'ObjectIdentity', 'ModuleIdentity', 'Counter64', 'NotificationType', 'Bits', 'Integer32', 'IpAddress', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Unsigned32')
(truth_value, display_string, time_stamp, mac_address, textual_convention, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'DisplayString', 'TimeStamp', 'MacAddress', 'TextualConvention', 'RowStatus')
docs_submgt3_mib = module_identity((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10))
docsSubmgt3Mib.setRevisions(('2015-06-03 00:00', '2014-04-03 00:00', '2011-06-23 00:00', '2010-06-11 00:00', '2009-01-21 00:00', '2007-05-18 00:00', '2006-12-07 17:00'))
if mibBuilder.loadTexts:
docsSubmgt3Mib.setLastUpdated('201506030000Z')
if mibBuilder.loadTexts:
docsSubmgt3Mib.setOrganization('Cable Television Laboratories, Inc.')
docs_submgt3_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1))
docs_submgt3_base = mib_identifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1))
docs_submgt3_base_cpe_max_ipv4_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023)).clone(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCpeMaxIpv4Def.setStatus('current')
docs_submgt3_base_cpe_max_ipv6_addresses_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023)).clone(16)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCpeMaxIpv6AddressesDef.setStatus('deprecated')
docs_submgt3_base_cpe_max_ipv6_prefixes_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 15), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023)).clone(3)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCpeMaxIpv6PrefixesDef.setStatus('current')
docs_submgt3_base_cpe_active_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 3), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCpeActiveDef.setStatus('current')
docs_submgt3_base_cpe_learnable_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 4), truth_value().clone('true')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCpeLearnableDef.setStatus('current')
docs_submgt3_base_sub_filter_down_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseSubFilterDownDef.setStatus('current')
docs_submgt3_base_sub_filter_up_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseSubFilterUpDef.setStatus('current')
docs_submgt3_base_cm_filter_down_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCmFilterDownDef.setStatus('current')
docs_submgt3_base_cm_filter_up_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseCmFilterUpDef.setStatus('current')
docs_submgt3_base_ps_filter_down_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BasePsFilterDownDef.setStatus('current')
docs_submgt3_base_ps_filter_up_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BasePsFilterUpDef.setStatus('current')
docs_submgt3_base_mta_filter_down_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseMtaFilterDownDef.setStatus('current')
docs_submgt3_base_mta_filter_up_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseMtaFilterUpDef.setStatus('current')
docs_submgt3_base_stb_filter_down_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 13), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseStbFilterDownDef.setStatus('current')
docs_submgt3_base_stb_filter_up_def = mib_scalar((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 1, 14), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3BaseStbFilterUpDef.setStatus('current')
docs_submgt3_cpe_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2))
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlTable.setStatus('current')
docs_submgt3_cpe_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1))
docsIf3CmtsCmRegStatusEntry.registerAugmentions(('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlEntry'))
docsSubmgt3CpeCtrlEntry.setIndexNames(*docsIf3CmtsCmRegStatusEntry.getIndexNames())
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlEntry.setStatus('current')
docs_submgt3_cpe_ctrl_max_cpe_ipv4 = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlMaxCpeIpv4.setStatus('current')
docs_submgt3_cpe_ctrl_max_cpe_ipv6_addresses = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlMaxCpeIpv6Addresses.setStatus('deprecated')
docs_submgt3_cpe_ctrl_max_cpe_ipv6_prefixes = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1023))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes.setStatus('current')
docs_submgt3_cpe_ctrl_active = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 3), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlActive.setStatus('current')
docs_submgt3_cpe_ctrl_learnable = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 4), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlLearnable.setStatus('current')
docs_submgt3_cpe_ctrl_reset = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 5), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlReset.setStatus('current')
docs_submgt3_cpe_ctrl_last_reset = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 2, 1, 6), time_stamp()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3CpeCtrlLastReset.setStatus('current')
docs_submgt3_cpe_ip_table = mib_table((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3))
if mibBuilder.loadTexts:
docsSubmgt3CpeIpTable.setStatus('current')
docs_submgt3_cpe_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1)).setIndexNames((0, 'DOCS-IF3-MIB', 'docsIf3CmtsCmRegStatusId'), (0, 'DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpId'))
if mibBuilder.loadTexts:
docsSubmgt3CpeIpEntry.setStatus('current')
docs_submgt3_cpe_ip_id = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1023)))
if mibBuilder.loadTexts:
docsSubmgt3CpeIpId.setStatus('current')
docs_submgt3_cpe_ip_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 2), inet_address_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3CpeIpAddrType.setStatus('current')
docs_submgt3_cpe_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 3), inet_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3CpeIpAddr.setStatus('current')
docs_submgt3_cpe_ip_addr_prefix_len = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 4), inet_address_prefix_length()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3CpeIpAddrPrefixLen.setStatus('current')
docs_submgt3_cpe_ip_learned = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 5), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3CpeIpLearned.setStatus('current')
docs_submgt3_cpe_ip_type = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('cpe', 1), ('ps', 2), ('mta', 3), ('stb', 4), ('tea', 5), ('erouter', 6), ('dva', 7), ('sg', 8), ('card', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3CpeIpType.setStatus('current')
docs_submgt3_grp_table = mib_table((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4))
if mibBuilder.loadTexts:
docsSubmgt3GrpTable.setStatus('current')
docs_submgt3_grp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1))
docsIf3CmtsCmRegStatusEntry.registerAugmentions(('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpEntry'))
docsSubmgt3GrpEntry.setIndexNames(*docsIf3CmtsCmRegStatusEntry.getIndexNames())
if mibBuilder.loadTexts:
docsSubmgt3GrpEntry.setStatus('current')
docs_sub_mgt3_grp_udc_group_ids = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 1), snmp_tag_list().clone(hexValue='')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubMgt3GrpUdcGroupIds.setStatus('current')
docs_sub_mgt3_grp_udc_sent_in_reg_rsp = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubMgt3GrpUdcSentInRegRsp.setStatus('current')
docs_submgt3_grp_sub_filter_ds = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpSubFilterDs.setStatus('current')
docs_submgt3_grp_sub_filter_us = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpSubFilterUs.setStatus('current')
docs_submgt3_grp_cm_filter_ds = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpCmFilterDs.setStatus('current')
docs_submgt3_grp_cm_filter_us = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpCmFilterUs.setStatus('current')
docs_submgt3_grp_ps_filter_ds = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpPsFilterDs.setStatus('current')
docs_submgt3_grp_ps_filter_us = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpPsFilterUs.setStatus('current')
docs_submgt3_grp_mta_filter_ds = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpMtaFilterDs.setStatus('current')
docs_submgt3_grp_mta_filter_us = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpMtaFilterUs.setStatus('current')
docs_submgt3_grp_stb_filter_ds = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpStbFilterDs.setStatus('current')
docs_submgt3_grp_stb_filter_us = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 4, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
docsSubmgt3GrpStbFilterUs.setStatus('current')
docs_submgt3_filter_grp_table = mib_table((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5))
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpTable.setStatus('current')
docs_submgt3_filter_grp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1)).setIndexNames((0, 'DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpGrpId'), (0, 'DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpRuleId'))
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpEntry.setStatus('current')
docs_submgt3_filter_grp_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1024)))
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpGrpId.setStatus('current')
docs_submgt3_filter_grp_rule_id = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)))
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpRuleId.setStatus('current')
docs_submgt3_filter_grp_action = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('permit', 1), ('deny', 2))).clone('permit')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpAction.setStatus('current')
docs_submgt3_filter_grp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpPriority.setStatus('current')
docs_submgt3_filter_grp_ip_tos_low = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpIpTosLow.setStatus('current')
docs_submgt3_filter_grp_ip_tos_high = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpIpTosHigh.setStatus('current')
docs_submgt3_filter_grp_ip_tos_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1).clone(hexValue='00')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpIpTosMask.setStatus('current')
docs_submgt3_filter_grp_ip_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 257)).clone(256)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpIpProtocol.setStatus('current')
docs_submgt3_filter_grp_inet_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 9), inet_address_type().clone('unknown')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpInetAddrType.setStatus('current')
docs_submgt3_filter_grp_inet_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 10), inet_address().clone(hexValue='')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpInetSrcAddr.setStatus('current')
docs_submgt3_filter_grp_inet_src_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 11), inet_address().clone(hexValue='')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpInetSrcMask.setStatus('current')
docs_submgt3_filter_grp_inet_dest_addr = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 12), inet_address().clone(hexValue='')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpInetDestAddr.setStatus('current')
docs_submgt3_filter_grp_inet_dest_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 13), inet_address().clone(hexValue='')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpInetDestMask.setStatus('current')
docs_submgt3_filter_grp_src_port_start = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 14), inet_port_number()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpSrcPortStart.setStatus('current')
docs_submgt3_filter_grp_src_port_end = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 15), inet_port_number().clone(65535)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpSrcPortEnd.setStatus('current')
docs_submgt3_filter_grp_dest_port_start = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 16), inet_port_number()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpDestPortStart.setStatus('current')
docs_submgt3_filter_grp_dest_port_end = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 17), inet_port_number().clone(65535)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpDestPortEnd.setStatus('current')
docs_submgt3_filter_grp_dest_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 18), mac_address().clone(hexValue='000000000000')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpDestMacAddr.setStatus('current')
docs_submgt3_filter_grp_dest_mac_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 19), mac_address().clone(hexValue='000000000000')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpDestMacMask.setStatus('current')
docs_submgt3_filter_grp_src_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 20), mac_address().clone(hexValue='FFFFFFFFFFFF')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpSrcMacAddr.setStatus('current')
docs_submgt3_filter_grp_enet_protocol_type = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('none', 0), ('ethertype', 1), ('dsap', 2), ('mac', 3), ('all', 4))).clone('none')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpEnetProtocolType.setStatus('current')
docs_submgt3_filter_grp_enet_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 22), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpEnetProtocol.setStatus('current')
docs_submgt3_filter_grp_user_pri_low = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 23), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpUserPriLow.setStatus('current')
docs_submgt3_filter_grp_user_pri_high = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 24), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpUserPriHigh.setStatus('current')
docs_submgt3_filter_grp_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 25), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4094)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpVlanId.setStatus('current')
docs_submgt3_filter_grp_class_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 26), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpClassPkts.setStatus('current')
docs_submgt3_filter_grp_flow_label = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 27), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1048575))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpFlowLabel.setStatus('current')
docs_submgt3_filter_grp_cm_interface_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 28), docs_l2vpn_if_list()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpCmInterfaceMask.setStatus('current')
docs_submgt3_filter_grp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 1, 5, 1, 29), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
docsSubmgt3FilterGrpRowStatus.setStatus('current')
docs_submgt3_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2))
docs_submgt3_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 1))
docs_submgt3_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 2))
docs_submgt3_compliance = module_compliance((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 1, 1)).setObjects(('DOCS-SUBMGT3-MIB', 'docsSubmgt3Group'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
docs_submgt3_compliance = docsSubmgt3Compliance.setStatus('current')
docs_submgt3_group = object_group((1, 3, 6, 1, 4, 1, 4491, 2, 1, 10, 2, 2, 1)).setObjects(('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCpeMaxIpv4Def'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCpeMaxIpv6PrefixesDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCpeActiveDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCpeLearnableDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseSubFilterDownDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseSubFilterUpDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCmFilterDownDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseCmFilterUpDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BasePsFilterDownDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BasePsFilterUpDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseMtaFilterDownDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseMtaFilterUpDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseStbFilterDownDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3BaseStbFilterUpDef'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlMaxCpeIpv4'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlActive'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlLearnable'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlReset'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeCtrlLastReset'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpAddrType'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpAddr'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpAddrPrefixLen'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpLearned'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3CpeIpType'), ('DOCS-SUBMGT3-MIB', 'docsSubMgt3GrpUdcGroupIds'), ('DOCS-SUBMGT3-MIB', 'docsSubMgt3GrpUdcSentInRegRsp'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpSubFilterDs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpSubFilterUs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpCmFilterDs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpCmFilterUs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpPsFilterDs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpPsFilterUs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpMtaFilterDs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpMtaFilterUs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpStbFilterDs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3GrpStbFilterUs'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpAction'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpPriority'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpIpTosLow'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpIpTosHigh'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpIpTosMask'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpIpProtocol'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpInetAddrType'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpInetSrcAddr'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpInetSrcMask'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpInetDestAddr'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpInetDestMask'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpSrcPortStart'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpSrcPortEnd'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpDestPortStart'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpDestPortEnd'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpDestMacAddr'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpDestMacMask'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpSrcMacAddr'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpEnetProtocolType'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpEnetProtocol'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpUserPriLow'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpUserPriHigh'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpVlanId'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpClassPkts'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpFlowLabel'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpCmInterfaceMask'), ('DOCS-SUBMGT3-MIB', 'docsSubmgt3FilterGrpRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
docs_submgt3_group = docsSubmgt3Group.setStatus('current')
mibBuilder.exportSymbols('DOCS-SUBMGT3-MIB', docsSubmgt3BaseStbFilterDownDef=docsSubmgt3BaseStbFilterDownDef, docsSubmgt3CpeCtrlMaxCpeIpv6Addresses=docsSubmgt3CpeCtrlMaxCpeIpv6Addresses, docsSubmgt3Group=docsSubmgt3Group, docsSubmgt3GrpEntry=docsSubmgt3GrpEntry, docsSubMgt3GrpUdcSentInRegRsp=docsSubMgt3GrpUdcSentInRegRsp, docsSubmgt3FilterGrpDestMacAddr=docsSubmgt3FilterGrpDestMacAddr, docsSubmgt3CpeIpAddrType=docsSubmgt3CpeIpAddrType, docsSubmgt3FilterGrpFlowLabel=docsSubmgt3FilterGrpFlowLabel, docsSubmgt3CpeIpId=docsSubmgt3CpeIpId, docsSubmgt3FilterGrpDestPortEnd=docsSubmgt3FilterGrpDestPortEnd, docsSubmgt3BaseCpeMaxIpv4Def=docsSubmgt3BaseCpeMaxIpv4Def, docsSubmgt3FilterGrpInetAddrType=docsSubmgt3FilterGrpInetAddrType, docsSubmgt3CpeCtrlActive=docsSubmgt3CpeCtrlActive, docsSubmgt3FilterGrpAction=docsSubmgt3FilterGrpAction, docsSubmgt3CpeIpType=docsSubmgt3CpeIpType, docsSubmgt3FilterGrpEnetProtocol=docsSubmgt3FilterGrpEnetProtocol, docsSubmgt3GrpSubFilterUs=docsSubmgt3GrpSubFilterUs, docsSubmgt3FilterGrpClassPkts=docsSubmgt3FilterGrpClassPkts, docsSubmgt3CpeIpLearned=docsSubmgt3CpeIpLearned, docsSubmgt3CpeCtrlMaxCpeIpv4=docsSubmgt3CpeCtrlMaxCpeIpv4, docsSubmgt3GrpPsFilterUs=docsSubmgt3GrpPsFilterUs, docsSubmgt3GrpSubFilterDs=docsSubmgt3GrpSubFilterDs, docsSubmgt3FilterGrpCmInterfaceMask=docsSubmgt3FilterGrpCmInterfaceMask, docsSubmgt3FilterGrpEnetProtocolType=docsSubmgt3FilterGrpEnetProtocolType, docsSubmgt3FilterGrpInetDestMask=docsSubmgt3FilterGrpInetDestMask, docsSubmgt3BaseCpeMaxIpv6PrefixesDef=docsSubmgt3BaseCpeMaxIpv6PrefixesDef, docsSubmgt3MibCompliances=docsSubmgt3MibCompliances, docsSubmgt3BaseCpeMaxIpv6AddressesDef=docsSubmgt3BaseCpeMaxIpv6AddressesDef, docsSubmgt3CpeCtrlLastReset=docsSubmgt3CpeCtrlLastReset, docsSubMgt3GrpUdcGroupIds=docsSubMgt3GrpUdcGroupIds, docsSubmgt3FilterGrpInetDestAddr=docsSubmgt3FilterGrpInetDestAddr, docsSubmgt3GrpPsFilterDs=docsSubmgt3GrpPsFilterDs, docsSubmgt3FilterGrpIpTosMask=docsSubmgt3FilterGrpIpTosMask, docsSubmgt3GrpStbFilterDs=docsSubmgt3GrpStbFilterDs, docsSubmgt3FilterGrpVlanId=docsSubmgt3FilterGrpVlanId, docsSubmgt3GrpMtaFilterUs=docsSubmgt3GrpMtaFilterUs, docsSubmgt3CpeCtrlReset=docsSubmgt3CpeCtrlReset, docsSubmgt3CpeIpTable=docsSubmgt3CpeIpTable, docsSubmgt3BaseCmFilterUpDef=docsSubmgt3BaseCmFilterUpDef, docsSubmgt3FilterGrpDestMacMask=docsSubmgt3FilterGrpDestMacMask, docsSubmgt3BasePsFilterDownDef=docsSubmgt3BasePsFilterDownDef, docsSubmgt3CpeCtrlEntry=docsSubmgt3CpeCtrlEntry, docsSubmgt3BaseCmFilterDownDef=docsSubmgt3BaseCmFilterDownDef, docsSubmgt3CpeCtrlLearnable=docsSubmgt3CpeCtrlLearnable, docsSubmgt3BasePsFilterUpDef=docsSubmgt3BasePsFilterUpDef, docsSubmgt3BaseStbFilterUpDef=docsSubmgt3BaseStbFilterUpDef, docsSubmgt3FilterGrpEntry=docsSubmgt3FilterGrpEntry, PYSNMP_MODULE_ID=docsSubmgt3Mib, docsSubmgt3CpeIpAddrPrefixLen=docsSubmgt3CpeIpAddrPrefixLen, docsSubmgt3BaseSubFilterUpDef=docsSubmgt3BaseSubFilterUpDef, docsSubmgt3FilterGrpPriority=docsSubmgt3FilterGrpPriority, docsSubmgt3FilterGrpInetSrcMask=docsSubmgt3FilterGrpInetSrcMask, docsSubmgt3MibConformance=docsSubmgt3MibConformance, docsSubmgt3GrpTable=docsSubmgt3GrpTable, docsSubmgt3CpeIpEntry=docsSubmgt3CpeIpEntry, docsSubmgt3BaseCpeActiveDef=docsSubmgt3BaseCpeActiveDef, docsSubmgt3BaseCpeLearnableDef=docsSubmgt3BaseCpeLearnableDef, docsSubmgt3BaseSubFilterDownDef=docsSubmgt3BaseSubFilterDownDef, docsSubmgt3FilterGrpRowStatus=docsSubmgt3FilterGrpRowStatus, docsSubmgt3FilterGrpGrpId=docsSubmgt3FilterGrpGrpId, docsSubmgt3FilterGrpTable=docsSubmgt3FilterGrpTable, docsSubmgt3Compliance=docsSubmgt3Compliance, docsSubmgt3FilterGrpIpTosHigh=docsSubmgt3FilterGrpIpTosHigh, docsSubmgt3FilterGrpRuleId=docsSubmgt3FilterGrpRuleId, docsSubmgt3GrpCmFilterDs=docsSubmgt3GrpCmFilterDs, docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes=docsSubmgt3CpeCtrlMaxCpeIpv6Prefixes, docsSubmgt3FilterGrpSrcPortEnd=docsSubmgt3FilterGrpSrcPortEnd, docsSubmgt3Base=docsSubmgt3Base, docsSubmgt3CpeIpAddr=docsSubmgt3CpeIpAddr, docsSubmgt3FilterGrpUserPriLow=docsSubmgt3FilterGrpUserPriLow, docsSubmgt3FilterGrpInetSrcAddr=docsSubmgt3FilterGrpInetSrcAddr, docsSubmgt3MibGroups=docsSubmgt3MibGroups, docsSubmgt3BaseMtaFilterDownDef=docsSubmgt3BaseMtaFilterDownDef, docsSubmgt3FilterGrpIpTosLow=docsSubmgt3FilterGrpIpTosLow, docsSubmgt3FilterGrpSrcPortStart=docsSubmgt3FilterGrpSrcPortStart, docsSubmgt3GrpMtaFilterDs=docsSubmgt3GrpMtaFilterDs, docsSubmgt3FilterGrpIpProtocol=docsSubmgt3FilterGrpIpProtocol, docsSubmgt3Mib=docsSubmgt3Mib, docsSubmgt3BaseMtaFilterUpDef=docsSubmgt3BaseMtaFilterUpDef, docsSubmgt3GrpCmFilterUs=docsSubmgt3GrpCmFilterUs, docsSubmgt3MibObjects=docsSubmgt3MibObjects, docsSubmgt3FilterGrpUserPriHigh=docsSubmgt3FilterGrpUserPriHigh, docsSubmgt3FilterGrpDestPortStart=docsSubmgt3FilterGrpDestPortStart, docsSubmgt3FilterGrpSrcMacAddr=docsSubmgt3FilterGrpSrcMacAddr, docsSubmgt3GrpStbFilterUs=docsSubmgt3GrpStbFilterUs, docsSubmgt3CpeCtrlTable=docsSubmgt3CpeCtrlTable) |
max_personal_participations = 5
team_size = 3
number_of_students, min_team_participations = map(int, input().split())
personal_participations = map(int, input().split())
eligible_personal_participations = len(list(filter(lambda n: n <= max_personal_participations - min_team_participations,
personal_participations)))
print(int(eligible_personal_participations // team_size))
| max_personal_participations = 5
team_size = 3
(number_of_students, min_team_participations) = map(int, input().split())
personal_participations = map(int, input().split())
eligible_personal_participations = len(list(filter(lambda n: n <= max_personal_participations - min_team_participations, personal_participations)))
print(int(eligible_personal_participations // team_size)) |
def add(x,y):
'''Add two numbers'''
return(x+y)
def subtract(x,y):
'''Subtract y from x'''
return(x-y)
def multiply(x,y):
'''Multiply x and y'''
return(x*y)
def divide(x,y):
'''Divide x by y'''
if y == 0:
raise ValueError('Cannot divide by 0')
return(x/y)
| def add(x, y):
"""Add two numbers"""
return x + y
def subtract(x, y):
"""Subtract y from x"""
return x - y
def multiply(x, y):
"""Multiply x and y"""
return x * y
def divide(x, y):
"""Divide x by y"""
if y == 0:
raise value_error('Cannot divide by 0')
return x / y |
#
# PySNMP MIB module AtiSwitch-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AtiSwitch-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:17:18 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, SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Counter64, ObjectIdentity, iso, Unsigned32, MibIdentifier, Counter32, enterprises, Bits, IpAddress, NotificationType, Gauge32, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "ObjectIdentity", "iso", "Unsigned32", "MibIdentifier", "Counter32", "enterprises", "Bits", "IpAddress", "NotificationType", "Gauge32", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Integer32")
TruthValue, TextualConvention, DisplayString, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "TextualConvention", "DisplayString", "RowStatus")
alliedTelesyn = MibIdentifier((1, 3, 6, 1, 4, 1, 207))
mibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8))
atiSwitchMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 207, 8, 15))
if mibBuilder.loadTexts: atiSwitchMib.setLastUpdated('0205010000Z')
if mibBuilder.loadTexts: atiSwitchMib.setOrganization('Allied Telesyn International')
class MACAddress(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6)
fixedLength = 6
class BridgeId(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8)
fixedLength = 8
class Timeout(Integer32):
pass
atiProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1))
swhub = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4))
at_8024 = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 66)).setLabel("at-8024")
at_8024GB = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 67)).setLabel("at-8024GB")
at_8024M = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 78)).setLabel("at-8024M")
at_8016F_SC = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 79)).setLabel("at-8016F-SC")
at_8026FC = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 80)).setLabel("at-8026FC")
at_8016F_MT = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 82)).setLabel("at-8016F-MT")
at_8012M = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 86)).setLabel("at-8012M")
at_8088_SC = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 87)).setLabel("at-8088-SC")
at_8088_MT = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 88)).setLabel("at-8088-MT")
at_8026T = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 89)).setLabel("at-8026T")
atiswitchSysGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1))
atiswitchConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 2))
atiswitchPortGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 3))
atiswitchVlanConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 4))
atiswitchEthernetStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5))
atiswitchEthPortStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6))
atiswitchFwdVlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 7))
atiswitchStaticMACGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 8))
atiswitchTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 9))
atiswitchProductType = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20))).clone(namedValues=NamedValues(("at8024", 1), ("at8024GB", 2), ("at8024M", 3), ("at8016F-SC", 4), ("at8016F-MT", 5), ("at8026FC", 6), ("at8012M", 7), ("at8088-SC", 8), ("at8088-MT", 9), ("at8026T", 10), ("other", 20)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchProductType.setStatus('current')
atiswitchBasePortCount = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchBasePortCount.setStatus('current')
atiswitchUplinkPortCount = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchUplinkPortCount.setStatus('current')
atiswitchReset = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switchnoreset", 1), ("switchreset", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchReset.setStatus('current')
atiswitchUplink1Type = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("copper", 1), ("fiber", 2), ("none", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchUplink1Type.setStatus('current')
atiswitchUplink2Type = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("copper", 1), ("fiber", 2), ("none", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchUplink2Type.setStatus('current')
atiswitchSwGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7))
atiswitchIpGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8))
atiswitchNMGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9))
atiswitchSw = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchSw.setStatus('current')
atiswitchSwVersion = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchSwVersion.setStatus('current')
atiswitchConfigIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchConfigIpAddress.setStatus('current')
atiswitchConfigSubMask = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchConfigSubMask.setStatus('current')
atiswitchConfigRouting = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 3), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchConfigRouting.setStatus('current')
atiswitchIPAddressStatus = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("fromDhcp", 1), ("fromBootp", 2), ("fromStatic", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchIPAddressStatus.setStatus('current')
atiswitchDNServer = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 5), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchDNServer.setStatus('current')
atiswitchDefaultDomainName = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 6), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchDefaultDomainName.setStatus('current')
atiswitchNwMgrTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1), )
if mibBuilder.loadTexts: atiswitchNwMgrTable.setStatus('current')
atiswitchNwMgrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchNwMgrIndex"))
if mibBuilder.loadTexts: atiswitchNwMgrEntry.setStatus('current')
atiswitchNwMgrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchNwMgrIndex.setStatus('current')
atiswitchNwMgrIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchNwMgrIpAddr.setStatus('current')
atiswitchMirrorState = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("receive", 1), ("transmit", 2), ("both", 3), ("disabled", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchMirrorState.setStatus('current')
atiswitchMirroringSourcePorts = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 2), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchMirroringSourcePorts.setStatus('current')
atiswitchMirroringDestinationPort = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchMirroringDestinationPort.setStatus('current')
atiswitchSecurityConfig = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 1), ("enabledLearningLocked", 2), ("enabledLimited", 3), ("enabledSecured", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchSecurityConfig.setStatus('current')
atiswitchSecurityAction = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("sendTrapOnly", 1), ("disablePortOnly", 2), ("disablePortAndSendTrap", 3), ("doNothing", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchSecurityAction.setStatus('current')
atiswitchPortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1), )
if mibBuilder.loadTexts: atiswitchPortTable.setStatus('current')
atiswitchPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchPortNumber"))
if mibBuilder.loadTexts: atiswitchPortEntry.setStatus('current')
atiswitchPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPortNumber.setStatus('current')
atiswitchPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortName.setStatus('current')
atiswitchPortAutosenseOrHalfDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("portAutoSense", 1), ("forceHalfDuplex-10M", 2), ("forceHalfDuplex-100M", 3), ("forceFullDuplex-10M", 4), ("forceFullDuplex-100M", 5), ("forceHalfDuplex-1G", 6), ("forceFullDuplex-1G", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortAutosenseOrHalfDuplex.setStatus('current')
atiswitchPortLinkState = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("online", 1), ("offline", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPortLinkState.setStatus('current')
atiswitchPortDuplexStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("fullDuplex", 1), ("halfDuplex", 2), ("autosense", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPortDuplexStatus.setStatus('current')
atiswitchPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tenMBits", 1), ("hundredMBits", 2), ("gigaBits", 3), ("unknown", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPortSpeed.setStatus('current')
atiswitchPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("blocking", 3), ("listening", 4), ("learning", 5), ("unknown", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortState.setStatus('current')
atiswitchPortFlowControlConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("disable", 1), ("transmit-only", 2), ("receive-only", 3), ("transmit-and-receive", 4), ("unknown", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortFlowControlConfig.setStatus('current')
atiswitchPortBackPressureConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("unknown", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortBackPressureConfig.setStatus('current')
atiswitchPortVlanTagPriorityConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("use-vlan-priority", 1), ("override-vlan-priority", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortVlanTagPriorityConfig.setStatus('current')
atiswitchPortCOSPriorityConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortCOSPriorityConfig.setStatus('current')
atiswitchPortBroadcastConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("discard-broadcasts", 1), ("do-not-discard-broadcasts", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortBroadcastConfig.setStatus('current')
atiswitchPortReset = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("reset", 1), ("no-reset", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchPortReset.setStatus('current')
atiswitchBasicVlanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1), )
if mibBuilder.loadTexts: atiswitchBasicVlanTable.setStatus('current')
atiswitchBasicVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchBeVlanIndex"))
if mibBuilder.loadTexts: atiswitchBasicVlanEntry.setStatus('current')
atiswitchBeVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchBeVlanIndex.setStatus('current')
atiswitchBeVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanName.setStatus('current')
atiswitchBeVlanTagId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanTagId.setStatus('current')
atiswitchBeVlanTaggedPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 4), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanTaggedPortMask.setStatus('current')
atiswitchBeVlanUntaggedPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 5), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanUntaggedPortMask.setStatus('current')
atiswitchBeVlanMirrorPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanMirrorPort.setStatus('current')
atiswitchBeVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: atiswitchBeVlanRowStatus.setStatus('current')
atiswitchPort2VlanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2), )
if mibBuilder.loadTexts: atiswitchPort2VlanTable.setStatus('current')
atiswitchPort2VlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchPvPortNumber"))
if mibBuilder.loadTexts: atiswitchPort2VlanEntry.setStatus('current')
atiswitchPvPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPvPortNumber.setStatus('current')
atiswitchPvVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchPvVlanName.setStatus('current')
atiswitchVlanMode = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("user-configured", 1), ("multiple", 2), ("multiple-802-1Q", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchVlanMode.setStatus('current')
atiswitchVlanUplinkVlanPort = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchVlanUplinkVlanPort.setStatus('current')
atiswitchEthMonStats = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1))
atiswitchEthErrorStats = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2))
atiswitchEthMonRxGoodFrames = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonRxGoodFrames.setStatus('current')
atiswitchEthMonTxGoodFrames = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxGoodFrames.setStatus('current')
atiswitchEthMonTxTotalBytes = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxTotalBytes.setStatus('current')
atiswitchEthMonTxDeferred = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxDeferred.setStatus('current')
atiswitchEthMonTxCollisions = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxCollisions.setStatus('current')
atiswitchEthMonTxBroadcastFrames = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxBroadcastFrames.setStatus('current')
atiswitchEthMonTxMulticastFrames = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonTxMulticastFrames.setStatus('current')
atiswitchEthMonRxOverruns = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthMonRxOverruns.setStatus('current')
atiswitchEthErrorCRC = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthErrorCRC.setStatus('current')
atiswitchEthErrorAlignment = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthErrorAlignment.setStatus('current')
atiswitchEthErrorRxBadFrames = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthErrorRxBadFrames.setStatus('current')
atiswitchEthErrorLateCollision = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthErrorLateCollision.setStatus('current')
atiswitchEthErrorTxTotal = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthErrorTxTotal.setStatus('current')
atiswitchEthPortMonStats = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1))
atiswitchEthPortError = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2))
atiswitchEthPortMonTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1), )
if mibBuilder.loadTexts: atiswitchEthPortMonTable.setStatus('current')
atiswitchEthPortMonEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchEthPortMonId"))
if mibBuilder.loadTexts: atiswitchEthPortMonEntry.setStatus('current')
atiswitchEthPortMonId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonId.setStatus('current')
atiswitchEthPortMonRxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonRxGoodFrames.setStatus('current')
atiswitchEthPortMonTxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxGoodFrames.setStatus('current')
atiswitchEthPortMonTxTotalBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxTotalBytes.setStatus('current')
atiswitchEthPortMonTxDeferred = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxDeferred.setStatus('current')
atiswitchEthPortMonTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxCollisions.setStatus('current')
atiswitchEthPortMonTxBroadcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxBroadcastFrames.setStatus('current')
atiswitchEthPortMonTxMulticastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonTxMulticastFrames.setStatus('current')
atiswitchEthPortMonRxOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortMonRxOverruns.setStatus('current')
atiswitchEthPortErrorTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1), )
if mibBuilder.loadTexts: atiswitchEthPortErrorTable.setStatus('current')
atiswitchEthPortErrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchEthPortErrorId"))
if mibBuilder.loadTexts: atiswitchEthPortErrorEntry.setStatus('current')
atiswitchEthPortErrorId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortErrorId.setStatus('current')
atiswitchEthPortErrorRxBadFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortErrorRxBadFrames.setStatus('current')
atiswitchEthPortErrorTxTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchEthPortErrorTxTotal.setStatus('current')
atiswitchFwdVlanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1), )
if mibBuilder.loadTexts: atiswitchFwdVlanTable.setStatus('current')
atiswitchFwdVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchFwdVlanMACAddr"))
if mibBuilder.loadTexts: atiswitchFwdVlanEntry.setStatus('current')
atiswitchFwdVlanMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 1), MACAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchFwdVlanMACAddr.setStatus('current')
atiswitchFwdVlanVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchFwdVlanVlanId.setStatus('current')
atiswitchFwdVlanAge = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchFwdVlanAge.setStatus('current')
atiswitchFwdVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("active", 2), ("other", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchFwdVlanStatus.setStatus('current')
atiswitchFwdVlanPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiswitchFwdVlanPort.setStatus('current')
atiswitchStaticMACTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1), )
if mibBuilder.loadTexts: atiswitchStaticMACTable.setStatus('current')
atiswitchStaticMACEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1), ).setIndexNames((0, "AtiSwitch-MIB", "atiswitchStaticMACAddress"))
if mibBuilder.loadTexts: atiswitchStaticMACEntry.setStatus('current')
atiswitchStaticMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 1), MACAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchStaticMACAddress.setStatus('current')
atiswitchStaticMACPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchStaticMACPortNumber.setStatus('current')
atiswitchStaticMACEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("valid", 1), ("invalid", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiswitchStaticMACEntryStatus.setStatus('current')
atiswitchFanStopTrap = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 15, 9, 1))
if mibBuilder.loadTexts: atiswitchFanStopTrap.setStatus('current')
atiswitchTemperatureAbnormalTrap = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 15, 9, 2))
if mibBuilder.loadTexts: atiswitchTemperatureAbnormalTrap.setStatus('current')
mibBuilder.exportSymbols("AtiSwitch-MIB", atiswitchPortEntry=atiswitchPortEntry, atiswitchEthPortErrorId=atiswitchEthPortErrorId, atiswitchPort2VlanEntry=atiswitchPort2VlanEntry, atiswitchEthPortErrorRxBadFrames=atiswitchEthPortErrorRxBadFrames, atiswitchSysGroup=atiswitchSysGroup, atiswitchEthMonStats=atiswitchEthMonStats, atiswitchFwdVlanTable=atiswitchFwdVlanTable, atiswitchEthMonTxTotalBytes=atiswitchEthMonTxTotalBytes, atiswitchPortVlanTagPriorityConfig=atiswitchPortVlanTagPriorityConfig, atiswitchEthMonRxGoodFrames=atiswitchEthMonRxGoodFrames, atiswitchBasePortCount=atiswitchBasePortCount, atiswitchPvVlanName=atiswitchPvVlanName, atiswitchEthErrorLateCollision=atiswitchEthErrorLateCollision, PYSNMP_MODULE_ID=atiSwitchMib, atiswitchSecurityAction=atiswitchSecurityAction, atiswitchStaticMACEntryStatus=atiswitchStaticMACEntryStatus, atiswitchEthErrorStats=atiswitchEthErrorStats, atiswitchFwdVlanStatus=atiswitchFwdVlanStatus, atiswitchPortNumber=atiswitchPortNumber, atiswitchProductType=atiswitchProductType, atiswitchEthMonRxOverruns=atiswitchEthMonRxOverruns, atiswitchEthErrorCRC=atiswitchEthErrorCRC, atiswitchEthPortErrorEntry=atiswitchEthPortErrorEntry, atiswitchEthMonTxBroadcastFrames=atiswitchEthMonTxBroadcastFrames, atiswitchEthPortErrorTxTotal=atiswitchEthPortErrorTxTotal, atiswitchNwMgrTable=atiswitchNwMgrTable, atiswitchVlanMode=atiswitchVlanMode, at_8026FC=at_8026FC, atiswitchEthErrorRxBadFrames=atiswitchEthErrorRxBadFrames, atiswitchEthErrorAlignment=atiswitchEthErrorAlignment, atiswitchUplinkPortCount=atiswitchUplinkPortCount, atiswitchConfigSubMask=atiswitchConfigSubMask, atiswitchFwdVlanEntry=atiswitchFwdVlanEntry, atiswitchEthPortMonTxBroadcastFrames=atiswitchEthPortMonTxBroadcastFrames, atiswitchEthPortMonTxCollisions=atiswitchEthPortMonTxCollisions, atiswitchEthPortStatsGroup=atiswitchEthPortStatsGroup, atiswitchVlanConfigGroup=atiswitchVlanConfigGroup, atiswitchPortFlowControlConfig=atiswitchPortFlowControlConfig, atiswitchEthPortMonTxDeferred=atiswitchEthPortMonTxDeferred, atiProduct=atiProduct, atiswitchDefaultDomainName=atiswitchDefaultDomainName, atiswitchPortCOSPriorityConfig=atiswitchPortCOSPriorityConfig, atiswitchEthPortMonStats=atiswitchEthPortMonStats, atiswitchEthMonTxGoodFrames=atiswitchEthMonTxGoodFrames, atiswitchEthPortMonRxOverruns=atiswitchEthPortMonRxOverruns, atiswitchPortGroup=atiswitchPortGroup, atiswitchBeVlanTagId=atiswitchBeVlanTagId, atiswitchEthPortMonTxMulticastFrames=atiswitchEthPortMonTxMulticastFrames, atiswitchBasicVlanTable=atiswitchBasicVlanTable, atiswitchPort2VlanTable=atiswitchPort2VlanTable, atiswitchPortSpeed=atiswitchPortSpeed, atiswitchStaticMACPortNumber=atiswitchStaticMACPortNumber, atiswitchConfigIpAddress=atiswitchConfigIpAddress, atiswitchPortBackPressureConfig=atiswitchPortBackPressureConfig, atiswitchEthErrorTxTotal=atiswitchEthErrorTxTotal, atiswitchMirrorState=atiswitchMirrorState, atiswitchMirroringDestinationPort=atiswitchMirroringDestinationPort, atiswitchBeVlanMirrorPort=atiswitchBeVlanMirrorPort, atiswitchBeVlanIndex=atiswitchBeVlanIndex, atiswitchConfigGroup=atiswitchConfigGroup, atiswitchEthPortMonTxGoodFrames=atiswitchEthPortMonTxGoodFrames, atiswitchPortState=atiswitchPortState, atiswitchReset=atiswitchReset, atiswitchPortTable=atiswitchPortTable, atiswitchBeVlanName=atiswitchBeVlanName, atiswitchIPAddressStatus=atiswitchIPAddressStatus, atiswitchSecurityConfig=atiswitchSecurityConfig, atiswitchPortReset=atiswitchPortReset, atiswitchNwMgrIpAddr=atiswitchNwMgrIpAddr, atiswitchMirroringSourcePorts=atiswitchMirroringSourcePorts, Timeout=Timeout, atiswitchEthernetStatsGroup=atiswitchEthernetStatsGroup, atiswitchTraps=atiswitchTraps, BridgeId=BridgeId, mibObject=mibObject, atiswitchEthMonTxDeferred=atiswitchEthMonTxDeferred, atiswitchConfigRouting=atiswitchConfigRouting, atiswitchEthPortMonTable=atiswitchEthPortMonTable, at_8088_SC=at_8088_SC, atiswitchStaticMACAddress=atiswitchStaticMACAddress, at_8012M=at_8012M, at_8024=at_8024, atiswitchEthMonTxMulticastFrames=atiswitchEthMonTxMulticastFrames, atiswitchEthPortErrorTable=atiswitchEthPortErrorTable, atiswitchFanStopTrap=atiswitchFanStopTrap, swhub=swhub, atiswitchBeVlanRowStatus=atiswitchBeVlanRowStatus, atiswitchFwdVlanMACAddr=atiswitchFwdVlanMACAddr, atiswitchEthMonTxCollisions=atiswitchEthMonTxCollisions, atiswitchPortLinkState=atiswitchPortLinkState, alliedTelesyn=alliedTelesyn, atiswitchVlanUplinkVlanPort=atiswitchVlanUplinkVlanPort, atiswitchEthPortMonId=atiswitchEthPortMonId, atiswitchNwMgrIndex=atiswitchNwMgrIndex, atiswitchSwVersion=atiswitchSwVersion, atiswitchPvPortNumber=atiswitchPvPortNumber, atiswitchTemperatureAbnormalTrap=atiswitchTemperatureAbnormalTrap, atiswitchPortBroadcastConfig=atiswitchPortBroadcastConfig, atiswitchUplink2Type=atiswitchUplink2Type, atiswitchSwGroup=atiswitchSwGroup, atiswitchNwMgrEntry=atiswitchNwMgrEntry, atiswitchPortAutosenseOrHalfDuplex=atiswitchPortAutosenseOrHalfDuplex, atiswitchDNServer=atiswitchDNServer, atiswitchUplink1Type=atiswitchUplink1Type, atiswitchFwdVlanPort=atiswitchFwdVlanPort, at_8088_MT=at_8088_MT, atiswitchFwdVlanAge=atiswitchFwdVlanAge, atiswitchStaticMACTable=atiswitchStaticMACTable, at_8026T=at_8026T, atiswitchEthPortMonEntry=atiswitchEthPortMonEntry, atiswitchBasicVlanEntry=atiswitchBasicVlanEntry, atiswitchPortDuplexStatus=atiswitchPortDuplexStatus, MACAddress=MACAddress, atiswitchFwdVlanGroup=atiswitchFwdVlanGroup, at_8016F_SC=at_8016F_SC, atiswitchSw=atiswitchSw, atiswitchIpGroup=atiswitchIpGroup, atiSwitchMib=atiSwitchMib, atiswitchStaticMACEntry=atiswitchStaticMACEntry, atiswitchStaticMACGroup=atiswitchStaticMACGroup, atiswitchPortName=atiswitchPortName, atiswitchNMGroup=atiswitchNMGroup, atiswitchFwdVlanVlanId=atiswitchFwdVlanVlanId, atiswitchBeVlanTaggedPortMask=atiswitchBeVlanTaggedPortMask, at_8016F_MT=at_8016F_MT, atiswitchBeVlanUntaggedPortMask=atiswitchBeVlanUntaggedPortMask, atiswitchEthPortMonTxTotalBytes=atiswitchEthPortMonTxTotalBytes, at_8024M=at_8024M, at_8024GB=at_8024GB, atiswitchEthPortMonRxGoodFrames=atiswitchEthPortMonRxGoodFrames, atiswitchEthPortError=atiswitchEthPortError)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(counter64, object_identity, iso, unsigned32, mib_identifier, counter32, enterprises, bits, ip_address, notification_type, gauge32, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'ObjectIdentity', 'iso', 'Unsigned32', 'MibIdentifier', 'Counter32', 'enterprises', 'Bits', 'IpAddress', 'NotificationType', 'Gauge32', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Integer32')
(truth_value, textual_convention, display_string, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'TextualConvention', 'DisplayString', 'RowStatus')
allied_telesyn = mib_identifier((1, 3, 6, 1, 4, 1, 207))
mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8))
ati_switch_mib = module_identity((1, 3, 6, 1, 4, 1, 207, 8, 15))
if mibBuilder.loadTexts:
atiSwitchMib.setLastUpdated('0205010000Z')
if mibBuilder.loadTexts:
atiSwitchMib.setOrganization('Allied Telesyn International')
class Macaddress(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(6, 6)
fixed_length = 6
class Bridgeid(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8)
fixed_length = 8
class Timeout(Integer32):
pass
ati_product = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1))
swhub = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4))
at_8024 = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 66)).setLabel('at-8024')
at_8024_gb = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 67)).setLabel('at-8024GB')
at_8024_m = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 78)).setLabel('at-8024M')
at_8016_f_sc = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 79)).setLabel('at-8016F-SC')
at_8026_fc = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 80)).setLabel('at-8026FC')
at_8016_f_mt = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 82)).setLabel('at-8016F-MT')
at_8012_m = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 86)).setLabel('at-8012M')
at_8088_sc = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 87)).setLabel('at-8088-SC')
at_8088_mt = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 88)).setLabel('at-8088-MT')
at_8026_t = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 89)).setLabel('at-8026T')
atiswitch_sys_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1))
atiswitch_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 2))
atiswitch_port_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 3))
atiswitch_vlan_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 4))
atiswitch_ethernet_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5))
atiswitch_eth_port_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6))
atiswitch_fwd_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 7))
atiswitch_static_mac_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 8))
atiswitch_traps = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 9))
atiswitch_product_type = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20))).clone(namedValues=named_values(('at8024', 1), ('at8024GB', 2), ('at8024M', 3), ('at8016F-SC', 4), ('at8016F-MT', 5), ('at8026FC', 6), ('at8012M', 7), ('at8088-SC', 8), ('at8088-MT', 9), ('at8026T', 10), ('other', 20)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchProductType.setStatus('current')
atiswitch_base_port_count = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchBasePortCount.setStatus('current')
atiswitch_uplink_port_count = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchUplinkPortCount.setStatus('current')
atiswitch_reset = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switchnoreset', 1), ('switchreset', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchReset.setStatus('current')
atiswitch_uplink1_type = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('copper', 1), ('fiber', 2), ('none', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchUplink1Type.setStatus('current')
atiswitch_uplink2_type = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('copper', 1), ('fiber', 2), ('none', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchUplink2Type.setStatus('current')
atiswitch_sw_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7))
atiswitch_ip_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8))
atiswitch_nm_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9))
atiswitch_sw = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchSw.setStatus('current')
atiswitch_sw_version = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 7, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchSwVersion.setStatus('current')
atiswitch_config_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 1), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchConfigIpAddress.setStatus('current')
atiswitch_config_sub_mask = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 2), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchConfigSubMask.setStatus('current')
atiswitch_config_routing = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 3), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchConfigRouting.setStatus('current')
atiswitch_ip_address_status = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('fromDhcp', 1), ('fromBootp', 2), ('fromStatic', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchIPAddressStatus.setStatus('current')
atiswitch_dn_server = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 5), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchDNServer.setStatus('current')
atiswitch_default_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 8, 6), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchDefaultDomainName.setStatus('current')
atiswitch_nw_mgr_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1))
if mibBuilder.loadTexts:
atiswitchNwMgrTable.setStatus('current')
atiswitch_nw_mgr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchNwMgrIndex'))
if mibBuilder.loadTexts:
atiswitchNwMgrEntry.setStatus('current')
atiswitch_nw_mgr_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchNwMgrIndex.setStatus('current')
atiswitch_nw_mgr_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 1, 9, 1, 1, 2), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchNwMgrIpAddr.setStatus('current')
atiswitch_mirror_state = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('receive', 1), ('transmit', 2), ('both', 3), ('disabled', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchMirrorState.setStatus('current')
atiswitch_mirroring_source_ports = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 2), display_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchMirroringSourcePorts.setStatus('current')
atiswitch_mirroring_destination_port = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchMirroringDestinationPort.setStatus('current')
atiswitch_security_config = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 1), ('enabledLearningLocked', 2), ('enabledLimited', 3), ('enabledSecured', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchSecurityConfig.setStatus('current')
atiswitch_security_action = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 2, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('sendTrapOnly', 1), ('disablePortOnly', 2), ('disablePortAndSendTrap', 3), ('doNothing', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchSecurityAction.setStatus('current')
atiswitch_port_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1))
if mibBuilder.loadTexts:
atiswitchPortTable.setStatus('current')
atiswitch_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchPortNumber'))
if mibBuilder.loadTexts:
atiswitchPortEntry.setStatus('current')
atiswitch_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPortNumber.setStatus('current')
atiswitch_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortName.setStatus('current')
atiswitch_port_autosense_or_half_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('portAutoSense', 1), ('forceHalfDuplex-10M', 2), ('forceHalfDuplex-100M', 3), ('forceFullDuplex-10M', 4), ('forceFullDuplex-100M', 5), ('forceHalfDuplex-1G', 6), ('forceFullDuplex-1G', 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortAutosenseOrHalfDuplex.setStatus('current')
atiswitch_port_link_state = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('online', 1), ('offline', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPortLinkState.setStatus('current')
atiswitch_port_duplex_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('fullDuplex', 1), ('halfDuplex', 2), ('autosense', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPortDuplexStatus.setStatus('current')
atiswitch_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tenMBits', 1), ('hundredMBits', 2), ('gigaBits', 3), ('unknown', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPortSpeed.setStatus('current')
atiswitch_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('blocking', 3), ('listening', 4), ('learning', 5), ('unknown', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortState.setStatus('current')
atiswitch_port_flow_control_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('disable', 1), ('transmit-only', 2), ('receive-only', 3), ('transmit-and-receive', 4), ('unknown', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortFlowControlConfig.setStatus('current')
atiswitch_port_back_pressure_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('unknown', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortBackPressureConfig.setStatus('current')
atiswitch_port_vlan_tag_priority_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('use-vlan-priority', 1), ('override-vlan-priority', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortVlanTagPriorityConfig.setStatus('current')
atiswitch_port_cos_priority_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortCOSPriorityConfig.setStatus('current')
atiswitch_port_broadcast_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('discard-broadcasts', 1), ('do-not-discard-broadcasts', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortBroadcastConfig.setStatus('current')
atiswitch_port_reset = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 3, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('reset', 1), ('no-reset', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchPortReset.setStatus('current')
atiswitch_basic_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1))
if mibBuilder.loadTexts:
atiswitchBasicVlanTable.setStatus('current')
atiswitch_basic_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchBeVlanIndex'))
if mibBuilder.loadTexts:
atiswitchBasicVlanEntry.setStatus('current')
atiswitch_be_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchBeVlanIndex.setStatus('current')
atiswitch_be_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanName.setStatus('current')
atiswitch_be_vlan_tag_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanTagId.setStatus('current')
atiswitch_be_vlan_tagged_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 4), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanTaggedPortMask.setStatus('current')
atiswitch_be_vlan_untagged_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 5), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanUntaggedPortMask.setStatus('current')
atiswitch_be_vlan_mirror_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanMirrorPort.setStatus('current')
atiswitch_be_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 1, 1, 7), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
atiswitchBeVlanRowStatus.setStatus('current')
atiswitch_port2_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2))
if mibBuilder.loadTexts:
atiswitchPort2VlanTable.setStatus('current')
atiswitch_port2_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchPvPortNumber'))
if mibBuilder.loadTexts:
atiswitchPort2VlanEntry.setStatus('current')
atiswitch_pv_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPvPortNumber.setStatus('current')
atiswitch_pv_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchPvVlanName.setStatus('current')
atiswitch_vlan_mode = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('user-configured', 1), ('multiple', 2), ('multiple-802-1Q', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchVlanMode.setStatus('current')
atiswitch_vlan_uplink_vlan_port = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 4, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchVlanUplinkVlanPort.setStatus('current')
atiswitch_eth_mon_stats = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1))
atiswitch_eth_error_stats = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2))
atiswitch_eth_mon_rx_good_frames = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonRxGoodFrames.setStatus('current')
atiswitch_eth_mon_tx_good_frames = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxGoodFrames.setStatus('current')
atiswitch_eth_mon_tx_total_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxTotalBytes.setStatus('current')
atiswitch_eth_mon_tx_deferred = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxDeferred.setStatus('current')
atiswitch_eth_mon_tx_collisions = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxCollisions.setStatus('current')
atiswitch_eth_mon_tx_broadcast_frames = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxBroadcastFrames.setStatus('current')
atiswitch_eth_mon_tx_multicast_frames = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonTxMulticastFrames.setStatus('current')
atiswitch_eth_mon_rx_overruns = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthMonRxOverruns.setStatus('current')
atiswitch_eth_error_crc = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthErrorCRC.setStatus('current')
atiswitch_eth_error_alignment = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthErrorAlignment.setStatus('current')
atiswitch_eth_error_rx_bad_frames = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthErrorRxBadFrames.setStatus('current')
atiswitch_eth_error_late_collision = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthErrorLateCollision.setStatus('current')
atiswitch_eth_error_tx_total = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 15, 5, 2, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthErrorTxTotal.setStatus('current')
atiswitch_eth_port_mon_stats = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1))
atiswitch_eth_port_error = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2))
atiswitch_eth_port_mon_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1))
if mibBuilder.loadTexts:
atiswitchEthPortMonTable.setStatus('current')
atiswitch_eth_port_mon_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchEthPortMonId'))
if mibBuilder.loadTexts:
atiswitchEthPortMonEntry.setStatus('current')
atiswitch_eth_port_mon_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonId.setStatus('current')
atiswitch_eth_port_mon_rx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonRxGoodFrames.setStatus('current')
atiswitch_eth_port_mon_tx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxGoodFrames.setStatus('current')
atiswitch_eth_port_mon_tx_total_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxTotalBytes.setStatus('current')
atiswitch_eth_port_mon_tx_deferred = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxDeferred.setStatus('current')
atiswitch_eth_port_mon_tx_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxCollisions.setStatus('current')
atiswitch_eth_port_mon_tx_broadcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxBroadcastFrames.setStatus('current')
atiswitch_eth_port_mon_tx_multicast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonTxMulticastFrames.setStatus('current')
atiswitch_eth_port_mon_rx_overruns = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 1, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortMonRxOverruns.setStatus('current')
atiswitch_eth_port_error_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1))
if mibBuilder.loadTexts:
atiswitchEthPortErrorTable.setStatus('current')
atiswitch_eth_port_error_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchEthPortErrorId'))
if mibBuilder.loadTexts:
atiswitchEthPortErrorEntry.setStatus('current')
atiswitch_eth_port_error_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortErrorId.setStatus('current')
atiswitch_eth_port_error_rx_bad_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortErrorRxBadFrames.setStatus('current')
atiswitch_eth_port_error_tx_total = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 6, 2, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchEthPortErrorTxTotal.setStatus('current')
atiswitch_fwd_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1))
if mibBuilder.loadTexts:
atiswitchFwdVlanTable.setStatus('current')
atiswitch_fwd_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchFwdVlanMACAddr'))
if mibBuilder.loadTexts:
atiswitchFwdVlanEntry.setStatus('current')
atiswitch_fwd_vlan_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 1), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchFwdVlanMACAddr.setStatus('current')
atiswitch_fwd_vlan_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchFwdVlanVlanId.setStatus('current')
atiswitch_fwd_vlan_age = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchFwdVlanAge.setStatus('current')
atiswitch_fwd_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('active', 2), ('other', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchFwdVlanStatus.setStatus('current')
atiswitch_fwd_vlan_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 7, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
atiswitchFwdVlanPort.setStatus('current')
atiswitch_static_mac_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1))
if mibBuilder.loadTexts:
atiswitchStaticMACTable.setStatus('current')
atiswitch_static_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1)).setIndexNames((0, 'AtiSwitch-MIB', 'atiswitchStaticMACAddress'))
if mibBuilder.loadTexts:
atiswitchStaticMACEntry.setStatus('current')
atiswitch_static_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 1), mac_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchStaticMACAddress.setStatus('current')
atiswitch_static_mac_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchStaticMACPortNumber.setStatus('current')
atiswitch_static_mac_entry_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 15, 8, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('valid', 1), ('invalid', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atiswitchStaticMACEntryStatus.setStatus('current')
atiswitch_fan_stop_trap = notification_type((1, 3, 6, 1, 4, 1, 207, 8, 15, 9, 1))
if mibBuilder.loadTexts:
atiswitchFanStopTrap.setStatus('current')
atiswitch_temperature_abnormal_trap = notification_type((1, 3, 6, 1, 4, 1, 207, 8, 15, 9, 2))
if mibBuilder.loadTexts:
atiswitchTemperatureAbnormalTrap.setStatus('current')
mibBuilder.exportSymbols('AtiSwitch-MIB', atiswitchPortEntry=atiswitchPortEntry, atiswitchEthPortErrorId=atiswitchEthPortErrorId, atiswitchPort2VlanEntry=atiswitchPort2VlanEntry, atiswitchEthPortErrorRxBadFrames=atiswitchEthPortErrorRxBadFrames, atiswitchSysGroup=atiswitchSysGroup, atiswitchEthMonStats=atiswitchEthMonStats, atiswitchFwdVlanTable=atiswitchFwdVlanTable, atiswitchEthMonTxTotalBytes=atiswitchEthMonTxTotalBytes, atiswitchPortVlanTagPriorityConfig=atiswitchPortVlanTagPriorityConfig, atiswitchEthMonRxGoodFrames=atiswitchEthMonRxGoodFrames, atiswitchBasePortCount=atiswitchBasePortCount, atiswitchPvVlanName=atiswitchPvVlanName, atiswitchEthErrorLateCollision=atiswitchEthErrorLateCollision, PYSNMP_MODULE_ID=atiSwitchMib, atiswitchSecurityAction=atiswitchSecurityAction, atiswitchStaticMACEntryStatus=atiswitchStaticMACEntryStatus, atiswitchEthErrorStats=atiswitchEthErrorStats, atiswitchFwdVlanStatus=atiswitchFwdVlanStatus, atiswitchPortNumber=atiswitchPortNumber, atiswitchProductType=atiswitchProductType, atiswitchEthMonRxOverruns=atiswitchEthMonRxOverruns, atiswitchEthErrorCRC=atiswitchEthErrorCRC, atiswitchEthPortErrorEntry=atiswitchEthPortErrorEntry, atiswitchEthMonTxBroadcastFrames=atiswitchEthMonTxBroadcastFrames, atiswitchEthPortErrorTxTotal=atiswitchEthPortErrorTxTotal, atiswitchNwMgrTable=atiswitchNwMgrTable, atiswitchVlanMode=atiswitchVlanMode, at_8026FC=at_8026FC, atiswitchEthErrorRxBadFrames=atiswitchEthErrorRxBadFrames, atiswitchEthErrorAlignment=atiswitchEthErrorAlignment, atiswitchUplinkPortCount=atiswitchUplinkPortCount, atiswitchConfigSubMask=atiswitchConfigSubMask, atiswitchFwdVlanEntry=atiswitchFwdVlanEntry, atiswitchEthPortMonTxBroadcastFrames=atiswitchEthPortMonTxBroadcastFrames, atiswitchEthPortMonTxCollisions=atiswitchEthPortMonTxCollisions, atiswitchEthPortStatsGroup=atiswitchEthPortStatsGroup, atiswitchVlanConfigGroup=atiswitchVlanConfigGroup, atiswitchPortFlowControlConfig=atiswitchPortFlowControlConfig, atiswitchEthPortMonTxDeferred=atiswitchEthPortMonTxDeferred, atiProduct=atiProduct, atiswitchDefaultDomainName=atiswitchDefaultDomainName, atiswitchPortCOSPriorityConfig=atiswitchPortCOSPriorityConfig, atiswitchEthPortMonStats=atiswitchEthPortMonStats, atiswitchEthMonTxGoodFrames=atiswitchEthMonTxGoodFrames, atiswitchEthPortMonRxOverruns=atiswitchEthPortMonRxOverruns, atiswitchPortGroup=atiswitchPortGroup, atiswitchBeVlanTagId=atiswitchBeVlanTagId, atiswitchEthPortMonTxMulticastFrames=atiswitchEthPortMonTxMulticastFrames, atiswitchBasicVlanTable=atiswitchBasicVlanTable, atiswitchPort2VlanTable=atiswitchPort2VlanTable, atiswitchPortSpeed=atiswitchPortSpeed, atiswitchStaticMACPortNumber=atiswitchStaticMACPortNumber, atiswitchConfigIpAddress=atiswitchConfigIpAddress, atiswitchPortBackPressureConfig=atiswitchPortBackPressureConfig, atiswitchEthErrorTxTotal=atiswitchEthErrorTxTotal, atiswitchMirrorState=atiswitchMirrorState, atiswitchMirroringDestinationPort=atiswitchMirroringDestinationPort, atiswitchBeVlanMirrorPort=atiswitchBeVlanMirrorPort, atiswitchBeVlanIndex=atiswitchBeVlanIndex, atiswitchConfigGroup=atiswitchConfigGroup, atiswitchEthPortMonTxGoodFrames=atiswitchEthPortMonTxGoodFrames, atiswitchPortState=atiswitchPortState, atiswitchReset=atiswitchReset, atiswitchPortTable=atiswitchPortTable, atiswitchBeVlanName=atiswitchBeVlanName, atiswitchIPAddressStatus=atiswitchIPAddressStatus, atiswitchSecurityConfig=atiswitchSecurityConfig, atiswitchPortReset=atiswitchPortReset, atiswitchNwMgrIpAddr=atiswitchNwMgrIpAddr, atiswitchMirroringSourcePorts=atiswitchMirroringSourcePorts, Timeout=Timeout, atiswitchEthernetStatsGroup=atiswitchEthernetStatsGroup, atiswitchTraps=atiswitchTraps, BridgeId=BridgeId, mibObject=mibObject, atiswitchEthMonTxDeferred=atiswitchEthMonTxDeferred, atiswitchConfigRouting=atiswitchConfigRouting, atiswitchEthPortMonTable=atiswitchEthPortMonTable, at_8088_SC=at_8088_SC, atiswitchStaticMACAddress=atiswitchStaticMACAddress, at_8012M=at_8012M, at_8024=at_8024, atiswitchEthMonTxMulticastFrames=atiswitchEthMonTxMulticastFrames, atiswitchEthPortErrorTable=atiswitchEthPortErrorTable, atiswitchFanStopTrap=atiswitchFanStopTrap, swhub=swhub, atiswitchBeVlanRowStatus=atiswitchBeVlanRowStatus, atiswitchFwdVlanMACAddr=atiswitchFwdVlanMACAddr, atiswitchEthMonTxCollisions=atiswitchEthMonTxCollisions, atiswitchPortLinkState=atiswitchPortLinkState, alliedTelesyn=alliedTelesyn, atiswitchVlanUplinkVlanPort=atiswitchVlanUplinkVlanPort, atiswitchEthPortMonId=atiswitchEthPortMonId, atiswitchNwMgrIndex=atiswitchNwMgrIndex, atiswitchSwVersion=atiswitchSwVersion, atiswitchPvPortNumber=atiswitchPvPortNumber, atiswitchTemperatureAbnormalTrap=atiswitchTemperatureAbnormalTrap, atiswitchPortBroadcastConfig=atiswitchPortBroadcastConfig, atiswitchUplink2Type=atiswitchUplink2Type, atiswitchSwGroup=atiswitchSwGroup, atiswitchNwMgrEntry=atiswitchNwMgrEntry, atiswitchPortAutosenseOrHalfDuplex=atiswitchPortAutosenseOrHalfDuplex, atiswitchDNServer=atiswitchDNServer, atiswitchUplink1Type=atiswitchUplink1Type, atiswitchFwdVlanPort=atiswitchFwdVlanPort, at_8088_MT=at_8088_MT, atiswitchFwdVlanAge=atiswitchFwdVlanAge, atiswitchStaticMACTable=atiswitchStaticMACTable, at_8026T=at_8026T, atiswitchEthPortMonEntry=atiswitchEthPortMonEntry, atiswitchBasicVlanEntry=atiswitchBasicVlanEntry, atiswitchPortDuplexStatus=atiswitchPortDuplexStatus, MACAddress=MACAddress, atiswitchFwdVlanGroup=atiswitchFwdVlanGroup, at_8016F_SC=at_8016F_SC, atiswitchSw=atiswitchSw, atiswitchIpGroup=atiswitchIpGroup, atiSwitchMib=atiSwitchMib, atiswitchStaticMACEntry=atiswitchStaticMACEntry, atiswitchStaticMACGroup=atiswitchStaticMACGroup, atiswitchPortName=atiswitchPortName, atiswitchNMGroup=atiswitchNMGroup, atiswitchFwdVlanVlanId=atiswitchFwdVlanVlanId, atiswitchBeVlanTaggedPortMask=atiswitchBeVlanTaggedPortMask, at_8016F_MT=at_8016F_MT, atiswitchBeVlanUntaggedPortMask=atiswitchBeVlanUntaggedPortMask, atiswitchEthPortMonTxTotalBytes=atiswitchEthPortMonTxTotalBytes, at_8024M=at_8024M, at_8024GB=at_8024GB, atiswitchEthPortMonRxGoodFrames=atiswitchEthPortMonRxGoodFrames, atiswitchEthPortError=atiswitchEthPortError) |
# -*- coding: utf-8 -*-
class ExtendDict(dict):
def __getattr__(self, name):
return self.get(name)
| class Extenddict(dict):
def __getattr__(self, name):
return self.get(name) |
# Created by MechAviv
# Quest ID :: 34915
# Not coded yet
sm.setSpeakerID(3001508)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
if sm.sendAskAccept("#face2#You're gonna go save Mar? It's really dangerous! Are you sure you want to go?\r\n\r\n \r\n#b(If you accept, you'll travel there automatically.)#k"):
sm.warp(402090011, 0)
| sm.setSpeakerID(3001508)
sm.removeEscapeButton()
sm.flipDialogue()
sm.setBoxChat()
sm.boxChatPlayerAsSpeaker()
sm.setBoxOverrideSpeaker()
sm.flipBoxChat()
sm.flipBoxChatPlayerAsSpeaker()
sm.setColor(1)
if sm.sendAskAccept("#face2#You're gonna go save Mar? It's really dangerous! Are you sure you want to go?\r\n\r\n \r\n#b(If you accept, you'll travel there automatically.)#k"):
sm.warp(402090011, 0) |
class Graph:
def __init__(self, vertices):
self.V = vertices
self.graph = {}
self.blocked=[]
def add_edge(self, src, dest,weight):
if self.graph.get(src) == None:
self.graph[src]=[(dest,weight)]
else:
self.graph[src]=self.graph.get(src)+[(dest,weight)]
def dijkstra(self,src, dst=None):
vertices = []
for n in self.graph:
vertices.append(n)
for v in self.graph[n]:
vertices +=[v[0]]
queue = set(vertices)
vertices = list(queue)
dist = {}
prev = {}
for n in vertices:
dist[n] = float('inf')
prev[n] = None
dist[src] = 0
while queue:
u = min(queue, key=dist.get)
queue.remove(u)
if dst is not None and u == dst:
return dist[dst], prev
for v, w in self.graph.get(u, ()):
if v in self.blocked:
w=float('inf')
alt = dist[u] + w
if alt < dist[v]:
dist[v] = alt
prev[v] = u
return dist, prev
def find_path(self,pr, vert):
rev = []
while vert is not None:
rev.append(vert)
vert = pr[vert]
return rev[::-1]
def add_blocked(self,bl):
self.blocked=bl
dest_names={
0:'Mouchak',1:'Panthapath',2:'Rampura',3:'Shahbagh',
4:'Dhanmondi',5:'Lalmatia',6:'Badda',7:'Hatirjheel',
8:'Nilkhet',9:'TSC',10:'Dhaka University',11:'BUET'
}
N=int(input())
M=int(input())
myGraph = Graph(N)
for i in range(M):
u,v,w = map(int,input().split())
#u,v = map(str,input().split()) ##to take string values
#w=int(input())
myGraph.add_edge(u, v,w)
src=int(input()) ## remove int() to take string values
dest=int(input()) ## remove int() to take string values
blocked= list(map(int,input().split())) ## remove int() to take string values
myGraph.add_blocked(blocked)
cost, prev = myGraph.dijkstra(src, dest)
path = myGraph.find_path(prev, dest)
for i in path:
if i==path[0]:
print("{}".format(dest_names[i]), end="")
else:
print("->{}".format(dest_names[i]), end="")
print()
print("Path cost: {}".format(cost))
## INPUT:
'''
12
16
0 1 5
0 2 2
0 3 10
1 4 20
1 5 10
2 6 3
2 7 12
3 8 5
3 9 8
4 11 5
5 10 6
7 8 2
8 10 10
8 11 12
9 11 2
11 10 2
0
10
2 5 6 8
'''
## OUTPUT:
'''
Mouchak->Shahbagh->TSC->BUET->Dhaka University
Path cost: 22
'''
| class Graph:
def __init__(self, vertices):
self.V = vertices
self.graph = {}
self.blocked = []
def add_edge(self, src, dest, weight):
if self.graph.get(src) == None:
self.graph[src] = [(dest, weight)]
else:
self.graph[src] = self.graph.get(src) + [(dest, weight)]
def dijkstra(self, src, dst=None):
vertices = []
for n in self.graph:
vertices.append(n)
for v in self.graph[n]:
vertices += [v[0]]
queue = set(vertices)
vertices = list(queue)
dist = {}
prev = {}
for n in vertices:
dist[n] = float('inf')
prev[n] = None
dist[src] = 0
while queue:
u = min(queue, key=dist.get)
queue.remove(u)
if dst is not None and u == dst:
return (dist[dst], prev)
for (v, w) in self.graph.get(u, ()):
if v in self.blocked:
w = float('inf')
alt = dist[u] + w
if alt < dist[v]:
dist[v] = alt
prev[v] = u
return (dist, prev)
def find_path(self, pr, vert):
rev = []
while vert is not None:
rev.append(vert)
vert = pr[vert]
return rev[::-1]
def add_blocked(self, bl):
self.blocked = bl
dest_names = {0: 'Mouchak', 1: 'Panthapath', 2: 'Rampura', 3: 'Shahbagh', 4: 'Dhanmondi', 5: 'Lalmatia', 6: 'Badda', 7: 'Hatirjheel', 8: 'Nilkhet', 9: 'TSC', 10: 'Dhaka University', 11: 'BUET'}
n = int(input())
m = int(input())
my_graph = graph(N)
for i in range(M):
(u, v, w) = map(int, input().split())
myGraph.add_edge(u, v, w)
src = int(input())
dest = int(input())
blocked = list(map(int, input().split()))
myGraph.add_blocked(blocked)
(cost, prev) = myGraph.dijkstra(src, dest)
path = myGraph.find_path(prev, dest)
for i in path:
if i == path[0]:
print('{}'.format(dest_names[i]), end='')
else:
print('->{}'.format(dest_names[i]), end='')
print()
print('Path cost: {}'.format(cost))
'\n12\n16\n0 1 5\n0 2 2\n0 3 10\n1 4 20\n1 5 10\n2 6 3\n2 7 12\n3 8 5\n3 9 8\n4 11 5\n5 10 6\n7 8 2\n8 10 10\n8 11 12\n9 11 2\n11 10 2\n0\n10\n2 5 6 8\n\n'
'\nMouchak->Shahbagh->TSC->BUET->Dhaka University\nPath cost: 22\n\n' |
# Consider this dictionary.
square_dict = {num: num * num for num in range(11)}
# .items() gives a list of tuple, so if we have a list of tuple
# We should be able to convert it to a dict.
print(square_dict.items())
# list of player and scores
players = ["XXX", "YYY", "ZZZ"]
scores = [100, 98, 45]
# Players and Scores list can be combined with the help of zip.
score_card = zip(players, scores)
print(score_card)
# Use for loop to get the values.
# It returns a tuple of values.
for item in score_card:
print(item)
# Use tuple unpacking
# the above score_card has exhauted it values.
for name, score in zip(players, scores):
print(name, score)
# list comprehension.
score_list = [f"Name {name} had score {score}" for name, score in zip(players, scores)]
print(score_list)
# Zip with non symmetical lists
my_list1 = [1, 2, 3]
my_list2 = ["a", "b"]
# Zip will only apply to the 2 list values.
for item in zip(my_list1, my_list2):
print(item)
# List of tuple(zip) to Dict.
score_dict = dict(zip(players, scores))
print(score_dict)
| square_dict = {num: num * num for num in range(11)}
print(square_dict.items())
players = ['XXX', 'YYY', 'ZZZ']
scores = [100, 98, 45]
score_card = zip(players, scores)
print(score_card)
for item in score_card:
print(item)
for (name, score) in zip(players, scores):
print(name, score)
score_list = [f'Name {name} had score {score}' for (name, score) in zip(players, scores)]
print(score_list)
my_list1 = [1, 2, 3]
my_list2 = ['a', 'b']
for item in zip(my_list1, my_list2):
print(item)
score_dict = dict(zip(players, scores))
print(score_dict) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.