content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Compliance: def __init__(self, Status=None): self.Status = Status class Malware: def __init__(self, Name=None, Path=None, State=None, Type=None): self.Name = Name self.Path = Path self.State = State self.Type = Type class Network: def __init__(self, DestinationDomain=None, DestinationIpV4=None, DestinationIpV6=None, DestinationPort=None, Direction=None, Protocol=None, SourceDomain=None, SourceIpV4=None, SourceIpV6=None, SourceMac=None, SourcePort=None): self.DestinationDomain = DestinationDomain self.DestinationIpV4 = DestinationIpV4 self.DestinationIpV6 = DestinationIpV6 self.DestinationPort = DestinationPort self.Direction = Direction self.Protocol = Protocol self.SourceDomain = SourceDomain self.SourceIpV4 = SourceIpV4 self.SourceIpV6 = SourceIpV6 self.SourceMac = SourceMac self.SourcePort = SourcePort class Note: def __init__(self, Text=None, UpdatedAt=None, UpdatedBy=None): self.Text = Text self.UpdatedAt = UpdatedAt self.UpdatedBy = UpdatedBy class Process: def __init__(self, LaunchedAt=None, Name=None, ParentPid=None, Path=None, Pid=None, TerminatedAt=None): self.LaunchedAt = LaunchedAt self.Name = Name self.ParentPid = ParentPid self.Path = Path self.Pid = Pid self.TerminatedAt = TerminatedAt class ProductFields: def __init__(self, string=None): self.string = string class RelatedFinding: def __init__(self, Id=None, ProductArn=None): self.Id = Id self.ProductArn = ProductArn class Recommendation: def __init__(self, Text=None, Url=None): self.Text = Text self.Url = Url class Remediation: def __init__(self, Recommendation=None): self.Recommendation = Recommendation class AwsEc2Instance: def __init__(self, IamInstanceProfileArn=None, ImageId=None, IpV4Addresses=None, IpV6Addresses=None, KeyName=None, LaunchedAt=None, SubnetId=None, Type=None, VpcId=None): self.IamInstanceProfileArn = IamInstanceProfileArn self.ImageId = ImageId self.IpV4Addresses = IpV4Addresses self.IpV6Addresses = IpV6Addresses self.KeyName = KeyName self.LaunchedAt = LaunchedAt self.SubnetId = SubnetId self.Type = Type self.VpcId = VpcId class AwsIamAccessKey: def __init__(self, CreatedAt=None, Status=None, UserName=None): self.CreatedAt = CreatedAt self.Status = Status self.UserName = UserName class AwsS3Bucket: def __init__(self, OwnerId=None, OwnerName=None): self.OwnerId = OwnerId self.OwnerName = OwnerName class Container: def __init__(self, ImageId=None, ImageName=None, LaunchedAt=None, Name=None): self.ImageId = ImageId self.ImageName = ImageName self.LaunchedAt = LaunchedAt self.Name = Name class Details: def __init__(self, AwsEc2Instance=None, AwsIamAccessKey=None, AwsS3Bucket=None, Container=None, Other=None): self.AwsEc2Instance = AwsEc2Instance self.AwsIamAccessKey = AwsIamAccessKey self.AwsS3Bucket = AwsS3Bucket self.Container = Container self.Other = Other class Resource: def __init__(self, Details=None, Id=None, Partition=None, Region=None, Tags=None, Type=None): self.Details = Details self.Id = Id self.Partition = Partition self.Region = Region self.Tags = Tags self.Type = Type class Severity: def __init__(self, Normalized=None, Product=None, Label=None): self.Normalized = Normalized self.Product = Product self.Label = Label class ThreatIntelIndicator: def __init__(self, Category=None, LastObservedAt=None, Source=None, SourceUrl=None, Type=None, Value=None): self.Category = Category self.LastObservedAt = LastObservedAt self.Source = Source self.SourceUrl = SourceUrl self.Type = Type self.Value = Value class UserDefinedFields: def __init__(self, SourceRuleName=None, SourceEmail=None, SourceUsername=None, SourceFullName=None, SourceLoginName=None, SourceExtraData=None, SourceHostname=None, SourceDestinations=None): self.SourceRuleName = SourceRuleName self.SourceEmail = SourceEmail self.SourceUsername = SourceUsername self.SourceFullName = SourceFullName self.SourceLoginName = SourceLoginName self.SourceExtraData = SourceExtraData self.SourceHostname = SourceHostname self.SourceDestinations = SourceDestinations class Finding: def __init__(self, AwsAccountId=None, Compliance=None, Confidence=None, CreatedAt=None, Criticality=None, Description=None, FirstObservedAt=None, GeneratorId=None, Id=None, LastObservedAt=None, Malware=None, Network=None, Note=None, Process=None, ProductArn=None, ProductFields=None, RecordState=None, RelatedFindings=None, Remediation=None, Resources=None, SchemaVersion=None, Severity=None, SourceUrl=None, ThreatIntelIndicators=None, Title=None, Types=None, UpdatedAt=None, UserDefinedFields=None, VerificationState=None, WorkflowState=None): self.AwsAccountId = AwsAccountId self.Compliance = Compliance self.Confidence = Confidence self.CreatedAt = CreatedAt self.Criticality = Criticality self.Description = Description self.FirstObservedAt = FirstObservedAt self.GeneratorId = GeneratorId self.Id = Id self.LastObservedAt = LastObservedAt self.Malware = Malware self.Network = Network self.Note = Note self.Process = Process self.ProductArn = ProductArn self.ProductFields = ProductFields self.RecordState = RecordState self.RelatedFindings = RelatedFindings self.Remediation = Remediation self.Resources = Resources self.SchemaVersion = SchemaVersion self.Severity = Severity self.SourceUrl = SourceUrl self.ThreatIntelIndicators = ThreatIntelIndicators self.Title = Title self.Types = Types self.UpdatedAt = UpdatedAt self.UserDefinedFields = UserDefinedFields self.VerificationState = VerificationState self.WorkflowState = WorkflowState class JsonFormatClass: def __init__(self, Finding=None): self.Finding = Finding
class Compliance: def __init__(self, Status=None): self.Status = Status class Malware: def __init__(self, Name=None, Path=None, State=None, Type=None): self.Name = Name self.Path = Path self.State = State self.Type = Type class Network: def __init__(self, DestinationDomain=None, DestinationIpV4=None, DestinationIpV6=None, DestinationPort=None, Direction=None, Protocol=None, SourceDomain=None, SourceIpV4=None, SourceIpV6=None, SourceMac=None, SourcePort=None): self.DestinationDomain = DestinationDomain self.DestinationIpV4 = DestinationIpV4 self.DestinationIpV6 = DestinationIpV6 self.DestinationPort = DestinationPort self.Direction = Direction self.Protocol = Protocol self.SourceDomain = SourceDomain self.SourceIpV4 = SourceIpV4 self.SourceIpV6 = SourceIpV6 self.SourceMac = SourceMac self.SourcePort = SourcePort class Note: def __init__(self, Text=None, UpdatedAt=None, UpdatedBy=None): self.Text = Text self.UpdatedAt = UpdatedAt self.UpdatedBy = UpdatedBy class Process: def __init__(self, LaunchedAt=None, Name=None, ParentPid=None, Path=None, Pid=None, TerminatedAt=None): self.LaunchedAt = LaunchedAt self.Name = Name self.ParentPid = ParentPid self.Path = Path self.Pid = Pid self.TerminatedAt = TerminatedAt class Productfields: def __init__(self, string=None): self.string = string class Relatedfinding: def __init__(self, Id=None, ProductArn=None): self.Id = Id self.ProductArn = ProductArn class Recommendation: def __init__(self, Text=None, Url=None): self.Text = Text self.Url = Url class Remediation: def __init__(self, Recommendation=None): self.Recommendation = Recommendation class Awsec2Instance: def __init__(self, IamInstanceProfileArn=None, ImageId=None, IpV4Addresses=None, IpV6Addresses=None, KeyName=None, LaunchedAt=None, SubnetId=None, Type=None, VpcId=None): self.IamInstanceProfileArn = IamInstanceProfileArn self.ImageId = ImageId self.IpV4Addresses = IpV4Addresses self.IpV6Addresses = IpV6Addresses self.KeyName = KeyName self.LaunchedAt = LaunchedAt self.SubnetId = SubnetId self.Type = Type self.VpcId = VpcId class Awsiamaccesskey: def __init__(self, CreatedAt=None, Status=None, UserName=None): self.CreatedAt = CreatedAt self.Status = Status self.UserName = UserName class Awss3Bucket: def __init__(self, OwnerId=None, OwnerName=None): self.OwnerId = OwnerId self.OwnerName = OwnerName class Container: def __init__(self, ImageId=None, ImageName=None, LaunchedAt=None, Name=None): self.ImageId = ImageId self.ImageName = ImageName self.LaunchedAt = LaunchedAt self.Name = Name class Details: def __init__(self, AwsEc2Instance=None, AwsIamAccessKey=None, AwsS3Bucket=None, Container=None, Other=None): self.AwsEc2Instance = AwsEc2Instance self.AwsIamAccessKey = AwsIamAccessKey self.AwsS3Bucket = AwsS3Bucket self.Container = Container self.Other = Other class Resource: def __init__(self, Details=None, Id=None, Partition=None, Region=None, Tags=None, Type=None): self.Details = Details self.Id = Id self.Partition = Partition self.Region = Region self.Tags = Tags self.Type = Type class Severity: def __init__(self, Normalized=None, Product=None, Label=None): self.Normalized = Normalized self.Product = Product self.Label = Label class Threatintelindicator: def __init__(self, Category=None, LastObservedAt=None, Source=None, SourceUrl=None, Type=None, Value=None): self.Category = Category self.LastObservedAt = LastObservedAt self.Source = Source self.SourceUrl = SourceUrl self.Type = Type self.Value = Value class Userdefinedfields: def __init__(self, SourceRuleName=None, SourceEmail=None, SourceUsername=None, SourceFullName=None, SourceLoginName=None, SourceExtraData=None, SourceHostname=None, SourceDestinations=None): self.SourceRuleName = SourceRuleName self.SourceEmail = SourceEmail self.SourceUsername = SourceUsername self.SourceFullName = SourceFullName self.SourceLoginName = SourceLoginName self.SourceExtraData = SourceExtraData self.SourceHostname = SourceHostname self.SourceDestinations = SourceDestinations class Finding: def __init__(self, AwsAccountId=None, Compliance=None, Confidence=None, CreatedAt=None, Criticality=None, Description=None, FirstObservedAt=None, GeneratorId=None, Id=None, LastObservedAt=None, Malware=None, Network=None, Note=None, Process=None, ProductArn=None, ProductFields=None, RecordState=None, RelatedFindings=None, Remediation=None, Resources=None, SchemaVersion=None, Severity=None, SourceUrl=None, ThreatIntelIndicators=None, Title=None, Types=None, UpdatedAt=None, UserDefinedFields=None, VerificationState=None, WorkflowState=None): self.AwsAccountId = AwsAccountId self.Compliance = Compliance self.Confidence = Confidence self.CreatedAt = CreatedAt self.Criticality = Criticality self.Description = Description self.FirstObservedAt = FirstObservedAt self.GeneratorId = GeneratorId self.Id = Id self.LastObservedAt = LastObservedAt self.Malware = Malware self.Network = Network self.Note = Note self.Process = Process self.ProductArn = ProductArn self.ProductFields = ProductFields self.RecordState = RecordState self.RelatedFindings = RelatedFindings self.Remediation = Remediation self.Resources = Resources self.SchemaVersion = SchemaVersion self.Severity = Severity self.SourceUrl = SourceUrl self.ThreatIntelIndicators = ThreatIntelIndicators self.Title = Title self.Types = Types self.UpdatedAt = UpdatedAt self.UserDefinedFields = UserDefinedFields self.VerificationState = VerificationState self.WorkflowState = WorkflowState class Jsonformatclass: def __init__(self, Finding=None): self.Finding = Finding
train_task_id = '2T736' initial_epoch = 0 epoch_num = 24 lr = 1e-3 decay = 5e-4 # clipvalue = 0.5 # default 0.5, 0 means no clip patience = 2 load_weights = True lambda_inside_score_loss = 4.0 lambda_side_vertex_code_loss = 1.0 lambda_side_vertex_coord_loss = 1.0 total_img = 222199 validation_split_ratio = 0.1 max_train_img_size = int(train_task_id[-3:]) max_predict_img_size = int(train_task_id[-3:]) # 2400 assert max_train_img_size in [256, 384, 512, 640, 736], \ 'max_train_img_size must in [256, 384, 512, 640, 736]' if max_train_img_size == 256: batch_size = 8 elif max_train_img_size == 384: batch_size = 4 elif max_train_img_size == 512: batch_size = 2 else: batch_size = 1 steps_per_epoch = total_img * (1 - validation_split_ratio) // batch_size validation_steps = total_img * validation_split_ratio // batch_size #data_dir = '/media/haoxin/A1/data/AdvancedEAST' data_dir = '/data/kuaidi01/dataset_detect/AdvancedEast_data' origin_image_dir_name = 'image_all/' origin_txt_dir_name = 'txt_all/' train_image_dir_name = 'images_%s/' % train_task_id train_label_dir_name = 'labels_%s/' % train_task_id show_gt_image_dir_name = 'show_gt_images_%s/' % train_task_id show_act_image_dir_name = 'show_act_images_%s/' % train_task_id gen_origin_img = True draw_gt_quad = True draw_act_quad = True val_fname = 'val_%s.txt' % train_task_id train_fname = 'train_%s.txt' % train_task_id # in paper it's 0.3, maybe to large to this problem shrink_ratio = 0.2 # pixels between 0.1 and 0.3 are side pixels shrink_side_ratio = 0.6 epsilon = 1e-4 num_channels = 3 feature_layers_range = range(5, 1, -1) # feature_layers_range = range(3, 0, -1) feature_layers_num = len(feature_layers_range) # pixel_size = 4 pixel_size = 2 ** feature_layers_range[-1] locked_layers = False model_weights_path = 'model/weights_%s.{epoch:03d}-{val_loss:.3f}.h5' \ % train_task_id saved_model_file_path = 'saved_model/east_model_%s.h5' % train_task_id saved_model_weights_file_path = 'saved_model/east_model_weights_%s.h5'\ % train_task_id pixel_threshold = 0.9 side_vertex_pixel_threshold = 0.9 trunc_threshold = 0.1 predict_cut_text_line = False predict_write2txt = True
train_task_id = '2T736' initial_epoch = 0 epoch_num = 24 lr = 0.001 decay = 0.0005 patience = 2 load_weights = True lambda_inside_score_loss = 4.0 lambda_side_vertex_code_loss = 1.0 lambda_side_vertex_coord_loss = 1.0 total_img = 222199 validation_split_ratio = 0.1 max_train_img_size = int(train_task_id[-3:]) max_predict_img_size = int(train_task_id[-3:]) assert max_train_img_size in [256, 384, 512, 640, 736], 'max_train_img_size must in [256, 384, 512, 640, 736]' if max_train_img_size == 256: batch_size = 8 elif max_train_img_size == 384: batch_size = 4 elif max_train_img_size == 512: batch_size = 2 else: batch_size = 1 steps_per_epoch = total_img * (1 - validation_split_ratio) // batch_size validation_steps = total_img * validation_split_ratio // batch_size data_dir = '/data/kuaidi01/dataset_detect/AdvancedEast_data' origin_image_dir_name = 'image_all/' origin_txt_dir_name = 'txt_all/' train_image_dir_name = 'images_%s/' % train_task_id train_label_dir_name = 'labels_%s/' % train_task_id show_gt_image_dir_name = 'show_gt_images_%s/' % train_task_id show_act_image_dir_name = 'show_act_images_%s/' % train_task_id gen_origin_img = True draw_gt_quad = True draw_act_quad = True val_fname = 'val_%s.txt' % train_task_id train_fname = 'train_%s.txt' % train_task_id shrink_ratio = 0.2 shrink_side_ratio = 0.6 epsilon = 0.0001 num_channels = 3 feature_layers_range = range(5, 1, -1) feature_layers_num = len(feature_layers_range) pixel_size = 2 ** feature_layers_range[-1] locked_layers = False model_weights_path = 'model/weights_%s.{epoch:03d}-{val_loss:.3f}.h5' % train_task_id saved_model_file_path = 'saved_model/east_model_%s.h5' % train_task_id saved_model_weights_file_path = 'saved_model/east_model_weights_%s.h5' % train_task_id pixel_threshold = 0.9 side_vertex_pixel_threshold = 0.9 trunc_threshold = 0.1 predict_cut_text_line = False predict_write2txt = True
#encoding:utf-8 subreddit = 'tifu' t_channel = '@r_channels_tifu' def send_post(submission, r2t): return r2t.send_simple(submission)
subreddit = 'tifu' t_channel = '@r_channels_tifu' def send_post(submission, r2t): return r2t.send_simple(submission)
# # @lc app=leetcode id=217 lang=python3 # # [217] Contains Duplicate # class Solution: def containsDuplicate(self, nums: List[int]) -> bool: # first approach: use a hashtable, add the number to the hashtable # if the number is already there, return True # second approach: use a set. return len(set) != len(nums) # if len is different, it means the list contains non-unique values (returns True) return len(nums) != len(set(nums))
class Solution: def contains_duplicate(self, nums: List[int]) -> bool: return len(nums) != len(set(nums))
def dictionary_masher(dict_a, dict_b): for key, value in dict_b.items(): if key not in dict_a: dict_a[key] = value return dict_a
def dictionary_masher(dict_a, dict_b): for (key, value) in dict_b.items(): if key not in dict_a: dict_a[key] = value return dict_a
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os # import sys # sys.path.append(os.path.join(os.path.dirname(__name__), '..')) # sys.path.insert(0, os.path.abspath('../src/dvg_devices')) # -- Project information ----------------------------------------------------- project = "DvG_Devices" copyright = "2021, Dennis van Gils" author = "Dennis van Gils" # The full version, including alpha/beta/rc tags release = "1.0.0" # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "sphinx_qt_documentation", ] intersphinx_mapping = { "PyQt5": ("https://www.riverbankcomputing.com/static/Docs/PyQt5/", None), "NumPy": ("https://numpy.org/doc/stable/", None), "python": ("https://docs.python.org/3", None), "serial": ("https://pyserial.readthedocs.io/en/latest/", None), "dvg_qdeviceio": ( "https://python-dvg-qdeviceio.readthedocs.io/en/latest/", None, ), } qt_documentation = "Qt5" # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] master_doc = "index" # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # 'bizstyle', 'classic', 'sphinx_rtd_theme' html_theme = "sphinx_rtd_theme" html_theme_path = [ "_themes", ] # html_theme_options = { # 'canonical_url': '', # 'analytics_id': 'UA-XXXXXXX-1', # Provided by Google in your dashboard # 'logo_only': False, # 'display_version': True, # 'prev_next_buttons_location': 'bottom', # 'style_external_links': False, # 'style_nav_header_background': '#2980B9', # Toc options # 'collapse_navigation': True, # 'sticky_navigation': True, # 'navigation_depth': 4, # 'includehidden': True, # 'titles_only': False # } html_last_updated_fmt = "%d-%m-%Y" html4_writer = True # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". # html_static_path = ['_static'] # Napoleon settings napoleon_google_docstring = True napoleon_numpy_docstring = False napoleon_include_init_with_doc = False napoleon_include_private_with_doc = False napoleon_include_special_with_doc = True napoleon_use_admonition_for_examples = False napoleon_use_admonition_for_notes = False napoleon_use_admonition_for_references = False napoleon_use_ivar = False # True to create block. Downside is that we lose hyperlinks to class variables napoleon_use_param = False # False napoleon_use_rtype = True
project = 'DvG_Devices' copyright = '2021, Dennis van Gils' author = 'Dennis van Gils' release = '1.0.0' extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', 'sphinx.ext.intersphinx', 'sphinx_qt_documentation'] intersphinx_mapping = {'PyQt5': ('https://www.riverbankcomputing.com/static/Docs/PyQt5/', None), 'NumPy': ('https://numpy.org/doc/stable/', None), 'python': ('https://docs.python.org/3', None), 'serial': ('https://pyserial.readthedocs.io/en/latest/', None), 'dvg_qdeviceio': ('https://python-dvg-qdeviceio.readthedocs.io/en/latest/', None)} qt_documentation = 'Qt5' templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] master_doc = 'index' html_theme = 'sphinx_rtd_theme' html_theme_path = ['_themes'] html_last_updated_fmt = '%d-%m-%Y' html4_writer = True napoleon_google_docstring = True napoleon_numpy_docstring = False napoleon_include_init_with_doc = False napoleon_include_private_with_doc = False napoleon_include_special_with_doc = True napoleon_use_admonition_for_examples = False napoleon_use_admonition_for_notes = False napoleon_use_admonition_for_references = False napoleon_use_ivar = False napoleon_use_param = False napoleon_use_rtype = True
class Solution: def thirdMax(self, nums: List[int]) -> int: if len(set(nums))<3: return max(nums) for i in range(2): for i in range(nums.count(max(nums))): nums.remove(max(nums)) return max(nums)
class Solution: def third_max(self, nums: List[int]) -> int: if len(set(nums)) < 3: return max(nums) for i in range(2): for i in range(nums.count(max(nums))): nums.remove(max(nums)) return max(nums)
# # PySNMP MIB module GSM7312-QOS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GSM7312-QOS-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:20:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint") gsm7312, = mibBuilder.importSymbols("GSM7312-REF-MIB", "gsm7312") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") TimeTicks, Unsigned32, Counter32, ModuleIdentity, Gauge32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, NotificationType, IpAddress, MibIdentifier, Integer32, iso, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "Unsigned32", "Counter32", "ModuleIdentity", "Gauge32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "NotificationType", "IpAddress", "MibIdentifier", "Integer32", "iso", "Counter64") DisplayString, TextualConvention, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "RowStatus") gsm7312QOS = ModuleIdentity((1, 3, 6, 1, 4, 1, 4526, 1, 6, 3)) gsm7312QOS.setRevisions(('2003-05-06 12:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: gsm7312QOS.setRevisionsDescriptions(('Initial revision.',)) if mibBuilder.loadTexts: gsm7312QOS.setLastUpdated('200305061200Z') if mibBuilder.loadTexts: gsm7312QOS.setOrganization('Netgear') if mibBuilder.loadTexts: gsm7312QOS.setContactInfo('') if mibBuilder.loadTexts: gsm7312QOS.setDescription('') mibBuilder.exportSymbols("GSM7312-QOS-MIB", PYSNMP_MODULE_ID=gsm7312QOS, gsm7312QOS=gsm7312QOS)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, value_size_constraint, constraints_union, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint') (gsm7312,) = mibBuilder.importSymbols('GSM7312-REF-MIB', 'gsm7312') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (time_ticks, unsigned32, counter32, module_identity, gauge32, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, notification_type, ip_address, mib_identifier, integer32, iso, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'Unsigned32', 'Counter32', 'ModuleIdentity', 'Gauge32', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'NotificationType', 'IpAddress', 'MibIdentifier', 'Integer32', 'iso', 'Counter64') (display_string, textual_convention, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'RowStatus') gsm7312_qos = module_identity((1, 3, 6, 1, 4, 1, 4526, 1, 6, 3)) gsm7312QOS.setRevisions(('2003-05-06 12:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: gsm7312QOS.setRevisionsDescriptions(('Initial revision.',)) if mibBuilder.loadTexts: gsm7312QOS.setLastUpdated('200305061200Z') if mibBuilder.loadTexts: gsm7312QOS.setOrganization('Netgear') if mibBuilder.loadTexts: gsm7312QOS.setContactInfo('') if mibBuilder.loadTexts: gsm7312QOS.setDescription('') mibBuilder.exportSymbols('GSM7312-QOS-MIB', PYSNMP_MODULE_ID=gsm7312QOS, gsm7312QOS=gsm7312QOS)
''' You are given an array points where points[i] = [xi, yi] is the coordinates of the ith point on a 2D plane. Multiple points can have the same coordinates. You are also given an array queries where queries[j] = [xj, yj, rj] describes a circle centered at (xj, yj) with a radius of rj. For each query queries[j], compute the number of points inside the jth circle. Points on the border of the circle are considered inside. Return an array answer, where answer[j] is the answer to the jth query. ''' class Solution: def countPoints(self, points: List[List[int]], queries: List[List[int]]) -> List[int]: def calc_distance(xi, yi, xj, yj): return ((xj - xi) ** 2 + (yj - yi) ** 2) ** 0.5 answer = [] for i in queries: c = 0 for j in points: if calc_distance(i[0], i[1], j[0], j[1]) <= i[2]: c += 1 answer.append(c) return answer
""" You are given an array points where points[i] = [xi, yi] is the coordinates of the ith point on a 2D plane. Multiple points can have the same coordinates. You are also given an array queries where queries[j] = [xj, yj, rj] describes a circle centered at (xj, yj) with a radius of rj. For each query queries[j], compute the number of points inside the jth circle. Points on the border of the circle are considered inside. Return an array answer, where answer[j] is the answer to the jth query. """ class Solution: def count_points(self, points: List[List[int]], queries: List[List[int]]) -> List[int]: def calc_distance(xi, yi, xj, yj): return ((xj - xi) ** 2 + (yj - yi) ** 2) ** 0.5 answer = [] for i in queries: c = 0 for j in points: if calc_distance(i[0], i[1], j[0], j[1]) <= i[2]: c += 1 answer.append(c) return answer
def somaAll(x,y): s = c = 0 l = [x] while x < y: s = x + 1 l.append(s) x+=1 s=0 while c <len(l): s += l[c] c+=1 return s def somaintervalo(ini,fim): c=ini s=0 while(c<=fim): s+=c c+=1 return s print(somaAll(1,3))
def soma_all(x, y): s = c = 0 l = [x] while x < y: s = x + 1 l.append(s) x += 1 s = 0 while c < len(l): s += l[c] c += 1 return s def somaintervalo(ini, fim): c = ini s = 0 while c <= fim: s += c c += 1 return s print(soma_all(1, 3))
#!/usr/bin/env python # -*- coding: utf-8 -*- class Fibonacci: def __init__(self, max_n): self.MaxN = max_n self.N = 0 self.A = 0 self.B = 0 def __iter__(self): self.N = 0 self.A = 0 self.B = 1 return self def __next__(self): if self.N < self.MaxN: self.N += 1 self.A, self.B = self.B, self.A + self.B return self.A else: raise StopIteration for f in Fibonacci(14): print(f, end=" ") print() print(list(Fibonacci(16)))
class Fibonacci: def __init__(self, max_n): self.MaxN = max_n self.N = 0 self.A = 0 self.B = 0 def __iter__(self): self.N = 0 self.A = 0 self.B = 1 return self def __next__(self): if self.N < self.MaxN: self.N += 1 (self.A, self.B) = (self.B, self.A + self.B) return self.A else: raise StopIteration for f in fibonacci(14): print(f, end=' ') print() print(list(fibonacci(16)))
def addr(regs, a, b, c): result = regs[:] result[c] = regs[a] + regs[b] return result def addi(regs, a, b, c): result = regs[:] result[c] = regs[a] + b return result def mulr(regs, a, b, c): result = regs[:] result[c] = regs[a] * regs[b] return result def muli(regs, a, b, c): result = regs[:] result[c] = regs[a] * b return result def banr(regs, a, b, c): result = regs[:] result[c] = regs[a] & regs[b] return result def bani(regs, a, b, c): result = regs[:] result[c] = regs[a] & b return result def borr(regs, a, b, c): result = regs[:] result[c] = regs[a] | regs[b] return result def bori(regs, a, b, c): result = regs[:] result[c] = regs[a] | b return result def setr(regs, a, b, c): result = regs[:] result[c] = regs[a] return result def seti(regs, a, b, c): result = regs[:] result[c] = a return result def gtir(regs, a, b, c): result = regs[:] if a > regs[b]: result[c] = 1 else: result[c] = 0 return result def gtri(regs, a, b, c): result = regs[:] if regs[a] > b: result[c] = 1 else: result[c] = 0 return result def gtrr(regs, a, b, c): result = regs[:] if regs[a] > regs[b]: result[c] = 1 else: result[c] = 0 return result def eqir(regs, a, b, c): result = regs[:] if a == regs[b]: result[c] = 1 else: result[c] = 0 return result def eqri(regs, a, b, c): result = regs[:] if regs[a] == b: result[c] = 1 else: result[c] = 0 return result def eqrr(regs, a, b, c): result = regs[:] if regs[a] == regs[b]: result[c] = 1 else: result[c] = 0 return result ops = { "addr": addr, "addi": addi, "mulr": mulr, "muli": muli, "banr": banr, "bani": bani, "borr": borr, "bori": bori, "setr": setr, "seti": seti, "gtir": gtir, "gtri": gtri, "gtrr": gtrr, "eqir": eqir, "eqri": eqri, "eqrr": eqrr, } def solve(input): registers = [0, 0, 0, 0, 0, 0] parts = input[0].split() ip_reg = int(parts[1]) ip = 0 instructions = [] for line in input[1:]: instruction = line.split() instructions.append((instruction[0], int(instruction[1]), int(instruction[2]), int(instruction[3]))) iterations = 0 while True: instruction = instructions[ip] op = ops[instruction[0]] registers[ip_reg] = ip after = op(registers, *instruction[1:]) # print(iterations, ip, registers, instruction, after) registers = after ip = registers[ip_reg] + 1 if ip < 0 or ip >= len(instructions): break # if iterations > 500: # break iterations += 1 print(registers[0]) # with open('test.txt', 'r') as f: # input = f.read().splitlines() # solve(input) with open('input.txt', 'r') as f: input = f.read().splitlines() solve(input)
def addr(regs, a, b, c): result = regs[:] result[c] = regs[a] + regs[b] return result def addi(regs, a, b, c): result = regs[:] result[c] = regs[a] + b return result def mulr(regs, a, b, c): result = regs[:] result[c] = regs[a] * regs[b] return result def muli(regs, a, b, c): result = regs[:] result[c] = regs[a] * b return result def banr(regs, a, b, c): result = regs[:] result[c] = regs[a] & regs[b] return result def bani(regs, a, b, c): result = regs[:] result[c] = regs[a] & b return result def borr(regs, a, b, c): result = regs[:] result[c] = regs[a] | regs[b] return result def bori(regs, a, b, c): result = regs[:] result[c] = regs[a] | b return result def setr(regs, a, b, c): result = regs[:] result[c] = regs[a] return result def seti(regs, a, b, c): result = regs[:] result[c] = a return result def gtir(regs, a, b, c): result = regs[:] if a > regs[b]: result[c] = 1 else: result[c] = 0 return result def gtri(regs, a, b, c): result = regs[:] if regs[a] > b: result[c] = 1 else: result[c] = 0 return result def gtrr(regs, a, b, c): result = regs[:] if regs[a] > regs[b]: result[c] = 1 else: result[c] = 0 return result def eqir(regs, a, b, c): result = regs[:] if a == regs[b]: result[c] = 1 else: result[c] = 0 return result def eqri(regs, a, b, c): result = regs[:] if regs[a] == b: result[c] = 1 else: result[c] = 0 return result def eqrr(regs, a, b, c): result = regs[:] if regs[a] == regs[b]: result[c] = 1 else: result[c] = 0 return result ops = {'addr': addr, 'addi': addi, 'mulr': mulr, 'muli': muli, 'banr': banr, 'bani': bani, 'borr': borr, 'bori': bori, 'setr': setr, 'seti': seti, 'gtir': gtir, 'gtri': gtri, 'gtrr': gtrr, 'eqir': eqir, 'eqri': eqri, 'eqrr': eqrr} def solve(input): registers = [0, 0, 0, 0, 0, 0] parts = input[0].split() ip_reg = int(parts[1]) ip = 0 instructions = [] for line in input[1:]: instruction = line.split() instructions.append((instruction[0], int(instruction[1]), int(instruction[2]), int(instruction[3]))) iterations = 0 while True: instruction = instructions[ip] op = ops[instruction[0]] registers[ip_reg] = ip after = op(registers, *instruction[1:]) registers = after ip = registers[ip_reg] + 1 if ip < 0 or ip >= len(instructions): break iterations += 1 print(registers[0]) with open('input.txt', 'r') as f: input = f.read().splitlines() solve(input)
n = int(input()) m = int(input()) dif = n - m print(dif)
n = int(input()) m = int(input()) dif = n - m print(dif)
def alphabetically_first(s1, s2): sorted_list = sorted(list([s1, s2])) return sorted_list[0]
def alphabetically_first(s1, s2): sorted_list = sorted(list([s1, s2])) return sorted_list[0]
class Solution: def slowestKey(self, releaseTimes: List[int], keysPressed: str) -> str: pressed=[0]*26 lastRelease=0 for i in range(len(releaseTimes)): index=ord(keysPressed[i])-ord('a') pressed[index]=max(pressed[index],releaseTimes[i]-lastRelease) lastRelease=releaseTimes[i] maxPressed=max(pressed) for i in range(25,-1,-1): if pressed[i]==maxPressed: return chr(i+ord('a'))
class Solution: def slowest_key(self, releaseTimes: List[int], keysPressed: str) -> str: pressed = [0] * 26 last_release = 0 for i in range(len(releaseTimes)): index = ord(keysPressed[i]) - ord('a') pressed[index] = max(pressed[index], releaseTimes[i] - lastRelease) last_release = releaseTimes[i] max_pressed = max(pressed) for i in range(25, -1, -1): if pressed[i] == maxPressed: return chr(i + ord('a'))
class TestApi: def test_api_with_valid_url_bitly(self, post): # when we ask to shorten a valid url response = post( '/shortlinks', data={'url': 'https://www.withnottplum.com', 'provider': 'bitly'} ) # then assert response.status_code == 200 assert response.get_json()['data']['url'] == 'https://www.withnottplum.com' assert response.get_json()['data']['short_link'].startswith('https://bit.ly') def test_api_with_valid_url_tinyurl(self, post): # when we ask to shorten a valid url response = post( '/shortlinks', data={'url': 'https://www.pekosestate.com', 'provider': 'tinyurl'} ) # then assert response.status_code == 200 assert response.get_json()['data']['url'] == 'https://www.pekosestate.com' assert response.get_json()['data']['short_link'].startswith('https://tinyurl.com') def test_api_with_invalid_url_bitly(self, post): # when we ask to shorten a valid url response = post( '/shortlinks', data={'url': 'https://www.pekos estate'} ) assert response.status_code == 422 assert response.get_json()['error']['message'] == 'Malformed URL' def test_api_default_provider(self, post): # when we ask to shorten a valid url response = post( '/shortlinks', data={'url': 'https://www.withplum.com'} ) assert response.status_code == 200 assert response.get_json()['data']['short_link'].startswith('https://bit.ly')
class Testapi: def test_api_with_valid_url_bitly(self, post): response = post('/shortlinks', data={'url': 'https://www.withnottplum.com', 'provider': 'bitly'}) assert response.status_code == 200 assert response.get_json()['data']['url'] == 'https://www.withnottplum.com' assert response.get_json()['data']['short_link'].startswith('https://bit.ly') def test_api_with_valid_url_tinyurl(self, post): response = post('/shortlinks', data={'url': 'https://www.pekosestate.com', 'provider': 'tinyurl'}) assert response.status_code == 200 assert response.get_json()['data']['url'] == 'https://www.pekosestate.com' assert response.get_json()['data']['short_link'].startswith('https://tinyurl.com') def test_api_with_invalid_url_bitly(self, post): response = post('/shortlinks', data={'url': 'https://www.pekos estate'}) assert response.status_code == 422 assert response.get_json()['error']['message'] == 'Malformed URL' def test_api_default_provider(self, post): response = post('/shortlinks', data={'url': 'https://www.withplum.com'}) assert response.status_code == 200 assert response.get_json()['data']['short_link'].startswith('https://bit.ly')
def classify_numbers(numbers): pos = [n for n in numbers if n >= 0] neg = [n for n in numbers if n < 0] even = [n for n in numbers if n % 2 == 0] odd = [n for n in numbers if n % 2 != 0] return pos, neg, even, odd pos, neg, even, odd = classify_numbers([int(x) for x in input().split(', ')]) print(f'Positive: {", ".join([str(x) for x in pos])}') print(f'Negative: {", ".join([str(x) for x in neg])}') print(f'Even: {", ".join([str(x) for x in even])}') print(f'Odd: {", ".join([str(x) for x in odd])}')
def classify_numbers(numbers): pos = [n for n in numbers if n >= 0] neg = [n for n in numbers if n < 0] even = [n for n in numbers if n % 2 == 0] odd = [n for n in numbers if n % 2 != 0] return (pos, neg, even, odd) (pos, neg, even, odd) = classify_numbers([int(x) for x in input().split(', ')]) print(f"Positive: {', '.join([str(x) for x in pos])}") print(f"Negative: {', '.join([str(x) for x in neg])}") print(f"Even: {', '.join([str(x) for x in even])}") print(f"Odd: {', '.join([str(x) for x in odd])}")
#!/usr/bin/python3 k, t = list(map(int, input().split())) a = t // k result = 0 if (a % 2 == 0): result = t % k else: # print("k - t%k + 1", k, t) result = k - t % k print(result)
(k, t) = list(map(int, input().split())) a = t // k result = 0 if a % 2 == 0: result = t % k else: result = k - t % k print(result)
class Solution: def sortArray(self, nums: List[int]) -> List[int]: def quicksort(left,right): if left>=right:return pivot = left i=j=pivot+1 while j<=right: if nums[j]<nums[pivot]: nums[i],nums[j] = nums[j],nums[i] i+=1 j+=1 nums[pivot],nums[i-1] = nums[i-1],nums[pivot] quicksort(left,i-1) quicksort(i,right) quicksort(0,len(nums)-1) return nums
class Solution: def sort_array(self, nums: List[int]) -> List[int]: def quicksort(left, right): if left >= right: return pivot = left i = j = pivot + 1 while j <= right: if nums[j] < nums[pivot]: (nums[i], nums[j]) = (nums[j], nums[i]) i += 1 j += 1 (nums[pivot], nums[i - 1]) = (nums[i - 1], nums[pivot]) quicksort(left, i - 1) quicksort(i, right) quicksort(0, len(nums) - 1) return nums
#! /usr/bin/env python3 def ins_sort_indices(A): F = list(range(len(A))) for j in range(len(A)): key = A[F[j]] i = j-1 while i >= 0 and A[F[i]] > key: F[i+1] = F[i] i = i-1 F[i+1] = j return F def T(F): T = list(range(len(F))) for (i, f) in enumerate(F): T[f] = i return T if __name__ == '__main__': As = [ [1, 2, 3], [3, 5, 4], [2, 3, 1], ] for a in As: print('A=', a) indices = ins_sort_indices(a) t = T(indices) print('sorted(A)=', end='') for i in indices: print(a[i], end='') print('') print('F=', indices) print('T=', t) print('')
def ins_sort_indices(A): f = list(range(len(A))) for j in range(len(A)): key = A[F[j]] i = j - 1 while i >= 0 and A[F[i]] > key: F[i + 1] = F[i] i = i - 1 F[i + 1] = j return F def t(F): t = list(range(len(F))) for (i, f) in enumerate(F): T[f] = i return T if __name__ == '__main__': as = [[1, 2, 3], [3, 5, 4], [2, 3, 1]] for a in As: print('A=', a) indices = ins_sort_indices(a) t = t(indices) print('sorted(A)=', end='') for i in indices: print(a[i], end='') print('') print('F=', indices) print('T=', t) print('')
#addListElements.py list1 = [5, 4, 9, 10, 3, 5] list2 = [6, 3, 2, 1, 5, 3] print("list1 elements:", list1[0], list1[1], list1[2], list1[3], list1[4]) print("list2 elements:", list2[0], list2[1], list2[2], list2[3], list2[4]) list3 = [] j = len(list1) for i in range(j): list3.insert(0,list1[i] + list2[i]) print("list3:", list3)
list1 = [5, 4, 9, 10, 3, 5] list2 = [6, 3, 2, 1, 5, 3] print('list1 elements:', list1[0], list1[1], list1[2], list1[3], list1[4]) print('list2 elements:', list2[0], list2[1], list2[2], list2[3], list2[4]) list3 = [] j = len(list1) for i in range(j): list3.insert(0, list1[i] + list2[i]) print('list3:', list3)
class Account: def __init__(self, name, balance, min_balance): self.name = name self.balance = balance self.min_balance = min_balance def deposit(self, amount): self.balance += amount def withdraw(self, amount): if self.balance - amount >= self.min_balance: self.balance -= amount else: print("Sorry, not enough funds!") def statements(self): print('Account Balance:Rs{}'.format(self.balance)) class Current(Account): def __init__(self, name, balance): super().__init__(name, balance, min_balance =-1000) def __str__(self): return "{}'s Current Account : Balance is Rs{}".format(self.name, self.balance) class Savings(Account): def __init__(self, name, balance): super().__init__(name, balance, min_balance =0) def __str__(self): return "{}'s Savings Account : Balance is Rs{}".format(self.name, self.balance)
class Account: def __init__(self, name, balance, min_balance): self.name = name self.balance = balance self.min_balance = min_balance def deposit(self, amount): self.balance += amount def withdraw(self, amount): if self.balance - amount >= self.min_balance: self.balance -= amount else: print('Sorry, not enough funds!') def statements(self): print('Account Balance:Rs{}'.format(self.balance)) class Current(Account): def __init__(self, name, balance): super().__init__(name, balance, min_balance=-1000) def __str__(self): return "{}'s Current Account : Balance is Rs{}".format(self.name, self.balance) class Savings(Account): def __init__(self, name, balance): super().__init__(name, balance, min_balance=0) def __str__(self): return "{}'s Savings Account : Balance is Rs{}".format(self.name, self.balance)
# # PySNMP MIB module JUNIPER-LSYSSP-SCHEDULER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/JUNIPER-LSYSSP-SCHEDULER-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:00:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection") jnxLsysSpScheduler, = mibBuilder.importSymbols("JUNIPER-LSYS-SECURITYPROFILE-MIB", "jnxLsysSpScheduler") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Gauge32, TimeTicks, ModuleIdentity, Unsigned32, Integer32, ObjectIdentity, NotificationType, iso, Counter32, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, MibIdentifier, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "TimeTicks", "ModuleIdentity", "Unsigned32", "Integer32", "ObjectIdentity", "NotificationType", "iso", "Counter32", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "MibIdentifier", "Counter64") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") jnxLsysSpSchedulerMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1)) if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setLastUpdated('201005191644Z') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setOrganization('Juniper Networks, Inc.') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setContactInfo('Juniper Technical Assistance Center Juniper Networks, Inc. 1194 N. Mathilda Avenue Sunnyvale, CA 94089 E-mail: support@juniper.net HTTP://www.juniper.net') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setDescription('This module defines the scheduler-specific MIB for Juniper Enterprise Logical-System (LSYS) security profiles. Juniper documentation is recommended as the reference. The LSYS security profile provides various static and dynamic resource management by observing resource quota limits. Security scheduler resource is the focus in this MIB. ') jnxLsysSpSchedulerObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1)) jnxLsysSpSchedulerSummary = MibIdentifier((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2)) jnxLsysSpSchedulerTable = MibTable((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1), ) if mibBuilder.loadTexts: jnxLsysSpSchedulerTable.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerTable.setDescription('LSYSPROFILE scheduler objects for scheduler resource consumption per LSYS.') jnxLsysSpSchedulerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1), ).setIndexNames((1, "JUNIPER-LSYSSP-SCHEDULER-MIB", "jnxLsysSpSchedulerLsysName")) if mibBuilder.loadTexts: jnxLsysSpSchedulerEntry.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerEntry.setDescription('An entry in scheduler resource table.') jnxLsysSpSchedulerLsysName = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))) if mibBuilder.loadTexts: jnxLsysSpSchedulerLsysName.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLsysName.setDescription('The name of the logical system for which scheduler resource information is retrieved. ') jnxLsysSpSchedulerProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerProfileName.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerProfileName.setDescription('The security profile name string for the LSYS.') jnxLsysSpSchedulerUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsage.setDescription('The current resource usage count for the LSYS.') jnxLsysSpSchedulerReserved = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerReserved.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerReserved.setDescription('The reserved resource count for the LSYS.') jnxLsysSpSchedulerMaximum = MibTableColumn((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerMaximum.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaximum.setDescription('The maximum allowed resource usage count for the LSYS.') jnxLsysSpSchedulerUsedAmount = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerUsedAmount.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsedAmount.setDescription('The scheduler resource consumption over all LSYS.') jnxLsysSpSchedulerMaxQuota = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerMaxQuota.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaxQuota.setDescription('The scheduler resource maximum quota for the whole device for all LSYS.') jnxLsysSpSchedulerAvailableAmount = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerAvailableAmount.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerAvailableAmount.setDescription('The scheduler resource available in the whole device.') jnxLsysSpSchedulerHeaviestUsage = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUsage.setDescription('The most amount of scheduler resource consumed of a LSYS.') jnxLsysSpSchedulerHeaviestUser = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUser.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUser.setDescription('The LSYS name that consume the most scheduler resource.') jnxLsysSpSchedulerLightestUsage = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUsage.setDescription('The least amount of scheduler resource consumed of a LSYS.') jnxLsysSpSchedulerLightestUser = MibScalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUser.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUser.setDescription('The LSYS name that consume the least scheduler resource.') mibBuilder.exportSymbols("JUNIPER-LSYSSP-SCHEDULER-MIB", jnxLsysSpSchedulerTable=jnxLsysSpSchedulerTable, jnxLsysSpSchedulerUsedAmount=jnxLsysSpSchedulerUsedAmount, jnxLsysSpSchedulerMIB=jnxLsysSpSchedulerMIB, jnxLsysSpSchedulerProfileName=jnxLsysSpSchedulerProfileName, jnxLsysSpSchedulerMaximum=jnxLsysSpSchedulerMaximum, jnxLsysSpSchedulerLsysName=jnxLsysSpSchedulerLsysName, jnxLsysSpSchedulerReserved=jnxLsysSpSchedulerReserved, PYSNMP_MODULE_ID=jnxLsysSpSchedulerMIB, jnxLsysSpSchedulerLightestUser=jnxLsysSpSchedulerLightestUser, jnxLsysSpSchedulerHeaviestUser=jnxLsysSpSchedulerHeaviestUser, jnxLsysSpSchedulerObjects=jnxLsysSpSchedulerObjects, jnxLsysSpSchedulerEntry=jnxLsysSpSchedulerEntry, jnxLsysSpSchedulerUsage=jnxLsysSpSchedulerUsage, jnxLsysSpSchedulerHeaviestUsage=jnxLsysSpSchedulerHeaviestUsage, jnxLsysSpSchedulerAvailableAmount=jnxLsysSpSchedulerAvailableAmount, jnxLsysSpSchedulerLightestUsage=jnxLsysSpSchedulerLightestUsage, jnxLsysSpSchedulerSummary=jnxLsysSpSchedulerSummary, jnxLsysSpSchedulerMaxQuota=jnxLsysSpSchedulerMaxQuota)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, single_value_constraint, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection') (jnx_lsys_sp_scheduler,) = mibBuilder.importSymbols('JUNIPER-LSYS-SECURITYPROFILE-MIB', 'jnxLsysSpScheduler') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (gauge32, time_ticks, module_identity, unsigned32, integer32, object_identity, notification_type, iso, counter32, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, mib_identifier, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'TimeTicks', 'ModuleIdentity', 'Unsigned32', 'Integer32', 'ObjectIdentity', 'NotificationType', 'iso', 'Counter32', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'MibIdentifier', 'Counter64') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') jnx_lsys_sp_scheduler_mib = module_identity((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1)) if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setLastUpdated('201005191644Z') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setOrganization('Juniper Networks, Inc.') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setContactInfo('Juniper Technical Assistance Center Juniper Networks, Inc. 1194 N. Mathilda Avenue Sunnyvale, CA 94089 E-mail: support@juniper.net HTTP://www.juniper.net') if mibBuilder.loadTexts: jnxLsysSpSchedulerMIB.setDescription('This module defines the scheduler-specific MIB for Juniper Enterprise Logical-System (LSYS) security profiles. Juniper documentation is recommended as the reference. The LSYS security profile provides various static and dynamic resource management by observing resource quota limits. Security scheduler resource is the focus in this MIB. ') jnx_lsys_sp_scheduler_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1)) jnx_lsys_sp_scheduler_summary = mib_identifier((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2)) jnx_lsys_sp_scheduler_table = mib_table((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1)) if mibBuilder.loadTexts: jnxLsysSpSchedulerTable.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerTable.setDescription('LSYSPROFILE scheduler objects for scheduler resource consumption per LSYS.') jnx_lsys_sp_scheduler_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1)).setIndexNames((1, 'JUNIPER-LSYSSP-SCHEDULER-MIB', 'jnxLsysSpSchedulerLsysName')) if mibBuilder.loadTexts: jnxLsysSpSchedulerEntry.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerEntry.setDescription('An entry in scheduler resource table.') jnx_lsys_sp_scheduler_lsys_name = mib_table_column((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))) if mibBuilder.loadTexts: jnxLsysSpSchedulerLsysName.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLsysName.setDescription('The name of the logical system for which scheduler resource information is retrieved. ') jnx_lsys_sp_scheduler_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerProfileName.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerProfileName.setDescription('The security profile name string for the LSYS.') jnx_lsys_sp_scheduler_usage = mib_table_column((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsage.setDescription('The current resource usage count for the LSYS.') jnx_lsys_sp_scheduler_reserved = mib_table_column((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerReserved.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerReserved.setDescription('The reserved resource count for the LSYS.') jnx_lsys_sp_scheduler_maximum = mib_table_column((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaximum.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaximum.setDescription('The maximum allowed resource usage count for the LSYS.') jnx_lsys_sp_scheduler_used_amount = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsedAmount.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerUsedAmount.setDescription('The scheduler resource consumption over all LSYS.') jnx_lsys_sp_scheduler_max_quota = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaxQuota.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerMaxQuota.setDescription('The scheduler resource maximum quota for the whole device for all LSYS.') jnx_lsys_sp_scheduler_available_amount = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerAvailableAmount.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerAvailableAmount.setDescription('The scheduler resource available in the whole device.') jnx_lsys_sp_scheduler_heaviest_usage = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUsage.setDescription('The most amount of scheduler resource consumed of a LSYS.') jnx_lsys_sp_scheduler_heaviest_user = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUser.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerHeaviestUser.setDescription('The LSYS name that consume the most scheduler resource.') jnx_lsys_sp_scheduler_lightest_usage = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUsage.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUsage.setDescription('The least amount of scheduler resource consumed of a LSYS.') jnx_lsys_sp_scheduler_lightest_user = mib_scalar((1, 3, 6, 1, 4, 1, 2636, 3, 39, 1, 17, 2, 1, 2, 7), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUser.setStatus('current') if mibBuilder.loadTexts: jnxLsysSpSchedulerLightestUser.setDescription('The LSYS name that consume the least scheduler resource.') mibBuilder.exportSymbols('JUNIPER-LSYSSP-SCHEDULER-MIB', jnxLsysSpSchedulerTable=jnxLsysSpSchedulerTable, jnxLsysSpSchedulerUsedAmount=jnxLsysSpSchedulerUsedAmount, jnxLsysSpSchedulerMIB=jnxLsysSpSchedulerMIB, jnxLsysSpSchedulerProfileName=jnxLsysSpSchedulerProfileName, jnxLsysSpSchedulerMaximum=jnxLsysSpSchedulerMaximum, jnxLsysSpSchedulerLsysName=jnxLsysSpSchedulerLsysName, jnxLsysSpSchedulerReserved=jnxLsysSpSchedulerReserved, PYSNMP_MODULE_ID=jnxLsysSpSchedulerMIB, jnxLsysSpSchedulerLightestUser=jnxLsysSpSchedulerLightestUser, jnxLsysSpSchedulerHeaviestUser=jnxLsysSpSchedulerHeaviestUser, jnxLsysSpSchedulerObjects=jnxLsysSpSchedulerObjects, jnxLsysSpSchedulerEntry=jnxLsysSpSchedulerEntry, jnxLsysSpSchedulerUsage=jnxLsysSpSchedulerUsage, jnxLsysSpSchedulerHeaviestUsage=jnxLsysSpSchedulerHeaviestUsage, jnxLsysSpSchedulerAvailableAmount=jnxLsysSpSchedulerAvailableAmount, jnxLsysSpSchedulerLightestUsage=jnxLsysSpSchedulerLightestUsage, jnxLsysSpSchedulerSummary=jnxLsysSpSchedulerSummary, jnxLsysSpSchedulerMaxQuota=jnxLsysSpSchedulerMaxQuota)
class solution: def __init__(self): self.best = 0 self.bestIndividual = [] self.solutions = [] self.population_fitness = [] self.optimizer = "" self.objfname = "" self.lb = 0 self.ub = 0 self.dim = 0 self.popnum = 0 self.maxiers = 0 self.objf = 0
class Solution: def __init__(self): self.best = 0 self.bestIndividual = [] self.solutions = [] self.population_fitness = [] self.optimizer = '' self.objfname = '' self.lb = 0 self.ub = 0 self.dim = 0 self.popnum = 0 self.maxiers = 0 self.objf = 0
name = "Waldo" text = "Can you find where Wally is?" if text.find(name): print("Found Waldo") else: print("Cannot find Waldo")
name = 'Waldo' text = 'Can you find where Wally is?' if text.find(name): print('Found Waldo') else: print('Cannot find Waldo')
def insertion_sort(l): for x in range(len(l)): pos = x while pos > 0 and l[pos-1] > l[pos]: l[pos-1], l[pos] = l[pos], l[pos-1] pos -= 1 list1 = [9, 2, 6, 5, 1, 7] insertion_sort(list1) print(list1)
def insertion_sort(l): for x in range(len(l)): pos = x while pos > 0 and l[pos - 1] > l[pos]: (l[pos - 1], l[pos]) = (l[pos], l[pos - 1]) pos -= 1 list1 = [9, 2, 6, 5, 1, 7] insertion_sort(list1) print(list1)
def test_example() -> None: assert True, "not True" assert 1 + 1 == 2 assert 4 / 2 == 2 assert 2 * 2 == 4 assert "ab" + "bc" == "abbc"
def test_example() -> None: assert True, 'not True' assert 1 + 1 == 2 assert 4 / 2 == 2 assert 2 * 2 == 4 assert 'ab' + 'bc' == 'abbc'
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/config/hp_defaults.ipynb (unless otherwise specified). __all__ = ['allow_base_class', 'name_epoch', 'name_last_epoch', 'name_model_history', 'model_file_name', 'path_experiments', 'defaults', 'root', 'metric', 'op', 'result_file', 'min_iterations', 'use_previous_best', 'name_logger', 'verbose'] # Cell allow_base_class=False name_epoch='epochs' name_last_epoch='last_epoch' name_model_history='model_history.pk' model_file_name='model.h5' path_experiments='results/hpsearch' defaults={} root='' metric='accuracy' op='max' result_file='dict_results.pk' min_iterations=50 use_previous_best=True name_logger='experiment_manager' verbose=0
__all__ = ['allow_base_class', 'name_epoch', 'name_last_epoch', 'name_model_history', 'model_file_name', 'path_experiments', 'defaults', 'root', 'metric', 'op', 'result_file', 'min_iterations', 'use_previous_best', 'name_logger', 'verbose'] allow_base_class = False name_epoch = 'epochs' name_last_epoch = 'last_epoch' name_model_history = 'model_history.pk' model_file_name = 'model.h5' path_experiments = 'results/hpsearch' defaults = {} root = '' metric = 'accuracy' op = 'max' result_file = 'dict_results.pk' min_iterations = 50 use_previous_best = True name_logger = 'experiment_manager' verbose = 0
# Given the head of a singly linked list, group all thenodes # # with odd indices together followed by the nodes with even indices, and return the reordered list. # # # # The first node is considered odd, and the secondnode is even, and so on. # # # # Note that the relative order inside both the even and odd groups should remain as it # # was in the input. # # # # You must solve the problem in O(1) extra space complexity and O(n) # # time complexity. # # # # Example 1: # # # # Input: head = [1, 2, 3, 4, 5] # # Output: [1, 3, 5, 2, 4] # # # # Example 2: # # # # Input: head = [2, 1, 3, 5, 6, 4, 7] # # Output: [2, 3, 6, 7, 1, 5, 4] # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def oddEvenList(self, head: Optional[ListNode]) -> Optional[ListNode]: if head is None or head.next is None or head.next.next is None: return head odd = head even = head.next even_head = head.next while even and even.next: odd.next = even.next odd = odd.next even.next = odd.next even = even.next odd.next = even_head return head
class Solution: def odd_even_list(self, head: Optional[ListNode]) -> Optional[ListNode]: if head is None or head.next is None or head.next.next is None: return head odd = head even = head.next even_head = head.next while even and even.next: odd.next = even.next odd = odd.next even.next = odd.next even = even.next odd.next = even_head return head
class Question: def __init__(self, text, answer): self.text = text self.answer = answer
class Question: def __init__(self, text, answer): self.text = text self.answer = answer
# this technique creates the copy of the list while reversing. It takes up more memory. lis = [1, 2, 3] reversed_list = lis[::-1] print(reversed_list)
lis = [1, 2, 3] reversed_list = lis[::-1] print(reversed_list)
#TAT = CT - AT => CT = AT + TAT #WT = TAT - BT => TAT = BT + WT #TAT = BT + WT => BT = TAT - WT #CT = ST + BT => CT = ST + TAT - WT #for creating a 2D Array n = 5 process = [] for i in range(5): l = [] for j in range(4): l.append(0) process.append(l) def findWaitingTime( waitingTime): cumulativeBurstTime = [0] * 5 cumulativeBurstTime[0] = 0 waitingTime[0] = 0 for i in range(1, n): cumulativeBurstTime[i] = process[i - 1][1] + cumulativeBurstTime[i - 1] waitingTime[i] = cumulativeBurstTime[i] - process[i][0] if(waitingTime[i] < 0) : waitingTime[i] = 0 def findTurnAroundTime(turnAroundTime, waitingTime): for i in range(n): turnAroundTime[i] = process[i][1] + waitingTime[i] def findGanttChart(): waitingTime = [0] * 5 turnAroundTime = [0] * 5 avgWaitingTime = 0 avgTurnAroundTime = 0 findWaitingTime(waitingTime) findTurnAroundTime(turnAroundTime, waitingTime) startTime = [0] * 5 completionTime = [0] * 5 startTime[0] = 1 completionTime[0] = startTime[0] + turnAroundTime[0] for i in range(1, n): startTime[i] = completionTime[i - 1] completionTime[i] = startTime[i] + turnAroundTime[i] - waitingTime[i] print("Process ID\tStart Time\tCompletetion Time", "\tTurn Around Time\tWaiting Time\t Priority") for i in range(n): avgWaitingTime += waitingTime[i] avgTurnAroundTime += turnAroundTime[i] print(process[i][3], "\t\t", startTime[i],"\t\t", end = " ") print(completionTime[i], "\t\t\t", turnAroundTime[i], "\t\t\t", waitingTime[i], "\t\t\t", priority[i]) print("Average waiting time is : ", end = " ") print(avgWaitingTime / n) print("Average turnaround time : " , end = " ") print(avgTurnAroundTime / n) if __name__ =="__main__": arrivalTime = [1, 2, 3, 4, 5] burstTime = [3, 5, 1, 7, 4] priority = [3, 4, 1, 7, 8] for i in range(n): process[i][0] = arrivalTime[i] process[i][1] = burstTime[i] process[i][2] = priority[i] process[i][3] = i + 1 #for sorting in priority order process = sorted (process, key = lambda x:x[2]) process = sorted (process) findGanttChart() # End of the program
n = 5 process = [] for i in range(5): l = [] for j in range(4): l.append(0) process.append(l) def find_waiting_time(waitingTime): cumulative_burst_time = [0] * 5 cumulativeBurstTime[0] = 0 waitingTime[0] = 0 for i in range(1, n): cumulativeBurstTime[i] = process[i - 1][1] + cumulativeBurstTime[i - 1] waitingTime[i] = cumulativeBurstTime[i] - process[i][0] if waitingTime[i] < 0: waitingTime[i] = 0 def find_turn_around_time(turnAroundTime, waitingTime): for i in range(n): turnAroundTime[i] = process[i][1] + waitingTime[i] def find_gantt_chart(): waiting_time = [0] * 5 turn_around_time = [0] * 5 avg_waiting_time = 0 avg_turn_around_time = 0 find_waiting_time(waitingTime) find_turn_around_time(turnAroundTime, waitingTime) start_time = [0] * 5 completion_time = [0] * 5 startTime[0] = 1 completionTime[0] = startTime[0] + turnAroundTime[0] for i in range(1, n): startTime[i] = completionTime[i - 1] completionTime[i] = startTime[i] + turnAroundTime[i] - waitingTime[i] print('Process ID\tStart Time\tCompletetion Time', '\tTurn Around Time\tWaiting Time\t Priority') for i in range(n): avg_waiting_time += waitingTime[i] avg_turn_around_time += turnAroundTime[i] print(process[i][3], '\t\t', startTime[i], '\t\t', end=' ') print(completionTime[i], '\t\t\t', turnAroundTime[i], '\t\t\t', waitingTime[i], '\t\t\t', priority[i]) print('Average waiting time is : ', end=' ') print(avgWaitingTime / n) print('Average turnaround time : ', end=' ') print(avgTurnAroundTime / n) if __name__ == '__main__': arrival_time = [1, 2, 3, 4, 5] burst_time = [3, 5, 1, 7, 4] priority = [3, 4, 1, 7, 8] for i in range(n): process[i][0] = arrivalTime[i] process[i][1] = burstTime[i] process[i][2] = priority[i] process[i][3] = i + 1 process = sorted(process, key=lambda x: x[2]) process = sorted(process) find_gantt_chart()
expected = 'Jana III Sobieskiego' a = ' Jana III Sobieskiego ' b = 'ul Jana III SobIESkiego' c = '\tul. Jana trzeciego Sobieskiego' d = 'ulicaJana III Sobieskiego' e = 'UL. JA\tNA 3 SOBIES\tKIEGO' f = 'UL. jana III SOBiesKIEGO' g = 'ULICA JANA III SOBIESKIEGO ' h = 'ULICA. JANA III SOBIeskieGO' i = ' Jana 3 Sobieskiego ' j = 'Jana III\tSobieskiego ' k = 'ul.Jana III Sob\n\nieskiego\n' def clean(text): text = text.upper() text = text.replace('\n', '') text = text.replace('\t', '') text = text.replace('ULICA', '') text = text.replace('.', '') text = text.replace('UL', '') text = text.replace('TRZECIEGO', 'III') text = text.replace('3', 'III') text = text.strip() text = text.title().replace('Iii', 'III') return text a = clean(a) b = clean(b) c = clean(c) d = clean(d) e = clean(e) f = clean(f) g = clean(g) h = clean(h) i = clean(i) j = clean(j).replace('IIIs', 'III S') k = clean(k) print(f'{a == expected}\t a: "{a}"') print(f'{b == expected}\t b: "{b}"') print(f'{c == expected}\t c: "{c}"') print(f'{d == expected}\t d: "{d}"') print(f'{e == expected}\t e: "{e}"') print(f'{f == expected}\t f: "{f}"') print(f'{g == expected}\t g: "{g}"') print(f'{h == expected}\t h: "{h}"') print(f'{i == expected}\t i: "{i}"') print(f'{j == expected}\t j: "{j}"') print(f'{k == expected}\t k: "{k}"')
expected = 'Jana III Sobieskiego' a = ' Jana III Sobieskiego ' b = 'ul Jana III SobIESkiego' c = '\tul. Jana trzeciego Sobieskiego' d = 'ulicaJana III Sobieskiego' e = 'UL. JA\tNA 3 SOBIES\tKIEGO' f = 'UL. jana III SOBiesKIEGO' g = 'ULICA JANA III SOBIESKIEGO ' h = 'ULICA. JANA III SOBIeskieGO' i = ' Jana 3 Sobieskiego ' j = 'Jana III\tSobieskiego ' k = 'ul.Jana III Sob\n\nieskiego\n' def clean(text): text = text.upper() text = text.replace('\n', '') text = text.replace('\t', '') text = text.replace('ULICA', '') text = text.replace('.', '') text = text.replace('UL', '') text = text.replace('TRZECIEGO', 'III') text = text.replace('3', 'III') text = text.strip() text = text.title().replace('Iii', 'III') return text a = clean(a) b = clean(b) c = clean(c) d = clean(d) e = clean(e) f = clean(f) g = clean(g) h = clean(h) i = clean(i) j = clean(j).replace('IIIs', 'III S') k = clean(k) print(f'{a == expected}\t a: "{a}"') print(f'{b == expected}\t b: "{b}"') print(f'{c == expected}\t c: "{c}"') print(f'{d == expected}\t d: "{d}"') print(f'{e == expected}\t e: "{e}"') print(f'{f == expected}\t f: "{f}"') print(f'{g == expected}\t g: "{g}"') print(f'{h == expected}\t h: "{h}"') print(f'{i == expected}\t i: "{i}"') print(f'{j == expected}\t j: "{j}"') print(f'{k == expected}\t k: "{k}"')
#Linear Threshold global to test: 0.261583162085 svm_linear = { "global_threshhold": 0.17234866241479857, "model_path": "models/signetf_lambda0.95.pkl", "c-minus": 1, "gamma": 'auto', } svm_rbf = { "global_threshhold": 0.26488806589512859, "model_path": "models/signetf_lambda0.999.pkl", "c-minus": 1, "gamma": 2**(-11), } signature_numbers_by_user = { "genuine": 24, "skilled": 30, } def gpds160_config(): config = { "dataset_path": "datasets/gpds160/", "dataset_for_random_path": "datasets/gpds160-RANDOM/", "train_config": { "genuine": 14, "skilled": 0, "random": 14 }, "test_config": { "genuine": 10, "skilled": 10, "random": 10 }, "c-plus": 721, "signature_numbers_by_user": signature_numbers_by_user, "number_of_tests_by_user": 100, "max_image_size": (819, 1137), "canvas": (952, 1360), "svm_linear": svm_linear, "svm_rbf": svm_rbf } return config def gpds300_config(): config = { "dataset_path": "datasets/gpds300/", "dataset_for_random_path": "datasets/gpds300-RANDOM/", "train_config": { "genuine": 14, "skilled": 0, "random": 14 }, "test_config": { "genuine": 10, "skilled": 10, "random": 10 }, "c-plus": 581, "signature_numbers_by_user": signature_numbers_by_user, "number_of_tests_by_user": 100, "max_image_size": (819, 1137), "canvas": (952, 1360), "svm_linear": svm_linear, "svm_rbf": svm_rbf } return config def gpds50_config(): config = { "dataset_path": "datasets/gpds50/", "dataset_for_random_path": "datasets/gpds300/", "train_config": { "genuine": 14, "skilled": 0, "random": 14 }, "test_config": { "genuine": 10, "skilled": 10, "random": 10 }, "c-plus": 300, "signature_numbers_by_user": signature_numbers_by_user, "number_of_tests_by_user": 100, "max_image_size": (819, 1137), "canvas": (952, 1360), "svm_linear": svm_linear, "svm_rbf": svm_rbf } return config
svm_linear = {'global_threshhold': 0.17234866241479857, 'model_path': 'models/signetf_lambda0.95.pkl', 'c-minus': 1, 'gamma': 'auto'} svm_rbf = {'global_threshhold': 0.2648880658951286, 'model_path': 'models/signetf_lambda0.999.pkl', 'c-minus': 1, 'gamma': 2 ** (-11)} signature_numbers_by_user = {'genuine': 24, 'skilled': 30} def gpds160_config(): config = {'dataset_path': 'datasets/gpds160/', 'dataset_for_random_path': 'datasets/gpds160-RANDOM/', 'train_config': {'genuine': 14, 'skilled': 0, 'random': 14}, 'test_config': {'genuine': 10, 'skilled': 10, 'random': 10}, 'c-plus': 721, 'signature_numbers_by_user': signature_numbers_by_user, 'number_of_tests_by_user': 100, 'max_image_size': (819, 1137), 'canvas': (952, 1360), 'svm_linear': svm_linear, 'svm_rbf': svm_rbf} return config def gpds300_config(): config = {'dataset_path': 'datasets/gpds300/', 'dataset_for_random_path': 'datasets/gpds300-RANDOM/', 'train_config': {'genuine': 14, 'skilled': 0, 'random': 14}, 'test_config': {'genuine': 10, 'skilled': 10, 'random': 10}, 'c-plus': 581, 'signature_numbers_by_user': signature_numbers_by_user, 'number_of_tests_by_user': 100, 'max_image_size': (819, 1137), 'canvas': (952, 1360), 'svm_linear': svm_linear, 'svm_rbf': svm_rbf} return config def gpds50_config(): config = {'dataset_path': 'datasets/gpds50/', 'dataset_for_random_path': 'datasets/gpds300/', 'train_config': {'genuine': 14, 'skilled': 0, 'random': 14}, 'test_config': {'genuine': 10, 'skilled': 10, 'random': 10}, 'c-plus': 300, 'signature_numbers_by_user': signature_numbers_by_user, 'number_of_tests_by_user': 100, 'max_image_size': (819, 1137), 'canvas': (952, 1360), 'svm_linear': svm_linear, 'svm_rbf': svm_rbf} return config
def T(): for row in range(6): for col in range(5): if (row==0 or col==2): print("*",end=" ") else: print(end=" ") print()
def t(): for row in range(6): for col in range(5): if row == 0 or col == 2: print('*', end=' ') else: print(end=' ') print()
class state (object): def __init__(self): self._dict = {} self._dict['dependencies'] = {} self._dict['build'] = {} self._clean = True def clean(self): return self._clean def __getattr__(self, key): try: return self._dict[key] except KeyError: raise AttributeError(key) def update(self, **kwargs): def merge(dest, src): for k, v in src.items(): if isinstance(v, dict) and k in dest: merge(dest[k], v) else: dest[k] = v merge(self._dict, kwargs) self._clean = False def serialize(self): return self._dict @classmethod def from_yaml(cls, defs, data): instance = cls() instance.update(**data) return instance
class State(object): def __init__(self): self._dict = {} self._dict['dependencies'] = {} self._dict['build'] = {} self._clean = True def clean(self): return self._clean def __getattr__(self, key): try: return self._dict[key] except KeyError: raise attribute_error(key) def update(self, **kwargs): def merge(dest, src): for (k, v) in src.items(): if isinstance(v, dict) and k in dest: merge(dest[k], v) else: dest[k] = v merge(self._dict, kwargs) self._clean = False def serialize(self): return self._dict @classmethod def from_yaml(cls, defs, data): instance = cls() instance.update(**data) return instance
DATASETS = { 'ctx': { 'ptype': 'edr', 'instr': 'ctx', 'host': 'mro' }, 'hirise': { 'ptype': 'rdrv11', 'instr': 'hirise', 'host': 'mex' } }
datasets = {'ctx': {'ptype': 'edr', 'instr': 'ctx', 'host': 'mro'}, 'hirise': {'ptype': 'rdrv11', 'instr': 'hirise', 'host': 'mex'}}
# Demo Python Scope - Global Keyword ''' Global Keyword If you need to create a global variable, but are stuck in the local scope, you can use the global keyword. The global keyword makes the variable global. Also, use the global keyword if you want to make a change to a global variable inside a function. ''' # To change the value of a global variable inside a function, refer to the variable by using the global keyword: x = 300 def myfunc(): global x x = 200 myfunc() print(x)
""" Global Keyword If you need to create a global variable, but are stuck in the local scope, you can use the global keyword. The global keyword makes the variable global. Also, use the global keyword if you want to make a change to a global variable inside a function. """ x = 300 def myfunc(): global x x = 200 myfunc() print(x)
VERSION = (0, 0, 2) def get_version(version = None): version = version or VERSION return ".".join(map(str, list(version))) __version__ = get_version(VERSION)
version = (0, 0, 2) def get_version(version=None): version = version or VERSION return '.'.join(map(str, list(version))) __version__ = get_version(VERSION)
def ffr(n): if n < 1 or type(n) != int: raise ValueError("n must be an int >= 1") try: return ffr.r[n] except IndexError: r, s = ffr.r, ffs.s ffr_n_1 = ffr(n-1) lastr = r[-1] # extend s up to, and one past, last r s += list(range(s[-1] + 1, lastr)) if s[-1] < lastr: s += [lastr + 1] # access s[n-1] temporarily extending s if necessary len_s = len(s) ffs_n_1 = s[n-1] if len_s > n else (n - len_s) + s[-1] ans = ffr_n_1 + ffs_n_1 r.append(ans) return ans ffr.r = [None, 1] def ffs(n): if n < 1 or type(n) != int: raise ValueError("n must be an int >= 1") try: return ffs.s[n] except IndexError: r, s = ffr.r, ffs.s for i in range(len(r), n+2): ffr(i) if len(s) > n: return s[n] raise Exception("Whoops!") ffs.s = [None, 2] if __name__ == '__main__': first10 = [ffr(i) for i in range(1,11)] assert first10 == [1, 3, 7, 12, 18, 26, 35, 45, 56, 69], "ffr() value error(s)" print(("ffr(n) for n = [1..10] is", first10)) # bin = [None] + [0]*1000 for i in range(40, 0, -1): bin[ffr(i)] += 1 for i in range(960, 0, -1): bin[ffs(i)] += 1 if all(b == 1 for b in bin[1:1000]): print("All Integers 1..1000 found OK") else: print("All Integers 1..1000 NOT found only once: ERROR")
def ffr(n): if n < 1 or type(n) != int: raise value_error('n must be an int >= 1') try: return ffr.r[n] except IndexError: (r, s) = (ffr.r, ffs.s) ffr_n_1 = ffr(n - 1) lastr = r[-1] s += list(range(s[-1] + 1, lastr)) if s[-1] < lastr: s += [lastr + 1] len_s = len(s) ffs_n_1 = s[n - 1] if len_s > n else n - len_s + s[-1] ans = ffr_n_1 + ffs_n_1 r.append(ans) return ans ffr.r = [None, 1] def ffs(n): if n < 1 or type(n) != int: raise value_error('n must be an int >= 1') try: return ffs.s[n] except IndexError: (r, s) = (ffr.r, ffs.s) for i in range(len(r), n + 2): ffr(i) if len(s) > n: return s[n] raise exception('Whoops!') ffs.s = [None, 2] if __name__ == '__main__': first10 = [ffr(i) for i in range(1, 11)] assert first10 == [1, 3, 7, 12, 18, 26, 35, 45, 56, 69], 'ffr() value error(s)' print(('ffr(n) for n = [1..10] is', first10)) bin = [None] + [0] * 1000 for i in range(40, 0, -1): bin[ffr(i)] += 1 for i in range(960, 0, -1): bin[ffs(i)] += 1 if all((b == 1 for b in bin[1:1000])): print('All Integers 1..1000 found OK') else: print('All Integers 1..1000 NOT found only once: ERROR')
def fib(n): if n <= 1: return n return fib(n - 1) + fib(n - 2) if __name__ == "__main__": n = 40 print("{answer}\n".format(answer=fib(n)))
def fib(n): if n <= 1: return n return fib(n - 1) + fib(n - 2) if __name__ == '__main__': n = 40 print('{answer}\n'.format(answer=fib(n)))
#ejemplo 1 num1 = 13 num2 = 32.34 num1 = num1 + num2 print ("num1 =",num1) #ejemplo 2 num1 = 141.42 num2 = 412 num1 = num1 + num2 print ("num1 =",round(num1)) #ejemplo 3 num1 = 42 num2 = 4.23 result = (num1 + num2) print("El resultado de la operacion es =", round(result)) print(int(6.324)) rl1 = str(64.523) print(type(rl1)) print(float(rl1))
num1 = 13 num2 = 32.34 num1 = num1 + num2 print('num1 =', num1) num1 = 141.42 num2 = 412 num1 = num1 + num2 print('num1 =', round(num1)) num1 = 42 num2 = 4.23 result = num1 + num2 print('El resultado de la operacion es =', round(result)) print(int(6.324)) rl1 = str(64.523) print(type(rl1)) print(float(rl1))
class AbstractContext(object): def valueForVar(self, name): return def setValueForVar(self, name, ex): return def typeForVar(self, name): return
class Abstractcontext(object): def value_for_var(self, name): return def set_value_for_var(self, name, ex): return def type_for_var(self, name): return
class foo: x = 5 def __init__(self,x): self.x = x def bar(self): return self.x + 1 class foo2(foo): x = 7 # no init so jump/inherit from foo def bar(self): return self.x + 2 def bark(): print('woof') f = foo2(6) #calls foo init f.bark() #Error foo2.bark() #woof foo.bark() #Error f.bar() # 8 foo.bar(f) #7 #foo.bar refers to function bar in class foo, f #lookup from instance -> class -> superclass -> error
class Foo: x = 5 def __init__(self, x): self.x = x def bar(self): return self.x + 1 class Foo2(foo): x = 7 def bar(self): return self.x + 2 def bark(): print('woof') f = foo2(6) f.bark() foo2.bark() foo.bark() f.bar() foo.bar(f)
while True: try: file_name = input("Please enter the name of the file you would like to read") fh = open(file_name) break except: print("Couldn't open file. Please try again") while True: try: line_cnt = int(input("How many lines would you like to read?")) if(line_cnt <= 0): raise ValueError if(line_cnt >1000): raise OverflowError break except ValueError: print("Must enter an integer greater than 0") except OverflowError: print("Nobody's got time for that.") except: print("Strange input. Muste enter a legit int") try: for line in range(1, line_count+1): print(fh.readline()) except EOFError: print("Ya hit the end of the file at line:",line) except: print("Something went terribly wrong at line:",line) finally: fh.close()
while True: try: file_name = input('Please enter the name of the file you would like to read') fh = open(file_name) break except: print("Couldn't open file. Please try again") while True: try: line_cnt = int(input('How many lines would you like to read?')) if line_cnt <= 0: raise ValueError if line_cnt > 1000: raise OverflowError break except ValueError: print('Must enter an integer greater than 0') except OverflowError: print("Nobody's got time for that.") except: print('Strange input. Muste enter a legit int') try: for line in range(1, line_count + 1): print(fh.readline()) except EOFError: print('Ya hit the end of the file at line:', line) except: print('Something went terribly wrong at line:', line) finally: fh.close()
EC2_INSTANCE_TYPES = [ 't1.micro', 't2.nano', 't2.micro', 't2.small', 't2.medium', 't2.large', 't2.xlarge', 't2.2xlarge', 'm1.small', 'm1.medium', 'm1.large', 'm1.xlarge', 'm3.medium', 'm3.large', 'm3.xlarge', 'm3.2xlarge', 'm4.large', 'm4.xlarge', 'm4.2xlarge', 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge', 'cr1.8xlarge', 'r3.large', 'r3.xlarge', 'r3.2xlarge', 'r3.4xlarge', 'r3.8xlarge', 'r4.large', 'r4.xlarge', 'r4.2xlarge', 'r4.4xlarge', 'r4.8xlarge', 'r4.16xlarge', 'x1.16xlarge', 'x1.32xlarge', 'i2.xlarge', 'i2.2xlarge', 'i2.4xlarge', 'i2.8xlarge', 'i3.large', 'i3.xlarge', 'i3.2xlarge', 'i3.4xlarge', 'i3.8xlarge', 'i3.16xlarge', 'hi1.4xlarge', 'hs1.8xlarge', 'c1.medium', 'c1.xlarge', 'c3.large', 'c3.xlarge', 'c3.2xlarge', 'c3.4xlarge', 'c3.8xlarge', 'c4.large', 'c4.xlarge', 'c4.2xlarge', 'c4.4xlarge', 'c4.8xlarge', 'cc1.4xlarge', 'cc2.8xlarge', 'g2.2xlarge', 'g2.8xlarge', 'g3.4xlarge', 'g3.8xlarge', 'g3.16xlarge', 'cg1.4xlarge', 'p2.xlarge', 'p2.8xlarge', 'p2.16xlarge', 'd2.xlarge', 'd2.2xlarge', 'd2.4xlarge', 'd2.8xlarge', 'f1.2xlarge', 'f1.16xlarge', ]
ec2_instance_types = ['t1.micro', 't2.nano', 't2.micro', 't2.small', 't2.medium', 't2.large', 't2.xlarge', 't2.2xlarge', 'm1.small', 'm1.medium', 'm1.large', 'm1.xlarge', 'm3.medium', 'm3.large', 'm3.xlarge', 'm3.2xlarge', 'm4.large', 'm4.xlarge', 'm4.2xlarge', 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge', 'cr1.8xlarge', 'r3.large', 'r3.xlarge', 'r3.2xlarge', 'r3.4xlarge', 'r3.8xlarge', 'r4.large', 'r4.xlarge', 'r4.2xlarge', 'r4.4xlarge', 'r4.8xlarge', 'r4.16xlarge', 'x1.16xlarge', 'x1.32xlarge', 'i2.xlarge', 'i2.2xlarge', 'i2.4xlarge', 'i2.8xlarge', 'i3.large', 'i3.xlarge', 'i3.2xlarge', 'i3.4xlarge', 'i3.8xlarge', 'i3.16xlarge', 'hi1.4xlarge', 'hs1.8xlarge', 'c1.medium', 'c1.xlarge', 'c3.large', 'c3.xlarge', 'c3.2xlarge', 'c3.4xlarge', 'c3.8xlarge', 'c4.large', 'c4.xlarge', 'c4.2xlarge', 'c4.4xlarge', 'c4.8xlarge', 'cc1.4xlarge', 'cc2.8xlarge', 'g2.2xlarge', 'g2.8xlarge', 'g3.4xlarge', 'g3.8xlarge', 'g3.16xlarge', 'cg1.4xlarge', 'p2.xlarge', 'p2.8xlarge', 'p2.16xlarge', 'd2.xlarge', 'd2.2xlarge', 'd2.4xlarge', 'd2.8xlarge', 'f1.2xlarge', 'f1.16xlarge']
class Config: BOT_USE = False # True is private use BOT_TOKEN = '5298092373:AAF7zZJm02Gkv4DE8jVrbJSPcUoWMvXGX6k' # from @botfather APP_ID = 16655133 # from https://my.telegram.org/apps API_HASH = '6e6a925776a4525c7f0234119f629c99' # from https://my.telegram.org/apps AUTH_USERS = [5034111461] # Private users id
class Config: bot_use = False bot_token = '5298092373:AAF7zZJm02Gkv4DE8jVrbJSPcUoWMvXGX6k' app_id = 16655133 api_hash = '6e6a925776a4525c7f0234119f629c99' auth_users = [5034111461]
# Read in the two haplotypes to compare with open("h1.txt", "r") as infile: real = infile.readlines()[0] with open("h2.txt", "r") as infile: found = infile.readlines()[0] # Initialize counters for different kinds of errors switch = 0 flip = 0 # Save length of smaller haplotype (if they are different lengths?) size = min(len(real), len(found)) # Initialize comparison string xorHap = "" # Create comparison string for i in xrange(size): xorHap += str(int(real[i]) ^ int(found[i])) # Process comparison string i = 0 while i < size: if (int(xorHap[i]) == 1): flag = False while i < size - 1 and xorHap[i] == xorHap[i + 1]: i += 1 flag = True if flag: switch += 1 else: flip += 1 i += 1 # Display results print("Switch: %d" % switch) print("Flip: %d" % flip)
with open('h1.txt', 'r') as infile: real = infile.readlines()[0] with open('h2.txt', 'r') as infile: found = infile.readlines()[0] switch = 0 flip = 0 size = min(len(real), len(found)) xor_hap = '' for i in xrange(size): xor_hap += str(int(real[i]) ^ int(found[i])) i = 0 while i < size: if int(xorHap[i]) == 1: flag = False while i < size - 1 and xorHap[i] == xorHap[i + 1]: i += 1 flag = True if flag: switch += 1 else: flip += 1 i += 1 print('Switch: %d' % switch) print('Flip: %d' % flip)
def remove_duplicates(t): t_unique = [] for element in t: if not element in t_unique: t_unique.append(element) return t_unique print(remove_duplicates(['a', 'b', 1, 2, 'a', '2', 3, 1]))
def remove_duplicates(t): t_unique = [] for element in t: if not element in t_unique: t_unique.append(element) return t_unique print(remove_duplicates(['a', 'b', 1, 2, 'a', '2', 3, 1]))
## Autogenerated code from generate.py ## Note1: Please dont update this file manually ## Note2: For any new keys, add at the end of file smac_keys.list ## To update this file, update the keys in 'smac_keys.list' and rerun 'generate.py' smac_keys={ 'CMD_SET_PROPERTY' :'0',# '0' :'CMD_SET_PROPERTY', 'CMD_SET_PROPERTY_ACK' :'1',# '1' :'CMD_SET_PROPERTY_ACK', 'CMD_STATUS' :'2',# '2' :'CMD_STATUS', 'CMD_REQ_SEND_INFO' :'3',# '3' :'CMD_REQ_SEND_INFO', 'CMD_SEND_INFO' :'4',# '4' :'CMD_SEND_INFO', 'FROM' :'5',# '5' :'FROM', 'TO' :'6',# '6' :'TO', 'COMMAND' :'7',# '7' :'COMMAND', 'ACK' :'8',# '8' :'ACK', 'ID_MESSAGE' :'9',# '9' :'ID_MESSAGE', 'MESSAGE' :'A',# 'A' :'MESSAGE', 'SSID_WIFI' :'B',# 'B' :'SSID_WIFI', 'NAME_WIFI' :'C',# 'C' :'NAME_WIFI', 'NAME_TOPIC' :'D',# 'D' :'NAME_TOPIC', 'ID_TOPIC' :'E',# 'E' :'ID_TOPIC', 'ID_DEVICE' :'F',# 'F' :'ID_DEVICE', 'NAME_DEVICE' :'G',# 'G' :'NAME_DEVICE', 'TYPE_DEVICE' :'H',# 'H' :'TYPE_DEVICE', 'LOCATION_WIFI' :'I',# 'I' :'LOCATION_WIFI', 'ID_PROPERTY' :'K',# 'K' :'ID_PROPERTY', 'TYPE_PROPERTY' :'L',# 'L' :'TYPE_PROPERTY', 'NAME_PROPERTY' :'M',# 'M' :'NAME_PROPERTY', 'VALUE' :'N',# 'N' :'VALUE', 'VALUE_MIN' :'O',# 'O' :'VALUE_MIN', 'VALUE_MAX' :'P',# 'P' :'VALUE_MAX', 'VALUE_STEP' :'Q',# 'Q' :'VALUE_STEP', 'VALUE_UNIT' :'R',# 'R' :'VALUE_UNIT', 'CMD_INIT_SEND_INFO' :'S', 'S' :'CMD_INIT_SEND_INFO', 'CMD_END_SEND_INFO' :'T', 'T' :'CMD_END_SEND_INFO', 'CMD_STATUS_SET_PROPERTY' :'U', 'U' :'CMD_STATUS_SET_PROPERTY', 'CMD_STATUS_ADD_TOPIC' :'V', 'V' :'CMD_STATUS_ADD_TOPIC' , 'CMD_STATUS_REMOVE_TOPIC' :'W', 'W' :'CMD_STATUS_REMOVE_TOPIC', 'CMD_ADD_TOPIC' :'X', 'X' :'CMD_ADD_TOPIC', 'CMD_REMOVE_TOPIC' :'Y', 'Y' :'CMD_REMOVE_TOPIC', 'PASSKEY' :'Z', 'Z' :'PASSKEY', 'CMD_DEVICE_BUSY' :'a', 'a' :'CMD_DEVICE_BUSY', 'CMD_INVALID_PIN' :'b', 'b' :'CMD_INVALID_PIN', 'NAME_HOME' :'c', 'c' :'NAME_HOME', 'CMD_UPDATE_WIFI_CONFIG' :'d', 'd' :'CMD_UPDATE_WIFI_CONFIG', 'SSID' :'e', 'e' :'SSID', 'PASSWORD' :'f', 'f' :'PASSWORD', 'CMD_ONLINE' :'g', 'g' :'CMD_ONLINE', 'CMD_UPDATE_SOFTWARE' :'h', 'h' :'CMD_UPDATE_SOFTWARE', 'CMD_UPDATE_INTERVAL_ONLINE' :'i', 'i' :'CMD_UPDATE_INTERVAL_ONLINE', 'INTERVAL' :'j', 'j' :'INTERVAL', 'CMD_STATUS_UPDATE_WIFI_CONFIG' :'k', 'k' :'CMD_STATUS_UPDATE_WIFI_CONFIG', 'CMD_STATUS_UPDATE_INTERVAL_ONLINE' :'l', 'l' :'CMD_STATUS_UPDATE_INTERVAL_ONLINE', 'CMD_UPDATE_NAME_DEVICE' :'m', 'm' :'CMD_UPDATE_NAME_DEVICE', 'CMD_STATUS_UPDATE_NAME_DEVICE' :'n', 'n' :'CMD_STATUS_UPDATE_NAME_DEVICE', 'CMD_UPDATE_NAME_PROPERTY' :'o', 'o' :'CMD_UPDATE_NAME_PROPERTY', 'CMD_STATUS_UPDATE_NAME_PROPERTY' :'p', 'p' :'CMD_STATUS_UPDATE_NAME_PROPERTY', 'CMD_TOPIC_LIMIT_EXCEEDED' :'q', 'q' :'CMD_TOPIC_LIMIT_EXCEEDED', 'CMD_STATUS_UPDATE_SOFTWARE' : 'r', 'r' : 'CMD_STATUS_UPDATE_SOFTWARE', 'CMD_ADD_ACTION' :'s', 's' :'CMD_ADD_ACTION', 'CMD_REMOVE_ACTION' :'t', 't' :'CMD_REMOVE_ACTION', 'CMD_ADD_TRIGGER' :'u', 'u' :'CMD_ADD_TRIGGER', 'CMD_REMOVE_TRIGGER' :'v', 'v' :'CMD_REMOVE_TRIGGER', 'CMD_STATUS_ADD_ACTION' :'w', 'w' :'CMD_STATUS_ADD_ACTION', 'CMD_STATUS_REMOVE_ACTION' :'x', 'x' :'CMD_STATUS_REMOVE_ACTION', 'CMD_STATUS_ADD_TRIGGER' :'y', 'y' :'CMD_STATUS_ADD_TRIGGER', 'CMD_STATUS_REMOVE_TRIGGER' :'z', 'z' :'CMD_STATUS_REMOVE_TRIGGER', 'CMD_ACTION_LIMIT_EXCEEDED' :'a1', 'a1' :'CMD_ACTION_LIMIT_EXCEEDED', 'CMD_TRIGGER_LIMIT_EXCEEDED' :'a2', 'a2' :'CMD_TRIGGER_LIMIT_EXCEEDED', 'CMD_STATUS_ADD_CONTEXT' :'a3', 'a3' :'CMD_STATUS_ADD_CONTEXT', 'CMD_STATUS_REMOVE_CONTEXT' :'a4', 'a4' :'CMD_STATUS_REMOVE_CONTEXT', 'CONTEXT_ACTION' :"a5", 'a5' :'CONTEXT_ACTION', 'CONTEXT_TRIGGER' :"a6", 'a6' :'CONTEXT_TRIGGER', 'CONTEXT' :'a7', 'a7' :'CONTEXT', 'TOPIC' :'a8', 'a8' :'CONTEXT', 'PROPERTY' :'a9', 'a9' :'PROPERTY', 'ID_CONTEXT' :'a10', 'a10' :'ID_CONTEXT', 'NAME_CONTEXT' :'a11', 'a11' :'NAME_CONTEXT', 'TYPE_TRIGGER_PROP' :'a12', 'a12' :'TYPE_TRIGGER_PROP', 'TYPE_TRIGGER_TIME' :'a13', 'a13' :'TYPE_TRIGGER_TIME', 'TYPE_TRIGGER_LOCATION' :'a14', 'a14' :'TYPE_TRIGGER_LOCATION', 'TYPE_TRIGGER' :'a15', 'a15' :'TYPE_TRIGGER', 'CMD_TRIGGER_CONTEXT' :'a16', 'a16' :'CMD_TRIGGER_CONTEXT' }
smac_keys = {'CMD_SET_PROPERTY': '0', '0': 'CMD_SET_PROPERTY', 'CMD_SET_PROPERTY_ACK': '1', '1': 'CMD_SET_PROPERTY_ACK', 'CMD_STATUS': '2', '2': 'CMD_STATUS', 'CMD_REQ_SEND_INFO': '3', '3': 'CMD_REQ_SEND_INFO', 'CMD_SEND_INFO': '4', '4': 'CMD_SEND_INFO', 'FROM': '5', '5': 'FROM', 'TO': '6', '6': 'TO', 'COMMAND': '7', '7': 'COMMAND', 'ACK': '8', '8': 'ACK', 'ID_MESSAGE': '9', '9': 'ID_MESSAGE', 'MESSAGE': 'A', 'A': 'MESSAGE', 'SSID_WIFI': 'B', 'B': 'SSID_WIFI', 'NAME_WIFI': 'C', 'C': 'NAME_WIFI', 'NAME_TOPIC': 'D', 'D': 'NAME_TOPIC', 'ID_TOPIC': 'E', 'E': 'ID_TOPIC', 'ID_DEVICE': 'F', 'F': 'ID_DEVICE', 'NAME_DEVICE': 'G', 'G': 'NAME_DEVICE', 'TYPE_DEVICE': 'H', 'H': 'TYPE_DEVICE', 'LOCATION_WIFI': 'I', 'I': 'LOCATION_WIFI', 'ID_PROPERTY': 'K', 'K': 'ID_PROPERTY', 'TYPE_PROPERTY': 'L', 'L': 'TYPE_PROPERTY', 'NAME_PROPERTY': 'M', 'M': 'NAME_PROPERTY', 'VALUE': 'N', 'N': 'VALUE', 'VALUE_MIN': 'O', 'O': 'VALUE_MIN', 'VALUE_MAX': 'P', 'P': 'VALUE_MAX', 'VALUE_STEP': 'Q', 'Q': 'VALUE_STEP', 'VALUE_UNIT': 'R', 'R': 'VALUE_UNIT', 'CMD_INIT_SEND_INFO': 'S', 'S': 'CMD_INIT_SEND_INFO', 'CMD_END_SEND_INFO': 'T', 'T': 'CMD_END_SEND_INFO', 'CMD_STATUS_SET_PROPERTY': 'U', 'U': 'CMD_STATUS_SET_PROPERTY', 'CMD_STATUS_ADD_TOPIC': 'V', 'V': 'CMD_STATUS_ADD_TOPIC', 'CMD_STATUS_REMOVE_TOPIC': 'W', 'W': 'CMD_STATUS_REMOVE_TOPIC', 'CMD_ADD_TOPIC': 'X', 'X': 'CMD_ADD_TOPIC', 'CMD_REMOVE_TOPIC': 'Y', 'Y': 'CMD_REMOVE_TOPIC', 'PASSKEY': 'Z', 'Z': 'PASSKEY', 'CMD_DEVICE_BUSY': 'a', 'a': 'CMD_DEVICE_BUSY', 'CMD_INVALID_PIN': 'b', 'b': 'CMD_INVALID_PIN', 'NAME_HOME': 'c', 'c': 'NAME_HOME', 'CMD_UPDATE_WIFI_CONFIG': 'd', 'd': 'CMD_UPDATE_WIFI_CONFIG', 'SSID': 'e', 'e': 'SSID', 'PASSWORD': 'f', 'f': 'PASSWORD', 'CMD_ONLINE': 'g', 'g': 'CMD_ONLINE', 'CMD_UPDATE_SOFTWARE': 'h', 'h': 'CMD_UPDATE_SOFTWARE', 'CMD_UPDATE_INTERVAL_ONLINE': 'i', 'i': 'CMD_UPDATE_INTERVAL_ONLINE', 'INTERVAL': 'j', 'j': 'INTERVAL', 'CMD_STATUS_UPDATE_WIFI_CONFIG': 'k', 'k': 'CMD_STATUS_UPDATE_WIFI_CONFIG', 'CMD_STATUS_UPDATE_INTERVAL_ONLINE': 'l', 'l': 'CMD_STATUS_UPDATE_INTERVAL_ONLINE', 'CMD_UPDATE_NAME_DEVICE': 'm', 'm': 'CMD_UPDATE_NAME_DEVICE', 'CMD_STATUS_UPDATE_NAME_DEVICE': 'n', 'n': 'CMD_STATUS_UPDATE_NAME_DEVICE', 'CMD_UPDATE_NAME_PROPERTY': 'o', 'o': 'CMD_UPDATE_NAME_PROPERTY', 'CMD_STATUS_UPDATE_NAME_PROPERTY': 'p', 'p': 'CMD_STATUS_UPDATE_NAME_PROPERTY', 'CMD_TOPIC_LIMIT_EXCEEDED': 'q', 'q': 'CMD_TOPIC_LIMIT_EXCEEDED', 'CMD_STATUS_UPDATE_SOFTWARE': 'r', 'r': 'CMD_STATUS_UPDATE_SOFTWARE', 'CMD_ADD_ACTION': 's', 's': 'CMD_ADD_ACTION', 'CMD_REMOVE_ACTION': 't', 't': 'CMD_REMOVE_ACTION', 'CMD_ADD_TRIGGER': 'u', 'u': 'CMD_ADD_TRIGGER', 'CMD_REMOVE_TRIGGER': 'v', 'v': 'CMD_REMOVE_TRIGGER', 'CMD_STATUS_ADD_ACTION': 'w', 'w': 'CMD_STATUS_ADD_ACTION', 'CMD_STATUS_REMOVE_ACTION': 'x', 'x': 'CMD_STATUS_REMOVE_ACTION', 'CMD_STATUS_ADD_TRIGGER': 'y', 'y': 'CMD_STATUS_ADD_TRIGGER', 'CMD_STATUS_REMOVE_TRIGGER': 'z', 'z': 'CMD_STATUS_REMOVE_TRIGGER', 'CMD_ACTION_LIMIT_EXCEEDED': 'a1', 'a1': 'CMD_ACTION_LIMIT_EXCEEDED', 'CMD_TRIGGER_LIMIT_EXCEEDED': 'a2', 'a2': 'CMD_TRIGGER_LIMIT_EXCEEDED', 'CMD_STATUS_ADD_CONTEXT': 'a3', 'a3': 'CMD_STATUS_ADD_CONTEXT', 'CMD_STATUS_REMOVE_CONTEXT': 'a4', 'a4': 'CMD_STATUS_REMOVE_CONTEXT', 'CONTEXT_ACTION': 'a5', 'a5': 'CONTEXT_ACTION', 'CONTEXT_TRIGGER': 'a6', 'a6': 'CONTEXT_TRIGGER', 'CONTEXT': 'a7', 'a7': 'CONTEXT', 'TOPIC': 'a8', 'a8': 'CONTEXT', 'PROPERTY': 'a9', 'a9': 'PROPERTY', 'ID_CONTEXT': 'a10', 'a10': 'ID_CONTEXT', 'NAME_CONTEXT': 'a11', 'a11': 'NAME_CONTEXT', 'TYPE_TRIGGER_PROP': 'a12', 'a12': 'TYPE_TRIGGER_PROP', 'TYPE_TRIGGER_TIME': 'a13', 'a13': 'TYPE_TRIGGER_TIME', 'TYPE_TRIGGER_LOCATION': 'a14', 'a14': 'TYPE_TRIGGER_LOCATION', 'TYPE_TRIGGER': 'a15', 'a15': 'TYPE_TRIGGER', 'CMD_TRIGGER_CONTEXT': 'a16', 'a16': 'CMD_TRIGGER_CONTEXT'}
class Solution: def search(self, nums: list, target: int) -> int: low =0 hi = len(nums) - 1 while low <= hi: mid = int((low + hi)/2) if nums[mid] == target: return mid elif nums[mid] > target: hi = mid - 1 else: low = mid + 1 return -1 nums = [-1,0,3,5,9,12]; target = 9 nums = [-1,0,3,5,9,12]; target = 2 s = Solution() print(s.search(nums, target))
class Solution: def search(self, nums: list, target: int) -> int: low = 0 hi = len(nums) - 1 while low <= hi: mid = int((low + hi) / 2) if nums[mid] == target: return mid elif nums[mid] > target: hi = mid - 1 else: low = mid + 1 return -1 nums = [-1, 0, 3, 5, 9, 12] target = 9 nums = [-1, 0, 3, 5, 9, 12] target = 2 s = solution() print(s.search(nums, target))
''' Given a set of intervals, find out if any two intervals overlap. Example: Intervals: [[1,4], [2,5], [7,9]] Output: true Explanation: Intervals [1,4] and [2,5] overlap ''' class Interval: def __init__(self, start, end): self.start = start self.end = end def doesOverlap(intervals): intervals.sort(key=lambda x: x.start) start = intervals[0].start end = intervals[0].end for i in range(1, len(intervals)): interval = intervals[i] if interval.start <= end: return True else: start = interval.start end = interval.end return False if __name__ == "__main__": print(doesOverlap([Interval(1, 4), Interval(2, 5), Interval(7, 9)])) print(doesOverlap([Interval(1, 4), Interval(6, 7), Interval(8, 9)]))
""" Given a set of intervals, find out if any two intervals overlap. Example: Intervals: [[1,4], [2,5], [7,9]] Output: true Explanation: Intervals [1,4] and [2,5] overlap """ class Interval: def __init__(self, start, end): self.start = start self.end = end def does_overlap(intervals): intervals.sort(key=lambda x: x.start) start = intervals[0].start end = intervals[0].end for i in range(1, len(intervals)): interval = intervals[i] if interval.start <= end: return True else: start = interval.start end = interval.end return False if __name__ == '__main__': print(does_overlap([interval(1, 4), interval(2, 5), interval(7, 9)])) print(does_overlap([interval(1, 4), interval(6, 7), interval(8, 9)]))
def check_line_containment(line_1, line_2): return (line_1[0] <= line_2[0] and line_1[1] >= line_2[1]) def containment(rec_1, rec_2): is__rec_1__in__rec_2 = check_line_containment(rec_1.get('x'), rec_2.get( 'x')) and check_line_containment(rec_1.get('y'), rec_2.get('y')) is__rec_2__in__rec_1 = check_line_containment(rec_2.get('x'), rec_1.get( 'x')) and check_line_containment(rec_2.get('y'), rec_1.get('y')) return is__rec_1__in__rec_2 or is__rec_2__in__rec_1
def check_line_containment(line_1, line_2): return line_1[0] <= line_2[0] and line_1[1] >= line_2[1] def containment(rec_1, rec_2): is__rec_1__in__rec_2 = check_line_containment(rec_1.get('x'), rec_2.get('x')) and check_line_containment(rec_1.get('y'), rec_2.get('y')) is__rec_2__in__rec_1 = check_line_containment(rec_2.get('x'), rec_1.get('x')) and check_line_containment(rec_2.get('y'), rec_1.get('y')) return is__rec_1__in__rec_2 or is__rec_2__in__rec_1
# -*- coding: utf-8 -*- ''' mc_proxy / Dummy state generation ================================== ''' def hook(name, changes=None, **kw): ''' State that will always return ret, use that for orchestration purpose name name of dummy state ''' if not changes: changes = {} ret = {'name': name, 'result': True, 'comment': 'Dummy state for {0}'.format(name), 'changes': changes} return ret def mod_watch(name, **kwargs): ''' Execute a dummy state in case of watcher changes ''' return hook(name, changes={1: 1}) #
""" mc_proxy / Dummy state generation ================================== """ def hook(name, changes=None, **kw): """ State that will always return ret, use that for orchestration purpose name name of dummy state """ if not changes: changes = {} ret = {'name': name, 'result': True, 'comment': 'Dummy state for {0}'.format(name), 'changes': changes} return ret def mod_watch(name, **kwargs): """ Execute a dummy state in case of watcher changes """ return hook(name, changes={1: 1})
#A* ------------------------------------------------------------------- #B* This file contains source code for the PyMOL computer program #C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. #D* ------------------------------------------------------------------- #E* It is unlawful to modify or remove this copyright notice. #F* ------------------------------------------------------------------- #G* Please see the accompanying LICENSE file for further information. #H* ------------------------------------------------------------------- #I* Additional authors of this source file include: #-* #-* #-* #Z* ------------------------------------------------------------------- normal = { ('ALA' , '1HB' ) : { 'type' : 'HC' , 'charge' : 0.0603 } , ('ALA' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0603 } , ('ALA' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0603 } , ('ALA' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('ALA' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0337 } , ('ALA' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1825 } , ('ALA' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('ALA' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0823 } , ('ALA' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('ALA' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('CYM' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.2440 } , ('CYM' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.2440 } , ('CYM' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6160 } , ('CYM' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0350 } , ('CYM' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.7360 } , ('CYM' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2520 } , ('CYM' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0480 } , ('CYM' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4630 } , ('CYM' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5040 } , ('CYM' , 'SG' ) : { 'type' : 'SH' , 'charge' : -0.7360 } , ('CYS' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.1112 } , ('CYS' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.1112 } , ('CYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('CYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0213 } , ('CYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1231 } , ('CYS' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('CYS' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1124 } , ('CYS' , 'HG' ) : { 'type' : 'HS' , 'charge' : 0.1933 } , ('CYS' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('CYS' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('CYS' , 'SG' ) : { 'type' : 'SH' , 'charge' : -0.3119 } , ('CYX' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.0910 } , ('CYX' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.0910 } , ('CYX' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('CYX' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0429 } , ('CYX' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0790 } , ('CYX' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('CYX' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0766 } , ('CYX' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('CYX' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('CYX' , 'SG' ) : { 'type' : 'S' , 'charge' : -0.1081 } , ('ASP' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0122 } , ('ASP' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0122 } , ('ASP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5366 } , ('ASP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0381 } , ('ASP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0303 } , ('ASP' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.7994 } , ('ASP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2936 } , ('ASP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0880 } , ('ASP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5163 } , ('ASP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5819 } , ('ASP' , 'OD1' ) : { 'type' : 'O2' , 'charge' : -0.8014 } , ('ASP' , 'OD2' ) : { 'type' : 'O2' , 'charge' : -0.8014 } , ('ASH' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0488 } , ('ASH' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0488 } , ('ASH' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('ASH' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0341 } , ('ASH' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0316 } , ('ASH' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.6462 } , ('ASH' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('ASH' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0864 } , ('ASH' , 'HD2' ) : { 'type' : 'HO' , 'charge' : 0.4747 } , ('ASH' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('ASH' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('ASH' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.5554 } , ('ASH' , 'OD2' ) : { 'type' : 'OH' , 'charge' : -0.6376 } , ('GLU' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0173 } , ('GLU' , '2HG' ) : { 'type' : 'HC' , 'charge' : -0.0425 } , ('GLU' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0173 } , ('GLU' , '3HG' ) : { 'type' : 'HC' , 'charge' : -0.0425 } , ('GLU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5366 } , ('GLU' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0397 } , ('GLU' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0560 } , ('GLU' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.8054 } , ('GLU' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0136 } , ('GLU' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2936 } , ('GLU' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1105 } , ('GLU' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5163 } , ('GLU' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5819 } , ('GLU' , 'OE1' ) : { 'type' : 'O2' , 'charge' : -0.8188 } , ('GLU' , 'OE2' ) : { 'type' : 'O2' , 'charge' : -0.8188 } , ('GLP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0256 } , ('GLP' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0430 } , ('GLP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0256 } , ('GLP' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0430 } , ('GLP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('GLP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0145 } , ('GLP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0071 } , ('GLP' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.6801 } , ('GLP' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0174 } , ('GLP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('GLP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0779 } , ('GLP' , 'HE2' ) : { 'type' : 'HO' , 'charge' : 0.4641 } , ('GLP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('GLP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('GLP' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.5838 } , ('GLP' , 'OE2' ) : { 'type' : 'OH' , 'charge' : -0.6511 } , ('PHE' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1330 } , ('PHE' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1430 } , ('PHE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0295 } , ('PHE' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1330 } , ('PHE' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1430 } , ('PHE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0295 } , ('PHE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('PHE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0024 } , ('PHE' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0343 } , ('PHE' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.1256 } , ('PHE' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.1256 } , ('PHE' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.1704 } , ('PHE' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.1704 } , ('PHE' , 'CG' ) : { 'type' : 'CA' , 'charge' : 0.0118 } , ('PHE' , 'CZ' ) : { 'type' : 'CA' , 'charge' : -0.1072 } , ('PHE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('PHE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0978 } , ('PHE' , 'HZ' ) : { 'type' : 'HA' , 'charge' : 0.1297 } , ('PHE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('PHE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('GLY' , '3HA' ) : { 'type' : 'H1' , 'charge' : 0.0698 } , ('GLY' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('GLY' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0252 } , ('GLY' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('GLY' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0698 } , ('GLY' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('GLY' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('HIP' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3866 } , ('HIP' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.2681 } , ('HIP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0810 } , ('HIP' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.2317 } , ('HIP' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3911 } , ('HIP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0810 } , ('HIP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7341 } , ('HIP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1354 } , ('HIP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0414 } , ('HIP' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.1141 } , ('HIP' , 'CE1' ) : { 'type' : 'CR' , 'charge' : -0.0170 } , ('HIP' , 'CG' ) : { 'type' : 'CC' , 'charge' : -0.0012 } , ('HIP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2747 } , ('HIP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1212 } , ('HIP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3479 } , ('HIP' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.1513 } , ('HIP' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.1718 } , ('HIP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5894 } , ('HIE' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1435 } , ('HIE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0367 } , ('HIE' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1862 } , ('HIE' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3339 } , ('HIE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0367 } , ('HIE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('HIE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0581 } , ('HIE' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0074 } , ('HIE' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.2207 } , ('HIE' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.1635 } , ('HIE' , 'CG' ) : { 'type' : 'CC' , 'charge' : 0.1868 } , ('HIE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('HIE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1360 } , ('HIE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('HIE' , 'ND1' ) : { 'type' : 'NB' , 'charge' : -0.5432 } , ('HIE' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.2795 } , ('HIE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('HID' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3649 } , ('HID' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1392 } , ('HID' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0402 } , ('HID' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1147 } , ('HID' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0402 } , ('HID' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('HID' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0188 } , ('HID' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0462 } , ('HID' , 'CD2' ) : { 'type' : 'CV' , 'charge' : 0.1292 } , ('HID' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.2057 } , ('HID' , 'CG' ) : { 'type' : 'CC' , 'charge' : -0.0266 } , ('HID' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('HID' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0881 } , ('HID' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('HID' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.3811 } , ('HID' , 'NE2' ) : { 'type' : 'NB' , 'charge' : -0.5727 } , ('HID' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('ILE' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.0186 } , ('ILE' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0882 } , ('ILE' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.0186 } , ('ILE' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0236 } , ('ILE' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0882 } , ('ILE' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.0186 } , ('ILE' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0236 } , ('ILE' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0882 } , ('ILE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('ILE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0597 } , ('ILE' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.1303 } , ('ILE' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.0660 } , ('ILE' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.0430 } , ('ILE' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3204 } , ('ILE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('ILE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0869 } , ('ILE' , 'HB' ) : { 'type' : 'HC' , 'charge' : 0.0187 } , ('ILE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('ILE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('LYS' , '1HZ' ) : { 'type' : 'H' , 'charge' : 0.3400 } , ('LYS' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0362 } , ('LYS' , '2HD' ) : { 'type' : 'HC' , 'charge' : 0.0621 } , ('LYS' , '2HE' ) : { 'type' : 'HP' , 'charge' : 0.1135 } , ('LYS' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0103 } , ('LYS' , '2HZ' ) : { 'type' : 'H' , 'charge' : 0.3400 } , ('LYS' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0362 } , ('LYS' , '3HD' ) : { 'type' : 'HC' , 'charge' : 0.0621 } , ('LYS' , '3HE' ) : { 'type' : 'HP' , 'charge' : 0.1135 } , ('LYS' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0103 } , ('LYS' , '3HZ' ) : { 'type' : 'H' , 'charge' : 0.3400 } , ('LYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7341 } , ('LYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2400 } , ('LYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0094 } , ('LYS' , 'CD' ) : { 'type' : 'CT' , 'charge' : -0.0479 } , ('LYS' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0143 } , ('LYS' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0187 } , ('LYS' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2747 } , ('LYS' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1426 } , ('LYS' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3479 } , ('LYS' , 'NZ' ) : { 'type' : 'N3' , 'charge' : -0.3854 } , ('LYS' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5894 } , ('LEU' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , '1HD2' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0457 } , ('LEU' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , '2HD2' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0457 } , ('LEU' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , '3HD2' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('LEU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('LEU' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0518 } , ('LEU' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1102 } , ('LEU' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.4121 } , ('LEU' , 'CD2' ) : { 'type' : 'CT' , 'charge' : -0.4121 } , ('LEU' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.3531 } , ('LEU' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('LEU' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0922 } , ('LEU' , 'HG' ) : { 'type' : 'HC' , 'charge' : -0.0361 } , ('LEU' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('LEU' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('MET' , '1HE' ) : { 'type' : 'H1' , 'charge' : 0.0684 } , ('MET' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0241 } , ('MET' , '2HE' ) : { 'type' : 'H1' , 'charge' : 0.0684 } , ('MET' , '2HG' ) : { 'type' : 'H1' , 'charge' : 0.0440 } , ('MET' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0241 } , ('MET' , '3HE' ) : { 'type' : 'H1' , 'charge' : 0.0684 } , ('MET' , '3HG' ) : { 'type' : 'H1' , 'charge' : 0.0440 } , ('MET' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('MET' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0237 } , ('MET' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0342 } , ('MET' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0536 } , ('MET' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0018 } , ('MET' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('MET' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0880 } , ('MET' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('MET' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('MET' , 'SD' ) : { 'type' : 'S' , 'charge' : -0.2737 } , ('ASN' , '1HD2' ) : { 'type' : 'H' , 'charge' : 0.4196 } , ('ASN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0797 } , ('ASN' , '2HD2' ) : { 'type' : 'H' , 'charge' : 0.4196 } , ('ASN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0797 } , ('ASN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('ASN' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0143 } , ('ASN' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.2041 } , ('ASN' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.7130 } , ('ASN' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('ASN' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1048 } , ('ASN' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('ASN' , 'ND2' ) : { 'type' : 'N' , 'charge' : -0.9191 } , ('ASN' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('ASN' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.5931 } , ('PRO' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0253 } , ('PRO' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.0391 } , ('PRO' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0213 } , ('PRO' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0253 } , ('PRO' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.0391 } , ('PRO' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0213 } , ('PRO' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5896 } , ('PRO' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0266 } , ('PRO' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0070 } , ('PRO' , 'CD' ) : { 'type' : 'CT' , 'charge' : 0.0192 } , ('PRO' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0189 } , ('PRO' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0641 } , ('PRO' , 'N' ) : { 'type' : 'N' , 'charge' : -0.2548 } , ('PRO' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5748 } , ('GLN' , '1HE2' ) : { 'type' : 'H' , 'charge' : 0.4251 } , ('GLN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0171 } , ('GLN' , '2HE2' ) : { 'type' : 'H' , 'charge' : 0.4251 } , ('GLN' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0352 } , ('GLN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0171 } , ('GLN' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0352 } , ('GLN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('GLN' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0031 } , ('GLN' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0036 } , ('GLN' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.6951 } , ('GLN' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0645 } , ('GLN' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('GLN' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0850 } , ('GLN' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('GLN' , 'NE2' ) : { 'type' : 'N' , 'charge' : -0.9407 } , ('GLN' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('GLN' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.6086 } , ('ARG' , '1HH1' ) : { 'type' : 'H' , 'charge' : 0.4478 } , ('ARG' , '1HH2' ) : { 'type' : 'H' , 'charge' : 0.4478 } , ('ARG' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0327 } , ('ARG' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.0687 } , ('ARG' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0285 } , ('ARG' , '2HH1' ) : { 'type' : 'H' , 'charge' : 0.4478 } , ('ARG' , '2HH2' ) : { 'type' : 'H' , 'charge' : 0.4478 } , ('ARG' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0327 } , ('ARG' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.0687 } , ('ARG' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0285 } , ('ARG' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7341 } , ('ARG' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2637 } , ('ARG' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0007 } , ('ARG' , 'CD' ) : { 'type' : 'CT' , 'charge' : 0.0486 } , ('ARG' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0390 } , ('ARG' , 'CZ' ) : { 'type' : 'CA' , 'charge' : 0.8076 } , ('ARG' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2747 } , ('ARG' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1560 } , ('ARG' , 'HE' ) : { 'type' : 'H' , 'charge' : 0.3456 } , ('ARG' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3479 } , ('ARG' , 'NE' ) : { 'type' : 'N2' , 'charge' : -0.5295 } , ('ARG' , 'NH1' ) : { 'type' : 'N2' , 'charge' : -0.8627 } , ('ARG' , 'NH2' ) : { 'type' : 'N2' , 'charge' : -0.8627 } , ('ARG' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5894 } , ('SER' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.0352 } , ('SER' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.0352 } , ('SER' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('SER' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0249 } , ('SER' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.2117 } , ('SER' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('SER' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0843 } , ('SER' , 'HG' ) : { 'type' : 'HO' , 'charge' : 0.4275 } , ('SER' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('SER' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('SER' , 'OG' ) : { 'type' : 'OH' , 'charge' : -0.6546 } , ('THR' , '1HG' ) : { 'type' : 'HO' , 'charge' : 0.4102 } , ('THR' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0642 } , ('THR' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0642 } , ('THR' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0642 } , ('THR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('THR' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0389 } , ('THR' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.3654 } , ('THR' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.2438 } , ('THR' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('THR' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1007 } , ('THR' , 'HB' ) : { 'type' : 'H1' , 'charge' : 0.0043 } , ('THR' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('THR' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('THR' , 'OG1' ) : { 'type' : 'OH' , 'charge' : -0.6761 } , ('VAL' , '1HG1' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0791 } , ('VAL' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('VAL' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0875 } , ('VAL' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.2985 } , ('VAL' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.3192 } , ('VAL' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3192 } , ('VAL' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('VAL' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0969 } , ('VAL' , 'HB' ) : { 'type' : 'HC' , 'charge' : -0.0297 } , ('VAL' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('VAL' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('TRP' , '1HD' ) : { 'type' : 'H4' , 'charge' : 0.2062 } , ('TRP' , '1HE' ) : { 'type' : 'H' , 'charge' : 0.3412 } , ('TRP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0339 } , ('TRP' , '2HH' ) : { 'type' : 'HA' , 'charge' : 0.1417 } , ('TRP' , '2HZ' ) : { 'type' : 'HA' , 'charge' : 0.1572 } , ('TRP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0339 } , ('TRP' , '3HE' ) : { 'type' : 'HA' , 'charge' : 0.1700 } , ('TRP' , '3HZ' ) : { 'type' : 'HA' , 'charge' : 0.1447 } , ('TRP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('TRP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0275 } , ('TRP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0050 } , ('TRP' , 'CD1' ) : { 'type' : 'CW' , 'charge' : -0.1638 } , ('TRP' , 'CD2' ) : { 'type' : 'CB' , 'charge' : 0.1243 } , ('TRP' , 'CE2' ) : { 'type' : 'CN' , 'charge' : 0.1380 } , ('TRP' , 'CE3' ) : { 'type' : 'CA' , 'charge' : -0.2387 } , ('TRP' , 'CG' ) : { 'type' : 'C*' , 'charge' : -0.1415 } , ('TRP' , 'CH2' ) : { 'type' : 'CA' , 'charge' : -0.1134 } , ('TRP' , 'CZ2' ) : { 'type' : 'CA' , 'charge' : -0.2601 } , ('TRP' , 'CZ3' ) : { 'type' : 'CA' , 'charge' : -0.1972 } , ('TRP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('TRP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1123 } , ('TRP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('TRP' , 'NE1' ) : { 'type' : 'NA' , 'charge' : -0.3418 } , ('TRP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('TYR' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1699 } , ('TYR' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1656 } , ('TYR' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0295 } , ('TYR' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1699 } , ('TYR' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1656 } , ('TYR' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0295 } , ('TYR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5973 } , ('TYR' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0014 } , ('TYR' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0152 } , ('TYR' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.1906 } , ('TYR' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.1906 } , ('TYR' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.2341 } , ('TYR' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.2341 } , ('TYR' , 'CG' ) : { 'type' : 'CA' , 'charge' : -0.0011 } , ('TYR' , 'CZ' ) : { 'type' : 'C' , 'charge' : 0.3226 } , ('TYR' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('TYR' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0876 } , ('TYR' , 'HH' ) : { 'type' : 'HO' , 'charge' : 0.3992 } , ('TYR' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('TYR' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , ('TYR' , 'OH' ) : { 'type' : 'OH' , 'charge' : -0.5579 } , ('NME' , '1HH3' ) : { 'type' : 'H1' , 'charge' : 0.0976 } , ('NME' , '2HH3' ) : { 'type' : 'H1' , 'charge' : 0.0976 } , ('NME' , '3HH3' ) : { 'type' : 'H1' , 'charge' : 0.0976 } , ('NME' , 'CH3' ) : { 'type' : 'CT' , 'charge' : -0.1490 } , ('NME' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2719 } , ('NME' , 'N' ) : { 'type' : 'N' , 'charge' : -0.4157 } , ('ACE' , '1HH3' ) : { 'type' : 'HC' , 'charge' : 0.1123 } , ('ACE' , '2HH3' ) : { 'type' : 'HC' , 'charge' : 0.1123 } , ('ACE' , '3HH3' ) : { 'type' : 'HC' , 'charge' : 0.1123 } , ('ACE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5972 } , ('ACE' , 'CH3' ) : { 'type' : 'CT' , 'charge' : -0.3662 } , ('ACE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5679 } , } n_terminal = { ('ALA' , '1HB' ) : { 'type' : 'HC' , 'charge' : 0.0300 } , ('ALA' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1997 } , ('ALA' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0300 } , ('ALA' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1997 } , ('ALA' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0300 } , ('ALA' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1997 } , ('ALA' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('ALA' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0962 } , ('ALA' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0597 } , ('ALA' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0889 } , ('ALA' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1414 } , ('ALA' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('CYS' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2023 } , ('CYS' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.1188 } , ('CYS' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2023 } , ('CYS' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.1188 } , ('CYS' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2023 } , ('CYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('CYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0927 } , ('CYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1195 } , ('CYS' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1411 } , ('CYS' , 'HG' ) : { 'type' : 'HS' , 'charge' : 0.1975 } , ('CYS' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1325 } , ('CYS' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('CYS' , 'SG' ) : { 'type' : 'SH' , 'charge' : -0.3298 } , ('CYX' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1815 } , ('CYX' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.0680 } , ('CYX' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1815 } , ('CYX' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.0680 } , ('CYX' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1815 } , ('CYX' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('CYX' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.1055 } , ('CYX' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0277 } , ('CYX' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0922 } , ('CYX' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.2069 } , ('CYX' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('CYX' , 'SG' ) : { 'type' : 'S' , 'charge' : -0.0984 } , ('ASP' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASP' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0169 } , ('ASP' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASP' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0169 } , ('ASP' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5621 } , ('ASP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0292 } , ('ASP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0235 } , ('ASP' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.8194 } , ('ASP' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1141 } , ('ASP' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0782 } , ('ASP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5889 } , ('ASP' , 'OD1' ) : { 'type' : 'O2' , 'charge' : -0.8084 } , ('ASP' , 'OD2' ) : { 'type' : 'O2' , 'charge' : -0.8084 } , ('ASH' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASH' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0169 } , ('ASH' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASH' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0169 } , ('ASH' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2200 } , ('ASH' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5621 } , ('ASH' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0292 } , ('ASH' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0235 } , ('ASH' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.8194 } , ('ASH' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1141 } , ('ASH' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0782 } , ('ASH' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5889 } , ('ASH' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.8084 } , ('ASH' , 'OD2' ) : { 'type' : 'OH' , 'charge' : -0.8084 } , ('GLU' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLU' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0232 } , ('GLU' , '2HG' ) : { 'type' : 'HC' , 'charge' : -0.0315 } , ('GLU' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLU' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0232 } , ('GLU' , '3HG' ) : { 'type' : 'HC' , 'charge' : -0.0315 } , ('GLU' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5621 } , ('GLU' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0588 } , ('GLU' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0909 } , ('GLU' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.8087 } , ('GLU' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0236 } , ('GLU' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1202 } , ('GLU' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0017 } , ('GLU' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5889 } , ('GLU' , 'OE1' ) : { 'type' : 'O2' , 'charge' : -0.8189 } , ('GLU' , 'OE2' ) : { 'type' : 'O2' , 'charge' : -0.8189 } , ('GLP' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLP' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0232 } , ('GLP' , '2HG' ) : { 'type' : 'HC' , 'charge' : -0.0315 } , ('GLP' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLP' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0232 } , ('GLP' , '3HG' ) : { 'type' : 'HC' , 'charge' : -0.0315 } , ('GLP' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2391 } , ('GLP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5621 } , ('GLP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0588 } , ('GLP' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0909 } , ('GLP' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.8087 } , ('GLP' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0236 } , ('GLP' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1202 } , ('GLP' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0017 } , ('GLP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5889 } , ('GLP' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.8189 } , ('GLP' , 'OE2' ) : { 'type' : 'OH' , 'charge' : -0.8189 } , ('PHE' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1374 } , ('PHE' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1433 } , ('PHE' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('PHE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0104 } , ('PHE' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1374 } , ('PHE' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1433 } , ('PHE' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('PHE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0104 } , ('PHE' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('PHE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('PHE' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0733 } , ('PHE' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0330 } , ('PHE' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.1392 } , ('PHE' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.1391 } , ('PHE' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.1602 } , ('PHE' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.1603 } , ('PHE' , 'CG' ) : { 'type' : 'CA' , 'charge' : 0.0031 } , ('PHE' , 'CZ' ) : { 'type' : 'CA' , 'charge' : -0.1208 } , ('PHE' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1041 } , ('PHE' , 'HZ' ) : { 'type' : 'HA' , 'charge' : 0.1329 } , ('PHE' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1737 } , ('PHE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('GLY' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1642 } , ('GLY' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1642 } , ('GLY' , '3HA' ) : { 'type' : 'H1' , 'charge' : 0.0895 } , ('GLY' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1642 } , ('GLY' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('GLY' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0100 } , ('GLY' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0895 } , ('GLY' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.2943 } , ('GLY' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('HIP' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3821 } , ('HIP' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.2645 } , ('HIP' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1704 } , ('HIP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0531 } , ('HIP' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.2495 } , ('HIP' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3921 } , ('HIP' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1704 } , ('HIP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0531 } , ('HIP' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1704 } , ('HIP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7214 } , ('HIP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0581 } , ('HIP' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0484 } , ('HIP' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.1433 } , ('HIP' , 'CE1' ) : { 'type' : 'CR' , 'charge' : -0.0011 } , ('HIP' , 'CG' ) : { 'type' : 'CC' , 'charge' : -0.0236 } , ('HIP' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1047 } , ('HIP' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.2560 } , ('HIP' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.1510 } , ('HIP' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.1739 } , ('HIP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.6013 } , ('HIE' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1397 } , ('HIE' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2016 } , ('HIE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0223 } , ('HIE' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1963 } , ('HIE' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3324 } , ('HIE' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2016 } , ('HIE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0223 } , ('HIE' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2016 } , ('HIE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('HIE' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0236 } , ('HIE' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0489 } , ('HIE' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.2349 } , ('HIE' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.1804 } , ('HIE' , 'CG' ) : { 'type' : 'CC' , 'charge' : 0.1740 } , ('HIE' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1380 } , ('HIE' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1472 } , ('HIE' , 'ND1' ) : { 'type' : 'NB' , 'charge' : -0.5579 } , ('HIE' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.2781 } , ('HIE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('HID' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3632 } , ('HID' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1385 } , ('HID' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1963 } , ('HID' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0209 } , ('HID' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1299 } , ('HID' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1963 } , ('HID' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0209 } , ('HID' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1963 } , ('HID' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('HID' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0964 } , ('HID' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0259 } , ('HID' , 'CD2' ) : { 'type' : 'CV' , 'charge' : 0.1046 } , ('HID' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.2127 } , ('HID' , 'CG' ) : { 'type' : 'CC' , 'charge' : -0.0399 } , ('HID' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0958 } , ('HID' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1542 } , ('HID' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.3819 } , ('HID' , 'NE2' ) : { 'type' : 'NB' , 'charge' : -0.5711 } , ('HID' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('ILE' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.0226 } , ('ILE' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0947 } , ('ILE' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2329 } , ('ILE' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.0226 } , ('ILE' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0201 } , ('ILE' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0947 } , ('ILE' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2329 } , ('ILE' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.0226 } , ('ILE' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0201 } , ('ILE' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0947 } , ('ILE' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2329 } , ('ILE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('ILE' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0257 } , ('ILE' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.1885 } , ('ILE' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.0908 } , ('ILE' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.0387 } , ('ILE' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3720 } , ('ILE' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1031 } , ('ILE' , 'HB' ) : { 'type' : 'HC' , 'charge' : 0.0213 } , ('ILE' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0311 } , ('ILE' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('LYS' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2165 } , ('LYS' , '1HZ' ) : { 'type' : 'H' , 'charge' : 0.3382 } , ('LYS' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0283 } , ('LYS' , '2HD' ) : { 'type' : 'HC' , 'charge' : 0.0633 } , ('LYS' , '2HE' ) : { 'type' : 'HP' , 'charge' : 0.1171 } , ('LYS' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0121 } , ('LYS' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2165 } , ('LYS' , '2HZ' ) : { 'type' : 'H' , 'charge' : 0.3382 } , ('LYS' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0283 } , ('LYS' , '3HD' ) : { 'type' : 'HC' , 'charge' : 0.0633 } , ('LYS' , '3HE' ) : { 'type' : 'HP' , 'charge' : 0.1171 } , ('LYS' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0121 } , ('LYS' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2165 } , ('LYS' , '3HZ' ) : { 'type' : 'H' , 'charge' : 0.3382 } , ('LYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7214 } , ('LYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0015 } , ('LYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0212 } , ('LYS' , 'CD' ) : { 'type' : 'CT' , 'charge' : -0.0608 } , ('LYS' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0181 } , ('LYS' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0048 } , ('LYS' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1180 } , ('LYS' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0966 } , ('LYS' , 'NZ' ) : { 'type' : 'N3' , 'charge' : -0.3764 } , ('LYS' , 'O' ) : { 'type' : 'O' , 'charge' : -0.6013 } , ('LEU' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '1HD2' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2148 } , ('LEU' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0256 } , ('LEU' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '2HD2' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2148 } , ('LEU' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0256 } , ('LEU' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '3HD2' ) : { 'type' : 'HC' , 'charge' : 0.0980 } , ('LEU' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2148 } , ('LEU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('LEU' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0104 } , ('LEU' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0244 } , ('LEU' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.4106 } , ('LEU' , 'CD2' ) : { 'type' : 'CT' , 'charge' : -0.4104 } , ('LEU' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.3421 } , ('LEU' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1053 } , ('LEU' , 'HG' ) : { 'type' : 'HC' , 'charge' : -0.0380 } , ('LEU' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1010 } , ('LEU' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('MET' , '1HE' ) : { 'type' : 'H1' , 'charge' : 0.0597 } , ('MET' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1984 } , ('MET' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0125 } , ('MET' , '2HE' ) : { 'type' : 'H1' , 'charge' : 0.0597 } , ('MET' , '2HG' ) : { 'type' : 'H1' , 'charge' : 0.0292 } , ('MET' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1984 } , ('MET' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0125 } , ('MET' , '3HE' ) : { 'type' : 'H1' , 'charge' : 0.0597 } , ('MET' , '3HG' ) : { 'type' : 'H1' , 'charge' : 0.0292 } , ('MET' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1984 } , ('MET' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('MET' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0221 } , ('MET' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0865 } , ('MET' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0341 } , ('MET' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0334 } , ('MET' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1116 } , ('MET' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1592 } , ('MET' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('MET' , 'SD' ) : { 'type' : 'S' , 'charge' : -0.2774 } , ('ASN' , '1HD2' ) : { 'type' : 'H' , 'charge' : 0.4097 } , ('ASN' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('ASN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0515 } , ('ASN' , '2HD2' ) : { 'type' : 'H' , 'charge' : 0.4097 } , ('ASN' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('ASN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0515 } , ('ASN' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1921 } , ('ASN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('ASN' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0368 } , ('ASN' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0283 } , ('ASN' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.5833 } , ('ASN' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1231 } , ('ASN' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1801 } , ('ASN' , 'ND2' ) : { 'type' : 'N' , 'charge' : -0.8634 } , ('ASN' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('ASN' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.5744 } , ('PRO' , '2H' ) : { 'type' : 'H' , 'charge' : 0.3120 } , ('PRO' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('PRO' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.1000 } , ('PRO' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('PRO' , '3H' ) : { 'type' : 'H' , 'charge' : 0.3120 } , ('PRO' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('PRO' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.1000 } , ('PRO' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.1000 } , ('PRO' , 'C' ) : { 'type' : 'C' , 'charge' : 0.5260 } , ('PRO' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.1000 } , ('PRO' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1150 } , ('PRO' , 'CD' ) : { 'type' : 'CT' , 'charge' : -0.0120 } , ('PRO' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.1210 } , ('PRO' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1000 } , ('PRO' , 'N' ) : { 'type' : 'N3' , 'charge' : -0.2020 } , ('PRO' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5000 } , ('GLN' , '1HE2' ) : { 'type' : 'H' , 'charge' : 0.4429 } , ('GLN' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1996 } , ('GLN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0050 } , ('GLN' , '2HE2' ) : { 'type' : 'H' , 'charge' : 0.4429 } , ('GLN' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0331 } , ('GLN' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1996 } , ('GLN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0050 } , ('GLN' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0331 } , ('GLN' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1996 } , ('GLN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('GLN' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0536 } , ('GLN' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0651 } , ('GLN' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.7354 } , ('GLN' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0903 } , ('GLN' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1015 } , ('GLN' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1493 } , ('GLN' , 'NE2' ) : { 'type' : 'N' , 'charge' : -1.0031 } , ('GLN' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('GLN' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.6133 } , ('ARG' , '1HH1' ) : { 'type' : 'H' , 'charge' : 0.4494 } , ('ARG' , '1HH2' ) : { 'type' : 'H' , 'charge' : 0.4494 } , ('ARG' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2083 } , ('ARG' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0226 } , ('ARG' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.0527 } , ('ARG' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0309 } , ('ARG' , '2HH1' ) : { 'type' : 'H' , 'charge' : 0.4494 } , ('ARG' , '2HH2' ) : { 'type' : 'H' , 'charge' : 0.4494 } , ('ARG' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2083 } , ('ARG' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0226 } , ('ARG' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.0527 } , ('ARG' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0309 } , ('ARG' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2083 } , ('ARG' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7214 } , ('ARG' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0223 } , ('ARG' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0118 } , ('ARG' , 'CD' ) : { 'type' : 'CT' , 'charge' : 0.0935 } , ('ARG' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0236 } , ('ARG' , 'CZ' ) : { 'type' : 'CA' , 'charge' : 0.8281 } , ('ARG' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1242 } , ('ARG' , 'HE' ) : { 'type' : 'H' , 'charge' : 0.3592 } , ('ARG' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1305 } , ('ARG' , 'NE' ) : { 'type' : 'N2' , 'charge' : -0.5650 } , ('ARG' , 'NH1' ) : { 'type' : 'N2' , 'charge' : -0.8693 } , ('ARG' , 'NH2' ) : { 'type' : 'N2' , 'charge' : -0.8693 } , ('ARG' , 'O' ) : { 'type' : 'O' , 'charge' : -0.6013 } , ('SER' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1898 } , ('SER' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.0273 } , ('SER' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1898 } , ('SER' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.0273 } , ('SER' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1898 } , ('SER' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('SER' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0567 } , ('SER' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.2596 } , ('SER' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0782 } , ('SER' , 'HG' ) : { 'type' : 'HO' , 'charge' : 0.4239 } , ('SER' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1849 } , ('SER' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('SER' , 'OG' ) : { 'type' : 'OH' , 'charge' : -0.6714 } , ('THR' , '1HG' ) : { 'type' : 'HO' , 'charge' : 0.4070 } , ('THR' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0627 } , ('THR' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1934 } , ('THR' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0627 } , ('THR' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1934 } , ('THR' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0627 } , ('THR' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1934 } , ('THR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('THR' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0034 } , ('THR' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.4514 } , ('THR' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.2554 } , ('THR' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1087 } , ('THR' , 'HB' ) : { 'type' : 'H1' , 'charge' : -0.0323 } , ('THR' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1812 } , ('THR' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('THR' , 'OG1' ) : { 'type' : 'OH' , 'charge' : -0.6764 } , ('VAL' , '1HG1' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.2272 } , ('VAL' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.2272 } , ('VAL' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0735 } , ('VAL' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.2272 } , ('VAL' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6163 } , ('VAL' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.0054 } , ('VAL' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.3196 } , ('VAL' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.3129 } , ('VAL' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3129 } , ('VAL' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1093 } , ('VAL' , 'HB' ) : { 'type' : 'HC' , 'charge' : -0.0221 } , ('VAL' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.0577 } , ('VAL' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5722 } , ('TRP' , '1HD' ) : { 'type' : 'H4' , 'charge' : 0.2195 } , ('TRP' , '1HE' ) : { 'type' : 'H' , 'charge' : 0.3412 } , ('TRP' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1888 } , ('TRP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0222 } , ('TRP' , '2HH' ) : { 'type' : 'HA' , 'charge' : 0.1411 } , ('TRP' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1888 } , ('TRP' , '2HZ' ) : { 'type' : 'HA' , 'charge' : 0.1589 } , ('TRP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0222 } , ('TRP' , '3HE' ) : { 'type' : 'HA' , 'charge' : 0.1646 } , ('TRP' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1888 } , ('TRP' , '3HZ' ) : { 'type' : 'HA' , 'charge' : 0.1458 } , ('TRP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('TRP' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0421 } , ('TRP' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0543 } , ('TRP' , 'CD1' ) : { 'type' : 'CW' , 'charge' : -0.1788 } , ('TRP' , 'CD2' ) : { 'type' : 'CB' , 'charge' : 0.1132 } , ('TRP' , 'CE2' ) : { 'type' : 'CN' , 'charge' : 0.1575 } , ('TRP' , 'CE3' ) : { 'type' : 'CA' , 'charge' : -0.2265 } , ('TRP' , 'CG' ) : { 'type' : 'C*' , 'charge' : -0.1654 } , ('TRP' , 'CH2' ) : { 'type' : 'CA' , 'charge' : -0.1080 } , ('TRP' , 'CZ2' ) : { 'type' : 'CA' , 'charge' : -0.2710 } , ('TRP' , 'CZ3' ) : { 'type' : 'CA' , 'charge' : -0.2034 } , ('TRP' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.1162 } , ('TRP' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1913 } , ('TRP' , 'NE1' ) : { 'type' : 'NA' , 'charge' : -0.3444 } , ('TRP' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('TYR' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1720 } , ('TYR' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1650 } , ('TYR' , '1HT' ) : { 'type' : 'H' , 'charge' : 0.1873 } , ('TYR' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0102 } , ('TYR' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1720 } , ('TYR' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1650 } , ('TYR' , '2HT' ) : { 'type' : 'H' , 'charge' : 0.1873 } , ('TYR' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0102 } , ('TYR' , '3HT' ) : { 'type' : 'H' , 'charge' : 0.1873 } , ('TYR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6123 } , ('TYR' , 'CA' ) : { 'type' : 'CT' , 'charge' : 0.0570 } , ('TYR' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0659 } , ('TYR' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.2002 } , ('TYR' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.2002 } , ('TYR' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.2239 } , ('TYR' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.2239 } , ('TYR' , 'CG' ) : { 'type' : 'CA' , 'charge' : -0.0205 } , ('TYR' , 'CZ' ) : { 'type' : 'C' , 'charge' : 0.3139 } , ('TYR' , 'HA' ) : { 'type' : 'HP' , 'charge' : 0.0983 } , ('TYR' , 'HH' ) : { 'type' : 'HO' , 'charge' : 0.4001 } , ('TYR' , 'N' ) : { 'type' : 'N3' , 'charge' : 0.1940 } , ('TYR' , 'O' ) : { 'type' : 'O' , 'charge' : -0.5713 } , ('TYR' , 'OH' ) : { 'type' : 'OH' , 'charge' : -0.5578 } , } c_terminal = { ('ALA' , '1HB' ) : { 'type' : 'HC' , 'charge' : 0.0764 } , ('ALA' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0764 } , ('ALA' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0764 } , ('ALA' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7731 } , ('ALA' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1747 } , ('ALA' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.2093 } , ('ALA' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('ALA' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1067 } , ('ALA' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('ALA' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8055 } , ('ALA' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8055 } , ('CYS' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.1437 } , ('CYS' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.1437 } , ('CYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7497 } , ('CYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1635 } , ('CYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1996 } , ('CYS' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('CYS' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1396 } , ('CYS' , 'HG' ) : { 'type' : 'HS' , 'charge' : 0.2068 } , ('CYS' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('CYS' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7981 } , ('CYS' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7981 } , ('CYS' , 'SG' ) : { 'type' : 'SH' , 'charge' : -0.3102 } , ('CYX' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.1228 } , ('CYX' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.1228 } , ('CYX' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7618 } , ('CYX' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1318 } , ('CYX' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1943 } , ('CYX' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('CYX' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0938 } , ('CYX' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('CYX' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8041 } , ('CYX' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8041 } , ('CYX' , 'SG' ) : { 'type' : 'S' , 'charge' : -0.0529 } , ('ASP' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0212 } , ('ASP' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0212 } , ('ASP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7256 } , ('ASP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1817 } , ('ASP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0677 } , ('ASP' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.8851 } , ('ASP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.3055 } , ('ASP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1046 } , ('ASP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5192 } , ('ASP' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7887 } , ('ASP' , 'OD1' ) : { 'type' : 'O2' , 'charge' : -0.8162 } , ('ASP' , 'OD2' ) : { 'type' : 'O2' , 'charge' : -0.8162 } , ('ASP' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7887 } , ('ASH' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0212 } , ('ASH' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0212 } , ('ASH' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7256 } , ('ASH' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1817 } , ('ASH' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0677 } , ('ASH' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.8851 } , ('ASH' , 'H' ) : { 'type' : 'H' , 'charge' : 0.3055 } , ('ASH' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1046 } , ('ASH' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5192 } , ('ASH' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7887 } , ('ASH' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.8162 } , ('ASH' , 'OD2' ) : { 'type' : 'OH' , 'charge' : -0.8162 } , ('ASH' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7887 } , ('GLU' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0078 } , ('GLU' , '2HG' ) : { 'type' : 'HC' , 'charge' : -0.0548 } , ('GLU' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0078 } , ('GLU' , '3HG' ) : { 'type' : 'HC' , 'charge' : -0.0548 } , ('GLU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7420 } , ('GLU' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2059 } , ('GLU' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0071 } , ('GLU' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.8183 } , ('GLU' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0675 } , ('GLU' , 'H' ) : { 'type' : 'H' , 'charge' : 0.3055 } , ('GLU' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1399 } , ('GLU' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5192 } , ('GLU' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7930 } , ('GLU' , 'OE1' ) : { 'type' : 'O2' , 'charge' : -0.8220 } , ('GLU' , 'OE2' ) : { 'type' : 'O2' , 'charge' : -0.8220 } , ('GLU' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7930 } , ('GLP' , '2HB' ) : { 'type' : 'HC' , 'charge' : -0.0078 } , ('GLP' , '2HG' ) : { 'type' : 'HC' , 'charge' : -0.0548 } , ('GLP' , '3HB' ) : { 'type' : 'HC' , 'charge' : -0.0078 } , ('GLP' , '3HG' ) : { 'type' : 'HC' , 'charge' : -0.0548 } , ('GLP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7420 } , ('GLP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2059 } , ('GLP' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0071 } , ('GLP' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.8183 } , ('GLP' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0675 } , ('GLP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.3055 } , ('GLP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1399 } , ('GLP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.5192 } , ('GLP' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7930 } , ('GLP' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.8220 } , ('GLP' , 'OE2' ) : { 'type' : 'OH' , 'charge' : -0.8220 } , ('GLP' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7930 } , ('PHE' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1408 } , ('PHE' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1461 } , ('PHE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0443 } , ('PHE' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1408 } , ('PHE' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1461 } , ('PHE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0443 } , ('PHE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7660 } , ('PHE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1825 } , ('PHE' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0959 } , ('PHE' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.1300 } , ('PHE' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.1300 } , ('PHE' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.1847 } , ('PHE' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.1847 } , ('PHE' , 'CG' ) : { 'type' : 'CA' , 'charge' : 0.0552 } , ('PHE' , 'CZ' ) : { 'type' : 'CA' , 'charge' : -0.0944 } , ('PHE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('PHE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1098 } , ('PHE' , 'HZ' ) : { 'type' : 'HA' , 'charge' : 0.1280 } , ('PHE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('PHE' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8026 } , ('PHE' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8026 } , ('GLY' , '3HA' ) : { 'type' : 'H1' , 'charge' : 0.1056 } , ('GLY' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7231 } , ('GLY' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2493 } , ('GLY' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('GLY' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1056 } , ('GLY' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('GLY' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7855 } , ('GLY' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7855 } , ('HIP' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3883 } , ('HIP' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.2694 } , ('HIP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0868 } , ('HIP' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.2336 } , ('HIP' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3913 } , ('HIP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0868 } , ('HIP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8032 } , ('HIP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1445 } , ('HIP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0800 } , ('HIP' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.1256 } , ('HIP' , 'CE1' ) : { 'type' : 'CR' , 'charge' : -0.0251 } , ('HIP' , 'CG' ) : { 'type' : 'CC' , 'charge' : 0.0298 } , ('HIP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2764 } , ('HIP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1115 } , ('HIP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3481 } , ('HIP' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.1501 } , ('HIP' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.1683 } , ('HIP' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8177 } , ('HIP' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8177 } , ('HIE' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1448 } , ('HIE' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0620 } , ('HIE' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1957 } , ('HIE' , '2HE' ) : { 'type' : 'H' , 'charge' : 0.3319 } , ('HIE' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0620 } , ('HIE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7916 } , ('HIE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2699 } , ('HIE' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1068 } , ('HIE' , 'CD2' ) : { 'type' : 'CW' , 'charge' : -0.2588 } , ('HIE' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.1558 } , ('HIE' , 'CG' ) : { 'type' : 'CC' , 'charge' : 0.2724 } , ('HIE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('HIE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1650 } , ('HIE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('HIE' , 'ND1' ) : { 'type' : 'NB' , 'charge' : -0.5517 } , ('HIE' , 'NE2' ) : { 'type' : 'NA' , 'charge' : -0.2670 } , ('HIE' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8065 } , ('HIE' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8065 } , ('HID' , '1HD' ) : { 'type' : 'H' , 'charge' : 0.3755 } , ('HID' , '1HE' ) : { 'type' : 'H5' , 'charge' : 0.1418 } , ('HID' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0565 } , ('HID' , '2HD' ) : { 'type' : 'H4' , 'charge' : 0.1241 } , ('HID' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0565 } , ('HID' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7615 } , ('HID' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1739 } , ('HID' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.1046 } , ('HID' , 'CD2' ) : { 'type' : 'CV' , 'charge' : 0.1001 } , ('HID' , 'CE1' ) : { 'type' : 'CR' , 'charge' : 0.1925 } , ('HID' , 'CG' ) : { 'type' : 'CC' , 'charge' : 0.0293 } , ('HID' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('HID' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1100 } , ('HID' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('HID' , 'ND1' ) : { 'type' : 'NA' , 'charge' : -0.3892 } , ('HID' , 'NE2' ) : { 'type' : 'NB' , 'charge' : -0.5629 } , ('HID' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8016 } , ('HID' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8016 } , ('ILE' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.0196 } , ('ILE' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.1021 } , ('ILE' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.0196 } , ('ILE' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0321 } , ('ILE' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.1021 } , ('ILE' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.0196 } , ('ILE' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0321 } , ('ILE' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.1021 } , ('ILE' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8343 } , ('ILE' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.3100 } , ('ILE' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.0363 } , ('ILE' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.0699 } , ('ILE' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.0323 } , ('ILE' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3498 } , ('ILE' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('ILE' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1375 } , ('ILE' , 'HB' ) : { 'type' : 'HC' , 'charge' : 0.0766 } , ('ILE' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('ILE' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8190 } , ('ILE' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8190 } , ('LYS' , '1HZ' ) : { 'type' : 'H' , 'charge' : 0.3374 } , ('LYS' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0482 } , ('LYS' , '2HD' ) : { 'type' : 'HC' , 'charge' : 0.0611 } , ('LYS' , '2HE' ) : { 'type' : 'HP' , 'charge' : 0.1121 } , ('LYS' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0134 } , ('LYS' , '2HZ' ) : { 'type' : 'H' , 'charge' : 0.3374 } , ('LYS' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0482 } , ('LYS' , '3HD' ) : { 'type' : 'HC' , 'charge' : 0.0611 } , ('LYS' , '3HE' ) : { 'type' : 'HP' , 'charge' : 0.1121 } , ('LYS' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0134 } , ('LYS' , '3HZ' ) : { 'type' : 'H' , 'charge' : 0.3374 } , ('LYS' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8488 } , ('LYS' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2903 } , ('LYS' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0538 } , ('LYS' , 'CD' ) : { 'type' : 'CT' , 'charge' : -0.0392 } , ('LYS' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0176 } , ('LYS' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0227 } , ('LYS' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2764 } , ('LYS' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1438 } , ('LYS' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3481 } , ('LYS' , 'NZ' ) : { 'type' : 'N3' , 'charge' : -0.3741 } , ('LYS' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8252 } , ('LYS' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8252 } , ('LEU' , '1HD1' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , '1HD2' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0974 } , ('LEU' , '2HD1' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , '2HD2' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0974 } , ('LEU' , '3HD1' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , '3HD2' ) : { 'type' : 'HC' , 'charge' : 0.1038 } , ('LEU' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8326 } , ('LEU' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2847 } , ('LEU' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.2469 } , ('LEU' , 'CD1' ) : { 'type' : 'CT' , 'charge' : -0.4163 } , ('LEU' , 'CD2' ) : { 'type' : 'CT' , 'charge' : -0.4163 } , ('LEU' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.3706 } , ('LEU' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('LEU' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1346 } , ('LEU' , 'HG' ) : { 'type' : 'HC' , 'charge' : -0.0374 } , ('LEU' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('LEU' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8199 } , ('LEU' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8199 } , ('MET' , '1HE' ) : { 'type' : 'H1' , 'charge' : 0.0625 } , ('MET' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0480 } , ('MET' , '2HE' ) : { 'type' : 'H1' , 'charge' : 0.0625 } , ('MET' , '2HG' ) : { 'type' : 'H1' , 'charge' : 0.0317 } , ('MET' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0480 } , ('MET' , '3HE' ) : { 'type' : 'H1' , 'charge' : 0.0625 } , ('MET' , '3HG' ) : { 'type' : 'H1' , 'charge' : 0.0317 } , ('MET' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8013 } , ('MET' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2597 } , ('MET' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0236 } , ('MET' , 'CE' ) : { 'type' : 'CT' , 'charge' : -0.0376 } , ('MET' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0492 } , ('MET' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('MET' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1277 } , ('MET' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('MET' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8105 } , ('MET' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8105 } , ('MET' , 'SD' ) : { 'type' : 'S' , 'charge' : -0.2692 } , ('ASN' , '1HD2' ) : { 'type' : 'H' , 'charge' : 0.4150 } , ('ASN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.1023 } , ('ASN' , '2HD2' ) : { 'type' : 'H' , 'charge' : 0.4150 } , ('ASN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.1023 } , ('ASN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8050 } , ('ASN' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2080 } , ('ASN' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.2299 } , ('ASN' , 'CG' ) : { 'type' : 'C' , 'charge' : 0.7153 } , ('ASN' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('ASN' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1358 } , ('ASN' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('ASN' , 'ND2' ) : { 'type' : 'N' , 'charge' : -0.9084 } , ('ASN' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8147 } , ('ASN' , 'OD1' ) : { 'type' : 'O' , 'charge' : -0.6010 } , ('ASN' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8147 } , ('PRO' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0381 } , ('PRO' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.0331 } , ('PRO' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0172 } , ('PRO' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0381 } , ('PRO' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.0331 } , ('PRO' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0172 } , ('PRO' , 'C' ) : { 'type' : 'C' , 'charge' : 0.6631 } , ('PRO' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.1336 } , ('PRO' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0543 } , ('PRO' , 'CD' ) : { 'type' : 'CT' , 'charge' : 0.0434 } , ('PRO' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0466 } , ('PRO' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.0776 } , ('PRO' , 'N' ) : { 'type' : 'N' , 'charge' : -0.2802 } , ('PRO' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.7697 } , ('PRO' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.7697 } , ('GLN' , '1HE2' ) : { 'type' : 'H' , 'charge' : 0.4304 } , ('GLN' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0452 } , ('GLN' , '2HE2' ) : { 'type' : 'H' , 'charge' : 0.4304 } , ('GLN' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0203 } , ('GLN' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0452 } , ('GLN' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0203 } , ('GLN' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7775 } , ('GLN' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2248 } , ('GLN' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0664 } , ('GLN' , 'CD' ) : { 'type' : 'C' , 'charge' : 0.7093 } , ('GLN' , 'CG' ) : { 'type' : 'CT' , 'charge' : -0.0210 } , ('GLN' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('GLN' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1232 } , ('GLN' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('GLN' , 'NE2' ) : { 'type' : 'N' , 'charge' : -0.9574 } , ('GLN' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8042 } , ('GLN' , 'OE1' ) : { 'type' : 'O' , 'charge' : -0.6098 } , ('GLN' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8042 } , ('ARG' , '1HH1' ) : { 'type' : 'H' , 'charge' : 0.4493 } , ('ARG' , '1HH2' ) : { 'type' : 'H' , 'charge' : 0.4493 } , ('ARG' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0371 } , ('ARG' , '2HD' ) : { 'type' : 'H1' , 'charge' : 0.0468 } , ('ARG' , '2HG' ) : { 'type' : 'HC' , 'charge' : 0.0185 } , ('ARG' , '2HH1' ) : { 'type' : 'H' , 'charge' : 0.4493 } , ('ARG' , '2HH2' ) : { 'type' : 'H' , 'charge' : 0.4493 } , ('ARG' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0371 } , ('ARG' , '3HD' ) : { 'type' : 'H1' , 'charge' : 0.0468 } , ('ARG' , '3HG' ) : { 'type' : 'HC' , 'charge' : 0.0185 } , ('ARG' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8557 } , ('ARG' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.3068 } , ('ARG' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0374 } , ('ARG' , 'CD' ) : { 'type' : 'CT' , 'charge' : 0.1114 } , ('ARG' , 'CG' ) : { 'type' : 'CT' , 'charge' : 0.0744 } , ('ARG' , 'CZ' ) : { 'type' : 'CA' , 'charge' : 0.8368 } , ('ARG' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2764 } , ('ARG' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1447 } , ('ARG' , 'HE' ) : { 'type' : 'H' , 'charge' : 0.3479 } , ('ARG' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3481 } , ('ARG' , 'NE' ) : { 'type' : 'N2' , 'charge' : -0.5564 } , ('ARG' , 'NH1' ) : { 'type' : 'N2' , 'charge' : -0.8737 } , ('ARG' , 'NH2' ) : { 'type' : 'N2' , 'charge' : -0.8737 } , ('ARG' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8266 } , ('ARG' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8266 } , ('SER' , '2HB' ) : { 'type' : 'H1' , 'charge' : 0.0813 } , ('SER' , '3HB' ) : { 'type' : 'H1' , 'charge' : 0.0813 } , ('SER' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8113 } , ('SER' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2722 } , ('SER' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.1123 } , ('SER' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('SER' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1304 } , ('SER' , 'HG' ) : { 'type' : 'HO' , 'charge' : 0.4474 } , ('SER' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('SER' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8132 } , ('SER' , 'OG' ) : { 'type' : 'OH' , 'charge' : -0.6514 } , ('SER' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8132 } , ('THR' , '1HG' ) : { 'type' : 'HO' , 'charge' : 0.4119 } , ('THR' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0586 } , ('THR' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0586 } , ('THR' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0586 } , ('THR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7810 } , ('THR' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2420 } , ('THR' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.3025 } , ('THR' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.1853 } , ('THR' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('THR' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1207 } , ('THR' , 'HB' ) : { 'type' : 'H1' , 'charge' : 0.0078 } , ('THR' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('THR' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8044 } , ('THR' , 'OG1' ) : { 'type' : 'OH' , 'charge' : -0.6496 } , ('THR' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8044 } , ('VAL' , '1HG1' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , '1HG2' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , '2HG1' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , '2HG2' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , '3HG1' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , '3HG2' ) : { 'type' : 'HC' , 'charge' : 0.0836 } , ('VAL' , 'C' ) : { 'type' : 'C' , 'charge' : 0.8350 } , ('VAL' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.3438 } , ('VAL' , 'CB' ) : { 'type' : 'CT' , 'charge' : 0.1940 } , ('VAL' , 'CG1' ) : { 'type' : 'CT' , 'charge' : -0.3064 } , ('VAL' , 'CG2' ) : { 'type' : 'CT' , 'charge' : -0.3064 } , ('VAL' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('VAL' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1438 } , ('VAL' , 'HB' ) : { 'type' : 'HC' , 'charge' : 0.0308 } , ('VAL' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('VAL' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8173 } , ('VAL' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8173 } , ('TRP' , '1HD' ) : { 'type' : 'H4' , 'charge' : 0.2043 } , ('TRP' , '1HE' ) : { 'type' : 'H' , 'charge' : 0.3413 } , ('TRP' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0497 } , ('TRP' , '2HH' ) : { 'type' : 'HA' , 'charge' : 0.1401 } , ('TRP' , '2HZ' ) : { 'type' : 'HA' , 'charge' : 0.1567 } , ('TRP' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0497 } , ('TRP' , '3HE' ) : { 'type' : 'HA' , 'charge' : 0.1491 } , ('TRP' , '3HZ' ) : { 'type' : 'HA' , 'charge' : 0.1507 } , ('TRP' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7658 } , ('TRP' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2084 } , ('TRP' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0742 } , ('TRP' , 'CD1' ) : { 'type' : 'CW' , 'charge' : -0.1808 } , ('TRP' , 'CD2' ) : { 'type' : 'CB' , 'charge' : 0.1078 } , ('TRP' , 'CE2' ) : { 'type' : 'CN' , 'charge' : 0.1222 } , ('TRP' , 'CE3' ) : { 'type' : 'CA' , 'charge' : -0.1837 } , ('TRP' , 'CG' ) : { 'type' : 'C*' , 'charge' : -0.0796 } , ('TRP' , 'CH2' ) : { 'type' : 'CA' , 'charge' : -0.1020 } , ('TRP' , 'CZ2' ) : { 'type' : 'CA' , 'charge' : -0.2594 } , ('TRP' , 'CZ3' ) : { 'type' : 'CA' , 'charge' : -0.2287 } , ('TRP' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('TRP' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1272 } , ('TRP' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('TRP' , 'NE1' ) : { 'type' : 'NA' , 'charge' : -0.3316 } , ('TRP' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8011 } , ('TRP' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8011 } , ('TYR' , '1HD' ) : { 'type' : 'HA' , 'charge' : 0.1780 } , ('TYR' , '1HE' ) : { 'type' : 'HA' , 'charge' : 0.1673 } , ('TYR' , '2HB' ) : { 'type' : 'HC' , 'charge' : 0.0490 } , ('TYR' , '2HD' ) : { 'type' : 'HA' , 'charge' : 0.1780 } , ('TYR' , '2HE' ) : { 'type' : 'HA' , 'charge' : 0.1673 } , ('TYR' , '3HB' ) : { 'type' : 'HC' , 'charge' : 0.0490 } , ('TYR' , 'C' ) : { 'type' : 'C' , 'charge' : 0.7817 } , ('TYR' , 'CA' ) : { 'type' : 'CT' , 'charge' : -0.2015 } , ('TYR' , 'CB' ) : { 'type' : 'CT' , 'charge' : -0.0752 } , ('TYR' , 'CD1' ) : { 'type' : 'CA' , 'charge' : -0.1922 } , ('TYR' , 'CD2' ) : { 'type' : 'CA' , 'charge' : -0.1922 } , ('TYR' , 'CE1' ) : { 'type' : 'CA' , 'charge' : -0.2458 } , ('TYR' , 'CE2' ) : { 'type' : 'CA' , 'charge' : -0.2458 } , ('TYR' , 'CG' ) : { 'type' : 'CA' , 'charge' : 0.0243 } , ('TYR' , 'CZ' ) : { 'type' : 'C' , 'charge' : 0.3395 } , ('TYR' , 'H' ) : { 'type' : 'H' , 'charge' : 0.2681 } , ('TYR' , 'HA' ) : { 'type' : 'H1' , 'charge' : 0.1092 } , ('TYR' , 'HH' ) : { 'type' : 'HO' , 'charge' : 0.4017 } , ('TYR' , 'N' ) : { 'type' : 'N' , 'charge' : -0.3821 } , ('TYR' , 'O' ) : { 'type' : 'O2' , 'charge' : -0.8070 } , ('TYR' , 'OH' ) : { 'type' : 'OH' , 'charge' : -0.5643 } , ('TYR' , 'OXT' ) : { 'type' : 'O2' , 'charge' : -0.8070 } , }
normal = {('ALA', '1HB'): {'type': 'HC', 'charge': 0.0603}, ('ALA', '2HB'): {'type': 'HC', 'charge': 0.0603}, ('ALA', '3HB'): {'type': 'HC', 'charge': 0.0603}, ('ALA', 'C'): {'type': 'C', 'charge': 0.5973}, ('ALA', 'CA'): {'type': 'CT', 'charge': 0.0337}, ('ALA', 'CB'): {'type': 'CT', 'charge': -0.1825}, ('ALA', 'H'): {'type': 'H', 'charge': 0.2719}, ('ALA', 'HA'): {'type': 'H1', 'charge': 0.0823}, ('ALA', 'N'): {'type': 'N', 'charge': -0.4157}, ('ALA', 'O'): {'type': 'O', 'charge': -0.5679}, ('CYM', '2HB'): {'type': 'H1', 'charge': 0.244}, ('CYM', '3HB'): {'type': 'H1', 'charge': 0.244}, ('CYM', 'C'): {'type': 'C', 'charge': 0.616}, ('CYM', 'CA'): {'type': 'CT', 'charge': 0.035}, ('CYM', 'CB'): {'type': 'CT', 'charge': -0.736}, ('CYM', 'H'): {'type': 'H', 'charge': 0.252}, ('CYM', 'HA'): {'type': 'H1', 'charge': 0.048}, ('CYM', 'N'): {'type': 'N', 'charge': -0.463}, ('CYM', 'O'): {'type': 'O', 'charge': -0.504}, ('CYM', 'SG'): {'type': 'SH', 'charge': -0.736}, ('CYS', '2HB'): {'type': 'H1', 'charge': 0.1112}, ('CYS', '3HB'): {'type': 'H1', 'charge': 0.1112}, ('CYS', 'C'): {'type': 'C', 'charge': 0.5973}, ('CYS', 'CA'): {'type': 'CT', 'charge': 0.0213}, ('CYS', 'CB'): {'type': 'CT', 'charge': -0.1231}, ('CYS', 'H'): {'type': 'H', 'charge': 0.2719}, ('CYS', 'HA'): {'type': 'H1', 'charge': 0.1124}, ('CYS', 'HG'): {'type': 'HS', 'charge': 0.1933}, ('CYS', 'N'): {'type': 'N', 'charge': -0.4157}, ('CYS', 'O'): {'type': 'O', 'charge': -0.5679}, ('CYS', 'SG'): {'type': 'SH', 'charge': -0.3119}, ('CYX', '2HB'): {'type': 'H1', 'charge': 0.091}, ('CYX', '3HB'): {'type': 'H1', 'charge': 0.091}, ('CYX', 'C'): {'type': 'C', 'charge': 0.5973}, ('CYX', 'CA'): {'type': 'CT', 'charge': 0.0429}, ('CYX', 'CB'): {'type': 'CT', 'charge': -0.079}, ('CYX', 'H'): {'type': 'H', 'charge': 0.2719}, ('CYX', 'HA'): {'type': 'H1', 'charge': 0.0766}, ('CYX', 'N'): {'type': 'N', 'charge': -0.4157}, ('CYX', 'O'): {'type': 'O', 'charge': -0.5679}, ('CYX', 'SG'): {'type': 'S', 'charge': -0.1081}, ('ASP', '2HB'): {'type': 'HC', 'charge': -0.0122}, ('ASP', '3HB'): {'type': 'HC', 'charge': -0.0122}, ('ASP', 'C'): {'type': 'C', 'charge': 0.5366}, ('ASP', 'CA'): {'type': 'CT', 'charge': 0.0381}, ('ASP', 'CB'): {'type': 'CT', 'charge': -0.0303}, ('ASP', 'CG'): {'type': 'C', 'charge': 0.7994}, ('ASP', 'H'): {'type': 'H', 'charge': 0.2936}, ('ASP', 'HA'): {'type': 'H1', 'charge': 0.088}, ('ASP', 'N'): {'type': 'N', 'charge': -0.5163}, ('ASP', 'O'): {'type': 'O', 'charge': -0.5819}, ('ASP', 'OD1'): {'type': 'O2', 'charge': -0.8014}, ('ASP', 'OD2'): {'type': 'O2', 'charge': -0.8014}, ('ASH', '2HB'): {'type': 'HC', 'charge': 0.0488}, ('ASH', '3HB'): {'type': 'HC', 'charge': 0.0488}, ('ASH', 'C'): {'type': 'C', 'charge': 0.5973}, ('ASH', 'CA'): {'type': 'CT', 'charge': 0.0341}, ('ASH', 'CB'): {'type': 'CT', 'charge': -0.0316}, ('ASH', 'CG'): {'type': 'C', 'charge': 0.6462}, ('ASH', 'H'): {'type': 'H', 'charge': 0.2719}, ('ASH', 'HA'): {'type': 'H1', 'charge': 0.0864}, ('ASH', 'HD2'): {'type': 'HO', 'charge': 0.4747}, ('ASH', 'N'): {'type': 'N', 'charge': -0.4157}, ('ASH', 'O'): {'type': 'O', 'charge': -0.5679}, ('ASH', 'OD1'): {'type': 'O', 'charge': -0.5554}, ('ASH', 'OD2'): {'type': 'OH', 'charge': -0.6376}, ('GLU', '2HB'): {'type': 'HC', 'charge': -0.0173}, ('GLU', '2HG'): {'type': 'HC', 'charge': -0.0425}, ('GLU', '3HB'): {'type': 'HC', 'charge': -0.0173}, ('GLU', '3HG'): {'type': 'HC', 'charge': -0.0425}, ('GLU', 'C'): {'type': 'C', 'charge': 0.5366}, ('GLU', 'CA'): {'type': 'CT', 'charge': 0.0397}, ('GLU', 'CB'): {'type': 'CT', 'charge': 0.056}, ('GLU', 'CD'): {'type': 'C', 'charge': 0.8054}, ('GLU', 'CG'): {'type': 'CT', 'charge': 0.0136}, ('GLU', 'H'): {'type': 'H', 'charge': 0.2936}, ('GLU', 'HA'): {'type': 'H1', 'charge': 0.1105}, ('GLU', 'N'): {'type': 'N', 'charge': -0.5163}, ('GLU', 'O'): {'type': 'O', 'charge': -0.5819}, ('GLU', 'OE1'): {'type': 'O2', 'charge': -0.8188}, ('GLU', 'OE2'): {'type': 'O2', 'charge': -0.8188}, ('GLP', '2HB'): {'type': 'HC', 'charge': 0.0256}, ('GLP', '2HG'): {'type': 'HC', 'charge': 0.043}, ('GLP', '3HB'): {'type': 'HC', 'charge': 0.0256}, ('GLP', '3HG'): {'type': 'HC', 'charge': 0.043}, ('GLP', 'C'): {'type': 'C', 'charge': 0.5973}, ('GLP', 'CA'): {'type': 'CT', 'charge': 0.0145}, ('GLP', 'CB'): {'type': 'CT', 'charge': -0.0071}, ('GLP', 'CD'): {'type': 'C', 'charge': 0.6801}, ('GLP', 'CG'): {'type': 'CT', 'charge': -0.0174}, ('GLP', 'H'): {'type': 'H', 'charge': 0.2719}, ('GLP', 'HA'): {'type': 'H1', 'charge': 0.0779}, ('GLP', 'HE2'): {'type': 'HO', 'charge': 0.4641}, ('GLP', 'N'): {'type': 'N', 'charge': -0.4157}, ('GLP', 'O'): {'type': 'O', 'charge': -0.5679}, ('GLP', 'OE1'): {'type': 'O', 'charge': -0.5838}, ('GLP', 'OE2'): {'type': 'OH', 'charge': -0.6511}, ('PHE', '1HD'): {'type': 'HA', 'charge': 0.133}, ('PHE', '1HE'): {'type': 'HA', 'charge': 0.143}, ('PHE', '2HB'): {'type': 'HC', 'charge': 0.0295}, ('PHE', '2HD'): {'type': 'HA', 'charge': 0.133}, ('PHE', '2HE'): {'type': 'HA', 'charge': 0.143}, ('PHE', '3HB'): {'type': 'HC', 'charge': 0.0295}, ('PHE', 'C'): {'type': 'C', 'charge': 0.5973}, ('PHE', 'CA'): {'type': 'CT', 'charge': -0.0024}, ('PHE', 'CB'): {'type': 'CT', 'charge': -0.0343}, ('PHE', 'CD1'): {'type': 'CA', 'charge': -0.1256}, ('PHE', 'CD2'): {'type': 'CA', 'charge': -0.1256}, ('PHE', 'CE1'): {'type': 'CA', 'charge': -0.1704}, ('PHE', 'CE2'): {'type': 'CA', 'charge': -0.1704}, ('PHE', 'CG'): {'type': 'CA', 'charge': 0.0118}, ('PHE', 'CZ'): {'type': 'CA', 'charge': -0.1072}, ('PHE', 'H'): {'type': 'H', 'charge': 0.2719}, ('PHE', 'HA'): {'type': 'H1', 'charge': 0.0978}, ('PHE', 'HZ'): {'type': 'HA', 'charge': 0.1297}, ('PHE', 'N'): {'type': 'N', 'charge': -0.4157}, ('PHE', 'O'): {'type': 'O', 'charge': -0.5679}, ('GLY', '3HA'): {'type': 'H1', 'charge': 0.0698}, ('GLY', 'C'): {'type': 'C', 'charge': 0.5973}, ('GLY', 'CA'): {'type': 'CT', 'charge': -0.0252}, ('GLY', 'H'): {'type': 'H', 'charge': 0.2719}, ('GLY', 'HA'): {'type': 'H1', 'charge': 0.0698}, ('GLY', 'N'): {'type': 'N', 'charge': -0.4157}, ('GLY', 'O'): {'type': 'O', 'charge': -0.5679}, ('HIP', '1HD'): {'type': 'H', 'charge': 0.3866}, ('HIP', '1HE'): {'type': 'H5', 'charge': 0.2681}, ('HIP', '2HB'): {'type': 'HC', 'charge': 0.081}, ('HIP', '2HD'): {'type': 'H4', 'charge': 0.2317}, ('HIP', '2HE'): {'type': 'H', 'charge': 0.3911}, ('HIP', '3HB'): {'type': 'HC', 'charge': 0.081}, ('HIP', 'C'): {'type': 'C', 'charge': 0.7341}, ('HIP', 'CA'): {'type': 'CT', 'charge': -0.1354}, ('HIP', 'CB'): {'type': 'CT', 'charge': -0.0414}, ('HIP', 'CD2'): {'type': 'CW', 'charge': -0.1141}, ('HIP', 'CE1'): {'type': 'CR', 'charge': -0.017}, ('HIP', 'CG'): {'type': 'CC', 'charge': -0.0012}, ('HIP', 'H'): {'type': 'H', 'charge': 0.2747}, ('HIP', 'HA'): {'type': 'H1', 'charge': 0.1212}, ('HIP', 'N'): {'type': 'N', 'charge': -0.3479}, ('HIP', 'ND1'): {'type': 'NA', 'charge': -0.1513}, ('HIP', 'NE2'): {'type': 'NA', 'charge': -0.1718}, ('HIP', 'O'): {'type': 'O', 'charge': -0.5894}, ('HIE', '1HE'): {'type': 'H5', 'charge': 0.1435}, ('HIE', '2HB'): {'type': 'HC', 'charge': 0.0367}, ('HIE', '2HD'): {'type': 'H4', 'charge': 0.1862}, ('HIE', '2HE'): {'type': 'H', 'charge': 0.3339}, ('HIE', '3HB'): {'type': 'HC', 'charge': 0.0367}, ('HIE', 'C'): {'type': 'C', 'charge': 0.5973}, ('HIE', 'CA'): {'type': 'CT', 'charge': -0.0581}, ('HIE', 'CB'): {'type': 'CT', 'charge': -0.0074}, ('HIE', 'CD2'): {'type': 'CW', 'charge': -0.2207}, ('HIE', 'CE1'): {'type': 'CR', 'charge': 0.1635}, ('HIE', 'CG'): {'type': 'CC', 'charge': 0.1868}, ('HIE', 'H'): {'type': 'H', 'charge': 0.2719}, ('HIE', 'HA'): {'type': 'H1', 'charge': 0.136}, ('HIE', 'N'): {'type': 'N', 'charge': -0.4157}, ('HIE', 'ND1'): {'type': 'NB', 'charge': -0.5432}, ('HIE', 'NE2'): {'type': 'NA', 'charge': -0.2795}, ('HIE', 'O'): {'type': 'O', 'charge': -0.5679}, ('HID', '1HD'): {'type': 'H', 'charge': 0.3649}, ('HID', '1HE'): {'type': 'H5', 'charge': 0.1392}, ('HID', '2HB'): {'type': 'HC', 'charge': 0.0402}, ('HID', '2HD'): {'type': 'H4', 'charge': 0.1147}, ('HID', '3HB'): {'type': 'HC', 'charge': 0.0402}, ('HID', 'C'): {'type': 'C', 'charge': 0.5973}, ('HID', 'CA'): {'type': 'CT', 'charge': 0.0188}, ('HID', 'CB'): {'type': 'CT', 'charge': -0.0462}, ('HID', 'CD2'): {'type': 'CV', 'charge': 0.1292}, ('HID', 'CE1'): {'type': 'CR', 'charge': 0.2057}, ('HID', 'CG'): {'type': 'CC', 'charge': -0.0266}, ('HID', 'H'): {'type': 'H', 'charge': 0.2719}, ('HID', 'HA'): {'type': 'H1', 'charge': 0.0881}, ('HID', 'N'): {'type': 'N', 'charge': -0.4157}, ('HID', 'ND1'): {'type': 'NA', 'charge': -0.3811}, ('HID', 'NE2'): {'type': 'NB', 'charge': -0.5727}, ('HID', 'O'): {'type': 'O', 'charge': -0.5679}, ('ILE', '1HD1'): {'type': 'HC', 'charge': 0.0186}, ('ILE', '1HG2'): {'type': 'HC', 'charge': 0.0882}, ('ILE', '2HD1'): {'type': 'HC', 'charge': 0.0186}, ('ILE', '2HG1'): {'type': 'HC', 'charge': 0.0236}, ('ILE', '2HG2'): {'type': 'HC', 'charge': 0.0882}, ('ILE', '3HD1'): {'type': 'HC', 'charge': 0.0186}, ('ILE', '3HG1'): {'type': 'HC', 'charge': 0.0236}, ('ILE', '3HG2'): {'type': 'HC', 'charge': 0.0882}, ('ILE', 'C'): {'type': 'C', 'charge': 0.5973}, ('ILE', 'CA'): {'type': 'CT', 'charge': -0.0597}, ('ILE', 'CB'): {'type': 'CT', 'charge': 0.1303}, ('ILE', 'CD1'): {'type': 'CT', 'charge': -0.066}, ('ILE', 'CG1'): {'type': 'CT', 'charge': -0.043}, ('ILE', 'CG2'): {'type': 'CT', 'charge': -0.3204}, ('ILE', 'H'): {'type': 'H', 'charge': 0.2719}, ('ILE', 'HA'): {'type': 'H1', 'charge': 0.0869}, ('ILE', 'HB'): {'type': 'HC', 'charge': 0.0187}, ('ILE', 'N'): {'type': 'N', 'charge': -0.4157}, ('ILE', 'O'): {'type': 'O', 'charge': -0.5679}, ('LYS', '1HZ'): {'type': 'H', 'charge': 0.34}, ('LYS', '2HB'): {'type': 'HC', 'charge': 0.0362}, ('LYS', '2HD'): {'type': 'HC', 'charge': 0.0621}, ('LYS', '2HE'): {'type': 'HP', 'charge': 0.1135}, ('LYS', '2HG'): {'type': 'HC', 'charge': 0.0103}, ('LYS', '2HZ'): {'type': 'H', 'charge': 0.34}, ('LYS', '3HB'): {'type': 'HC', 'charge': 0.0362}, ('LYS', '3HD'): {'type': 'HC', 'charge': 0.0621}, ('LYS', '3HE'): {'type': 'HP', 'charge': 0.1135}, ('LYS', '3HG'): {'type': 'HC', 'charge': 0.0103}, ('LYS', '3HZ'): {'type': 'H', 'charge': 0.34}, ('LYS', 'C'): {'type': 'C', 'charge': 0.7341}, ('LYS', 'CA'): {'type': 'CT', 'charge': -0.24}, ('LYS', 'CB'): {'type': 'CT', 'charge': -0.0094}, ('LYS', 'CD'): {'type': 'CT', 'charge': -0.0479}, ('LYS', 'CE'): {'type': 'CT', 'charge': -0.0143}, ('LYS', 'CG'): {'type': 'CT', 'charge': 0.0187}, ('LYS', 'H'): {'type': 'H', 'charge': 0.2747}, ('LYS', 'HA'): {'type': 'H1', 'charge': 0.1426}, ('LYS', 'N'): {'type': 'N', 'charge': -0.3479}, ('LYS', 'NZ'): {'type': 'N3', 'charge': -0.3854}, ('LYS', 'O'): {'type': 'O', 'charge': -0.5894}, ('LEU', '1HD1'): {'type': 'HC', 'charge': 0.1}, ('LEU', '1HD2'): {'type': 'HC', 'charge': 0.1}, ('LEU', '2HB'): {'type': 'HC', 'charge': 0.0457}, ('LEU', '2HD1'): {'type': 'HC', 'charge': 0.1}, ('LEU', '2HD2'): {'type': 'HC', 'charge': 0.1}, ('LEU', '3HB'): {'type': 'HC', 'charge': 0.0457}, ('LEU', '3HD1'): {'type': 'HC', 'charge': 0.1}, ('LEU', '3HD2'): {'type': 'HC', 'charge': 0.1}, ('LEU', 'C'): {'type': 'C', 'charge': 0.5973}, ('LEU', 'CA'): {'type': 'CT', 'charge': -0.0518}, ('LEU', 'CB'): {'type': 'CT', 'charge': -0.1102}, ('LEU', 'CD1'): {'type': 'CT', 'charge': -0.4121}, ('LEU', 'CD2'): {'type': 'CT', 'charge': -0.4121}, ('LEU', 'CG'): {'type': 'CT', 'charge': 0.3531}, ('LEU', 'H'): {'type': 'H', 'charge': 0.2719}, ('LEU', 'HA'): {'type': 'H1', 'charge': 0.0922}, ('LEU', 'HG'): {'type': 'HC', 'charge': -0.0361}, ('LEU', 'N'): {'type': 'N', 'charge': -0.4157}, ('LEU', 'O'): {'type': 'O', 'charge': -0.5679}, ('MET', '1HE'): {'type': 'H1', 'charge': 0.0684}, ('MET', '2HB'): {'type': 'HC', 'charge': 0.0241}, ('MET', '2HE'): {'type': 'H1', 'charge': 0.0684}, ('MET', '2HG'): {'type': 'H1', 'charge': 0.044}, ('MET', '3HB'): {'type': 'HC', 'charge': 0.0241}, ('MET', '3HE'): {'type': 'H1', 'charge': 0.0684}, ('MET', '3HG'): {'type': 'H1', 'charge': 0.044}, ('MET', 'C'): {'type': 'C', 'charge': 0.5973}, ('MET', 'CA'): {'type': 'CT', 'charge': -0.0237}, ('MET', 'CB'): {'type': 'CT', 'charge': 0.0342}, ('MET', 'CE'): {'type': 'CT', 'charge': -0.0536}, ('MET', 'CG'): {'type': 'CT', 'charge': 0.0018}, ('MET', 'H'): {'type': 'H', 'charge': 0.2719}, ('MET', 'HA'): {'type': 'H1', 'charge': 0.088}, ('MET', 'N'): {'type': 'N', 'charge': -0.4157}, ('MET', 'O'): {'type': 'O', 'charge': -0.5679}, ('MET', 'SD'): {'type': 'S', 'charge': -0.2737}, ('ASN', '1HD2'): {'type': 'H', 'charge': 0.4196}, ('ASN', '2HB'): {'type': 'HC', 'charge': 0.0797}, ('ASN', '2HD2'): {'type': 'H', 'charge': 0.4196}, ('ASN', '3HB'): {'type': 'HC', 'charge': 0.0797}, ('ASN', 'C'): {'type': 'C', 'charge': 0.5973}, ('ASN', 'CA'): {'type': 'CT', 'charge': 0.0143}, ('ASN', 'CB'): {'type': 'CT', 'charge': -0.2041}, ('ASN', 'CG'): {'type': 'C', 'charge': 0.713}, ('ASN', 'H'): {'type': 'H', 'charge': 0.2719}, ('ASN', 'HA'): {'type': 'H1', 'charge': 0.1048}, ('ASN', 'N'): {'type': 'N', 'charge': -0.4157}, ('ASN', 'ND2'): {'type': 'N', 'charge': -0.9191}, ('ASN', 'O'): {'type': 'O', 'charge': -0.5679}, ('ASN', 'OD1'): {'type': 'O', 'charge': -0.5931}, ('PRO', '2HB'): {'type': 'HC', 'charge': 0.0253}, ('PRO', '2HD'): {'type': 'H1', 'charge': 0.0391}, ('PRO', '2HG'): {'type': 'HC', 'charge': 0.0213}, ('PRO', '3HB'): {'type': 'HC', 'charge': 0.0253}, ('PRO', '3HD'): {'type': 'H1', 'charge': 0.0391}, ('PRO', '3HG'): {'type': 'HC', 'charge': 0.0213}, ('PRO', 'C'): {'type': 'C', 'charge': 0.5896}, ('PRO', 'CA'): {'type': 'CT', 'charge': -0.0266}, ('PRO', 'CB'): {'type': 'CT', 'charge': -0.007}, ('PRO', 'CD'): {'type': 'CT', 'charge': 0.0192}, ('PRO', 'CG'): {'type': 'CT', 'charge': 0.0189}, ('PRO', 'HA'): {'type': 'H1', 'charge': 0.0641}, ('PRO', 'N'): {'type': 'N', 'charge': -0.2548}, ('PRO', 'O'): {'type': 'O', 'charge': -0.5748}, ('GLN', '1HE2'): {'type': 'H', 'charge': 0.4251}, ('GLN', '2HB'): {'type': 'HC', 'charge': 0.0171}, ('GLN', '2HE2'): {'type': 'H', 'charge': 0.4251}, ('GLN', '2HG'): {'type': 'HC', 'charge': 0.0352}, ('GLN', '3HB'): {'type': 'HC', 'charge': 0.0171}, ('GLN', '3HG'): {'type': 'HC', 'charge': 0.0352}, ('GLN', 'C'): {'type': 'C', 'charge': 0.5973}, ('GLN', 'CA'): {'type': 'CT', 'charge': -0.0031}, ('GLN', 'CB'): {'type': 'CT', 'charge': -0.0036}, ('GLN', 'CD'): {'type': 'C', 'charge': 0.6951}, ('GLN', 'CG'): {'type': 'CT', 'charge': -0.0645}, ('GLN', 'H'): {'type': 'H', 'charge': 0.2719}, ('GLN', 'HA'): {'type': 'H1', 'charge': 0.085}, ('GLN', 'N'): {'type': 'N', 'charge': -0.4157}, ('GLN', 'NE2'): {'type': 'N', 'charge': -0.9407}, ('GLN', 'O'): {'type': 'O', 'charge': -0.5679}, ('GLN', 'OE1'): {'type': 'O', 'charge': -0.6086}, ('ARG', '1HH1'): {'type': 'H', 'charge': 0.4478}, ('ARG', '1HH2'): {'type': 'H', 'charge': 0.4478}, ('ARG', '2HB'): {'type': 'HC', 'charge': 0.0327}, ('ARG', '2HD'): {'type': 'H1', 'charge': 0.0687}, ('ARG', '2HG'): {'type': 'HC', 'charge': 0.0285}, ('ARG', '2HH1'): {'type': 'H', 'charge': 0.4478}, ('ARG', '2HH2'): {'type': 'H', 'charge': 0.4478}, ('ARG', '3HB'): {'type': 'HC', 'charge': 0.0327}, ('ARG', '3HD'): {'type': 'H1', 'charge': 0.0687}, ('ARG', '3HG'): {'type': 'HC', 'charge': 0.0285}, ('ARG', 'C'): {'type': 'C', 'charge': 0.7341}, ('ARG', 'CA'): {'type': 'CT', 'charge': -0.2637}, ('ARG', 'CB'): {'type': 'CT', 'charge': -0.0007}, ('ARG', 'CD'): {'type': 'CT', 'charge': 0.0486}, ('ARG', 'CG'): {'type': 'CT', 'charge': 0.039}, ('ARG', 'CZ'): {'type': 'CA', 'charge': 0.8076}, ('ARG', 'H'): {'type': 'H', 'charge': 0.2747}, ('ARG', 'HA'): {'type': 'H1', 'charge': 0.156}, ('ARG', 'HE'): {'type': 'H', 'charge': 0.3456}, ('ARG', 'N'): {'type': 'N', 'charge': -0.3479}, ('ARG', 'NE'): {'type': 'N2', 'charge': -0.5295}, ('ARG', 'NH1'): {'type': 'N2', 'charge': -0.8627}, ('ARG', 'NH2'): {'type': 'N2', 'charge': -0.8627}, ('ARG', 'O'): {'type': 'O', 'charge': -0.5894}, ('SER', '2HB'): {'type': 'H1', 'charge': 0.0352}, ('SER', '3HB'): {'type': 'H1', 'charge': 0.0352}, ('SER', 'C'): {'type': 'C', 'charge': 0.5973}, ('SER', 'CA'): {'type': 'CT', 'charge': -0.0249}, ('SER', 'CB'): {'type': 'CT', 'charge': 0.2117}, ('SER', 'H'): {'type': 'H', 'charge': 0.2719}, ('SER', 'HA'): {'type': 'H1', 'charge': 0.0843}, ('SER', 'HG'): {'type': 'HO', 'charge': 0.4275}, ('SER', 'N'): {'type': 'N', 'charge': -0.4157}, ('SER', 'O'): {'type': 'O', 'charge': -0.5679}, ('SER', 'OG'): {'type': 'OH', 'charge': -0.6546}, ('THR', '1HG'): {'type': 'HO', 'charge': 0.4102}, ('THR', '1HG2'): {'type': 'HC', 'charge': 0.0642}, ('THR', '2HG2'): {'type': 'HC', 'charge': 0.0642}, ('THR', '3HG2'): {'type': 'HC', 'charge': 0.0642}, ('THR', 'C'): {'type': 'C', 'charge': 0.5973}, ('THR', 'CA'): {'type': 'CT', 'charge': -0.0389}, ('THR', 'CB'): {'type': 'CT', 'charge': 0.3654}, ('THR', 'CG2'): {'type': 'CT', 'charge': -0.2438}, ('THR', 'H'): {'type': 'H', 'charge': 0.2719}, ('THR', 'HA'): {'type': 'H1', 'charge': 0.1007}, ('THR', 'HB'): {'type': 'H1', 'charge': 0.0043}, ('THR', 'N'): {'type': 'N', 'charge': -0.4157}, ('THR', 'O'): {'type': 'O', 'charge': -0.5679}, ('THR', 'OG1'): {'type': 'OH', 'charge': -0.6761}, ('VAL', '1HG1'): {'type': 'HC', 'charge': 0.0791}, ('VAL', '1HG2'): {'type': 'HC', 'charge': 0.0791}, ('VAL', '2HG1'): {'type': 'HC', 'charge': 0.0791}, ('VAL', '2HG2'): {'type': 'HC', 'charge': 0.0791}, ('VAL', '3HG1'): {'type': 'HC', 'charge': 0.0791}, ('VAL', '3HG2'): {'type': 'HC', 'charge': 0.0791}, ('VAL', 'C'): {'type': 'C', 'charge': 0.5973}, ('VAL', 'CA'): {'type': 'CT', 'charge': -0.0875}, ('VAL', 'CB'): {'type': 'CT', 'charge': 0.2985}, ('VAL', 'CG1'): {'type': 'CT', 'charge': -0.3192}, ('VAL', 'CG2'): {'type': 'CT', 'charge': -0.3192}, ('VAL', 'H'): {'type': 'H', 'charge': 0.2719}, ('VAL', 'HA'): {'type': 'H1', 'charge': 0.0969}, ('VAL', 'HB'): {'type': 'HC', 'charge': -0.0297}, ('VAL', 'N'): {'type': 'N', 'charge': -0.4157}, ('VAL', 'O'): {'type': 'O', 'charge': -0.5679}, ('TRP', '1HD'): {'type': 'H4', 'charge': 0.2062}, ('TRP', '1HE'): {'type': 'H', 'charge': 0.3412}, ('TRP', '2HB'): {'type': 'HC', 'charge': 0.0339}, ('TRP', '2HH'): {'type': 'HA', 'charge': 0.1417}, ('TRP', '2HZ'): {'type': 'HA', 'charge': 0.1572}, ('TRP', '3HB'): {'type': 'HC', 'charge': 0.0339}, ('TRP', '3HE'): {'type': 'HA', 'charge': 0.17}, ('TRP', '3HZ'): {'type': 'HA', 'charge': 0.1447}, ('TRP', 'C'): {'type': 'C', 'charge': 0.5973}, ('TRP', 'CA'): {'type': 'CT', 'charge': -0.0275}, ('TRP', 'CB'): {'type': 'CT', 'charge': -0.005}, ('TRP', 'CD1'): {'type': 'CW', 'charge': -0.1638}, ('TRP', 'CD2'): {'type': 'CB', 'charge': 0.1243}, ('TRP', 'CE2'): {'type': 'CN', 'charge': 0.138}, ('TRP', 'CE3'): {'type': 'CA', 'charge': -0.2387}, ('TRP', 'CG'): {'type': 'C*', 'charge': -0.1415}, ('TRP', 'CH2'): {'type': 'CA', 'charge': -0.1134}, ('TRP', 'CZ2'): {'type': 'CA', 'charge': -0.2601}, ('TRP', 'CZ3'): {'type': 'CA', 'charge': -0.1972}, ('TRP', 'H'): {'type': 'H', 'charge': 0.2719}, ('TRP', 'HA'): {'type': 'H1', 'charge': 0.1123}, ('TRP', 'N'): {'type': 'N', 'charge': -0.4157}, ('TRP', 'NE1'): {'type': 'NA', 'charge': -0.3418}, ('TRP', 'O'): {'type': 'O', 'charge': -0.5679}, ('TYR', '1HD'): {'type': 'HA', 'charge': 0.1699}, ('TYR', '1HE'): {'type': 'HA', 'charge': 0.1656}, ('TYR', '2HB'): {'type': 'HC', 'charge': 0.0295}, ('TYR', '2HD'): {'type': 'HA', 'charge': 0.1699}, ('TYR', '2HE'): {'type': 'HA', 'charge': 0.1656}, ('TYR', '3HB'): {'type': 'HC', 'charge': 0.0295}, ('TYR', 'C'): {'type': 'C', 'charge': 0.5973}, ('TYR', 'CA'): {'type': 'CT', 'charge': -0.0014}, ('TYR', 'CB'): {'type': 'CT', 'charge': -0.0152}, ('TYR', 'CD1'): {'type': 'CA', 'charge': -0.1906}, ('TYR', 'CD2'): {'type': 'CA', 'charge': -0.1906}, ('TYR', 'CE1'): {'type': 'CA', 'charge': -0.2341}, ('TYR', 'CE2'): {'type': 'CA', 'charge': -0.2341}, ('TYR', 'CG'): {'type': 'CA', 'charge': -0.0011}, ('TYR', 'CZ'): {'type': 'C', 'charge': 0.3226}, ('TYR', 'H'): {'type': 'H', 'charge': 0.2719}, ('TYR', 'HA'): {'type': 'H1', 'charge': 0.0876}, ('TYR', 'HH'): {'type': 'HO', 'charge': 0.3992}, ('TYR', 'N'): {'type': 'N', 'charge': -0.4157}, ('TYR', 'O'): {'type': 'O', 'charge': -0.5679}, ('TYR', 'OH'): {'type': 'OH', 'charge': -0.5579}, ('NME', '1HH3'): {'type': 'H1', 'charge': 0.0976}, ('NME', '2HH3'): {'type': 'H1', 'charge': 0.0976}, ('NME', '3HH3'): {'type': 'H1', 'charge': 0.0976}, ('NME', 'CH3'): {'type': 'CT', 'charge': -0.149}, ('NME', 'H'): {'type': 'H', 'charge': 0.2719}, ('NME', 'N'): {'type': 'N', 'charge': -0.4157}, ('ACE', '1HH3'): {'type': 'HC', 'charge': 0.1123}, ('ACE', '2HH3'): {'type': 'HC', 'charge': 0.1123}, ('ACE', '3HH3'): {'type': 'HC', 'charge': 0.1123}, ('ACE', 'C'): {'type': 'C', 'charge': 0.5972}, ('ACE', 'CH3'): {'type': 'CT', 'charge': -0.3662}, ('ACE', 'O'): {'type': 'O', 'charge': -0.5679}} n_terminal = {('ALA', '1HB'): {'type': 'HC', 'charge': 0.03}, ('ALA', '1HT'): {'type': 'H', 'charge': 0.1997}, ('ALA', '2HB'): {'type': 'HC', 'charge': 0.03}, ('ALA', '2HT'): {'type': 'H', 'charge': 0.1997}, ('ALA', '3HB'): {'type': 'HC', 'charge': 0.03}, ('ALA', '3HT'): {'type': 'H', 'charge': 0.1997}, ('ALA', 'C'): {'type': 'C', 'charge': 0.6163}, ('ALA', 'CA'): {'type': 'CT', 'charge': 0.0962}, ('ALA', 'CB'): {'type': 'CT', 'charge': -0.0597}, ('ALA', 'HA'): {'type': 'HP', 'charge': 0.0889}, ('ALA', 'N'): {'type': 'N3', 'charge': 0.1414}, ('ALA', 'O'): {'type': 'O', 'charge': -0.5722}, ('CYS', '1HT'): {'type': 'H', 'charge': 0.2023}, ('CYS', '2HB'): {'type': 'H1', 'charge': 0.1188}, ('CYS', '2HT'): {'type': 'H', 'charge': 0.2023}, ('CYS', '3HB'): {'type': 'H1', 'charge': 0.1188}, ('CYS', '3HT'): {'type': 'H', 'charge': 0.2023}, ('CYS', 'C'): {'type': 'C', 'charge': 0.6123}, ('CYS', 'CA'): {'type': 'CT', 'charge': 0.0927}, ('CYS', 'CB'): {'type': 'CT', 'charge': -0.1195}, ('CYS', 'HA'): {'type': 'HP', 'charge': 0.1411}, ('CYS', 'HG'): {'type': 'HS', 'charge': 0.1975}, ('CYS', 'N'): {'type': 'N3', 'charge': 0.1325}, ('CYS', 'O'): {'type': 'O', 'charge': -0.5713}, ('CYS', 'SG'): {'type': 'SH', 'charge': -0.3298}, ('CYX', '1HT'): {'type': 'H', 'charge': 0.1815}, ('CYX', '2HB'): {'type': 'H1', 'charge': 0.068}, ('CYX', '2HT'): {'type': 'H', 'charge': 0.1815}, ('CYX', '3HB'): {'type': 'H1', 'charge': 0.068}, ('CYX', '3HT'): {'type': 'H', 'charge': 0.1815}, ('CYX', 'C'): {'type': 'C', 'charge': 0.6123}, ('CYX', 'CA'): {'type': 'CT', 'charge': 0.1055}, ('CYX', 'CB'): {'type': 'CT', 'charge': -0.0277}, ('CYX', 'HA'): {'type': 'HP', 'charge': 0.0922}, ('CYX', 'N'): {'type': 'N3', 'charge': 0.2069}, ('CYX', 'O'): {'type': 'O', 'charge': -0.5713}, ('CYX', 'SG'): {'type': 'S', 'charge': -0.0984}, ('ASP', '1HT'): {'type': 'H', 'charge': 0.22}, ('ASP', '2HB'): {'type': 'HC', 'charge': -0.0169}, ('ASP', '2HT'): {'type': 'H', 'charge': 0.22}, ('ASP', '3HB'): {'type': 'HC', 'charge': -0.0169}, ('ASP', '3HT'): {'type': 'H', 'charge': 0.22}, ('ASP', 'C'): {'type': 'C', 'charge': 0.5621}, ('ASP', 'CA'): {'type': 'CT', 'charge': 0.0292}, ('ASP', 'CB'): {'type': 'CT', 'charge': -0.0235}, ('ASP', 'CG'): {'type': 'C', 'charge': 0.8194}, ('ASP', 'HA'): {'type': 'HP', 'charge': 0.1141}, ('ASP', 'N'): {'type': 'N3', 'charge': 0.0782}, ('ASP', 'O'): {'type': 'O', 'charge': -0.5889}, ('ASP', 'OD1'): {'type': 'O2', 'charge': -0.8084}, ('ASP', 'OD2'): {'type': 'O2', 'charge': -0.8084}, ('ASH', '1HT'): {'type': 'H', 'charge': 0.22}, ('ASH', '2HB'): {'type': 'HC', 'charge': -0.0169}, ('ASH', '2HT'): {'type': 'H', 'charge': 0.22}, ('ASH', '3HB'): {'type': 'HC', 'charge': -0.0169}, ('ASH', '3HT'): {'type': 'H', 'charge': 0.22}, ('ASH', 'C'): {'type': 'C', 'charge': 0.5621}, ('ASH', 'CA'): {'type': 'CT', 'charge': 0.0292}, ('ASH', 'CB'): {'type': 'CT', 'charge': -0.0235}, ('ASH', 'CG'): {'type': 'C', 'charge': 0.8194}, ('ASH', 'HA'): {'type': 'HP', 'charge': 0.1141}, ('ASH', 'N'): {'type': 'N3', 'charge': 0.0782}, ('ASH', 'O'): {'type': 'O', 'charge': -0.5889}, ('ASH', 'OD1'): {'type': 'O', 'charge': -0.8084}, ('ASH', 'OD2'): {'type': 'OH', 'charge': -0.8084}, ('GLU', '1HT'): {'type': 'H', 'charge': 0.2391}, ('GLU', '2HB'): {'type': 'HC', 'charge': -0.0232}, ('GLU', '2HG'): {'type': 'HC', 'charge': -0.0315}, ('GLU', '2HT'): {'type': 'H', 'charge': 0.2391}, ('GLU', '3HB'): {'type': 'HC', 'charge': -0.0232}, ('GLU', '3HG'): {'type': 'HC', 'charge': -0.0315}, ('GLU', '3HT'): {'type': 'H', 'charge': 0.2391}, ('GLU', 'C'): {'type': 'C', 'charge': 0.5621}, ('GLU', 'CA'): {'type': 'CT', 'charge': 0.0588}, ('GLU', 'CB'): {'type': 'CT', 'charge': 0.0909}, ('GLU', 'CD'): {'type': 'C', 'charge': 0.8087}, ('GLU', 'CG'): {'type': 'CT', 'charge': -0.0236}, ('GLU', 'HA'): {'type': 'HP', 'charge': 0.1202}, ('GLU', 'N'): {'type': 'N3', 'charge': 0.0017}, ('GLU', 'O'): {'type': 'O', 'charge': -0.5889}, ('GLU', 'OE1'): {'type': 'O2', 'charge': -0.8189}, ('GLU', 'OE2'): {'type': 'O2', 'charge': -0.8189}, ('GLP', '1HT'): {'type': 'H', 'charge': 0.2391}, ('GLP', '2HB'): {'type': 'HC', 'charge': -0.0232}, ('GLP', '2HG'): {'type': 'HC', 'charge': -0.0315}, ('GLP', '2HT'): {'type': 'H', 'charge': 0.2391}, ('GLP', '3HB'): {'type': 'HC', 'charge': -0.0232}, ('GLP', '3HG'): {'type': 'HC', 'charge': -0.0315}, ('GLP', '3HT'): {'type': 'H', 'charge': 0.2391}, ('GLP', 'C'): {'type': 'C', 'charge': 0.5621}, ('GLP', 'CA'): {'type': 'CT', 'charge': 0.0588}, ('GLP', 'CB'): {'type': 'CT', 'charge': 0.0909}, ('GLP', 'CD'): {'type': 'C', 'charge': 0.8087}, ('GLP', 'CG'): {'type': 'CT', 'charge': -0.0236}, ('GLP', 'HA'): {'type': 'HP', 'charge': 0.1202}, ('GLP', 'N'): {'type': 'N3', 'charge': 0.0017}, ('GLP', 'O'): {'type': 'O', 'charge': -0.5889}, ('GLP', 'OE1'): {'type': 'O', 'charge': -0.8189}, ('GLP', 'OE2'): {'type': 'OH', 'charge': -0.8189}, ('PHE', '1HD'): {'type': 'HA', 'charge': 0.1374}, ('PHE', '1HE'): {'type': 'HA', 'charge': 0.1433}, ('PHE', '1HT'): {'type': 'H', 'charge': 0.1921}, ('PHE', '2HB'): {'type': 'HC', 'charge': 0.0104}, ('PHE', '2HD'): {'type': 'HA', 'charge': 0.1374}, ('PHE', '2HE'): {'type': 'HA', 'charge': 0.1433}, ('PHE', '2HT'): {'type': 'H', 'charge': 0.1921}, ('PHE', '3HB'): {'type': 'HC', 'charge': 0.0104}, ('PHE', '3HT'): {'type': 'H', 'charge': 0.1921}, ('PHE', 'C'): {'type': 'C', 'charge': 0.6123}, ('PHE', 'CA'): {'type': 'CT', 'charge': 0.0733}, ('PHE', 'CB'): {'type': 'CT', 'charge': 0.033}, ('PHE', 'CD1'): {'type': 'CA', 'charge': -0.1392}, ('PHE', 'CD2'): {'type': 'CA', 'charge': -0.1391}, ('PHE', 'CE1'): {'type': 'CA', 'charge': -0.1602}, ('PHE', 'CE2'): {'type': 'CA', 'charge': -0.1603}, ('PHE', 'CG'): {'type': 'CA', 'charge': 0.0031}, ('PHE', 'CZ'): {'type': 'CA', 'charge': -0.1208}, ('PHE', 'HA'): {'type': 'HP', 'charge': 0.1041}, ('PHE', 'HZ'): {'type': 'HA', 'charge': 0.1329}, ('PHE', 'N'): {'type': 'N3', 'charge': 0.1737}, ('PHE', 'O'): {'type': 'O', 'charge': -0.5713}, ('GLY', '1HT'): {'type': 'H', 'charge': 0.1642}, ('GLY', '2HT'): {'type': 'H', 'charge': 0.1642}, ('GLY', '3HA'): {'type': 'H1', 'charge': 0.0895}, ('GLY', '3HT'): {'type': 'H', 'charge': 0.1642}, ('GLY', 'C'): {'type': 'C', 'charge': 0.6163}, ('GLY', 'CA'): {'type': 'CT', 'charge': -0.01}, ('GLY', 'HA'): {'type': 'HP', 'charge': 0.0895}, ('GLY', 'N'): {'type': 'N3', 'charge': 0.2943}, ('GLY', 'O'): {'type': 'O', 'charge': -0.5722}, ('HIP', '1HD'): {'type': 'H', 'charge': 0.3821}, ('HIP', '1HE'): {'type': 'H5', 'charge': 0.2645}, ('HIP', '1HT'): {'type': 'H', 'charge': 0.1704}, ('HIP', '2HB'): {'type': 'HC', 'charge': 0.0531}, ('HIP', '2HD'): {'type': 'H4', 'charge': 0.2495}, ('HIP', '2HE'): {'type': 'H', 'charge': 0.3921}, ('HIP', '2HT'): {'type': 'H', 'charge': 0.1704}, ('HIP', '3HB'): {'type': 'HC', 'charge': 0.0531}, ('HIP', '3HT'): {'type': 'H', 'charge': 0.1704}, ('HIP', 'C'): {'type': 'C', 'charge': 0.7214}, ('HIP', 'CA'): {'type': 'CT', 'charge': 0.0581}, ('HIP', 'CB'): {'type': 'CT', 'charge': 0.0484}, ('HIP', 'CD2'): {'type': 'CW', 'charge': -0.1433}, ('HIP', 'CE1'): {'type': 'CR', 'charge': -0.0011}, ('HIP', 'CG'): {'type': 'CC', 'charge': -0.0236}, ('HIP', 'HA'): {'type': 'HP', 'charge': 0.1047}, ('HIP', 'N'): {'type': 'N3', 'charge': 0.256}, ('HIP', 'ND1'): {'type': 'NA', 'charge': -0.151}, ('HIP', 'NE2'): {'type': 'NA', 'charge': -0.1739}, ('HIP', 'O'): {'type': 'O', 'charge': -0.6013}, ('HIE', '1HE'): {'type': 'H5', 'charge': 0.1397}, ('HIE', '1HT'): {'type': 'H', 'charge': 0.2016}, ('HIE', '2HB'): {'type': 'HC', 'charge': 0.0223}, ('HIE', '2HD'): {'type': 'H4', 'charge': 0.1963}, ('HIE', '2HE'): {'type': 'H', 'charge': 0.3324}, ('HIE', '2HT'): {'type': 'H', 'charge': 0.2016}, ('HIE', '3HB'): {'type': 'HC', 'charge': 0.0223}, ('HIE', '3HT'): {'type': 'H', 'charge': 0.2016}, ('HIE', 'C'): {'type': 'C', 'charge': 0.6123}, ('HIE', 'CA'): {'type': 'CT', 'charge': 0.0236}, ('HIE', 'CB'): {'type': 'CT', 'charge': 0.0489}, ('HIE', 'CD2'): {'type': 'CW', 'charge': -0.2349}, ('HIE', 'CE1'): {'type': 'CR', 'charge': 0.1804}, ('HIE', 'CG'): {'type': 'CC', 'charge': 0.174}, ('HIE', 'HA'): {'type': 'HP', 'charge': 0.138}, ('HIE', 'N'): {'type': 'N3', 'charge': 0.1472}, ('HIE', 'ND1'): {'type': 'NB', 'charge': -0.5579}, ('HIE', 'NE2'): {'type': 'NA', 'charge': -0.2781}, ('HIE', 'O'): {'type': 'O', 'charge': -0.5713}, ('HID', '1HD'): {'type': 'H', 'charge': 0.3632}, ('HID', '1HE'): {'type': 'H5', 'charge': 0.1385}, ('HID', '1HT'): {'type': 'H', 'charge': 0.1963}, ('HID', '2HB'): {'type': 'HC', 'charge': 0.0209}, ('HID', '2HD'): {'type': 'H4', 'charge': 0.1299}, ('HID', '2HT'): {'type': 'H', 'charge': 0.1963}, ('HID', '3HB'): {'type': 'HC', 'charge': 0.0209}, ('HID', '3HT'): {'type': 'H', 'charge': 0.1963}, ('HID', 'C'): {'type': 'C', 'charge': 0.6123}, ('HID', 'CA'): {'type': 'CT', 'charge': 0.0964}, ('HID', 'CB'): {'type': 'CT', 'charge': 0.0259}, ('HID', 'CD2'): {'type': 'CV', 'charge': 0.1046}, ('HID', 'CE1'): {'type': 'CR', 'charge': 0.2127}, ('HID', 'CG'): {'type': 'CC', 'charge': -0.0399}, ('HID', 'HA'): {'type': 'HP', 'charge': 0.0958}, ('HID', 'N'): {'type': 'N3', 'charge': 0.1542}, ('HID', 'ND1'): {'type': 'NA', 'charge': -0.3819}, ('HID', 'NE2'): {'type': 'NB', 'charge': -0.5711}, ('HID', 'O'): {'type': 'O', 'charge': -0.5713}, ('ILE', '1HD1'): {'type': 'HC', 'charge': 0.0226}, ('ILE', '1HG2'): {'type': 'HC', 'charge': 0.0947}, ('ILE', '1HT'): {'type': 'H', 'charge': 0.2329}, ('ILE', '2HD1'): {'type': 'HC', 'charge': 0.0226}, ('ILE', '2HG1'): {'type': 'HC', 'charge': 0.0201}, ('ILE', '2HG2'): {'type': 'HC', 'charge': 0.0947}, ('ILE', '2HT'): {'type': 'H', 'charge': 0.2329}, ('ILE', '3HD1'): {'type': 'HC', 'charge': 0.0226}, ('ILE', '3HG1'): {'type': 'HC', 'charge': 0.0201}, ('ILE', '3HG2'): {'type': 'HC', 'charge': 0.0947}, ('ILE', '3HT'): {'type': 'H', 'charge': 0.2329}, ('ILE', 'C'): {'type': 'C', 'charge': 0.6123}, ('ILE', 'CA'): {'type': 'CT', 'charge': 0.0257}, ('ILE', 'CB'): {'type': 'CT', 'charge': 0.1885}, ('ILE', 'CD1'): {'type': 'CT', 'charge': -0.0908}, ('ILE', 'CG1'): {'type': 'CT', 'charge': -0.0387}, ('ILE', 'CG2'): {'type': 'CT', 'charge': -0.372}, ('ILE', 'HA'): {'type': 'HP', 'charge': 0.1031}, ('ILE', 'HB'): {'type': 'HC', 'charge': 0.0213}, ('ILE', 'N'): {'type': 'N3', 'charge': 0.0311}, ('ILE', 'O'): {'type': 'O', 'charge': -0.5713}, ('LYS', '1HT'): {'type': 'H', 'charge': 0.2165}, ('LYS', '1HZ'): {'type': 'H', 'charge': 0.3382}, ('LYS', '2HB'): {'type': 'HC', 'charge': 0.0283}, ('LYS', '2HD'): {'type': 'HC', 'charge': 0.0633}, ('LYS', '2HE'): {'type': 'HP', 'charge': 0.1171}, ('LYS', '2HG'): {'type': 'HC', 'charge': 0.0121}, ('LYS', '2HT'): {'type': 'H', 'charge': 0.2165}, ('LYS', '2HZ'): {'type': 'H', 'charge': 0.3382}, ('LYS', '3HB'): {'type': 'HC', 'charge': 0.0283}, ('LYS', '3HD'): {'type': 'HC', 'charge': 0.0633}, ('LYS', '3HE'): {'type': 'HP', 'charge': 0.1171}, ('LYS', '3HG'): {'type': 'HC', 'charge': 0.0121}, ('LYS', '3HT'): {'type': 'H', 'charge': 0.2165}, ('LYS', '3HZ'): {'type': 'H', 'charge': 0.3382}, ('LYS', 'C'): {'type': 'C', 'charge': 0.7214}, ('LYS', 'CA'): {'type': 'CT', 'charge': -0.0015}, ('LYS', 'CB'): {'type': 'CT', 'charge': 0.0212}, ('LYS', 'CD'): {'type': 'CT', 'charge': -0.0608}, ('LYS', 'CE'): {'type': 'CT', 'charge': -0.0181}, ('LYS', 'CG'): {'type': 'CT', 'charge': -0.0048}, ('LYS', 'HA'): {'type': 'HP', 'charge': 0.118}, ('LYS', 'N'): {'type': 'N3', 'charge': 0.0966}, ('LYS', 'NZ'): {'type': 'N3', 'charge': -0.3764}, ('LYS', 'O'): {'type': 'O', 'charge': -0.6013}, ('LEU', '1HD1'): {'type': 'HC', 'charge': 0.098}, ('LEU', '1HD2'): {'type': 'HC', 'charge': 0.098}, ('LEU', '1HT'): {'type': 'H', 'charge': 0.2148}, ('LEU', '2HB'): {'type': 'HC', 'charge': 0.0256}, ('LEU', '2HD1'): {'type': 'HC', 'charge': 0.098}, ('LEU', '2HD2'): {'type': 'HC', 'charge': 0.098}, ('LEU', '2HT'): {'type': 'H', 'charge': 0.2148}, ('LEU', '3HB'): {'type': 'HC', 'charge': 0.0256}, ('LEU', '3HD1'): {'type': 'HC', 'charge': 0.098}, ('LEU', '3HD2'): {'type': 'HC', 'charge': 0.098}, ('LEU', '3HT'): {'type': 'H', 'charge': 0.2148}, ('LEU', 'C'): {'type': 'C', 'charge': 0.6123}, ('LEU', 'CA'): {'type': 'CT', 'charge': 0.0104}, ('LEU', 'CB'): {'type': 'CT', 'charge': -0.0244}, ('LEU', 'CD1'): {'type': 'CT', 'charge': -0.4106}, ('LEU', 'CD2'): {'type': 'CT', 'charge': -0.4104}, ('LEU', 'CG'): {'type': 'CT', 'charge': 0.3421}, ('LEU', 'HA'): {'type': 'HP', 'charge': 0.1053}, ('LEU', 'HG'): {'type': 'HC', 'charge': -0.038}, ('LEU', 'N'): {'type': 'N3', 'charge': 0.101}, ('LEU', 'O'): {'type': 'O', 'charge': -0.5713}, ('MET', '1HE'): {'type': 'H1', 'charge': 0.0597}, ('MET', '1HT'): {'type': 'H', 'charge': 0.1984}, ('MET', '2HB'): {'type': 'HC', 'charge': 0.0125}, ('MET', '2HE'): {'type': 'H1', 'charge': 0.0597}, ('MET', '2HG'): {'type': 'H1', 'charge': 0.0292}, ('MET', '2HT'): {'type': 'H', 'charge': 0.1984}, ('MET', '3HB'): {'type': 'HC', 'charge': 0.0125}, ('MET', '3HE'): {'type': 'H1', 'charge': 0.0597}, ('MET', '3HG'): {'type': 'H1', 'charge': 0.0292}, ('MET', '3HT'): {'type': 'H', 'charge': 0.1984}, ('MET', 'C'): {'type': 'C', 'charge': 0.6123}, ('MET', 'CA'): {'type': 'CT', 'charge': 0.0221}, ('MET', 'CB'): {'type': 'CT', 'charge': 0.0865}, ('MET', 'CE'): {'type': 'CT', 'charge': -0.0341}, ('MET', 'CG'): {'type': 'CT', 'charge': 0.0334}, ('MET', 'HA'): {'type': 'HP', 'charge': 0.1116}, ('MET', 'N'): {'type': 'N3', 'charge': 0.1592}, ('MET', 'O'): {'type': 'O', 'charge': -0.5713}, ('MET', 'SD'): {'type': 'S', 'charge': -0.2774}, ('ASN', '1HD2'): {'type': 'H', 'charge': 0.4097}, ('ASN', '1HT'): {'type': 'H', 'charge': 0.1921}, ('ASN', '2HB'): {'type': 'HC', 'charge': 0.0515}, ('ASN', '2HD2'): {'type': 'H', 'charge': 0.4097}, ('ASN', '2HT'): {'type': 'H', 'charge': 0.1921}, ('ASN', '3HB'): {'type': 'HC', 'charge': 0.0515}, ('ASN', '3HT'): {'type': 'H', 'charge': 0.1921}, ('ASN', 'C'): {'type': 'C', 'charge': 0.6163}, ('ASN', 'CA'): {'type': 'CT', 'charge': 0.0368}, ('ASN', 'CB'): {'type': 'CT', 'charge': -0.0283}, ('ASN', 'CG'): {'type': 'C', 'charge': 0.5833}, ('ASN', 'HA'): {'type': 'HP', 'charge': 0.1231}, ('ASN', 'N'): {'type': 'N3', 'charge': 0.1801}, ('ASN', 'ND2'): {'type': 'N', 'charge': -0.8634}, ('ASN', 'O'): {'type': 'O', 'charge': -0.5722}, ('ASN', 'OD1'): {'type': 'O', 'charge': -0.5744}, ('PRO', '2H'): {'type': 'H', 'charge': 0.312}, ('PRO', '2HB'): {'type': 'HC', 'charge': 0.1}, ('PRO', '2HD'): {'type': 'H1', 'charge': 0.1}, ('PRO', '2HG'): {'type': 'HC', 'charge': 0.1}, ('PRO', '3H'): {'type': 'H', 'charge': 0.312}, ('PRO', '3HB'): {'type': 'HC', 'charge': 0.1}, ('PRO', '3HD'): {'type': 'H1', 'charge': 0.1}, ('PRO', '3HG'): {'type': 'HC', 'charge': 0.1}, ('PRO', 'C'): {'type': 'C', 'charge': 0.526}, ('PRO', 'CA'): {'type': 'CT', 'charge': 0.1}, ('PRO', 'CB'): {'type': 'CT', 'charge': -0.115}, ('PRO', 'CD'): {'type': 'CT', 'charge': -0.012}, ('PRO', 'CG'): {'type': 'CT', 'charge': -0.121}, ('PRO', 'HA'): {'type': 'HP', 'charge': 0.1}, ('PRO', 'N'): {'type': 'N3', 'charge': -0.202}, ('PRO', 'O'): {'type': 'O', 'charge': -0.5}, ('GLN', '1HE2'): {'type': 'H', 'charge': 0.4429}, ('GLN', '1HT'): {'type': 'H', 'charge': 0.1996}, ('GLN', '2HB'): {'type': 'HC', 'charge': 0.005}, ('GLN', '2HE2'): {'type': 'H', 'charge': 0.4429}, ('GLN', '2HG'): {'type': 'HC', 'charge': 0.0331}, ('GLN', '2HT'): {'type': 'H', 'charge': 0.1996}, ('GLN', '3HB'): {'type': 'HC', 'charge': 0.005}, ('GLN', '3HG'): {'type': 'HC', 'charge': 0.0331}, ('GLN', '3HT'): {'type': 'H', 'charge': 0.1996}, ('GLN', 'C'): {'type': 'C', 'charge': 0.6123}, ('GLN', 'CA'): {'type': 'CT', 'charge': 0.0536}, ('GLN', 'CB'): {'type': 'CT', 'charge': 0.0651}, ('GLN', 'CD'): {'type': 'C', 'charge': 0.7354}, ('GLN', 'CG'): {'type': 'CT', 'charge': -0.0903}, ('GLN', 'HA'): {'type': 'HP', 'charge': 0.1015}, ('GLN', 'N'): {'type': 'N3', 'charge': 0.1493}, ('GLN', 'NE2'): {'type': 'N', 'charge': -1.0031}, ('GLN', 'O'): {'type': 'O', 'charge': -0.5713}, ('GLN', 'OE1'): {'type': 'O', 'charge': -0.6133}, ('ARG', '1HH1'): {'type': 'H', 'charge': 0.4494}, ('ARG', '1HH2'): {'type': 'H', 'charge': 0.4494}, ('ARG', '1HT'): {'type': 'H', 'charge': 0.2083}, ('ARG', '2HB'): {'type': 'HC', 'charge': 0.0226}, ('ARG', '2HD'): {'type': 'H1', 'charge': 0.0527}, ('ARG', '2HG'): {'type': 'HC', 'charge': 0.0309}, ('ARG', '2HH1'): {'type': 'H', 'charge': 0.4494}, ('ARG', '2HH2'): {'type': 'H', 'charge': 0.4494}, ('ARG', '2HT'): {'type': 'H', 'charge': 0.2083}, ('ARG', '3HB'): {'type': 'HC', 'charge': 0.0226}, ('ARG', '3HD'): {'type': 'H1', 'charge': 0.0527}, ('ARG', '3HG'): {'type': 'HC', 'charge': 0.0309}, ('ARG', '3HT'): {'type': 'H', 'charge': 0.2083}, ('ARG', 'C'): {'type': 'C', 'charge': 0.7214}, ('ARG', 'CA'): {'type': 'CT', 'charge': -0.0223}, ('ARG', 'CB'): {'type': 'CT', 'charge': 0.0118}, ('ARG', 'CD'): {'type': 'CT', 'charge': 0.0935}, ('ARG', 'CG'): {'type': 'CT', 'charge': 0.0236}, ('ARG', 'CZ'): {'type': 'CA', 'charge': 0.8281}, ('ARG', 'HA'): {'type': 'HP', 'charge': 0.1242}, ('ARG', 'HE'): {'type': 'H', 'charge': 0.3592}, ('ARG', 'N'): {'type': 'N3', 'charge': 0.1305}, ('ARG', 'NE'): {'type': 'N2', 'charge': -0.565}, ('ARG', 'NH1'): {'type': 'N2', 'charge': -0.8693}, ('ARG', 'NH2'): {'type': 'N2', 'charge': -0.8693}, ('ARG', 'O'): {'type': 'O', 'charge': -0.6013}, ('SER', '1HT'): {'type': 'H', 'charge': 0.1898}, ('SER', '2HB'): {'type': 'H1', 'charge': 0.0273}, ('SER', '2HT'): {'type': 'H', 'charge': 0.1898}, ('SER', '3HB'): {'type': 'H1', 'charge': 0.0273}, ('SER', '3HT'): {'type': 'H', 'charge': 0.1898}, ('SER', 'C'): {'type': 'C', 'charge': 0.6163}, ('SER', 'CA'): {'type': 'CT', 'charge': 0.0567}, ('SER', 'CB'): {'type': 'CT', 'charge': 0.2596}, ('SER', 'HA'): {'type': 'HP', 'charge': 0.0782}, ('SER', 'HG'): {'type': 'HO', 'charge': 0.4239}, ('SER', 'N'): {'type': 'N3', 'charge': 0.1849}, ('SER', 'O'): {'type': 'O', 'charge': -0.5722}, ('SER', 'OG'): {'type': 'OH', 'charge': -0.6714}, ('THR', '1HG'): {'type': 'HO', 'charge': 0.407}, ('THR', '1HG2'): {'type': 'HC', 'charge': 0.0627}, ('THR', '1HT'): {'type': 'H', 'charge': 0.1934}, ('THR', '2HG2'): {'type': 'HC', 'charge': 0.0627}, ('THR', '2HT'): {'type': 'H', 'charge': 0.1934}, ('THR', '3HG2'): {'type': 'HC', 'charge': 0.0627}, ('THR', '3HT'): {'type': 'H', 'charge': 0.1934}, ('THR', 'C'): {'type': 'C', 'charge': 0.6163}, ('THR', 'CA'): {'type': 'CT', 'charge': 0.0034}, ('THR', 'CB'): {'type': 'CT', 'charge': 0.4514}, ('THR', 'CG2'): {'type': 'CT', 'charge': -0.2554}, ('THR', 'HA'): {'type': 'HP', 'charge': 0.1087}, ('THR', 'HB'): {'type': 'H1', 'charge': -0.0323}, ('THR', 'N'): {'type': 'N3', 'charge': 0.1812}, ('THR', 'O'): {'type': 'O', 'charge': -0.5722}, ('THR', 'OG1'): {'type': 'OH', 'charge': -0.6764}, ('VAL', '1HG1'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '1HG2'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '1HT'): {'type': 'H', 'charge': 0.2272}, ('VAL', '2HG1'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '2HG2'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '2HT'): {'type': 'H', 'charge': 0.2272}, ('VAL', '3HG1'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '3HG2'): {'type': 'HC', 'charge': 0.0735}, ('VAL', '3HT'): {'type': 'H', 'charge': 0.2272}, ('VAL', 'C'): {'type': 'C', 'charge': 0.6163}, ('VAL', 'CA'): {'type': 'CT', 'charge': -0.0054}, ('VAL', 'CB'): {'type': 'CT', 'charge': 0.3196}, ('VAL', 'CG1'): {'type': 'CT', 'charge': -0.3129}, ('VAL', 'CG2'): {'type': 'CT', 'charge': -0.3129}, ('VAL', 'HA'): {'type': 'HP', 'charge': 0.1093}, ('VAL', 'HB'): {'type': 'HC', 'charge': -0.0221}, ('VAL', 'N'): {'type': 'N3', 'charge': 0.0577}, ('VAL', 'O'): {'type': 'O', 'charge': -0.5722}, ('TRP', '1HD'): {'type': 'H4', 'charge': 0.2195}, ('TRP', '1HE'): {'type': 'H', 'charge': 0.3412}, ('TRP', '1HT'): {'type': 'H', 'charge': 0.1888}, ('TRP', '2HB'): {'type': 'HC', 'charge': 0.0222}, ('TRP', '2HH'): {'type': 'HA', 'charge': 0.1411}, ('TRP', '2HT'): {'type': 'H', 'charge': 0.1888}, ('TRP', '2HZ'): {'type': 'HA', 'charge': 0.1589}, ('TRP', '3HB'): {'type': 'HC', 'charge': 0.0222}, ('TRP', '3HE'): {'type': 'HA', 'charge': 0.1646}, ('TRP', '3HT'): {'type': 'H', 'charge': 0.1888}, ('TRP', '3HZ'): {'type': 'HA', 'charge': 0.1458}, ('TRP', 'C'): {'type': 'C', 'charge': 0.6123}, ('TRP', 'CA'): {'type': 'CT', 'charge': 0.0421}, ('TRP', 'CB'): {'type': 'CT', 'charge': 0.0543}, ('TRP', 'CD1'): {'type': 'CW', 'charge': -0.1788}, ('TRP', 'CD2'): {'type': 'CB', 'charge': 0.1132}, ('TRP', 'CE2'): {'type': 'CN', 'charge': 0.1575}, ('TRP', 'CE3'): {'type': 'CA', 'charge': -0.2265}, ('TRP', 'CG'): {'type': 'C*', 'charge': -0.1654}, ('TRP', 'CH2'): {'type': 'CA', 'charge': -0.108}, ('TRP', 'CZ2'): {'type': 'CA', 'charge': -0.271}, ('TRP', 'CZ3'): {'type': 'CA', 'charge': -0.2034}, ('TRP', 'HA'): {'type': 'HP', 'charge': 0.1162}, ('TRP', 'N'): {'type': 'N3', 'charge': 0.1913}, ('TRP', 'NE1'): {'type': 'NA', 'charge': -0.3444}, ('TRP', 'O'): {'type': 'O', 'charge': -0.5713}, ('TYR', '1HD'): {'type': 'HA', 'charge': 0.172}, ('TYR', '1HE'): {'type': 'HA', 'charge': 0.165}, ('TYR', '1HT'): {'type': 'H', 'charge': 0.1873}, ('TYR', '2HB'): {'type': 'HC', 'charge': 0.0102}, ('TYR', '2HD'): {'type': 'HA', 'charge': 0.172}, ('TYR', '2HE'): {'type': 'HA', 'charge': 0.165}, ('TYR', '2HT'): {'type': 'H', 'charge': 0.1873}, ('TYR', '3HB'): {'type': 'HC', 'charge': 0.0102}, ('TYR', '3HT'): {'type': 'H', 'charge': 0.1873}, ('TYR', 'C'): {'type': 'C', 'charge': 0.6123}, ('TYR', 'CA'): {'type': 'CT', 'charge': 0.057}, ('TYR', 'CB'): {'type': 'CT', 'charge': 0.0659}, ('TYR', 'CD1'): {'type': 'CA', 'charge': -0.2002}, ('TYR', 'CD2'): {'type': 'CA', 'charge': -0.2002}, ('TYR', 'CE1'): {'type': 'CA', 'charge': -0.2239}, ('TYR', 'CE2'): {'type': 'CA', 'charge': -0.2239}, ('TYR', 'CG'): {'type': 'CA', 'charge': -0.0205}, ('TYR', 'CZ'): {'type': 'C', 'charge': 0.3139}, ('TYR', 'HA'): {'type': 'HP', 'charge': 0.0983}, ('TYR', 'HH'): {'type': 'HO', 'charge': 0.4001}, ('TYR', 'N'): {'type': 'N3', 'charge': 0.194}, ('TYR', 'O'): {'type': 'O', 'charge': -0.5713}, ('TYR', 'OH'): {'type': 'OH', 'charge': -0.5578}} c_terminal = {('ALA', '1HB'): {'type': 'HC', 'charge': 0.0764}, ('ALA', '2HB'): {'type': 'HC', 'charge': 0.0764}, ('ALA', '3HB'): {'type': 'HC', 'charge': 0.0764}, ('ALA', 'C'): {'type': 'C', 'charge': 0.7731}, ('ALA', 'CA'): {'type': 'CT', 'charge': -0.1747}, ('ALA', 'CB'): {'type': 'CT', 'charge': -0.2093}, ('ALA', 'H'): {'type': 'H', 'charge': 0.2681}, ('ALA', 'HA'): {'type': 'H1', 'charge': 0.1067}, ('ALA', 'N'): {'type': 'N', 'charge': -0.3821}, ('ALA', 'O'): {'type': 'O2', 'charge': -0.8055}, ('ALA', 'OXT'): {'type': 'O2', 'charge': -0.8055}, ('CYS', '2HB'): {'type': 'H1', 'charge': 0.1437}, ('CYS', '3HB'): {'type': 'H1', 'charge': 0.1437}, ('CYS', 'C'): {'type': 'C', 'charge': 0.7497}, ('CYS', 'CA'): {'type': 'CT', 'charge': -0.1635}, ('CYS', 'CB'): {'type': 'CT', 'charge': -0.1996}, ('CYS', 'H'): {'type': 'H', 'charge': 0.2681}, ('CYS', 'HA'): {'type': 'H1', 'charge': 0.1396}, ('CYS', 'HG'): {'type': 'HS', 'charge': 0.2068}, ('CYS', 'N'): {'type': 'N', 'charge': -0.3821}, ('CYS', 'O'): {'type': 'O2', 'charge': -0.7981}, ('CYS', 'OXT'): {'type': 'O2', 'charge': -0.7981}, ('CYS', 'SG'): {'type': 'SH', 'charge': -0.3102}, ('CYX', '2HB'): {'type': 'H1', 'charge': 0.1228}, ('CYX', '3HB'): {'type': 'H1', 'charge': 0.1228}, ('CYX', 'C'): {'type': 'C', 'charge': 0.7618}, ('CYX', 'CA'): {'type': 'CT', 'charge': -0.1318}, ('CYX', 'CB'): {'type': 'CT', 'charge': -0.1943}, ('CYX', 'H'): {'type': 'H', 'charge': 0.2681}, ('CYX', 'HA'): {'type': 'H1', 'charge': 0.0938}, ('CYX', 'N'): {'type': 'N', 'charge': -0.3821}, ('CYX', 'O'): {'type': 'O2', 'charge': -0.8041}, ('CYX', 'OXT'): {'type': 'O2', 'charge': -0.8041}, ('CYX', 'SG'): {'type': 'S', 'charge': -0.0529}, ('ASP', '2HB'): {'type': 'HC', 'charge': -0.0212}, ('ASP', '3HB'): {'type': 'HC', 'charge': -0.0212}, ('ASP', 'C'): {'type': 'C', 'charge': 0.7256}, ('ASP', 'CA'): {'type': 'CT', 'charge': -0.1817}, ('ASP', 'CB'): {'type': 'CT', 'charge': -0.0677}, ('ASP', 'CG'): {'type': 'C', 'charge': 0.8851}, ('ASP', 'H'): {'type': 'H', 'charge': 0.3055}, ('ASP', 'HA'): {'type': 'H1', 'charge': 0.1046}, ('ASP', 'N'): {'type': 'N', 'charge': -0.5192}, ('ASP', 'O'): {'type': 'O2', 'charge': -0.7887}, ('ASP', 'OD1'): {'type': 'O2', 'charge': -0.8162}, ('ASP', 'OD2'): {'type': 'O2', 'charge': -0.8162}, ('ASP', 'OXT'): {'type': 'O2', 'charge': -0.7887}, ('ASH', '2HB'): {'type': 'HC', 'charge': -0.0212}, ('ASH', '3HB'): {'type': 'HC', 'charge': -0.0212}, ('ASH', 'C'): {'type': 'C', 'charge': 0.7256}, ('ASH', 'CA'): {'type': 'CT', 'charge': -0.1817}, ('ASH', 'CB'): {'type': 'CT', 'charge': -0.0677}, ('ASH', 'CG'): {'type': 'C', 'charge': 0.8851}, ('ASH', 'H'): {'type': 'H', 'charge': 0.3055}, ('ASH', 'HA'): {'type': 'H1', 'charge': 0.1046}, ('ASH', 'N'): {'type': 'N', 'charge': -0.5192}, ('ASH', 'O'): {'type': 'O2', 'charge': -0.7887}, ('ASH', 'OD1'): {'type': 'O', 'charge': -0.8162}, ('ASH', 'OD2'): {'type': 'OH', 'charge': -0.8162}, ('ASH', 'OXT'): {'type': 'O2', 'charge': -0.7887}, ('GLU', '2HB'): {'type': 'HC', 'charge': -0.0078}, ('GLU', '2HG'): {'type': 'HC', 'charge': -0.0548}, ('GLU', '3HB'): {'type': 'HC', 'charge': -0.0078}, ('GLU', '3HG'): {'type': 'HC', 'charge': -0.0548}, ('GLU', 'C'): {'type': 'C', 'charge': 0.742}, ('GLU', 'CA'): {'type': 'CT', 'charge': -0.2059}, ('GLU', 'CB'): {'type': 'CT', 'charge': 0.0071}, ('GLU', 'CD'): {'type': 'C', 'charge': 0.8183}, ('GLU', 'CG'): {'type': 'CT', 'charge': 0.0675}, ('GLU', 'H'): {'type': 'H', 'charge': 0.3055}, ('GLU', 'HA'): {'type': 'H1', 'charge': 0.1399}, ('GLU', 'N'): {'type': 'N', 'charge': -0.5192}, ('GLU', 'O'): {'type': 'O2', 'charge': -0.793}, ('GLU', 'OE1'): {'type': 'O2', 'charge': -0.822}, ('GLU', 'OE2'): {'type': 'O2', 'charge': -0.822}, ('GLU', 'OXT'): {'type': 'O2', 'charge': -0.793}, ('GLP', '2HB'): {'type': 'HC', 'charge': -0.0078}, ('GLP', '2HG'): {'type': 'HC', 'charge': -0.0548}, ('GLP', '3HB'): {'type': 'HC', 'charge': -0.0078}, ('GLP', '3HG'): {'type': 'HC', 'charge': -0.0548}, ('GLP', 'C'): {'type': 'C', 'charge': 0.742}, ('GLP', 'CA'): {'type': 'CT', 'charge': -0.2059}, ('GLP', 'CB'): {'type': 'CT', 'charge': 0.0071}, ('GLP', 'CD'): {'type': 'C', 'charge': 0.8183}, ('GLP', 'CG'): {'type': 'CT', 'charge': 0.0675}, ('GLP', 'H'): {'type': 'H', 'charge': 0.3055}, ('GLP', 'HA'): {'type': 'H1', 'charge': 0.1399}, ('GLP', 'N'): {'type': 'N', 'charge': -0.5192}, ('GLP', 'O'): {'type': 'O2', 'charge': -0.793}, ('GLP', 'OE1'): {'type': 'O', 'charge': -0.822}, ('GLP', 'OE2'): {'type': 'OH', 'charge': -0.822}, ('GLP', 'OXT'): {'type': 'O2', 'charge': -0.793}, ('PHE', '1HD'): {'type': 'HA', 'charge': 0.1408}, ('PHE', '1HE'): {'type': 'HA', 'charge': 0.1461}, ('PHE', '2HB'): {'type': 'HC', 'charge': 0.0443}, ('PHE', '2HD'): {'type': 'HA', 'charge': 0.1408}, ('PHE', '2HE'): {'type': 'HA', 'charge': 0.1461}, ('PHE', '3HB'): {'type': 'HC', 'charge': 0.0443}, ('PHE', 'C'): {'type': 'C', 'charge': 0.766}, ('PHE', 'CA'): {'type': 'CT', 'charge': -0.1825}, ('PHE', 'CB'): {'type': 'CT', 'charge': -0.0959}, ('PHE', 'CD1'): {'type': 'CA', 'charge': -0.13}, ('PHE', 'CD2'): {'type': 'CA', 'charge': -0.13}, ('PHE', 'CE1'): {'type': 'CA', 'charge': -0.1847}, ('PHE', 'CE2'): {'type': 'CA', 'charge': -0.1847}, ('PHE', 'CG'): {'type': 'CA', 'charge': 0.0552}, ('PHE', 'CZ'): {'type': 'CA', 'charge': -0.0944}, ('PHE', 'H'): {'type': 'H', 'charge': 0.2681}, ('PHE', 'HA'): {'type': 'H1', 'charge': 0.1098}, ('PHE', 'HZ'): {'type': 'HA', 'charge': 0.128}, ('PHE', 'N'): {'type': 'N', 'charge': -0.3821}, ('PHE', 'O'): {'type': 'O2', 'charge': -0.8026}, ('PHE', 'OXT'): {'type': 'O2', 'charge': -0.8026}, ('GLY', '3HA'): {'type': 'H1', 'charge': 0.1056}, ('GLY', 'C'): {'type': 'C', 'charge': 0.7231}, ('GLY', 'CA'): {'type': 'CT', 'charge': -0.2493}, ('GLY', 'H'): {'type': 'H', 'charge': 0.2681}, ('GLY', 'HA'): {'type': 'H1', 'charge': 0.1056}, ('GLY', 'N'): {'type': 'N', 'charge': -0.3821}, ('GLY', 'O'): {'type': 'O2', 'charge': -0.7855}, ('GLY', 'OXT'): {'type': 'O2', 'charge': -0.7855}, ('HIP', '1HD'): {'type': 'H', 'charge': 0.3883}, ('HIP', '1HE'): {'type': 'H5', 'charge': 0.2694}, ('HIP', '2HB'): {'type': 'HC', 'charge': 0.0868}, ('HIP', '2HD'): {'type': 'H4', 'charge': 0.2336}, ('HIP', '2HE'): {'type': 'H', 'charge': 0.3913}, ('HIP', '3HB'): {'type': 'HC', 'charge': 0.0868}, ('HIP', 'C'): {'type': 'C', 'charge': 0.8032}, ('HIP', 'CA'): {'type': 'CT', 'charge': -0.1445}, ('HIP', 'CB'): {'type': 'CT', 'charge': -0.08}, ('HIP', 'CD2'): {'type': 'CW', 'charge': -0.1256}, ('HIP', 'CE1'): {'type': 'CR', 'charge': -0.0251}, ('HIP', 'CG'): {'type': 'CC', 'charge': 0.0298}, ('HIP', 'H'): {'type': 'H', 'charge': 0.2764}, ('HIP', 'HA'): {'type': 'H1', 'charge': 0.1115}, ('HIP', 'N'): {'type': 'N', 'charge': -0.3481}, ('HIP', 'ND1'): {'type': 'NA', 'charge': -0.1501}, ('HIP', 'NE2'): {'type': 'NA', 'charge': -0.1683}, ('HIP', 'O'): {'type': 'O2', 'charge': -0.8177}, ('HIP', 'OXT'): {'type': 'O2', 'charge': -0.8177}, ('HIE', '1HE'): {'type': 'H5', 'charge': 0.1448}, ('HIE', '2HB'): {'type': 'HC', 'charge': 0.062}, ('HIE', '2HD'): {'type': 'H4', 'charge': 0.1957}, ('HIE', '2HE'): {'type': 'H', 'charge': 0.3319}, ('HIE', '3HB'): {'type': 'HC', 'charge': 0.062}, ('HIE', 'C'): {'type': 'C', 'charge': 0.7916}, ('HIE', 'CA'): {'type': 'CT', 'charge': -0.2699}, ('HIE', 'CB'): {'type': 'CT', 'charge': -0.1068}, ('HIE', 'CD2'): {'type': 'CW', 'charge': -0.2588}, ('HIE', 'CE1'): {'type': 'CR', 'charge': 0.1558}, ('HIE', 'CG'): {'type': 'CC', 'charge': 0.2724}, ('HIE', 'H'): {'type': 'H', 'charge': 0.2681}, ('HIE', 'HA'): {'type': 'H1', 'charge': 0.165}, ('HIE', 'N'): {'type': 'N', 'charge': -0.3821}, ('HIE', 'ND1'): {'type': 'NB', 'charge': -0.5517}, ('HIE', 'NE2'): {'type': 'NA', 'charge': -0.267}, ('HIE', 'O'): {'type': 'O2', 'charge': -0.8065}, ('HIE', 'OXT'): {'type': 'O2', 'charge': -0.8065}, ('HID', '1HD'): {'type': 'H', 'charge': 0.3755}, ('HID', '1HE'): {'type': 'H5', 'charge': 0.1418}, ('HID', '2HB'): {'type': 'HC', 'charge': 0.0565}, ('HID', '2HD'): {'type': 'H4', 'charge': 0.1241}, ('HID', '3HB'): {'type': 'HC', 'charge': 0.0565}, ('HID', 'C'): {'type': 'C', 'charge': 0.7615}, ('HID', 'CA'): {'type': 'CT', 'charge': -0.1739}, ('HID', 'CB'): {'type': 'CT', 'charge': -0.1046}, ('HID', 'CD2'): {'type': 'CV', 'charge': 0.1001}, ('HID', 'CE1'): {'type': 'CR', 'charge': 0.1925}, ('HID', 'CG'): {'type': 'CC', 'charge': 0.0293}, ('HID', 'H'): {'type': 'H', 'charge': 0.2681}, ('HID', 'HA'): {'type': 'H1', 'charge': 0.11}, ('HID', 'N'): {'type': 'N', 'charge': -0.3821}, ('HID', 'ND1'): {'type': 'NA', 'charge': -0.3892}, ('HID', 'NE2'): {'type': 'NB', 'charge': -0.5629}, ('HID', 'O'): {'type': 'O2', 'charge': -0.8016}, ('HID', 'OXT'): {'type': 'O2', 'charge': -0.8016}, ('ILE', '1HD1'): {'type': 'HC', 'charge': 0.0196}, ('ILE', '1HG2'): {'type': 'HC', 'charge': 0.1021}, ('ILE', '2HD1'): {'type': 'HC', 'charge': 0.0196}, ('ILE', '2HG1'): {'type': 'HC', 'charge': 0.0321}, ('ILE', '2HG2'): {'type': 'HC', 'charge': 0.1021}, ('ILE', '3HD1'): {'type': 'HC', 'charge': 0.0196}, ('ILE', '3HG1'): {'type': 'HC', 'charge': 0.0321}, ('ILE', '3HG2'): {'type': 'HC', 'charge': 0.1021}, ('ILE', 'C'): {'type': 'C', 'charge': 0.8343}, ('ILE', 'CA'): {'type': 'CT', 'charge': -0.31}, ('ILE', 'CB'): {'type': 'CT', 'charge': 0.0363}, ('ILE', 'CD1'): {'type': 'CT', 'charge': -0.0699}, ('ILE', 'CG1'): {'type': 'CT', 'charge': -0.0323}, ('ILE', 'CG2'): {'type': 'CT', 'charge': -0.3498}, ('ILE', 'H'): {'type': 'H', 'charge': 0.2681}, ('ILE', 'HA'): {'type': 'H1', 'charge': 0.1375}, ('ILE', 'HB'): {'type': 'HC', 'charge': 0.0766}, ('ILE', 'N'): {'type': 'N', 'charge': -0.3821}, ('ILE', 'O'): {'type': 'O2', 'charge': -0.819}, ('ILE', 'OXT'): {'type': 'O2', 'charge': -0.819}, ('LYS', '1HZ'): {'type': 'H', 'charge': 0.3374}, ('LYS', '2HB'): {'type': 'HC', 'charge': 0.0482}, ('LYS', '2HD'): {'type': 'HC', 'charge': 0.0611}, ('LYS', '2HE'): {'type': 'HP', 'charge': 0.1121}, ('LYS', '2HG'): {'type': 'HC', 'charge': 0.0134}, ('LYS', '2HZ'): {'type': 'H', 'charge': 0.3374}, ('LYS', '3HB'): {'type': 'HC', 'charge': 0.0482}, ('LYS', '3HD'): {'type': 'HC', 'charge': 0.0611}, ('LYS', '3HE'): {'type': 'HP', 'charge': 0.1121}, ('LYS', '3HG'): {'type': 'HC', 'charge': 0.0134}, ('LYS', '3HZ'): {'type': 'H', 'charge': 0.3374}, ('LYS', 'C'): {'type': 'C', 'charge': 0.8488}, ('LYS', 'CA'): {'type': 'CT', 'charge': -0.2903}, ('LYS', 'CB'): {'type': 'CT', 'charge': -0.0538}, ('LYS', 'CD'): {'type': 'CT', 'charge': -0.0392}, ('LYS', 'CE'): {'type': 'CT', 'charge': -0.0176}, ('LYS', 'CG'): {'type': 'CT', 'charge': 0.0227}, ('LYS', 'H'): {'type': 'H', 'charge': 0.2764}, ('LYS', 'HA'): {'type': 'H1', 'charge': 0.1438}, ('LYS', 'N'): {'type': 'N', 'charge': -0.3481}, ('LYS', 'NZ'): {'type': 'N3', 'charge': -0.3741}, ('LYS', 'O'): {'type': 'O2', 'charge': -0.8252}, ('LYS', 'OXT'): {'type': 'O2', 'charge': -0.8252}, ('LEU', '1HD1'): {'type': 'HC', 'charge': 0.1038}, ('LEU', '1HD2'): {'type': 'HC', 'charge': 0.1038}, ('LEU', '2HB'): {'type': 'HC', 'charge': 0.0974}, ('LEU', '2HD1'): {'type': 'HC', 'charge': 0.1038}, ('LEU', '2HD2'): {'type': 'HC', 'charge': 0.1038}, ('LEU', '3HB'): {'type': 'HC', 'charge': 0.0974}, ('LEU', '3HD1'): {'type': 'HC', 'charge': 0.1038}, ('LEU', '3HD2'): {'type': 'HC', 'charge': 0.1038}, ('LEU', 'C'): {'type': 'C', 'charge': 0.8326}, ('LEU', 'CA'): {'type': 'CT', 'charge': -0.2847}, ('LEU', 'CB'): {'type': 'CT', 'charge': -0.2469}, ('LEU', 'CD1'): {'type': 'CT', 'charge': -0.4163}, ('LEU', 'CD2'): {'type': 'CT', 'charge': -0.4163}, ('LEU', 'CG'): {'type': 'CT', 'charge': 0.3706}, ('LEU', 'H'): {'type': 'H', 'charge': 0.2681}, ('LEU', 'HA'): {'type': 'H1', 'charge': 0.1346}, ('LEU', 'HG'): {'type': 'HC', 'charge': -0.0374}, ('LEU', 'N'): {'type': 'N', 'charge': -0.3821}, ('LEU', 'O'): {'type': 'O2', 'charge': -0.8199}, ('LEU', 'OXT'): {'type': 'O2', 'charge': -0.8199}, ('MET', '1HE'): {'type': 'H1', 'charge': 0.0625}, ('MET', '2HB'): {'type': 'HC', 'charge': 0.048}, ('MET', '2HE'): {'type': 'H1', 'charge': 0.0625}, ('MET', '2HG'): {'type': 'H1', 'charge': 0.0317}, ('MET', '3HB'): {'type': 'HC', 'charge': 0.048}, ('MET', '3HE'): {'type': 'H1', 'charge': 0.0625}, ('MET', '3HG'): {'type': 'H1', 'charge': 0.0317}, ('MET', 'C'): {'type': 'C', 'charge': 0.8013}, ('MET', 'CA'): {'type': 'CT', 'charge': -0.2597}, ('MET', 'CB'): {'type': 'CT', 'charge': -0.0236}, ('MET', 'CE'): {'type': 'CT', 'charge': -0.0376}, ('MET', 'CG'): {'type': 'CT', 'charge': 0.0492}, ('MET', 'H'): {'type': 'H', 'charge': 0.2681}, ('MET', 'HA'): {'type': 'H1', 'charge': 0.1277}, ('MET', 'N'): {'type': 'N', 'charge': -0.3821}, ('MET', 'O'): {'type': 'O2', 'charge': -0.8105}, ('MET', 'OXT'): {'type': 'O2', 'charge': -0.8105}, ('MET', 'SD'): {'type': 'S', 'charge': -0.2692}, ('ASN', '1HD2'): {'type': 'H', 'charge': 0.415}, ('ASN', '2HB'): {'type': 'HC', 'charge': 0.1023}, ('ASN', '2HD2'): {'type': 'H', 'charge': 0.415}, ('ASN', '3HB'): {'type': 'HC', 'charge': 0.1023}, ('ASN', 'C'): {'type': 'C', 'charge': 0.805}, ('ASN', 'CA'): {'type': 'CT', 'charge': -0.208}, ('ASN', 'CB'): {'type': 'CT', 'charge': -0.2299}, ('ASN', 'CG'): {'type': 'C', 'charge': 0.7153}, ('ASN', 'H'): {'type': 'H', 'charge': 0.2681}, ('ASN', 'HA'): {'type': 'H1', 'charge': 0.1358}, ('ASN', 'N'): {'type': 'N', 'charge': -0.3821}, ('ASN', 'ND2'): {'type': 'N', 'charge': -0.9084}, ('ASN', 'O'): {'type': 'O2', 'charge': -0.8147}, ('ASN', 'OD1'): {'type': 'O', 'charge': -0.601}, ('ASN', 'OXT'): {'type': 'O2', 'charge': -0.8147}, ('PRO', '2HB'): {'type': 'HC', 'charge': 0.0381}, ('PRO', '2HD'): {'type': 'H1', 'charge': 0.0331}, ('PRO', '2HG'): {'type': 'HC', 'charge': 0.0172}, ('PRO', '3HB'): {'type': 'HC', 'charge': 0.0381}, ('PRO', '3HD'): {'type': 'H1', 'charge': 0.0331}, ('PRO', '3HG'): {'type': 'HC', 'charge': 0.0172}, ('PRO', 'C'): {'type': 'C', 'charge': 0.6631}, ('PRO', 'CA'): {'type': 'CT', 'charge': -0.1336}, ('PRO', 'CB'): {'type': 'CT', 'charge': -0.0543}, ('PRO', 'CD'): {'type': 'CT', 'charge': 0.0434}, ('PRO', 'CG'): {'type': 'CT', 'charge': 0.0466}, ('PRO', 'HA'): {'type': 'H1', 'charge': 0.0776}, ('PRO', 'N'): {'type': 'N', 'charge': -0.2802}, ('PRO', 'O'): {'type': 'O2', 'charge': -0.7697}, ('PRO', 'OXT'): {'type': 'O2', 'charge': -0.7697}, ('GLN', '1HE2'): {'type': 'H', 'charge': 0.4304}, ('GLN', '2HB'): {'type': 'HC', 'charge': 0.0452}, ('GLN', '2HE2'): {'type': 'H', 'charge': 0.4304}, ('GLN', '2HG'): {'type': 'HC', 'charge': 0.0203}, ('GLN', '3HB'): {'type': 'HC', 'charge': 0.0452}, ('GLN', '3HG'): {'type': 'HC', 'charge': 0.0203}, ('GLN', 'C'): {'type': 'C', 'charge': 0.7775}, ('GLN', 'CA'): {'type': 'CT', 'charge': -0.2248}, ('GLN', 'CB'): {'type': 'CT', 'charge': -0.0664}, ('GLN', 'CD'): {'type': 'C', 'charge': 0.7093}, ('GLN', 'CG'): {'type': 'CT', 'charge': -0.021}, ('GLN', 'H'): {'type': 'H', 'charge': 0.2681}, ('GLN', 'HA'): {'type': 'H1', 'charge': 0.1232}, ('GLN', 'N'): {'type': 'N', 'charge': -0.3821}, ('GLN', 'NE2'): {'type': 'N', 'charge': -0.9574}, ('GLN', 'O'): {'type': 'O2', 'charge': -0.8042}, ('GLN', 'OE1'): {'type': 'O', 'charge': -0.6098}, ('GLN', 'OXT'): {'type': 'O2', 'charge': -0.8042}, ('ARG', '1HH1'): {'type': 'H', 'charge': 0.4493}, ('ARG', '1HH2'): {'type': 'H', 'charge': 0.4493}, ('ARG', '2HB'): {'type': 'HC', 'charge': 0.0371}, ('ARG', '2HD'): {'type': 'H1', 'charge': 0.0468}, ('ARG', '2HG'): {'type': 'HC', 'charge': 0.0185}, ('ARG', '2HH1'): {'type': 'H', 'charge': 0.4493}, ('ARG', '2HH2'): {'type': 'H', 'charge': 0.4493}, ('ARG', '3HB'): {'type': 'HC', 'charge': 0.0371}, ('ARG', '3HD'): {'type': 'H1', 'charge': 0.0468}, ('ARG', '3HG'): {'type': 'HC', 'charge': 0.0185}, ('ARG', 'C'): {'type': 'C', 'charge': 0.8557}, ('ARG', 'CA'): {'type': 'CT', 'charge': -0.3068}, ('ARG', 'CB'): {'type': 'CT', 'charge': -0.0374}, ('ARG', 'CD'): {'type': 'CT', 'charge': 0.1114}, ('ARG', 'CG'): {'type': 'CT', 'charge': 0.0744}, ('ARG', 'CZ'): {'type': 'CA', 'charge': 0.8368}, ('ARG', 'H'): {'type': 'H', 'charge': 0.2764}, ('ARG', 'HA'): {'type': 'H1', 'charge': 0.1447}, ('ARG', 'HE'): {'type': 'H', 'charge': 0.3479}, ('ARG', 'N'): {'type': 'N', 'charge': -0.3481}, ('ARG', 'NE'): {'type': 'N2', 'charge': -0.5564}, ('ARG', 'NH1'): {'type': 'N2', 'charge': -0.8737}, ('ARG', 'NH2'): {'type': 'N2', 'charge': -0.8737}, ('ARG', 'O'): {'type': 'O2', 'charge': -0.8266}, ('ARG', 'OXT'): {'type': 'O2', 'charge': -0.8266}, ('SER', '2HB'): {'type': 'H1', 'charge': 0.0813}, ('SER', '3HB'): {'type': 'H1', 'charge': 0.0813}, ('SER', 'C'): {'type': 'C', 'charge': 0.8113}, ('SER', 'CA'): {'type': 'CT', 'charge': -0.2722}, ('SER', 'CB'): {'type': 'CT', 'charge': 0.1123}, ('SER', 'H'): {'type': 'H', 'charge': 0.2681}, ('SER', 'HA'): {'type': 'H1', 'charge': 0.1304}, ('SER', 'HG'): {'type': 'HO', 'charge': 0.4474}, ('SER', 'N'): {'type': 'N', 'charge': -0.3821}, ('SER', 'O'): {'type': 'O2', 'charge': -0.8132}, ('SER', 'OG'): {'type': 'OH', 'charge': -0.6514}, ('SER', 'OXT'): {'type': 'O2', 'charge': -0.8132}, ('THR', '1HG'): {'type': 'HO', 'charge': 0.4119}, ('THR', '1HG2'): {'type': 'HC', 'charge': 0.0586}, ('THR', '2HG2'): {'type': 'HC', 'charge': 0.0586}, ('THR', '3HG2'): {'type': 'HC', 'charge': 0.0586}, ('THR', 'C'): {'type': 'C', 'charge': 0.781}, ('THR', 'CA'): {'type': 'CT', 'charge': -0.242}, ('THR', 'CB'): {'type': 'CT', 'charge': 0.3025}, ('THR', 'CG2'): {'type': 'CT', 'charge': -0.1853}, ('THR', 'H'): {'type': 'H', 'charge': 0.2681}, ('THR', 'HA'): {'type': 'H1', 'charge': 0.1207}, ('THR', 'HB'): {'type': 'H1', 'charge': 0.0078}, ('THR', 'N'): {'type': 'N', 'charge': -0.3821}, ('THR', 'O'): {'type': 'O2', 'charge': -0.8044}, ('THR', 'OG1'): {'type': 'OH', 'charge': -0.6496}, ('THR', 'OXT'): {'type': 'O2', 'charge': -0.8044}, ('VAL', '1HG1'): {'type': 'HC', 'charge': 0.0836}, ('VAL', '1HG2'): {'type': 'HC', 'charge': 0.0836}, ('VAL', '2HG1'): {'type': 'HC', 'charge': 0.0836}, ('VAL', '2HG2'): {'type': 'HC', 'charge': 0.0836}, ('VAL', '3HG1'): {'type': 'HC', 'charge': 0.0836}, ('VAL', '3HG2'): {'type': 'HC', 'charge': 0.0836}, ('VAL', 'C'): {'type': 'C', 'charge': 0.835}, ('VAL', 'CA'): {'type': 'CT', 'charge': -0.3438}, ('VAL', 'CB'): {'type': 'CT', 'charge': 0.194}, ('VAL', 'CG1'): {'type': 'CT', 'charge': -0.3064}, ('VAL', 'CG2'): {'type': 'CT', 'charge': -0.3064}, ('VAL', 'H'): {'type': 'H', 'charge': 0.2681}, ('VAL', 'HA'): {'type': 'H1', 'charge': 0.1438}, ('VAL', 'HB'): {'type': 'HC', 'charge': 0.0308}, ('VAL', 'N'): {'type': 'N', 'charge': -0.3821}, ('VAL', 'O'): {'type': 'O2', 'charge': -0.8173}, ('VAL', 'OXT'): {'type': 'O2', 'charge': -0.8173}, ('TRP', '1HD'): {'type': 'H4', 'charge': 0.2043}, ('TRP', '1HE'): {'type': 'H', 'charge': 0.3413}, ('TRP', '2HB'): {'type': 'HC', 'charge': 0.0497}, ('TRP', '2HH'): {'type': 'HA', 'charge': 0.1401}, ('TRP', '2HZ'): {'type': 'HA', 'charge': 0.1567}, ('TRP', '3HB'): {'type': 'HC', 'charge': 0.0497}, ('TRP', '3HE'): {'type': 'HA', 'charge': 0.1491}, ('TRP', '3HZ'): {'type': 'HA', 'charge': 0.1507}, ('TRP', 'C'): {'type': 'C', 'charge': 0.7658}, ('TRP', 'CA'): {'type': 'CT', 'charge': -0.2084}, ('TRP', 'CB'): {'type': 'CT', 'charge': -0.0742}, ('TRP', 'CD1'): {'type': 'CW', 'charge': -0.1808}, ('TRP', 'CD2'): {'type': 'CB', 'charge': 0.1078}, ('TRP', 'CE2'): {'type': 'CN', 'charge': 0.1222}, ('TRP', 'CE3'): {'type': 'CA', 'charge': -0.1837}, ('TRP', 'CG'): {'type': 'C*', 'charge': -0.0796}, ('TRP', 'CH2'): {'type': 'CA', 'charge': -0.102}, ('TRP', 'CZ2'): {'type': 'CA', 'charge': -0.2594}, ('TRP', 'CZ3'): {'type': 'CA', 'charge': -0.2287}, ('TRP', 'H'): {'type': 'H', 'charge': 0.2681}, ('TRP', 'HA'): {'type': 'H1', 'charge': 0.1272}, ('TRP', 'N'): {'type': 'N', 'charge': -0.3821}, ('TRP', 'NE1'): {'type': 'NA', 'charge': -0.3316}, ('TRP', 'O'): {'type': 'O2', 'charge': -0.8011}, ('TRP', 'OXT'): {'type': 'O2', 'charge': -0.8011}, ('TYR', '1HD'): {'type': 'HA', 'charge': 0.178}, ('TYR', '1HE'): {'type': 'HA', 'charge': 0.1673}, ('TYR', '2HB'): {'type': 'HC', 'charge': 0.049}, ('TYR', '2HD'): {'type': 'HA', 'charge': 0.178}, ('TYR', '2HE'): {'type': 'HA', 'charge': 0.1673}, ('TYR', '3HB'): {'type': 'HC', 'charge': 0.049}, ('TYR', 'C'): {'type': 'C', 'charge': 0.7817}, ('TYR', 'CA'): {'type': 'CT', 'charge': -0.2015}, ('TYR', 'CB'): {'type': 'CT', 'charge': -0.0752}, ('TYR', 'CD1'): {'type': 'CA', 'charge': -0.1922}, ('TYR', 'CD2'): {'type': 'CA', 'charge': -0.1922}, ('TYR', 'CE1'): {'type': 'CA', 'charge': -0.2458}, ('TYR', 'CE2'): {'type': 'CA', 'charge': -0.2458}, ('TYR', 'CG'): {'type': 'CA', 'charge': 0.0243}, ('TYR', 'CZ'): {'type': 'C', 'charge': 0.3395}, ('TYR', 'H'): {'type': 'H', 'charge': 0.2681}, ('TYR', 'HA'): {'type': 'H1', 'charge': 0.1092}, ('TYR', 'HH'): {'type': 'HO', 'charge': 0.4017}, ('TYR', 'N'): {'type': 'N', 'charge': -0.3821}, ('TYR', 'O'): {'type': 'O2', 'charge': -0.807}, ('TYR', 'OH'): {'type': 'OH', 'charge': -0.5643}, ('TYR', 'OXT'): {'type': 'O2', 'charge': -0.807}}
class Data(): pass class PersonalInfo(Data): def __init__(self): self.ID = "" self.age = "" self.gender = "U" # "M" for male, "F" for female or "U" as unknown self.language = "" # "French", "Chinese" def setParams(self, ID, age, gender, language): self.ID = ID self.age = age self.gender = gender self.language = language class Annotation(Data): def __init__(self): self.ID = "" self.genre = "" # "Arousal", "Happiness", "Confidence" self.dimension = [] # [-1, 1] if having different length frames each having 1 value self.path = "" self.headers = [] # exp: ["GoldStandard"] or ["Arousal", "Valence"] self.annotator_info = PersonalInfo() def setParams(self, ID, genre, dimension, path, headers): self.ID = ID self.genre = genre self.dimension = dimension self.path = path self.headers = headers class Features(Data): def __init__(self): self.ID = "" self.genre = "" # "eGeMAPS" self.dimension = [] # [-1, 39] if different length frames each having 39 values self.path = "" def setParams(self, ID, genre, dimension, path): self.ID = ID self.genre = genre self.dimension = dimension self.path = path class AudioSample(Data): def __init__(self): self.ID = "" self.path = "" self.partition = "" # "train", "dev", "test" self.transcriptions = {} # {'ID':''}, where ID can be "Ziyi", "ASR", ... self.speaker_info = PersonalInfo() self.features = {} # [1, Features()] self.annotations = {} # [Annotation()] def setParams(self, ID, path, partition): self.ID = ID self.path = path self.partition = partition def classToDic(dic): if isinstance(dic, dict): for key in dic.keys(): if isinstance(dic[key], Data): dic[key] = classToDic(dic[key]) if isinstance(dic[key], list): for i, item in enumerate(dic[key]): dic[key][i] = classToDic(item) elif isinstance(dic, Data): return classToDic(dic.__dict__) return dic def localizePaths(dic, mainPath): # Change this path to that path if isinstance(dic, dict): for key in dic.keys(): if key == "path": dic[key] = dic[key].replace(mainPath, ".") dic[key] = dic[key].replace("./", "") if dic[key][0] == ".": dic[key] = dic[key][1:] else: localizePaths(dic[key], mainPath) return dic def changePaths(dic, This, That): # Change this path to that path if isinstance(dic, dict): for key in dic.keys(): if key == "path": dic[key] = dic[key].replace(This, That) else: changePaths(dic[key], This, That) return dic
class Data: pass class Personalinfo(Data): def __init__(self): self.ID = '' self.age = '' self.gender = 'U' self.language = '' def set_params(self, ID, age, gender, language): self.ID = ID self.age = age self.gender = gender self.language = language class Annotation(Data): def __init__(self): self.ID = '' self.genre = '' self.dimension = [] self.path = '' self.headers = [] self.annotator_info = personal_info() def set_params(self, ID, genre, dimension, path, headers): self.ID = ID self.genre = genre self.dimension = dimension self.path = path self.headers = headers class Features(Data): def __init__(self): self.ID = '' self.genre = '' self.dimension = [] self.path = '' def set_params(self, ID, genre, dimension, path): self.ID = ID self.genre = genre self.dimension = dimension self.path = path class Audiosample(Data): def __init__(self): self.ID = '' self.path = '' self.partition = '' self.transcriptions = {} self.speaker_info = personal_info() self.features = {} self.annotations = {} def set_params(self, ID, path, partition): self.ID = ID self.path = path self.partition = partition def class_to_dic(dic): if isinstance(dic, dict): for key in dic.keys(): if isinstance(dic[key], Data): dic[key] = class_to_dic(dic[key]) if isinstance(dic[key], list): for (i, item) in enumerate(dic[key]): dic[key][i] = class_to_dic(item) elif isinstance(dic, Data): return class_to_dic(dic.__dict__) return dic def localize_paths(dic, mainPath): if isinstance(dic, dict): for key in dic.keys(): if key == 'path': dic[key] = dic[key].replace(mainPath, '.') dic[key] = dic[key].replace('./', '') if dic[key][0] == '.': dic[key] = dic[key][1:] else: localize_paths(dic[key], mainPath) return dic def change_paths(dic, This, That): if isinstance(dic, dict): for key in dic.keys(): if key == 'path': dic[key] = dic[key].replace(This, That) else: change_paths(dic[key], This, That) return dic
horario = input('que horas sao de 0-23') if horario.isdigit(): horario = int(horario) if horario < 0 or horario > 23: print('horario de ser de 0 a 23') else: if horario <= 11: print('bom dia') elif horario <= 17: print('boa tarde') else: print('boa noite') else: print('digite um horariocom numeros')
horario = input('que horas sao de 0-23') if horario.isdigit(): horario = int(horario) if horario < 0 or horario > 23: print('horario de ser de 0 a 23') elif horario <= 11: print('bom dia') elif horario <= 17: print('boa tarde') else: print('boa noite') else: print('digite um horariocom numeros')
# Load our airplanes airplanes = spark.read.json("data/airplanes.json") airplanes.show() airplanes.write.format("org.elasticsearch.spark.sql")\ .option("es.resource","agile_data_science/airplane")\ .mode("overwrite")\ .save() # Format data for Elasticsearch, as a tuple with a dummy key in the first field # airplanes_dict = airplanes.rdd.map(lambda x: ('ignored_key', x.asDict())) # # airplanes_dict.saveAsNewAPIHadoopFile( # path='-', # outputFormatClass="org.elasticsearch.hadoop.mr.EsOutputFormat", # keyClass="org.apache.hadoop.io.NullWritable", # valueClass="org.elasticsearch.hadoop.mr.LinkedMapWritable", # conf={ "es.resource" : "agile_data_science/airplanes" })
airplanes = spark.read.json('data/airplanes.json') airplanes.show() airplanes.write.format('org.elasticsearch.spark.sql').option('es.resource', 'agile_data_science/airplane').mode('overwrite').save()
#Ver4.0, finally I did it! print("Grego -> Mingo Year Translator") grego = int(input("What's that year in Grego? ")) mingo = grego - 1911 if mingo >= 0: print ("So that year in Mingo year is:", mingo) else: print ("Sorry, in that year ROC was not exist.")
print('Grego -> Mingo Year Translator') grego = int(input("What's that year in Grego? ")) mingo = grego - 1911 if mingo >= 0: print('So that year in Mingo year is:', mingo) else: print('Sorry, in that year ROC was not exist.')
with open("words.txt", "r") as f: words = f.readlines()[0].split() words_found = {x: 0 for x in words} with open("input.txt", 'r') as f: for num, line in enumerate(f, start=1): for word in words: if word in line: words_found[word] += 1 with open("output.txt", "w") as f: for word, count in sorted(words_found.items(), key=lambda x: -x[1]): f.write(f"{word} - {count}\n")
with open('words.txt', 'r') as f: words = f.readlines()[0].split() words_found = {x: 0 for x in words} with open('input.txt', 'r') as f: for (num, line) in enumerate(f, start=1): for word in words: if word in line: words_found[word] += 1 with open('output.txt', 'w') as f: for (word, count) in sorted(words_found.items(), key=lambda x: -x[1]): f.write(f'{word} - {count}\n')
_DEFAULT_BROWSER = "firefox" _COMMON_TAGS = [ "browser-test", "no-sandbox", "requires-network", ] _BROWSERS = { "chrome": { "deps": ["//java/client/src/org/openqa/selenium/chrome"], "jvm_flags": ["-Dselenium.browser=chrome"], "tags": _COMMON_TAGS + ["chrome"], }, "edge": { "deps": ["//java/client/src/org/openqa/selenium/edge"], "jvm_flags": ["-Dselenium.browser=edge"], "tags": _COMMON_TAGS + ["edge"], }, "edgehtml": { "deps": ["//java/client/src/org/openqa/selenium/edgehtml"], "jvm_flags": ["-Dselenium.browser=edgehtml"] + select({ "//common:windows": ["-Dselenium.skiptest=false"], "//conditions:default": ["-Dselenium.skiptest=true"], }), "tags": _COMMON_TAGS + ["exclusive", "edgehtml"], }, "firefox": { "deps": ["//java/client/src/org/openqa/selenium/firefox"], "jvm_flags": ["-Dselenium.browser=ff"], "tags": _COMMON_TAGS + ["firefox"], }, "ie": { "deps": ["//java/client/src/org/openqa/selenium/ie"], "jvm_flags": ["-Dselenium.browser=ie"] + select({ "//common:windows": ["-Dselenium.skiptest=false"], "//conditions:default": ["-Dselenium.skiptest=true"], }), "tags": _COMMON_TAGS + ["exclusive", "ie"], }, "safari": { "deps": ["//java/client/src/org/openqa/selenium/safari"], "jvm_flags": ["-Dselenium.browser=safari"] + select({ "//common:macos": ["-Dselenium.skiptest=false"], "//conditions:default": ["-Dselenium.skiptest=true"], }), "tags": _COMMON_TAGS + ["exclusive", "safari"], }, } def selenium_test(name, test_class, size = "medium", browsers = None, **kwargs): if browsers == None: browsers = _BROWSERS.keys() if len(browsers) == 0: fail("At least one browser must be specified.") default_browser = _DEFAULT_BROWSER if _DEFAULT_BROWSER in browsers else browsers[0] tests = [] test_name = test_class.rpartition(".")[2] jvm_flags = kwargs["jvm_flags"] if "jvm_flags" in kwargs else [] tags = kwargs["tags"] if "tags" in kwargs else [] stripped_args = dict(**kwargs) stripped_args.pop("jvm_flags", None) stripped_args.pop("tags", None) for browser in browsers: if not browser in _BROWSERS: fail("Unrecognized browser: " + browser) test = test_name if browser == default_browser else "%s-%s" % (test_name, browser) native.java_test( name = test, test_class = test_class, size = size, jvm_flags = _BROWSERS[browser]["jvm_flags"] + jvm_flags, tags = _BROWSERS[browser]["tags"] + tags, **stripped_args ) tests.append(test) if not "no-remote" in tags: data = kwargs["data"] if "data" in kwargs else [] stripped_args.pop("data", None) native.java_test( name = "%s-remote" % test, test_class = test_class, size = size, jvm_flags = _BROWSERS[browser]["jvm_flags"] + jvm_flags + [ "-Dselenium.browser.remote=true", "-Dselenium.browser.remote.path=$(location //java/server/src/org/openqa/selenium/grid:selenium_server_deploy.jar)", ], tags = _BROWSERS[browser]["tags"] + tags + ["remote"], data = data + [ "//java/server/src/org/openqa/selenium/grid:selenium_server_deploy.jar", ], **stripped_args ) tests.append("%s-remote" % test) native.test_suite(name = "%s-all" % test_name, tests = tests, tags = ["manual"])
_default_browser = 'firefox' _common_tags = ['browser-test', 'no-sandbox', 'requires-network'] _browsers = {'chrome': {'deps': ['//java/client/src/org/openqa/selenium/chrome'], 'jvm_flags': ['-Dselenium.browser=chrome'], 'tags': _COMMON_TAGS + ['chrome']}, 'edge': {'deps': ['//java/client/src/org/openqa/selenium/edge'], 'jvm_flags': ['-Dselenium.browser=edge'], 'tags': _COMMON_TAGS + ['edge']}, 'edgehtml': {'deps': ['//java/client/src/org/openqa/selenium/edgehtml'], 'jvm_flags': ['-Dselenium.browser=edgehtml'] + select({'//common:windows': ['-Dselenium.skiptest=false'], '//conditions:default': ['-Dselenium.skiptest=true']}), 'tags': _COMMON_TAGS + ['exclusive', 'edgehtml']}, 'firefox': {'deps': ['//java/client/src/org/openqa/selenium/firefox'], 'jvm_flags': ['-Dselenium.browser=ff'], 'tags': _COMMON_TAGS + ['firefox']}, 'ie': {'deps': ['//java/client/src/org/openqa/selenium/ie'], 'jvm_flags': ['-Dselenium.browser=ie'] + select({'//common:windows': ['-Dselenium.skiptest=false'], '//conditions:default': ['-Dselenium.skiptest=true']}), 'tags': _COMMON_TAGS + ['exclusive', 'ie']}, 'safari': {'deps': ['//java/client/src/org/openqa/selenium/safari'], 'jvm_flags': ['-Dselenium.browser=safari'] + select({'//common:macos': ['-Dselenium.skiptest=false'], '//conditions:default': ['-Dselenium.skiptest=true']}), 'tags': _COMMON_TAGS + ['exclusive', 'safari']}} def selenium_test(name, test_class, size='medium', browsers=None, **kwargs): if browsers == None: browsers = _BROWSERS.keys() if len(browsers) == 0: fail('At least one browser must be specified.') default_browser = _DEFAULT_BROWSER if _DEFAULT_BROWSER in browsers else browsers[0] tests = [] test_name = test_class.rpartition('.')[2] jvm_flags = kwargs['jvm_flags'] if 'jvm_flags' in kwargs else [] tags = kwargs['tags'] if 'tags' in kwargs else [] stripped_args = dict(**kwargs) stripped_args.pop('jvm_flags', None) stripped_args.pop('tags', None) for browser in browsers: if not browser in _BROWSERS: fail('Unrecognized browser: ' + browser) test = test_name if browser == default_browser else '%s-%s' % (test_name, browser) native.java_test(name=test, test_class=test_class, size=size, jvm_flags=_BROWSERS[browser]['jvm_flags'] + jvm_flags, tags=_BROWSERS[browser]['tags'] + tags, **stripped_args) tests.append(test) if not 'no-remote' in tags: data = kwargs['data'] if 'data' in kwargs else [] stripped_args.pop('data', None) native.java_test(name='%s-remote' % test, test_class=test_class, size=size, jvm_flags=_BROWSERS[browser]['jvm_flags'] + jvm_flags + ['-Dselenium.browser.remote=true', '-Dselenium.browser.remote.path=$(location //java/server/src/org/openqa/selenium/grid:selenium_server_deploy.jar)'], tags=_BROWSERS[browser]['tags'] + tags + ['remote'], data=data + ['//java/server/src/org/openqa/selenium/grid:selenium_server_deploy.jar'], **stripped_args) tests.append('%s-remote' % test) native.test_suite(name='%s-all' % test_name, tests=tests, tags=['manual'])
#!/usr/bin/env python3 # encoding: utf-8 # like itertools.zip_longest, but with no fillvalue # written for https://github.com/erikrose/more-itertools/pull/240#issuecomment-441513474 def zip(*iterables): iterators = list(map(iter, iterables)) while True: to_yield = _build_zipped_tuple(iterators) if not to_yield: return yield to_yield def _build_zipped_tuple(iterables): vals = [] for iterable in iterables: try: vals.append(next(iterable)) except StopIteration: break return tuple(vals) if __name__ == '__main__': for xs in zip((1, 2, 3), (1, 2), (1,)): print(xs)
def zip(*iterables): iterators = list(map(iter, iterables)) while True: to_yield = _build_zipped_tuple(iterators) if not to_yield: return yield to_yield def _build_zipped_tuple(iterables): vals = [] for iterable in iterables: try: vals.append(next(iterable)) except StopIteration: break return tuple(vals) if __name__ == '__main__': for xs in zip((1, 2, 3), (1, 2), (1,)): print(xs)
# # PySNMP MIB module Nortel-Magellan-Passport-BgpMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-BgpMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:17:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint") vrIp, vrIpIndex = mibBuilder.importSymbols("Nortel-Magellan-Passport-IpMIB", "vrIp", "vrIpIndex") Counter32, DisplayString, StorageType, Gauge32, Unsigned32, Integer32, RowStatus = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "Counter32", "DisplayString", "StorageType", "Gauge32", "Unsigned32", "Integer32", "RowStatus") HexString, NonReplicated, Hex, AsciiString, IntegerSequence = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "HexString", "NonReplicated", "Hex", "AsciiString", "IntegerSequence") passportMIBs, = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "passportMIBs") vrIndex, = mibBuilder.importSymbols("Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Counter32, MibIdentifier, iso, TimeTicks, ObjectIdentity, ModuleIdentity, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, Unsigned32, Bits, Counter64, NotificationType, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "MibIdentifier", "iso", "TimeTicks", "ObjectIdentity", "ModuleIdentity", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "Unsigned32", "Bits", "Counter64", "NotificationType", "IpAddress") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") bgpMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141)) vrIpBgp = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21)) vrIpBgpRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1), ) if mibBuilder.loadTexts: vrIpBgpRowStatusTable.setStatus('mandatory') vrIpBgpRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpRowStatusEntry.setStatus('mandatory') vrIpBgpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpRowStatus.setStatus('mandatory') vrIpBgpComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpComponentName.setStatus('mandatory') vrIpBgpStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpStorageType.setStatus('mandatory') vrIpBgpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: vrIpBgpIndex.setStatus('mandatory') vrIpBgpProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100), ) if mibBuilder.loadTexts: vrIpBgpProvTable.setStatus('mandatory') vrIpBgpProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpProvEntry.setStatus('mandatory') vrIpBgpBgpIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpBgpIdentifier.setStatus('mandatory') vrIpBgpLocalAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpLocalAs.setStatus('mandatory') vrIpBgpDefaultLocalPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(144)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpDefaultLocalPreference.setStatus('mandatory') vrIpBgpDefaultMultiExitDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(4294967294)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpDefaultMultiExitDisc.setStatus('mandatory') vrIpBgpRouteThrottleLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)).clone(250)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpRouteThrottleLimit.setStatus('mandatory') vrIpBgpRouteThrottleInter = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 30)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpRouteThrottleInter.setStatus('mandatory') vrIpBgpRouteReflector = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpRouteReflector.setStatus('mandatory') vrIpBgpRouteReflectorCluster = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 8), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpRouteReflectorCluster.setStatus('mandatory') vrIpBgpOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101), ) if mibBuilder.loadTexts: vrIpBgpOperTable.setStatus('mandatory') vrIpBgpOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpOperEntry.setStatus('mandatory') vrIpBgpTableVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpTableVersion.setStatus('mandatory') vrIpBgpInMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpInMsgs.setStatus('mandatory') vrIpBgpInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpInErrors.setStatus('mandatory') vrIpBgpInErrorMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpInErrorMsgs.setStatus('mandatory') vrIpBgpOutMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutMsgs.setStatus('mandatory') vrIpBgpOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutDiscards.setStatus('mandatory') vrIpBgpOutErrorMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutErrorMsgs.setStatus('mandatory') vrIpBgpIndbSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbSize.setStatus('mandatory') vrIpBgpStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102), ) if mibBuilder.loadTexts: vrIpBgpStateTable.setStatus('mandatory') vrIpBgpStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpStateEntry.setStatus('mandatory') vrIpBgpAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAdminState.setStatus('mandatory') vrIpBgpOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOperationalState.setStatus('mandatory') vrIpBgpUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpUsageState.setStatus('mandatory') vrIpBgpAdminControlTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103), ) if mibBuilder.loadTexts: vrIpBgpAdminControlTable.setStatus('mandatory') vrIpBgpAdminControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpAdminControlEntry.setStatus('mandatory') vrIpBgpSnmpAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpSnmpAdminStatus.setStatus('mandatory') vrIpBgpOperStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106), ) if mibBuilder.loadTexts: vrIpBgpOperStatusTable.setStatus('mandatory') vrIpBgpOperStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex")) if mibBuilder.loadTexts: vrIpBgpOperStatusEntry.setStatus('mandatory') vrIpBgpSnmpOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpSnmpOperStatus.setStatus('mandatory') vrIpBgpPeer = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2)) vrIpBgpPeerRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1), ) if mibBuilder.loadTexts: vrIpBgpPeerRowStatusTable.setStatus('mandatory') vrIpBgpPeerRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpPeerPeerAddressIndex")) if mibBuilder.loadTexts: vrIpBgpPeerRowStatusEntry.setStatus('mandatory') vrIpBgpPeerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerRowStatus.setStatus('mandatory') vrIpBgpPeerComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerComponentName.setStatus('mandatory') vrIpBgpPeerStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerStorageType.setStatus('mandatory') vrIpBgpPeerPeerAddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 10), IpAddress()) if mibBuilder.loadTexts: vrIpBgpPeerPeerAddressIndex.setStatus('mandatory') vrIpBgpPeerProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10), ) if mibBuilder.loadTexts: vrIpBgpPeerProvTable.setStatus('mandatory') vrIpBgpPeerProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpPeerPeerAddressIndex")) if mibBuilder.loadTexts: vrIpBgpPeerProvEntry.setStatus('mandatory') vrIpBgpPeerPeerAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerPeerAs.setStatus('mandatory') vrIpBgpPeerLocalAddressConfigured = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 2), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerLocalAddressConfigured.setStatus('mandatory') vrIpBgpPeerKeepAliveConfigured = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 21845)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerKeepAliveConfigured.setStatus('mandatory') vrIpBgpPeerHoldTimeConfigured = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(3, 65535), )).clone(90)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerHoldTimeConfigured.setStatus('mandatory') vrIpBgpPeerConnectRetryTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(120)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerConnectRetryTime.setStatus('mandatory') vrIpBgpPeerMinAsOrigTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerMinAsOrigTime.setStatus('mandatory') vrIpBgpPeerMinRouteAdvTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerMinRouteAdvTime.setStatus('mandatory') vrIpBgpPeerDefaultInAggMed = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(4294967295)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerDefaultInAggMed.setStatus('mandatory') vrIpBgpPeerIsRouteReflectorClient = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpPeerIsRouteReflectorClient.setStatus('mandatory') vrIpBgpPeerStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11), ) if mibBuilder.loadTexts: vrIpBgpPeerStateTable.setStatus('mandatory') vrIpBgpPeerStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpPeerPeerAddressIndex")) if mibBuilder.loadTexts: vrIpBgpPeerStateEntry.setStatus('mandatory') vrIpBgpPeerAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerAdminState.setStatus('mandatory') vrIpBgpPeerOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerOperationalState.setStatus('mandatory') vrIpBgpPeerUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerUsageState.setStatus('mandatory') vrIpBgpPeerOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12), ) if mibBuilder.loadTexts: vrIpBgpPeerOperTable.setStatus('mandatory') vrIpBgpPeerOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpPeerPeerAddressIndex")) if mibBuilder.loadTexts: vrIpBgpPeerOperEntry.setStatus('mandatory') vrIpBgpPeerConnectionState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("idle", 1), ("connect", 2), ("active", 3), ("openSent", 4), ("openConfirm", 5), ("established", 6))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerConnectionState.setStatus('mandatory') vrIpBgpPeerBgpIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerBgpIdentifier.setStatus('mandatory') vrIpBgpPeerVersionNegotiated = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerVersionNegotiated.setStatus('mandatory') vrIpBgpPeerHoldTimeNegotiated = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 6), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(3, 65535), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerHoldTimeNegotiated.setStatus('mandatory') vrIpBgpPeerKeepAliveNegotiated = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 21845))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerKeepAliveNegotiated.setStatus('mandatory') vrIpBgpPeerLocalAddressUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 8), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerLocalAddressUsed.setStatus('mandatory') vrIpBgpPeerLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerLocalPort.setStatus('mandatory') vrIpBgpPeerRemotePort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerRemotePort.setStatus('mandatory') vrIpBgpPeerLastError = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 11), HexString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerLastError.setStatus('mandatory') vrIpBgpPeerConnectionEstablishedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 12), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerConnectionEstablishedTime.setStatus('mandatory') vrIpBgpPeerConnectionEstablishedTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerConnectionEstablishedTransitions.setStatus('mandatory') vrIpBgpPeerInUpdateElapsedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 14), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInUpdateElapsedTime.setStatus('mandatory') vrIpBgpPeerInMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInMsgs.setStatus('mandatory') vrIpBgpPeerInUpdates = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInUpdates.setStatus('mandatory') vrIpBgpPeerInErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInErrors.setStatus('mandatory') vrIpBgpPeerInErrorMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInErrorMsgs.setStatus('mandatory') vrIpBgpPeerOutMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerOutMsgs.setStatus('mandatory') vrIpBgpPeerOutUpdates = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerOutUpdates.setStatus('mandatory') vrIpBgpPeerOutDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerOutDiscards.setStatus('mandatory') vrIpBgpPeerOutErrorMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerOutErrorMsgs.setStatus('mandatory') vrIpBgpPeerInRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpPeerInRoutes.setStatus('mandatory') vrIpBgpImport = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3)) vrIpBgpImportRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1), ) if mibBuilder.loadTexts: vrIpBgpImportRowStatusTable.setStatus('mandatory') vrIpBgpImportRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportIndex")) if mibBuilder.loadTexts: vrIpBgpImportRowStatusEntry.setStatus('mandatory') vrIpBgpImportRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportRowStatus.setStatus('mandatory') vrIpBgpImportComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpImportComponentName.setStatus('mandatory') vrIpBgpImportStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpImportStorageType.setStatus('mandatory') vrIpBgpImportIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpImportIndex.setStatus('mandatory') vrIpBgpImportProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10), ) if mibBuilder.loadTexts: vrIpBgpImportProvTable.setStatus('mandatory') vrIpBgpImportProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportIndex")) if mibBuilder.loadTexts: vrIpBgpImportProvEntry.setStatus('mandatory') vrIpBgpImportPeerAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportPeerAs.setStatus('mandatory') vrIpBgpImportPeerIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 2), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportPeerIpAddress.setStatus('mandatory') vrIpBgpImportOriginAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportOriginAs.setStatus('mandatory') vrIpBgpImportOriginProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("any", 0), ("igp", 1), ("egp", 2), ("incomplete", 3))).clone('any')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportOriginProtocol.setStatus('mandatory') vrIpBgpImportUsageFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("use", 1), ("ignore", 2), ("exclude", 3))).clone('use')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportUsageFlag.setStatus('mandatory') vrIpBgpImportLocalPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportLocalPreference.setStatus('mandatory') vrIpBgpImportPreferredOver = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(6, 70))).clone(namedValues=NamedValues(("overIntOspf", 6), ("underIntOspf", 70))).clone('underIntOspf')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportPreferredOver.setStatus('mandatory') vrIpBgpImportAsPathExpression = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 8), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportAsPathExpression.setStatus('mandatory') vrIpBgpImportCommunityExpression = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 9), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportCommunityExpression.setStatus('mandatory') vrIpBgpImportExpressPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportExpressPreference.setStatus('mandatory') vrIpBgpImportAppendCommunity = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportAppendCommunity.setStatus('mandatory') vrIpBgpImportNet = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2)) vrIpBgpImportNetRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1), ) if mibBuilder.loadTexts: vrIpBgpImportNetRowStatusTable.setStatus('mandatory') vrIpBgpImportNetRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportNetIndex")) if mibBuilder.loadTexts: vrIpBgpImportNetRowStatusEntry.setStatus('mandatory') vrIpBgpImportNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportNetRowStatus.setStatus('mandatory') vrIpBgpImportNetComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpImportNetComponentName.setStatus('mandatory') vrIpBgpImportNetStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpImportNetStorageType.setStatus('mandatory') vrIpBgpImportNetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpImportNetIndex.setStatus('mandatory') vrIpBgpImportNetProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10), ) if mibBuilder.loadTexts: vrIpBgpImportNetProvTable.setStatus('mandatory') vrIpBgpImportNetProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpImportNetIndex")) if mibBuilder.loadTexts: vrIpBgpImportNetProvEntry.setStatus('mandatory') vrIpBgpImportNetPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportNetPrefix.setStatus('mandatory') vrIpBgpImportNetLength = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpImportNetLength.setStatus('mandatory') vrIpBgpExport = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4)) vrIpBgpExportRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1), ) if mibBuilder.loadTexts: vrIpBgpExportRowStatusTable.setStatus('mandatory') vrIpBgpExportRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportIndex")) if mibBuilder.loadTexts: vrIpBgpExportRowStatusEntry.setStatus('mandatory') vrIpBgpExportRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportRowStatus.setStatus('mandatory') vrIpBgpExportComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpExportComponentName.setStatus('mandatory') vrIpBgpExportStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpExportStorageType.setStatus('mandatory') vrIpBgpExportIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpExportIndex.setStatus('mandatory') vrIpBgpExportProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10), ) if mibBuilder.loadTexts: vrIpBgpExportProvTable.setStatus('mandatory') vrIpBgpExportProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportIndex")) if mibBuilder.loadTexts: vrIpBgpExportProvEntry.setStatus('mandatory') vrIpBgpExportPeerAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportPeerAs.setStatus('mandatory') vrIpBgpExportPeerIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 2), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportPeerIpAddress.setStatus('mandatory') vrIpBgpExportProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("all", 1), ("egp", 2), ("rip", 3), ("ospfInternal", 4), ("ospfExternal", 5), ("staticLocal", 6), ("staticRemote", 7), ("bgpInternal", 8), ("bgpExternal", 9))).clone('all')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportProtocol.setStatus('mandatory') vrIpBgpExportEgpAsId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportEgpAsId.setStatus('mandatory') vrIpBgpExportBgpAsId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportBgpAsId.setStatus('mandatory') vrIpBgpExportOspfTag = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 6), Hex().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(4294967295)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportOspfTag.setStatus('mandatory') vrIpBgpExportRipInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 7), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportRipInterface.setStatus('mandatory') vrIpBgpExportRipNeighbor = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 8), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportRipNeighbor.setStatus('mandatory') vrIpBgpExportAdvertiseStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("send", 1), ("block", 2))).clone('send')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportAdvertiseStatus.setStatus('mandatory') vrIpBgpExportMultiExitDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportMultiExitDisc.setStatus('mandatory') vrIpBgpExportSendMultiExitDiscToEbgp = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportSendMultiExitDiscToEbgp.setStatus('mandatory') vrIpBgpExportAsPathExpression = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 12), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportAsPathExpression.setStatus('mandatory') vrIpBgpExportCommunityExpression = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 13), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportCommunityExpression.setStatus('mandatory') vrIpBgpExportExpressPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportExpressPreference.setStatus('mandatory') vrIpBgpExportSendCommunity = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportSendCommunity.setStatus('mandatory') vrIpBgpExportInsertDummyAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 200), IntegerSequence()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportInsertDummyAs.setStatus('mandatory') vrIpBgpExportNet = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2)) vrIpBgpExportNetRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1), ) if mibBuilder.loadTexts: vrIpBgpExportNetRowStatusTable.setStatus('mandatory') vrIpBgpExportNetRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportNetIndex")) if mibBuilder.loadTexts: vrIpBgpExportNetRowStatusEntry.setStatus('mandatory') vrIpBgpExportNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportNetRowStatus.setStatus('mandatory') vrIpBgpExportNetComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpExportNetComponentName.setStatus('mandatory') vrIpBgpExportNetStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpExportNetStorageType.setStatus('mandatory') vrIpBgpExportNetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpExportNetIndex.setStatus('mandatory') vrIpBgpExportNetProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10), ) if mibBuilder.loadTexts: vrIpBgpExportNetProvTable.setStatus('mandatory') vrIpBgpExportNetProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpExportNetIndex")) if mibBuilder.loadTexts: vrIpBgpExportNetProvEntry.setStatus('mandatory') vrIpBgpExportNetPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportNetPrefix.setStatus('mandatory') vrIpBgpExportNetLength = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpExportNetLength.setStatus('mandatory') vrIpBgpAs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5)) vrIpBgpAsRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1), ) if mibBuilder.loadTexts: vrIpBgpAsRowStatusTable.setStatus('mandatory') vrIpBgpAsRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAsIndex")) if mibBuilder.loadTexts: vrIpBgpAsRowStatusEntry.setStatus('mandatory') vrIpBgpAsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAsRowStatus.setStatus('mandatory') vrIpBgpAsComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAsComponentName.setStatus('mandatory') vrIpBgpAsStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAsStorageType.setStatus('mandatory') vrIpBgpAsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpAsIndex.setStatus('mandatory') vrIpBgpAsProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10), ) if mibBuilder.loadTexts: vrIpBgpAsProvTable.setStatus('mandatory') vrIpBgpAsProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAsIndex")) if mibBuilder.loadTexts: vrIpBgpAsProvEntry.setStatus('mandatory') vrIpBgpAsWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAsWeight.setStatus('mandatory') vrIpBgpAggregate = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6)) vrIpBgpAggregateRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1), ) if mibBuilder.loadTexts: vrIpBgpAggregateRowStatusTable.setStatus('mandatory') vrIpBgpAggregateRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregatePrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregateLengthIndex")) if mibBuilder.loadTexts: vrIpBgpAggregateRowStatusEntry.setStatus('mandatory') vrIpBgpAggregateRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateRowStatus.setStatus('mandatory') vrIpBgpAggregateComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAggregateComponentName.setStatus('mandatory') vrIpBgpAggregateStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAggregateStorageType.setStatus('mandatory') vrIpBgpAggregatePrefixIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 10), IpAddress()) if mibBuilder.loadTexts: vrIpBgpAggregatePrefixIndex.setStatus('mandatory') vrIpBgpAggregateLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpAggregateLengthIndex.setStatus('mandatory') vrIpBgpAggregateNet = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2)) vrIpBgpAggregateNetRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1), ) if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatusTable.setStatus('mandatory') vrIpBgpAggregateNetRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregatePrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregateLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregateNetIndex")) if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatusEntry.setStatus('mandatory') vrIpBgpAggregateNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatus.setStatus('mandatory') vrIpBgpAggregateNetComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAggregateNetComponentName.setStatus('mandatory') vrIpBgpAggregateNetStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpAggregateNetStorageType.setStatus('mandatory') vrIpBgpAggregateNetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpAggregateNetIndex.setStatus('mandatory') vrIpBgpAggregateNetProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10), ) if mibBuilder.loadTexts: vrIpBgpAggregateNetProvTable.setStatus('mandatory') vrIpBgpAggregateNetProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregatePrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregateLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpAggregateNetIndex")) if mibBuilder.loadTexts: vrIpBgpAggregateNetProvEntry.setStatus('mandatory') vrIpBgpAggregateNetPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 1), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetPrefix.setStatus('mandatory') vrIpBgpAggregateNetLength = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetLength.setStatus('mandatory') vrIpBgpAggregateNetProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("all", 1), ("egp", 2), ("rip", 3), ("ospfInternal", 4), ("ospfExternal", 5), ("staticLocal", 6), ("staticRemote", 7), ("bgpInternal", 8), ("bgpExternal", 9))).clone('all')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetProtocol.setStatus('mandatory') vrIpBgpAggregateNetEgpAsId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetEgpAsId.setStatus('mandatory') vrIpBgpAggregateNetBgpAsId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetBgpAsId.setStatus('mandatory') vrIpBgpAggregateNetOspfTag = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 6), Hex().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(4294967295)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetOspfTag.setStatus('mandatory') vrIpBgpAggregateNetRipInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 7), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetRipInterface.setStatus('mandatory') vrIpBgpAggregateNetAction = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("aggregate", 1), ("advertise", 2))).clone('aggregate')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrIpBgpAggregateNetAction.setStatus('mandatory') vrIpBgpIndb = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7)) vrIpBgpIndbRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1), ) if mibBuilder.loadTexts: vrIpBgpIndbRowStatusTable.setStatus('mandatory') vrIpBgpIndbRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpIndbRowStatusEntry.setStatus('mandatory') vrIpBgpIndbRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbRowStatus.setStatus('mandatory') vrIpBgpIndbComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbComponentName.setStatus('mandatory') vrIpBgpIndbStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbStorageType.setStatus('mandatory') vrIpBgpIndbPrefixIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 10), IpAddress()) if mibBuilder.loadTexts: vrIpBgpIndbPrefixIndex.setStatus('mandatory') vrIpBgpIndbLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpIndbLengthIndex.setStatus('mandatory') vrIpBgpIndbPeerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 12), IpAddress()) if mibBuilder.loadTexts: vrIpBgpIndbPeerIndex.setStatus('mandatory') vrIpBgpIndbOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10), ) if mibBuilder.loadTexts: vrIpBgpIndbOperTable.setStatus('mandatory') vrIpBgpIndbOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpIndbOperEntry.setStatus('mandatory') vrIpBgpIndbOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("igp", 1), ("egp", 2), ("incomplete", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbOrigin.setStatus('mandatory') vrIpBgpIndbInLocaldb = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("false", 1), ("true", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbInLocaldb.setStatus('mandatory') vrIpBgpIndbNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 6), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbNextHop.setStatus('mandatory') vrIpBgpIndbLocalPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbLocalPreference.setStatus('mandatory') vrIpBgpIndbCalcLocalPref = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbCalcLocalPref.setStatus('mandatory') vrIpBgpIndbMultiExitDiscriminator = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbMultiExitDiscriminator.setStatus('mandatory') vrIpBgpIndbAtomicAggregate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("lessSpecificRouteNotSelected", 1), ("lessSpecificRouteSelected", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbAtomicAggregate.setStatus('mandatory') vrIpBgpIndbAggregatorAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbAggregatorAs.setStatus('mandatory') vrIpBgpIndbAggregatorAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 12), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbAggregatorAddr.setStatus('mandatory') vrIpBgpIndbAsPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 13), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(2, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbAsPath.setStatus('mandatory') vrIpBgpIndbUnknownAttributes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 14), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbUnknownAttributes.setStatus('mandatory') vrIpBgpIndbCommunityPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 15), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbCommunityPath.setStatus('mandatory') vrIpBgpIndbAsOriginatorId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 16), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbAsOriginatorId.setStatus('mandatory') vrIpBgpIndbRrClusterListTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798), ) if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListTable.setStatus('mandatory') vrIpBgpIndbRrClusterListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbPeerIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndbRrClusterListValue")) if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListEntry.setStatus('mandatory') vrIpBgpIndbRrClusterListValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListValue.setStatus('mandatory') vrIpBgpLocaldb = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8)) vrIpBgpLocaldbRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1), ) if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatusTable.setStatus('mandatory') vrIpBgpLocaldbRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatusEntry.setStatus('mandatory') vrIpBgpLocaldbRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatus.setStatus('mandatory') vrIpBgpLocaldbComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbComponentName.setStatus('mandatory') vrIpBgpLocaldbStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbStorageType.setStatus('mandatory') vrIpBgpLocaldbPrefixIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 10), IpAddress()) if mibBuilder.loadTexts: vrIpBgpLocaldbPrefixIndex.setStatus('mandatory') vrIpBgpLocaldbLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpLocaldbLengthIndex.setStatus('mandatory') vrIpBgpLocaldbPeerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 12), IpAddress()) if mibBuilder.loadTexts: vrIpBgpLocaldbPeerIndex.setStatus('mandatory') vrIpBgpLocaldbOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10), ) if mibBuilder.loadTexts: vrIpBgpLocaldbOperTable.setStatus('mandatory') vrIpBgpLocaldbOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpLocaldbOperEntry.setStatus('mandatory') vrIpBgpLocaldbOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("igp", 1), ("egp", 2), ("incomplete", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbOrigin.setStatus('mandatory') vrIpBgpLocaldbNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbNextHop.setStatus('mandatory') vrIpBgpLocaldbLocalPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbLocalPreference.setStatus('mandatory') vrIpBgpLocaldbMultiExitDiscriminator = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbMultiExitDiscriminator.setStatus('mandatory') vrIpBgpLocaldbAtomicAggregate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("lessSpecificRouteNotSelected", 1), ("lessSpecificRouteSelected", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbAtomicAggregate.setStatus('mandatory') vrIpBgpLocaldbAggregatorAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbAggregatorAs.setStatus('mandatory') vrIpBgpLocaldbAggregatorAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbAggregatorAddr.setStatus('mandatory') vrIpBgpLocaldbAsPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 11), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(2, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbAsPath.setStatus('mandatory') vrIpBgpLocaldbUnknownAttributes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 12), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbUnknownAttributes.setStatus('mandatory') vrIpBgpLocaldbCommunityPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 13), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbCommunityPath.setStatus('mandatory') vrIpBgpLocaldbAsOriginatorId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 14), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbAsOriginatorId.setStatus('mandatory') vrIpBgpLocaldbRrClusterListTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797), ) if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListTable.setStatus('mandatory') vrIpBgpLocaldbRrClusterListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbPeerIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpLocaldbRrClusterListValue")) if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListEntry.setStatus('mandatory') vrIpBgpLocaldbRrClusterListValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListValue.setStatus('mandatory') vrIpBgpOutdb = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9)) vrIpBgpOutdbRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1), ) if mibBuilder.loadTexts: vrIpBgpOutdbRowStatusTable.setStatus('mandatory') vrIpBgpOutdbRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpOutdbRowStatusEntry.setStatus('mandatory') vrIpBgpOutdbRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbRowStatus.setStatus('mandatory') vrIpBgpOutdbComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbComponentName.setStatus('mandatory') vrIpBgpOutdbStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbStorageType.setStatus('mandatory') vrIpBgpOutdbPrefixIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 10), IpAddress()) if mibBuilder.loadTexts: vrIpBgpOutdbPrefixIndex.setStatus('mandatory') vrIpBgpOutdbLengthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpOutdbLengthIndex.setStatus('mandatory') vrIpBgpOutdbPeerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 12), IpAddress()) if mibBuilder.loadTexts: vrIpBgpOutdbPeerIndex.setStatus('mandatory') vrIpBgpOutdbOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10), ) if mibBuilder.loadTexts: vrIpBgpOutdbOperTable.setStatus('mandatory') vrIpBgpOutdbOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPeerIndex")) if mibBuilder.loadTexts: vrIpBgpOutdbOperEntry.setStatus('mandatory') vrIpBgpOutdbOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("igp", 1), ("egp", 2), ("incomplete", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbOrigin.setStatus('mandatory') vrIpBgpOutdbNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbNextHop.setStatus('mandatory') vrIpBgpOutdbLocalPreference = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbLocalPreference.setStatus('mandatory') vrIpBgpOutdbMultiExitDiscriminator = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbMultiExitDiscriminator.setStatus('mandatory') vrIpBgpOutdbAtomicAggregate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("lessSpecificRouteNotSelected", 1), ("lessSpecificRouteSelected", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbAtomicAggregate.setStatus('mandatory') vrIpBgpOutdbAggregatorAs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbAggregatorAs.setStatus('mandatory') vrIpBgpOutdbAggregatorAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbAggregatorAddr.setStatus('mandatory') vrIpBgpOutdbAsPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 11), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(2, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbAsPath.setStatus('mandatory') vrIpBgpOutdbUnknownAttributes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 12), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbUnknownAttributes.setStatus('mandatory') vrIpBgpOutdbCommunityPath = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 13), AsciiString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbCommunityPath.setStatus('mandatory') vrIpBgpOutdbAsOriginatorId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 14), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbAsOriginatorId.setStatus('mandatory') vrIpBgpOutdbRrClusterListTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799), ) if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListTable.setStatus('mandatory') vrIpBgpOutdbRrClusterListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-IpMIB", "vrIpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPrefixIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbLengthIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbPeerIndex"), (0, "Nortel-Magellan-Passport-BgpMIB", "vrIpBgpOutdbRrClusterListValue")) if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListEntry.setStatus('mandatory') vrIpBgpOutdbRrClusterListValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListValue.setStatus('mandatory') bgpGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1)) bgpGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5)) bgpGroupBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5, 2)) bgpGroupBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5, 2, 2)) bgpCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3)) bgpCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5)) bgpCapabilitiesBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5, 2)) bgpCapabilitiesBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5, 2, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-BgpMIB", vrIpBgpAggregateNetRowStatusTable=vrIpBgpAggregateNetRowStatusTable, vrIpBgpPeerBgpIdentifier=vrIpBgpPeerBgpIdentifier, vrIpBgpProvTable=vrIpBgpProvTable, vrIpBgpPeerRowStatus=vrIpBgpPeerRowStatus, vrIpBgpOutErrorMsgs=vrIpBgpOutErrorMsgs, vrIpBgpExportNetIndex=vrIpBgpExportNetIndex, vrIpBgpOutdbRrClusterListTable=vrIpBgpOutdbRrClusterListTable, bgpCapabilitiesBE01A=bgpCapabilitiesBE01A, vrIpBgpPeerAdminState=vrIpBgpPeerAdminState, vrIpBgpAggregateNetOspfTag=vrIpBgpAggregateNetOspfTag, vrIpBgpIndbOperTable=vrIpBgpIndbOperTable, vrIpBgpAggregateNetStorageType=vrIpBgpAggregateNetStorageType, vrIpBgpAggregateNetLength=vrIpBgpAggregateNetLength, vrIpBgpPeerKeepAliveNegotiated=vrIpBgpPeerKeepAliveNegotiated, vrIpBgpImportUsageFlag=vrIpBgpImportUsageFlag, vrIpBgpImportLocalPreference=vrIpBgpImportLocalPreference, vrIpBgpExportAdvertiseStatus=vrIpBgpExportAdvertiseStatus, vrIpBgpIndbPeerIndex=vrIpBgpIndbPeerIndex, vrIpBgpOutdbRowStatusEntry=vrIpBgpOutdbRowStatusEntry, vrIpBgpImportOriginProtocol=vrIpBgpImportOriginProtocol, vrIpBgpImportNetStorageType=vrIpBgpImportNetStorageType, vrIpBgpLocaldbComponentName=vrIpBgpLocaldbComponentName, vrIpBgpLocaldbOperTable=vrIpBgpLocaldbOperTable, vrIpBgpImport=vrIpBgpImport, vrIpBgpExportRowStatusTable=vrIpBgpExportRowStatusTable, vrIpBgpOutdbNextHop=vrIpBgpOutdbNextHop, vrIpBgpPeerPeerAddressIndex=vrIpBgpPeerPeerAddressIndex, vrIpBgpIndbCommunityPath=vrIpBgpIndbCommunityPath, vrIpBgpPeerLocalAddressUsed=vrIpBgpPeerLocalAddressUsed, vrIpBgpStateTable=vrIpBgpStateTable, vrIpBgpPeerOperationalState=vrIpBgpPeerOperationalState, vrIpBgpAdminControlEntry=vrIpBgpAdminControlEntry, bgpGroupBE=bgpGroupBE, vrIpBgpSnmpAdminStatus=vrIpBgpSnmpAdminStatus, vrIpBgpOutdbRrClusterListValue=vrIpBgpOutdbRrClusterListValue, vrIpBgpAs=vrIpBgpAs, vrIpBgpImportNetRowStatusEntry=vrIpBgpImportNetRowStatusEntry, vrIpBgpLocaldbPrefixIndex=vrIpBgpLocaldbPrefixIndex, vrIpBgpLocaldbAggregatorAddr=vrIpBgpLocaldbAggregatorAddr, vrIpBgpOperStatusEntry=vrIpBgpOperStatusEntry, vrIpBgpRouteReflector=vrIpBgpRouteReflector, vrIpBgpExportNetRowStatusTable=vrIpBgpExportNetRowStatusTable, vrIpBgpLocaldbPeerIndex=vrIpBgpLocaldbPeerIndex, vrIpBgpRouteThrottleLimit=vrIpBgpRouteThrottleLimit, vrIpBgpExportOspfTag=vrIpBgpExportOspfTag, vrIpBgpAsWeight=vrIpBgpAsWeight, vrIpBgpPeerPeerAs=vrIpBgpPeerPeerAs, vrIpBgpOutdbRowStatusTable=vrIpBgpOutdbRowStatusTable, vrIpBgpAsStorageType=vrIpBgpAsStorageType, vrIpBgpExportNetStorageType=vrIpBgpExportNetStorageType, vrIpBgpAggregateNetProvEntry=vrIpBgpAggregateNetProvEntry, vrIpBgpIndbAggregatorAs=vrIpBgpIndbAggregatorAs, vrIpBgpAsRowStatus=vrIpBgpAsRowStatus, vrIpBgpIndbAtomicAggregate=vrIpBgpIndbAtomicAggregate, vrIpBgpPeerOutErrorMsgs=vrIpBgpPeerOutErrorMsgs, vrIpBgpAggregateRowStatusTable=vrIpBgpAggregateRowStatusTable, vrIpBgpLocaldbMultiExitDiscriminator=vrIpBgpLocaldbMultiExitDiscriminator, bgpGroupBE01=bgpGroupBE01, vrIpBgpPeerStateTable=vrIpBgpPeerStateTable, vrIpBgpPeerProvTable=vrIpBgpPeerProvTable, vrIpBgpImportPeerIpAddress=vrIpBgpImportPeerIpAddress, vrIpBgpIndbInLocaldb=vrIpBgpIndbInLocaldb, vrIpBgpProvEntry=vrIpBgpProvEntry, vrIpBgpLocaldbLocalPreference=vrIpBgpLocaldbLocalPreference, vrIpBgpImportComponentName=vrIpBgpImportComponentName, vrIpBgpRouteReflectorCluster=vrIpBgpRouteReflectorCluster, vrIpBgpLocaldbNextHop=vrIpBgpLocaldbNextHop, vrIpBgpOperEntry=vrIpBgpOperEntry, vrIpBgpLocaldbStorageType=vrIpBgpLocaldbStorageType, vrIpBgpLocaldbAsPath=vrIpBgpLocaldbAsPath, vrIpBgpOutDiscards=vrIpBgpOutDiscards, vrIpBgpImportAppendCommunity=vrIpBgpImportAppendCommunity, vrIpBgpIndbSize=vrIpBgpIndbSize, vrIpBgpIndbRrClusterListEntry=vrIpBgpIndbRrClusterListEntry, vrIpBgpIndbNextHop=vrIpBgpIndbNextHop, vrIpBgpImportNetRowStatus=vrIpBgpImportNetRowStatus, vrIpBgpExportExpressPreference=vrIpBgpExportExpressPreference, vrIpBgpAdminState=vrIpBgpAdminState, vrIpBgpOperationalState=vrIpBgpOperationalState, vrIpBgpExportProvEntry=vrIpBgpExportProvEntry, vrIpBgpPeerHoldTimeConfigured=vrIpBgpPeerHoldTimeConfigured, vrIpBgpOutdbStorageType=vrIpBgpOutdbStorageType, vrIpBgpPeerInRoutes=vrIpBgpPeerInRoutes, vrIpBgpPeerConnectionEstablishedTime=vrIpBgpPeerConnectionEstablishedTime, vrIpBgpImportExpressPreference=vrIpBgpImportExpressPreference, vrIpBgpInErrors=vrIpBgpInErrors, vrIpBgpLocaldbLengthIndex=vrIpBgpLocaldbLengthIndex, vrIpBgpAggregateNetProtocol=vrIpBgpAggregateNetProtocol, vrIpBgpIndbUnknownAttributes=vrIpBgpIndbUnknownAttributes, vrIpBgpOutdbRrClusterListEntry=vrIpBgpOutdbRrClusterListEntry, vrIpBgpAggregateComponentName=vrIpBgpAggregateComponentName, vrIpBgpAsIndex=vrIpBgpAsIndex, vrIpBgpExportRowStatusEntry=vrIpBgpExportRowStatusEntry, vrIpBgpAggregateNetIndex=vrIpBgpAggregateNetIndex, vrIpBgpAsRowStatusTable=vrIpBgpAsRowStatusTable, vrIpBgpOutdb=vrIpBgpOutdb, vrIpBgpExportSendMultiExitDiscToEbgp=vrIpBgpExportSendMultiExitDiscToEbgp, vrIpBgpPeerOutMsgs=vrIpBgpPeerOutMsgs, vrIpBgpLocaldbAsOriginatorId=vrIpBgpLocaldbAsOriginatorId, vrIpBgpDefaultMultiExitDisc=vrIpBgpDefaultMultiExitDisc, vrIpBgp=vrIpBgp, vrIpBgpOutdbLengthIndex=vrIpBgpOutdbLengthIndex, vrIpBgpImportStorageType=vrIpBgpImportStorageType, vrIpBgpAggregateNetAction=vrIpBgpAggregateNetAction, vrIpBgpLocaldbRowStatusTable=vrIpBgpLocaldbRowStatusTable, vrIpBgpExportNetRowStatusEntry=vrIpBgpExportNetRowStatusEntry, vrIpBgpPeerRowStatusTable=vrIpBgpPeerRowStatusTable, vrIpBgpLocaldbUnknownAttributes=vrIpBgpLocaldbUnknownAttributes, vrIpBgpLocaldb=vrIpBgpLocaldb, vrIpBgpOutdbAsOriginatorId=vrIpBgpOutdbAsOriginatorId, vrIpBgpAsProvEntry=vrIpBgpAsProvEntry, vrIpBgpExportRowStatus=vrIpBgpExportRowStatus, vrIpBgpOutdbAggregatorAs=vrIpBgpOutdbAggregatorAs, vrIpBgpLocaldbRowStatus=vrIpBgpLocaldbRowStatus, bgpMIB=bgpMIB, vrIpBgpIndbAggregatorAddr=vrIpBgpIndbAggregatorAddr, vrIpBgpLocaldbRrClusterListTable=vrIpBgpLocaldbRrClusterListTable, vrIpBgpImportOriginAs=vrIpBgpImportOriginAs, vrIpBgpExportNetProvEntry=vrIpBgpExportNetProvEntry, vrIpBgpExportStorageType=vrIpBgpExportStorageType, vrIpBgpIndbOperEntry=vrIpBgpIndbOperEntry, vrIpBgpPeerDefaultInAggMed=vrIpBgpPeerDefaultInAggMed, vrIpBgpUsageState=vrIpBgpUsageState, vrIpBgpLocaldbRrClusterListEntry=vrIpBgpLocaldbRrClusterListEntry, vrIpBgpStorageType=vrIpBgpStorageType, vrIpBgpIndbRowStatusEntry=vrIpBgpIndbRowStatusEntry, vrIpBgpPeerMinAsOrigTime=vrIpBgpPeerMinAsOrigTime, vrIpBgpPeerVersionNegotiated=vrIpBgpPeerVersionNegotiated, vrIpBgpPeerOutUpdates=vrIpBgpPeerOutUpdates, vrIpBgpPeerOperEntry=vrIpBgpPeerOperEntry, vrIpBgpRowStatus=vrIpBgpRowStatus, vrIpBgpImportRowStatusTable=vrIpBgpImportRowStatusTable, vrIpBgpPeerUsageState=vrIpBgpPeerUsageState, vrIpBgpIndbComponentName=vrIpBgpIndbComponentName, vrIpBgpIndbAsPath=vrIpBgpIndbAsPath, vrIpBgpOutdbRowStatus=vrIpBgpOutdbRowStatus, vrIpBgpAggregateNetProvTable=vrIpBgpAggregateNetProvTable, bgpCapabilitiesBE01=bgpCapabilitiesBE01, vrIpBgpRouteThrottleInter=vrIpBgpRouteThrottleInter, vrIpBgpPeerIsRouteReflectorClient=vrIpBgpPeerIsRouteReflectorClient, vrIpBgpImportPeerAs=vrIpBgpImportPeerAs, vrIpBgpAggregate=vrIpBgpAggregate, vrIpBgpPeerStateEntry=vrIpBgpPeerStateEntry, vrIpBgpOutdbLocalPreference=vrIpBgpOutdbLocalPreference, vrIpBgpLocalAs=vrIpBgpLocalAs, vrIpBgpOutdbOperTable=vrIpBgpOutdbOperTable, vrIpBgpBgpIdentifier=vrIpBgpBgpIdentifier, vrIpBgpPeerRemotePort=vrIpBgpPeerRemotePort, vrIpBgpAggregateRowStatusEntry=vrIpBgpAggregateRowStatusEntry, vrIpBgpAggregateNetRowStatusEntry=vrIpBgpAggregateNetRowStatusEntry, vrIpBgpOutdbPeerIndex=vrIpBgpOutdbPeerIndex, vrIpBgpPeer=vrIpBgpPeer, vrIpBgpPeerOutDiscards=vrIpBgpPeerOutDiscards, vrIpBgpExportCommunityExpression=vrIpBgpExportCommunityExpression, vrIpBgpIndbRrClusterListValue=vrIpBgpIndbRrClusterListValue, vrIpBgpLocaldbAggregatorAs=vrIpBgpLocaldbAggregatorAs, vrIpBgpOutMsgs=vrIpBgpOutMsgs, vrIpBgpAggregateNetRowStatus=vrIpBgpAggregateNetRowStatus, vrIpBgpPeerInUpdates=vrIpBgpPeerInUpdates, vrIpBgpOperStatusTable=vrIpBgpOperStatusTable, vrIpBgpIndbCalcLocalPref=vrIpBgpIndbCalcLocalPref, vrIpBgpAsProvTable=vrIpBgpAsProvTable, vrIpBgpOutdbComponentName=vrIpBgpOutdbComponentName, vrIpBgpOutdbMultiExitDiscriminator=vrIpBgpOutdbMultiExitDiscriminator, vrIpBgpTableVersion=vrIpBgpTableVersion, vrIpBgpImportNetRowStatusTable=vrIpBgpImportNetRowStatusTable, vrIpBgpExportNet=vrIpBgpExportNet, bgpGroup=bgpGroup, vrIpBgpAggregateNetBgpAsId=vrIpBgpAggregateNetBgpAsId, vrIpBgpAsComponentName=vrIpBgpAsComponentName, vrIpBgpPeerComponentName=vrIpBgpPeerComponentName, vrIpBgpAggregatePrefixIndex=vrIpBgpAggregatePrefixIndex, vrIpBgpImportAsPathExpression=vrIpBgpImportAsPathExpression, vrIpBgpLocaldbOrigin=vrIpBgpLocaldbOrigin, vrIpBgpPeerInUpdateElapsedTime=vrIpBgpPeerInUpdateElapsedTime, vrIpBgpOutdbAsPath=vrIpBgpOutdbAsPath, vrIpBgpExportPeerAs=vrIpBgpExportPeerAs, vrIpBgpPeerInErrors=vrIpBgpPeerInErrors, vrIpBgpExportRipNeighbor=vrIpBgpExportRipNeighbor, vrIpBgpIndbRowStatusTable=vrIpBgpIndbRowStatusTable, vrIpBgpIndbOrigin=vrIpBgpIndbOrigin, vrIpBgpPeerLocalPort=vrIpBgpPeerLocalPort, vrIpBgpIndex=vrIpBgpIndex, vrIpBgpImportRowStatus=vrIpBgpImportRowStatus, vrIpBgpPeerOperTable=vrIpBgpPeerOperTable, vrIpBgpAggregateStorageType=vrIpBgpAggregateStorageType, vrIpBgpImportNet=vrIpBgpImportNet, vrIpBgpOutdbAtomicAggregate=vrIpBgpOutdbAtomicAggregate, vrIpBgpOutdbAggregatorAddr=vrIpBgpOutdbAggregatorAddr, vrIpBgpIndbStorageType=vrIpBgpIndbStorageType, vrIpBgpExportProvTable=vrIpBgpExportProvTable, vrIpBgpLocaldbRowStatusEntry=vrIpBgpLocaldbRowStatusEntry, vrIpBgpImportNetComponentName=vrIpBgpImportNetComponentName, vrIpBgpExportNetPrefix=vrIpBgpExportNetPrefix, vrIpBgpAdminControlTable=vrIpBgpAdminControlTable, vrIpBgpExport=vrIpBgpExport, vrIpBgpExportIndex=vrIpBgpExportIndex, vrIpBgpDefaultLocalPreference=vrIpBgpDefaultLocalPreference, vrIpBgpAggregateNetEgpAsId=vrIpBgpAggregateNetEgpAsId, vrIpBgpIndbLocalPreference=vrIpBgpIndbLocalPreference, vrIpBgpImportNetPrefix=vrIpBgpImportNetPrefix, vrIpBgpAggregateNetPrefix=vrIpBgpAggregateNetPrefix, vrIpBgpPeerStorageType=vrIpBgpPeerStorageType, vrIpBgpImportIndex=vrIpBgpImportIndex, vrIpBgpImportNetProvTable=vrIpBgpImportNetProvTable, vrIpBgpLocaldbOperEntry=vrIpBgpLocaldbOperEntry, vrIpBgpImportNetIndex=vrIpBgpImportNetIndex, vrIpBgpInMsgs=vrIpBgpInMsgs, vrIpBgpExportBgpAsId=vrIpBgpExportBgpAsId, vrIpBgpImportProvEntry=vrIpBgpImportProvEntry, vrIpBgpOutdbOperEntry=vrIpBgpOutdbOperEntry, vrIpBgpExportProtocol=vrIpBgpExportProtocol, vrIpBgpExportAsPathExpression=vrIpBgpExportAsPathExpression, vrIpBgpExportSendCommunity=vrIpBgpExportSendCommunity, vrIpBgpOutdbUnknownAttributes=vrIpBgpOutdbUnknownAttributes, vrIpBgpComponentName=vrIpBgpComponentName, vrIpBgpLocaldbCommunityPath=vrIpBgpLocaldbCommunityPath, bgpCapabilitiesBE=bgpCapabilitiesBE, vrIpBgpIndb=vrIpBgpIndb, vrIpBgpLocaldbRrClusterListValue=vrIpBgpLocaldbRrClusterListValue, vrIpBgpExportNetComponentName=vrIpBgpExportNetComponentName, vrIpBgpIndbMultiExitDiscriminator=vrIpBgpIndbMultiExitDiscriminator, vrIpBgpPeerHoldTimeNegotiated=vrIpBgpPeerHoldTimeNegotiated, vrIpBgpRowStatusTable=vrIpBgpRowStatusTable, vrIpBgpIndbAsOriginatorId=vrIpBgpIndbAsOriginatorId, vrIpBgpPeerConnectionState=vrIpBgpPeerConnectionState, vrIpBgpPeerProvEntry=vrIpBgpPeerProvEntry, vrIpBgpPeerLocalAddressConfigured=vrIpBgpPeerLocalAddressConfigured, vrIpBgpExportComponentName=vrIpBgpExportComponentName, vrIpBgpExportMultiExitDisc=vrIpBgpExportMultiExitDisc, vrIpBgpExportNetRowStatus=vrIpBgpExportNetRowStatus, vrIpBgpPeerInMsgs=vrIpBgpPeerInMsgs, vrIpBgpAggregateNetRipInterface=vrIpBgpAggregateNetRipInterface, vrIpBgpAggregateNet=vrIpBgpAggregateNet, vrIpBgpPeerLastError=vrIpBgpPeerLastError, vrIpBgpPeerInErrorMsgs=vrIpBgpPeerInErrorMsgs, vrIpBgpIndbLengthIndex=vrIpBgpIndbLengthIndex, vrIpBgpIndbRrClusterListTable=vrIpBgpIndbRrClusterListTable, vrIpBgpOutdbPrefixIndex=vrIpBgpOutdbPrefixIndex, vrIpBgpLocaldbAtomicAggregate=vrIpBgpLocaldbAtomicAggregate, vrIpBgpOutdbOrigin=vrIpBgpOutdbOrigin, vrIpBgpExportNetLength=vrIpBgpExportNetLength, vrIpBgpPeerKeepAliveConfigured=vrIpBgpPeerKeepAliveConfigured, vrIpBgpPeerConnectionEstablishedTransitions=vrIpBgpPeerConnectionEstablishedTransitions, vrIpBgpImportProvTable=vrIpBgpImportProvTable, vrIpBgpExportEgpAsId=vrIpBgpExportEgpAsId, vrIpBgpImportPreferredOver=vrIpBgpImportPreferredOver, vrIpBgpExportInsertDummyAs=vrIpBgpExportInsertDummyAs, vrIpBgpPeerConnectRetryTime=vrIpBgpPeerConnectRetryTime, vrIpBgpImportNetLength=vrIpBgpImportNetLength, vrIpBgpAggregateLengthIndex=vrIpBgpAggregateLengthIndex, vrIpBgpImportCommunityExpression=vrIpBgpImportCommunityExpression, vrIpBgpOutdbCommunityPath=vrIpBgpOutdbCommunityPath, vrIpBgpPeerMinRouteAdvTime=vrIpBgpPeerMinRouteAdvTime) mibBuilder.exportSymbols("Nortel-Magellan-Passport-BgpMIB", vrIpBgpAggregateRowStatus=vrIpBgpAggregateRowStatus, vrIpBgpIndbRowStatus=vrIpBgpIndbRowStatus, vrIpBgpImportRowStatusEntry=vrIpBgpImportRowStatusEntry, vrIpBgpRowStatusEntry=vrIpBgpRowStatusEntry, vrIpBgpImportNetProvEntry=vrIpBgpImportNetProvEntry, vrIpBgpStateEntry=vrIpBgpStateEntry, vrIpBgpOperTable=vrIpBgpOperTable, vrIpBgpInErrorMsgs=vrIpBgpInErrorMsgs, vrIpBgpExportPeerIpAddress=vrIpBgpExportPeerIpAddress, vrIpBgpPeerRowStatusEntry=vrIpBgpPeerRowStatusEntry, vrIpBgpExportNetProvTable=vrIpBgpExportNetProvTable, vrIpBgpAggregateNetComponentName=vrIpBgpAggregateNetComponentName, vrIpBgpIndbPrefixIndex=vrIpBgpIndbPrefixIndex, vrIpBgpSnmpOperStatus=vrIpBgpSnmpOperStatus, vrIpBgpExportRipInterface=vrIpBgpExportRipInterface, vrIpBgpAsRowStatusEntry=vrIpBgpAsRowStatusEntry, bgpCapabilities=bgpCapabilities, bgpGroupBE01A=bgpGroupBE01A)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, constraints_intersection, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint') (vr_ip, vr_ip_index) = mibBuilder.importSymbols('Nortel-Magellan-Passport-IpMIB', 'vrIp', 'vrIpIndex') (counter32, display_string, storage_type, gauge32, unsigned32, integer32, row_status) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'Counter32', 'DisplayString', 'StorageType', 'Gauge32', 'Unsigned32', 'Integer32', 'RowStatus') (hex_string, non_replicated, hex, ascii_string, integer_sequence) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'HexString', 'NonReplicated', 'Hex', 'AsciiString', 'IntegerSequence') (passport_mi_bs,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'passportMIBs') (vr_index,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (counter32, mib_identifier, iso, time_ticks, object_identity, module_identity, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, unsigned32, bits, counter64, notification_type, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'MibIdentifier', 'iso', 'TimeTicks', 'ObjectIdentity', 'ModuleIdentity', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'Unsigned32', 'Bits', 'Counter64', 'NotificationType', 'IpAddress') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') bgp_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141)) vr_ip_bgp = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21)) vr_ip_bgp_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1)) if mibBuilder.loadTexts: vrIpBgpRowStatusTable.setStatus('mandatory') vr_ip_bgp_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpRowStatusEntry.setStatus('mandatory') vr_ip_bgp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpRowStatus.setStatus('mandatory') vr_ip_bgp_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpComponentName.setStatus('mandatory') vr_ip_bgp_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpStorageType.setStatus('mandatory') vr_ip_bgp_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: vrIpBgpIndex.setStatus('mandatory') vr_ip_bgp_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100)) if mibBuilder.loadTexts: vrIpBgpProvTable.setStatus('mandatory') vr_ip_bgp_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpProvEntry.setStatus('mandatory') vr_ip_bgp_bgp_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpBgpIdentifier.setStatus('mandatory') vr_ip_bgp_local_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpLocalAs.setStatus('mandatory') vr_ip_bgp_default_local_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(144)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpDefaultLocalPreference.setStatus('mandatory') vr_ip_bgp_default_multi_exit_disc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(4294967294)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpDefaultMultiExitDisc.setStatus('mandatory') vr_ip_bgp_route_throttle_limit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1000)).clone(250)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpRouteThrottleLimit.setStatus('mandatory') vr_ip_bgp_route_throttle_inter = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 30)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpRouteThrottleInter.setStatus('mandatory') vr_ip_bgp_route_reflector = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpRouteReflector.setStatus('mandatory') vr_ip_bgp_route_reflector_cluster = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 100, 1, 8), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpRouteReflectorCluster.setStatus('mandatory') vr_ip_bgp_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101)) if mibBuilder.loadTexts: vrIpBgpOperTable.setStatus('mandatory') vr_ip_bgp_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpOperEntry.setStatus('mandatory') vr_ip_bgp_table_version = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpTableVersion.setStatus('mandatory') vr_ip_bgp_in_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpInMsgs.setStatus('mandatory') vr_ip_bgp_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpInErrors.setStatus('mandatory') vr_ip_bgp_in_error_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpInErrorMsgs.setStatus('mandatory') vr_ip_bgp_out_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutMsgs.setStatus('mandatory') vr_ip_bgp_out_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutDiscards.setStatus('mandatory') vr_ip_bgp_out_error_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutErrorMsgs.setStatus('mandatory') vr_ip_bgp_indb_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 101, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbSize.setStatus('mandatory') vr_ip_bgp_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102)) if mibBuilder.loadTexts: vrIpBgpStateTable.setStatus('mandatory') vr_ip_bgp_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpStateEntry.setStatus('mandatory') vr_ip_bgp_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAdminState.setStatus('mandatory') vr_ip_bgp_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOperationalState.setStatus('mandatory') vr_ip_bgp_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 102, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpUsageState.setStatus('mandatory') vr_ip_bgp_admin_control_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103)) if mibBuilder.loadTexts: vrIpBgpAdminControlTable.setStatus('mandatory') vr_ip_bgp_admin_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpAdminControlEntry.setStatus('mandatory') vr_ip_bgp_snmp_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 103, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpSnmpAdminStatus.setStatus('mandatory') vr_ip_bgp_oper_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106)) if mibBuilder.loadTexts: vrIpBgpOperStatusTable.setStatus('mandatory') vr_ip_bgp_oper_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex')) if mibBuilder.loadTexts: vrIpBgpOperStatusEntry.setStatus('mandatory') vr_ip_bgp_snmp_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 106, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpSnmpOperStatus.setStatus('mandatory') vr_ip_bgp_peer = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2)) vr_ip_bgp_peer_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1)) if mibBuilder.loadTexts: vrIpBgpPeerRowStatusTable.setStatus('mandatory') vr_ip_bgp_peer_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpPeerPeerAddressIndex')) if mibBuilder.loadTexts: vrIpBgpPeerRowStatusEntry.setStatus('mandatory') vr_ip_bgp_peer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerRowStatus.setStatus('mandatory') vr_ip_bgp_peer_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerComponentName.setStatus('mandatory') vr_ip_bgp_peer_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerStorageType.setStatus('mandatory') vr_ip_bgp_peer_peer_address_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 1, 1, 10), ip_address()) if mibBuilder.loadTexts: vrIpBgpPeerPeerAddressIndex.setStatus('mandatory') vr_ip_bgp_peer_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10)) if mibBuilder.loadTexts: vrIpBgpPeerProvTable.setStatus('mandatory') vr_ip_bgp_peer_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpPeerPeerAddressIndex')) if mibBuilder.loadTexts: vrIpBgpPeerProvEntry.setStatus('mandatory') vr_ip_bgp_peer_peer_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerPeerAs.setStatus('mandatory') vr_ip_bgp_peer_local_address_configured = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 2), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerLocalAddressConfigured.setStatus('mandatory') vr_ip_bgp_peer_keep_alive_configured = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 21845)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerKeepAliveConfigured.setStatus('mandatory') vr_ip_bgp_peer_hold_time_configured = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(3, 65535))).clone(90)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerHoldTimeConfigured.setStatus('mandatory') vr_ip_bgp_peer_connect_retry_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(120)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerConnectRetryTime.setStatus('mandatory') vr_ip_bgp_peer_min_as_orig_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerMinAsOrigTime.setStatus('mandatory') vr_ip_bgp_peer_min_route_adv_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerMinRouteAdvTime.setStatus('mandatory') vr_ip_bgp_peer_default_in_agg_med = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(4294967295)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerDefaultInAggMed.setStatus('mandatory') vr_ip_bgp_peer_is_route_reflector_client = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpPeerIsRouteReflectorClient.setStatus('mandatory') vr_ip_bgp_peer_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11)) if mibBuilder.loadTexts: vrIpBgpPeerStateTable.setStatus('mandatory') vr_ip_bgp_peer_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpPeerPeerAddressIndex')) if mibBuilder.loadTexts: vrIpBgpPeerStateEntry.setStatus('mandatory') vr_ip_bgp_peer_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerAdminState.setStatus('mandatory') vr_ip_bgp_peer_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerOperationalState.setStatus('mandatory') vr_ip_bgp_peer_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerUsageState.setStatus('mandatory') vr_ip_bgp_peer_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12)) if mibBuilder.loadTexts: vrIpBgpPeerOperTable.setStatus('mandatory') vr_ip_bgp_peer_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpPeerPeerAddressIndex')) if mibBuilder.loadTexts: vrIpBgpPeerOperEntry.setStatus('mandatory') vr_ip_bgp_peer_connection_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('idle', 1), ('connect', 2), ('active', 3), ('openSent', 4), ('openConfirm', 5), ('established', 6))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerConnectionState.setStatus('mandatory') vr_ip_bgp_peer_bgp_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerBgpIdentifier.setStatus('mandatory') vr_ip_bgp_peer_version_negotiated = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerVersionNegotiated.setStatus('mandatory') vr_ip_bgp_peer_hold_time_negotiated = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 6), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(3, 65535)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerHoldTimeNegotiated.setStatus('mandatory') vr_ip_bgp_peer_keep_alive_negotiated = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 21845))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerKeepAliveNegotiated.setStatus('mandatory') vr_ip_bgp_peer_local_address_used = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 8), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerLocalAddressUsed.setStatus('mandatory') vr_ip_bgp_peer_local_port = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerLocalPort.setStatus('mandatory') vr_ip_bgp_peer_remote_port = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerRemotePort.setStatus('mandatory') vr_ip_bgp_peer_last_error = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 11), hex_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerLastError.setStatus('mandatory') vr_ip_bgp_peer_connection_established_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 12), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerConnectionEstablishedTime.setStatus('mandatory') vr_ip_bgp_peer_connection_established_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerConnectionEstablishedTransitions.setStatus('mandatory') vr_ip_bgp_peer_in_update_elapsed_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 14), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInUpdateElapsedTime.setStatus('mandatory') vr_ip_bgp_peer_in_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInMsgs.setStatus('mandatory') vr_ip_bgp_peer_in_updates = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInUpdates.setStatus('mandatory') vr_ip_bgp_peer_in_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInErrors.setStatus('mandatory') vr_ip_bgp_peer_in_error_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInErrorMsgs.setStatus('mandatory') vr_ip_bgp_peer_out_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerOutMsgs.setStatus('mandatory') vr_ip_bgp_peer_out_updates = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerOutUpdates.setStatus('mandatory') vr_ip_bgp_peer_out_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerOutDiscards.setStatus('mandatory') vr_ip_bgp_peer_out_error_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerOutErrorMsgs.setStatus('mandatory') vr_ip_bgp_peer_in_routes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 2, 12, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpPeerInRoutes.setStatus('mandatory') vr_ip_bgp_import = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3)) vr_ip_bgp_import_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1)) if mibBuilder.loadTexts: vrIpBgpImportRowStatusTable.setStatus('mandatory') vr_ip_bgp_import_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportIndex')) if mibBuilder.loadTexts: vrIpBgpImportRowStatusEntry.setStatus('mandatory') vr_ip_bgp_import_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportRowStatus.setStatus('mandatory') vr_ip_bgp_import_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpImportComponentName.setStatus('mandatory') vr_ip_bgp_import_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpImportStorageType.setStatus('mandatory') vr_ip_bgp_import_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpImportIndex.setStatus('mandatory') vr_ip_bgp_import_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10)) if mibBuilder.loadTexts: vrIpBgpImportProvTable.setStatus('mandatory') vr_ip_bgp_import_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportIndex')) if mibBuilder.loadTexts: vrIpBgpImportProvEntry.setStatus('mandatory') vr_ip_bgp_import_peer_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportPeerAs.setStatus('mandatory') vr_ip_bgp_import_peer_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 2), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportPeerIpAddress.setStatus('mandatory') vr_ip_bgp_import_origin_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportOriginAs.setStatus('mandatory') vr_ip_bgp_import_origin_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('any', 0), ('igp', 1), ('egp', 2), ('incomplete', 3))).clone('any')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportOriginProtocol.setStatus('mandatory') vr_ip_bgp_import_usage_flag = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('use', 1), ('ignore', 2), ('exclude', 3))).clone('use')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportUsageFlag.setStatus('mandatory') vr_ip_bgp_import_local_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportLocalPreference.setStatus('mandatory') vr_ip_bgp_import_preferred_over = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(6, 70))).clone(namedValues=named_values(('overIntOspf', 6), ('underIntOspf', 70))).clone('underIntOspf')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportPreferredOver.setStatus('mandatory') vr_ip_bgp_import_as_path_expression = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 8), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportAsPathExpression.setStatus('mandatory') vr_ip_bgp_import_community_expression = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 9), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportCommunityExpression.setStatus('mandatory') vr_ip_bgp_import_express_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportExpressPreference.setStatus('mandatory') vr_ip_bgp_import_append_community = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 10, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportAppendCommunity.setStatus('mandatory') vr_ip_bgp_import_net = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2)) vr_ip_bgp_import_net_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1)) if mibBuilder.loadTexts: vrIpBgpImportNetRowStatusTable.setStatus('mandatory') vr_ip_bgp_import_net_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportNetIndex')) if mibBuilder.loadTexts: vrIpBgpImportNetRowStatusEntry.setStatus('mandatory') vr_ip_bgp_import_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportNetRowStatus.setStatus('mandatory') vr_ip_bgp_import_net_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpImportNetComponentName.setStatus('mandatory') vr_ip_bgp_import_net_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpImportNetStorageType.setStatus('mandatory') vr_ip_bgp_import_net_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpImportNetIndex.setStatus('mandatory') vr_ip_bgp_import_net_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10)) if mibBuilder.loadTexts: vrIpBgpImportNetProvTable.setStatus('mandatory') vr_ip_bgp_import_net_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpImportNetIndex')) if mibBuilder.loadTexts: vrIpBgpImportNetProvEntry.setStatus('mandatory') vr_ip_bgp_import_net_prefix = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportNetPrefix.setStatus('mandatory') vr_ip_bgp_import_net_length = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 3, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpImportNetLength.setStatus('mandatory') vr_ip_bgp_export = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4)) vr_ip_bgp_export_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1)) if mibBuilder.loadTexts: vrIpBgpExportRowStatusTable.setStatus('mandatory') vr_ip_bgp_export_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportIndex')) if mibBuilder.loadTexts: vrIpBgpExportRowStatusEntry.setStatus('mandatory') vr_ip_bgp_export_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportRowStatus.setStatus('mandatory') vr_ip_bgp_export_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpExportComponentName.setStatus('mandatory') vr_ip_bgp_export_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpExportStorageType.setStatus('mandatory') vr_ip_bgp_export_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpExportIndex.setStatus('mandatory') vr_ip_bgp_export_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10)) if mibBuilder.loadTexts: vrIpBgpExportProvTable.setStatus('mandatory') vr_ip_bgp_export_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportIndex')) if mibBuilder.loadTexts: vrIpBgpExportProvEntry.setStatus('mandatory') vr_ip_bgp_export_peer_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportPeerAs.setStatus('mandatory') vr_ip_bgp_export_peer_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 2), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportPeerIpAddress.setStatus('mandatory') vr_ip_bgp_export_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('all', 1), ('egp', 2), ('rip', 3), ('ospfInternal', 4), ('ospfExternal', 5), ('staticLocal', 6), ('staticRemote', 7), ('bgpInternal', 8), ('bgpExternal', 9))).clone('all')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportProtocol.setStatus('mandatory') vr_ip_bgp_export_egp_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportEgpAsId.setStatus('mandatory') vr_ip_bgp_export_bgp_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportBgpAsId.setStatus('mandatory') vr_ip_bgp_export_ospf_tag = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 6), hex().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(4294967295)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportOspfTag.setStatus('mandatory') vr_ip_bgp_export_rip_interface = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 7), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportRipInterface.setStatus('mandatory') vr_ip_bgp_export_rip_neighbor = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 8), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportRipNeighbor.setStatus('mandatory') vr_ip_bgp_export_advertise_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('send', 1), ('block', 2))).clone('send')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportAdvertiseStatus.setStatus('mandatory') vr_ip_bgp_export_multi_exit_disc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 10), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportMultiExitDisc.setStatus('mandatory') vr_ip_bgp_export_send_multi_exit_disc_to_ebgp = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('false', 1), ('true', 2))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportSendMultiExitDiscToEbgp.setStatus('mandatory') vr_ip_bgp_export_as_path_expression = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 12), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportAsPathExpression.setStatus('mandatory') vr_ip_bgp_export_community_expression = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 13), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportCommunityExpression.setStatus('mandatory') vr_ip_bgp_export_express_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 14), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportExpressPreference.setStatus('mandatory') vr_ip_bgp_export_send_community = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 15), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportSendCommunity.setStatus('mandatory') vr_ip_bgp_export_insert_dummy_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 10, 1, 200), integer_sequence()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportInsertDummyAs.setStatus('mandatory') vr_ip_bgp_export_net = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2)) vr_ip_bgp_export_net_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1)) if mibBuilder.loadTexts: vrIpBgpExportNetRowStatusTable.setStatus('mandatory') vr_ip_bgp_export_net_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportNetIndex')) if mibBuilder.loadTexts: vrIpBgpExportNetRowStatusEntry.setStatus('mandatory') vr_ip_bgp_export_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportNetRowStatus.setStatus('mandatory') vr_ip_bgp_export_net_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpExportNetComponentName.setStatus('mandatory') vr_ip_bgp_export_net_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpExportNetStorageType.setStatus('mandatory') vr_ip_bgp_export_net_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpExportNetIndex.setStatus('mandatory') vr_ip_bgp_export_net_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10)) if mibBuilder.loadTexts: vrIpBgpExportNetProvTable.setStatus('mandatory') vr_ip_bgp_export_net_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpExportNetIndex')) if mibBuilder.loadTexts: vrIpBgpExportNetProvEntry.setStatus('mandatory') vr_ip_bgp_export_net_prefix = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportNetPrefix.setStatus('mandatory') vr_ip_bgp_export_net_length = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 4, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpExportNetLength.setStatus('mandatory') vr_ip_bgp_as = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5)) vr_ip_bgp_as_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1)) if mibBuilder.loadTexts: vrIpBgpAsRowStatusTable.setStatus('mandatory') vr_ip_bgp_as_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAsIndex')) if mibBuilder.loadTexts: vrIpBgpAsRowStatusEntry.setStatus('mandatory') vr_ip_bgp_as_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAsRowStatus.setStatus('mandatory') vr_ip_bgp_as_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAsComponentName.setStatus('mandatory') vr_ip_bgp_as_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAsStorageType.setStatus('mandatory') vr_ip_bgp_as_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpAsIndex.setStatus('mandatory') vr_ip_bgp_as_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10)) if mibBuilder.loadTexts: vrIpBgpAsProvTable.setStatus('mandatory') vr_ip_bgp_as_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAsIndex')) if mibBuilder.loadTexts: vrIpBgpAsProvEntry.setStatus('mandatory') vr_ip_bgp_as_weight = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 5, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAsWeight.setStatus('mandatory') vr_ip_bgp_aggregate = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6)) vr_ip_bgp_aggregate_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1)) if mibBuilder.loadTexts: vrIpBgpAggregateRowStatusTable.setStatus('mandatory') vr_ip_bgp_aggregate_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregatePrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregateLengthIndex')) if mibBuilder.loadTexts: vrIpBgpAggregateRowStatusEntry.setStatus('mandatory') vr_ip_bgp_aggregate_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateRowStatus.setStatus('mandatory') vr_ip_bgp_aggregate_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAggregateComponentName.setStatus('mandatory') vr_ip_bgp_aggregate_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAggregateStorageType.setStatus('mandatory') vr_ip_bgp_aggregate_prefix_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 10), ip_address()) if mibBuilder.loadTexts: vrIpBgpAggregatePrefixIndex.setStatus('mandatory') vr_ip_bgp_aggregate_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpAggregateLengthIndex.setStatus('mandatory') vr_ip_bgp_aggregate_net = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2)) vr_ip_bgp_aggregate_net_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1)) if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatusTable.setStatus('mandatory') vr_ip_bgp_aggregate_net_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregatePrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregateLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregateNetIndex')) if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatusEntry.setStatus('mandatory') vr_ip_bgp_aggregate_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetRowStatus.setStatus('mandatory') vr_ip_bgp_aggregate_net_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAggregateNetComponentName.setStatus('mandatory') vr_ip_bgp_aggregate_net_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpAggregateNetStorageType.setStatus('mandatory') vr_ip_bgp_aggregate_net_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))) if mibBuilder.loadTexts: vrIpBgpAggregateNetIndex.setStatus('mandatory') vr_ip_bgp_aggregate_net_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10)) if mibBuilder.loadTexts: vrIpBgpAggregateNetProvTable.setStatus('mandatory') vr_ip_bgp_aggregate_net_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregatePrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregateLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpAggregateNetIndex')) if mibBuilder.loadTexts: vrIpBgpAggregateNetProvEntry.setStatus('mandatory') vr_ip_bgp_aggregate_net_prefix = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 1), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetPrefix.setStatus('mandatory') vr_ip_bgp_aggregate_net_length = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetLength.setStatus('mandatory') vr_ip_bgp_aggregate_net_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('all', 1), ('egp', 2), ('rip', 3), ('ospfInternal', 4), ('ospfExternal', 5), ('staticLocal', 6), ('staticRemote', 7), ('bgpInternal', 8), ('bgpExternal', 9))).clone('all')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetProtocol.setStatus('mandatory') vr_ip_bgp_aggregate_net_egp_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetEgpAsId.setStatus('mandatory') vr_ip_bgp_aggregate_net_bgp_as_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetBgpAsId.setStatus('mandatory') vr_ip_bgp_aggregate_net_ospf_tag = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 6), hex().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(4294967295)).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetOspfTag.setStatus('mandatory') vr_ip_bgp_aggregate_net_rip_interface = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 7), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetRipInterface.setStatus('mandatory') vr_ip_bgp_aggregate_net_action = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 6, 2, 10, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('aggregate', 1), ('advertise', 2))).clone('aggregate')).setMaxAccess('readwrite') if mibBuilder.loadTexts: vrIpBgpAggregateNetAction.setStatus('mandatory') vr_ip_bgp_indb = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7)) vr_ip_bgp_indb_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1)) if mibBuilder.loadTexts: vrIpBgpIndbRowStatusTable.setStatus('mandatory') vr_ip_bgp_indb_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpIndbRowStatusEntry.setStatus('mandatory') vr_ip_bgp_indb_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbRowStatus.setStatus('mandatory') vr_ip_bgp_indb_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbComponentName.setStatus('mandatory') vr_ip_bgp_indb_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbStorageType.setStatus('mandatory') vr_ip_bgp_indb_prefix_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 10), ip_address()) if mibBuilder.loadTexts: vrIpBgpIndbPrefixIndex.setStatus('mandatory') vr_ip_bgp_indb_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpIndbLengthIndex.setStatus('mandatory') vr_ip_bgp_indb_peer_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 1, 1, 12), ip_address()) if mibBuilder.loadTexts: vrIpBgpIndbPeerIndex.setStatus('mandatory') vr_ip_bgp_indb_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10)) if mibBuilder.loadTexts: vrIpBgpIndbOperTable.setStatus('mandatory') vr_ip_bgp_indb_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpIndbOperEntry.setStatus('mandatory') vr_ip_bgp_indb_origin = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('igp', 1), ('egp', 2), ('incomplete', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbOrigin.setStatus('mandatory') vr_ip_bgp_indb_in_localdb = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('false', 1), ('true', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbInLocaldb.setStatus('mandatory') vr_ip_bgp_indb_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 6), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbNextHop.setStatus('mandatory') vr_ip_bgp_indb_local_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbLocalPreference.setStatus('mandatory') vr_ip_bgp_indb_calc_local_pref = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbCalcLocalPref.setStatus('mandatory') vr_ip_bgp_indb_multi_exit_discriminator = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbMultiExitDiscriminator.setStatus('mandatory') vr_ip_bgp_indb_atomic_aggregate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('lessSpecificRouteNotSelected', 1), ('lessSpecificRouteSelected', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbAtomicAggregate.setStatus('mandatory') vr_ip_bgp_indb_aggregator_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 11), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbAggregatorAs.setStatus('mandatory') vr_ip_bgp_indb_aggregator_addr = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 12), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbAggregatorAddr.setStatus('mandatory') vr_ip_bgp_indb_as_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 13), ascii_string().subtype(subtypeSpec=value_size_constraint(2, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbAsPath.setStatus('mandatory') vr_ip_bgp_indb_unknown_attributes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 14), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbUnknownAttributes.setStatus('mandatory') vr_ip_bgp_indb_community_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 15), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbCommunityPath.setStatus('mandatory') vr_ip_bgp_indb_as_originator_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 10, 1, 16), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbAsOriginatorId.setStatus('mandatory') vr_ip_bgp_indb_rr_cluster_list_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798)) if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListTable.setStatus('mandatory') vr_ip_bgp_indb_rr_cluster_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbPeerIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndbRrClusterListValue')) if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListEntry.setStatus('mandatory') vr_ip_bgp_indb_rr_cluster_list_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 7, 798, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpIndbRrClusterListValue.setStatus('mandatory') vr_ip_bgp_localdb = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8)) vr_ip_bgp_localdb_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1)) if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatusTable.setStatus('mandatory') vr_ip_bgp_localdb_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatusEntry.setStatus('mandatory') vr_ip_bgp_localdb_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbRowStatus.setStatus('mandatory') vr_ip_bgp_localdb_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbComponentName.setStatus('mandatory') vr_ip_bgp_localdb_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbStorageType.setStatus('mandatory') vr_ip_bgp_localdb_prefix_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 10), ip_address()) if mibBuilder.loadTexts: vrIpBgpLocaldbPrefixIndex.setStatus('mandatory') vr_ip_bgp_localdb_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpLocaldbLengthIndex.setStatus('mandatory') vr_ip_bgp_localdb_peer_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 1, 1, 12), ip_address()) if mibBuilder.loadTexts: vrIpBgpLocaldbPeerIndex.setStatus('mandatory') vr_ip_bgp_localdb_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10)) if mibBuilder.loadTexts: vrIpBgpLocaldbOperTable.setStatus('mandatory') vr_ip_bgp_localdb_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpLocaldbOperEntry.setStatus('mandatory') vr_ip_bgp_localdb_origin = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('igp', 1), ('egp', 2), ('incomplete', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbOrigin.setStatus('mandatory') vr_ip_bgp_localdb_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 5), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbNextHop.setStatus('mandatory') vr_ip_bgp_localdb_local_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbLocalPreference.setStatus('mandatory') vr_ip_bgp_localdb_multi_exit_discriminator = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbMultiExitDiscriminator.setStatus('mandatory') vr_ip_bgp_localdb_atomic_aggregate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('lessSpecificRouteNotSelected', 1), ('lessSpecificRouteSelected', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbAtomicAggregate.setStatus('mandatory') vr_ip_bgp_localdb_aggregator_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbAggregatorAs.setStatus('mandatory') vr_ip_bgp_localdb_aggregator_addr = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 10), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbAggregatorAddr.setStatus('mandatory') vr_ip_bgp_localdb_as_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 11), ascii_string().subtype(subtypeSpec=value_size_constraint(2, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbAsPath.setStatus('mandatory') vr_ip_bgp_localdb_unknown_attributes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 12), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbUnknownAttributes.setStatus('mandatory') vr_ip_bgp_localdb_community_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 13), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbCommunityPath.setStatus('mandatory') vr_ip_bgp_localdb_as_originator_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 10, 1, 14), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbAsOriginatorId.setStatus('mandatory') vr_ip_bgp_localdb_rr_cluster_list_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797)) if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListTable.setStatus('mandatory') vr_ip_bgp_localdb_rr_cluster_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbPeerIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpLocaldbRrClusterListValue')) if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListEntry.setStatus('mandatory') vr_ip_bgp_localdb_rr_cluster_list_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 8, 797, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpLocaldbRrClusterListValue.setStatus('mandatory') vr_ip_bgp_outdb = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9)) vr_ip_bgp_outdb_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1)) if mibBuilder.loadTexts: vrIpBgpOutdbRowStatusTable.setStatus('mandatory') vr_ip_bgp_outdb_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpOutdbRowStatusEntry.setStatus('mandatory') vr_ip_bgp_outdb_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbRowStatus.setStatus('mandatory') vr_ip_bgp_outdb_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbComponentName.setStatus('mandatory') vr_ip_bgp_outdb_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbStorageType.setStatus('mandatory') vr_ip_bgp_outdb_prefix_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 10), ip_address()) if mibBuilder.loadTexts: vrIpBgpOutdbPrefixIndex.setStatus('mandatory') vr_ip_bgp_outdb_length_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))) if mibBuilder.loadTexts: vrIpBgpOutdbLengthIndex.setStatus('mandatory') vr_ip_bgp_outdb_peer_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 1, 1, 12), ip_address()) if mibBuilder.loadTexts: vrIpBgpOutdbPeerIndex.setStatus('mandatory') vr_ip_bgp_outdb_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10)) if mibBuilder.loadTexts: vrIpBgpOutdbOperTable.setStatus('mandatory') vr_ip_bgp_outdb_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPeerIndex')) if mibBuilder.loadTexts: vrIpBgpOutdbOperEntry.setStatus('mandatory') vr_ip_bgp_outdb_origin = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('igp', 1), ('egp', 2), ('incomplete', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbOrigin.setStatus('mandatory') vr_ip_bgp_outdb_next_hop = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 5), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbNextHop.setStatus('mandatory') vr_ip_bgp_outdb_local_preference = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbLocalPreference.setStatus('mandatory') vr_ip_bgp_outdb_multi_exit_discriminator = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbMultiExitDiscriminator.setStatus('mandatory') vr_ip_bgp_outdb_atomic_aggregate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('lessSpecificRouteNotSelected', 1), ('lessSpecificRouteSelected', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbAtomicAggregate.setStatus('mandatory') vr_ip_bgp_outdb_aggregator_as = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 9), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbAggregatorAs.setStatus('mandatory') vr_ip_bgp_outdb_aggregator_addr = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 10), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbAggregatorAddr.setStatus('mandatory') vr_ip_bgp_outdb_as_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 11), ascii_string().subtype(subtypeSpec=value_size_constraint(2, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbAsPath.setStatus('mandatory') vr_ip_bgp_outdb_unknown_attributes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 12), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbUnknownAttributes.setStatus('mandatory') vr_ip_bgp_outdb_community_path = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 13), ascii_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbCommunityPath.setStatus('mandatory') vr_ip_bgp_outdb_as_originator_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 10, 1, 14), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbAsOriginatorId.setStatus('mandatory') vr_ip_bgp_outdb_rr_cluster_list_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799)) if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListTable.setStatus('mandatory') vr_ip_bgp_outdb_rr_cluster_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-VirtualRouterMIB', 'vrIndex'), (0, 'Nortel-Magellan-Passport-IpMIB', 'vrIpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPrefixIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbLengthIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbPeerIndex'), (0, 'Nortel-Magellan-Passport-BgpMIB', 'vrIpBgpOutdbRrClusterListValue')) if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListEntry.setStatus('mandatory') vr_ip_bgp_outdb_rr_cluster_list_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 6, 21, 9, 799, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: vrIpBgpOutdbRrClusterListValue.setStatus('mandatory') bgp_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1)) bgp_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5)) bgp_group_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5, 2)) bgp_group_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 1, 5, 2, 2)) bgp_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3)) bgp_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5)) bgp_capabilities_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5, 2)) bgp_capabilities_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 141, 3, 5, 2, 2)) mibBuilder.exportSymbols('Nortel-Magellan-Passport-BgpMIB', vrIpBgpAggregateNetRowStatusTable=vrIpBgpAggregateNetRowStatusTable, vrIpBgpPeerBgpIdentifier=vrIpBgpPeerBgpIdentifier, vrIpBgpProvTable=vrIpBgpProvTable, vrIpBgpPeerRowStatus=vrIpBgpPeerRowStatus, vrIpBgpOutErrorMsgs=vrIpBgpOutErrorMsgs, vrIpBgpExportNetIndex=vrIpBgpExportNetIndex, vrIpBgpOutdbRrClusterListTable=vrIpBgpOutdbRrClusterListTable, bgpCapabilitiesBE01A=bgpCapabilitiesBE01A, vrIpBgpPeerAdminState=vrIpBgpPeerAdminState, vrIpBgpAggregateNetOspfTag=vrIpBgpAggregateNetOspfTag, vrIpBgpIndbOperTable=vrIpBgpIndbOperTable, vrIpBgpAggregateNetStorageType=vrIpBgpAggregateNetStorageType, vrIpBgpAggregateNetLength=vrIpBgpAggregateNetLength, vrIpBgpPeerKeepAliveNegotiated=vrIpBgpPeerKeepAliveNegotiated, vrIpBgpImportUsageFlag=vrIpBgpImportUsageFlag, vrIpBgpImportLocalPreference=vrIpBgpImportLocalPreference, vrIpBgpExportAdvertiseStatus=vrIpBgpExportAdvertiseStatus, vrIpBgpIndbPeerIndex=vrIpBgpIndbPeerIndex, vrIpBgpOutdbRowStatusEntry=vrIpBgpOutdbRowStatusEntry, vrIpBgpImportOriginProtocol=vrIpBgpImportOriginProtocol, vrIpBgpImportNetStorageType=vrIpBgpImportNetStorageType, vrIpBgpLocaldbComponentName=vrIpBgpLocaldbComponentName, vrIpBgpLocaldbOperTable=vrIpBgpLocaldbOperTable, vrIpBgpImport=vrIpBgpImport, vrIpBgpExportRowStatusTable=vrIpBgpExportRowStatusTable, vrIpBgpOutdbNextHop=vrIpBgpOutdbNextHop, vrIpBgpPeerPeerAddressIndex=vrIpBgpPeerPeerAddressIndex, vrIpBgpIndbCommunityPath=vrIpBgpIndbCommunityPath, vrIpBgpPeerLocalAddressUsed=vrIpBgpPeerLocalAddressUsed, vrIpBgpStateTable=vrIpBgpStateTable, vrIpBgpPeerOperationalState=vrIpBgpPeerOperationalState, vrIpBgpAdminControlEntry=vrIpBgpAdminControlEntry, bgpGroupBE=bgpGroupBE, vrIpBgpSnmpAdminStatus=vrIpBgpSnmpAdminStatus, vrIpBgpOutdbRrClusterListValue=vrIpBgpOutdbRrClusterListValue, vrIpBgpAs=vrIpBgpAs, vrIpBgpImportNetRowStatusEntry=vrIpBgpImportNetRowStatusEntry, vrIpBgpLocaldbPrefixIndex=vrIpBgpLocaldbPrefixIndex, vrIpBgpLocaldbAggregatorAddr=vrIpBgpLocaldbAggregatorAddr, vrIpBgpOperStatusEntry=vrIpBgpOperStatusEntry, vrIpBgpRouteReflector=vrIpBgpRouteReflector, vrIpBgpExportNetRowStatusTable=vrIpBgpExportNetRowStatusTable, vrIpBgpLocaldbPeerIndex=vrIpBgpLocaldbPeerIndex, vrIpBgpRouteThrottleLimit=vrIpBgpRouteThrottleLimit, vrIpBgpExportOspfTag=vrIpBgpExportOspfTag, vrIpBgpAsWeight=vrIpBgpAsWeight, vrIpBgpPeerPeerAs=vrIpBgpPeerPeerAs, vrIpBgpOutdbRowStatusTable=vrIpBgpOutdbRowStatusTable, vrIpBgpAsStorageType=vrIpBgpAsStorageType, vrIpBgpExportNetStorageType=vrIpBgpExportNetStorageType, vrIpBgpAggregateNetProvEntry=vrIpBgpAggregateNetProvEntry, vrIpBgpIndbAggregatorAs=vrIpBgpIndbAggregatorAs, vrIpBgpAsRowStatus=vrIpBgpAsRowStatus, vrIpBgpIndbAtomicAggregate=vrIpBgpIndbAtomicAggregate, vrIpBgpPeerOutErrorMsgs=vrIpBgpPeerOutErrorMsgs, vrIpBgpAggregateRowStatusTable=vrIpBgpAggregateRowStatusTable, vrIpBgpLocaldbMultiExitDiscriminator=vrIpBgpLocaldbMultiExitDiscriminator, bgpGroupBE01=bgpGroupBE01, vrIpBgpPeerStateTable=vrIpBgpPeerStateTable, vrIpBgpPeerProvTable=vrIpBgpPeerProvTable, vrIpBgpImportPeerIpAddress=vrIpBgpImportPeerIpAddress, vrIpBgpIndbInLocaldb=vrIpBgpIndbInLocaldb, vrIpBgpProvEntry=vrIpBgpProvEntry, vrIpBgpLocaldbLocalPreference=vrIpBgpLocaldbLocalPreference, vrIpBgpImportComponentName=vrIpBgpImportComponentName, vrIpBgpRouteReflectorCluster=vrIpBgpRouteReflectorCluster, vrIpBgpLocaldbNextHop=vrIpBgpLocaldbNextHop, vrIpBgpOperEntry=vrIpBgpOperEntry, vrIpBgpLocaldbStorageType=vrIpBgpLocaldbStorageType, vrIpBgpLocaldbAsPath=vrIpBgpLocaldbAsPath, vrIpBgpOutDiscards=vrIpBgpOutDiscards, vrIpBgpImportAppendCommunity=vrIpBgpImportAppendCommunity, vrIpBgpIndbSize=vrIpBgpIndbSize, vrIpBgpIndbRrClusterListEntry=vrIpBgpIndbRrClusterListEntry, vrIpBgpIndbNextHop=vrIpBgpIndbNextHop, vrIpBgpImportNetRowStatus=vrIpBgpImportNetRowStatus, vrIpBgpExportExpressPreference=vrIpBgpExportExpressPreference, vrIpBgpAdminState=vrIpBgpAdminState, vrIpBgpOperationalState=vrIpBgpOperationalState, vrIpBgpExportProvEntry=vrIpBgpExportProvEntry, vrIpBgpPeerHoldTimeConfigured=vrIpBgpPeerHoldTimeConfigured, vrIpBgpOutdbStorageType=vrIpBgpOutdbStorageType, vrIpBgpPeerInRoutes=vrIpBgpPeerInRoutes, vrIpBgpPeerConnectionEstablishedTime=vrIpBgpPeerConnectionEstablishedTime, vrIpBgpImportExpressPreference=vrIpBgpImportExpressPreference, vrIpBgpInErrors=vrIpBgpInErrors, vrIpBgpLocaldbLengthIndex=vrIpBgpLocaldbLengthIndex, vrIpBgpAggregateNetProtocol=vrIpBgpAggregateNetProtocol, vrIpBgpIndbUnknownAttributes=vrIpBgpIndbUnknownAttributes, vrIpBgpOutdbRrClusterListEntry=vrIpBgpOutdbRrClusterListEntry, vrIpBgpAggregateComponentName=vrIpBgpAggregateComponentName, vrIpBgpAsIndex=vrIpBgpAsIndex, vrIpBgpExportRowStatusEntry=vrIpBgpExportRowStatusEntry, vrIpBgpAggregateNetIndex=vrIpBgpAggregateNetIndex, vrIpBgpAsRowStatusTable=vrIpBgpAsRowStatusTable, vrIpBgpOutdb=vrIpBgpOutdb, vrIpBgpExportSendMultiExitDiscToEbgp=vrIpBgpExportSendMultiExitDiscToEbgp, vrIpBgpPeerOutMsgs=vrIpBgpPeerOutMsgs, vrIpBgpLocaldbAsOriginatorId=vrIpBgpLocaldbAsOriginatorId, vrIpBgpDefaultMultiExitDisc=vrIpBgpDefaultMultiExitDisc, vrIpBgp=vrIpBgp, vrIpBgpOutdbLengthIndex=vrIpBgpOutdbLengthIndex, vrIpBgpImportStorageType=vrIpBgpImportStorageType, vrIpBgpAggregateNetAction=vrIpBgpAggregateNetAction, vrIpBgpLocaldbRowStatusTable=vrIpBgpLocaldbRowStatusTable, vrIpBgpExportNetRowStatusEntry=vrIpBgpExportNetRowStatusEntry, vrIpBgpPeerRowStatusTable=vrIpBgpPeerRowStatusTable, vrIpBgpLocaldbUnknownAttributes=vrIpBgpLocaldbUnknownAttributes, vrIpBgpLocaldb=vrIpBgpLocaldb, vrIpBgpOutdbAsOriginatorId=vrIpBgpOutdbAsOriginatorId, vrIpBgpAsProvEntry=vrIpBgpAsProvEntry, vrIpBgpExportRowStatus=vrIpBgpExportRowStatus, vrIpBgpOutdbAggregatorAs=vrIpBgpOutdbAggregatorAs, vrIpBgpLocaldbRowStatus=vrIpBgpLocaldbRowStatus, bgpMIB=bgpMIB, vrIpBgpIndbAggregatorAddr=vrIpBgpIndbAggregatorAddr, vrIpBgpLocaldbRrClusterListTable=vrIpBgpLocaldbRrClusterListTable, vrIpBgpImportOriginAs=vrIpBgpImportOriginAs, vrIpBgpExportNetProvEntry=vrIpBgpExportNetProvEntry, vrIpBgpExportStorageType=vrIpBgpExportStorageType, vrIpBgpIndbOperEntry=vrIpBgpIndbOperEntry, vrIpBgpPeerDefaultInAggMed=vrIpBgpPeerDefaultInAggMed, vrIpBgpUsageState=vrIpBgpUsageState, vrIpBgpLocaldbRrClusterListEntry=vrIpBgpLocaldbRrClusterListEntry, vrIpBgpStorageType=vrIpBgpStorageType, vrIpBgpIndbRowStatusEntry=vrIpBgpIndbRowStatusEntry, vrIpBgpPeerMinAsOrigTime=vrIpBgpPeerMinAsOrigTime, vrIpBgpPeerVersionNegotiated=vrIpBgpPeerVersionNegotiated, vrIpBgpPeerOutUpdates=vrIpBgpPeerOutUpdates, vrIpBgpPeerOperEntry=vrIpBgpPeerOperEntry, vrIpBgpRowStatus=vrIpBgpRowStatus, vrIpBgpImportRowStatusTable=vrIpBgpImportRowStatusTable, vrIpBgpPeerUsageState=vrIpBgpPeerUsageState, vrIpBgpIndbComponentName=vrIpBgpIndbComponentName, vrIpBgpIndbAsPath=vrIpBgpIndbAsPath, vrIpBgpOutdbRowStatus=vrIpBgpOutdbRowStatus, vrIpBgpAggregateNetProvTable=vrIpBgpAggregateNetProvTable, bgpCapabilitiesBE01=bgpCapabilitiesBE01, vrIpBgpRouteThrottleInter=vrIpBgpRouteThrottleInter, vrIpBgpPeerIsRouteReflectorClient=vrIpBgpPeerIsRouteReflectorClient, vrIpBgpImportPeerAs=vrIpBgpImportPeerAs, vrIpBgpAggregate=vrIpBgpAggregate, vrIpBgpPeerStateEntry=vrIpBgpPeerStateEntry, vrIpBgpOutdbLocalPreference=vrIpBgpOutdbLocalPreference, vrIpBgpLocalAs=vrIpBgpLocalAs, vrIpBgpOutdbOperTable=vrIpBgpOutdbOperTable, vrIpBgpBgpIdentifier=vrIpBgpBgpIdentifier, vrIpBgpPeerRemotePort=vrIpBgpPeerRemotePort, vrIpBgpAggregateRowStatusEntry=vrIpBgpAggregateRowStatusEntry, vrIpBgpAggregateNetRowStatusEntry=vrIpBgpAggregateNetRowStatusEntry, vrIpBgpOutdbPeerIndex=vrIpBgpOutdbPeerIndex, vrIpBgpPeer=vrIpBgpPeer, vrIpBgpPeerOutDiscards=vrIpBgpPeerOutDiscards, vrIpBgpExportCommunityExpression=vrIpBgpExportCommunityExpression, vrIpBgpIndbRrClusterListValue=vrIpBgpIndbRrClusterListValue, vrIpBgpLocaldbAggregatorAs=vrIpBgpLocaldbAggregatorAs, vrIpBgpOutMsgs=vrIpBgpOutMsgs, vrIpBgpAggregateNetRowStatus=vrIpBgpAggregateNetRowStatus, vrIpBgpPeerInUpdates=vrIpBgpPeerInUpdates, vrIpBgpOperStatusTable=vrIpBgpOperStatusTable, vrIpBgpIndbCalcLocalPref=vrIpBgpIndbCalcLocalPref, vrIpBgpAsProvTable=vrIpBgpAsProvTable, vrIpBgpOutdbComponentName=vrIpBgpOutdbComponentName, vrIpBgpOutdbMultiExitDiscriminator=vrIpBgpOutdbMultiExitDiscriminator, vrIpBgpTableVersion=vrIpBgpTableVersion, vrIpBgpImportNetRowStatusTable=vrIpBgpImportNetRowStatusTable, vrIpBgpExportNet=vrIpBgpExportNet, bgpGroup=bgpGroup, vrIpBgpAggregateNetBgpAsId=vrIpBgpAggregateNetBgpAsId, vrIpBgpAsComponentName=vrIpBgpAsComponentName, vrIpBgpPeerComponentName=vrIpBgpPeerComponentName, vrIpBgpAggregatePrefixIndex=vrIpBgpAggregatePrefixIndex, vrIpBgpImportAsPathExpression=vrIpBgpImportAsPathExpression, vrIpBgpLocaldbOrigin=vrIpBgpLocaldbOrigin, vrIpBgpPeerInUpdateElapsedTime=vrIpBgpPeerInUpdateElapsedTime, vrIpBgpOutdbAsPath=vrIpBgpOutdbAsPath, vrIpBgpExportPeerAs=vrIpBgpExportPeerAs, vrIpBgpPeerInErrors=vrIpBgpPeerInErrors, vrIpBgpExportRipNeighbor=vrIpBgpExportRipNeighbor, vrIpBgpIndbRowStatusTable=vrIpBgpIndbRowStatusTable, vrIpBgpIndbOrigin=vrIpBgpIndbOrigin, vrIpBgpPeerLocalPort=vrIpBgpPeerLocalPort, vrIpBgpIndex=vrIpBgpIndex, vrIpBgpImportRowStatus=vrIpBgpImportRowStatus, vrIpBgpPeerOperTable=vrIpBgpPeerOperTable, vrIpBgpAggregateStorageType=vrIpBgpAggregateStorageType, vrIpBgpImportNet=vrIpBgpImportNet, vrIpBgpOutdbAtomicAggregate=vrIpBgpOutdbAtomicAggregate, vrIpBgpOutdbAggregatorAddr=vrIpBgpOutdbAggregatorAddr, vrIpBgpIndbStorageType=vrIpBgpIndbStorageType, vrIpBgpExportProvTable=vrIpBgpExportProvTable, vrIpBgpLocaldbRowStatusEntry=vrIpBgpLocaldbRowStatusEntry, vrIpBgpImportNetComponentName=vrIpBgpImportNetComponentName, vrIpBgpExportNetPrefix=vrIpBgpExportNetPrefix, vrIpBgpAdminControlTable=vrIpBgpAdminControlTable, vrIpBgpExport=vrIpBgpExport, vrIpBgpExportIndex=vrIpBgpExportIndex, vrIpBgpDefaultLocalPreference=vrIpBgpDefaultLocalPreference, vrIpBgpAggregateNetEgpAsId=vrIpBgpAggregateNetEgpAsId, vrIpBgpIndbLocalPreference=vrIpBgpIndbLocalPreference, vrIpBgpImportNetPrefix=vrIpBgpImportNetPrefix, vrIpBgpAggregateNetPrefix=vrIpBgpAggregateNetPrefix, vrIpBgpPeerStorageType=vrIpBgpPeerStorageType, vrIpBgpImportIndex=vrIpBgpImportIndex, vrIpBgpImportNetProvTable=vrIpBgpImportNetProvTable, vrIpBgpLocaldbOperEntry=vrIpBgpLocaldbOperEntry, vrIpBgpImportNetIndex=vrIpBgpImportNetIndex, vrIpBgpInMsgs=vrIpBgpInMsgs, vrIpBgpExportBgpAsId=vrIpBgpExportBgpAsId, vrIpBgpImportProvEntry=vrIpBgpImportProvEntry, vrIpBgpOutdbOperEntry=vrIpBgpOutdbOperEntry, vrIpBgpExportProtocol=vrIpBgpExportProtocol, vrIpBgpExportAsPathExpression=vrIpBgpExportAsPathExpression, vrIpBgpExportSendCommunity=vrIpBgpExportSendCommunity, vrIpBgpOutdbUnknownAttributes=vrIpBgpOutdbUnknownAttributes, vrIpBgpComponentName=vrIpBgpComponentName, vrIpBgpLocaldbCommunityPath=vrIpBgpLocaldbCommunityPath, bgpCapabilitiesBE=bgpCapabilitiesBE, vrIpBgpIndb=vrIpBgpIndb, vrIpBgpLocaldbRrClusterListValue=vrIpBgpLocaldbRrClusterListValue, vrIpBgpExportNetComponentName=vrIpBgpExportNetComponentName, vrIpBgpIndbMultiExitDiscriminator=vrIpBgpIndbMultiExitDiscriminator, vrIpBgpPeerHoldTimeNegotiated=vrIpBgpPeerHoldTimeNegotiated, vrIpBgpRowStatusTable=vrIpBgpRowStatusTable, vrIpBgpIndbAsOriginatorId=vrIpBgpIndbAsOriginatorId, vrIpBgpPeerConnectionState=vrIpBgpPeerConnectionState, vrIpBgpPeerProvEntry=vrIpBgpPeerProvEntry, vrIpBgpPeerLocalAddressConfigured=vrIpBgpPeerLocalAddressConfigured, vrIpBgpExportComponentName=vrIpBgpExportComponentName, vrIpBgpExportMultiExitDisc=vrIpBgpExportMultiExitDisc, vrIpBgpExportNetRowStatus=vrIpBgpExportNetRowStatus, vrIpBgpPeerInMsgs=vrIpBgpPeerInMsgs, vrIpBgpAggregateNetRipInterface=vrIpBgpAggregateNetRipInterface, vrIpBgpAggregateNet=vrIpBgpAggregateNet, vrIpBgpPeerLastError=vrIpBgpPeerLastError, vrIpBgpPeerInErrorMsgs=vrIpBgpPeerInErrorMsgs, vrIpBgpIndbLengthIndex=vrIpBgpIndbLengthIndex, vrIpBgpIndbRrClusterListTable=vrIpBgpIndbRrClusterListTable, vrIpBgpOutdbPrefixIndex=vrIpBgpOutdbPrefixIndex, vrIpBgpLocaldbAtomicAggregate=vrIpBgpLocaldbAtomicAggregate, vrIpBgpOutdbOrigin=vrIpBgpOutdbOrigin, vrIpBgpExportNetLength=vrIpBgpExportNetLength, vrIpBgpPeerKeepAliveConfigured=vrIpBgpPeerKeepAliveConfigured, vrIpBgpPeerConnectionEstablishedTransitions=vrIpBgpPeerConnectionEstablishedTransitions, vrIpBgpImportProvTable=vrIpBgpImportProvTable, vrIpBgpExportEgpAsId=vrIpBgpExportEgpAsId, vrIpBgpImportPreferredOver=vrIpBgpImportPreferredOver, vrIpBgpExportInsertDummyAs=vrIpBgpExportInsertDummyAs, vrIpBgpPeerConnectRetryTime=vrIpBgpPeerConnectRetryTime, vrIpBgpImportNetLength=vrIpBgpImportNetLength, vrIpBgpAggregateLengthIndex=vrIpBgpAggregateLengthIndex, vrIpBgpImportCommunityExpression=vrIpBgpImportCommunityExpression, vrIpBgpOutdbCommunityPath=vrIpBgpOutdbCommunityPath, vrIpBgpPeerMinRouteAdvTime=vrIpBgpPeerMinRouteAdvTime) mibBuilder.exportSymbols('Nortel-Magellan-Passport-BgpMIB', vrIpBgpAggregateRowStatus=vrIpBgpAggregateRowStatus, vrIpBgpIndbRowStatus=vrIpBgpIndbRowStatus, vrIpBgpImportRowStatusEntry=vrIpBgpImportRowStatusEntry, vrIpBgpRowStatusEntry=vrIpBgpRowStatusEntry, vrIpBgpImportNetProvEntry=vrIpBgpImportNetProvEntry, vrIpBgpStateEntry=vrIpBgpStateEntry, vrIpBgpOperTable=vrIpBgpOperTable, vrIpBgpInErrorMsgs=vrIpBgpInErrorMsgs, vrIpBgpExportPeerIpAddress=vrIpBgpExportPeerIpAddress, vrIpBgpPeerRowStatusEntry=vrIpBgpPeerRowStatusEntry, vrIpBgpExportNetProvTable=vrIpBgpExportNetProvTable, vrIpBgpAggregateNetComponentName=vrIpBgpAggregateNetComponentName, vrIpBgpIndbPrefixIndex=vrIpBgpIndbPrefixIndex, vrIpBgpSnmpOperStatus=vrIpBgpSnmpOperStatus, vrIpBgpExportRipInterface=vrIpBgpExportRipInterface, vrIpBgpAsRowStatusEntry=vrIpBgpAsRowStatusEntry, bgpCapabilities=bgpCapabilities, bgpGroupBE01A=bgpGroupBE01A)
a = {1,2 , 3+4, 10*7} b = {7,14,21} print(a-b) # - will return the resulting set which has elements of the left-hand set with all elements from the right-hand set removed # difference function is used in newer version # a={1,2,7,70} # {1,2, 70} a = {1,2 , 3+4, 10*7} b = {7,14,21} print(a.difference(b)) # {1,2, 70}
a = {1, 2, 3 + 4, 10 * 7} b = {7, 14, 21} print(a - b) a = {1, 2, 3 + 4, 10 * 7} b = {7, 14, 21} print(a.difference(b))
''' Problem Description Given a positive integer A, return its corresponding column title as appear in an Excel sheet. Problem Constraints 1 <= A <= 1000000000 Input Format First and only argument is integer A. Output Format Return a string, the answer to the problem. Approach: base conversion''' class Solution: # @param A : integer # @return a strings def convertToTitle(self, A): # chr -> integer to character # ord -> character to integer # creating a list n[] that contains ASCII values of characters A - Z n=[chr(i) for i in range(ord("A"),ord("Z")+1)] # .insert(position, element) n.insert(0,0) # creating two empty lists a=[];p=[] # typical base conversion while A>26: k=A%26 A=A//26 if k==0: a.append(26) A-=1 else: a.append(k) a.append(int(A)) a.reverse() for i in a: p.append(n[i]) r="".join(p) return r
""" Problem Description Given a positive integer A, return its corresponding column title as appear in an Excel sheet. Problem Constraints 1 <= A <= 1000000000 Input Format First and only argument is integer A. Output Format Return a string, the answer to the problem. Approach: base conversion""" class Solution: def convert_to_title(self, A): n = [chr(i) for i in range(ord('A'), ord('Z') + 1)] n.insert(0, 0) a = [] p = [] while A > 26: k = A % 26 a = A // 26 if k == 0: a.append(26) a -= 1 else: a.append(k) a.append(int(A)) a.reverse() for i in a: p.append(n[i]) r = ''.join(p) return r
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ 'audio_sender/audio_sender.gypi', 'congestion_control/congestion_control.gypi', 'video_sender/video_sender.gypi', ], 'targets': [ { 'target_name': 'cast_sender', 'type': 'static_library', 'include_dirs': [ '<(DEPTH)/', ], 'sources': [ 'cast_sender.h', 'cast_sender_impl.cc', 'cast_sender_impl.h', ], # source 'dependencies': [ '<(DEPTH)/media/cast/transport/cast_transport.gyp:cast_transport', 'audio_sender', 'congestion_control', 'rtcp/rtcp.gyp:cast_rtcp', 'video_sender', ], # dependencies }, ], }
{'variables': {'chromium_code': 1}, 'includes': ['audio_sender/audio_sender.gypi', 'congestion_control/congestion_control.gypi', 'video_sender/video_sender.gypi'], 'targets': [{'target_name': 'cast_sender', 'type': 'static_library', 'include_dirs': ['<(DEPTH)/'], 'sources': ['cast_sender.h', 'cast_sender_impl.cc', 'cast_sender_impl.h'], 'dependencies': ['<(DEPTH)/media/cast/transport/cast_transport.gyp:cast_transport', 'audio_sender', 'congestion_control', 'rtcp/rtcp.gyp:cast_rtcp', 'video_sender']}]}
class BollingerBands: def __init__(self): self.BBW = [] self.BB_indicator = False self.buy_indicator = False self.sell_indicator = False def feed(self, last_SMA, last_standard_deviation, last_close): upper_band = last_SMA + 2 * last_standard_deviation lower_band = last_SMA - 2 * last_standard_deviation self.BBW.append((upper_band - lower_band) / last_SMA) if len(self.BBW) >= 2: self.__update_bollinger_band_indicator(last_close, upper_band, lower_band) def __update_bollinger_band_indicator(self, last_close, upper_band, lower_band): self.BB_indicator = False self.buy_indicator = False self.sell_indicator = False if self.BBW[-2] < self.BBW[-1]: self.BB_indicator = True if last_close < lower_band: self.sell_indicator = True elif last_close > upper_band: self.buy_indicator = True
class Bollingerbands: def __init__(self): self.BBW = [] self.BB_indicator = False self.buy_indicator = False self.sell_indicator = False def feed(self, last_SMA, last_standard_deviation, last_close): upper_band = last_SMA + 2 * last_standard_deviation lower_band = last_SMA - 2 * last_standard_deviation self.BBW.append((upper_band - lower_band) / last_SMA) if len(self.BBW) >= 2: self.__update_bollinger_band_indicator(last_close, upper_band, lower_band) def __update_bollinger_band_indicator(self, last_close, upper_band, lower_band): self.BB_indicator = False self.buy_indicator = False self.sell_indicator = False if self.BBW[-2] < self.BBW[-1]: self.BB_indicator = True if last_close < lower_band: self.sell_indicator = True elif last_close > upper_band: self.buy_indicator = True
class NineGates: name = "Nine Gates" points = 88 excluded = ("Full Flush", "Pung of Terminals or Honors") def __init__(self, handObj): self.hand = handObj def map_ranks(self, tiles): def get_ranks(tile): rank = int(tile.rank) return rank ranks = list(map(get_ranks, tiles)) ranks.sort() return ranks def examine_standard_hand(self): return self.hand.standardhand def examine_correct_sum(self): correct_sum = True if self.hand.tilecount == 14 else False return correct_sum def examine_single_suit(self): try: first_suit = self.hand.tilesets[0].suit single_suit = all(tileset.suit == first_suit for tileset in self.hand.tilesets) except AttributeError: single_suit = False return single_suit def examine_concealed(self): concealed_sets = [] allowed_sets = ["pung", "kong", "chow", "knitted"] for tileset in self.hand.tilesets: if tileset.type in allowed_sets: concealed_sets.append(tileset.concealed) concealed_hand = all(concealed_sets) if getattr(self.hand, "concealed", None) is not None and type(self.hand.concealed) is not list and self.hand.concealed == True: fully_concealed_hand = True else: fully_concealed_hand = False concealed = any([concealed_hand, fully_concealed_hand]) return concealed def examine_correct_pattern(self): correct_pattern = False allowed_pattern = (1,1,1,2,3,4,5,6,7,8,9,9,9) all_tiles = [] for tileset in self.hand.tilesets: for item in tileset.tiles: all_tiles.append(item) try: ranks = self.map_ranks(all_tiles) ranks.sort() #the hand can go out in one of 9 ways, look for that tile for n in range(1, 10): pattern_test = list(allowed_pattern) pattern_test.append(n) pattern_test.sort() if ranks == pattern_test: correct_pattern = True except AttributeError: pass return correct_pattern def evaluate(self): standard_hand = self.examine_standard_hand() correct_sum = self.examine_correct_sum() single_suit = self.examine_single_suit() concealed = self.examine_concealed() correct_pattern = self.examine_correct_pattern() nine_gates = all([standard_hand, correct_sum, single_suit, concealed, correct_pattern]) return nine_gates
class Ninegates: name = 'Nine Gates' points = 88 excluded = ('Full Flush', 'Pung of Terminals or Honors') def __init__(self, handObj): self.hand = handObj def map_ranks(self, tiles): def get_ranks(tile): rank = int(tile.rank) return rank ranks = list(map(get_ranks, tiles)) ranks.sort() return ranks def examine_standard_hand(self): return self.hand.standardhand def examine_correct_sum(self): correct_sum = True if self.hand.tilecount == 14 else False return correct_sum def examine_single_suit(self): try: first_suit = self.hand.tilesets[0].suit single_suit = all((tileset.suit == first_suit for tileset in self.hand.tilesets)) except AttributeError: single_suit = False return single_suit def examine_concealed(self): concealed_sets = [] allowed_sets = ['pung', 'kong', 'chow', 'knitted'] for tileset in self.hand.tilesets: if tileset.type in allowed_sets: concealed_sets.append(tileset.concealed) concealed_hand = all(concealed_sets) if getattr(self.hand, 'concealed', None) is not None and type(self.hand.concealed) is not list and (self.hand.concealed == True): fully_concealed_hand = True else: fully_concealed_hand = False concealed = any([concealed_hand, fully_concealed_hand]) return concealed def examine_correct_pattern(self): correct_pattern = False allowed_pattern = (1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9) all_tiles = [] for tileset in self.hand.tilesets: for item in tileset.tiles: all_tiles.append(item) try: ranks = self.map_ranks(all_tiles) ranks.sort() for n in range(1, 10): pattern_test = list(allowed_pattern) pattern_test.append(n) pattern_test.sort() if ranks == pattern_test: correct_pattern = True except AttributeError: pass return correct_pattern def evaluate(self): standard_hand = self.examine_standard_hand() correct_sum = self.examine_correct_sum() single_suit = self.examine_single_suit() concealed = self.examine_concealed() correct_pattern = self.examine_correct_pattern() nine_gates = all([standard_hand, correct_sum, single_suit, concealed, correct_pattern]) return nine_gates
def height(root): l = 1 + height(root.left) if root.left else 0 r = 1 + height(root.right) if root.right else 0 return max(l, r)
def height(root): l = 1 + height(root.left) if root.left else 0 r = 1 + height(root.right) if root.right else 0 return max(l, r)
def validate_register_fields(req): data = req.get_json(silent=True) fields = ['first_name', 'last_name', 'email', 'password'] for d in data.keys(): if d not in fields: return False return True
def validate_register_fields(req): data = req.get_json(silent=True) fields = ['first_name', 'last_name', 'email', 'password'] for d in data.keys(): if d not in fields: return False return True
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/root/catkin_ws/src/navigation_msgs/map_msgs/msg/OccupancyGridUpdate.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/PointCloud2Update.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/ProjectedMapInfo.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/ProjectedMap.msg" services_str = "/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetMapROI.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetPointMapROI.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetPointMap.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/ProjectedMapsInfo.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/SaveMap.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/SetMapProjections.srv" pkg_name = "map_msgs" dependencies_str = "nav_msgs;sensor_msgs;std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "map_msgs;/root/catkin_ws/src/navigation_msgs/map_msgs/msg;nav_msgs;/opt/ros/kinetic/share/nav_msgs/cmake/../msg;sensor_msgs;/opt/ros/kinetic/share/sensor_msgs/cmake/../msg;std_msgs;/opt/ros/kinetic/share/std_msgs/cmake/../msg;geometry_msgs;/opt/ros/kinetic/share/geometry_msgs/cmake/../msg;actionlib_msgs;/opt/ros/kinetic/share/actionlib_msgs/cmake/../msg" PYTHON_EXECUTABLE = "/usr/bin/python2" package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = "/opt/ros/kinetic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py"
messages_str = '/root/catkin_ws/src/navigation_msgs/map_msgs/msg/OccupancyGridUpdate.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/PointCloud2Update.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/ProjectedMapInfo.msg;/root/catkin_ws/src/navigation_msgs/map_msgs/msg/ProjectedMap.msg' services_str = '/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetMapROI.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetPointMapROI.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/GetPointMap.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/ProjectedMapsInfo.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/SaveMap.srv;/root/catkin_ws/src/navigation_msgs/map_msgs/srv/SetMapProjections.srv' pkg_name = 'map_msgs' dependencies_str = 'nav_msgs;sensor_msgs;std_msgs' langs = 'gencpp;geneus;genlisp;gennodejs;genpy' dep_include_paths_str = 'map_msgs;/root/catkin_ws/src/navigation_msgs/map_msgs/msg;nav_msgs;/opt/ros/kinetic/share/nav_msgs/cmake/../msg;sensor_msgs;/opt/ros/kinetic/share/sensor_msgs/cmake/../msg;std_msgs;/opt/ros/kinetic/share/std_msgs/cmake/../msg;geometry_msgs;/opt/ros/kinetic/share/geometry_msgs/cmake/../msg;actionlib_msgs;/opt/ros/kinetic/share/actionlib_msgs/cmake/../msg' python_executable = '/usr/bin/python2' package_has_static_sources = '' == 'TRUE' genmsg_check_deps_script = '/opt/ros/kinetic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py'
df = pd.DataFrame(np.random.randn(10,3), columns=['Col1', 'Col2', 'Col3']) df['X'] = pd.Series(['A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B']) df['Y'] = pd.Series(['A', 'B', 'A', 'B', 'A', 'B', 'A', 'B', 'A', 'B']) boxplot = df.boxplot(column=['Col1', 'Col2'], by=['X', 'Y'])
df = pd.DataFrame(np.random.randn(10, 3), columns=['Col1', 'Col2', 'Col3']) df['X'] = pd.Series(['A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B']) df['Y'] = pd.Series(['A', 'B', 'A', 'B', 'A', 'B', 'A', 'B', 'A', 'B']) boxplot = df.boxplot(column=['Col1', 'Col2'], by=['X', 'Y'])
__version__ = '0.1' __all__ = ["hamilton", "objects", "hamutilities", "structure", "utilities", "gui", "masterjobs", "workbench.py", "workbench_gui.py", "setup.py", "update.py"]
__version__ = '0.1' __all__ = ['hamilton', 'objects', 'hamutilities', 'structure', 'utilities', 'gui', 'masterjobs', 'workbench.py', 'workbench_gui.py', 'setup.py', 'update.py']
{ "targets": [ { "target_name": "xprofiler", "win_delay_load_hook": "false", "sources": [ "src/environment_data.cc", "src/xprofiler.cc", "src/configure.cc", "src/logger.cc", "src/library/json.hpp", "src/library/error.cc", "src/library/common.cc", "src/library/utils.cc", "src/library/writer.cc", "src/logbypass/log.cc", "src/logbypass/cpu.cc", "src/logbypass/heap.cc", "src/logbypass/gc.cc", "src/logbypass/libuv.cc", "src/logbypass/http.cc", "src/commands/listener.cc", "src/commands/send.cc", "src/commands/parser.cc", "src/commands/dump.cc", "src/commands/simple/version.cc", "src/commands/simple/config.cc", "src/commands/cpuprofiler/cpu_profiler.cc", "src/commands/cpuprofiler/cpu_profile.cc", "src/commands/cpuprofiler/cpu_profile_node.cc", "src/commands/heapdump/heap_profiler.cc", "src/commands/heapdump/heap_snapshot.cc", "src/commands/heapprofiler/sampling_heap_profiler.cc", "src/commands/gcprofiler/gc_profiler.cc", "src/commands/report/node_report.cc", "src/commands/report/javascript_stack.cc", "src/commands/report/native_stack.cc", "src/commands/report/heap_statistics.cc", "src/commands/report/uv_statistics.cc", "src/commands/report/system_statistics.cc", "src/hooks/set_hooks.cc", "src/hooks/fatal_error.cc", "src/util.cc", ], "include_dirs": [ 'src', '<!(node -e "require(\'nan\')")' ], "cflags_cc!": ["-fno-exceptions"], "conditions": [ ["OS == 'linux'", { "cflags": ["-O2", "-std=c++14"], "defines": [ 'XPROFILER_IPC_PATH="<!(node -p \"require(\'./package.json\').xctlIpcPath.unix\")"', ], "sources": [ "src/platform/unix/cpu.cc", "src/platform/unix/utils.cc", "src/platform/unix/ipc.cc", "src/platform/unix/report.cc", ] }], ["OS == 'mac'", { "xcode_settings": { "GCC_ENABLE_CPP_EXCEPTIONS": "YES", "OTHER_CFLAGS": [ "-std=c++14", "-Wconversion", "-Wno-sign-conversion", ] }, "defines": [ 'XPROFILER_IPC_PATH="<!(node -p \"require(\'./package.json\').xctlIpcPath.unix\")"', ], "sources": [ "src/platform/unix/cpu.cc", "src/platform/unix/utils.cc", "src/platform/unix/ipc.cc", "src/platform/unix/report.cc", ] }], ["OS == 'win'", { "libraries": ["dbghelp.lib", "Netapi32.lib", "PsApi.lib", "Ws2_32.lib"], "dll_files": ["dbghelp.dll", "Netapi32.dll", "PsApi.dll", "Ws2_32.dll"], "msvs_settings": { "VCCLCompilerTool": { "ExceptionHandling": "2", "Optimization": "2", }, }, "defines": [ 'XPROFILER_IPC_PATH="<!(node -p \"require(\'./package.json\').xctlIpcPath.win32\")"', "WIN32_LEAN_AND_MEAN=1", ], "sources": [ "src/platform/win/cpu_win.cc", "src/platform/win/utils_win.cc", "src/platform/win/ipc_win.cc", "src/platform/win/report_win.cc", ] }], ], "defines": [ 'XPROFILER_VERSION="<!(node -p \"require(\'./package.json\').version\")"', 'XPROFILER_BLURRY_TAG="<!(node -p \"require(\'./package.json\').blurryTag\")"', ], }, { "target_name": "action_after_build", "type": "none", "dependencies": ["<(module_name)"], "copies": [ { "files": ["<(PRODUCT_DIR)/<(module_name).node"], "destination": "<(module_path)" } ] }, ], }
{'targets': [{'target_name': 'xprofiler', 'win_delay_load_hook': 'false', 'sources': ['src/environment_data.cc', 'src/xprofiler.cc', 'src/configure.cc', 'src/logger.cc', 'src/library/json.hpp', 'src/library/error.cc', 'src/library/common.cc', 'src/library/utils.cc', 'src/library/writer.cc', 'src/logbypass/log.cc', 'src/logbypass/cpu.cc', 'src/logbypass/heap.cc', 'src/logbypass/gc.cc', 'src/logbypass/libuv.cc', 'src/logbypass/http.cc', 'src/commands/listener.cc', 'src/commands/send.cc', 'src/commands/parser.cc', 'src/commands/dump.cc', 'src/commands/simple/version.cc', 'src/commands/simple/config.cc', 'src/commands/cpuprofiler/cpu_profiler.cc', 'src/commands/cpuprofiler/cpu_profile.cc', 'src/commands/cpuprofiler/cpu_profile_node.cc', 'src/commands/heapdump/heap_profiler.cc', 'src/commands/heapdump/heap_snapshot.cc', 'src/commands/heapprofiler/sampling_heap_profiler.cc', 'src/commands/gcprofiler/gc_profiler.cc', 'src/commands/report/node_report.cc', 'src/commands/report/javascript_stack.cc', 'src/commands/report/native_stack.cc', 'src/commands/report/heap_statistics.cc', 'src/commands/report/uv_statistics.cc', 'src/commands/report/system_statistics.cc', 'src/hooks/set_hooks.cc', 'src/hooks/fatal_error.cc', 'src/util.cc'], 'include_dirs': ['src', '<!(node -e "require(\'nan\')")'], 'cflags_cc!': ['-fno-exceptions'], 'conditions': [["OS == 'linux'", {'cflags': ['-O2', '-std=c++14'], 'defines': ['XPROFILER_IPC_PATH="<!(node -p "require(\'./package.json\').xctlIpcPath.unix")"'], 'sources': ['src/platform/unix/cpu.cc', 'src/platform/unix/utils.cc', 'src/platform/unix/ipc.cc', 'src/platform/unix/report.cc']}], ["OS == 'mac'", {'xcode_settings': {'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'OTHER_CFLAGS': ['-std=c++14', '-Wconversion', '-Wno-sign-conversion']}, 'defines': ['XPROFILER_IPC_PATH="<!(node -p "require(\'./package.json\').xctlIpcPath.unix")"'], 'sources': ['src/platform/unix/cpu.cc', 'src/platform/unix/utils.cc', 'src/platform/unix/ipc.cc', 'src/platform/unix/report.cc']}], ["OS == 'win'", {'libraries': ['dbghelp.lib', 'Netapi32.lib', 'PsApi.lib', 'Ws2_32.lib'], 'dll_files': ['dbghelp.dll', 'Netapi32.dll', 'PsApi.dll', 'Ws2_32.dll'], 'msvs_settings': {'VCCLCompilerTool': {'ExceptionHandling': '2', 'Optimization': '2'}}, 'defines': ['XPROFILER_IPC_PATH="<!(node -p "require(\'./package.json\').xctlIpcPath.win32")"', 'WIN32_LEAN_AND_MEAN=1'], 'sources': ['src/platform/win/cpu_win.cc', 'src/platform/win/utils_win.cc', 'src/platform/win/ipc_win.cc', 'src/platform/win/report_win.cc']}]], 'defines': ['XPROFILER_VERSION="<!(node -p "require(\'./package.json\').version")"', 'XPROFILER_BLURRY_TAG="<!(node -p "require(\'./package.json\').blurryTag")"']}, {'target_name': 'action_after_build', 'type': 'none', 'dependencies': ['<(module_name)'], 'copies': [{'files': ['<(PRODUCT_DIR)/<(module_name).node'], 'destination': '<(module_path)'}]}]}
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- MLC_WORKSPACE_API_VERSION = '2020-02-02' MLC_COMPUTE_RESOURCE_ID_FMT = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/' \ 'workspaces/{}/computes/{}' MLC_LIST_COMPUTES_FMT = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/' \ 'workspaces/{}/computes' RP_COMPUTE_RESOURCE_ID_FMT = '/rp/workspaces/subscriptions/{}/resourceGroups/{}/providers/' \ 'Microsoft.MachineLearningServices/workspaces/{}/computes/{}' RP_LIST_COMPUTES_FMT = '/rp/workspaces/subscriptions/{}/resourceGroups/{}/providers/' \ 'Microsoft.MachineLearningServices/workspaces/{}/computes' GRAPH_API_VERSION = '1.6'
mlc_workspace_api_version = '2020-02-02' mlc_compute_resource_id_fmt = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/computes/{}' mlc_list_computes_fmt = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/computes' rp_compute_resource_id_fmt = '/rp/workspaces/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/computes/{}' rp_list_computes_fmt = '/rp/workspaces/subscriptions/{}/resourceGroups/{}/providers/Microsoft.MachineLearningServices/workspaces/{}/computes' graph_api_version = '1.6'
if True: if True: if True: return _( "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweas " + "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwegqweasdzxcqweasdzxc.", "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwe", ) % {"reported_username": reported_username, "report_reason": report_reason} # output if True: if True: if True: return _( "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweas " + "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwegqweasdzxcqweasdzxc.", "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwe", ) % { "reported_username": reported_username, "report_reason": report_reason, }
if True: if True: if True: return _('qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweas ' + 'qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwegqweasdzxcqweasdzxc.', 'qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwe') % {'reported_username': reported_username, 'report_reason': report_reason} if True: if True: if True: return _('qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweas ' + 'qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwegqweasdzxcqweasdzxc.', 'qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwe') % {'reported_username': reported_username, 'report_reason': report_reason}
# The Twitter API keys needed to send tweets CONSUMER_KEY = "enter your consumer key here" CONSUMER_SECRET = "enter your secret consumer key here" ACCESS_TOKEN = "enter your access token here" ACCESS_TOKEN_SECRET = "enter your secret access token here"
consumer_key = 'enter your consumer key here' consumer_secret = 'enter your secret consumer key here' access_token = 'enter your access token here' access_token_secret = 'enter your secret access token here'
class Solution: def solveNQueens(self, n: int) -> List[List[str]]: ans = [] def string_representation(board): s = [] for col in board: s.append("." * (col) + "Q" + "." * (n - col - 1)) return s def solve(row, used_columns, used_diagonals, used_diagonals2, previous): if row == n: ans.append(string_representation(previous)) return for col in range(n): if col not in used_columns: diag = row - col diag2 = row + col if diag not in used_diagonals and diag2 not in used_diagonals2: used_columns.add(col) used_diagonals.add(diag) used_diagonals2.add(diag2) solve(row+1, used_columns, used_diagonals, used_diagonals2, previous + [col]) used_columns.remove(col) used_diagonals.remove(diag) used_diagonals2.remove(diag2) solve(0, set(), set(), set(), []) return ans
class Solution: def solve_n_queens(self, n: int) -> List[List[str]]: ans = [] def string_representation(board): s = [] for col in board: s.append('.' * col + 'Q' + '.' * (n - col - 1)) return s def solve(row, used_columns, used_diagonals, used_diagonals2, previous): if row == n: ans.append(string_representation(previous)) return for col in range(n): if col not in used_columns: diag = row - col diag2 = row + col if diag not in used_diagonals and diag2 not in used_diagonals2: used_columns.add(col) used_diagonals.add(diag) used_diagonals2.add(diag2) solve(row + 1, used_columns, used_diagonals, used_diagonals2, previous + [col]) used_columns.remove(col) used_diagonals.remove(diag) used_diagonals2.remove(diag2) solve(0, set(), set(), set(), []) return ans
class Node: def __init__(self, data): self.data = data self.next = None class Circular_Linked_List: def __init__(self): self.head = None def Sorted_Insert(self, new_node): current = self.head if current is None: new_node.next = new_node self.head = new_node elif current.data >= new_node.data: while current.next != self.head: current = current.next current.next = new_node new_node.next = self.head self.head = new_node else: while current.next != self.head and current.next.data < new_node.data: current = current.next new_node.next = current.next current.next = new_node def Display(self): temp = self.head if self.head is not None: while temp: print(temp.data, "->", end=" ") temp = temp.next if temp == self.head: print(temp.data) break if __name__ == "__main__": L_list = Circular_Linked_List() Test_list = [12, 56, 2, 11, 1, 90] for keys in Test_list: temp = Node(keys) L_list.Sorted_Insert(temp) print("Sorted Inserted Circular Linked List: ") L_list.Display()
class Node: def __init__(self, data): self.data = data self.next = None class Circular_Linked_List: def __init__(self): self.head = None def sorted__insert(self, new_node): current = self.head if current is None: new_node.next = new_node self.head = new_node elif current.data >= new_node.data: while current.next != self.head: current = current.next current.next = new_node new_node.next = self.head self.head = new_node else: while current.next != self.head and current.next.data < new_node.data: current = current.next new_node.next = current.next current.next = new_node def display(self): temp = self.head if self.head is not None: while temp: print(temp.data, '->', end=' ') temp = temp.next if temp == self.head: print(temp.data) break if __name__ == '__main__': l_list = circular__linked__list() test_list = [12, 56, 2, 11, 1, 90] for keys in Test_list: temp = node(keys) L_list.Sorted_Insert(temp) print('Sorted Inserted Circular Linked List: ') L_list.Display()
def p1(): lines = open('../stream/input03.txt').read().splitlines() period = 31 #in chars mat = [] for line in lines: mat_row = [1 if x == '#' else 0 for x in list(line)] mat.append(mat_row) count = 0 j_ = 0 for i in range(0, len(mat)): # print(mat[i]) j = j_ % period j_ += 3 if (mat[i][j] == 1): count += 1 return str(count) def p2(): lines = open('../stream/input03.txt').read().splitlines() period = 31 #in chars mat = [] for line in lines: mat_row = [1 if x == '#' else 0 for x in list(line)] mat.append(mat_row) ld = [ [1,1], [3,1], [5,1], [7,1], [1,2] ] lcount = [] for d in ld: dx = d[0] dy = d[1] j_ = 0 count = 0 for i in range(0, len(mat), dy): j = j_ % period j_ += dx if (mat[i][j] == 1): count += 1 lcount.append(count) ans = 1 for r in lcount: ans = r*ans return str(ans) if __name__ == '__main__': print('Part 1 : ', p1()) print('Part 2 : ', p2()) exit()
def p1(): lines = open('../stream/input03.txt').read().splitlines() period = 31 mat = [] for line in lines: mat_row = [1 if x == '#' else 0 for x in list(line)] mat.append(mat_row) count = 0 j_ = 0 for i in range(0, len(mat)): j = j_ % period j_ += 3 if mat[i][j] == 1: count += 1 return str(count) def p2(): lines = open('../stream/input03.txt').read().splitlines() period = 31 mat = [] for line in lines: mat_row = [1 if x == '#' else 0 for x in list(line)] mat.append(mat_row) ld = [[1, 1], [3, 1], [5, 1], [7, 1], [1, 2]] lcount = [] for d in ld: dx = d[0] dy = d[1] j_ = 0 count = 0 for i in range(0, len(mat), dy): j = j_ % period j_ += dx if mat[i][j] == 1: count += 1 lcount.append(count) ans = 1 for r in lcount: ans = r * ans return str(ans) if __name__ == '__main__': print('Part 1 : ', p1()) print('Part 2 : ', p2()) exit()
class Time: def __init__(self, hour=None, minute=None, second=None): self.hour = hour self.minute = minute self.second = second def sum(self, time): result = Time() result.second = self.second + time.second result.minute = self.minute + time.minute result.hour = self.hour + time.hour if result.second>=60: result.second-=60 result.minute+=1 if result.minute>=60: result.minute-=60 result.hour+=1 return result def sub(self, time): result = Time() result.second = self.second - time.second result.minute = self.minute - time.minute result.hour = self.hour - time.hour if result.second<0: result.minute-=1 result.second+=60 if result.minute<0: result.hour-=1 result.minute+=60 return result def secToTime(self): result = Time() result.hour = self.second//3600 result.minute = (self.second%3600)//60 result.second = (self.second%3600)%60 return result def timeToSec(self): return self.hour*3600 + self.minute*60 + self.second def show(self): return str(self.hour)+':'+str(self.minute)+':'+str(self.second) t1list = list(map(int, input('time1: e.g. 2:16:18\n').split(':'))) t2list = list(map(int, input('time2: e.g. 2:16:18\n').split(':'))) sec = Time(0 ,0 ,int(input('give me sec convert to time: '))) t1 = Time(t1list[0], t1list[1], t1list[2]) t2 = Time(t2list[0], t2list[1], t2list[2]) print('sum: %s\tsub: %s\ttimeToSec: %s\tsecToTime: %s'%((t1.sum(t2)).show(), t1.sub(t2).show(), t1.timeToSec(), (sec.secToTime()).show()))
class Time: def __init__(self, hour=None, minute=None, second=None): self.hour = hour self.minute = minute self.second = second def sum(self, time): result = time() result.second = self.second + time.second result.minute = self.minute + time.minute result.hour = self.hour + time.hour if result.second >= 60: result.second -= 60 result.minute += 1 if result.minute >= 60: result.minute -= 60 result.hour += 1 return result def sub(self, time): result = time() result.second = self.second - time.second result.minute = self.minute - time.minute result.hour = self.hour - time.hour if result.second < 0: result.minute -= 1 result.second += 60 if result.minute < 0: result.hour -= 1 result.minute += 60 return result def sec_to_time(self): result = time() result.hour = self.second // 3600 result.minute = self.second % 3600 // 60 result.second = self.second % 3600 % 60 return result def time_to_sec(self): return self.hour * 3600 + self.minute * 60 + self.second def show(self): return str(self.hour) + ':' + str(self.minute) + ':' + str(self.second) t1list = list(map(int, input('time1: e.g. 2:16:18\n').split(':'))) t2list = list(map(int, input('time2: e.g. 2:16:18\n').split(':'))) sec = time(0, 0, int(input('give me sec convert to time: '))) t1 = time(t1list[0], t1list[1], t1list[2]) t2 = time(t2list[0], t2list[1], t2list[2]) print('sum: %s\tsub: %s\ttimeToSec: %s\tsecToTime: %s' % (t1.sum(t2).show(), t1.sub(t2).show(), t1.timeToSec(), sec.secToTime().show()))
with open("./input.txt") as f: arr = [ line.strip() for line in f.readlines()] annoying = arr[0].replace("=", "|").replace(".", "|").replace(",", "|").replace(" ", "|").split("|") nums = [int(thing) for thing in annoying if thing.replace("-", "").isnumeric()] def contained(loc): return nums[0] <= loc[0] <= nums[1] and nums[2] <= loc[1] <= nums[3] def increment(paws, vel): paws[0] += vel[0] paws[1] += vel[1] if (vel[0] > 0): vel[0] -= 1 elif vel[0] < 0: vel[0] += 1 vel[1] -= 1 all_vels = set() max_max_y = 0 for x in range(0, nums[1] + 5): for y in range(nums[2] - 5, 100): paws = [0, 0] vel = [x, y] max_y = 0 while(paws[1] > nums[2]): increment(paws, vel) max_y = max(max_y, paws[1]) if contained(paws): max_max_y = max(max_y, max_max_y) if (x, y) not in all_vels: all_vels.add((x, y)) print(x, y, max_y) print(len(all_vels)) print(max_max_y)
with open('./input.txt') as f: arr = [line.strip() for line in f.readlines()] annoying = arr[0].replace('=', '|').replace('.', '|').replace(',', '|').replace(' ', '|').split('|') nums = [int(thing) for thing in annoying if thing.replace('-', '').isnumeric()] def contained(loc): return nums[0] <= loc[0] <= nums[1] and nums[2] <= loc[1] <= nums[3] def increment(paws, vel): paws[0] += vel[0] paws[1] += vel[1] if vel[0] > 0: vel[0] -= 1 elif vel[0] < 0: vel[0] += 1 vel[1] -= 1 all_vels = set() max_max_y = 0 for x in range(0, nums[1] + 5): for y in range(nums[2] - 5, 100): paws = [0, 0] vel = [x, y] max_y = 0 while paws[1] > nums[2]: increment(paws, vel) max_y = max(max_y, paws[1]) if contained(paws): max_max_y = max(max_y, max_max_y) if (x, y) not in all_vels: all_vels.add((x, y)) print(x, y, max_y) print(len(all_vels)) print(max_max_y)
ech_genshis = 2 ou_genshis = 2 suu_bunshis = 12 zenn_genshis = suu_bunshis*(ech_genshis + ou_genshis) print(zenn_genshis)
ech_genshis = 2 ou_genshis = 2 suu_bunshis = 12 zenn_genshis = suu_bunshis * (ech_genshis + ou_genshis) print(zenn_genshis)
def string_anagrams(s1,s2): if(sorted(s1)==sorted(s2)): print("The strings are anagrams.") else: print("The strings aren't anagrams.") s1=input("Enter first string:") s2=input("Enter second string:") string_anagrams(s1,s2)
def string_anagrams(s1, s2): if sorted(s1) == sorted(s2): print('The strings are anagrams.') else: print("The strings aren't anagrams.") s1 = input('Enter first string:') s2 = input('Enter second string:') string_anagrams(s1, s2)
#:copyright: Copyright 2009-2010 by the Vesper team, see AUTHORS. #:license: Dual licenced under the GPL or Apache2 licences, see LICENSE. @Action def testaction(kw, retval): query = "{comment where(label='%s')}" % kw._name #XXX qnames are broken result = kw.__server__.defaultStore.query(query) template = '<html><body>%s</body></html>' if result: return template % result[0]['comment'] else: kw._status = 404 return template % 'not found!' actions = { 'http-request' : [testaction] } application_model = [{ 'id' : 'a_resource', 'label' : 'foo', 'comment' : 'page content.' }] createApp(actions=actions, application_model=application_model)
@Action def testaction(kw, retval): query = "{comment where(label='%s')}" % kw._name result = kw.__server__.defaultStore.query(query) template = '<html><body>%s</body></html>' if result: return template % result[0]['comment'] else: kw._status = 404 return template % 'not found!' actions = {'http-request': [testaction]} application_model = [{'id': 'a_resource', 'label': 'foo', 'comment': 'page content.'}] create_app(actions=actions, application_model=application_model)
#!/usr/bin/env python ''' Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Instart DX (Instart Logic)' def is_waf(self): schema1 = [ self.matchHeader(('X-Instart-Request-ID', '.+')), self.matchHeader(('X-Instart-Cache', '.+')), self.matchHeader(('X-Instart-WL', '.+')) ] schema2 = [ self.matchContent(r'the requested url was rejected'), self.matchContent(r'please consult with your administrator'), self.matchContent(r'your support id is') ] if any(i for i in schema1): return True if all(i for i in schema2): return True return False
""" Copyright (C) 2019, WAFW00F Developers. See the LICENSE file for copying permission. """ name = 'Instart DX (Instart Logic)' def is_waf(self): schema1 = [self.matchHeader(('X-Instart-Request-ID', '.+')), self.matchHeader(('X-Instart-Cache', '.+')), self.matchHeader(('X-Instart-WL', '.+'))] schema2 = [self.matchContent('the requested url was rejected'), self.matchContent('please consult with your administrator'), self.matchContent('your support id is')] if any((i for i in schema1)): return True if all((i for i in schema2)): return True return False
# day 6 question 2 # more customs declarations groups = [] group = {} with open('input.txt', 'r') as file: num = 0 for line in file: line = line.strip() if not line: group['num'] = num num = 0 groups.append(group) group = {} else: num += 1 for char in line: if char in group.keys(): group[char] += 1 else: group[char] = 1 def count_same(group): q_same = 0 for key in group.keys(): if key != 'num' and group[key] == group['num']: q_same += 1 return q_same print(sum([count_same(group) for group in groups]))
groups = [] group = {} with open('input.txt', 'r') as file: num = 0 for line in file: line = line.strip() if not line: group['num'] = num num = 0 groups.append(group) group = {} else: num += 1 for char in line: if char in group.keys(): group[char] += 1 else: group[char] = 1 def count_same(group): q_same = 0 for key in group.keys(): if key != 'num' and group[key] == group['num']: q_same += 1 return q_same print(sum([count_same(group) for group in groups]))
__version__ = '0.1.3' dataPaths = {'reference': 'src/db/human_GRCh38_no_alt_analysis_set_chr22only_cyp2d7-masked.fasta', 'database' : 'src/db/CYP2D6.db', 'spacer' : 'src/db/spacer.fasta'} database = {'alleleTable' : 'pbAA_consensus', 'variantTable': 'SampleVariants', 'variantAnnot': 'SampleVariants_annotated', 'summaryTable': 'type_summary', 'shortSummary': 'type_summary_short', 'supportField': 'supportReads', 'maxTries' : 10} tableMap = {database['alleleTable']: {'uuid' :'uuid', 'runName' :'runName', 'bioSample' :'bioSample', 'barcode' :'barcode', 'guide' :'guide', 'cluster' :'cluster', 'numreads' :'numreads', 'uchime_score' :'uchime_score', 'uchime_left_parent' :'uchime_left_parent', 'uchime_right_parent':'uchime_right_parent', 'cluster_freq' :'cluster_freq', 'diversity' :'diversity', 'avg_quality' :'avg_quality', 'filters' :'filters', 'source' :'source', 'clusterStatus' :'clusterStatus', 'chrom' :'chrom', 'alnStart' :'alnStart', 'alnStop' :'alnStop', 'hasSpacer' :'hasSpacer', 'csString' :'csString', 'length' :'length', 'status' :'clusterStatus', 'datetime' :'datetime'}, database['variantTable']: {'uuid' :'uuid', 'CHR' :'CHR', 'POS' :'POS', 'VAR' :'VAR', database['supportField'] :database['supportField']}} caller = {'namePattern' : 'sample-(?P<barcode>.*)_guide-(?P<guide>.*)_cluster-(?P<cluster>[0-9]+)_ReadCount-(?P<numreads>[0-9]+)', 'minFrac' : 0.01, 'minLength' : 2000, 'preset' : 'gapstrict', 'dateFormat' : '%Y-%m-%d %H:%M:%S', 'readInfo' : ['readName', 'guide', 'orient', 'secondBestGuide', 'Score', 'ScoreParts', 'Sample', 'length', 'avgQuality', 'ClusterId', 'ClusterSize'], 'sampleMapCols': ['Barcode','Bio Sample Name']} typer = {'sortColumns' : ['bioSample','barcode','type','cluster']} vcf = {'defaultQual' : 200, 'minFreq' : 0.05}
__version__ = '0.1.3' data_paths = {'reference': 'src/db/human_GRCh38_no_alt_analysis_set_chr22only_cyp2d7-masked.fasta', 'database': 'src/db/CYP2D6.db', 'spacer': 'src/db/spacer.fasta'} database = {'alleleTable': 'pbAA_consensus', 'variantTable': 'SampleVariants', 'variantAnnot': 'SampleVariants_annotated', 'summaryTable': 'type_summary', 'shortSummary': 'type_summary_short', 'supportField': 'supportReads', 'maxTries': 10} table_map = {database['alleleTable']: {'uuid': 'uuid', 'runName': 'runName', 'bioSample': 'bioSample', 'barcode': 'barcode', 'guide': 'guide', 'cluster': 'cluster', 'numreads': 'numreads', 'uchime_score': 'uchime_score', 'uchime_left_parent': 'uchime_left_parent', 'uchime_right_parent': 'uchime_right_parent', 'cluster_freq': 'cluster_freq', 'diversity': 'diversity', 'avg_quality': 'avg_quality', 'filters': 'filters', 'source': 'source', 'clusterStatus': 'clusterStatus', 'chrom': 'chrom', 'alnStart': 'alnStart', 'alnStop': 'alnStop', 'hasSpacer': 'hasSpacer', 'csString': 'csString', 'length': 'length', 'status': 'clusterStatus', 'datetime': 'datetime'}, database['variantTable']: {'uuid': 'uuid', 'CHR': 'CHR', 'POS': 'POS', 'VAR': 'VAR', database['supportField']: database['supportField']}} caller = {'namePattern': 'sample-(?P<barcode>.*)_guide-(?P<guide>.*)_cluster-(?P<cluster>[0-9]+)_ReadCount-(?P<numreads>[0-9]+)', 'minFrac': 0.01, 'minLength': 2000, 'preset': 'gapstrict', 'dateFormat': '%Y-%m-%d %H:%M:%S', 'readInfo': ['readName', 'guide', 'orient', 'secondBestGuide', 'Score', 'ScoreParts', 'Sample', 'length', 'avgQuality', 'ClusterId', 'ClusterSize'], 'sampleMapCols': ['Barcode', 'Bio Sample Name']} typer = {'sortColumns': ['bioSample', 'barcode', 'type', 'cluster']} vcf = {'defaultQual': 200, 'minFreq': 0.05}
class Solution: def maxSumRangeQuery(self, nums: List[int], requests: List[List[int]]) -> int: n = len(nums) count = [0] * (n + 1) for start, end in requests: count[start] += 1 count[end + 1] -= 1 for i in range(1, n + 1): count[i] += count[i - 1] total = 0 for c, num in zip(sorted(count[:-1]), sorted(nums)): total += c * num return total % (10 ** 9 + 7)
class Solution: def max_sum_range_query(self, nums: List[int], requests: List[List[int]]) -> int: n = len(nums) count = [0] * (n + 1) for (start, end) in requests: count[start] += 1 count[end + 1] -= 1 for i in range(1, n + 1): count[i] += count[i - 1] total = 0 for (c, num) in zip(sorted(count[:-1]), sorted(nums)): total += c * num return total % (10 ** 9 + 7)
__all__ = [ 'DocParseMeta' ] class DocParseMeta(type): @staticmethod def __new__(meta, clsname, bases, clsdict): if '__doc__' in clsdict: lexer = meta.lexer() parser = meta.parser() lexer.cls_name = parser.cls_name = clsname lexer.cls_qualname = parser.cls_qualname = clsdict['__qualname__'] lexer.cls_module = parser.cls_module = clsdict['__module__'] parsedict = parser.parse(lexer.tokenize(clsdict['__doc__'])) assert isinstance(parsedict, dict), 'Parser must return a dictionary' clsdict.update(parsedict) return super().__new__(meta, clsname, bases, clsdict) @classmethod def __init_subclass__(cls): assert hasattr(cls, 'parser') and hasattr(cls, 'lexer')
__all__ = ['DocParseMeta'] class Docparsemeta(type): @staticmethod def __new__(meta, clsname, bases, clsdict): if '__doc__' in clsdict: lexer = meta.lexer() parser = meta.parser() lexer.cls_name = parser.cls_name = clsname lexer.cls_qualname = parser.cls_qualname = clsdict['__qualname__'] lexer.cls_module = parser.cls_module = clsdict['__module__'] parsedict = parser.parse(lexer.tokenize(clsdict['__doc__'])) assert isinstance(parsedict, dict), 'Parser must return a dictionary' clsdict.update(parsedict) return super().__new__(meta, clsname, bases, clsdict) @classmethod def __init_subclass__(cls): assert hasattr(cls, 'parser') and hasattr(cls, 'lexer')
def example_1(): def drop_first_last(grades): first, *middle, last = grades return sum(middle) / len(middle) print(drop_first_last([15, 20, 25, 30])) def example_2(): record = ('Dave', 'dave@example.com', '111-111', '222-222') name, email, *phone_numbers = record print(name, email, phone_numbers) def example_3(): sales_record = [15, 25, 30] *trailing_qtrs, current_qtr = sales_record trailing_avg = sum(trailing_qtrs) / len(trailing_qtrs) print(trailing_qtrs, trailing_avg, current_qtr) def example_4(): records = [ ('foo', 1, 2), ('bar', 'hello'), ('foo', 3, 4) ] def do_foo(x, y): print('foo', x, y) def do_bar(s): print('bar', s) for tag, *args in records: if tag == 'foo': do_foo(*args) elif tag == 'bar': do_bar(*args) def example_5(): line = 'nobody:*:-2:-2:user:/var/empty:/usr/bin/false' uname, *fields, homedir, sh = line.split(':') print(uname, homedir, sh) def example_6(): record = ('ACME', 50, 123.45, (12, 18, 2012)) name, *_, (*_, year) = record print(name, year) def example_7(): items = [1, 2, 3, 4, 5] head, *tail = items print(head, tail) def example_8(): def my_sum(items): head, *tail = items return head + my_sum(tail) if tail else head print(my_sum([1, 2, 3, 4, 5])) if __name__ == '__main__': example_1() example_2() example_3() example_4() example_5() example_6() example_7() example_8()
def example_1(): def drop_first_last(grades): (first, *middle, last) = grades return sum(middle) / len(middle) print(drop_first_last([15, 20, 25, 30])) def example_2(): record = ('Dave', 'dave@example.com', '111-111', '222-222') (name, email, *phone_numbers) = record print(name, email, phone_numbers) def example_3(): sales_record = [15, 25, 30] (*trailing_qtrs, current_qtr) = sales_record trailing_avg = sum(trailing_qtrs) / len(trailing_qtrs) print(trailing_qtrs, trailing_avg, current_qtr) def example_4(): records = [('foo', 1, 2), ('bar', 'hello'), ('foo', 3, 4)] def do_foo(x, y): print('foo', x, y) def do_bar(s): print('bar', s) for (tag, *args) in records: if tag == 'foo': do_foo(*args) elif tag == 'bar': do_bar(*args) def example_5(): line = 'nobody:*:-2:-2:user:/var/empty:/usr/bin/false' (uname, *fields, homedir, sh) = line.split(':') print(uname, homedir, sh) def example_6(): record = ('ACME', 50, 123.45, (12, 18, 2012)) (name, *_, (*_, year)) = record print(name, year) def example_7(): items = [1, 2, 3, 4, 5] (head, *tail) = items print(head, tail) def example_8(): def my_sum(items): (head, *tail) = items return head + my_sum(tail) if tail else head print(my_sum([1, 2, 3, 4, 5])) if __name__ == '__main__': example_1() example_2() example_3() example_4() example_5() example_6() example_7() example_8()
class Capability(object): def enabled_for(self, user): raise NotImplementedError() # pragma: no cover class RoleBasedCapability(Capability): def __init__(self, *roles): super(RoleBasedCapability, self).__init__() self.roles = roles def enabled_for(self, user): return any(user.has_role(role) for role in self.roles) class AnyUser(Capability): def enabled_for(self, user): return user.is_authenticated _MODERATORS = RoleBasedCapability('moderator', 'admin') _ADMINS = RoleBasedCapability('admin') _PROXIES = RoleBasedCapability('proxy') _ALL = AnyUser() CAPABILITIES = { 'admin': _ADMINS, 'archive_session': _MODERATORS, 'comment_test': _ALL, 'comment_session': _ALL, 'edit_user_roles': _ADMINS, }
class Capability(object): def enabled_for(self, user): raise not_implemented_error() class Rolebasedcapability(Capability): def __init__(self, *roles): super(RoleBasedCapability, self).__init__() self.roles = roles def enabled_for(self, user): return any((user.has_role(role) for role in self.roles)) class Anyuser(Capability): def enabled_for(self, user): return user.is_authenticated _moderators = role_based_capability('moderator', 'admin') _admins = role_based_capability('admin') _proxies = role_based_capability('proxy') _all = any_user() capabilities = {'admin': _ADMINS, 'archive_session': _MODERATORS, 'comment_test': _ALL, 'comment_session': _ALL, 'edit_user_roles': _ADMINS}
def cfgGetVal(cfgfile, section, value): secStr = "[{}]".format(section) with open(cfgfile, "r") as fh: inSec = False for line in fh: line = line.strip() if line.startswith("["): if line == secStr: inSec = True else: inSec = False if inSec and line.startswith(value): toks = line.split("=") if len(toks) != 2: print("Error parsing cfgfile {}: Could not parse string {}".format(cfgfile, line)) return None vals = toks[1] vals = vals.strip() valToks = vals.split(",") ret = [] for valStr in valToks: try: val = int(valStr) except: val = float(valStr) ret.append(val) if len(ret) == 1: ret = ret[0] #print("cfgGetVal(): {}/{} = {}".format(section, value, ret)) return ret print("Error: Could not find section/val ({}/{}) in file {}".format(section, value, cfgfile)) return None
def cfg_get_val(cfgfile, section, value): sec_str = '[{}]'.format(section) with open(cfgfile, 'r') as fh: in_sec = False for line in fh: line = line.strip() if line.startswith('['): if line == secStr: in_sec = True else: in_sec = False if inSec and line.startswith(value): toks = line.split('=') if len(toks) != 2: print('Error parsing cfgfile {}: Could not parse string {}'.format(cfgfile, line)) return None vals = toks[1] vals = vals.strip() val_toks = vals.split(',') ret = [] for val_str in valToks: try: val = int(valStr) except: val = float(valStr) ret.append(val) if len(ret) == 1: ret = ret[0] return ret print('Error: Could not find section/val ({}/{}) in file {}'.format(section, value, cfgfile)) return None
names = ('Ariel', 'Maria', 'John', 'Paul') print(names) print(sorted(names)) print(len(names)) print(names[-1]) # This is not possible in tuples >> names[2] = 'Try' # Union names2 = ('Ana','Linda') names3 = names + names2 del(names) del(names2) print(names3) print(names3.count('Ana')) print(names3.index('Ana'))
names = ('Ariel', 'Maria', 'John', 'Paul') print(names) print(sorted(names)) print(len(names)) print(names[-1]) names2 = ('Ana', 'Linda') names3 = names + names2 del names del names2 print(names3) print(names3.count('Ana')) print(names3.index('Ana'))
ROOT_URL = 'https://demo.emro.info' WEBMASTER_EMAIL = 'webmaster@emro.info' SITE_TITLE = 'Null Island Public Health Surveillance' FLAGG_ABR = "null" AUTH = { "technical": [['registered'], ['demo']], "messaging": [['registered'], ['demo']], "download": [['registered'], ['demo']], "explore": [['registered'], ['demo']], "reports": [['registered'], ['demo']], "settings": [['personal'], ['demo']], "report_emails": [['emails'], ['demo']], "fault-report": [['registered'], ['demo']], "admin": [['admin'], ['demo']], } DEFAULT_LANGUAGE = "en" SUPPORTED_LANGUAGES = ["en", "fr"] # Configuration fields that are specific to each frontend component. COMPONENT_CONFIGS = { 'HOMEPAGE_CONFIG': 'country_config/null_homepage.json', 'TECHNICAL_CONFIG': 'country_config/null_technical.json', 'REPORTS_CONFIG': 'country_config/null_reports.json', 'MESSAGING_CONFIG': 'country_config/null_messaging.json', 'DOWNLOAD_CONFIG': 'country_config/null_download.json', 'EXPLORE_CONFIG': 'country_config/null_explore.json' } # Configuration fields that are shared across all the above components. # Fields in the above files with same key path override the fields here. SHARED_CONFIG = { "country": "Null Island", "application": "default", "auth_country": "demo", "titles": { "full": "Null Island <br> Public Health Surveillance", "nav": "<b>Null Island </b> &middot; Public Health Surveillance", "mob_nav": "Health Surveillance" }, "flag": "null.svg", "footer": { "logos": { "who": "transparent.png", "country_partner": "ni.png", "partners": [] }, "partners": [ "The Ministry of Health, Null Island" ], "email": "nullisland@moh.int" }, "main_menu": [{ "text": "Epidemiology", "url": "/technical/", }, { "text": "Reports", "url": "/reports/", }, { "text": "Notifications", "url": "/messaging/", }, { "text": "Tables", "url": "/explore/", }, { "text": "Download", "url": "/download/", }], "glossary": { "region": "kingdom" }, }
root_url = 'https://demo.emro.info' webmaster_email = 'webmaster@emro.info' site_title = 'Null Island Public Health Surveillance' flagg_abr = 'null' auth = {'technical': [['registered'], ['demo']], 'messaging': [['registered'], ['demo']], 'download': [['registered'], ['demo']], 'explore': [['registered'], ['demo']], 'reports': [['registered'], ['demo']], 'settings': [['personal'], ['demo']], 'report_emails': [['emails'], ['demo']], 'fault-report': [['registered'], ['demo']], 'admin': [['admin'], ['demo']]} default_language = 'en' supported_languages = ['en', 'fr'] component_configs = {'HOMEPAGE_CONFIG': 'country_config/null_homepage.json', 'TECHNICAL_CONFIG': 'country_config/null_technical.json', 'REPORTS_CONFIG': 'country_config/null_reports.json', 'MESSAGING_CONFIG': 'country_config/null_messaging.json', 'DOWNLOAD_CONFIG': 'country_config/null_download.json', 'EXPLORE_CONFIG': 'country_config/null_explore.json'} shared_config = {'country': 'Null Island', 'application': 'default', 'auth_country': 'demo', 'titles': {'full': 'Null Island <br> Public Health Surveillance', 'nav': '<b>Null Island </b> &middot; Public Health Surveillance', 'mob_nav': 'Health Surveillance'}, 'flag': 'null.svg', 'footer': {'logos': {'who': 'transparent.png', 'country_partner': 'ni.png', 'partners': []}, 'partners': ['The Ministry of Health, Null Island'], 'email': 'nullisland@moh.int'}, 'main_menu': [{'text': 'Epidemiology', 'url': '/technical/'}, {'text': 'Reports', 'url': '/reports/'}, {'text': 'Notifications', 'url': '/messaging/'}, {'text': 'Tables', 'url': '/explore/'}, {'text': 'Download', 'url': '/download/'}], 'glossary': {'region': 'kingdom'}}
'''input WBWBWBWBWB 9 BBBWW 1 WWWWWW 0 ''' # -*- coding: utf-8 -*- # AtCoder Beginner Contest # Problem C if __name__ == '__main__': s = input() count = 0 # See: # https://beta.atcoder.jp/contests/abc047/submissions/1007244 for i in range(len(s) - 1): if s[i] != s[i + 1]: count += 1 print(count)
"""input WBWBWBWBWB 9 BBBWW 1 WWWWWW 0 """ if __name__ == '__main__': s = input() count = 0 for i in range(len(s) - 1): if s[i] != s[i + 1]: count += 1 print(count)
class AttributeTable: def __init__(self, start, size): self.start = start self.size = size
class Attributetable: def __init__(self, start, size): self.start = start self.size = size
# -*- coding: utf-8 -*- ADDON_MAPPING = { 'addon_list': { 'resource': 'addon/', 'docs': '', 'methods': ['GET'], }, 'addon_get': { 'resource': 'addon/{id}/', 'docs': '', 'methods': ['GET'], }, 'addon_create': { 'resource': 'addon/', 'docs': '', 'methods': ['POST'], }, 'addon_update': { 'resource': 'addon/{id}/', 'docs': '', 'methods': ['PUT'], }, 'addon_delete': { 'resource': 'addon/{id}/', 'docs': '', 'methods': ['DELETE'], }, }
addon_mapping = {'addon_list': {'resource': 'addon/', 'docs': '', 'methods': ['GET']}, 'addon_get': {'resource': 'addon/{id}/', 'docs': '', 'methods': ['GET']}, 'addon_create': {'resource': 'addon/', 'docs': '', 'methods': ['POST']}, 'addon_update': {'resource': 'addon/{id}/', 'docs': '', 'methods': ['PUT']}, 'addon_delete': {'resource': 'addon/{id}/', 'docs': '', 'methods': ['DELETE']}}
def fibonacciseries(n): if(n<=1): print(1) a, b = 1, 1 print(a) while(b<=n): print(b) a, b = b, a+b fibonacciseries(9)
def fibonacciseries(n): if n <= 1: print(1) (a, b) = (1, 1) print(a) while b <= n: print(b) (a, b) = (b, a + b) fibonacciseries(9)
TEAMS = [ 'Panthers', 'Bandits', 'Warriors', ] PLAYERS = [{ 'name': 'Karl Saygan', 'guardians': 'Heather Bledsoe', 'experience': 'YES', 'height': '42 inches' }, { 'name': 'Matt Gill', 'guardians': 'Charles Gill and Sylvia Gill', 'experience': 'NO', 'height': '40 inches' }, { 'name': 'Sammy Adams', 'guardians': 'Jeff Adams and Gary Adams', 'experience': 'NO', 'height': '45 inches' }, { 'name': 'Chloe Alaska', 'guardians': 'David Alaska and Jamie Alaska', 'experience': 'NO', 'height': '47 inches' }, { 'name': 'Bill Bon', 'guardians': 'Sara Bon and Jenny Bon', 'experience': 'YES', 'height': '43 inches' }, { 'name': 'Joe Kavalier', 'guardians': 'Sam Kavalier and Elaine Kavalier', 'experience': 'NO', 'height': '39 inches' }, { 'name': 'Phillip Helm', 'guardians': 'Thomas Helm and Eva Jones', 'experience': 'YES', 'height': '44 inches' }, { 'name': 'Les Clay', 'guardians': 'Wynonna Brown', 'experience': 'YES', 'height': '42 inches' }, { 'name': 'Sal Dali', 'guardians': 'Gala Dali', 'experience': 'NO', 'height': '41 inches' }, { 'name': 'Suzane Greenberg', 'guardians': 'Henrietta Dumas', 'experience': 'YES', 'height': '44 inches' }, { 'name': 'Jill Tanner', 'guardians': 'Mark Tanner', 'experience': 'YES', 'height': '36 inches' }, { 'name': 'Arnold Willis', 'guardians': 'Claire Willis', 'experience': 'NO', 'height': '43 inches' }, { 'name': 'Herschel Krustofski', 'guardians': 'Hyman Krustofski and Rachel Krustofski', 'experience': 'YES', 'height': '45 inches' }, { 'name': 'Eva Gordon', 'guardians': 'Wendy Martin and Mike Gordon', 'experience': 'NO', 'height': '45 inches' }, { 'name': 'Ben Finkelstein', 'guardians': 'Aaron Lanning and Jill Finkelstein', 'experience': 'NO', 'height': '44 inches' }, { 'name': 'Joe Smith', 'guardians': 'Jim Smith and Jan Smith', 'experience': 'YES', 'height': '42 inches' }, { 'name': 'Diego Soto', 'guardians': 'Robin Soto and Sarika Soto', 'experience': 'YES', 'height': '41 inches' }, { 'name': 'Kimmy Stein', 'guardians': 'Bill Stein and Hillary Stein', 'experience': 'NO', 'height': '41 inches' } ]
teams = ['Panthers', 'Bandits', 'Warriors'] players = [{'name': 'Karl Saygan', 'guardians': 'Heather Bledsoe', 'experience': 'YES', 'height': '42 inches'}, {'name': 'Matt Gill', 'guardians': 'Charles Gill and Sylvia Gill', 'experience': 'NO', 'height': '40 inches'}, {'name': 'Sammy Adams', 'guardians': 'Jeff Adams and Gary Adams', 'experience': 'NO', 'height': '45 inches'}, {'name': 'Chloe Alaska', 'guardians': 'David Alaska and Jamie Alaska', 'experience': 'NO', 'height': '47 inches'}, {'name': 'Bill Bon', 'guardians': 'Sara Bon and Jenny Bon', 'experience': 'YES', 'height': '43 inches'}, {'name': 'Joe Kavalier', 'guardians': 'Sam Kavalier and Elaine Kavalier', 'experience': 'NO', 'height': '39 inches'}, {'name': 'Phillip Helm', 'guardians': 'Thomas Helm and Eva Jones', 'experience': 'YES', 'height': '44 inches'}, {'name': 'Les Clay', 'guardians': 'Wynonna Brown', 'experience': 'YES', 'height': '42 inches'}, {'name': 'Sal Dali', 'guardians': 'Gala Dali', 'experience': 'NO', 'height': '41 inches'}, {'name': 'Suzane Greenberg', 'guardians': 'Henrietta Dumas', 'experience': 'YES', 'height': '44 inches'}, {'name': 'Jill Tanner', 'guardians': 'Mark Tanner', 'experience': 'YES', 'height': '36 inches'}, {'name': 'Arnold Willis', 'guardians': 'Claire Willis', 'experience': 'NO', 'height': '43 inches'}, {'name': 'Herschel Krustofski', 'guardians': 'Hyman Krustofski and Rachel Krustofski', 'experience': 'YES', 'height': '45 inches'}, {'name': 'Eva Gordon', 'guardians': 'Wendy Martin and Mike Gordon', 'experience': 'NO', 'height': '45 inches'}, {'name': 'Ben Finkelstein', 'guardians': 'Aaron Lanning and Jill Finkelstein', 'experience': 'NO', 'height': '44 inches'}, {'name': 'Joe Smith', 'guardians': 'Jim Smith and Jan Smith', 'experience': 'YES', 'height': '42 inches'}, {'name': 'Diego Soto', 'guardians': 'Robin Soto and Sarika Soto', 'experience': 'YES', 'height': '41 inches'}, {'name': 'Kimmy Stein', 'guardians': 'Bill Stein and Hillary Stein', 'experience': 'NO', 'height': '41 inches'}]