content stringlengths 7 1.05M |
|---|
#!/usr/bin/env python
# coding: utf-8
# In[34]:
def test():
print
test()
class Testing:
def test():
print("hello")
Testing.test()
a = bool(input("enter the value: "))
if (a==False):
print("Please enter some input")
print(a)
# scope of variables
# In[ ]:
|
frase = input("Dime una frase: ")
letra = input("Dime una letra que quieres que te busque: ")
index = 0
contador = 0
while(index < len(frase)):
if(frase[index].lower() == letra.lower()):
contador += 1
index += 1
print(f"La letra {letra} aparece {contador} veces") |
#!/usr/bin/env python3
# encoding: utf-8
"""
@author: hzjsea
@file: common.py.py
@time: 2021/12/1 5:11 下午
"""
# send_email |
class RibbonItemType(Enum,IComparable,IFormattable,IConvertible):
"""
An enumerated type listing all the toolbar item styles.
enum RibbonItemType,values: ComboBox (6),ComboBoxMember (5),PulldownButton (1),PushButton (0),RadioButtonGroup (4),SplitButton (2),TextBox (7),ToggleButton (3)
"""
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self,*args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self,*args):
pass
def __gt__(self,*args):
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self,*args):
pass
def __lt__(self,*args):
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
ComboBox=None
ComboBoxMember=None
PulldownButton=None
PushButton=None
RadioButtonGroup=None
SplitButton=None
TextBox=None
ToggleButton=None
value__=None
|
# Copyright 2018 Johns Hopkins University (author: Yiwen Shao)
# Apache 2.0
class UnetConfig:
"""
A class to store certain configuration information that is needed
to initialize a Unet. Making these network specific configurations
store on disk can help us keep the network compatible in testing.
"""
def __init__(self):
"""
Initialize default network config values.
"""
# number of subsampling/upsampling blocks in Unet
self.depth = 5
# number of output channels of the first cnn layer
self.start_filters = 64
# the way how upsampling are done in Unet.
self.up_mode = 'transpose'
# the way how feature maps with same size in downsampling and upsampling
# are connected.
self.merge_mode = 'concat'
def validate(self, train_image_size):
"""
Validate that configuration values are sensible. Dies on error.
"""
# the network can't downsample the input image to a size samller than 1*1
assert (train_image_size >= 2 ** self.depth and
train_image_size % (2 ** self.depth) == 0)
assert self.up_mode in ['transpose', 'upsample']
assert self.merge_mode in ['concat', 'add']
# write the configuration file to 'filename'
def write(self, filename):
try:
f = open(filename, 'w')
except:
raise Exception(
"Failed to open file {0} for writing configuration".format(filename))
for s in ['depth', 'start_filters', 'up_mode', 'merge_mode']:
print("{0} {1}".format(s, self.__dict__[s]), file=f)
f.close()
def read(self, filename, train_image_size):
try:
f = open(filename, 'r')
except:
raise Exception(
"Failed to open file {0} for reading configuration".format(filename))
for line in f:
a = line.split()
if len(a) == 0 or a[0][0] == '#':
continue
if a[0] in ['depth', 'start_filters']:
# parsing line like: 'num_classes 10'
try:
self.__dict__[a[0]] = int(a[1])
except:
raise Exception("Parsing config line in {0}: bad line {1}".format(
filename, line))
elif a[0] == 'up_mode' or a[0] == 'merge_mode':
try:
self.__dict__[a[0]] = a[1]
except:
raise Exception("Parsing config line in {0}: bad line: {1}".format(
filename, line))
self.validate(train_image_size)
def test():
# very non-thorough test.
n_c = UnetConfig()
n_c.write('foo')
n_c.read('foo', 128)
n_c.write('foo')
# run this as: python3 unet_config.py to run the test code.
if __name__ == "__main__":
test()
|
# Time: O(n)
# Space: O(1)
class Solution(object):
def findDisappearedNumbers(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
for i in xrange(len(nums)):
if nums[abs(nums[i]) - 1] > 0:
nums[abs(nums[i]) - 1] *= -1
result = []
for i in xrange(len(nums)):
if nums[i] > 0:
result.append(i+1)
else:
nums[i] *= -1
return result
def findDisappearedNumbers2(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
return list(set(range(1, len(nums) + 1)) - set(nums))
def findDisappearedNumbers3(self, nums):
for i in range(len(nums)):
index = abs(nums[i]) - 1
nums[index] = - abs(nums[index])
return [i + 1 for i in range(len(nums)) if nums[i] > 0]
|
# -*- coding: utf-8 -*-
tvshow_messages = { 'label_add': "Ajout d\'une série",
'label_update': "Mise à jour de la série",
'label_select': "Sélection de la série",
'label_list': "Liste des séries",
'label_dashboard': "Tableau de bord des séries",
'label_activity': "Flux d'activité des séries",
'label_show_type': "Série",
'label_show_type_lowercase_plural': "séries",
'label_show_type_seenby': "Séries vues par",
'label_show_type_number': "Nombre de séries",
'label_show_type_seen_number': "Nombre de séries vues",
'label_director': "Showrunner(s)",
'label_release_date': "Date de diffusion",
'label_comment': "Critique de la série",
'label_text_added': "ajoutée",
'label_text_marked': "notée",
'email_title_add': "Ajout d\'une série",
'email_title_update': "Modification d\'une série",
'email_title_mark': "Note d\'une série",
'email_title_favorite_add': "Ajout d\'une série en favori",
'email_title_favorite_delete': "Suppression d\'une série en favori",
'label_generic': "la série",
'label_generic_uppercase': "La série",
'label_generic_possessive': "de la série",
'label_article_generic': "la",
'field_search': 'Babylon 5, Shawn Ryan',
'flash_add_success': "Série ajoutée",
'flash_update_success': "Série correctement mise à jour",
'flash_already_exists': "Série déjà existante",
'flash_favorite_add': "Série définie en favori",
'flash_favorite_already_exists': "Série déjà définie en favori",
'flash_favorite_add_failed': "Impossible d\'ajouter la série en favori",
'flash_favorite_delete_failed': "La série n\'est pas enregistrée comme favori",
'flash_favorite_unknown': "Favori inexistant pour cette série pour cet utilisateur",
'flash_favorite_unavailable': "La série n\'est pas enregistré comme un favori",
'flash_favorite_add_denied': "Vous n\'êtes pas autorisé à ajouter cette série en favori pour cet utilisateur",
'flash_favorite_delete_denied': "Vous n\'êtes pas autorisé à supprimer cette série en favori pour cet utilisateur",
'flash_favorite_delete': "Série supprimée des favoris",
'flash_favorite_delete_failed': "Impossible de supprimer la série des favoris" }
movie_messages = { 'label_add': "Ajout d\'un film",
'label_update': "Mise à jour du film",
'label_select': "Sélection du film",
'label_list': "Liste des films",
'label_dashboard': "Tableau de bord des films",
'label_activity': "Flux d'activité des films",
'label_show_type': "Film",
'label_show_type_lowercase_plural': "films",
'label_show_type_seenby': "Films vus par",
'label_show_type_number': "Nombre de films",
'label_show_type_seen_number': "Nombre de films vus",
'label_director': "Réalisateur(s)",
'label_release_date': "Date de sortie",
'label_comment': "Critique du film",
'label_text_added': "ajouté",
'label_text_marked': "noté",
'email_title_add': "Ajout d\'un film",
'email_title_update': "Modification d\'un film",
'email_title_mark': "Note d\'un film",
'email_title_favorite_add': "Ajout d\'un film en favori",
'email_title_favorite_delete': "Suppression d\'un film en favori",
'label_generic': "le film",
'label_generic_uppercase': "Le film",
'label_generic_possessive': "du film",
'label_article_generic': "le",
'field_search': 'Les Tuche, Spielberg',
'flash_add_success': "Film ajouté",
'flash_update_success': "Film correctement mis à jour",
'flash_already_exists': "Film déjà existant",
'flash_favorite_add': "Film défini en favori",
'flash_favorite_already_exists': "Film déjà défini en favori",
'flash_favorite_add_failed': "Impossible d\'ajouter le film en favori",
'flash_favorite_delete_failed': "Impossible de supprimer la série des favoris",
'flash_favorite_unknown': "Favori inexistant pour ce film pour cet utilisateur",
'flash_favorite_unavailable': "Le film n\'est pas enregistré comme un favori",
'flash_favorite_add_denied': "Vous n\'êtes pas autorisé à ajouter ce film en favori pour cet utilisateur",
'flash_favorite_delete_denied': "Vous n\'êtes pas autorisé à supprimer ce film en favori pour cet utilisateur",
'flash_favorite_delete': "Film supprimé des favoris",
'flash_favorite_delete_failed': "Le film n\'est pas enregistré comme favori" }
|
line = input()
a, b = line.split()
a = int(a)
b = int(b)
maxi = max(a, b)
if a <= 0 and b <= 0:
print('Not a moose')
elif a == b:
print(f'Even {a + b}')
elif a != b:
print(f'Odd {maxi + maxi}')
|
localDockerIPP = {
"sites": [
{"site": "Local_IPP",
"auth": {"channel": None},
"execution": {
"executor": "ipp",
"container": {
"type": "docker",
"image": "parslbase_v0.1",
},
"provider": "local",
"block": {
"initBlocks": 2, # Start with 4 workers
},
}
}],
"globals": {"lazyErrors": True}
}
localSimpleIPP = {
"sites": [
{"site": "Local_IPP",
"auth": {"channel": None},
"execution": {
"executor": "ipp",
"provider": "local",
"block": {
"initBlocks": 4, # Start with 4 workers
},
}
}],
"globals": {"lazyErrors": True}
}
localDockerMulti = {
"sites": [
{"site": "pool_app1",
"auth": {"channel": None},
"execution": {
"executor": "ipp",
"container": {
"type": "docker",
"image": "app1_v0.1",
},
"provider": "local",
"block": {
"initBlocks": 1, # Start with 4 workers
},
}
},
{"site": "pool_app2",
"auth": {"channel": None},
"execution": {
"executor": "ipp",
"container": {
"type": "docker",
"image": "app2_v0.1",
},
"provider": "local",
"block": {
"initBlocks": 1, # Start with 4 workers
},
}
}
],
"globals": {"lazyErrors": True}
}
|
class Solution:
def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
res = []
num_set = set(nums)
for i in range(1,len(nums)+1):
if i not in num_set:
res.append(i)
return res
|
#create a program that asks the user submit text repeatedly
#The program will exit when user submit CLOSE
#print the output as text file
with open('./96_file/96_file.txt', 'w') as file:
while True:
user_input = input('Enter anything (to quite- type CLOSE) : ');
if user_input == 'CLOSE':
break;
else:
file.write(user_input + '\n'); |
"""This file contains variables that are used in filters."""
filename = 'sample_filename_here'
# filter defult parameters
smoothing = 'STEDI'
noise_scale = 0.5
feature_scale = 0.5
nr_iterations = 20
save_every = 10
edge_thr = 0.001
gamma = 1
downsampling = 0
no_nonpositive_mask = False
|
class AllowSenderError(Exception):
pass
class AllowAuthError(Exception):
pass
class NotEnoughPoint(Exception):
pass
class AligoError(Exception):
pass
|
n = int(input())
a = []
for x in range(n):
a.append(int(input()))
print(min(a))
print(max(a))
|
class NeuralNetAgent(object):
def predict(self, board):
"""
输入当前棋盘(相对),预测每个点的权值
"""
pass
def train(self, examples):
"""
训练
"""
pass
def save_checkpoint(self, folder, filename):
"""
保存当前的神经网络
"""
pass
def load_checkpoint(self, folder, filename):
"""
加载神经网络
"""
pass
|
def is_2xx(response_code):
return 200 <= response_code < 300
def is_3xx(response_code):
return 300 <= response_code < 400
def is_4xx(response_code):
return 400 <= response_code < 500
def is_5xx(response_code):
return response_code >= 500
|
# link:https://leetcode.com/problems/design-browser-history/
class BrowserHistory:
def __init__(self, homepage: str):
self.forw_memo = [] # forw_memo stores the future url
self.back_memo = [] # back_memo stores the previous url
self.curr_url = homepage
def visit(self, url: str) -> None:
self.back_memo.append(self.curr_url)
self.curr_url = url
self.forw_memo = [] # clear forw_memo
def back(self, steps: int) -> str:
while self.back_memo and steps >= 1:
self.forw_memo.append(self.curr_url)
pop_url = self.back_memo.pop()
self.curr_url = pop_url
steps -= 1
return self.curr_url
def forward(self, steps: int) -> str:
while self.forw_memo and steps >= 1:
self.back_memo.append(self.curr_url)
pop_url = self.forw_memo.pop()
self.curr_url = pop_url
steps -= 1
return self.curr_url
|
def get_formatted_name(first_name, last_name, middle_name=''):
"""Devolve um nome completo formatado de modo elegante."""
if middle_name:
full_name = f'{first_name} {middle_name} {last_name}'
else:
full_name = f'{first_name} {last_name}'.title()
return full_name.title()
musician = get_formatted_name('jimi', 'hendrix')
print(musician)
musician = get_formatted_name('john', 'hook', 'lee')
print(musician)
|
"""
This script is to practice on not in expression
"""
ACTIVITY = input("What would you like to do today? ")
if "cinema" not in ACTIVITY.casefold():
print("But I want to go to the cinema")
|
# Python program to for appending a list
file1 = open("myfile.txt","w")
L = []
value=input("how many you want in a list")
a=value.split()
print(a)
for i in a:
L.append(i)
print(L)
file1.close()
# Append-adds at last
file1 = open("myfile.txt","a")#append mode
for i in L:
file1.write(i)
file1.close()
file1 = open("myfile.txt","r")
print("Output of Readlines after appending")
print(file1.readlines())
file1.close()
# Write-Overwrites
file1 = open("myfile.txt","w")#write mode
file1.write("Tomorrow \n")
file1.close()
file1 = open("myfile.txt","r")
print("Output of Readlines after writing")
print(file1.readlines())
file1.close()
|
class Solution(object):
def numIslands(self, grid):
self.dx = [-1, 1, 0, 0]
self.dy = [0, 0, -1, 1]
if not grid: return 0
self.x_max, self.y_max, self.grid = len(grid), len(grid[0]), grid
self.visited = set()
return sum([self.floodfill_dfs(i, j) for i in range(self.x_max) for j in range(self.y_max)])
def floodfill_dfs(self, x, y):
if not self.valid(x, y):
return 0
self.visited.add((x, y))
for k in range(4):
self.floodfill_dfs(x + self.dx[k], y + self.dy[k])
return 1
def valid(self, x, y):
if x < 0 or x >= self.x_max or y < 0 or y >= self.y_max:
return False
if self.grid[x][y] == "0" or ((x, y) in self.visited):
return False
return True
|
# to use this code:
# 1. load into slice3dVWR introspection window
# 2. execute with ctrl-enter or File | Run current edit
# 3. in the bottom window type lm1 = get_lookmark()
# 4. do stuff
# 5. to restore lookmark, do set_lookmark(lm1)
# keep on bugging me to:
# 1. fix slice3dVWR
# 2. build this sort of functionality into the GUI
# cpbotha
def get_plane_infos():
# get out all plane orientations and normals
plane_infos = []
for sd in obj.sliceDirections._sliceDirectionsDict.values():
# each sd has at least one IPW
ipw = sd._ipws[0]
plane_infos.append((ipw.GetOrigin(), ipw.GetPoint1(), ipw.GetPoint2(), ipw.GetWindow(), ipw.GetLevel()))
return plane_infos
def set_plane_infos(plane_infos):
# go through existing sliceDirections, sync if info available
sds = obj.sliceDirections._sliceDirectionsDict.values()
for i in range(len(sds)):
sd = sds[i]
if i < len(plane_infos):
pi = plane_infos[i]
ipw = sd._ipws[0]
ipw.SetOrigin(pi[0])
ipw.SetPoint1(pi[1])
ipw.SetPoint2(pi[2])
ipw.SetWindowLevel(pi[3], pi[4], 0)
ipw.UpdatePlacement()
sd._syncAllToPrimary()
def get_camera_info():
cam = obj._threedRenderer.GetActiveCamera()
p = cam.GetPosition()
vu = cam.GetViewUp()
fp = cam.GetFocalPoint()
ps = cam.GetParallelScale()
return (p, vu, fp, ps)
def get_lookmark():
return (get_plane_infos(), get_camera_info())
def set_lookmark(lookmark):
# first setup the camera
ci = lookmark[1]
cam = obj._threedRenderer.GetActiveCamera()
cam.SetPosition(ci[0])
cam.SetViewUp(ci[1])
cam.SetFocalPoint(ci[2])
# required for parallel projection
cam.SetParallelScale(ci[3])
# also needed to adapt correctly to new camera
ren = obj._threedRenderer
ren.UpdateLightsGeometryToFollowCamera()
ren.ResetCameraClippingRange()
# now do the planes
set_plane_infos(lookmark[0])
obj.render3D()
def reset_to_default_view(view_index):
"""
@param view_index 0 for YZ, 1 for ZX, 2 for XY
"""
cam = obj._threedRenderer.GetActiveCamera()
fp = cam.GetFocalPoint()
cp = cam.GetPosition()
if view_index == 0:
cam.SetViewUp(0,1,0)
if cp[0] < fp[0]:
x = fp[0] + (fp[0] - cp[0])
else:
x = cp[0]
# safety check so we don't put cam in focal point
# (renderer gets into unusable state!)
if x == fp[0]:
x = fp[0] + 1
cam.SetPosition(x, fp[1], fp[2])
elif view_index == 1:
cam.SetViewUp(0,0,1)
if cp[1] < fp[1]:
y = fp[1] + (fp[1] - cp[1])
else:
y = cp[1]
if y == fp[1]:
y = fp[1] + 1
cam.SetPosition(fp[0], y, fp[2])
elif view_index == 2:
# then make sure it's up is the right way
cam.SetViewUp(0,1,0)
# just set the X,Y of the camera equal to the X,Y of the
# focal point.
if cp[2] < fp[2]:
z = fp[2] + (fp[2] - cp[2])
else:
z = cp[2]
if z == fp[2]:
z = fp[2] + 1
cam.SetPosition(fp[0], fp[1], z)
# first reset the camera
obj._threedRenderer.ResetCamera()
obj.render3D()
|
#3 - Criar um programa que recebe um depósito inicial e a taxa de juros mensal de uma aplicação e imprime os valores, mês a mês , para os 24 primeiros meses. Além disso, escreve o total ganho com os juros do período.
deposito_inicial=float(input('Digite o valor em R$ de deposito inicial: '))
tx_juros=float(input('Digite em porcentagem a taxa de juros mensal: '))
mes=0
calc=tx_juros/100
valor_atual=deposito_inicial
while mes<=24:
valor_juros=valor_atual*calc
valor_atual=valor_atual+valor_juros
print(f'Valor em conta no mês {mes} é R${valor_atual:.2f}')
mes+=1
ganhos=valor_atual-deposito_inicial
print(f'Total de ganhos no periodo de 24 meses foi R$ {ganhos:.2f}') |
#------------------------------------------------------------------------------
# Copyright (c) 2013, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#------------------------------------------------------------------------------
# TODO Expose hooks for source code open for db-based source systems
def _format_source_error(filename, context, lineno):
""" A helper function which generates an error string.
This function handles the work of reading the lines of the file
which bracket the error, and formatting a string which points to
the offending line. The output is similar to:
File "foo.py", line 42, in bar()
41 def bar():
----> 42 a = a + 1
43 return a
Parameters
----------
filename : str
The name of the offending file.
context : str
The string name of the context scope in which the error
occured. In the sample above, the context is 'bar'.
lineno : int
The integer line number of the offending line.
Returns
-------
result : str
A nicely formatted string for including in an exception. If the
file cannot be opened, the source lines will note be included.
"""
text = 'File "%s", line %d, in %s()' % (filename, lineno, context)
start_lineno = max(0, lineno - 1)
end_lineno = start_lineno + 2
lines = []
try:
with open(filename, 'r') as f:
for idx, line in enumerate(f, 1):
if idx >= start_lineno and idx <= end_lineno:
lines.append((idx, line))
elif idx > end_lineno:
break
except IOError:
pass
if len(lines) > 0:
digits = str(len(str(end_lineno)))
line_templ = '\n----> %' + digits + 'd %s'
other_templ = '\n %' + digits + 'd %s'
for lno, line in lines:
line = line.rstrip()
if lno == lineno:
text += line_templ % (lno, line)
else:
text += other_templ % (lno, line)
return text
class DeclarativeException(Exception):
""" A Sentinel exception type for declarative exceptions.
"""
pass
class DeclarativeNameError(NameError, DeclarativeException):
""" A NameError subclass which nicely formats the exception.
This class is intended for used by Declarative and its subclasses to
report errors for failed global lookups when building out the object
tree.
"""
def __init__(self, name, filename, context, lineno):
""" Initialize a DeclarativeNameError.
Parameters
----------
name : str
The name of global symbol which was not found.
filename : str
The name of the file where the error occurred.
context : str
The context name where the error occured.
lineno : int
The line number where the error occurred.
"""
super(DeclarativeNameError, self).__init__(name)
self.name = name
self.filename = filename
self.context = context
self.lineno = lineno
def __str__(self):
""" A nicely formatted representaion of the exception.
"""
text = '%s\n\n' % self.name
text += _format_source_error(self.filename, self.context, self.lineno)
text += "\n\n%s: global name '%s' " % (type(self).__name__, self.name)
text += "is not defined"
return text
class DeclarativeError(DeclarativeException):
""" A Exception subclass which nicely formats the exception.
This class is intended for use by the Enaml compiler machinery to
indicate general errors when working with declarative types.
"""
def __init__(self, message, filename, context, lineno):
""" Initialize a DeclarativeError.
Parameters
----------
message : str
The message to associate with the error.
filename : str
The name of the file where the error occurred.
context : str
The context name where the error occured.
lineno : int
The line number where the error occurred.
"""
super(DeclarativeError, self).__init__(message)
self.message = message
self.filename = filename
self.context = context
self.lineno = lineno
def __str__(self):
""" A nicely formatted representaion of the exception.
"""
text = '\n\n'
text += _format_source_error(self.filename, self.context, self.lineno)
text += "\n\n%s: %s" % (type(self).__name__, self.message)
return text
class OperatorLookupError(LookupError, DeclarativeException):
""" A LookupError subclass which nicely formats the exception.
This class is intended for use by Enaml compiler machinery to report
failures when looking up operators.
"""
def __init__(self, operator, filename, context, lineno):
""" Initialize an OperatorLookupError.
Parameters
----------
operator : str
The name of the operator which was not found.
filename : str
The name of the file where the error occurred.
context : str
The context name where the error occured.
lineno : int
The line number where the error occurred.
"""
super(OperatorLookupError, self).__init__(operator)
self.operator = operator
self.filename = filename
self.context = context
self.lineno = lineno
def __str__(self):
""" A nicely formatted representaion of the exception.
"""
text = '\n\n'
text += _format_source_error(self.filename, self.context, self.lineno)
text += "\n\nOperatorLookupError: "
text += "failed to load operator '%s'" % self.operator
return text
|
# Author: Igor Vinicius Freitas de Souza
# GitHub: https://github.com/igor1043
# E-mail: igorviniciusfreitasouza@gmail.com
#Faça um programa que mostre a mensagem "Alo mundo" na tela.
print("Alo mundo")
|
class Solution:
def findLengthOfLCIS(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
result = 0
count = 0
for i in range(len(nums)):
if i == 0 or nums[i-1] < nums[i]:
count += 1
result = max(count, result)
else:
count = 1
return result
|
FLAT, TILT_FORWARD, TILT_LEFT, TILT_RIGHT, TILT_BACK = range(5)
def process_tilt(raw_tilt_value):
"""Use a series of elif/value-checks to process the tilt
sensor data."""
if 10 <= raw_tilt_value <= 40:
return TILT_BACK
elif 60 <= raw_tilt_value <= 90:
return TILT_RIGHT
elif 170 <= raw_tilt_value <= 190:
return TILT_FORWARD
elif 220 <= raw_tilt_value <= 240:
return TILT_LEFT
return FLAT
|
def author_name():
return "Ganesh"
def author_education():
return "Purusing Engineering Pre-final Year"
def author_socialmedia():
return "https://www.linkedin.com/in/ganeshuthiravasagam/"
def author_github():
return "https://github.com/Ganeshuthiravasagam/"
|
def ex082():
numeros = []
pares = []
impares = []
condicao = 'S'
while condicao == 'S':
num = int(input('Digite um número: '))
numeros.append(num)
if num % 2 == 0:
pares.append(num)
else:
impares.append(num)
condicao = input('Deseja continuar? [S/N]\n').upper()
print(f'Números digitados: {numeros}\nNúmeros pares: {pares}\nNúmeros ímpares: {impares}')
ex082()
|
# start main program
DIGITS = list(range(1, 10))
# create emtpy puzzle
grid = [[0 for i in range(9)] for j in range(9)]
# hard coded puzzle from North Haven Courier
grid[0][0] = 1; grid[0][3] = 6; grid[0][5] = 5; grid[0][6] = 4; grid[0][8] = 3; grid[1][0] = 6; grid[1][2] = 7;
grid[1][4] = 2; grid[1][7] = 1; grid[2][1] = 4; grid[2][4] = 7; grid[2][6] = 2; grid[4][4] = 5; grid[4][5] = 3;
grid[4][7] = 4; grid[5][2] = 4; grid[5][4] = 8; grid[5][5] = 1; grid[5][6] = 9; grid[5][8] = 7; grid[6][0] = 7;
grid[6][3] = 9; grid[7][1] = 9; grid[8][0] = 4; grid[8][2] = 3; grid[8][8] = 5
grid_possible = [[[] for i in range(9)] for j in range(9)]
grid_possible[0][0] = [1]
grid_possible[0][1] = [2,8]
grid_possible[0][2] = [2,8]
grid_possible[1][0] = [6]
grid_possible[1][1] = [5,8]
grid_possible[1][2] = [7]
grid_possible[2][0] = [3,5,9]
grid_possible[2][1] = [4]
grid_possible[2][2] = [5,9]
# print the full grid
print("_____ Unsolved Puzzle _____")
for y in grid:
print(y)
def get_sub_grid_coords(a, b):
# compose list of tubles that make up this sub-grid
sub_grid_positions = []
for u in range(3):
for p in range(3):
this_pos = ((a * 3 + u), (b * 3 + p))
sub_grid_positions.append(this_pos)
return sub_grid_positions
############### Main
# for x in range(3):
# for y in range(3):
x = 0
y = 0
frequency_tbl = [[] for num in range(10)]
this_sub_grid = get_sub_grid_coords(x, y)
for box in this_sub_grid:
a = box[0]
b = box[1]
these_possible = grid_possible[a][b]
print(a, b, str(these_possible))
# if the box isn't solved, then there are more than one possibilities
if len(these_possible) > 1:
for value in these_possible:
coordinate = (a, b)
# put the coorindates of the box in the correct frequency bucket
frequency_tbl[value].append(coordinate)
print(frequency_tbl)
i = 0
for coord_list in frequency_tbl:
if len(coord_list) == 1:
print("box: " + str(coord_list) + " is " + str(i))
# write value back to box
#solve_it = True
i+=1
|
#example 1
dummy_list = ["one","two","three","four","five","six"]
separator = ' '
result_string = separator.join(dummy_list)
print(result_string)
#example 2
dummy_list = ["one","two","three","four","five","six"]
separator = ','
result_string = separator.join(dummy_list)
print(result_string)
|
'''
Write code to reverse a C-Style String. (C-String means that “abcd” is represented as
!ve characters, including the null character.)
'''
def reverse_cstyle_string(string_):
i = 2
reverse_string = ""
for _ in range(len(string_) - 1):
reverse_string += string_[-i]
i += 1
return reverse_string
if __name__ == '__main__':
str_ = input()
# Make it C Style
str_ += '\0'
print(reverse_cstyle_string(str_))
|
class CameraInfo :
'''
Camera Information.
Attributes
----------
model:
Camera model.
firmware:
Firmware version.
uid:
Camera identification.
resolution:
Camera resolution
port:
Serial port
'''
def __init__(self, _model, _firmware, _uid, _resolution, _port) :
self.model = _model
self.firmware = _firmware
self.uid = _uid
self.resolution = _resolution
self.port = _port
|
#campo minado
global tabuleiro
tabuleiro = [
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•']
]
def printTabuleiro():
cont2 = 0
print(' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'F')
for i, v in enumerate(tabuleiro):
cont = 0
print(cont2, end=' ')
cont2 += 1
for k in tabuleiro[i]:
cont += 1
print(k, end=' ')
if cont == len(tabuleiro[0]):
print(' ')
def fazJogada(discover):
printTabuleiro()
coluna = int(input('coordenada número >>> '))
fileira = str(input('coordenada letra >>> ')).upper()
conversor = {'A': 0, 'B': 1, 'C': 2, 'D': 3, 'E': 4, 'F': 5, 'G': 6, 'H': 7, 'F':8}
for i, v in conversor.items():
if i == fileira:
fileira = v
for i, v in enumerate(tabuleiro):
if i == coluna:
for o, b in enumerate(tabuleiro):
if o == fileira:
tabuleiro[i][o] = 'X'
# printTabuleiro()
while True:
fazJogada('X')
|
def ComputeR10_1(scores,labels,count = 10):
total = 0
correct = 0
for i in range(len(labels)):
if labels[i] == 1:
total = total+1
sublist = scores[i:i+count]
if max(sublist) == scores[i]:
correct = correct + 1
print(float(correct)/ total )
def ComputeR2_1(scores,labels,count = 2):
total = 0
correct = 0
for i in range(len(labels)):
if labels[i] == 1:
total = total+1
sublist = scores[i:i+count]
if max(sublist) == scores[i]:
correct = correct + 1
print(float(correct)/ total ) |
class CallAfterCommitMiddleware(object):
def process_response(self, request, response):
try:
callbacks = request._post_commit_callbacks
except AttributeError:
callbacks = []
for fn, args, kwargs in callbacks:
fn(*args, **kwargs)
return response
|
class Chapter12:
"""
第12章 统计学习方法总结
"""
def __init__(self):
"""
第12章 统计学习方法总结
"""
pass
def note(self):
"""
chapter12 note
"""
print('第12章 统计学习方法总结')
print('10种主要的统计学习方法:感知机、k近邻法、朴素贝叶斯法、决策树、',
'逻辑斯谛回归与最大熵模型、支持向量机、提升方法、EM算法、隐马尔可夫模型和条件随机场')
print('1.适用问题')
print('本书主要介绍监督学习方法.监督学习可以认为是学习一个模型,使它能对给定的输入预测相应的输出.',
'监督学习包括分类、标注、回归.')
print('分类问题是从实例的特征向量到类标记的预测问题,标注问题是从观测序列到标记序列(或状态序列)的预测问题.',
'可以认为分类问题是标注问题的特殊情况.分类问题中可能的预测结果是二类或多类.',
'而标注问题中可能的预测结果是所有的标记序列,其数目是指数级的.')
print('感知机、k近邻法、朴素贝叶斯法、决策树、逻辑斯谛回归与最大熵模型、',
'支持向量机、提升方法是分类方法.原始的感知机、支持向量机以及提升方法是针对二类分类的,',
'可以将它们扩展到多类分类的。隐马尔可夫模型、条件随机场是标注方法.EM算法是含有隐变量的概率模型的一般学习算法,',
'可以用于生成模型的非监督学习.')
print('感知机、k近邻法、朴素贝叶斯法、决策树是简单的分类方法,具有模型直观、方法简单、实现容易等特点.',
'逻辑斯谛回归与最大熵模型、支持向量机、提升方法是更复杂但更有效的分类方法,',
'往往分类准确率更高。隐马尔可夫模型、条件随机场是主要的标注方法.通常条件随机场的标注准确率更高.')
print('2.模型')
print('分类问题与标注问题的预测模型都可以认为是表示从输入空间到输出空间的映射.它们可以写成条件概率分布P(Y|X)',
'或决策函数Y=f(X)的形式.前者表示给定输入条件下输出的概率模型,后者表示输入到输出的非概率模型.',
'有时,模型更直接地表示为概率模型,或者非概率模型;但有时模型兼有两种解释.')
print('朴素贝叶斯法、隐马尔可夫模型是概率模型.感知机、k近邻法、支持向量机、提升方法是非概率模型.',
'而决策树、逻辑斯谛回归与最大熵模型、条件随机场既可以看做是概率模型,又可以看做是非概率模型.')
print('直接学习条件概率分布P(Y|X)或决策函数Y=f(X)的方法为判别方法,对应的模型是判别模型.',
'感知机、k近邻法、决策树、逻辑斯谛回归与最大熵模型、支持向量机、提升方法、条件随机场是判别方法,',
'首先学习联合概率分布P(X,Y),从而求得条件概率分布P(Y|X)的方法是生成方法,对应的模型是生成模型.',
'朴素贝叶斯法、隐马尔可夫模型是生成方法')
print('可以用非监督学习的方法学习生成模型.具体地,应用EM算法可以学习朴素贝叶斯模型以及隐马尔可夫模型')
print('决策树是定义在一般的特征空间上的,可以含有连续变量或离散变量.感知机、支持向量机、k近邻法的特征空间是欧式空间',
'(可以含有连续变量或离散变量.感知机、支持向量机、k近邻法的特征空间是欧式空间)')
print('感知机模型是线性模型,而逻辑斯谛回归与最大熵模型、条件随机场是对数线性模型.k近邻法、决策树',
'支持向量机(包含核函数)、提升方法使用的是非线性模型.')
print('3.学习策略')
print('在二类分类的监督学习中,支持向量机、逻辑斯谛回归与最大熵模型、提升方法各自使用合页损失函数、',
'逻辑斯谛损失函数、指数损失函数.3中损失函数分别写为:',
'[1-yf(x)]+',
'log[1+exp(-yf(x))]',
'exp(-yf(x))')
print('这3种损失函数都是0-1损失函数的上界,具有相似的形状,所以,',
'可以认为支持向量机、逻辑斯谛回归与最大熵模型、提升方法使用不同的代理损失函数表示分类的损失,',
'定义经验风险或结构风险损失函数,实现二类分类学习任务.学习的策略是优化以下结构风险函数:',
'min1/N∑L(yi,f(xi))+lJ(f)')
print('这里,第1项为经验风险(经验损失),第2项为正则化项,L(y,f(x))为损失函数,',
'J(f)为模型的复杂度,l>=0为系数.')
print('支持向量机用L2范数表示模型的复杂度.原始的逻辑斯谛回归与最大熵模型没有正则化项,',
'可以给它们加上L2范数正则化项.提升方法没有显式的正则化项,',
'通常通过早停止的方法达到正则化的效果.')
print('以上二类分类的学习方法可以扩展到多类分类学习以及标注问题,',
'比如标注问题的条件随机场可以看作是分类问题的最大熵模型的推广.')
print('概率模型的学习可以形式化为极大似然估计或贝叶斯估计的极大后验概率估计.',
'这时,学习的策略是极小化对数似然损失或极小化正则化的对数似然损失.',
'对数似然可以写成-logP(y|x)')
print('极大后验概率估计时,正则化项是先验概率的负对数.')
print('决策树学习的策略是正则化的极大似然估计,损失函数是对数似然损失,',
'正则化项是决策树的复杂度.')
print('逻辑斯谛回归与最大熵模型、条件随机场的学习策略既可以看成是极大似然估计',
'(或正则化的极大似然估计),又看成是极小化逻辑斯谛损失(或正则化的逻辑斯谛损失)')
print('朴素贝叶斯模型、隐马尔可夫模型的非监督学习也是极大似然估计或极大后验概率估计,',
'但这时模型含有隐变量')
print('4.学习算法')
print('统计学习的问题有了具体的形式以后,就变成了最优化问题.有时,最优化问题比较简单,',
'解析解存在,最优解可以由公式简单计算.但在多数情况下,最优化问题没有解析解,',
'需要用数值计算的方法或启发式的方法求解.')
print('朴素贝叶斯法与隐马尔可夫模型的监督学习,最优解即极大似然估计值,',
'可以由概率计算公式直接计算.')
print('感知机、逻辑斯谛回归与最大熵模型、条件随机场的学习利用梯度下降法、',
'拟牛顿法等.这些都是一般的无约束最优化问题的解法.')
print('支持向量机学习,可以解凸二次规划的对偶问题.有序列最小最优化算法等方法.')
print('决策树学习是基于启发式算法的典型例子.可以认为特征选择、生成、',
'剪枝是启发式地进行正则化的极大似然估计.')
print('提升方法利用学习的模型是加法模型、损失函数是指数损失函数的特点,',
'启发式地从前向后逐步学习模型,以达到逼近优化目标函数的目的.')
print('EM算法是一种迭代的求解含隐变量概率模型参数的方法,',
'它的收敛性可以保证,但是不能保证收敛到全局最优.')
print('支持向量机学习、逻辑斯谛回归与最大熵模型学习、条件随机场学习是凸优化问题,',
'全局最优解保证存在.而其他学习问题则不是凸优化问题.')
chapter12 = Chapter12()
def main():
chapter12.note()
if __name__ == '__main__':
main()
|
# execute with python ./part1.py
def trees_met(map: list, right: int, down: int):
trees = 0
idx_of_column = 0
idx_of_row = 0
length_of_row = len(map[0])-1 # so that we do not count the newline character!!!
while idx_of_row < len(map)-1:
idx_of_row = idx_of_row + down
row = map[idx_of_row]
idx_of_column = idx_of_column + right
if idx_of_column > length_of_row-1:
idx_of_column = idx_of_column % length_of_row
if row[idx_of_column] == '#':
print("------tree in row", idx_of_row, "column", idx_of_column, ":", row)
trees = trees + 1
return trees
if __name__ == '__main__':
with open("day3.txt") as f:
map = [str(x) for x in f.readlines()]
trees_met(map, 3, 1)
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2017, Jon Hawkesworth (@jhawkesworth) <figs@unity.demon.co.uk>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# this is a windows documentation stub. actual code lives in the .ps1
# file of the same name
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = r'''
---
module: win_msg
version_added: "2.3"
short_description: Sends a message to logged in users on Windows hosts
description:
- Wraps the msg.exe command in order to send messages to Windows hosts.
options:
to:
description:
- Who to send the message to. Can be a username, sessionname or sessionid.
type: str
default: '*'
display_seconds:
description:
- How long to wait for receiver to acknowledge message, in seconds.
type: int
default: 10
wait:
description:
- Whether to wait for users to respond. Module will only wait for the number of seconds specified in display_seconds or 10 seconds if not specified.
However, if I(wait) is C(yes), the message is sent to each logged on user in turn, waiting for the user to either press 'ok' or for
the timeout to elapse before moving on to the next user.
type: bool
default: 'no'
msg:
description:
- The text of the message to be displayed.
- The message must be less than 256 characters.
type: str
default: Hello world!
notes:
- This module must run on a windows host, so ensure your play targets windows
hosts, or delegates to a windows host.
- Messages are only sent to the local host where the module is run.
- The module does not support sending to users listed in a file.
- Setting wait to C(yes) can result in long run times on systems with many logged in users.
seealso:
- module: win_say
- module: win_toast
author:
- Jon Hawkesworth (@jhawkesworth)
'''
EXAMPLES = r'''
- name: Warn logged in users of impending upgrade
win_msg:
display_seconds: 60
msg: Automated upgrade about to start. Please save your work and log off before {{ deployment_start_time }}
'''
RETURN = r'''
msg:
description: Test of the message that was sent.
returned: changed
type: str
sample: Automated upgrade about to start. Please save your work and log off before 22 July 2016 18:00:00
display_seconds:
description: Value of display_seconds module parameter.
returned: success
type: str
sample: 10
rc:
description: The return code of the API call.
returned: always
type: int
sample: 0
runtime_seconds:
description: How long the module took to run on the remote windows host.
returned: success
type: str
sample: 22 July 2016 17:45:51
sent_localtime:
description: local time from windows host when the message was sent.
returned: success
type: str
sample: 22 July 2016 17:45:51
wait:
description: Value of wait module parameter.
returned: success
type: bool
sample: false
'''
|
"""
Cache interface.
"""
class Cache:
def __contains__(self, key):
raise NotImplementedError()
def __getitem__(self, key):
raise NotImplementedError()
def __setitem__(self, key, value):
raise NotImplementedError()
|
""" version which can be consumed from within the module """
VERSION_STR = "0.0.15"
DESCRIPTION = "pytimer is an easy to use timer"
APP_NAME = "pytimer"
LOGGER_NAME = "pytimer"
|
# Time: O(n^2)
# Space: O(n)
class Solution(object):
def lenLongestFibSubseq(self, A):
"""
:type A: List[int]
:rtype: int
"""
lookup = set(A)
result = 2
for i in xrange(len(A)):
for j in xrange(i+1, len(A)):
x, y, l = A[i], A[j], 2
while x+y in lookup:
x, y, l = y, x+y, l+1
result = max(result, l)
return result if result > 2 else 0
|
def greeting():
text= "Hello World"
print(text)
if __name__== '__main__':
greeting()
|
#
# PySNMP MIB module SNMP-NOTIFICATION-MIB (http://pysnmp.sf.net)
# ASN.1 source file:///usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
# Produced by pysmi-0.0.5 at Sat Sep 19 23:00:18 2015
# On host grommit.local platform Darwin version 14.4.0 by user ilya
# Using Python version 2.7.6 (default, Sep 9 2014, 15:04:36)
#
( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
( ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint")
( SnmpAdminString, ) = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
( snmpTargetParamsName, SnmpTagValue, ) = mibBuilder.importSymbols("SNMP-TARGET-MIB", "snmpTargetParamsName", "SnmpTagValue")
( NotificationGroup, ModuleCompliance, ObjectGroup, ) = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
( Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, MibIdentifier, IpAddress, TimeTicks, Counter64, Unsigned32, ModuleIdentity, Gauge32, snmpModules, iso, ObjectIdentity, Bits, Counter32, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "MibIdentifier", "IpAddress", "TimeTicks", "Counter64", "Unsigned32", "ModuleIdentity", "Gauge32", "snmpModules", "iso", "ObjectIdentity", "Bits", "Counter32")
( StorageType, DisplayString, RowStatus, TextualConvention, ) = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "DisplayString", "RowStatus", "TextualConvention")
snmpNotificationMIB = ModuleIdentity((1, 3, 6, 1, 6, 3, 13)).setRevisions(("2002-10-14 00:00", "1998-08-04 00:00", "1997-07-14 00:00",))
if mibBuilder.loadTexts: snmpNotificationMIB.setLastUpdated('200210140000Z')
if mibBuilder.loadTexts: snmpNotificationMIB.setOrganization('IETF SNMPv3 Working Group')
if mibBuilder.loadTexts: snmpNotificationMIB.setContactInfo('WG-email: snmpv3@lists.tislabs.com\n Subscribe: majordomo@lists.tislabs.com\n In message body: subscribe snmpv3\n\n Co-Chair: Russ Mundy\n Network Associates Laboratories\n Postal: 15204 Omega Drive, Suite 300\n Rockville, MD 20850-4601\n USA\n EMail: mundy@tislabs.com\n Phone: +1 301-947-7107\n\n Co-Chair: David Harrington\n Enterasys Networks\n Postal: 35 Industrial Way\n P. O. Box 5004\n Rochester, New Hampshire 03866-5005\n USA\n EMail: dbh@enterasys.com\n Phone: +1 603-337-2614\n\n Co-editor: David B. Levi\n Nortel Networks\n Postal: 3505 Kesterwood Drive\n Knoxville, Tennessee 37918\n EMail: dlevi@nortelnetworks.com\n Phone: +1 865 686 0432\n\n Co-editor: Paul Meyer\n Secure Computing Corporation\n Postal: 2675 Long Lake Road\n Roseville, Minnesota 55113\n EMail: paul_meyer@securecomputing.com\n Phone: +1 651 628 1592\n\n Co-editor: Bob Stewart\n Retired')
if mibBuilder.loadTexts: snmpNotificationMIB.setDescription('This MIB module defines MIB objects which provide\n mechanisms to remotely configure the parameters\n used by an SNMP entity for the generation of\n notifications.\n\n Copyright (C) The Internet Society (2002). This\n version of this MIB module is part of RFC 3413;\n see the RFC itself for full legal notices.\n ')
snmpNotifyObjects = MibIdentifier((1, 3, 6, 1, 6, 3, 13, 1))
snmpNotifyConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 13, 3))
snmpNotifyTable = MibTable((1, 3, 6, 1, 6, 3, 13, 1, 1), )
if mibBuilder.loadTexts: snmpNotifyTable.setDescription('This table is used to select management targets which should\n receive notifications, as well as the type of notification\n which should be sent to each selected management target.')
snmpNotifyEntry = MibTableRow((1, 3, 6, 1, 6, 3, 13, 1, 1, 1), ).setIndexNames((1, "SNMP-NOTIFICATION-MIB", "snmpNotifyName"))
if mibBuilder.loadTexts: snmpNotifyEntry.setDescription('An entry in this table selects a set of management targets\n which should receive notifications, as well as the type of\n\n notification which should be sent to each selected\n management target.\n\n Entries in the snmpNotifyTable are created and\n deleted using the snmpNotifyRowStatus object.')
snmpNotifyName = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1,32)))
if mibBuilder.loadTexts: snmpNotifyName.setDescription('The locally arbitrary, but unique identifier associated\n with this snmpNotifyEntry.')
snmpNotifyTag = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 1, 1, 2), SnmpTagValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyTag.setDescription('This object contains a single tag value which is used\n to select entries in the snmpTargetAddrTable. Any entry\n in the snmpTargetAddrTable which contains a tag value\n which is equal to the value of an instance of this\n object is selected. If this object contains a value\n of zero length, no entries are selected.')
snmpNotifyType = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("trap", 1), ("inform", 2),)).clone('trap')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyType.setDescription('This object determines the type of notification to\n\n be generated for entries in the snmpTargetAddrTable\n selected by the corresponding instance of\n snmpNotifyTag. This value is only used when\n generating notifications, and is ignored when\n using the snmpTargetAddrTable for other purposes.\n\n If the value of this object is trap(1), then any\n messages generated for selected rows will contain\n Unconfirmed-Class PDUs.\n\n If the value of this object is inform(2), then any\n messages generated for selected rows will contain\n Confirmed-Class PDUs.\n\n Note that if an SNMP entity only supports\n generation of Unconfirmed-Class PDUs (and not\n Confirmed-Class PDUs), then this object may be\n read-only.')
snmpNotifyStorageType = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 1, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyStorageType.setDescription("The storage type for this conceptual row.\n Conceptual rows having the value 'permanent' need not\n allow write-access to any columnar objects in the row.")
snmpNotifyRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyRowStatus.setDescription('The status of this conceptual row.\n\n To create a row in this table, a manager must\n set this object to either createAndGo(4) or\n createAndWait(5).')
snmpNotifyFilterProfileTable = MibTable((1, 3, 6, 1, 6, 3, 13, 1, 2), )
if mibBuilder.loadTexts: snmpNotifyFilterProfileTable.setDescription('This table is used to associate a notification filter\n profile with a particular set of target parameters.')
snmpNotifyFilterProfileEntry = MibTableRow((1, 3, 6, 1, 6, 3, 13, 1, 2, 1), ).setIndexNames((1, "SNMP-TARGET-MIB", "snmpTargetParamsName"))
if mibBuilder.loadTexts: snmpNotifyFilterProfileEntry.setDescription('An entry in this table indicates the name of the filter\n profile to be used when generating notifications using\n the corresponding entry in the snmpTargetParamsTable.\n\n Entries in the snmpNotifyFilterProfileTable are created\n and deleted using the snmpNotifyFilterProfileRowStatus\n object.')
snmpNotifyFilterProfileName = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1,32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterProfileName.setDescription('The name of the filter profile to be used when generating\n notifications using the corresponding entry in the\n snmpTargetAddrTable.')
snmpNotifyFilterProfileStorType = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 2, 1, 2), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterProfileStorType.setDescription("The storage type for this conceptual row.\n Conceptual rows having the value 'permanent' need not\n allow write-access to any columnar objects in the row.")
snmpNotifyFilterProfileRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterProfileRowStatus.setDescription("The status of this conceptual row.\n\n To create a row in this table, a manager must\n set this object to either createAndGo(4) or\n createAndWait(5).\n\n Until instances of all corresponding columns are\n appropriately configured, the value of the\n corresponding instance of the\n snmpNotifyFilterProfileRowStatus column is 'notReady'.\n\n In particular, a newly created row cannot be made\n active until the corresponding instance of\n snmpNotifyFilterProfileName has been set.")
snmpNotifyFilterTable = MibTable((1, 3, 6, 1, 6, 3, 13, 1, 3), )
if mibBuilder.loadTexts: snmpNotifyFilterTable.setDescription('The table of filter profiles. Filter profiles are used\n to determine whether particular management targets should\n receive particular notifications.\n\n When a notification is generated, it must be compared\n with the filters associated with each management target\n which is configured to receive notifications, in order to\n determine whether it may be sent to each such management\n target.\n\n A more complete discussion of notification filtering\n can be found in section 6. of [SNMP-APPL].')
snmpNotifyFilterEntry = MibTableRow((1, 3, 6, 1, 6, 3, 13, 1, 3, 1), ).setIndexNames((0, "SNMP-NOTIFICATION-MIB", "snmpNotifyFilterProfileName"), (1, "SNMP-NOTIFICATION-MIB", "snmpNotifyFilterSubtree"))
if mibBuilder.loadTexts: snmpNotifyFilterEntry.setDescription('An element of a filter profile.\n\n Entries in the snmpNotifyFilterTable are created and\n deleted using the snmpNotifyFilterRowStatus object.')
snmpNotifyFilterSubtree = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 3, 1, 1), ObjectIdentifier())
if mibBuilder.loadTexts: snmpNotifyFilterSubtree.setDescription('The MIB subtree which, when combined with the corresponding\n instance of snmpNotifyFilterMask, defines a family of\n subtrees which are included in or excluded from the\n filter profile.')
snmpNotifyFilterMask = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 3, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0,16)).clone(hexValue="")).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterMask.setDescription("The bit mask which, in combination with the corresponding\n instance of snmpNotifyFilterSubtree, defines a family of\n subtrees which are included in or excluded from the\n filter profile.\n\n Each bit of this bit mask corresponds to a\n sub-identifier of snmpNotifyFilterSubtree, with the\n most significant bit of the i-th octet of this octet\n string value (extended if necessary, see below)\n corresponding to the (8*i - 7)-th sub-identifier, and\n the least significant bit of the i-th octet of this\n octet string corresponding to the (8*i)-th\n sub-identifier, where i is in the range 1 through 16.\n\n Each bit of this bit mask specifies whether or not\n the corresponding sub-identifiers must match when\n determining if an OBJECT IDENTIFIER matches this\n family of filter subtrees; a '1' indicates that an\n exact match must occur; a '0' indicates 'wild card',\n i.e., any sub-identifier value matches.\n\n Thus, the OBJECT IDENTIFIER X of an object instance\n is contained in a family of filter subtrees if, for\n each sub-identifier of the value of\n snmpNotifyFilterSubtree, either:\n\n the i-th bit of snmpNotifyFilterMask is 0, or\n\n the i-th sub-identifier of X is equal to the i-th\n sub-identifier of the value of\n snmpNotifyFilterSubtree.\n\n If the value of this bit mask is M bits long and\n there are more than M sub-identifiers in the\n corresponding instance of snmpNotifyFilterSubtree,\n then the bit mask is extended with 1's to be the\n required length.\n\n Note that when the value of this object is the\n zero-length string, this extension rule results in\n a mask of all-1's being used (i.e., no 'wild card'),\n and the family of filter subtrees is the one\n subtree uniquely identified by the corresponding\n instance of snmpNotifyFilterSubtree.")
snmpNotifyFilterType = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=SingleValueConstraint(1, 2,)).clone(namedValues=NamedValues(("included", 1), ("excluded", 2),)).clone('included')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterType.setDescription('This object indicates whether the family of filter subtrees\n defined by this entry are included in or excluded from a\n filter. A more detailed discussion of the use of this\n object can be found in section 6. of [SNMP-APPL].')
snmpNotifyFilterStorageType = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 3, 1, 4), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterStorageType.setDescription("The storage type for this conceptual row.\n Conceptual rows having the value 'permanent' need not\n\n allow write-access to any columnar objects in the row.")
snmpNotifyFilterRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 13, 1, 3, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: snmpNotifyFilterRowStatus.setDescription('The status of this conceptual row.\n\n To create a row in this table, a manager must\n set this object to either createAndGo(4) or\n createAndWait(5).')
snmpNotifyCompliances = MibIdentifier((1, 3, 6, 1, 6, 3, 13, 3, 1))
snmpNotifyGroups = MibIdentifier((1, 3, 6, 1, 6, 3, 13, 3, 2))
snmpNotifyBasicCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 13, 3, 1, 1)).setObjects(*(("SNMP-TARGET-MIB", "snmpTargetBasicGroup"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyGroup"),))
if mibBuilder.loadTexts: snmpNotifyBasicCompliance.setDescription('The compliance statement for minimal SNMP entities which\n implement only SNMP Unconfirmed-Class notifications and\n read-create operations on only the snmpTargetAddrTable.')
snmpNotifyBasicFiltersCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 13, 3, 1, 2)).setObjects(*(("SNMP-TARGET-MIB", "snmpTargetBasicGroup"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyGroup"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterGroup"),))
if mibBuilder.loadTexts: snmpNotifyBasicFiltersCompliance.setDescription('The compliance statement for SNMP entities which implement\n SNMP Unconfirmed-Class notifications with filtering, and\n read-create operations on all related tables.')
snmpNotifyFullCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 13, 3, 1, 3)).setObjects(*(("SNMP-TARGET-MIB", "snmpTargetBasicGroup"), ("SNMP-TARGET-MIB", "snmpTargetResponseGroup"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyGroup"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterGroup"),))
if mibBuilder.loadTexts: snmpNotifyFullCompliance.setDescription('The compliance statement for SNMP entities which either\n implement only SNMP Confirmed-Class notifications, or both\n SNMP Unconfirmed-Class and Confirmed-Class notifications,\n plus filtering and read-create operations on all related\n tables.')
snmpNotifyGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 13, 3, 2, 1)).setObjects(*(("SNMP-NOTIFICATION-MIB", "snmpNotifyTag"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyType"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyStorageType"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyRowStatus"),))
if mibBuilder.loadTexts: snmpNotifyGroup.setDescription('A collection of objects for selecting which management\n targets are used for generating notifications, and the\n type of notification to be generated for each selected\n management target.')
snmpNotifyFilterGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 13, 3, 2, 2)).setObjects(*(("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterProfileName"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterProfileStorType"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterProfileRowStatus"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterMask"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterType"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterStorageType"), ("SNMP-NOTIFICATION-MIB", "snmpNotifyFilterRowStatus"),))
if mibBuilder.loadTexts: snmpNotifyFilterGroup.setDescription('A collection of objects providing remote configuration\n of notification filters.')
mibBuilder.exportSymbols("SNMP-NOTIFICATION-MIB", snmpNotifyBasicCompliance=snmpNotifyBasicCompliance, snmpNotifyEntry=snmpNotifyEntry, snmpNotifyFilterType=snmpNotifyFilterType, snmpNotifyConformance=snmpNotifyConformance, snmpNotifyFilterGroup=snmpNotifyFilterGroup, snmpNotifyFilterTable=snmpNotifyFilterTable, PYSNMP_MODULE_ID=snmpNotificationMIB, snmpNotifyFilterMask=snmpNotifyFilterMask, snmpNotifyFullCompliance=snmpNotifyFullCompliance, snmpNotifyFilterProfileEntry=snmpNotifyFilterProfileEntry, snmpNotifyFilterProfileRowStatus=snmpNotifyFilterProfileRowStatus, snmpNotifyFilterProfileStorType=snmpNotifyFilterProfileStorType, snmpNotifyFilterRowStatus=snmpNotifyFilterRowStatus, snmpNotifyBasicFiltersCompliance=snmpNotifyBasicFiltersCompliance, snmpNotifyFilterProfileTable=snmpNotifyFilterProfileTable, snmpNotifyType=snmpNotifyType, snmpNotifyTag=snmpNotifyTag, snmpNotifyName=snmpNotifyName, snmpNotifyObjects=snmpNotifyObjects, snmpNotifyGroup=snmpNotifyGroup, snmpNotifyGroups=snmpNotifyGroups, snmpNotifyRowStatus=snmpNotifyRowStatus, snmpNotifyFilterProfileName=snmpNotifyFilterProfileName, snmpNotificationMIB=snmpNotificationMIB, snmpNotifyFilterSubtree=snmpNotifyFilterSubtree, snmpNotifyStorageType=snmpNotifyStorageType, snmpNotifyCompliances=snmpNotifyCompliances, snmpNotifyFilterStorageType=snmpNotifyFilterStorageType, snmpNotifyFilterEntry=snmpNotifyFilterEntry, snmpNotifyTable=snmpNotifyTable)
|
n = int(input())
w = [list(map(lambda x: int(x)-1, input().split())) for _ in range(n)]
syussya = [0] * (n*2)
for s, _ in w:
syussya[s] += 1
for i in range(1, n*2):
syussya[i] += syussya[i-1]
for s, t in w:
print(syussya[t] - syussya[s])
|
USERS = {'editor':'editor',
'viewer':'viewer'}
GROUPS = {'editor':['group:editors'],
'viewer':['group:viewers']}
def groupfinder(userid, request):
if userid in USERS:
return GROUPS.get(userid,[])
|
# Autogenerated by devscripts/update-version.py
__version__ = '2021.12.01'
RELEASE_GIT_HEAD = '91f071af6'
|
# ------------------------------------------------------------------------------
# Access to the CodeHawk Binary Analyzer Analysis Results
# Author: Henny Sipma
# ------------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2016-2020 Kestrel Technology LLC
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ------------------------------------------------------------------------------
class StringXRefs(object):
def __init__(self,stringsxrefs,xnode):
self.stringsxrefs = stringsxrefs
self.xnode = xnode
self.strval = self.stringsxrefs.bdictionary.read_xml_string(self.xnode)
self.addr = self.xnode.get('a')
self.xrefs = [] # (faddr,iaddr) list
self._initialize()
def _initialize(self):
for x in self.xnode.findall('xref'):
self.xrefs.append((x.get('f'),x.get('ci')))
class StringsXRefs(object):
def __init__(self,app,xnode):
self.app = app # AppAccess
self.bdictionary = self.app.bdictionary
self.xnode = xnode
self.strings = {} # hex-address -> StringXRefs
self._initialize()
def iter_strings(self,f):
for a in sorted(self.strings): f(a,self.strings[a])
def has_string(self,addr): return addr in self.strings
def get_string(self,addr):
if self.has_string(addr):
return self.strings[addr].strval
def get_xrefs(self):
result = []
for sxref in self.strings: result.extend(self.strings[sxref].xrefs)
return result
def get_function_xref_strings(self): # returns faddr -> strval -> count
result = {}
for sxref in self.strings:
xref = self.strings[sxref]
strval = xref.strval
for (faddr,iaddr) in xref.xrefs:
result.setdefault(faddr,{})
result[faddr].setdefault(strval,0)
result[faddr][strval] += 1
return result
def _initialize(self):
for x in self.xnode.findall('string-xref'):
xrefs = StringXRefs(self,x)
self.strings[xrefs.addr] = xrefs
|
class BaseActionNoise(object):
"""
Base class of action noise.
"""
def __init__(self, action_space):
self.action_space = action_space
def reset(self):
pass
|
"""\
Core Random Tools
=================
"""
depends = ['core']
__all__ = [
'beta',
'binomial',
'bytes',
'chisquare',
'exponential',
'f',
'gamma',
'geometric',
'get_state',
'gumbel',
'hypergeometric',
'laplace',
'logistic',
'lognormal',
'logseries',
'multinomial',
'multivariate_normal',
'negative_binomial',
'noncentral_chisquare',
'noncentral_f',
'normal',
'pareto',
'permutation',
'poisson',
'power',
'rand',
'randint',
'randn',
'random_integers',
'random_sample',
'rayleigh',
'seed',
'set_state',
'shuffle',
'standard_cauchy',
'standard_exponential',
'standard_gamma',
'standard_normal',
'standard_t',
'triangular',
'uniform',
'vonmises',
'wald',
'weibull',
'zipf'
]
|
#encoding:utf-8
subreddit = 'Windows10'
t_channel = '@r_Windows10'
def send_post(submission, r2t):
return r2t.send_simple(submission)
|
s, f, l = input('String='), input('First Letter='), input('Second Letter=')
for i in range(1):
f_in, l_in = s.rindex(f), s.index(l)
if f_in == -1 or l_in == -1 or f_in > l_in: print(False)
else: print(True)
|
class Solution:
def romanToInt(self, s: str) -> int:
return self.get_roman(self.roman_numerals(), s)
@staticmethod
def roman_numerals():
numerals = {
'I': 1,
'V': 5,
'X': 10,
'L': 50,
'C': 100,
'D': 500,
'M': 1000,
}
return numerals
@staticmethod
def get_roman(numerals, s):
temp = None
result = 0
for i in s:
if temp and numerals[i] > temp:
result -= temp * 2
else:
temp = numerals[i]
result += numerals[i]
return result
|
class BlackList:
# black_list_startswith = [
# ".exports = '/*", # 9-21修改,这样挺多的
# 'exports.isDark', # 9-21修改,这样挺多的
# 't.exports = {\n double',
# 'module.exports = {\n id',
# # ,'function() { this.recipes' # 考虑一下,不一定要删除,总共就4条很长的数据
# ]
black_list_cover = [
".exports = '/*", # 9-21修改,这样挺多的
'exports.isDark', # 9-21修改,这样挺多的
't.exports = {\n double',
'module.exports = {\n id',
'"MathJax_AMS"',
'FONTDATA.familyName',
'"result:image',
'position: {\n x:',
'CharToFreqOrder'
]
black_list_mixed = [
'function(module, exports, __webpack_require__)', # 且包含eval
'function(module, exports)', # 且包含eval
'function(module, __webpack_exports__, __webpack_require__)', # 且包含eval
]
|
# https://www.hackerrank.com/challenges/py-set-mutations/problem
s = [set(map(int, input().split())) for _ in range(2)][1]
# 16 # len(s)
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 24 52
methods1 = {
"update": s.update,
"difference_update": s.difference_update,
"intersection_update": s.intersection_update,
"symmetric_difference_update": s.symmetric_difference_update,
}
def methods2(m, s, sub_s):
if m == "update":
s |= sub_s
elif m == "difference_update":
s -= sub_s
elif m == "intersection_update":
s &= sub_s
elif m == "symmetric_difference_update":
s ^= sub_s
for _ in range(int(input())):
# 4
m, sub_s = input().split()[0], set(map(int, input().split()))
# intersection_update 10
# 2 3 5 6 8 9 1 4 7 11
# update 2
# 55 66
# symmetric_difference_update 5
# 22 7 35 62 58
# difference_update 7
# 11 22 35 55 58 62 66
methods1[m](sub_s) # type: ignore
# methods2(m, s, sub_s)
print(sum(s))
# 38
|
"""
compartment_type_instances.py
"""
population = [
# Class diagram
# Class
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'class', 'Diagram type': 'class', 'Stack order': 1},
{'Name': 'attribute', 'Horizontal alignment': 'LEFT', 'Vertical alignment': 'TOP',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'BODY',
'Node type': 'class', 'Diagram type': 'class', 'Stack order': 2},
{'Name': 'method', 'Horizontal alignment': 'LEFT', 'Vertical alignment': 'TOP',
'Pad top': 5, 'Pad bottom': 4, 'Pad left': 5, 'Pad right': 5, 'Text style': 'BODY',
'Node type': 'class', 'Diagram type': 'class', 'Stack order': 3},
# Imported class
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'imported class', 'Diagram type': 'class', 'Stack order': 1},
{'Name': 'attribute', 'Horizontal alignment': 'LEFT', 'Vertical alignment': 'TOP',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'BODY',
'Node type': 'imported class', 'Diagram type': 'class', 'Stack order': 2},
# State machine diagram
# State
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 10, 'Pad left': 10, 'Pad right': 10, 'Text style': 'TITLE',
'Node type': 'state', 'Diagram type': 'state machine', 'Stack order': 1},
{'Name': 'name only', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 20, 'Pad bottom': 20, 'Pad left': 10, 'Pad right': 10, 'Text style': 'TITLE',
'Node type': 'state', 'Diagram type': 'state machine', 'Stack order': 3},
{'Name': 'activity', 'Horizontal alignment': 'LEFT', 'Vertical alignment': 'TOP',
'Pad top': 4, 'Pad bottom': 10, 'Pad left': 5, 'Pad right': 5, 'Text style': 'BODY',
'Node type': 'state', 'Diagram type': 'state machine', 'Stack order': 2},
# Domain diagram
# Domain
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 5, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'domain', 'Diagram type': 'domain', 'Stack order': 1},
# Class collaboration diagram
# External entity
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 5, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'external entity', 'Diagram type': 'class collaboration', 'Stack order': 1},
# Overview class
{'Name': 'name', 'Horizontal alignment': 'CENTER', 'Vertical alignment': 'CENTER',
'Pad top': 5, 'Pad bottom': 5, 'Pad left': 5, 'Pad right': 5, 'Text style': 'TITLE',
'Node type': 'overview class', 'Diagram type': 'class collaboration', 'Stack order': 2}
] |
#!/usr/bin/python3
def mode(array: list) -> float:
"""
Calculates the mode of a given array, if two or more elements have the highest frequency then mode is the smallest value among them.
"""
if len(set(array)) == len(array):
mode = min(array)
else:
maxi = 0
val = []
for e in set(arr):
# Comapring frequency's of current element and mode
if arr.count(e) > maxi:
maxi = arr.count(e)
val = e
elif arr.count(e) == maxi:
if val > e:
val = e
mode = val
return mode
|
# EOF (end-of-file) indicates no more input for lexical analysis.
INTEGER, PLUS, MINUS, EOF = 'INTEGER', 'PLUS', 'MINUS', 'EOF'
class ParserError(Exception):
"""Exception raised when the parser encounters an error."""
pass
class Token:
"""A calculator token.
Attributes:
kind (str): The kind, or type, of the token. Valid kinds are currently
``INTEGER``, ``PLUS``, ``MINUS``, and ``EOF``.
value (str): The value of the token. Valid values are currently
non-negative integers, ``+``, ``-``, or ``None``.
"""
def __init__(self, kind, value):
self.kind = kind
self.value = value
def __repr__(self):
"""The unambiguous string representation of a ``Token``."""
return "Token({kind}, {value})".format(kind=self.kind,
value=repr(self.value))
def __eq__(self, other):
"""Test ``Token`` equality."""
if self.kind == other.kind and self.value == other.value:
return True
else:
return False
class Interpreter:
"""An interpreter for a simple calculator.
Attributes:
text (str): The input string, e.g. ``'3+5'``.
pos (int): An index into ``text`` indicating the intepreter's position.
current_token (Token): The current ``Token`` instance.
current_char (str): The character in ``text`` indexed by ``pos``.
"""
def __init__(self, text):
self.text = text
self.pos = 0
self.current_token = None
self.current_char = self.text[self.pos] if self.text else None
def __repr__(self):
"""The unambiguous string representation of an ``Interpreter``."""
return "Interpreter({text}, {pos}, {current_token})".format(
text=repr(self.text),
pos=repr(self.pos),
current_token=repr(self.current_token)
)
def _advance(self):
"""Advance the ``pos`` index and set the ``current_char`` variable."""
self.pos += 1
if self.pos > len(self.text) - 1:
self.current_char = None
else:
self.current_char = self.text[self.pos]
def _skip_whitespace(self):
"""Ignore whitespace in ``text``."""
while self.current_char is not None and self.current_char.isspace():
self._advance()
def _integer(self):
"""Consume a integer from ``text``.
Note:
Handles single and multidigit integers.
Returns:
result (int): The integer value of a contiguous set of digits.
"""
result = []
while self.current_char is not None and self.current_char.isdigit():
result.append(self.current_char)
self._advance()
return int(''.join(result))
def _get_next_token(self):
"""Tokenize the next token in the input string.
Returns:
token (Token): The next token.
Raises:
ParserError: If the next token is not a valid token. The position of
the invalid token is also given by this ``ParserError``.
"""
while self.current_char is not None:
# If the current character is a space, then ignore it and any
# additional spaces until the next token of consequence.
if self.current_char.isspace():
self._skip_whitespace()
continue
# If the current character is a digit, then convert it to an
# integer, create an INTEGER token, advance self.pos, and return the
# INTEGER token.
if self.current_char.isdigit():
return Token(INTEGER, self._integer())
# If the current character is a + operator, then create a PLUS
# token, advance self.pos, and return the PLUS token.
if self.current_char == '+':
self._advance()
return Token(PLUS, '+')
# If the current character is a - operator, then create a MINUS
# token, advance self.pos, and return the MINUS token.
if self.current_char == '-':
self._advance()
return Token(MINUS, '-')
raise ParserError("Invalid token at position {pos}".format(
pos=self.pos
))
# If the current character is None, then self.pos is beyond the end of
# self.text. We should return EOF, because nothing remains to tokenize.
return Token(EOF, None)
def _consume(self, token_kind):
"""Consume the current token if its kind matches ``token_kind``.
Args:
token_kind (str): The expected kind of the current_token. Valid
kinds are currently ``INTEGER``, ``PLUS``, and ``EOF``.
Raises:
ParserError: If the ``current_token`` kind does not match
``token_kind``.
"""
if self.current_token.kind == token_kind:
self.current_token = self._get_next_token()
else:
raise ParserError(("Expected {token_kind} at position {pos}, "
"found {current_token}").format(
token_kind=token_kind,
pos=self.pos,
current_token=self.current_token.kind))
def _term(self):
"""Return the value of an ``INTEGER`` token.
Returns:
token.value (int): The value of the ``INTEGER`` token.
"""
token = self.current_token
self._consume(INTEGER)
return token.value
def parse(self):
"""Parse arithmetic expressions.
Note:
Valid expressions are currently of the form
INTEGER PLUS INTEGER
or
INTEGER MINUS INTEGER
Returns:
result (int): The result of evaluating the arithmetic expression.
"""
# Get the first token.
self.current_token = self._get_next_token()
# Get the first term.
result = self._term()
# As long as the next token is an operator consume it and then perform
# the corresponding operation on the next term.
while self.current_token.kind in (PLUS, MINUS):
token = self.current_token
if token.kind == PLUS:
self._consume(PLUS)
result = result + self._term()
elif token.kind == MINUS:
self._consume(MINUS)
result = result - self._term()
return result
|
#!/usr/local/bin/python3.7
#!/usr/bin/env python3
#!/usr/bin/python3
for i1 in range(32, 127):
c1 = chr(i1)
print(("%d %s" % (i1, c1)))
|
# terrascript/resource/grafana.py
__all__ = []
|
"""
In Python, a string can be split on a delimiter.
Example:
>>> a = "this is a string"
>>> a = a.split(" ") # a is converted to a list of strings.
>>> print a
['this', 'is', 'a', 'string']
Joining a string is simple:
>>> a = "-".join(a)
>>> print a
this-is-a-string
Task
You are given a string. Split the string on a " " (space) delimiter and join using a - hyphen.
Function Description
Complete the split_and_join function in the editor below.
split_and_join has the following parameters:
string line: a string of space-separated words
Returns
string: the resulting string
Input Format
The one line contains a string consisting of space separated words.
Sample Input
this is a string
Sample Output
this-is-a-string
"""
def split_and_join(line):
return ('-').join(line.split())
# write your code here
if __name__ == '__main__':
line = input()
result = split_and_join(line)
print(result)
|
## Number Zoo Patrol
## 6 kyu
## https://www.codewars.com//kata/5276c18121e20900c0000235
def find_missing_number(numbers):
numbers = set(numbers)
if len(numbers) == 0:
return 1
for i in range(1,max(numbers)+2):
if i not in numbers:
return i |
# datasetPreprocess.py
# Preprocessing should should have a fit and a transform step
def convert_numpy(df):
return df.to_numpy()
def drop_columns(df, ids):
return df.drop(ids, axis = 1)
def recode(df):
df["Bound"] = 2*df["Bound"] - 1
return df
def squeeze(array):
return array.squeeze() |
# bergWeight.by
# A program that asks user for the weight of a single Berg Bar and the total number of
# bars made that month as inputs.
# Outputs the total weight of pounds and ounces of all Berg Bar for the month
# Name: Ben Goldstone
# Date 9/8/2020
weightOfSingleBar = float(input("What was the weight of a single Berg Bar? "))
totalNumberOfBars = int(input("How many bars were produced? "))
totalWeight = weightOfSingleBar * totalNumberOfBars #total weight in oz
lbs = int(totalWeight // 16) #Converts oz to lbs
oz = totalWeight % 16 #Takes remainder of oz and keeps them in oz
OZ_TO_GRAMS = 28.34952 #1 oz = 28.34952 grams
barInGrams = weightOfSingleBar*OZ_TO_GRAMS
OZ_TO_KILOGRAMS = 0.02834952 #1 oz = 0.02834952 kilograms
barInKilograms = totalWeight*OZ_TO_KILOGRAMS
#prints output
print("-" * 50)
print(f"Single Berg Bar Weight: {weightOfSingleBar} oz ({barInGrams:.2f} grams)")
print(f"Total Number of Berg Bars: {totalNumberOfBars:,} bars")
print(f"Total weight: {lbs:,} lbs {oz:.2f} oz ({barInKilograms:.2f} kg)") |
# Time: O(1)
# Space: O(1)
# Calculate the sum of two integers a and b,
# but you are not allowed to use the operator + and -.
#
# Example:
# Given a = 1 and b = 2, return 3.
class Solution(object):
def getSum(self, a, b):
"""
:type a: int
:type b: int
:rtype: int
"""
bit_length = 32
neg_bit, mask = (1 << bit_length) >> 1, ~(~0 << bit_length)
a = (a | ~mask) if (a & neg_bit) else (a & mask)
b = (b | ~mask) if (b & neg_bit) else (b & mask)
while b:
carry = a & b
a ^= b
a = (a | ~mask) if (a & neg_bit) else (a & mask)
b = carry << 1
b = (b | ~mask) if (b & neg_bit) else (b & mask)
return a
|
account_error = {"status": "error", "message": "username or password error!"}, 400
teacher_not_found = {"status": "error", "message": "teacher not found!"}, 400
topic_not_found = {"status": "error", "message": "topic not found!"}, 400
file_not_found = {"status": "error", "message": "file not found!"}, 400
upload_error = {"status": "error", "message": "??"}, 400
not_allow_error = {"status": "error", "message": "method not allow"}, 403
|
def test():
assert (
"for doc in nlp.pipe(TEXTS)" in __solution__
), "Itères-tu sur les docs générés par nlp.pipe ?"
__msg__.good("Joli !")
|
"""
persistence_engine.py
~~~~~~~~~~~~
Implements put, get, delete methods for PersistenceStage. Using an actual persistence engine (i.e. MySQL, BDB), one would implement the three methods themselves.
"""
class PersistenceEngine(object):
""" Basic persistence engine implemented as a regular Python dict."""
def __init__(self):
self._persistence = dict()
def keys(self):
return self._persistence.keys()
def put(self, key, value, timestamp):
""" Put key value pair into storage"""
self._persistence[key] = {'value': value, 'timestamp': timestamp}
return True
def get(self, key):
""" Get key's value """
return self._persistence[key]['value'], self._persistence[key]['timestamp']
def delete(self, key):
""" Delete key value pair """
del self._persistence[key]
return True
|
class Solution:
# @return a string
def countAndSay(self, n):
pre = "1"
for i in range(n-1):
pre = self.f(pre)
return pre
def f(self, s):
ans = ""
pre = s[0]
cur = 1
for c in s[1:]:
if c == pre:
cur = cur + 1
else:
ans = ans + str(cur) + pre
cur = 1
pre = c
if cur > 0:
ans = ans + str(cur) + pre
return ans
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: b.lin@mfm.tu-darmstadt.de
"""
def CreateInputFileEulerangles (InputFileName, object ,Phi,Theta,Psi):
data = open(InputFileName,'w')
data.write("\n[./B%d]\
\n type = ComputeElasticityTensor\
\n euler_angle_1 = %s\
\n euler_angle_2 = %s\
\n euler_angle_3 = %s\
\n block = %d\
\n [../] " %(object, Phi, Theta,Psi,object))
data.close()
|
class Solution:
def addDigits(self, num):
"""
:type num: int
:rtype: int
"""
return 1 + (num - 1) % 9
if __name__ == '__main__':
solution = Solution()
print(solution.addDigits(38));
else:
pass
|
"""
定义一些单因子分析常用常量
"""
PRICE_TYPE = ["open", "high", "low", "close", "avg"]
FQ_TYPE = ["pre", "qfq", "前复权", "hfq", "post", "后复权", "none", "不复权", "bfq"]
INDUSTRY_CLS = ["jq_l1", "jq_l2", "sw_l1", "sw_l2", "sw_l3", "zjw", "none"]
WEIGHT_CLS = [
"avg",
"mktcap",
"cmktcap",
"ln_mktcap",
"ln_cmktcap",
"sqrt_mktcap",
"sqrt_cmktcap",
]
FREQUENCE_TYPE = ["min", "d", "w", "m", "q", "y"]
DECIMAL_TO_BPS = 10000
DAYS_PER_WEEK = 5
DAYS_PER_MONTH = 20
DAYS_PER_QUARTER = 61
DAYS_PER_YEAR = 243
|
class Solution:
def minWindow(self, s: str, t: str) -> str:
if t == "":
return ""
count,window = {},{}
res = [-1,-1] ;reslen = float("inf")
for c in t :
count[c] = 1 + count.get(c,0)
have,need = 0, len(count)
l = 0
for r in range(len(s)):
c = s[r]
window[c] = 1 + window.get(c,0)
if c in count and window[c] == count[c]:
have +=1
while have == need:
if (r-l+1) <reslen:
res = [l,r]
reslen = (r-l+1)
window[s[l]] -= 1
if s[l] in count and window[s[l]] < count[s[l]]:
have -=1
l+=1
l,r = res
return s[l:r+1] if reslen != float("inf") else ""
|
def find_product(lst):
b = 1
ans = []
for i, v in enumerate(lst):
tmp = 1
for j in lst[i+1:]:
tmp *= j
ans.append(tmp * b)
b *= v
print(ans)
return ans
assert find_product([1,2,3,4]) == [24,12,8,6]
assert find_product([4,2,1,5, 0]) == [0,0,0,0,40] |
CONFIG = dict({
'demo_battery': [
{
'protocol': 'UDP',
'setup': 'single',
'mode': 'simple',
'size': '1MB',
'test_count': 1
}
],
'full_battery': [
{
'protocol': 'UDP',
'setup': 'single',
'mode': 'simple',
'size': '1MB',
'test_count': 3
},
{
'protocol': 'UDP',
'setup': 'single',
'mode': 'simple',
'size': '10MB',
'test_count': 3
},
{
'protocol': 'UDP',
'setup': 'multi',
'mode': 'simple',
'size': '1MB',
'test_count': 3
},
{
'protocol': 'UDP',
'setup': 'multi',
'mode': 'simple',
'size': '10MB',
'test_count': 3
},
{
'protocol': 'TCP',
'setup': 'single',
'mode': 'simple',
'size': '1MB',
'test_count': 3
},
{
'protocol': 'TCP',
'setup': 'single',
'mode': 'simple',
'size': '10MB',
'test_count': 3
},
{
'protocol': 'TCP',
'setup': 'multi',
'mode': 'simple',
'size': '1MB',
'test_count': 3
},
{
'protocol': 'TCP',
'setup': 'multi',
'mode': 'simple',
'size': '10MB',
'test_count': 3
},
]
})
|
expected_output = {
'key_chain': {
'ISIS-HELLO-CORE': {
'keys': {
'1': {
'accept_lifetime': '00:01:00 january 01 2013 infinite',
'key_string': 'password 020F175218',
'cryptographic_algorithm': 'HMAC-MD5'}},
'accept_tolerance': 'infinite'}}}
|
x, y, w, h = map(int, input().split())
answer = min(x, y, w-x, h-y)
print(answer) |
def part1(pairs):
depth = 0
h_pos = 0
for cmd, val in pairs:
val = int(val)
if cmd == "forward":
h_pos += val
elif cmd == "up":
depth -= val
elif cmd == "down":
depth += val
else:
raise Exception
return h_pos * depth
def part2(pairs):
h_pos = 0
depth = 0
aim = 0
for cmd, val in pairs:
val = int(val)
if cmd == "forward":
depth += aim * val
h_pos += val
elif cmd == "up":
aim -= val
elif cmd == "down":
aim += val
else:
raise Exception
return h_pos * depth
def test_day2_sample():
with open("/Users/sep/CLionProjects/aoc-2021/src/test_files/day2_sample.txt") as f:
cmd_pairs = [s.rstrip("\n").split(" ") for s in f.readlines()]
assert part1(cmd_pairs) == 150
def test_day2_submission():
with open(
"/Users/sep/CLionProjects/aoc-2021/src/test_files/day2_submission.txt"
) as f:
cmd_pairs = [s.rstrip("\n").split(" ") for s in f.readlines()]
assert part1(cmd_pairs) == 1746616
def test_day1_part2_sample():
with open("/Users/sep/CLionProjects/aoc-2021/src/test_files/day2_sample.txt") as f:
cmd_pairs = [s.rstrip("\n").split(" ") for s in f.readlines()]
assert part2(cmd_pairs) == 900
def test_day1_part2_submission():
with open(
"/Users/sep/CLionProjects/aoc-2021/src/test_files/day2_submission.txt"
) as f:
cmd_pairs = [s.rstrip("\n").split(" ") for s in f.readlines()]
assert part2(cmd_pairs) == 1741971043
|
userName = input('Ingresar usuario ')
password = int(input('Ingresa pass: '))
if (userName == 'pablo') and (password == 123456):
print('Bienvenido')
else:
print('Acceso denegado')
|
#
# PySNMP MIB module CISCO-MOBILE-IP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-MOBILE-IP-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:07:47 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, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
CounterBasedGauge64, = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64")
InterfaceIndexOrZero, ifIndex, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "ifIndex", "InterfaceIndex")
InetAddressType, InetAddressPrefixLength, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddressPrefixLength", "InetAddress")
faCOAEntry, mnRegAgentAddress, mnRegCOA, haMobilityBindingEntry, mnState, mnRegistrationEntry, RegistrationFlags, mnHAEntry = mibBuilder.importSymbols("MIP-MIB", "faCOAEntry", "mnRegAgentAddress", "mnRegCOA", "haMobilityBindingEntry", "mnState", "mnRegistrationEntry", "RegistrationFlags", "mnHAEntry")
ZeroBasedCounter32, = mibBuilder.importSymbols("RMON2-MIB", "ZeroBasedCounter32")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
TimeTicks, Gauge32, Counter64, ObjectIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Counter32, NotificationType, iso, Unsigned32, Bits, IpAddress, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "Gauge32", "Counter64", "ObjectIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Counter32", "NotificationType", "iso", "Unsigned32", "Bits", "IpAddress", "Integer32")
TextualConvention, MacAddress, TimeStamp, DateAndTime, RowStatus, DisplayString, TimeInterval, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "MacAddress", "TimeStamp", "DateAndTime", "RowStatus", "DisplayString", "TimeInterval", "TruthValue")
ciscoMobileIpMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 174))
ciscoMobileIpMIB.setRevisions(('2009-06-26 00:00', '2009-01-22 00:00', '2008-12-11 00:00', '2005-05-31 00:00', '2004-05-28 00:00', '2004-01-23 00:00', '2003-11-27 00:00', '2003-09-05 00:00', '2003-06-30 00:00', '2003-01-23 00:00', '2002-11-18 00:00', '2002-05-17 00:00', '2001-07-06 00:00', '2001-01-25 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoMobileIpMIB.setRevisionsDescriptions(('Added cmiHaRegTunnelStatsTable The following objects has been added to cmiHaReg. [1] cmiHaRegIntervalSize [2] cmiHaRegIntervalMaxActiveBindings [3] cmiHaRegInterval3gpp2MaxActiveBindings [4] cmiHaRegIntervalWimaxMaxActiveBindings The following object groups has been added to ciscoMobileIpGroups. [1] ciscoMobileIpHaRegIntervalStatsGroup [2] ciscoMobileIpHaRegTunnelStatsGroup The MODULE-COMPLIANCE ciscoMobileIpComplianceRev1 has been deprecated by ciscoMobileIpComplianceRev2.', 'The following objects have been added [1] cmiHaMaximumBindings [2] cmiHaSystemVersion The following notifications have been added [1] cmiHaMaxBindingsNotif The Object cmiTrapControl has been modified to include a new bit for cmiHaMaxBindingsNotif. The following object-groups have been added [1] ciscoMobileIpHaRegGroupV1 [2] ciscoMobileIpMrNotificationGroupV3 [3] ciscoMobileIpHaSystemGroupV1 The compliance statement ciscoMobileIpComplianceV12R11 has been deprecated by ciscoMobileIpComplianceRev1.', 'Added a new object cmiHaRegMobilityBindingMacAddress to cmiHaRegMobilityBindingTable. Added a new object group ciscoMobileIpHaRegGroupV12R03r2Sup2 and a compliance group ciscoMobileIpComplianceV12R11 which deprecates ciscoMobileIpComplianceV12R10.', 'Added mobile node access interface attribute objects and multi-path specific objects. Following object groups have been created for the objects added for multi-path: ciscoMobileIpHaRegGroupV12R03r2Sup1 ciscoMobileIpHaMobNetGroupSup1 ciscoMobileIpMrSystemGroupV3Sup1', 'Added Mobile router roaming interface objects - cmiMrIfRoamStatus, cmiMrIfRegisteredCoAType, cmiMrIfRegisteredCoA, cmiMrIfRegisteredMaAddrType and cmiMrIfRegisteredMaAddr.', 'Added trap cmiHaMnRegReqFailed', 'Added objects cmiFaTotalRegRequests, miFaTotalRegReplies, cmiFaMnFaAuthFailures, cmiFaMnAAAAuthFailures, cmiHaMnHaAuthFailures, and cmiHaMnAAAAuthFailures.', 'Added object cmiMrIfCCoaEnable', 'Added objects cmiMrIfCCoaRegistration, cmiMrIfCCoaOnly and cmiMrCollocatedTunnel', '1. Duplicated maAdvConfigTable from MIP-MIB with the index changed to IfIndex instead of ip address. 2. Deprecated cmiSecKey object and added cmSecKey2 as the range needs to be extended. It should accept strings of length 1 to 16. 3. Added hmacMD5 type in cmiSecAlgorithmType', 'Added objects for Reverse tunneling, Challenge, VSEs and Mobile Router features.', 'Add HA/FA initial registration,re-registration, de-registration counters for more granularity.', 'Add cmiFaRegVisitorTable, cmiHaRegCounterTable, cmiHaRegMobilityBindingTable, cmiSecAssocTable, and cmiSecViolationTable. Add counters for home agent redundancy feature. Add performance counters for registration function of the mobility agents.', 'Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoMobileIpMIB.setLastUpdated('200906260000Z')
if mibBuilder.loadTexts: ciscoMobileIpMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts: ciscoMobileIpMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W. Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: cs-mobileip@cisco.com')
if mibBuilder.loadTexts: ciscoMobileIpMIB.setDescription("An extension to the IETF MIB module defined in RFC-2006 for managing Mobile IP implementations. Mobile IP introduces the following new functional entities: Mobile Node(MN) A host or router that changes its point of attachment from one network or subnetwork to another. A mobile node may change its location without changing its IP address; it may continue to communicate with other Internet nodes at any location using its (constant) IP address, assuming link-layer connectivity to a point of attachment is available. Home Agent(HA) A router on a mobile node's home network which tunnels datagrams for delivery to the mobile node when it is away from home, and maintains current location information for the mobile node. Foreign Agent(FA) A router on a mobile node's visited network which provides routing services to the mobile node while registered. The foreign agent detunnels and delivers datagrams to the mobile node that were tunneled by the mobile node's home agent. For datagrams sent by a mobile node, the foreign agent may serve as a default router for registered mobile nodes. Mobile Router(MR) A mobile node that is a router. It provides for the mobility for one or more networks moving together. The nodes connected to the network server by the mobile router may themselves be fixed nodes, mobile nodes or routers. Mobile Network Network that moves with the mobile router. Following is the terminology associated with Mobile IP protocol: Agent Advertisement An advertisement message constructed by attaching a special Extension to a router advertisement message. Care-of Address (CoA) The termination point of a tunnel toward a mobile node, for datagrams forwarded to the mobile node while it is away from home. The protocol can use two different types of care-of address: a 'foreign agent care-of address' is an address of a foreign agent with which the mobile node is registered, and a 'co-located care-of address' (CCoA) is an externally obtained local address which the mobile node has associated with one of its own network interfaces. Correspondent Node A peer with which a mobile node is communicating. A correspondent node may be either mobile or stationary. Foreign Network Any network other than the mobile node's Home Network. Home Address An IP address that is assigned for an extended period of time to a mobile node. It remains unchanged regardless of where the node is attached to the Internet. Home Network A network, possibly virtual, having a network prefix matching that of a mobile node's home address. Note that standard IP routing mechanisms will deliver datagrams destined to a mobile node's Home Address to the mobile node's Home Network. Mobility Agent Either a home agent or a foreign agent. Mobility Binding The association of a home address with a care-of address, along with the remaining lifetime of that association. Mobility Security Association A collection of security contexts, between a pair of nodes, which may be applied to Mobile IP protocol messages exchanged between them. Each context indicates an authentication algorithm and mode, a secret (a shared key, or appropriate public/private key pair), and a style of replay protection in use. Node A host or a router. Nonce A randomly chosen value, different from previous choices, inserted in a message to protect against replays. Security Parameter Index (SPI) An index identifying a security context between a pair of nodes among the contexts available in the Mobility Security Association. SPI values 0 through 255 are reserved and MUST NOT be used in any Mobility Security Association. Tunnel The path followed by a datagram while it is encapsulated. The model is that, while it is encapsulated, a datagram is routed to a knowledgeable decapsulating agent, which decapsulates the datagram and then correctly delivers it to its ultimate destination. Visited Network A network other than a mobile node's Home Network, to which the mobile node is currently connected. Visitor List The list of mobile nodes visiting a foreign agent. Keyed Hashing for Message Authentication (HMAC) A mechanism for message authentication using cryptographic hash functions. HMAC can be used with any iterative cryptographic hash function, e.g., MD5, SHA-1, in combination with a secret shared key. The following support services are defined for Mobile IP: Agent Discovery Home agents and foreign agents may advertise their availability on each link for which they provide service. A newly arrived mobile node can send a solicitation on the link to learn if any prospective agents are present. Registration When the mobile node is away from home, it registers its care-of address with its home agent. Depending on its method of attachment, the mobile node will register either directly with its home agent, or through a foreign agent which forwards the registration to the home agent. Following is the terminology associated with the home agent redundancy feature: Peer Home Agent Active home agent and standby home agent are peers to each other. Binding Update A binding update contains the registration request information. The home agent sends the update to its peer after accepting a registration. Binding Information Binding information contains the entries in the mobility binding table. The home agent sends a binding information request to its peer to retrieve all mobility bindings for a specified home agent address. 3GPP2 3rd Generation Partnership Project 2. This is the standardization group for CDMA2000, the set of 3G standards based on earlier 2G CDMA technology. WiMAX Worldwide Interoperability for Microwave Access, Inc. (group promoting IEEE 802.16 wireless broadband standard) MIP Mobile IP This MIB is organized as described below: The IETF Mobile IP MIB module [RFC-2006] has six main groups. Three of them represent the Mobile IP entities i.e. 'MipFA': foreign agent, 'MipHA': home agent and 'MipMN': mobile node. Each of these groups have been further subdivided into different subgroups. Each of these subgroups is a collection of objects related to a particular function, performed by the entity represented by its main group e.g. 'faRegistration' is a subgroup under group 'MipFA' which has collection of objects for registration function within a foreign agent. This MIB also follows the same hierarchical structure to maintain the modularity with respect to Mobile IP.")
ciscoMobileIpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1))
cmiFa = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1))
cmiHa = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2))
cmiSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3))
cmiMa = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4))
cmiMn = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5))
cmiTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6))
cmiFaReg = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1))
cmiFaAdvertisement = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2))
cmiFaSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3))
cmiHaReg = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1))
cmiHaRedun = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2))
cmiHaMobNet = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3))
cmiHaSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 4))
cmiMaReg = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 1))
cmiMaAdvertisement = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2))
cmiMnDiscovery = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 1))
cmiMnRecentAdvReceived = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 1, 1))
cmiMnRegistration = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 2))
cmiMrSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3))
cmiMrDiscovery = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4))
cmiMrRegistration = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5))
class CmiRegistrationFlags(TextualConvention, Bits):
description = 'This data type is used to define the registration flags for Mobile IP registration extension: reverseTunnel -- Request to support reverse tunneling. gre -- Request to use GRE minEnc -- Request to use minimal encapsulation decapsulationByMN -- Decapsulation by mobile node broadcastDatagram -- Request to receive broadcasts simultaneousBindings -- Request to retain prior binding(s)'
status = 'current'
namedValues = NamedValues(("reverseTunnel", 0), ("gre", 1), ("minEnc", 2), ("decapsulationbyMN", 3), ("broadcastDatagram", 4), ("simultaneousBindings", 5))
class CmiEntityIdentifierType(TextualConvention, Integer32):
description = 'A value that represents a type of Mobile IP entity identifier. other(1) Indicates identifier which is not in one of the formats defined below. ipaddress(2) IP address as defined by InetAddressIPv4 textual convention in INET-ADDRESS-MIB. nai(3) A network access identifier as defined by the CmiEntityIdentifier textual convention.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("other", 1), ("ipaddress", 2), ("nai", 3))
class CmiEntityIdentifier(TextualConvention, OctetString):
description = 'Represents the generic identifier for Mobile IP entities. A CmiEntityIdentifier value is always interpreted within the context of a CmiEntityIdentifierType value. Foreign agents and Home agents are identified by the IP addresses. Mobile nodes can be identified in more than one way e.g. IP addresses, network access identifiers (NAI). If mobile node is identified by something other than IP address say by NAI and it gets IP address dynamically from the home agent then value of object of this type should be same as NAI. This is because then IP address is not tied with mobile node and it can change across registrations over period of time.'
status = 'current'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 255)
class CmiSpi(TextualConvention, Unsigned32):
reference = 'RFC-2002 - IP Mobility Support, section 3.5.1'
description = 'An index identifying a security context between a pair of nodes among the contexts available in the Mobility Security Association. SPI values 0 through 255 are reserved and MUST NOT be used in any Mobility Security Association.'
status = 'current'
subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(256, 4294967295)
class CmiMultiPathMetricType(TextualConvention, Integer32):
description = 'An enumerated value that represents a metric type that is used for calculating the metric for routes when multiple routes are created. hopcount(1) Hop count Routes would be inserted with metric as 1 - hop count. bandwidth(2) bandwidth Routes would be inserted with metric using the roaming interface bandwidth.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("hopcount", 1), ("bandwidth", 2))
class CmiTunnelType(TextualConvention, Integer32):
description = "This textual convention lists the tunneling protocols in use between a HA and CoA. The semantics are as follows. 'ipinip' - This indicates that IP-in-IP protocol is in use for tunnel encapsulation. 'gre' - This indicates that GRE protocol is in use for tunnel encapsulation."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("ipinip", 1), ("gre", 2))
cmiFaRegTotalVisitors = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 1), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegTotalVisitors.setReference('RFC-2006 - Mobile IP MIB Definition using SMIv2')
if mibBuilder.loadTexts: cmiFaRegTotalVisitors.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegTotalVisitors.setDescription("The current number of entries in faVisitorTable. faVisitorTable contains the foreign agent's visitor list. The foreign agent updates this table in response to registration events from mobile nodes.")
cmiFaRegVisitorTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2), )
if mibBuilder.loadTexts: cmiFaRegVisitorTable.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorTable.setDescription("A table containing the foreign agent's visitor list. The foreign agent updates this table in response to registration events from mobile nodes. This table provides the same information as faVisitorTable of MIP-MIB. The difference is that indices of the table are changed so that visitors which are not identified by the IP address will also be included in the table.")
cmiFaRegVisitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorIdentifierType"), (0, "CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorIdentifier"))
if mibBuilder.loadTexts: cmiFaRegVisitorEntry.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorEntry.setDescription('Information for one visitor regarding registration.')
cmiFaRegVisitorIdentifierType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 1), CmiEntityIdentifierType())
if mibBuilder.loadTexts: cmiFaRegVisitorIdentifierType.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorIdentifierType.setDescription("The type of the visitor's identifier.")
cmiFaRegVisitorIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 2), CmiEntityIdentifier())
if mibBuilder.loadTexts: cmiFaRegVisitorIdentifier.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorIdentifier.setDescription('The identifier associated with the visitor.')
cmiFaRegVisitorHomeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorHomeAddress.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorHomeAddress.setDescription('Home (IP) address of visiting mobile node.')
cmiFaRegVisitorHomeAgentAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorHomeAgentAddress.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorHomeAgentAddress.setDescription('Home agent IP address for that visiting mobile node.')
cmiFaRegVisitorTimeGranted = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 5), TimeInterval()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorTimeGranted.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorTimeGranted.setDescription('The lifetime granted to the mobile node for this registration. Only valid if faVisitorRegIsAccepted is true(1).')
cmiFaRegVisitorTimeRemaining = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 6), TimeInterval()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorTimeRemaining.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorTimeRemaining.setDescription('The time remaining until the registration is expired. It has the same initial value as cmiFaRegVisitorTimeGranted, and is counted down by the foreign agent.')
cmiFaRegVisitorRegFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 7), RegistrationFlags()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorRegFlags.setStatus('deprecated')
if mibBuilder.loadTexts: cmiFaRegVisitorRegFlags.setDescription('Registration flags sent by the mobile node.')
cmiFaRegVisitorRegIDLow = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorRegIDLow.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorRegIDLow.setDescription('Low 32 bits of Identification used in that registration by the mobile node.')
cmiFaRegVisitorRegIDHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorRegIDHigh.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorRegIDHigh.setDescription('High 32 bits of Identification used in that registration by the mobile node.')
cmiFaRegVisitorRegIsAccepted = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 10), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorRegIsAccepted.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorRegIsAccepted.setDescription('Whether the registration has been accepted or not. If it is false(2), this registration is still pending for reply.')
cmiFaRegVisitorRegFlagsRev1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 11), CmiRegistrationFlags()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorRegFlagsRev1.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorRegFlagsRev1.setDescription('Registration flags sent by the mobile node.')
cmiFaRegVisitorChallengeValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(256, 256)).setFixedLength(256)).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRegVisitorChallengeValue.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaRegVisitorChallengeValue.setStatus('current')
if mibBuilder.loadTexts: cmiFaRegVisitorChallengeValue.setDescription('Challenge value forwarded to MN in the previous Registration reply, which can be used by MN in the next Registration request')
cmiFaInitRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRequestsReceived.setDescription('Total number of initial Registration Requests received by the foreign agent.')
cmiFaInitRegRequestsRelayed = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRequestsRelayed.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRequestsRelayed.setDescription('Total number of initial Registration Requests relayed by the foreign agent to the home agent.')
cmiFaInitRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRequestsDenied.setDescription('Total number of initial Registration Requests denied by the foreign agent. The reasons for which FA denies a request include: 1. FA CHAP authentication failures. 2. HA is not reachable. 3. No HA address set in the packet.')
cmiFaInitRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRequestsDiscarded.setDescription('Total number of initial Registration Requests discarded by the foreign agent. The reasons for which FA discards a request include: 1. ip mobile foreign-service is not enabled on the interface on which the request is received. 2. NAI length exceeds the length of the packet. 3. There are no active COAs.')
cmiFaInitRegRepliesValidFromHA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRepliesValidFromHA.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRepliesValidFromHA.setDescription('Total number of initial valid Registration Replies from the home agent to foreign agent.')
cmiFaInitRegRepliesValidRelayMN = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaInitRegRepliesValidRelayMN.setStatus('current')
if mibBuilder.loadTexts: cmiFaInitRegRepliesValidRelayMN.setDescription('Total number of initial Registration Replies relayed to MN by the foreign agent.')
cmiFaReRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRequestsReceived.setDescription('Total number of Re-Registration Requests received by the foreign agent from mobile nodes.')
cmiFaReRegRequestsRelayed = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRequestsRelayed.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRequestsRelayed.setDescription('Total number of Re-Registration Requests relayed to MN by the foreign agent.')
cmiFaReRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRequestsDenied.setDescription('Total number of Re-Registration Requests denied by the foreign agent. Refer cmiFaInitRegRequestsDenied for the reasons for which FA denies a request.')
cmiFaReRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRequestsDiscarded.setDescription('Total number of Re-Registration Requests discarded by the foreign agent. Refer cmiFaInitRegRequestsDiscarded for the reasons for which FA discards a request.')
cmiFaReRegRepliesValidFromHA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRepliesValidFromHA.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRepliesValidFromHA.setDescription('Total number of valid Re-Registration Replies from home agent.')
cmiFaReRegRepliesValidRelayToMN = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReRegRepliesValidRelayToMN.setStatus('current')
if mibBuilder.loadTexts: cmiFaReRegRepliesValidRelayToMN.setDescription('Total number of valid Re-Registration Replies relayed to MN by the foreign agent.')
cmiFaDeRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRequestsReceived.setDescription('Total number of De-Registration Requests received by the foreign agent.')
cmiFaDeRegRequestsRelayed = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRequestsRelayed.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRequestsRelayed.setDescription('Total number of De-Registration Requests relayed to home agent by the foreign agent.')
cmiFaDeRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRequestsDenied.setDescription('Total number of De-Registration Requests denied by the foreign agent. Refer cmiFaInitRegRequestsDenied for the reasons for which FA denies a request.')
cmiFaDeRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRequestsDiscarded.setDescription('Total number of De-Registration Requests discarded by the foreign agent. Refer cmiFaInitRegRequestsDiscarded for the reasons for which FA discards a request.')
cmiFaDeRegRepliesValidFromHA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRepliesValidFromHA.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRepliesValidFromHA.setDescription('Total number of valid De-Registration Replies received from the home agent by the foreign agent.')
cmiFaDeRegRepliesValidRelayToMN = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeRegRepliesValidRelayToMN.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeRegRepliesValidRelayToMN.setDescription('Total number of De-Registration Replies relayed to the MN by the foreign agent.')
cmiFaReverseTunnelUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReverseTunnelUnavailable.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaReverseTunnelUnavailable.setStatus('current')
if mibBuilder.loadTexts: cmiFaReverseTunnelUnavailable.setDescription('Total number of Registration Requests denied by foreign agent -- requested reverse tunnel unavailable (Code 74).')
cmiFaReverseTunnelBitNotSet = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaReverseTunnelBitNotSet.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaReverseTunnelBitNotSet.setStatus('current')
if mibBuilder.loadTexts: cmiFaReverseTunnelBitNotSet.setDescription("Total number of Registration Requests denied by foreign agent -- reverse tunnel is mandatory and 'T' bit not set (Code 75).")
cmiFaMnTooDistant = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaMnTooDistant.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaMnTooDistant.setStatus('current')
if mibBuilder.loadTexts: cmiFaMnTooDistant.setDescription('Total number of Registration Requests denied by foreign agent -- mobile node too distant (Code 76).')
cmiFaDeliveryStyleUnsupported = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaDeliveryStyleUnsupported.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaDeliveryStyleUnsupported.setStatus('current')
if mibBuilder.loadTexts: cmiFaDeliveryStyleUnsupported.setDescription('Total number of Registration Requests denied by foreign agent -- delivery style not supported (Code 79).')
cmiFaUnknownChallenge = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaUnknownChallenge.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaUnknownChallenge.setStatus('current')
if mibBuilder.loadTexts: cmiFaUnknownChallenge.setDescription('Total number of Registration Requests denied by foreign agent -- challenge was unknown (code 104).')
cmiFaMissingChallenge = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaMissingChallenge.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaMissingChallenge.setStatus('current')
if mibBuilder.loadTexts: cmiFaMissingChallenge.setDescription('Total number of Registration Requests denied by foreign agent -- challenge was missing (code 105).')
cmiFaStaleChallenge = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaStaleChallenge.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaStaleChallenge.setStatus('current')
if mibBuilder.loadTexts: cmiFaStaleChallenge.setDescription('Total number of Registration Requests denied by foreign agent -- challenge was stale (code 106).')
cmiFaCvsesFromMnRejected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaCvsesFromMnRejected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiFaCvsesFromMnRejected.setStatus('current')
if mibBuilder.loadTexts: cmiFaCvsesFromMnRejected.setDescription('Total number of Registration Requests denied by foreign agent -- Unsupported Vendor-ID or unable to interpret Vendor-CVSE-Type in the CVSE sent by the mobile node to the foreign agent (code 100).')
cmiFaCvsesFromHaRejected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaCvsesFromHaRejected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiFaCvsesFromHaRejected.setStatus('current')
if mibBuilder.loadTexts: cmiFaCvsesFromHaRejected.setDescription('Total number of Registration Replies denied by foreign agent -- Unsupported Vendor-ID or unable to interpret Vendor-CVSE-Type in the CVSE sent by the home agent to the foreign agent (code 101).')
cmiFaNvsesFromMnNeglected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaNvsesFromMnNeglected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiFaNvsesFromMnNeglected.setStatus('current')
if mibBuilder.loadTexts: cmiFaNvsesFromMnNeglected.setDescription('Total number of Registration Requests, which has an NVSE extension with - unsupported Vendor-ID or unable to interpret Vendor-NVSE-Type in the NVSE sent by the mobile node to the foreign agent.')
cmiFaNvsesFromHaNeglected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaNvsesFromHaNeglected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiFaNvsesFromHaNeglected.setStatus('current')
if mibBuilder.loadTexts: cmiFaNvsesFromHaNeglected.setDescription('Total number of Registration Requests, which has an NVSE extension with - unsupported Vendor-ID or unable to interpret Vendor-NVSE-Type in the NVSE sent by the home agent to the foreign agent.')
cmiFaTotalRegRequests = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaTotalRegRequests.setStatus('current')
if mibBuilder.loadTexts: cmiFaTotalRegRequests.setDescription('Total number of Registration Requests received from the MN by the foreign agent.')
cmiFaTotalRegReplies = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaTotalRegReplies.setStatus('current')
if mibBuilder.loadTexts: cmiFaTotalRegReplies.setDescription('Total number of Registration Replies received from the MA by the foreign agent.')
cmiFaMnFaAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaMnFaAuthFailures.setStatus('current')
if mibBuilder.loadTexts: cmiFaMnFaAuthFailures.setDescription('Total number of Registration Requests denied due to MN and foreign agent auth extension failures.')
cmiFaMnAAAAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaMnAAAAuthFailures.setStatus('current')
if mibBuilder.loadTexts: cmiFaMnAAAAuthFailures.setDescription('Total number of Registration Requests denied due to MN-AAA auth extension failures.')
cmiFaAdvertConfTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 1), )
if mibBuilder.loadTexts: cmiFaAdvertConfTable.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertConfTable.setDescription('A table containing additional configurable advertisement parameters beyond that provided by maAdvertConfTable for all advertisement interfaces in the foreign agent.')
cmiFaAdvertConfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: cmiFaAdvertConfEntry.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertConfEntry.setDescription('Additional advertisement parameters beyond that provided by maAdvertConfEntry for one advertisement interface.')
cmiFaAdvertIsBusy = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 1, 1, 1), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaAdvertIsBusy.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertIsBusy.setDescription("This object indicates if the foreign agent is busy. If the value of this object is true(1), agent advertisements sent by the agent on this interface will have the 'B' bit set to 1.")
cmiFaAdvertRegRequired = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiFaAdvertRegRequired.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertRegRequired.setDescription("This object specifies if foreign agent registration is required on this interface. If the value of this object is true(1), agent advertisements sent on this interface will have the 'R' bit set to 1.")
cmiFaAdvertChallengeWindow = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiFaAdvertChallengeWindow.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaAdvertChallengeWindow.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeWindow.setDescription('Specifies the number of last challenge values which can be used by mobile node in the registration request sent to the foreign agent on this interface.')
cmiFaAdvertChallengeTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 2), )
if mibBuilder.loadTexts: cmiFaAdvertChallengeTable.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaAdvertChallengeTable.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeTable.setDescription("A table containing challenge values in the challenge window. Foreign agent needs to implement maAdvertisement Group (MIP-MIB), that group's maAdvConfigTable and cmiFaAdvertChallengeWindow should be greater than 0.")
cmiFaAdvertChallengeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-MOBILE-IP-MIB", "cmiFaAdvertChallengeIndex"))
if mibBuilder.loadTexts: cmiFaAdvertChallengeEntry.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeEntry.setDescription('Challenge values in challenge window specific to an interface. This entry is created whenever the foreign agent sends an agent advertisement with challenge on the interface.')
cmiFaAdvertChallengeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)))
if mibBuilder.loadTexts: cmiFaAdvertChallengeIndex.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeIndex.setDescription('The index of challenge table on an interface')
cmiFaAdvertChallengeValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 2, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(256, 256)).setFixedLength(256)).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaAdvertChallengeValue.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeValue.setDescription('Challenge value in the challenge window of the interface.')
cmiFaRevTunnelSupported = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 1), TruthValue().clone('true')).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaRevTunnelSupported.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaRevTunnelSupported.setStatus('current')
if mibBuilder.loadTexts: cmiFaRevTunnelSupported.setDescription('Indicates whether Reverse tunnel is supported or not.')
cmiFaChallengeSupported = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 2), TruthValue().clone('true')).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaChallengeSupported.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaChallengeSupported.setStatus('current')
if mibBuilder.loadTexts: cmiFaChallengeSupported.setDescription('Indicates whether Foreign Agent Challenge is supported or not.')
cmiFaEncapDeliveryStyleSupported = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 3), TruthValue().clone('false')).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaEncapDeliveryStyleSupported.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiFaEncapDeliveryStyleSupported.setStatus('current')
if mibBuilder.loadTexts: cmiFaEncapDeliveryStyleSupported.setDescription('Indicates whether Encap delivery style is supported or not.')
cmiFaInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 4), )
if mibBuilder.loadTexts: cmiFaInterfaceTable.setStatus('current')
if mibBuilder.loadTexts: cmiFaInterfaceTable.setDescription('A table containing interface specific parameters related to the foreign agent service on a FA.')
cmiFaInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: cmiFaInterfaceEntry.setStatus('current')
if mibBuilder.loadTexts: cmiFaInterfaceEntry.setDescription('Parameters associated with a particular foreign agent interface. Interfaces on which foreign agent service has been enabled will have a corresponding entry.')
cmiFaReverseTunnelEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 4, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiFaReverseTunnelEnable.setStatus('current')
if mibBuilder.loadTexts: cmiFaReverseTunnelEnable.setDescription('This object specifies whether reverse tunnel capability is enabled on the interface or not.')
cmiFaChallengeEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiFaChallengeEnable.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaChallengeEnable.setStatus('current')
if mibBuilder.loadTexts: cmiFaChallengeEnable.setDescription('This object specifies whether FA Challenge capability is enabled on the interface or not.')
cmiFaAdvertChallengeChapSPI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiFaAdvertChallengeChapSPI.setReference('RFC3012 - Mobile IPv4 Challenge/Response Extensions')
if mibBuilder.loadTexts: cmiFaAdvertChallengeChapSPI.setStatus('current')
if mibBuilder.loadTexts: cmiFaAdvertChallengeChapSPI.setDescription('Specifies the CHAP_SPI number for FA challenge authentication.')
cmiFaCoaTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 5), )
if mibBuilder.loadTexts: cmiFaCoaTable.setStatus('current')
if mibBuilder.loadTexts: cmiFaCoaTable.setDescription('A table containing additional parameters for all care-of-addresses in the foreign agent beyond that provided by MIP MIB faCOATable.')
cmiFaCoaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 5, 1), )
faCOAEntry.registerAugmentions(("CISCO-MOBILE-IP-MIB", "cmiFaCoaEntry"))
cmiFaCoaEntry.setIndexNames(*faCOAEntry.getIndexNames())
if mibBuilder.loadTexts: cmiFaCoaEntry.setStatus('current')
if mibBuilder.loadTexts: cmiFaCoaEntry.setDescription('Additional information about a particular entry on the faCOATable beyond that provided by MIP MIB faCOAEntry.')
cmiFaCoaInterfaceOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 5, 1, 1), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiFaCoaInterfaceOnly.setStatus('current')
if mibBuilder.loadTexts: cmiFaCoaInterfaceOnly.setDescription('Specifies whether the FA interface associated with this CoA should advertise only this CoA or not. If it is true, all the other configured care-of-addresses will not be advertised.')
cmiFaCoaTransmitOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 5, 1, 2), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiFaCoaTransmitOnly.setStatus('current')
if mibBuilder.loadTexts: cmiFaCoaTransmitOnly.setDescription('Specifies whether the FA interface associated with this CoA is a transmit-only (uplink) interface or not. If it is true, the FA treats all registration requests received (on any interface) for this CoA as having arrived on the care-of interface. This object can be set to true only for serial care-of-interfaces.')
cmiFaCoaRegAsymLink = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 1, 3, 5, 1, 3), ZeroBasedCounter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiFaCoaRegAsymLink.setStatus('current')
if mibBuilder.loadTexts: cmiFaCoaRegAsymLink.setDescription('The number of registration requests which were received for this CoA on other interfaces (asymmetric links) and have been treated as received on this CoA interface. The count will thus be zero if the CoA interface is not set as transmit-only.')
cmiHaRegTotalMobilityBindings = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 1), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTotalMobilityBindings.setReference('RFC-2006 - Mobile IP MIB Definition using SMIv2')
if mibBuilder.loadTexts: cmiHaRegTotalMobilityBindings.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTotalMobilityBindings.setDescription("The current number of entries in haMobilityBindingTable. haMobilityBindingTable contains the home agent's mobility binding list. The home agent updates this table in response to registration events from mobile nodes.")
cmiHaRegMobilityBindingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2), )
if mibBuilder.loadTexts: cmiHaRegMobilityBindingTable.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMobilityBindingTable.setDescription('The home agent updates this table in response to registration events from mobile nodes.')
cmiHaRegMobilityBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1), )
haMobilityBindingEntry.registerAugmentions(("CISCO-MOBILE-IP-MIB", "cmiHaRegMobilityBindingEntry"))
cmiHaRegMobilityBindingEntry.setIndexNames(*haMobilityBindingEntry.getIndexNames())
if mibBuilder.loadTexts: cmiHaRegMobilityBindingEntry.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMobilityBindingEntry.setDescription('Additional information about a particular entry on the mobility binding list beyond that provided by MIP MIB haMobilityBindingEntry.')
cmiHaRegMnIdentifierType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 1), CmiEntityIdentifierType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIdentifierType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIdentifierType.setDescription("The type of the mobile node's identifier.")
cmiHaRegMnIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 2), CmiEntityIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIdentifier.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIdentifier.setDescription('The identifier associated with the mobile node.')
cmiHaRegMobilityBindingRegFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 3), CmiRegistrationFlags()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMobilityBindingRegFlags.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMobilityBindingRegFlags.setDescription('Registration flags sent by mobile node.')
cmiHaRegMnIfDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 4), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIfDescription.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIfDescription.setDescription('Description of the access type for the roaming interface of the registering mobile node or router.')
cmiHaRegMnIfBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 5), Unsigned32()).setUnits('kilobits/second').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIfBandwidth.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIfBandwidth.setDescription('Bandwidth of the roaming interface through which mobile node or router is registered.')
cmiHaRegMnIfID = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIfID.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIfID.setDescription('A unique number identifying the roaming interface through which mobile node or router is registered. This is also used as an unique identifier for the tunnel from home agent to the mobile router.')
cmiHaRegMnIfPathMetricType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 7), CmiMultiPathMetricType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMnIfPathMetricType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIfPathMetricType.setDescription('Specifies the metric to use when multiple path is enabled.')
cmiHaRegMobilityBindingMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 2, 1, 8), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMobilityBindingMacAddress.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMobilityBindingMacAddress.setDescription('This object represents the MAC address of Mobile Node.')
cmiHaRegCounterTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3), )
if mibBuilder.loadTexts: cmiHaRegCounterTable.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegCounterTable.setDescription('A table containing registration statistics for all mobile nodes authorized to use this home agent. This table provides the same information as haCounterTable of MIP MIB. The only difference is that indices of table are changed so that mobile nodes which are not identified by the IP address will also be included in the table.')
cmiHaRegCounterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaRegMnId"))
if mibBuilder.loadTexts: cmiHaRegCounterEntry.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegCounterEntry.setDescription('Registration statistics for a single mobile node.')
cmiHaRegMnIdType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 1), CmiEntityIdentifierType())
if mibBuilder.loadTexts: cmiHaRegMnIdType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnIdType.setDescription("The type of the mobile node's identifier.")
cmiHaRegMnId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 2), CmiEntityIdentifier())
if mibBuilder.loadTexts: cmiHaRegMnId.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMnId.setDescription('The identifier associated with the mobile node.')
cmiHaRegServAcceptedRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegServAcceptedRequests.setReference('RFC-2002 - IP Mobility Support, section 3.4')
if mibBuilder.loadTexts: cmiHaRegServAcceptedRequests.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegServAcceptedRequests.setDescription('Total number of service requests for the mobile node accepted by the home agent (Code 0 + Code 1).')
cmiHaRegServDeniedRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegServDeniedRequests.setReference('RFC-2002 - IP Mobility Support, section 3.4')
if mibBuilder.loadTexts: cmiHaRegServDeniedRequests.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegServDeniedRequests.setDescription('Total number of service requests for the mobile node denied by the home agent (sum of all registrations denied with Code 128 through Code 159).')
cmiHaRegOverallServTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 5), TimeInterval()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegOverallServTime.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegOverallServTime.setDescription('Overall service time that has accumulated for the mobile node since the home agent last rebooted.')
cmiHaRegRecentServAcceptedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 6), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRecentServAcceptedTime.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegRecentServAcceptedTime.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRecentServAcceptedTime.setDescription('The time at which the most recent Registration Request was accepted by the home agent for this mobile node.')
cmiHaRegRecentServDeniedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 7), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedTime.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedTime.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedTime.setDescription('The time at which the most recent Registration Request was denied by the home agent for this mobile node.')
cmiHaRegRecentServDeniedCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139))).clone(namedValues=NamedValues(("reasonUnspecified", 128), ("admProhibited", 129), ("insufficientResource", 130), ("mnAuthenticationFailure", 131), ("faAuthenticationFailure", 132), ("idMismatch", 133), ("poorlyFormedRequest", 134), ("tooManyBindings", 135), ("unknownHA", 136), ("reverseTunnelUnavailable", 137), ("reverseTunnelBitNotSet", 138), ("encapsulationUnavailable", 139)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedCode.setReference('RFC-2002 - IP Mobility Support, section 3.4')
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedCode.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRecentServDeniedCode.setDescription('The Code indicating the reason why the most recent Registration Request for this mobile node was rejected by the home agent.')
cmiHaRegTotalProcLocRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTotalProcLocRegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegTotalProcLocRegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTotalProcLocRegs.setDescription('The total number of Registration Requests processed by the home agent. It includes only those Registration Requests which were authenticated locally by the home agent.')
cmiHaRegMaxProcLocInMinRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMaxProcLocInMinRegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegMaxProcLocInMinRegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMaxProcLocInMinRegs.setDescription('The maximum number of Registration Requests processed in a minute by the home agent. It includes only those Registration Requests which were authenticated locally by the home agent.')
cmiHaRegDateMaxRegsProcLoc = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 6), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcLoc.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcLoc.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcLoc.setDescription('The time at which number of Registration Requests processed in a minute by the home agent were maximum. It includes only those Registration Requests which were authenticated locally by the home agent.')
cmiHaRegProcLocInLastMinRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegProcLocInLastMinRegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegProcLocInLastMinRegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegProcLocInLastMinRegs.setDescription('The number of Registration Requests processed in the last minute by the home agent. It includes only those Registration Requests which were authenticated locally by the home agent.')
cmiHaRegTotalProcByAAARegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTotalProcByAAARegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegTotalProcByAAARegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTotalProcByAAARegs.setDescription('The total number of Registration Requests processed by the home agent. It includes only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegMaxProcByAAAInMinRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMaxProcByAAAInMinRegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegMaxProcByAAAInMinRegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMaxProcByAAAInMinRegs.setDescription('The maximum number of Registration Requests processed in a minute by the home agent. It includes only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegDateMaxRegsProcByAAA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 10), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcByAAA.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcByAAA.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegDateMaxRegsProcByAAA.setDescription('The time at which number of Registration Requests processed in a minute by the home agent were maximum. It includes only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegProcAAAInLastByMinRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegProcAAAInLastByMinRegs.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegProcAAAInLastByMinRegs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegProcAAAInLastByMinRegs.setDescription('The number of Registration Requests processed in the last minute by the home agent. It includes only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegAvgTimeRegsProcByAAA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('milli seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegAvgTimeRegsProcByAAA.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegAvgTimeRegsProcByAAA.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegAvgTimeRegsProcByAAA.setDescription('The average time taken by the home agent to process a Registration Request. It is calculated based on only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegMaxTimeRegsProcByAAA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('milli seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegMaxTimeRegsProcByAAA.setReference('RFC-2002 - IP Mobility Support, section 3')
if mibBuilder.loadTexts: cmiHaRegMaxTimeRegsProcByAAA.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegMaxTimeRegsProcByAAA.setDescription('The maximum time taken by the home agent to process a Registration Request. It considers only those Registration Requests which were authenticated by the AAA server.')
cmiHaRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRequestsReceived.setDescription('Total number of Registration Requests received by the home agent. This include initial registration requests, re-registration requests and de-registration requests.')
cmiHaRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRequestsDenied.setDescription("Total number of Registration Requests denied by the home agent. The reasons for which HA denies a request include: 1. Can't allocate IP address for MN. 2. Request parsing failed. 3. NAI length exceeds the packet length.")
cmiHaRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegRequestsDiscarded.setDescription('Total number of Registration Requests discarded by the home agent. The reasons for which HA discards a request include: 1. ip mobile home-agent service is not enabled. 2. HA-CHAP authentication failed. 3. MN Security Association retrieval failed.')
cmiHaEncapUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaEncapUnavailable.setStatus('current')
if mibBuilder.loadTexts: cmiHaEncapUnavailable.setDescription('Total number of Registration Requests denied by the home agent due to an unsupported encapsulation.')
cmiHaNAICheckFailures = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaNAICheckFailures.setStatus('current')
if mibBuilder.loadTexts: cmiHaNAICheckFailures.setDescription('Total number of Registration Requests denied by the home agent due to an NAI check failures.')
cmiHaInitRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaInitRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiHaInitRegRequestsReceived.setDescription('Total number of initial Registration Requests received by the home agent.')
cmiHaInitRegRequestsAccepted = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaInitRegRequestsAccepted.setStatus('current')
if mibBuilder.loadTexts: cmiHaInitRegRequestsAccepted.setDescription('Total number of initial Registration Requests accepted by the home agent.')
cmiHaInitRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaInitRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiHaInitRegRequestsDenied.setDescription('Total number of initial Registration Requests denied by the home agent. Refer cmiHaRegRequestsReceived for the reasons for which HA denies a request.')
cmiHaInitRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaInitRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiHaInitRegRequestsDiscarded.setDescription('Total number of initial Registration Requests discarded by the home agent. Refer cmiHaRegRequestsDiscarded for the reasons for which HA discards a request.')
cmiHaReRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiHaReRegRequestsReceived.setDescription('Total number of Re-Registration Requests received by the home agent.')
cmiHaReRegRequestsAccepted = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReRegRequestsAccepted.setStatus('current')
if mibBuilder.loadTexts: cmiHaReRegRequestsAccepted.setDescription('Total number of Re-Registration Requests accepted by the home agent.')
cmiHaReRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiHaReRegRequestsDenied.setDescription('Total number of Re-Registration Requests denied by the home agent. Refer cmiHaRegRequestsReceived for the reasons for which HA denies a request.')
cmiHaReRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiHaReRegRequestsDiscarded.setDescription('Total number of Re-Registration Requests discarded by the home agent. Refer cmiHaRegRequestsDiscarded for the reasons for which HA discards a request.')
cmiHaDeRegRequestsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaDeRegRequestsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiHaDeRegRequestsReceived.setDescription('Total number of De-Registration Requests received by the home agent.')
cmiHaDeRegRequestsAccepted = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaDeRegRequestsAccepted.setStatus('current')
if mibBuilder.loadTexts: cmiHaDeRegRequestsAccepted.setDescription('Total number of De-Registration Requests accepted by the home agent.')
cmiHaDeRegRequestsDenied = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaDeRegRequestsDenied.setStatus('current')
if mibBuilder.loadTexts: cmiHaDeRegRequestsDenied.setDescription('Total number of De-Registration Requests denied by the home agent. Refer cmiHaRegRequestsReceived for the reasons for which HA denies a request.')
cmiHaDeRegRequestsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaDeRegRequestsDiscarded.setStatus('current')
if mibBuilder.loadTexts: cmiHaDeRegRequestsDiscarded.setDescription('Total number of De-Registration Requests discarded by the home agent. Refer cmiHaRegRequestsDiscarded for the reasons for which HA discards a request.')
cmiHaReverseTunnelUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReverseTunnelUnavailable.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiHaReverseTunnelUnavailable.setStatus('current')
if mibBuilder.loadTexts: cmiHaReverseTunnelUnavailable.setDescription('Total number of Registration Requests denied by the home agent -- requested reverse tunnel unavailable (Code 137).')
cmiHaReverseTunnelBitNotSet = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaReverseTunnelBitNotSet.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiHaReverseTunnelBitNotSet.setStatus('current')
if mibBuilder.loadTexts: cmiHaReverseTunnelBitNotSet.setDescription("Total number of Registration Requests denied by the home agent -- reverse tunnel is mandatory and 'T' bit not set (Code 138).")
cmiHaEncapsulationUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaEncapsulationUnavailable.setReference('RFC3024 - Reverse Tunneling for Mobile IP')
if mibBuilder.loadTexts: cmiHaEncapsulationUnavailable.setStatus('current')
if mibBuilder.loadTexts: cmiHaEncapsulationUnavailable.setDescription('Total number of Registration Requests denied by the home agent -- requested encapsulation unavailable (Code 72).')
cmiHaCvsesFromMnRejected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaCvsesFromMnRejected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiHaCvsesFromMnRejected.setStatus('current')
if mibBuilder.loadTexts: cmiHaCvsesFromMnRejected.setDescription('Total number of Registration Requests denied by the home agent -- Unsupported Vendor-ID or unable to interpret Vendor-CVSE-Type in the CVSE sent by the mobile node to the home agent (code 140).')
cmiHaCvsesFromFaRejected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaCvsesFromFaRejected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiHaCvsesFromFaRejected.setStatus('current')
if mibBuilder.loadTexts: cmiHaCvsesFromFaRejected.setDescription('Total number of Registration Requests denied by the home agent -- Unsupported Vendor-ID or unable to interpret Vendor-CVSE-Type in the CVSE sent by the foreign agent to the home agent (code 141).')
cmiHaNvsesFromMnNeglected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaNvsesFromMnNeglected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiHaNvsesFromMnNeglected.setStatus('current')
if mibBuilder.loadTexts: cmiHaNvsesFromMnNeglected.setDescription('Total number of Registration Requests, which has an NVSE extension with - unsupported Vendor-ID or unable to interpret Vendor-NVSE-Type in the NVSE sent by the mobile node to the home agent.')
cmiHaNvsesFromFaNeglected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaNvsesFromFaNeglected.setReference('RFC3025 - Mobile IP Vendor/Organization-Specific Extensions')
if mibBuilder.loadTexts: cmiHaNvsesFromFaNeglected.setStatus('current')
if mibBuilder.loadTexts: cmiHaNvsesFromFaNeglected.setDescription('Total number of Registration Requests, which has an NVSE extension with - unsupported Vendor-ID or unable to interpret Vendor-NVSE-Type in the NVSE sent by the foreign agent to the home agent.')
cmiHaMnHaAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaMnHaAuthFailures.setStatus('current')
if mibBuilder.loadTexts: cmiHaMnHaAuthFailures.setDescription('Total number of Registration Requests denied due to MN and home agent auth extension failures.')
cmiHaMnAAAAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaMnAAAAuthFailures.setStatus('current')
if mibBuilder.loadTexts: cmiHaMnAAAAuthFailures.setDescription('Total number of Registration Requests denied due to MN-AAA auth extension failures.')
cmiHaMaximumBindings = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 40), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 500000)).clone(235000)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiHaMaximumBindings.setStatus('current')
if mibBuilder.loadTexts: cmiHaMaximumBindings.setDescription('This object represents the maximum number of registrations allowed by the home agent.')
cmiHaRegIntervalSize = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 41), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 300)).clone(30)).setUnits('minutes').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiHaRegIntervalSize.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegIntervalSize.setDescription('This object represents the interval for which cmiHaRegIntervalMaxActiveBindings, cmiHaRegInterval3gpp2MaxActiveBindings, cmiHaRegIntervalWimaxMaxActiveBindings are calculated.')
cmiHaRegIntervalMaxActiveBindings = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 42), Gauge32()).setUnits('MIP call per interval').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegIntervalMaxActiveBindings.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegIntervalMaxActiveBindings.setDescription('This object represents the maximum number of active bindings present at any time during the elapsed time interval configured through cmiHaRegIntervalSize. When the time interval is modified through cmiHaRegIntervalSize, a value of zero will be populated till one complete new interval is elapsed.')
cmiHaRegInterval3gpp2MaxActiveBindings = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 43), Gauge32()).setUnits('MIP call per interval').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegInterval3gpp2MaxActiveBindings.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegInterval3gpp2MaxActiveBindings.setDescription('This object represents the maximum number of active 3GPP2 bindings present at any time during the elapsed time interval configured through cmiHaRegIntervalSize. When the time interval is modified through cmiHaRegIntervalSize, a value of zero will be populated till one complete new interval is elapsed.')
cmiHaRegIntervalWimaxMaxActiveBindings = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 44), Gauge32()).setUnits('MIP call per interval').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegIntervalWimaxMaxActiveBindings.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegIntervalWimaxMaxActiveBindings.setDescription('This object represents the maximum number of active WIMAX bindings present at any time during the elapsed time interval configured through cmiHaRegIntervalSize. When the time interval is modified through cmiHaRegIntervalSize, a value of zero will be populated till one complete new interval is elapsed.')
cmiHaRegTunnelStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45), )
if mibBuilder.loadTexts: cmiHaRegTunnelStatsTable.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsTable.setDescription('This table provides the statistics about the active tunnels between HA and CoA. A row is added to this table when a new tunnel is created between HA and CoA. A row is deleted in this table when an existing tunnel between HA and CoA is deleted.')
cmiHaRegTunnelStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsSrcAddrType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsSrcAddr"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsDestAddrType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsDestAddr"))
if mibBuilder.loadTexts: cmiHaRegTunnelStatsEntry.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsEntry.setDescription('Each entry represents a conceptual row in cmiHaRegTunnelStatsTable and corresponds to the statistics for a single active tunnel between HA and CoA.')
cmiHaRegTunnelStatsSrcAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 1), InetAddressType())
if mibBuilder.loadTexts: cmiHaRegTunnelStatsSrcAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsSrcAddrType.setDescription('This object represents the type of the address stored in cmiHaRegTunnelStatsSrcAddr.')
cmiHaRegTunnelStatsSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 2), InetAddress())
if mibBuilder.loadTexts: cmiHaRegTunnelStatsSrcAddr.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsSrcAddr.setDescription('This object represents the source address of the tunnel.')
cmiHaRegTunnelStatsDestAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 3), InetAddressType())
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDestAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDestAddrType.setDescription('This object represents the type of the address stored in cmiHaRegTunnelStatsDestAddr.')
cmiHaRegTunnelStatsDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 4), InetAddress())
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDestAddr.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDestAddr.setDescription('This object represents the destination address of the tunnel.')
cmiHaRegTunnelStatsTunnelType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 5), CmiTunnelType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsTunnelType.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsTunnelType.setDescription('This object represents the tunneling protocol in use between the HA and CoA.')
cmiHaRegTunnelStatsNumUsers = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 6), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsNumUsers.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsNumUsers.setDescription('This object represents the number of users on the tunnel.')
cmiHaRegTunnelStatsDataRateInt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 7), Unsigned32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDataRateInt.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsDataRateInt.setDescription('This object represents the interval for which cmiHaRegTunnelStatsInBitRate, cmiHaRegTunnelStatsInPktRate, cmiHaRegTunnelStatsOutBitRate and cmiHaRegTunnelStatsOutPktRate are calculated.')
cmiHaRegTunnelStatsInBitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 8), CounterBasedGauge64()).setUnits('bits per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInBitRate.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInBitRate.setDescription('This object represents the number of bits received at the tunnel per second in the interval represented by cmiHaRegTunnelStatsDataRateInt.')
cmiHaRegTunnelStatsInPktRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 9), CounterBasedGauge64()).setUnits('packets per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInPktRate.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInPktRate.setDescription('This object represents the number of packets received at the tunnel per second in the interval represented by cmiHaRegTunnelStatsDataRateInt.')
cmiHaRegTunnelStatsInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInBytes.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInBytes.setDescription('This object represents the total number of bytes received at the tunnel.')
cmiHaRegTunnelStatsInPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInPkts.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsInPkts.setDescription('This object represents the total number of packets received at the tunnel.')
cmiHaRegTunnelStatsOutBitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 12), CounterBasedGauge64()).setUnits('bits per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutBitRate.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutBitRate.setDescription('This object represents the number of bits transmitted from the tunnel per second in the interval represented by cmiHaRegTunnelStatsDataRateInt.')
cmiHaRegTunnelStatsOutPktRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 13), CounterBasedGauge64()).setUnits('packets per second').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutPktRate.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutPktRate.setDescription('This object represents the number of packets transmitted from the tunnel per second in the interval represented by cmiHaRegTunnelStatsDataRateInt.')
cmiHaRegTunnelStatsOutBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutBytes.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutBytes.setDescription('This object represents the total number of bytes transmitted from the tunnel.')
cmiHaRegTunnelStatsOutPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 1, 45, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutPkts.setStatus('current')
if mibBuilder.loadTexts: cmiHaRegTunnelStatsOutPkts.setDescription('This object represents the total number of packets transmitted from the tunnel.')
cmiHaRedunSentBUs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSentBUs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSentBUs.setDescription('Total number of binding updates sent by the home agent.')
cmiHaRedunFailedBUs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunFailedBUs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunFailedBUs.setDescription('Total number of binding updates sent by the home agent for which no acknowledgement is received from the standby home agent.')
cmiHaRedunReceivedBUAcks = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunReceivedBUAcks.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunReceivedBUAcks.setDescription('Total number of acknowledgements received in response to binding updates sent by the home agent.')
cmiHaRedunTotalSentBUs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunTotalSentBUs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunTotalSentBUs.setDescription('Total number of binding updates sent by the home agent including retransmissions of same binding update.')
cmiHaRedunReceivedBUs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunReceivedBUs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunReceivedBUs.setDescription('Total number of binding updates received by the home agent.')
cmiHaRedunSentBUAcks = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSentBUAcks.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSentBUAcks.setDescription('Total number of acknowledgements sent in response to binding updates received by the home agent.')
cmiHaRedunSentBIReqs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSentBIReqs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSentBIReqs.setDescription('Total number of binding information requests sent by the home agent.')
cmiHaRedunFailedBIReqs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunFailedBIReqs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunFailedBIReqs.setDescription('Total number of binding information requests sent by the home agent for which no reply is received from the active home agent.')
cmiHaRedunTotalSentBIReqs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunTotalSentBIReqs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunTotalSentBIReqs.setDescription('Total number of binding information requests sent by the home agent including retransmissions of the same request.')
cmiHaRedunReceivedBIReps = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunReceivedBIReps.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunReceivedBIReps.setDescription('Total number of binding information replies received by the home agent.')
cmiHaRedunDroppedBIReps = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunDroppedBIReps.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunDroppedBIReps.setDescription('Total number of binding information replies dropped since there is no corresponding binding information request sent by the home agent.')
cmiHaRedunSentBIAcks = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSentBIAcks.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSentBIAcks.setDescription('Total number of acknowledgements sent in response to binding information replies received by the home agent.')
cmiHaRedunReceivedBIReqs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunReceivedBIReqs.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunReceivedBIReqs.setDescription('Total number of binding information requests received by the home agent.')
cmiHaRedunSentBIReps = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSentBIReps.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSentBIReps.setDescription('Total number of binding information replies sent by the home agent.')
cmiHaRedunFailedBIReps = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunFailedBIReps.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunFailedBIReps.setDescription('Total number of binding information replies sent by by the home agent for which no acknowledgement is received from the standby home agent.')
cmiHaRedunTotalSentBIReps = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunTotalSentBIReps.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunTotalSentBIReps.setDescription('Total number of binding information replies sent by the home agent including retransmissions of the same reply.')
cmiHaRedunReceivedBIAcks = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunReceivedBIAcks.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunReceivedBIAcks.setDescription('Total number of acknowledgements received in response to binding information replies sent by the home agent.')
cmiHaRedunDroppedBIAcks = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunDroppedBIAcks.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunDroppedBIAcks.setDescription('Total number of acknowledgements dropped by the home agent since there are no corresponding binding information replies sent by it.')
cmiHaRedunSecViolations = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 2, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaRedunSecViolations.setStatus('current')
if mibBuilder.loadTexts: cmiHaRedunSecViolations.setDescription('Total number of security violations in the home agent caused by processing of the packets received from the peer home agent. Security violations can occur due to the following reasons. - the authenticator value in the packet is invalid. - value stored in the identification field of the packet is invalid.')
cmiHaMrTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1), )
if mibBuilder.loadTexts: cmiHaMrTable.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrTable.setDescription('A table containing details about all mobile routers associated with the Home Agent.')
cmiHaMrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiHaMrAddrType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaMrAddr"))
if mibBuilder.loadTexts: cmiHaMrEntry.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrEntry.setDescription('Information related to a single mobile router associated with the Home Agent.')
cmiHaMrAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 1), InetAddressType())
if mibBuilder.loadTexts: cmiHaMrAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrAddrType.setDescription('Represents the type of IP address stored in cmiHaMrAddr. Only IPv4 address type is supported.')
cmiHaMrAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), )))
if mibBuilder.loadTexts: cmiHaMrAddr.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrAddr.setDescription('IP address of a mobile router providing mobility to one or more networks. Only IPv4 addresses are supported.')
cmiHaMrDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiHaMrDynamic.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrDynamic.setDescription('Specifies whether the mobile router is capable of registering networks dynamically or not.')
cmiHaMrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiHaMrStatus.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrStatus.setDescription('The row status for the MR entry.')
cmiHaMrMultiPath = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiHaMrMultiPath.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrMultiPath.setDescription('Specifies whether multiple path is enabled on this mobile router or not.')
cmiHaMrMultiPathMetricType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 1, 1, 6), CmiMultiPathMetricType().clone('bandwidth')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiHaMrMultiPathMetricType.setStatus('current')
if mibBuilder.loadTexts: cmiHaMrMultiPathMetricType.setDescription('Specifies the metric to use when multiple path is enabled.')
cmiHaMobNetTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2), )
if mibBuilder.loadTexts: cmiHaMobNetTable.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetTable.setDescription('A table containing information about all the mobile networks associated with a Home Agent.')
cmiHaMobNetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiHaMrAddrType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaMrAddr"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaMobNetAddressType"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaMobNetAddress"), (0, "CISCO-MOBILE-IP-MIB", "cmiHaMobNetPfxLen"))
if mibBuilder.loadTexts: cmiHaMobNetEntry.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetEntry.setDescription('Information of a single mobile network associated with a Home Agent.')
cmiHaMobNetAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1, 1), InetAddressType())
if mibBuilder.loadTexts: cmiHaMobNetAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetAddressType.setDescription('Represents the type of IP address stored in cmiHaMobNetAddress. Only IPv4 address type is supported.')
cmiHaMobNetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), )))
if mibBuilder.loadTexts: cmiHaMobNetAddress.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetAddress.setDescription('IP address of the mobile network. Only IPv4 addresses are supported.')
cmiHaMobNetPfxLen = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1, 3), InetAddressPrefixLength())
if mibBuilder.loadTexts: cmiHaMobNetPfxLen.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetPfxLen.setDescription('Prefix length associated with the mobile network ip address.')
cmiHaMobNetDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1, 4), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaMobNetDynamic.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetDynamic.setDescription('Indicates whether the mobile network has been registered dynamically or not.')
cmiHaMobNetStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 3, 2, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiHaMobNetStatus.setStatus('current')
if mibBuilder.loadTexts: cmiHaMobNetStatus.setDescription('The row status for the mobile network entry.')
cmiSecAssocsCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 1), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecAssocsCount.setStatus('current')
if mibBuilder.loadTexts: cmiSecAssocsCount.setDescription('Total number of mobility security associations known to the entity i.e. the number of entries in the cmiSecAssocTable.')
cmiSecAssocTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2), )
if mibBuilder.loadTexts: cmiSecAssocTable.setStatus('current')
if mibBuilder.loadTexts: cmiSecAssocTable.setDescription('A table containing Mobility Security Associations. This table provides the same information as mipSecAssocTable of MIP MIB. The differences are: - indices of the table are changed so that mobile nodes which are not identified by the IP address will also be included in the table. - rowStatus object is added to the table.')
cmiSecAssocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiSecPeerIdentifierType"), (0, "CISCO-MOBILE-IP-MIB", "cmiSecPeerIdentifier"), (0, "CISCO-MOBILE-IP-MIB", "cmiSecSPI"))
if mibBuilder.loadTexts: cmiSecAssocEntry.setStatus('current')
if mibBuilder.loadTexts: cmiSecAssocEntry.setDescription('One particular Mobility Security Association.')
cmiSecPeerIdentifierType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 1), CmiEntityIdentifierType())
if mibBuilder.loadTexts: cmiSecPeerIdentifierType.setStatus('current')
if mibBuilder.loadTexts: cmiSecPeerIdentifierType.setDescription("The type of the peer entity's identifier.")
cmiSecPeerIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 2), CmiEntityIdentifier())
if mibBuilder.loadTexts: cmiSecPeerIdentifier.setStatus('current')
if mibBuilder.loadTexts: cmiSecPeerIdentifier.setDescription('The identifier of the peer entity with which this node shares the mobility security association.')
cmiSecSPI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 3), CmiSpi())
if mibBuilder.loadTexts: cmiSecSPI.setStatus('current')
if mibBuilder.loadTexts: cmiSecSPI.setDescription('The SPI is the 4-byte index within the Mobility Security Association which selects the specific security parameters to be used to authenticate the peer, i.e. the rest of the variables in this cmiSecAssocEntry.')
cmiSecAlgorithmType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("md5", 2), ("hmacMD5", 3))).clone('md5')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecAlgorithmType.setReference('RFC-2002 - IP Mobility Support, section 3.5.1')
if mibBuilder.loadTexts: cmiSecAlgorithmType.setStatus('current')
if mibBuilder.loadTexts: cmiSecAlgorithmType.setDescription('Type of authentication algorithm. other(1) Any other authentication algorithm not specified here. md5(2) MD5 message-digest algorithm. hmacMD5(3) HMAC MD5 message-digest algorithm.')
cmiSecAlgorithmMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("prefixSuffix", 2))).clone('prefixSuffix')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecAlgorithmMode.setReference('RFC-2002 - IP Mobility Support, section 3.5.1')
if mibBuilder.loadTexts: cmiSecAlgorithmMode.setStatus('current')
if mibBuilder.loadTexts: cmiSecAlgorithmMode.setDescription('Security mode used by this algorithm. other(1) Any other mode not specified here. prefixSuffix(2) In this mode, data over which authenticator value needs to be calculated is preceded and followed by the 128 bit shared secret key.')
cmiSecKey = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecKey.setStatus('deprecated')
if mibBuilder.loadTexts: cmiSecKey.setDescription('The shared secret key for the security associations. Reading this object will always return zero length value.')
cmiSecReplayMethod = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("timestamps", 2), ("nonces", 3))).clone('timestamps')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecReplayMethod.setReference('RFC-2002 - IP Mobility Support, section 5.6')
if mibBuilder.loadTexts: cmiSecReplayMethod.setStatus('current')
if mibBuilder.loadTexts: cmiSecReplayMethod.setDescription('The replay-protection method supported for this SPI within this Mobility Security Association. other(1) Any other replay protection method not specified here. timestamps(2) Timestamp based replay protection method. nonces(3) Nonce based replay protection method.')
cmiSecStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecStatus.setStatus('current')
if mibBuilder.loadTexts: cmiSecStatus.setDescription('The row status for this table.')
cmiSecKey2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiSecKey2.setStatus('current')
if mibBuilder.loadTexts: cmiSecKey2.setDescription('The shared secret key for the security associations. Reading this object will always return zero length value. If the value is given in hex, it should be 16 bytes in length. If it is in ascii, it can vary from 1 to 16 characters.')
cmiHaSystemVersion = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 2, 4, 1), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiHaSystemVersion.setStatus('current')
if mibBuilder.loadTexts: cmiHaSystemVersion.setDescription('MobileIP HA Release Version')
cmiSecViolationTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3), )
if mibBuilder.loadTexts: cmiSecViolationTable.setReference('RFC-2002 - IP Mobility Support, sections 3.6.2.1, 3.7.2.1 and 3.8.2.1')
if mibBuilder.loadTexts: cmiSecViolationTable.setStatus('current')
if mibBuilder.loadTexts: cmiSecViolationTable.setDescription('A table containing information about security violations. This table provides the same information as mipSecViolationTable of MIP MIB. The only difference is that indices of the table are changed so that mobile nodes which are not identified by the IP address will also be included in the table.')
cmiSecViolationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiSecViolatorIdentifierType"), (0, "CISCO-MOBILE-IP-MIB", "cmiSecViolatorIdentifier"))
if mibBuilder.loadTexts: cmiSecViolationEntry.setStatus('current')
if mibBuilder.loadTexts: cmiSecViolationEntry.setDescription('Information about one particular security violation.')
cmiSecViolatorIdentifierType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 1), CmiEntityIdentifierType())
if mibBuilder.loadTexts: cmiSecViolatorIdentifierType.setStatus('current')
if mibBuilder.loadTexts: cmiSecViolatorIdentifierType.setDescription("The type of Violator's identifier.")
cmiSecViolatorIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 2), CmiEntityIdentifier())
if mibBuilder.loadTexts: cmiSecViolatorIdentifier.setStatus('current')
if mibBuilder.loadTexts: cmiSecViolatorIdentifier.setDescription("Violator's identifier. The violator is not necessary in the cmiSecAssocTable.")
cmiSecTotalViolations = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecTotalViolations.setStatus('current')
if mibBuilder.loadTexts: cmiSecTotalViolations.setDescription('Total number of security violations for this peer.')
cmiSecRecentViolationSPI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 4), CmiSpi()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecRecentViolationSPI.setStatus('current')
if mibBuilder.loadTexts: cmiSecRecentViolationSPI.setDescription('SPI of the most recent security violation for this peer. If the security violation is due to an identification mismatch, then this is the SPI from the Mobile-Home Authentication Extension. If the security violation is due to an invalid authenticator, then this is the SPI from the offending authentication extension. In all other cases, it should be set to zero.')
cmiSecRecentViolationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 5), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecRecentViolationTime.setStatus('current')
if mibBuilder.loadTexts: cmiSecRecentViolationTime.setDescription('Time of the most recent security violation for this peer.')
cmiSecRecentViolationIDLow = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecRecentViolationIDLow.setStatus('current')
if mibBuilder.loadTexts: cmiSecRecentViolationIDLow.setDescription('Low-order 32 bits of identification used in request or reply of the most recent security violation for this peer.')
cmiSecRecentViolationIDHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecRecentViolationIDHigh.setStatus('current')
if mibBuilder.loadTexts: cmiSecRecentViolationIDHigh.setDescription('High-order 32 bits of identification used in request or reply of the most recent security violation for this peer.')
cmiSecRecentViolationReason = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 3, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noMobilitySecurityAssociation", 1), ("badAuthenticator", 2), ("badIdentifier", 3), ("badSPI", 4), ("missingSecurityExtension", 5), ("other", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiSecRecentViolationReason.setReference('RFC-2002 - IP Mobility Support')
if mibBuilder.loadTexts: cmiSecRecentViolationReason.setStatus('current')
if mibBuilder.loadTexts: cmiSecRecentViolationReason.setDescription('Reason for the most recent security violation for this peer.')
cmiMaRegMaxInMinuteRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMaRegMaxInMinuteRegs.setStatus('current')
if mibBuilder.loadTexts: cmiMaRegMaxInMinuteRegs.setDescription('The maximum number of Registration Requests received in a minute by the mobility agent.')
cmiMaRegDateMaxRegsReceived = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 1, 2), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMaRegDateMaxRegsReceived.setStatus('current')
if mibBuilder.loadTexts: cmiMaRegDateMaxRegsReceived.setDescription('The time at which number of Registration Requests received in a minute by the mobility agent were maximum.')
cmiMaRegInLastMinuteRegs = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMaRegInLastMinuteRegs.setStatus('current')
if mibBuilder.loadTexts: cmiMaRegInLastMinuteRegs.setDescription('The number of Registration Requests received in the last minute by the mobility agent.')
cmiMnAdvFlags = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 1, 1, 1), Bits().clone(namedValues=NamedValues(("gre", 0), ("minEnc", 1), ("foreignAgent", 2), ("homeAgent", 3), ("busy", 4), ("regRequired", 5), ("reverseTunnel", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMnAdvFlags.setStatus('current')
if mibBuilder.loadTexts: cmiMnAdvFlags.setDescription('The flags are contained in the 7th byte in the extension of the most recently received mobility agent advertisement: gre -- Agent offers Generic Routing Encapsulation minEnc, -- Agent offers Minimal Encapsulation foreignAgent, -- Agent is a Foreign Agent homeAgent, -- Agent is a Home Agent busy, -- Foreign Agent is busy regRequired, -- FA registration is required reverseTunnel, -- Agent supports reverse tunneling.')
cmiMnRegistrationTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 2, 1), )
if mibBuilder.loadTexts: cmiMnRegistrationTable.setStatus('current')
if mibBuilder.loadTexts: cmiMnRegistrationTable.setDescription("A table containing information about the mobile node's attempted registration(s). The mobile node updates this table based upon Registration Requests sent and Registration Replies received in response to these requests. Certain variables within this table are also updated when Registration Requests are retransmitted.")
cmiMnRegistrationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 2, 1, 1), )
mnRegistrationEntry.registerAugmentions(("CISCO-MOBILE-IP-MIB", "cmiMnRegistrationEntry"))
cmiMnRegistrationEntry.setIndexNames(*mnRegistrationEntry.getIndexNames())
if mibBuilder.loadTexts: cmiMnRegistrationEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMnRegistrationEntry.setDescription('Information about one registration attempt.')
cmiMnRegFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 2, 1, 1, 1), CmiRegistrationFlags()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMnRegFlags.setStatus('current')
if mibBuilder.loadTexts: cmiMnRegFlags.setDescription('Registration flags sent by the mobile node. It is the second byte in the Mobile IP Registration Request message.')
cmiMrReverseTunnel = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 1), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrReverseTunnel.setStatus('current')
if mibBuilder.loadTexts: cmiMrReverseTunnel.setDescription('Specifies whether reverse tunneling is enabled on the mobile router or not.')
cmiMrRedundancyGroup = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 2), SnmpAdminString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRedundancyGroup.setStatus('current')
if mibBuilder.loadTexts: cmiMrRedundancyGroup.setDescription('Name of the redundancy group used to provide network availability for the mobile router.')
cmiMrMobNetTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3), )
if mibBuilder.loadTexts: cmiMrMobNetTable.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetTable.setDescription('A table containing information about all the networks for which mobility is provided by the mobile router.')
cmiMrMobNetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiMrMobNetIfIndex"))
if mibBuilder.loadTexts: cmiMrMobNetEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetEntry.setDescription('Details of a single mobile network on mobile router.')
cmiMrMobNetIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: cmiMrMobNetIfIndex.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetIfIndex.setDescription('The ifIndex value from Interfaces table of MIB II for the interface on the mobile router connected to the mobile network.')
cmiMrMobNetAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1, 2), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMobNetAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetAddrType.setDescription('Represents the type of IP address stored in cmiMrMobNetAddr.')
cmiMrMobNetAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMobNetAddr.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetAddr.setDescription('IP address of the mobile network.')
cmiMrMobNetPfxLen = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1, 4), InetAddressPrefixLength()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMobNetPfxLen.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetPfxLen.setDescription('Prefix length associated with the mobile network ip address.')
cmiMrMobNetStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 3, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrMobNetStatus.setStatus('current')
if mibBuilder.loadTexts: cmiMrMobNetStatus.setDescription('The row status for the mobile network entry.')
cmiMrHaTunnelIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 4), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrHaTunnelIfIndex.setStatus('current')
if mibBuilder.loadTexts: cmiMrHaTunnelIfIndex.setDescription('The ifIndex value from Interfaces table of MIB II for the tunnel interface (to HA) of the mobile router.')
cmiMrHATable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 5), )
if mibBuilder.loadTexts: cmiMrHATable.setStatus('current')
if mibBuilder.loadTexts: cmiMrHATable.setDescription('A table containing additional parameters related to a home agent beyond that provided by MIP MIB mnHATable.')
cmiMrHAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 5, 1), )
mnHAEntry.registerAugmentions(("CISCO-MOBILE-IP-MIB", "cmiMrHAEntry"))
cmiMrHAEntry.setIndexNames(*mnHAEntry.getIndexNames())
if mibBuilder.loadTexts: cmiMrHAEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMrHAEntry.setDescription('Additional information about a particular entry in the mnHATable beyond that provided by MIP MIB mnHAEntry.')
cmiMrHAPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(100)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrHAPriority.setStatus('current')
if mibBuilder.loadTexts: cmiMrHAPriority.setDescription('The priority for this home agent.')
cmiMrHABest = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 5, 1, 2), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrHABest.setStatus('current')
if mibBuilder.loadTexts: cmiMrHABest.setDescription('Indicates whether this home agent is the best (in terms of the priority or the configuration time, when multiple home agents have the same priority) or not. When it is true, the mobile router will try to register with this home agent first.')
cmiMrIfTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6), )
if mibBuilder.loadTexts: cmiMrIfTable.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfTable.setDescription('A table containing roaming/solicitation parameters for all roaming interfaces on the mobile router.')
cmiMrIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiMrIfIndex"))
if mibBuilder.loadTexts: cmiMrIfEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfEntry.setDescription('Roaming/solicitation parameters for one interface.')
cmiMrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: cmiMrIfIndex.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfIndex.setDescription('The ifIndex value from Interfaces table of MIB II for an interface on the Mobile router.')
cmiMRIfDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 2), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMRIfDescription.setStatus('current')
if mibBuilder.loadTexts: cmiMRIfDescription.setDescription('Description of the access type for the mobile router interface.')
cmiMrIfHoldDown = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600))).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfHoldDown.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfHoldDown.setDescription('Waiting time after which mobile router registers to agents heard on this interface.')
cmiMrIfRoamPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(100)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfRoamPriority.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRoamPriority.setDescription('The priority value used to select an interface among multiple interfaces to send registration request.')
cmiMrIfSolicitPeriodic = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfSolicitPeriodic.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitPeriodic.setDescription('Specifies whether periodic agent solicitation is enabled or not. If this object is set to true(1), the mobile router will send solicitations on this interface periodically according to other configured parameters.')
cmiMrIfSolicitInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(600)).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfSolicitInterval.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitInterval.setDescription('The time interval after which a solicitation has to be sent once an agent advertisement is heard on the interface.')
cmiMrIfSolicitRetransInitial = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 10000)).clone(1000)).setUnits('milliseconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransInitial.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransInitial.setDescription('The wait period before first retransmission of a solicitation when no agent advertisement is heard.')
cmiMrIfSolicitRetransMax = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 10000)).clone(5000)).setUnits('milliseconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransMax.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransMax.setDescription('This value specifies the maximum limit for the solicitation retransmission timeout. For each successive solicit message retransmission timeout period is twice the previous period.')
cmiMrIfSolicitRetransLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransLimit.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransLimit.setDescription('The maximum number of solicitation retransmissions allowed.')
cmiMrIfSolicitRetransCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 10000))).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransCurrent.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransCurrent.setDescription('Current retransmission interval.')
cmiMrIfSolicitRetransRemaining = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 11), Gauge32()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransRemaining.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransRemaining.setDescription('Time remaining before the current retransmission interval expires.')
cmiMrIfSolicitRetransCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfSolicitRetransCount.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfSolicitRetransCount.setDescription('The number of retransmissions of the solicitation.')
cmiMrIfCCoaAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 13), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfCCoaAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaAddressType.setDescription('Represents the type of IP address stored in cmiMrIfCCoaAddress.')
cmiMrIfCCoaAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 14), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfCCoaAddress.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaAddress.setDescription('Interface address to be used as a collocated care-of IP address. Currently, the primary interface IP address is used as the CCoA.')
cmiMrIfCCoaDefaultGwType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 15), InetAddressType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfCCoaDefaultGwType.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaDefaultGwType.setDescription('Represents the type of IP address stored in cmiMrIfCCoaDefaultGw.')
cmiMrIfCCoaDefaultGw = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 16), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfCCoaDefaultGw.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaDefaultGw.setDescription('Gateway IP address to be used with CCoA registrations on an interface other than serial interface with a static (fixed) IP address.')
cmiMrIfCCoaRegRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(60)).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfCCoaRegRetry.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaRegRetry.setDescription('Time to wait between successive registration attempts after CCoA registration failure.')
cmiMrIfCCoaRegRetryRemaining = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 18), Gauge32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfCCoaRegRetryRemaining.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaRegRetryRemaining.setDescription('Time remaining before the current CCoA registration retry interval expires.')
cmiMrIfStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 19), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfStatus.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfStatus.setDescription('The row status for this table.')
cmiMrIfCCoaRegistration = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 20), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfCCoaRegistration.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaRegistration.setDescription("This indicates the type of registraton mobile router will currently attempt on this interface. If cmiMrIfCCoaRegistration is false, the mobile router will attempt to register through a foreign agent. If cmiMrIfCCoaRegistration is true, the mobile router will attempt CCoA registration. cmiMrIfCCoaRegistration will be true when cmiMrIfCCoaOnly is set to true. cmiMrIfCCoaRegistration will also be true when cmiMrIfCCoaOnly is set to 'false' and foreign agent advertisements are not heard on the interface.")
cmiMrIfCCoaOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 21), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfCCoaOnly.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaOnly.setDescription("This specifies whether 'ccoa-only' state is enabled or not on this mobile router interface. When this variable is set to true, mobile router will attempt to register directly using a CCoA and will not attempt foreign agent registrations even if foreign agent advertisements are heard on this interface. When set to false, the mobile router will attempt to register via a foreign agent whenever foreign agent advertisements are heard. When foreign agent advertisements are not heard, then the interface will attempt CCoA registration.")
cmiMrIfCCoaEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 22), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMrIfCCoaEnable.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfCCoaEnable.setDescription('This enables CCoA registrations on the mobile router interface. When this object is set to false, the mobile router will attempt only foreign agent registrations on this interface. When this object is set to true, the interface is enabled for CCoA registration. Depending on the value of the cmiMrIfCCoaOnly object, the mobile router may register with a CCoA or with a foreign agent.')
cmiMrIfRoamStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 23), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfRoamStatus.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRoamStatus.setDescription('Indicates whether the mobile router is currently registered through this interface.')
cmiMrIfRegisteredCoAType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 24), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfRegisteredCoAType.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRegisteredCoAType.setDescription('Represents the type of address stored in cmiMrIfRegisteredCoA.')
cmiMrIfRegisteredCoA = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 25), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfRegisteredCoA.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRegisteredCoA.setDescription('Represents the care-of address registered by the mobile router through this interface. This will be zero when the mobile router is at home or not registered. If the registration is through a foreign agent, this contains the foreign agent care-of address. If the registration uses a collocated care-of address, this contains the collocated care-of address.')
cmiMrIfRegisteredMaAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 26), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfRegisteredMaAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRegisteredMaAddrType.setDescription('Represents the type of address stored in cmiMrIfRegisteredMaAddr.')
cmiMrIfRegisteredMaAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 27), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfRegisteredMaAddr.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfRegisteredMaAddr.setDescription('Represents the address of the mobility agent through which this mobile router interface is registered. It contains the home agent address if registered using a collocated care-of address. It contains the foreign agent address if registered through a foreign agent. It is zero when the mobile router is at home or not registered.')
cmiMrIfHaTunnelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 28), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfHaTunnelIfIndex.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfHaTunnelIfIndex.setDescription('The ifIndex value from Interfaces table of MIB II for the tunnel interface (to home agent) of the mobile router through this roaming interface.')
cmiMrIfID = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 6, 1, 29), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrIfID.setStatus('current')
if mibBuilder.loadTexts: cmiMrIfID.setDescription('A unique number identifying the roaming interface. This is also used as an unique identifier for the tunnel between home agent and mobile router.')
cmiMrBetterIfDetected = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrBetterIfDetected.setStatus('current')
if mibBuilder.loadTexts: cmiMrBetterIfDetected.setDescription('Number of times that the mobile router has detected a better interface.')
cmiMrTunnelPktsRcvd = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrTunnelPktsRcvd.setStatus('current')
if mibBuilder.loadTexts: cmiMrTunnelPktsRcvd.setDescription('Number of packets received on the MR-HA tunnel.')
cmiMrTunnelPktsSent = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrTunnelPktsSent.setStatus('current')
if mibBuilder.loadTexts: cmiMrTunnelPktsSent.setDescription('Number of packets sent through the MR-HA tunnel.')
cmiMrTunnelBytesRcvd = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrTunnelBytesRcvd.setStatus('current')
if mibBuilder.loadTexts: cmiMrTunnelBytesRcvd.setDescription('Number of bytes received on the MR-HA tunnel.')
cmiMrTunnelBytesSent = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrTunnelBytesSent.setStatus('current')
if mibBuilder.loadTexts: cmiMrTunnelBytesSent.setDescription('Number of bytes sent through the MR-HA tunnel.')
cmiMrRedStateActive = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrRedStateActive.setStatus('current')
if mibBuilder.loadTexts: cmiMrRedStateActive.setDescription('Number of times the redundancy state of the mobile router changed to active.')
cmiMrRedStatePassive = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrRedStatePassive.setStatus('current')
if mibBuilder.loadTexts: cmiMrRedStatePassive.setDescription('Number of times the redundancy state of the mobile router changed to passive.')
cmiMrCollocatedTunnel = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("single", 1), ("double", 2))).clone('single')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrCollocatedTunnel.setStatus('current')
if mibBuilder.loadTexts: cmiMrCollocatedTunnel.setDescription('This indicates whether a single tunnel or dual tunnels will be created between MR and HA when the mobile router registers with a CCoA.')
cmiMrMultiPath = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 15), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrMultiPath.setStatus('current')
if mibBuilder.loadTexts: cmiMrMultiPath.setDescription('Specifies whether multiple path is enabled on the mobile router or not.')
cmiMrMultiPathMetricType = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 3, 16), CmiMultiPathMetricType().clone('bandwidth')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrMultiPathMetricType.setStatus('current')
if mibBuilder.loadTexts: cmiMrMultiPathMetricType.setDescription('Specifies the metric to use when multiple path is enabled on the mobile router.')
cmiMrMaAdvTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1), )
if mibBuilder.loadTexts: cmiMrMaAdvTable.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvTable.setDescription('A table with information related to all the agent advertisements heard by the mobile router.')
cmiMrMaAdvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiMrMaAddressType"), (0, "CISCO-MOBILE-IP-MIB", "cmiMrMaAddress"))
if mibBuilder.loadTexts: cmiMrMaAdvEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvEntry.setDescription('Information related to a single agent advertisement.')
cmiMrMaAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 1), InetAddressType())
if mibBuilder.loadTexts: cmiMrMaAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAddressType.setDescription('Represents the type of IP address stored in cmiMrMaAddress. Only IPv4 address type is supported.')
cmiMrMaAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), )))
if mibBuilder.loadTexts: cmiMrMaAddress.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAddress.setDescription('IP address of the mobile agent from which the advertisement was received. Only IPv4 addresses are supported.')
cmiMrMaIsHa = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 3), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaIsHa.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaIsHa.setDescription("Indicates whether the mobile agent is a home agent for the mobile router or not. If true, it means that the agent is one of the mobile router's configured home agents.")
cmiMrMaAdvRcvIf = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 4), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvRcvIf.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvRcvIf.setDescription('The ifIndex value from Interfaces table of MIB II for the interface of mobile router on which the advertisement from the mobile agent was received.')
cmiMrMaIfMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 5), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaIfMacAddress.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaIfMacAddress.setDescription('Mobile agent advertising interface MAC address.')
cmiMrMaAdvSequence = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvSequence.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvSequence.setDescription('The sequence number of the most recently received agent advertisement. The sequence number ranges from 0 to 0xffff. After the sequence number attains the value 0xffff, it will roll over to 256.')
cmiMrMaAdvFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 7), Bits().clone(namedValues=NamedValues(("reverseTunnel", 0), ("gre", 1), ("minEnc", 2), ("foreignAgent", 3), ("homeAgent", 4), ("busy", 5), ("regRequired", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvFlags.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvFlags.setDescription('The flags contained in the 7th byte in the extension of the most recently received mobility agent advertisement: reverseTunnel, -- Agent supports reverse tunneling gre, -- Agent offers Generic Routing Encapsulation minEnc, -- Agent offers Minimal Encapsulation foreignAgent, -- Agent is a Foreign Agent homeAgent, -- Agent is a Home Agent busy, -- Foreign Agent is busy regRequired -- FA registration is required.')
cmiMrMaAdvMaxRegLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvMaxRegLifetime.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvMaxRegLifetime.setDescription('The longest registration lifetime in seconds that the agent is willing to accept in any registration request.')
cmiMrMaAdvMaxLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvMaxLifetime.setReference('AdvertisementLifeTime in RFC1256.')
if mibBuilder.loadTexts: cmiMrMaAdvMaxLifetime.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvMaxLifetime.setDescription('The maximum length of time that the Advertisement is considered valid in the absence of further Advertisements.')
cmiMrMaAdvLifetimeRemaining = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 10), Gauge32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvLifetimeRemaining.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvLifetimeRemaining.setDescription('The time remaining for the advertisement lifetime expiration.')
cmiMrMaAdvTimeReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 11), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvTimeReceived.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvTimeReceived.setDescription('The time at which the most recently received advertisement was received.')
cmiMrMaAdvTimeFirstHeard = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 12), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaAdvTimeFirstHeard.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaAdvTimeFirstHeard.setDescription('The time at which the first Advertisement from the mobile agent was received.')
cmiMrMaHoldDownRemaining = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 4, 1, 1, 13), Gauge32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrMaHoldDownRemaining.setStatus('current')
if mibBuilder.loadTexts: cmiMrMaHoldDownRemaining.setDescription('The time remaining for the hold down period expiration.')
cmiMrRegExtendExpire = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegExtendExpire.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegExtendExpire.setDescription('Time in seconds before lifetime expiration to send registration request.')
cmiMrRegExtendRetry = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegExtendRetry.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegExtendRetry.setDescription('The number of retries to be sent.')
cmiMrRegExtendInterval = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegExtendInterval.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegExtendInterval.setDescription('Time after which the mobile router is to send another registration request when no reply is received.')
cmiMrRegLifetime = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(3, 65535))).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegLifetime.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegLifetime.setDescription('The requested lifetime in registration requests.')
cmiMrRegRetransInitial = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 10000))).setUnits('milli-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegRetransInitial.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegRetransInitial.setDescription('Time to wait before retransmission for the first time when no reply is received.')
cmiMrRegRetransMax = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 10000))).setUnits('milli-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegRetransMax.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegRetransMax.setDescription('Maximum retransmission time allowed.')
cmiMrRegRetransLimit = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiMrRegRetransLimit.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegRetransLimit.setDescription('The maximum number of retransmissions allowed.')
cmiMrRegNewHa = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 5, 5, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMrRegNewHa.setStatus('current')
if mibBuilder.loadTexts: cmiMrRegNewHa.setDescription('The number of times MR registers with a different HA due to changes in HA / HA priority.')
cmiTrapControl = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 1), Bits().clone(namedValues=NamedValues(("cmiMrStateChangeTrap", 0), ("cmiMrCoaChangeTrap", 1), ("cmiMrNewMATrap", 2), ("cmiHaMnRegFailedTrap", 3), ("cmiHaMaxBindingsNotif", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cmiTrapControl.setStatus('current')
if mibBuilder.loadTexts: cmiTrapControl.setDescription("An object to turn Mobile IP notification generation on and off. Setting a notification type's bit to 1 enables generation of notifications of that type, subject to further filtering resulting from entries in the snmpNotificationMIB. Setting the bit to 0 disables generation of notifications of that type.")
cmiNtRegCOAType = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 3), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegCOAType.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegCOAType.setDescription('Represents the type of the address stored in cmiHaRegMnCOA.')
cmiNtRegCOA = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 4), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegCOA.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegCOA.setDescription("The Mobile Node's Care-of address.")
cmiNtRegHAAddrType = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 5), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegHAAddrType.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegHAAddrType.setDescription('Represents the type of the address stored in cmiHaRegMnHa.')
cmiNtRegHomeAgent = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 6), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegHomeAgent.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegHomeAgent.setDescription("The Mobile Node's Home Agent address.")
cmiNtRegHomeAddressType = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 7), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegHomeAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegHomeAddressType.setDescription('Represents the type of the address stored in cmiHaRegRecentHomeAddress.')
cmiNtRegHomeAddress = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 8), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegHomeAddress.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegHomeAddress.setDescription('Home (IP) address of visiting mobile node.')
cmiNtRegNAI = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegNAI.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegNAI.setDescription('The identifier associated with the mobile node.')
cmiNtRegDeniedCode = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 6, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139))).clone(namedValues=NamedValues(("reasonUnspecified", 128), ("admProhibited", 129), ("insufficientResource", 130), ("mnAuthenticationFailure", 131), ("faAuthenticationFailure", 132), ("idMismatch", 133), ("poorlyFormedRequest", 134), ("tooManyBindings", 135), ("unknownHA", 136), ("reverseTunnelUnavailable", 137), ("reverseTunnelBitNotSet", 138), ("encapsulationUnavailable", 139)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiNtRegDeniedCode.setStatus('current')
if mibBuilder.loadTexts: cmiNtRegDeniedCode.setDescription('The Code indicating the reason why the most recent Registration Request for this mobile node was rejected by the home agent.')
ciscoMobileIpMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 0))
cmiMrStateChange = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 174, 0, 1)).setObjects(("MIP-MIB", "mnState"))
if mibBuilder.loadTexts: cmiMrStateChange.setStatus('current')
if mibBuilder.loadTexts: cmiMrStateChange.setDescription('The Mobile Router state change notification. This notification is sent when the Mobile Router has undergone a state change from its previous state of Mobile IP. Generation of this notification is controlled by the cmiTrapControl object.')
cmiMrCoaChange = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 174, 0, 2)).setObjects(("MIP-MIB", "mnRegCOA"), ("MIP-MIB", "mnRegAgentAddress"))
if mibBuilder.loadTexts: cmiMrCoaChange.setStatus('current')
if mibBuilder.loadTexts: cmiMrCoaChange.setDescription('The Mobile Router care-of-address change notification. This notification is sent when the Mobile Router has changed its care-of-address. Generation of this notification is controlled by the cmiTrapControl object.')
cmiMrNewMA = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 174, 0, 3)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrMaIsHa"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvFlags"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvRcvIf"))
if mibBuilder.loadTexts: cmiMrNewMA.setStatus('current')
if mibBuilder.loadTexts: cmiMrNewMA.setDescription('The Mobile Router new agent discovery notification. This notification is sent when the Mobile Router has heard an agent advertisement from a new mobile agent. Generation of this notification is controlled by the cmiTrapControl object.')
cmiHaMnRegReqFailed = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 174, 0, 4)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiNtRegCOAType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegCOA"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHAAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAgent"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegNAI"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegDeniedCode"))
if mibBuilder.loadTexts: cmiHaMnRegReqFailed.setStatus('current')
if mibBuilder.loadTexts: cmiHaMnRegReqFailed.setDescription('The MN registration request failed notification. This notification is sent when the registration request from MN is rejected by Home Agent.')
cmiHaMaxBindingsNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 174, 0, 5)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaMaximumBindings"))
if mibBuilder.loadTexts: cmiHaMaxBindingsNotif.setStatus('current')
if mibBuilder.loadTexts: cmiHaMaxBindingsNotif.setDescription('This notification is generated when the registration request from an MN is rejected by the home agent, and the total number of registrations on the home agent has already reached the maximum number of allowed bindings represented by cmiHaMaximumBindings.')
cmiMaAdvConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1), )
if mibBuilder.loadTexts: cmiMaAdvConfigTable.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvConfigTable.setDescription('A table containing configurable advertisement parameters for all advertisement interfaces in the mobility agent.')
cmiMaAdvConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1), ).setIndexNames((0, "CISCO-MOBILE-IP-MIB", "cmiMaAdvInterfaceIndex"))
if mibBuilder.loadTexts: cmiMaAdvConfigEntry.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvConfigEntry.setDescription('Advertisement parameters for one advertisement interface.')
cmiMaAdvInterfaceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: cmiMaAdvInterfaceIndex.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvInterfaceIndex.setDescription('The ifIndex value from Interfaces table of MIB II for the interface which is advertising.')
cmiMaInterfaceAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 2), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMaInterfaceAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiMaInterfaceAddressType.setDescription('Represents the type of IP address stored in cmiMaInterfaceAddress.')
cmiMaInterfaceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 3), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cmiMaInterfaceAddress.setStatus('current')
if mibBuilder.loadTexts: cmiMaInterfaceAddress.setDescription('IP address for advertisement interface.')
cmiMaAdvMaxRegLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(3, 65535)).clone(36000)).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvMaxRegLifetime.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvMaxRegLifetime.setDescription('The longest lifetime in seconds that mobility agent is willing to accept in any registration request.')
cmiMaAdvPrefixLengthInclusion = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvPrefixLengthInclusion.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvPrefixLengthInclusion.setDescription('Whether the advertisement should include the Prefix- Lengths Extension. If it is true, all advertisements sent over this interface should include the Prefix-Lengths Extension.')
cmiMaAdvAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 6), InetAddressType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvAddressType.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvAddressType.setDescription('Represents the type of IP address stored in cmiMaAdvAddress.')
cmiMaAdvAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 7), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvAddress.setReference('AdvertisementAddress in RFC1256.')
if mibBuilder.loadTexts: cmiMaAdvAddress.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvAddress.setDescription('The IP destination address to be used for advertisements sent from the interface. The only permissible values are the all-systems multicast address (224.0.0.1) or the limited-broadcast address (255.255.255.255). Default value is 224.0.0.1 if the router supports IP multicast on the interface, else 255.255.255.255')
cmiMaAdvMaxInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4, 1800), ))).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvMaxInterval.setReference('MaxAdvertisementInterval in RFC1256.')
if mibBuilder.loadTexts: cmiMaAdvMaxInterval.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvMaxInterval.setDescription('The maximum time in seconds between successive transmissions of Agent Advertisements from this interface. The default value will be 600 seconds for an interface which uses IEEE 802 style headers and for ATM interface. In other cases, default value will be zero.')
cmiMaAdvMinInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(3, 1800), ))).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvMinInterval.setReference('MinAdvertisementInterval in RFC1256.')
if mibBuilder.loadTexts: cmiMaAdvMinInterval.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvMinInterval.setDescription('The minimum time in seconds between successive transmissions of Agent Advertisements from this interface. Default value is 0.75 * cmiMaAdvMaxInterval.')
cmiMaAdvMaxAdvLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4, 9000), ))).setUnits('seconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvMaxAdvLifetime.setReference('AdvertisementLifetime in RFC1256.')
if mibBuilder.loadTexts: cmiMaAdvMaxAdvLifetime.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvMaxAdvLifetime.setDescription('The time (in seconds) to be placed in the Lifetime field of the RFC 1256-portion of the Agent Advertisements sent over this interface. Default value is 3 * cmiMaAdvMaxInterval.')
cmiMaAdvResponseSolicitationOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 11), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvResponseSolicitationOnly.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvResponseSolicitationOnly.setDescription('The flag indicates whether the advertisement from that interface should be sent only in response to an Agent Solicitation message. This value depends upon cmiMaAdvMaxInterval. If cmiMaAdvMaxInterval is zero, this value will be set to true. If this is set to True, then cmiMaAdvMaxInterval will be set to zero.')
cmiMaAdvStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 174, 1, 4, 2, 1, 1, 12), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cmiMaAdvStatus.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvStatus.setDescription("The row status for the agent advertisement table. If this column status is 'active', the manager should not change any column in the row. Only cmiMaAdvInterfaceIndex is mandatory for creating a new row. The interface should already exist.")
ciscoMobileIpMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 3))
ciscoMobileIpCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1))
ciscoMobileIpGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2))
ciscoMobileIpCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 1)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpCompliance = ciscoMobileIpCompliance.setStatus('obsolete')
if mibBuilder.loadTexts: ciscoMobileIpCompliance.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB. Superseded by ciscoMobileIPComplianceV12R02.')
ciscoMobileIpComplianceV12R02 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 2)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R02 = ciscoMobileIpComplianceV12R02.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R02.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB. Superseded by ciscoMobileIPComplianceV12R03.')
ciscoMobileIpComplianceV12R03 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 3)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R03 = ciscoMobileIpComplianceV12R03.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R03.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB. Superseded by ciscoMobileIPComplianceV12R03r1')
ciscoMobileIpComplianceV12R03r1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 4)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R03r1 = ciscoMobileIpComplianceV12R03r1.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R03r1.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R04 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 5)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R04 = ciscoMobileIpComplianceV12R04.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R04.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R05 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 6)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R05 = ciscoMobileIpComplianceV12R05.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R05.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R06 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 7)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R06 = ciscoMobileIpComplianceV12R06.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R06.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R07 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 8)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R07 = ciscoMobileIpComplianceV12R07.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R07.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R08 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 9)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R08 = ciscoMobileIpComplianceV12R08.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R08.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R09 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 10)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R09 = ciscoMobileIpComplianceV12R09.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R09.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R10 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 11)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroupSup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R10 = ciscoMobileIpComplianceV12R10.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R10.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceV12R11 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 12)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroupSup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceV12R11 = ciscoMobileIpComplianceV12R11.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceV12R11.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 13)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaSystemGroupV1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroupSup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceRev1 = ciscoMobileIpComplianceRev1.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpComplianceRev1.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpComplianceRev2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 1, 14)).setObjects(("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaSystemGroupV1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRedunGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecAssocGroupV12R02"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpSecViolationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMaRegGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpFaSystemGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMnRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaMobNetGroupSup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrSystemGroupV3Sup1"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrDiscoveryGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrRegistrationGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpTrapObjectsGroupV2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpMrNotificationGroupV2"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvertisementGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegGroupV12R03r2Sup2"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegIntervalStatsGroup"), ("CISCO-MOBILE-IP-MIB", "ciscoMobileIpHaRegTunnelStatsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpComplianceRev2 = ciscoMobileIpComplianceRev2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpComplianceRev2.setDescription('The compliance statement for management entities which implement the Cisco Mobile IP MIB.')
ciscoMobileIpFaRegGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 1)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRegTotalVisitors"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaRegGroup = ciscoMobileIpFaRegGroup.setStatus('obsolete')
if mibBuilder.loadTexts: ciscoMobileIpFaRegGroup.setDescription('A collection of objects providing management information for the registration function within a foreign agent. Superseded by ciscoMobileIpFaRegGroupV12R02.')
ciscoMobileIpHaRegGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 2)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroup = ciscoMobileIpHaRegGroup.setStatus('obsolete')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroup.setDescription('A collection of objects providing management information for the registration function within a home agent. Superseded by ciscoMobileIpHaRegGroupV12R02.')
ciscoMobileIpFaRegGroupV12R02 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 3)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRegTotalVisitors"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAgentAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeGranted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegFlags"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDLow"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDHigh"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIsAccepted"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaRegGroupV12R02 = ciscoMobileIpFaRegGroupV12R02.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpFaRegGroupV12R02.setDescription('A collection of objects providing management information for the registration function within a foreign agent. Superseded by ciscoMobileIpFaRegGroupV12R03.')
ciscoMobileIpHaRegGroupV12R02 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 4)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifierType"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifier"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServAcceptedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServDeniedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegOverallServTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServAcceptedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedCode"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcLocRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcLocInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcLoc"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcLocInLastMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcByAAARegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcByAAAInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcAAAInLastByMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegAvgTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxTimeRegsProcByAAA"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R02 = ciscoMobileIpHaRegGroupV12R02.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R02.setDescription('A collection of objects providing management information for the registration function within a home agent. Superseded by ciscoMobileIpHaRegGroupV12R03.')
ciscoMobileIpFaRegGroupV12R03 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 9)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRegTotalVisitors"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAgentAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeGranted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegFlags"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDLow"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDHigh"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidRelayMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidRelayToMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidRelayToMN"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaRegGroupV12R03 = ciscoMobileIpFaRegGroupV12R03.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpFaRegGroupV12R03.setDescription('A collection of objects providing management information for the registration function within a foreign agent. Superseded by ciscoMobileIpFaRegGroupV12R03r1')
ciscoMobileIpHaRegGroupV12R03 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 10)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifierType"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifier"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServAcceptedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServDeniedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegOverallServTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServAcceptedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedCode"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcLocRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcLocInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcLoc"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcLocInLastMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcByAAARegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcByAAAInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcAAAInLastByMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegAvgTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaEncapUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaNAICheckFailures"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDiscarded"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R03 = ciscoMobileIpHaRegGroupV12R03.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R03.setDescription('A collection of objects providing management information for the registration function within a home agent. Superseded by ciscoMobileIpHaRegGroupV12R03r1')
ciscoMobileIpSecAssocGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 6)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiSecAssocsCount"), ("CISCO-MOBILE-IP-MIB", "cmiSecAlgorithmType"), ("CISCO-MOBILE-IP-MIB", "cmiSecAlgorithmMode"), ("CISCO-MOBILE-IP-MIB", "cmiSecKey"), ("CISCO-MOBILE-IP-MIB", "cmiSecReplayMethod"), ("CISCO-MOBILE-IP-MIB", "cmiSecStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpSecAssocGroup = ciscoMobileIpSecAssocGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpSecAssocGroup.setDescription('A collection of objects providing the management information for security associations of Mobile IP entities. Superseded by ciscoMobileIpSecAssocGroupV12R02')
ciscoMobileIpHaRedunGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 5)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRedunSentBUs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunFailedBUs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunReceivedBUAcks"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunTotalSentBUs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunReceivedBUs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunSentBUAcks"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunSentBIReqs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunFailedBIReqs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunTotalSentBIReqs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunReceivedBIReps"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunDroppedBIReps"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunSentBIAcks"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunReceivedBIReqs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunSentBIReps"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunFailedBIReps"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunTotalSentBIReps"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunReceivedBIAcks"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunDroppedBIAcks"), ("CISCO-MOBILE-IP-MIB", "cmiHaRedunSecViolations"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRedunGroup = ciscoMobileIpHaRedunGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRedunGroup.setDescription('A collection of objects providing management information for the redundancy function within a home agent.')
ciscoMobileIpSecViolationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 7)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiSecTotalViolations"), ("CISCO-MOBILE-IP-MIB", "cmiSecRecentViolationSPI"), ("CISCO-MOBILE-IP-MIB", "cmiSecRecentViolationTime"), ("CISCO-MOBILE-IP-MIB", "cmiSecRecentViolationIDLow"), ("CISCO-MOBILE-IP-MIB", "cmiSecRecentViolationIDHigh"), ("CISCO-MOBILE-IP-MIB", "cmiSecRecentViolationReason"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpSecViolationGroup = ciscoMobileIpSecViolationGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpSecViolationGroup.setDescription('A collection of objects providing the management information for security violation logging of Mobile IP entities.')
ciscoMobileIpMaRegGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 8)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMaRegMaxInMinuteRegs"), ("CISCO-MOBILE-IP-MIB", "cmiMaRegDateMaxRegsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiMaRegInLastMinuteRegs"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMaRegGroup = ciscoMobileIpMaRegGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMaRegGroup.setDescription('A collection of objects providing the management information for the registration function within a mobility agent.')
ciscoMobileIpFaRegGroupV12R03r1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 11)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRegTotalVisitors"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAgentAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeGranted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDLow"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDHigh"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegFlagsRev1"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorChallengeValue"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidRelayMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidRelayToMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidRelayToMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaReverseTunnelUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiFaReverseTunnelBitNotSet"), ("CISCO-MOBILE-IP-MIB", "cmiFaMnTooDistant"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeliveryStyleUnsupported"), ("CISCO-MOBILE-IP-MIB", "cmiFaUnknownChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaMissingChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaStaleChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaCvsesFromMnRejected"), ("CISCO-MOBILE-IP-MIB", "cmiFaCvsesFromHaRejected"), ("CISCO-MOBILE-IP-MIB", "cmiFaNvsesFromMnNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiFaNvsesFromHaNeglected"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaRegGroupV12R03r1 = ciscoMobileIpFaRegGroupV12R03r1.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpFaRegGroupV12R03r1.setDescription('A collection of objects providing management information for the registration function within a foreign agent.')
ciscoMobileIpHaRegGroupV12R03r1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 12)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifierType"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifier"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMobilityBindingRegFlags"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServAcceptedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServDeniedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegOverallServTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServAcceptedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedCode"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcLocRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcLocInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcLoc"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcLocInLastMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcByAAARegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcByAAAInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcAAAInLastByMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegAvgTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaEncapUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaNAICheckFailures"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaReverseTunnelUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaReverseTunnelBitNotSet"), ("CISCO-MOBILE-IP-MIB", "cmiHaEncapsulationUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaCvsesFromMnRejected"), ("CISCO-MOBILE-IP-MIB", "cmiHaCvsesFromFaRejected"), ("CISCO-MOBILE-IP-MIB", "cmiHaNvsesFromMnNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiHaNvsesFromFaNeglected"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R03r1 = ciscoMobileIpHaRegGroupV12R03r1.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R03r1.setDescription('A collection of objects providing management information for the registration function within a home agent.')
ciscoMobileIpFaAdvertisementGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 13)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaAdvertIsBusy"), ("CISCO-MOBILE-IP-MIB", "cmiFaAdvertRegRequired"), ("CISCO-MOBILE-IP-MIB", "cmiFaAdvertChallengeWindow"), ("CISCO-MOBILE-IP-MIB", "cmiFaAdvertChallengeValue"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaAdvertisementGroup = ciscoMobileIpFaAdvertisementGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpFaAdvertisementGroup.setDescription('A collection of objects providing supplemental management information for the Agent Advertisement function within a foreign agent.')
ciscoMobileIpFaSystemGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 14)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRevTunnelSupported"), ("CISCO-MOBILE-IP-MIB", "cmiFaChallengeSupported"), ("CISCO-MOBILE-IP-MIB", "cmiFaEncapDeliveryStyleSupported"), ("CISCO-MOBILE-IP-MIB", "cmiFaReverseTunnelEnable"), ("CISCO-MOBILE-IP-MIB", "cmiFaChallengeEnable"), ("CISCO-MOBILE-IP-MIB", "cmiFaAdvertChallengeChapSPI"), ("CISCO-MOBILE-IP-MIB", "cmiFaCoaInterfaceOnly"), ("CISCO-MOBILE-IP-MIB", "cmiFaCoaTransmitOnly"), ("CISCO-MOBILE-IP-MIB", "cmiFaCoaRegAsymLink"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaSystemGroup = ciscoMobileIpFaSystemGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpFaSystemGroup.setDescription('A collection of objects providing the supporting/ enabled feature information within a foreign agent.')
ciscoMobileIpMnDiscoveryGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 15)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMnAdvFlags"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMnDiscoveryGroup = ciscoMobileIpMnDiscoveryGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMnDiscoveryGroup.setDescription('Group which supports the recently changed Adv Flag')
ciscoMobileIpMnRegistrationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 16)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMnRegFlags"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMnRegistrationGroup = ciscoMobileIpMnRegistrationGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMnRegistrationGroup.setDescription('Group having information about Mn registration')
ciscoMobileIpHaMobNetGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 17)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaMrDynamic"), ("CISCO-MOBILE-IP-MIB", "cmiHaMrStatus"), ("CISCO-MOBILE-IP-MIB", "cmiHaMobNetDynamic"), ("CISCO-MOBILE-IP-MIB", "cmiHaMobNetStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaMobNetGroup = ciscoMobileIpHaMobNetGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaMobNetGroup.setDescription('A collection of objects providing the management information related to mobile networks in a home agent.')
ciscoMobileIpMrSystemGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 18)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrReverseTunnel"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedundancyGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddr"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetPfxLen"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrHaTunnelIfIndex"), ("CISCO-MOBILE-IP-MIB", "cmiMrHAPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrHABest"), ("CISCO-MOBILE-IP-MIB", "cmiMRIfDescription"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfHoldDown"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRoamPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitPeriodic"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransInitial"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransMax"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransLimit"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCurrent"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCount"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGwType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGw"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetry"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetryRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrBetterIfDetected"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStateActive"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStatePassive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrSystemGroup = ciscoMobileIpMrSystemGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpMrSystemGroup.setDescription('A collection of objects providing the management information in a mobile router.')
ciscoMobileIpMrDiscoveryGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 19)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrMaIsHa"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvRcvIf"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaIfMacAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvSequence"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvFlags"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvMaxRegLifetime"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvMaxLifetime"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvLifetimeRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvTimeReceived"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaAdvTimeFirstHeard"), ("CISCO-MOBILE-IP-MIB", "cmiMrMaHoldDownRemaining"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrDiscoveryGroup = ciscoMobileIpMrDiscoveryGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrDiscoveryGroup.setDescription('A collection of objects providing the management information for the agent discovery function in a mobile router.')
ciscoMobileIpMrRegistrationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 20)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrRegExtendExpire"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegExtendRetry"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegExtendInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegLifetime"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegRetransInitial"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegRetransMax"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegRetransLimit"), ("CISCO-MOBILE-IP-MIB", "cmiMrRegNewHa"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrRegistrationGroup = ciscoMobileIpMrRegistrationGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrRegistrationGroup.setDescription('A collection of objects providing the management information for the registration function within a mobile router.')
ciscoMobileIpTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 21)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiTrapControl"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpTrapObjectsGroup = ciscoMobileIpTrapObjectsGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpTrapObjectsGroup.setDescription('A collection of objects providing the management information related to notifications in Mobile IP entities.')
ciscoMobileIpMrNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 22)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrStateChange"), ("CISCO-MOBILE-IP-MIB", "cmiMrCoaChange"), ("CISCO-MOBILE-IP-MIB", "cmiMrNewMA"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrNotificationGroup = ciscoMobileIpMrNotificationGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpMrNotificationGroup.setDescription('Group of notifications on a Mobile Router.')
ciscoMobileIpSecAssocGroupV12R02 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 23)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiSecAssocsCount"), ("CISCO-MOBILE-IP-MIB", "cmiSecAlgorithmType"), ("CISCO-MOBILE-IP-MIB", "cmiSecAlgorithmMode"), ("CISCO-MOBILE-IP-MIB", "cmiSecReplayMethod"), ("CISCO-MOBILE-IP-MIB", "cmiSecStatus"), ("CISCO-MOBILE-IP-MIB", "cmiSecKey2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpSecAssocGroupV12R02 = ciscoMobileIpSecAssocGroupV12R02.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpSecAssocGroupV12R02.setDescription('A collection of objects providing the management information for security associations of Mobile IP entities.')
cmiMaAdvertisementGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 24)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMaInterfaceAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMaInterfaceAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvMaxRegLifetime"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvPrefixLengthInclusion"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvMaxInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvMinInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvMaxAdvLifetime"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvResponseSolicitationOnly"), ("CISCO-MOBILE-IP-MIB", "cmiMaAdvStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cmiMaAdvertisementGroup = cmiMaAdvertisementGroup.setStatus('current')
if mibBuilder.loadTexts: cmiMaAdvertisementGroup.setDescription('A collection of objects providing management information for the Agent Advertisement function within mobility agents.')
ciscoMobileIpMrSystemGroupV1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 25)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrReverseTunnel"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedundancyGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddr"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetPfxLen"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrHaTunnelIfIndex"), ("CISCO-MOBILE-IP-MIB", "cmiMrHAPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrHABest"), ("CISCO-MOBILE-IP-MIB", "cmiMRIfDescription"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfHoldDown"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRoamPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitPeriodic"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransInitial"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransMax"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransLimit"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCurrent"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCount"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGwType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGw"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetry"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetryRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegistration"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaOnly"), ("CISCO-MOBILE-IP-MIB", "cmiMrBetterIfDetected"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStateActive"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStatePassive"), ("CISCO-MOBILE-IP-MIB", "cmiMrCollocatedTunnel"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrSystemGroupV1 = ciscoMobileIpMrSystemGroupV1.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpMrSystemGroupV1.setDescription('A collection of objects providing the management information in a mobile router.')
ciscoMobileIpMrSystemGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 26)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrReverseTunnel"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedundancyGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddr"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetPfxLen"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrHaTunnelIfIndex"), ("CISCO-MOBILE-IP-MIB", "cmiMrHAPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrHABest"), ("CISCO-MOBILE-IP-MIB", "cmiMRIfDescription"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfHoldDown"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRoamPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitPeriodic"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransInitial"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransMax"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransLimit"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCurrent"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCount"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGwType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGw"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetry"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetryRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegistration"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaOnly"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaEnable"), ("CISCO-MOBILE-IP-MIB", "cmiMrBetterIfDetected"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStateActive"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStatePassive"), ("CISCO-MOBILE-IP-MIB", "cmiMrCollocatedTunnel"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrSystemGroupV2 = ciscoMobileIpMrSystemGroupV2.setStatus('deprecated')
if mibBuilder.loadTexts: ciscoMobileIpMrSystemGroupV2.setDescription('A collection of objects providing the management information in a mobile router.')
ciscoMobileIpFaRegGroupV12R03r2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 27)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiFaRegTotalVisitors"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorHomeAgentAddress"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeGranted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorTimeRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDLow"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIDHigh"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegIsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorRegFlagsRev1"), ("CISCO-MOBILE-IP-MIB", "cmiFaRegVisitorChallengeValue"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaInitRegRepliesValidRelayMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaReRegRepliesValidRelayToMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsRelayed"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidFromHA"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeRegRepliesValidRelayToMN"), ("CISCO-MOBILE-IP-MIB", "cmiFaReverseTunnelUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiFaReverseTunnelBitNotSet"), ("CISCO-MOBILE-IP-MIB", "cmiFaMnTooDistant"), ("CISCO-MOBILE-IP-MIB", "cmiFaDeliveryStyleUnsupported"), ("CISCO-MOBILE-IP-MIB", "cmiFaUnknownChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaMissingChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaStaleChallenge"), ("CISCO-MOBILE-IP-MIB", "cmiFaCvsesFromMnRejected"), ("CISCO-MOBILE-IP-MIB", "cmiFaCvsesFromHaRejected"), ("CISCO-MOBILE-IP-MIB", "cmiFaNvsesFromMnNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiFaNvsesFromHaNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiFaTotalRegRequests"), ("CISCO-MOBILE-IP-MIB", "cmiFaTotalRegReplies"), ("CISCO-MOBILE-IP-MIB", "cmiFaMnFaAuthFailures"), ("CISCO-MOBILE-IP-MIB", "cmiFaMnAAAAuthFailures"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpFaRegGroupV12R03r2 = ciscoMobileIpFaRegGroupV12R03r2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpFaRegGroupV12R03r2.setDescription('A collection of objects providing management information for the registration function within a foreign agent.')
ciscoMobileIpHaRegGroupV12R03r2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 28)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalMobilityBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifierType"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIdentifier"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMobilityBindingRegFlags"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServAcceptedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegServDeniedRequests"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegOverallServTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServAcceptedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedTime"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRecentServDeniedCode"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcLocRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcLocInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcLoc"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcLocInLastMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTotalProcByAAARegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxProcByAAAInMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegDateMaxRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegProcAAAInLastByMinRegs"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegAvgTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMaxTimeRegsProcByAAA"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaEncapUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaNAICheckFailures"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaInitRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaReRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsReceived"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsAccepted"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDenied"), ("CISCO-MOBILE-IP-MIB", "cmiHaDeRegRequestsDiscarded"), ("CISCO-MOBILE-IP-MIB", "cmiHaReverseTunnelUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaReverseTunnelBitNotSet"), ("CISCO-MOBILE-IP-MIB", "cmiHaEncapsulationUnavailable"), ("CISCO-MOBILE-IP-MIB", "cmiHaCvsesFromMnRejected"), ("CISCO-MOBILE-IP-MIB", "cmiHaCvsesFromFaRejected"), ("CISCO-MOBILE-IP-MIB", "cmiHaNvsesFromMnNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiHaNvsesFromFaNeglected"), ("CISCO-MOBILE-IP-MIB", "cmiHaMnHaAuthFailures"), ("CISCO-MOBILE-IP-MIB", "cmiHaMnAAAAuthFailures"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R03r2 = ciscoMobileIpHaRegGroupV12R03r2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R03r2.setDescription('A collection of objects providing management information for the registration function within a home agent.')
ciscoMobileIpTrapObjectsGroupV2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 29)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiTrapControl"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegCOA"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegCOAType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHAAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAgent"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegHomeAddress"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegNAI"), ("CISCO-MOBILE-IP-MIB", "cmiNtRegDeniedCode"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpTrapObjectsGroupV2 = ciscoMobileIpTrapObjectsGroupV2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpTrapObjectsGroupV2.setDescription('A collection of objects providing the management information related to notifications in Mobile IP entities.')
ciscoMobileIpMrNotificationGroupV2 = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 30)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrStateChange"), ("CISCO-MOBILE-IP-MIB", "cmiMrCoaChange"), ("CISCO-MOBILE-IP-MIB", "cmiMrNewMA"), ("CISCO-MOBILE-IP-MIB", "cmiHaMnRegReqFailed"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrNotificationGroupV2 = ciscoMobileIpMrNotificationGroupV2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrNotificationGroupV2.setDescription('Group of notifications on a Mobile Router.')
ciscoMobileIpMrSystemGroupV3 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 31)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrReverseTunnel"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedundancyGroup"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetAddr"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetPfxLen"), ("CISCO-MOBILE-IP-MIB", "cmiMrMobNetStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrHaTunnelIfIndex"), ("CISCO-MOBILE-IP-MIB", "cmiMrHAPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrHABest"), ("CISCO-MOBILE-IP-MIB", "cmiMRIfDescription"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfHoldDown"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRoamPriority"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitPeriodic"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitInterval"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransInitial"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransMax"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransLimit"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCurrent"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfSolicitRetransCount"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddressType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaAddress"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGwType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaDefaultGw"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetry"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegRetryRemaining"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaRegistration"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaOnly"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfCCoaEnable"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRoamStatus"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRegisteredCoAType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRegisteredCoA"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRegisteredMaAddrType"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfRegisteredMaAddr"), ("CISCO-MOBILE-IP-MIB", "cmiMrBetterIfDetected"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelPktsSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesRcvd"), ("CISCO-MOBILE-IP-MIB", "cmiMrTunnelBytesSent"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStateActive"), ("CISCO-MOBILE-IP-MIB", "cmiMrRedStatePassive"), ("CISCO-MOBILE-IP-MIB", "cmiMrCollocatedTunnel"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrSystemGroupV3 = ciscoMobileIpMrSystemGroupV3.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrSystemGroupV3.setDescription('A collection of objects providing the management information in a mobile router.')
ciscoMobileIpHaRegGroupV12R03r2Sup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 32)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIfDescription"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIfBandwidth"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIfID"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegMnIfPathMetricType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R03r2Sup1 = ciscoMobileIpHaRegGroupV12R03r2Sup1.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R03r2Sup1.setDescription('Additional objects for providing management information for the registration function within a home agent.')
ciscoMobileIpHaMobNetGroupSup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 33)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaMrMultiPath"), ("CISCO-MOBILE-IP-MIB", "cmiHaMrMultiPathMetricType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaMobNetGroupSup1 = ciscoMobileIpHaMobNetGroupSup1.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaMobNetGroupSup1.setDescription('Additional objects providing the management information related to mobile networks in a home agent.')
ciscoMobileIpMrSystemGroupV3Sup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 34)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiMrIfHaTunnelIfIndex"), ("CISCO-MOBILE-IP-MIB", "cmiMrIfID"), ("CISCO-MOBILE-IP-MIB", "cmiMrMultiPath"), ("CISCO-MOBILE-IP-MIB", "cmiMrMultiPathMetricType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrSystemGroupV3Sup1 = ciscoMobileIpMrSystemGroupV3Sup1.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrSystemGroupV3Sup1.setDescription('Additional objects providing the management information in a mobile router specific to multiple tunnels feature.')
ciscoMobileIpHaRegGroupV12R03r2Sup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 35)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegMobilityBindingMacAddress"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV12R03r2Sup2 = ciscoMobileIpHaRegGroupV12R03r2Sup2.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV12R03r2Sup2.setDescription('Additional objects for providing management information for the registration function within a home agent.')
ciscoMobileIpHaSystemGroupV1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 36)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaSystemVersion"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaSystemGroupV1 = ciscoMobileIpHaSystemGroupV1.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaSystemGroupV1.setDescription('A collection of objects providing the management information in a home agent.')
ciscoMobileIpMrNotificationGroupV3 = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 37)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaMaxBindingsNotif"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpMrNotificationGroupV3 = ciscoMobileIpMrNotificationGroupV3.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpMrNotificationGroupV3.setDescription('This group supplements ciscoMobileIpMrNotificationGroupV2 with the Object cmiHaMaxBindingsNotif.')
ciscoMobileIpHaRegGroupV1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 38)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaMaximumBindings"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegGroupV1 = ciscoMobileIpHaRegGroupV1.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegGroupV1.setDescription('This group supplements ciscoMobileIpHaRegGroupV13R03r2 to provide the Object to configure the bindings on the home agent.')
ciscoMobileIpHaRegIntervalStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 39)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegIntervalSize"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegIntervalMaxActiveBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegInterval3gpp2MaxActiveBindings"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegIntervalWimaxMaxActiveBindings"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegIntervalStatsGroup = ciscoMobileIpHaRegIntervalStatsGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegIntervalStatsGroup.setDescription('This collection of objects provide the management information related to the active bindings on the Home Agent.')
ciscoMobileIpHaRegTunnelStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 174, 3, 2, 40)).setObjects(("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsTunnelType"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsNumUsers"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsDataRateInt"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsInBitRate"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsInPktRate"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsInBytes"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsInPkts"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsOutBitRate"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsOutPktRate"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsOutBytes"), ("CISCO-MOBILE-IP-MIB", "cmiHaRegTunnelStatsOutPkts"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoMobileIpHaRegTunnelStatsGroup = ciscoMobileIpHaRegTunnelStatsGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoMobileIpHaRegTunnelStatsGroup.setDescription('This collection of objects provide the statistics of all the active tunnels between HA and CoA.')
mibBuilder.exportSymbols("CISCO-MOBILE-IP-MIB", ciscoMobileIpFaRegGroupV12R03=ciscoMobileIpFaRegGroupV12R03, cmiHaRegMaxProcLocInMinRegs=cmiHaRegMaxProcLocInMinRegs, cmiFaAdvertChallengeWindow=cmiFaAdvertChallengeWindow, cmiFaRegVisitorHomeAddress=cmiFaRegVisitorHomeAddress, cmiMnRegistrationTable=cmiMnRegistrationTable, cmiMrIfCCoaRegRetry=cmiMrIfCCoaRegRetry, cmiHaRegIntervalMaxActiveBindings=cmiHaRegIntervalMaxActiveBindings, cmiMrMaAdvFlags=cmiMrMaAdvFlags, cmiSecViolatorIdentifier=cmiSecViolatorIdentifier, cmiMrIfEntry=cmiMrIfEntry, ciscoMobileIpSecAssocGroup=ciscoMobileIpSecAssocGroup, cmiHaRegRequestsDenied=cmiHaRegRequestsDenied, cmiMrIfRegisteredMaAddr=cmiMrIfRegisteredMaAddr, cmiHaRedunDroppedBIReps=cmiHaRedunDroppedBIReps, cmiMrMobNetPfxLen=cmiMrMobNetPfxLen, cmiHaRedunSentBIReqs=cmiHaRedunSentBIReqs, cmiFaEncapDeliveryStyleSupported=cmiFaEncapDeliveryStyleSupported, ciscoMobileIpMrNotificationGroupV3=ciscoMobileIpMrNotificationGroupV3, ciscoMobileIpFaRegGroupV12R03r2=ciscoMobileIpFaRegGroupV12R03r2, cmiHaReRegRequestsDiscarded=cmiHaReRegRequestsDiscarded, cmiHaRedunSentBIAcks=cmiHaRedunSentBIAcks, cmiHaRegMnIfBandwidth=cmiHaRegMnIfBandwidth, cmiHaRegMobilityBindingMacAddress=cmiHaRegMobilityBindingMacAddress, cmiHaRegTunnelStatsInBitRate=cmiHaRegTunnelStatsInBitRate, cmiFaDeRegRequestsRelayed=cmiFaDeRegRequestsRelayed, cmiHaMobNetAddress=cmiHaMobNetAddress, ciscoMobileIpMrSystemGroupV3Sup1=ciscoMobileIpMrSystemGroupV3Sup1, cmiHaRegTunnelStatsInBytes=cmiHaRegTunnelStatsInBytes, cmiHaRegProcLocInLastMinRegs=cmiHaRegProcLocInLastMinRegs, cmiMrSystem=cmiMrSystem, cmiHaRedun=cmiHaRedun, ciscoMobileIpMaRegGroup=ciscoMobileIpMaRegGroup, ciscoMobileIpSecAssocGroupV12R02=ciscoMobileIpSecAssocGroupV12R02, cmiMrIfID=cmiMrIfID, cmiFaMissingChallenge=cmiFaMissingChallenge, CmiRegistrationFlags=CmiRegistrationFlags, cmiMrRegNewHa=cmiMrRegNewHa, cmiMrIfCCoaEnable=cmiMrIfCCoaEnable, ciscoMobileIpFaSystemGroup=ciscoMobileIpFaSystemGroup, cmiFa=cmiFa, cmiHaRegTunnelStatsOutBytes=cmiHaRegTunnelStatsOutBytes, cmiMnRegistrationEntry=cmiMnRegistrationEntry, cmiMrMaAddressType=cmiMrMaAddressType, ciscoMobileIpTrapObjectsGroup=ciscoMobileIpTrapObjectsGroup, cmiTrapControl=cmiTrapControl, cmiHaMrStatus=cmiHaMrStatus, ciscoMobileIpComplianceV12R08=ciscoMobileIpComplianceV12R08, cmiHaInitRegRequestsAccepted=cmiHaInitRegRequestsAccepted, cmiHaRedunTotalSentBIReps=cmiHaRedunTotalSentBIReps, cmiFaDeRegRepliesValidRelayToMN=cmiFaDeRegRepliesValidRelayToMN, cmiFaRegVisitorTimeRemaining=cmiFaRegVisitorTimeRemaining, cmiMrRegistration=cmiMrRegistration, cmiHaRegRecentServDeniedTime=cmiHaRegRecentServDeniedTime, cmiMrIfCCoaRegRetryRemaining=cmiMrIfCCoaRegRetryRemaining, ciscoMobileIpMrRegistrationGroup=ciscoMobileIpMrRegistrationGroup, cmiMaAdvInterfaceIndex=cmiMaAdvInterfaceIndex, cmiHaSystemVersion=cmiHaSystemVersion, cmiFaAdvertConfTable=cmiFaAdvertConfTable, cmiHaRegIntervalSize=cmiHaRegIntervalSize, cmiHaRegMnIfDescription=cmiHaRegMnIfDescription, cmiSecTotalViolations=cmiSecTotalViolations, cmiHaRegMobilityBindingRegFlags=cmiHaRegMobilityBindingRegFlags, cmiFaInitRegRequestsDenied=cmiFaInitRegRequestsDenied, cmiHaDeRegRequestsAccepted=cmiHaDeRegRequestsAccepted, cmiFaDeliveryStyleUnsupported=cmiFaDeliveryStyleUnsupported, cmiHaRegTunnelStatsDestAddr=cmiHaRegTunnelStatsDestAddr, CmiEntityIdentifier=CmiEntityIdentifier, CmiSpi=CmiSpi, ciscoMobileIpCompliances=ciscoMobileIpCompliances, ciscoMobileIpComplianceV12R11=ciscoMobileIpComplianceV12R11, cmiMrIfSolicitRetransLimit=cmiMrIfSolicitRetransLimit, cmiFaReverseTunnelEnable=cmiFaReverseTunnelEnable, cmiFaRegVisitorTable=cmiFaRegVisitorTable, cmiHaMrDynamic=cmiHaMrDynamic, cmiHaMaxBindingsNotif=cmiHaMaxBindingsNotif, cmiHaRegTotalMobilityBindings=cmiHaRegTotalMobilityBindings, cmiFaInitRegRequestsReceived=cmiFaInitRegRequestsReceived, cmiMrMobNetIfIndex=cmiMrMobNetIfIndex, cmiFaAdvertIsBusy=cmiFaAdvertIsBusy, cmiFaReRegRequestsRelayed=cmiFaReRegRequestsRelayed, cmiMrRedundancyGroup=cmiMrRedundancyGroup, cmiHaDeRegRequestsReceived=cmiHaDeRegRequestsReceived, cmiFaRegTotalVisitors=cmiFaRegTotalVisitors, cmiHaRegRequestsReceived=cmiHaRegRequestsReceived, CmiTunnelType=CmiTunnelType, cmiHaRegAvgTimeRegsProcByAAA=cmiHaRegAvgTimeRegsProcByAAA, cmiFaRegVisitorRegIsAccepted=cmiFaRegVisitorRegIsAccepted, cmiFaCoaEntry=cmiFaCoaEntry, cmiMrHAEntry=cmiMrHAEntry, cmiFaCoaTransmitOnly=cmiFaCoaTransmitOnly, cmiMaInterfaceAddress=cmiMaInterfaceAddress, cmiHaRegCounterEntry=cmiHaRegCounterEntry, ciscoMobileIpFaRegGroupV12R03r1=ciscoMobileIpFaRegGroupV12R03r1, CmiEntityIdentifierType=CmiEntityIdentifierType, cmiHaRegTunnelStatsDataRateInt=cmiHaRegTunnelStatsDataRateInt, cmiMrIfCCoaAddress=cmiMrIfCCoaAddress, cmiHaRegServAcceptedRequests=cmiHaRegServAcceptedRequests, cmiMrHATable=cmiMrHATable, cmiHaSystem=cmiHaSystem, cmiFaTotalRegRequests=cmiFaTotalRegRequests, ciscoMobileIpMrDiscoveryGroup=ciscoMobileIpMrDiscoveryGroup, cmiMrTunnelBytesRcvd=cmiMrTunnelBytesRcvd, cmiMrTunnelBytesSent=cmiMrTunnelBytesSent, ciscoMobileIpComplianceV12R07=ciscoMobileIpComplianceV12R07, cmiFaInterfaceEntry=cmiFaInterfaceEntry, cmiSecViolatorIdentifierType=cmiSecViolatorIdentifierType, cmiHaReverseTunnelUnavailable=cmiHaReverseTunnelUnavailable, ciscoMobileIpComplianceV12R06=ciscoMobileIpComplianceV12R06, ciscoMobileIpGroups=ciscoMobileIpGroups, cmiFaRegVisitorRegIDLow=cmiFaRegVisitorRegIDLow, cmiHaRegTotalProcByAAARegs=cmiHaRegTotalProcByAAARegs, cmiMrMultiPathMetricType=cmiMrMultiPathMetricType, cmiFaReg=cmiFaReg, cmiHaReverseTunnelBitNotSet=cmiHaReverseTunnelBitNotSet, cmiHaMrAddrType=cmiHaMrAddrType, cmiMrMultiPath=cmiMrMultiPath, cmiHaRedunTotalSentBUs=cmiHaRedunTotalSentBUs, cmiHaMobNetPfxLen=cmiHaMobNetPfxLen, ciscoMobileIpHaRegGroupV1=ciscoMobileIpHaRegGroupV1, cmiMaAdvResponseSolicitationOnly=cmiMaAdvResponseSolicitationOnly, cmiHaRedunReceivedBUAcks=cmiHaRedunReceivedBUAcks, cmiMrMobNetTable=cmiMrMobNetTable, cmiMaAdvAddressType=cmiMaAdvAddressType, cmiMaAdvPrefixLengthInclusion=cmiMaAdvPrefixLengthInclusion, ciscoMobileIpFaRegGroupV12R02=ciscoMobileIpFaRegGroupV12R02, ciscoMobileIpMrNotificationGroup=ciscoMobileIpMrNotificationGroup, cmiHaRedunFailedBIReqs=cmiHaRedunFailedBIReqs, cmiFaNvsesFromMnNeglected=cmiFaNvsesFromMnNeglected, cmiMrRegExtendRetry=cmiMrRegExtendRetry, cmiHa=cmiHa, cmiSecSPI=cmiSecSPI, cmiMrRedStateActive=cmiMrRedStateActive, cmiFaAdvertChallengeValue=cmiFaAdvertChallengeValue, cmiFaReverseTunnelBitNotSet=cmiFaReverseTunnelBitNotSet, cmiFaAdvertChallengeEntry=cmiFaAdvertChallengeEntry, cmiFaAdvertChallengeIndex=cmiFaAdvertChallengeIndex, cmiHaMaximumBindings=cmiHaMaximumBindings, ciscoMobileIpComplianceV12R03r1=ciscoMobileIpComplianceV12R03r1, cmiFaInitRegRepliesValidRelayMN=cmiFaInitRegRepliesValidRelayMN, cmiFaNvsesFromHaNeglected=cmiFaNvsesFromHaNeglected, ciscoMobileIpHaMobNetGroup=ciscoMobileIpHaMobNetGroup, cmiFaMnAAAAuthFailures=cmiFaMnAAAAuthFailures, cmiHaRegMobilityBindingEntry=cmiHaRegMobilityBindingEntry, cmiFaReRegRepliesValidFromHA=cmiFaReRegRepliesValidFromHA, cmiMrCollocatedTunnel=cmiMrCollocatedTunnel, cmiMaRegMaxInMinuteRegs=cmiMaRegMaxInMinuteRegs, ciscoMobileIpHaRegIntervalStatsGroup=ciscoMobileIpHaRegIntervalStatsGroup, cmiMrIfCCoaAddressType=cmiMrIfCCoaAddressType, cmiMrIfRegisteredCoAType=cmiMrIfRegisteredCoAType, cmiMrRegRetransInitial=cmiMrRegRetransInitial, cmiMrIfCCoaOnly=cmiMrIfCCoaOnly, cmiFaRegVisitorHomeAgentAddress=cmiFaRegVisitorHomeAgentAddress, cmiHaMrEntry=cmiHaMrEntry, cmiMaAdvConfigEntry=cmiMaAdvConfigEntry, cmiMrMobNetStatus=cmiMrMobNetStatus, cmiFaMnTooDistant=cmiFaMnTooDistant, ciscoMobileIpComplianceV12R03=ciscoMobileIpComplianceV12R03, cmiMrIfSolicitPeriodic=cmiMrIfSolicitPeriodic, ciscoMobileIpMIBObjects=ciscoMobileIpMIBObjects, cmiHaRegMnIdentifier=cmiHaRegMnIdentifier, cmiMa=cmiMa, cmiSecRecentViolationIDHigh=cmiSecRecentViolationIDHigh, cmiHaRegRecentServAcceptedTime=cmiHaRegRecentServAcceptedTime, cmiMaAdvertisement=cmiMaAdvertisement, cmiNtRegCOA=cmiNtRegCOA, cmiFaReRegRequestsDenied=cmiFaReRegRequestsDenied, cmiSecRecentViolationTime=cmiSecRecentViolationTime, cmiHaDeRegRequestsDenied=cmiHaDeRegRequestsDenied, cmiNtRegCOAType=cmiNtRegCOAType, cmiSecViolationTable=cmiSecViolationTable, cmiMaAdvConfigTable=cmiMaAdvConfigTable, cmiHaRedunReceivedBIAcks=cmiHaRedunReceivedBIAcks, cmiFaRegVisitorIdentifier=cmiFaRegVisitorIdentifier, cmiHaNvsesFromFaNeglected=cmiHaNvsesFromFaNeglected, cmiMrIfSolicitRetransInitial=cmiMrIfSolicitRetransInitial, cmiSecAssocTable=cmiSecAssocTable, cmiMrMaAdvEntry=cmiMrMaAdvEntry, cmiHaRegIntervalWimaxMaxActiveBindings=cmiHaRegIntervalWimaxMaxActiveBindings, cmiMrIfIndex=cmiMrIfIndex, cmiMrIfSolicitRetransMax=cmiMrIfSolicitRetransMax, cmiFaRevTunnelSupported=cmiFaRevTunnelSupported, cmiHaRegMnIfPathMetricType=cmiHaRegMnIfPathMetricType, cmiNtRegHomeAgent=cmiNtRegHomeAgent, cmiMrMobNetEntry=cmiMrMobNetEntry, cmiFaInitRegRequestsDiscarded=cmiFaInitRegRequestsDiscarded, cmiFaInitRegRepliesValidFromHA=cmiFaInitRegRepliesValidFromHA, cmiHaRedunFailedBUs=cmiHaRedunFailedBUs, cmiMn=cmiMn, cmiHaRegInterval3gpp2MaxActiveBindings=cmiHaRegInterval3gpp2MaxActiveBindings, cmiHaRegOverallServTime=cmiHaRegOverallServTime, cmiMrMaAdvRcvIf=cmiMrMaAdvRcvIf, ciscoMobileIpFaAdvertisementGroup=ciscoMobileIpFaAdvertisementGroup, cmiSecPeerIdentifier=cmiSecPeerIdentifier, cmiHaReRegRequestsAccepted=cmiHaReRegRequestsAccepted, cmiHaMrMultiPathMetricType=cmiHaMrMultiPathMetricType, cmiHaRegMaxProcByAAAInMinRegs=cmiHaRegMaxProcByAAAInMinRegs, cmiFaStaleChallenge=cmiFaStaleChallenge, cmiMRIfDescription=cmiMRIfDescription, cmiHaReRegRequestsDenied=cmiHaReRegRequestsDenied, cmiMrStateChange=cmiMrStateChange, cmiHaRegProcAAAInLastByMinRegs=cmiHaRegProcAAAInLastByMinRegs, cmiSecAlgorithmType=cmiSecAlgorithmType, cmiMrMaAdvTimeFirstHeard=cmiMrMaAdvTimeFirstHeard, cmiFaRegVisitorRegIDHigh=cmiFaRegVisitorRegIDHigh, cmiFaUnknownChallenge=cmiFaUnknownChallenge, cmiNtRegHAAddrType=cmiNtRegHAAddrType, ciscoMobileIpMnDiscoveryGroup=ciscoMobileIpMnDiscoveryGroup, CmiMultiPathMetricType=CmiMultiPathMetricType, cmiSecAlgorithmMode=cmiSecAlgorithmMode, cmiHaRegMnIdType=cmiHaRegMnIdType, cmiHaRedunReceivedBIReps=cmiHaRedunReceivedBIReps, ciscoMobileIpComplianceV12R09=ciscoMobileIpComplianceV12R09, cmiHaRegTunnelStatsDestAddrType=cmiHaRegTunnelStatsDestAddrType, cmiMaAdvStatus=cmiMaAdvStatus, cmiSecStatus=cmiSecStatus, cmiMrMobNetAddr=cmiMrMobNetAddr, cmiSecViolationEntry=cmiSecViolationEntry, cmiFaInitRegRequestsRelayed=cmiFaInitRegRequestsRelayed, cmiMrRegExtendInterval=cmiMrRegExtendInterval, cmiHaRegRequestsDiscarded=cmiHaRegRequestsDiscarded, cmiMnAdvFlags=cmiMnAdvFlags, cmiHaMobNetTable=cmiHaMobNetTable, ciscoMobileIpMIBConformance=ciscoMobileIpMIBConformance, cmiHaMnAAAAuthFailures=cmiHaMnAAAAuthFailures, cmiMrRedStatePassive=cmiMrRedStatePassive, cmiSecAssocEntry=cmiSecAssocEntry, cmiMaAdvMaxAdvLifetime=cmiMaAdvMaxAdvLifetime, cmiMaAdvAddress=cmiMaAdvAddress, cmiSecurity=cmiSecurity, cmiHaRedunReceivedBIReqs=cmiHaRedunReceivedBIReqs, cmiMrMaAdvTimeReceived=cmiMrMaAdvTimeReceived, cmiSecKey2=cmiSecKey2, cmiMnRegistration=cmiMnRegistration, cmiHaMrTable=cmiHaMrTable, ciscoMobileIpHaMobNetGroupSup1=ciscoMobileIpHaMobNetGroupSup1, cmiHaRegDateMaxRegsProcByAAA=cmiHaRegDateMaxRegsProcByAAA, cmiFaChallengeSupported=cmiFaChallengeSupported, cmiHaMobNetDynamic=cmiHaMobNetDynamic, cmiHaNAICheckFailures=cmiHaNAICheckFailures, cmiMrIfSolicitRetransCount=cmiMrIfSolicitRetransCount, ciscoMobileIpSecViolationGroup=ciscoMobileIpSecViolationGroup, cmiHaCvsesFromMnRejected=cmiHaCvsesFromMnRejected, cmiMrIfStatus=cmiMrIfStatus, cmiMrIfRegisteredCoA=cmiMrIfRegisteredCoA, cmiMaInterfaceAddressType=cmiMaInterfaceAddressType, cmiFaRegVisitorRegFlagsRev1=cmiFaRegVisitorRegFlagsRev1, cmiMnRegFlags=cmiMnRegFlags, ciscoMobileIpComplianceV12R05=ciscoMobileIpComplianceV12R05, ciscoMobileIpHaRegGroupV12R03r1=ciscoMobileIpHaRegGroupV12R03r1, cmiMrMaAdvMaxLifetime=cmiMrMaAdvMaxLifetime, cmiFaSystem=cmiFaSystem, cmiMrRegRetransMax=cmiMrRegRetransMax, ciscoMobileIpMrNotificationGroupV2=ciscoMobileIpMrNotificationGroupV2, ciscoMobileIpHaRegGroupV12R03r2=ciscoMobileIpHaRegGroupV12R03r2)
mibBuilder.exportSymbols("CISCO-MOBILE-IP-MIB", ciscoMobileIpHaRegGroupV12R03=ciscoMobileIpHaRegGroupV12R03, cmiMaReg=cmiMaReg, cmiMrMaAddress=cmiMrMaAddress, ciscoMobileIpComplianceV12R10=ciscoMobileIpComplianceV12R10, cmiMrTunnelPktsSent=cmiMrTunnelPktsSent, cmiHaRedunReceivedBUs=cmiHaRedunReceivedBUs, ciscoMobileIpHaRegTunnelStatsGroup=ciscoMobileIpHaRegTunnelStatsGroup, cmiHaRedunDroppedBIAcks=cmiHaRedunDroppedBIAcks, cmiHaRegTunnelStatsOutPkts=cmiHaRegTunnelStatsOutPkts, cmiHaMobNetStatus=cmiHaMobNetStatus, cmiNtRegHomeAddressType=cmiNtRegHomeAddressType, cmiNtRegNAI=cmiNtRegNAI, cmiHaRegDateMaxRegsProcLoc=cmiHaRegDateMaxRegsProcLoc, cmiMaAdvMinInterval=cmiMaAdvMinInterval, cmiHaInitRegRequestsReceived=cmiHaInitRegRequestsReceived, ciscoMobileIpFaRegGroup=ciscoMobileIpFaRegGroup, cmiHaRegMaxTimeRegsProcByAAA=cmiHaRegMaxTimeRegsProcByAAA, cmiHaMrMultiPath=cmiHaMrMultiPath, cmiMrIfTable=cmiMrIfTable, cmiFaCvsesFromHaRejected=cmiFaCvsesFromHaRejected, cmiFaCoaRegAsymLink=cmiFaCoaRegAsymLink, cmiFaRegVisitorTimeGranted=cmiFaRegVisitorTimeGranted, cmiSecRecentViolationReason=cmiSecRecentViolationReason, cmiFaChallengeEnable=cmiFaChallengeEnable, cmiNtRegDeniedCode=cmiNtRegDeniedCode, cmiMrCoaChange=cmiMrCoaChange, cmiHaRegMnIfID=cmiHaRegMnIfID, cmiFaCoaInterfaceOnly=cmiFaCoaInterfaceOnly, cmiHaMrAddr=cmiHaMrAddr, cmiFaAdvertChallengeChapSPI=cmiFaAdvertChallengeChapSPI, cmiFaRegVisitorRegFlags=cmiFaRegVisitorRegFlags, cmiMaAdvertisementGroup=cmiMaAdvertisementGroup, cmiMrMaAdvSequence=cmiMrMaAdvSequence, ciscoMobileIpMIBNotifications=ciscoMobileIpMIBNotifications, cmiSecRecentViolationIDLow=cmiSecRecentViolationIDLow, cmiHaRegTunnelStatsSrcAddr=cmiHaRegTunnelStatsSrcAddr, cmiHaReRegRequestsReceived=cmiHaReRegRequestsReceived, cmiHaRegMobilityBindingTable=cmiHaRegMobilityBindingTable, ciscoMobileIpMIB=ciscoMobileIpMIB, ciscoMobileIpMrSystemGroupV1=ciscoMobileIpMrSystemGroupV1, cmiHaCvsesFromFaRejected=cmiHaCvsesFromFaRejected, cmiHaRegTunnelStatsOutPktRate=cmiHaRegTunnelStatsOutPktRate, cmiFaAdvertisement=cmiFaAdvertisement, cmiMrIfRoamPriority=cmiMrIfRoamPriority, cmiFaDeRegRequestsReceived=cmiFaDeRegRequestsReceived, cmiMrIfCCoaDefaultGwType=cmiMrIfCCoaDefaultGwType, cmiHaDeRegRequestsDiscarded=cmiHaDeRegRequestsDiscarded, ciscoMobileIpComplianceRev1=ciscoMobileIpComplianceRev1, cmiMrMaAdvLifetimeRemaining=cmiMrMaAdvLifetimeRemaining, cmiHaMobNetEntry=cmiHaMobNetEntry, cmiMnRecentAdvReceived=cmiMnRecentAdvReceived, cmiHaRedunFailedBIReps=cmiHaRedunFailedBIReps, cmiHaRedunSentBIReps=cmiHaRedunSentBIReps, cmiMrHaTunnelIfIndex=cmiMrHaTunnelIfIndex, cmiHaRegTunnelStatsEntry=cmiHaRegTunnelStatsEntry, cmiHaMnHaAuthFailures=cmiHaMnHaAuthFailures, PYSNMP_MODULE_ID=ciscoMobileIpMIB, ciscoMobileIpMnRegistrationGroup=ciscoMobileIpMnRegistrationGroup, ciscoMobileIpHaRegGroupV12R03r2Sup1=ciscoMobileIpHaRegGroupV12R03r2Sup1, cmiMrBetterIfDetected=cmiMrBetterIfDetected, ciscoMobileIpComplianceV12R04=ciscoMobileIpComplianceV12R04, cmiMrMaAdvTable=cmiMrMaAdvTable, cmiHaRegTotalProcLocRegs=cmiHaRegTotalProcLocRegs, ciscoMobileIpMrSystemGroupV2=ciscoMobileIpMrSystemGroupV2, cmiFaAdvertConfEntry=cmiFaAdvertConfEntry, cmiHaMobNetAddressType=cmiHaMobNetAddressType, cmiSecReplayMethod=cmiSecReplayMethod, ciscoMobileIpComplianceV12R02=ciscoMobileIpComplianceV12R02, cmiHaRegCounterTable=cmiHaRegCounterTable, cmiSecAssocsCount=cmiSecAssocsCount, cmiMrRegRetransLimit=cmiMrRegRetransLimit, cmiHaReg=cmiHaReg, cmiMrTunnelPktsRcvd=cmiMrTunnelPktsRcvd, cmiFaReRegRequestsDiscarded=cmiFaReRegRequestsDiscarded, cmiMrReverseTunnel=cmiMrReverseTunnel, cmiHaInitRegRequestsDenied=cmiHaInitRegRequestsDenied, cmiHaRegServDeniedRequests=cmiHaRegServDeniedRequests, cmiMrMaIfMacAddress=cmiMrMaIfMacAddress, ciscoMobileIpHaRegGroup=ciscoMobileIpHaRegGroup, ciscoMobileIpMrSystemGroup=ciscoMobileIpMrSystemGroup, cmiFaCvsesFromMnRejected=cmiFaCvsesFromMnRejected, cmiHaRedunSentBUAcks=cmiHaRedunSentBUAcks, cmiFaDeRegRepliesValidFromHA=cmiFaDeRegRepliesValidFromHA, cmiHaRegTunnelStatsInPktRate=cmiHaRegTunnelStatsInPktRate, ciscoMobileIpMrSystemGroupV3=ciscoMobileIpMrSystemGroupV3, ciscoMobileIpHaRedunGroup=ciscoMobileIpHaRedunGroup, cmiMrRegExtendExpire=cmiMrRegExtendExpire, ciscoMobileIpComplianceRev2=ciscoMobileIpComplianceRev2, cmiFaRegVisitorChallengeValue=cmiFaRegVisitorChallengeValue, cmiMaRegInLastMinuteRegs=cmiMaRegInLastMinuteRegs, cmiNtRegHomeAddress=cmiNtRegHomeAddress, cmiHaRedunSentBUs=cmiHaRedunSentBUs, cmiSecRecentViolationSPI=cmiSecRecentViolationSPI, cmiFaRegVisitorIdentifierType=cmiFaRegVisitorIdentifierType, ciscoMobileIpHaRegGroupV12R02=ciscoMobileIpHaRegGroupV12R02, cmiFaReRegRepliesValidRelayToMN=cmiFaReRegRepliesValidRelayToMN, cmiMrMaAdvMaxRegLifetime=cmiMrMaAdvMaxRegLifetime, cmiFaReverseTunnelUnavailable=cmiFaReverseTunnelUnavailable, cmiHaRegTunnelStatsTable=cmiHaRegTunnelStatsTable, cmiMrIfCCoaRegistration=cmiMrIfCCoaRegistration, cmiHaRegMnId=cmiHaRegMnId, cmiFaAdvertRegRequired=cmiFaAdvertRegRequired, cmiHaRegTunnelStatsInPkts=cmiHaRegTunnelStatsInPkts, cmiHaRedunTotalSentBIReqs=cmiHaRedunTotalSentBIReqs, cmiHaMnRegReqFailed=cmiHaMnRegReqFailed, cmiHaEncapsulationUnavailable=cmiHaEncapsulationUnavailable, cmiMrHABest=cmiMrHABest, cmiMrIfCCoaDefaultGw=cmiMrIfCCoaDefaultGw, cmiHaNvsesFromMnNeglected=cmiHaNvsesFromMnNeglected, cmiHaRegTunnelStatsOutBitRate=cmiHaRegTunnelStatsOutBitRate, cmiHaRegMnIdentifierType=cmiHaRegMnIdentifierType, cmiHaEncapUnavailable=cmiHaEncapUnavailable, cmiMaAdvMaxRegLifetime=cmiMaAdvMaxRegLifetime, cmiHaRedunSecViolations=cmiHaRedunSecViolations, cmiFaRegVisitorEntry=cmiFaRegVisitorEntry, cmiHaInitRegRequestsDiscarded=cmiHaInitRegRequestsDiscarded, cmiFaDeRegRequestsDiscarded=cmiFaDeRegRequestsDiscarded, cmiFaDeRegRequestsDenied=cmiFaDeRegRequestsDenied, cmiFaAdvertChallengeTable=cmiFaAdvertChallengeTable, cmiHaRegTunnelStatsTunnelType=cmiHaRegTunnelStatsTunnelType, cmiFaTotalRegReplies=cmiFaTotalRegReplies, cmiHaRegTunnelStatsSrcAddrType=cmiHaRegTunnelStatsSrcAddrType, cmiHaRegTunnelStatsNumUsers=cmiHaRegTunnelStatsNumUsers, cmiMrIfSolicitRetransRemaining=cmiMrIfSolicitRetransRemaining, cmiTrapObjects=cmiTrapObjects, cmiMrDiscovery=cmiMrDiscovery, ciscoMobileIpTrapObjectsGroupV2=ciscoMobileIpTrapObjectsGroupV2, cmiMrIfSolicitRetransCurrent=cmiMrIfSolicitRetransCurrent, ciscoMobileIpCompliance=ciscoMobileIpCompliance, cmiMrIfHaTunnelIfIndex=cmiMrIfHaTunnelIfIndex, cmiHaMobNet=cmiHaMobNet, cmiMrIfSolicitInterval=cmiMrIfSolicitInterval, ciscoMobileIpHaSystemGroupV1=ciscoMobileIpHaSystemGroupV1, cmiMaRegDateMaxRegsReceived=cmiMaRegDateMaxRegsReceived, cmiFaMnFaAuthFailures=cmiFaMnFaAuthFailures, cmiMrHAPriority=cmiMrHAPriority, cmiFaReRegRequestsReceived=cmiFaReRegRequestsReceived, cmiMrMaHoldDownRemaining=cmiMrMaHoldDownRemaining, cmiMrMaIsHa=cmiMrMaIsHa, cmiMrNewMA=cmiMrNewMA, cmiMaAdvMaxInterval=cmiMaAdvMaxInterval, cmiMrIfRoamStatus=cmiMrIfRoamStatus, cmiSecKey=cmiSecKey, cmiMrIfRegisteredMaAddrType=cmiMrIfRegisteredMaAddrType, cmiFaInterfaceTable=cmiFaInterfaceTable, cmiHaRegRecentServDeniedCode=cmiHaRegRecentServDeniedCode, cmiMrRegLifetime=cmiMrRegLifetime, cmiSecPeerIdentifierType=cmiSecPeerIdentifierType, cmiMrIfHoldDown=cmiMrIfHoldDown, cmiMnDiscovery=cmiMnDiscovery, ciscoMobileIpHaRegGroupV12R03r2Sup2=ciscoMobileIpHaRegGroupV12R03r2Sup2, cmiFaCoaTable=cmiFaCoaTable, cmiMrMobNetAddrType=cmiMrMobNetAddrType)
|
# https://www.codewars.com/kata/string-cleaning/
def string_clean(s):
output = ""
for symbol in s:
if not(symbol.isdigit()):
output += symbol
return output
|
"""default values for the command line interface
"""
variables = ["T", "FI", "U", "V", "QD", "QW", "RELHUM"]
plevs = [100, 200, 500, 850, 950]
|
#! /usr/bin/python
class PySopn:
# Initialize instance
def __init__(self, iface, port):
self.interface = interface
self.port = port
self.socket = PySopn_eth(iface, port)
# Set configuration
def configSet(self, config):
pass
# Open
def open(self):
self.flgopen = True
|
class Controller:
user = ''
mdp = ''
url = ''
port = 0
timeout = 0
def __init__(self, user, mdp, url, port, timeout):
self.user = user
self.mdp = mdp
self.url = url
self.port = int(port)
self.timeout = int(timeout)
|
categories_db = \
{ 'armors': { 'items': [ 'cuirass',
'banded-mail',
'scale-mail',
'ring-mail',
'chainmail',
'half-plate',
'moonplate',
'steel-cuirass',
'full-plate',
'longmail',
'noble-plate',
'silvered-scales',
'arcane-guard',
'runic-mail',
'chaos-armor',
'shining-armor',
'valkyrie-armor',
'white-fullplate',
'eldritch-mail',
'golden-heart',
'gaias-fortress',
'draconic-plate',
'twilight-cuirass',
'crimson-plate',
'earthen-mail',
'oracles-armor'],
'meta_category': 'Garments',
'name': 'Armors',
'rank': 1,
'slot': 2,
'slot_name': 'Torso'},
'axes': { 'items': [ 'hand-axe',
'iron-axe',
'broad-axe',
'halberd',
'druidic-axe',
'hunting-axe',
'pole-axe',
'tiamat',
'labrys',
'steel-axe',
'hawk',
'lava-axe',
'reaper',
'berserkers-axe',
'bone-reaver',
'sharp-tusk',
'crystal-asunder',
'shining-axe',
'widow-maker',
'nocturne-axe',
'storm-splitter',
'infernal-rage',
'eagle',
'ragnaroks-edge',
'retribution',
'frenzied-axe',
'umbral-axe'],
'meta_category': 'Weapons',
'name': 'Axes',
'rank': 3,
'slot': 1,
'slot_name': 'Weapon'},
'boots': { 'items': [ 'heavy-boots',
'riders-boots',
'chain-greaves',
'plated-boots',
'traveling-boots',
'moon-boots',
'red-boots',
'lion-boots',
'explorer-boots',
'valkyrie-boots',
'sabaton',
'warriors-greaves',
'knight-riders',
'silvered-greaves',
'flame-greaves',
'lords-boots',
'magic-riders',
'frost-sabatons',
'earthshakers',
'kings-boots',
'skull-stompers',
'draconic-greaves',
'adamantium-boots',
'royal-greaves',
'obsidian-greaves',
'titans-feet'],
'meta_category': 'Garments',
'name': 'Boots',
'rank': 8,
'slot': 5,
'slot_name': 'Feet'},
'bows': { 'items': [ 'short-bow',
'long-bow',
'faerys-string',
'double-string',
'falcon-eye',
'composite-bow',
'crossbow',
'recurved-bow',
'heavy-crossbow',
'self-loader',
'forester',
'eagle-eye',
'transfixer',
'silent-arbalest',
'wind-striker',
'bow-of-light',
'valkyries-touch',
'spider',
'chimera-wings',
'evelyn',
'dragon-eye',
'lovestruck',
'griffin-wings',
'adamantium-crossbow',
'twilight-shot',
'elven-bow',
'wind-piercer'],
'meta_category': 'Weapons',
'name': 'Bows',
'rank': 7,
'slot': 1,
'slot_name': 'Weapon'},
'clothes': { 'items': [ 'tunic',
'cloak',
'mantle',
'red-tunic',
'robe',
'doublet',
'apprentice-robes',
'ice-cloak',
'magicians-cloak',
'silk-robe',
'mage-robe',
'sacred-tunic',
'imperial-mantle',
'gaias-mantle',
'stealth-apparel',
'storm-apparel',
'night-walker',
'sorcerer-robe',
'nightmare-cape',
'sages-robe',
'shimmering-robes',
'plasmic-robe',
'archwizard-robe',
'twilight-robe',
'kings-mantle',
'mage-doublet',
'holy-tunic'],
'meta_category': 'Garments',
'name': 'Clothes',
'rank': 3,
'slot': 2,
'slot_name': 'Torso'},
'daggers': { 'items': [ 'knife',
'pocket-knife',
'kris',
'dirk',
'parrying-dagger',
'stiletto',
'white-dagger',
'broad-blade',
'gutting-knife',
'hunting-knife',
'crimson-heart',
'mail-breaker',
'phantom-katar',
'switch-blade',
'life-stealer',
'night-shiv',
'shadowripper',
'wing-blade',
'dark-hand',
'betrayer',
'royal-dirk',
'seven-stars',
'dragon-fang',
'traitorous-blade',
'obsidian-dagger',
'aphotic-shiv'],
'meta_category': 'Weapons',
'name': 'Daggers',
'rank': 2,
'slot': 1,
'slot_name': 'Weapon'},
'footwear': { 'items': [ 'sandals',
'shoes',
'druidic-shoes',
'leather-shoes',
'fur-loafers',
'light-boots',
'elven-boots',
'dancer-shoes',
'legion-sandals',
'horned-shoes',
'moon-walkers',
'golden-shoes',
'plumed-loafers',
'winged-sandals',
'imperial-sandals',
'genji-getas',
'path-finders',
'floating-slippers',
'wind-walkers',
'arcane-sandals',
'planeswalkers',
'adamantium-shoes',
'draconic-boots',
'jade-shoes',
'frostfire-shoes',
'firewalkers'],
'meta_category': 'Garments',
'name': 'Footwear',
'rank': 9,
'slot': 5,
'slot_name': 'Feet'},
'gauntlets': { 'items': [ 'light-gauntlets',
'gauntlets',
'vambrace',
'long-gauntlets',
'meshed-gauntlets',
'moonlight-gauntlets',
'chainmail-gauntlets',
'jagged-gauntlets',
'lords-gauntlets',
'steel-vambrace',
'frozen-grip',
'silver-gauntlets',
'kings-gauntlets',
'bloodlust-gauntlets',
'dark-vambrace',
'protector-gauntlets',
'shockers',
'giga-brace',
'fire-smashers',
'dragonscale-gauntlets',
'twilight-fists',
'adamantium-fists',
'golden-gauntlets',
'frostfire-gauntlets',
'valkyries-grip',
'berserker-gauntlets',
'volcanic-smashers'],
'meta_category': 'Garments',
'name': 'Gauntlets',
'rank': 6,
'slot': 4,
'slot_name': 'Arms'},
'gloves': { 'items': [ 'leather-bracers',
'gloves',
'wrist-guards',
'padded-gloves',
'fur-gloves',
'venomous-hands',
'woven-bracers',
'dexterous-gloves',
'wisdom-gloves',
'elemental-bracers',
'grandmaster-gloves',
'flaming-hands',
'shadowed-gloves',
'royal-bracers',
'alchemist-gloves',
'mage-bracers',
'sorcerers-bracers',
'shield-bracers',
'angel-gloves',
'freezing-bracers',
'runic-bracers',
'nightstalker-gloves',
'death-grip',
'cindari-gloves',
'frostfire-gloves',
'archangel-gloves'],
'meta_category': 'Garments',
'name': 'Gloves',
'rank': 7,
'slot': 4,
'slot_name': 'Arms'},
'guns': { 'items': [ 'pistol',
'musket',
'arquebuse',
'pocket-pistol',
'long-musket',
'falconer',
'rifle',
'axe-pistol',
'flintlock',
'black-stock',
'double-barrel',
'fire-gun',
'conqueror',
'war-axe-pistol',
'thunder-shot',
'candy-cane-pistol',
'death-missive',
'rising-sun',
'one-shot',
'judgement',
'bomb-launcher',
'solar-flare',
'nordic-warfare',
'harpoon-gun',
'pirate-pistol',
'gfg',
'demonic-blast'],
'meta_category': 'Weapons',
'name': 'Guns',
'rank': 8,
'slot': 1,
'slot_name': 'Weapon'},
'hats': { 'items': [ 'circlet',
'hood',
'monks-hat',
'buckle-hat',
'robins-hood',
'pumpkinhead',
'plumed-hat',
'thiefs-hood',
'noble-tiara',
'light-visage',
'scarlet-coif',
'skadis-tiara',
'magic-top',
'silver-crown',
'elven-coif',
'golden-crown',
'wise-cap',
'dark-visage',
'shadowhood',
'archwizards-hat',
'runic-tiara',
'thunder-crown',
'runic-coif',
'jorous-crown',
'demonic-visage',
'jade-visage',
'cultists-hood',
'lokis-mask',
'royal-tiara'],
'meta_category': 'Garments',
'name': 'Hats',
'rank': 5,
'slot': 3,
'slot_name': 'Head'},
'helmets': { 'items': [ 'hard-hat',
'iron-cap',
'iron-helmet',
'horned-helm',
'full-helm',
'warriors-helmet',
'moonlight-cap',
'spangenhelm',
'scale-helmet',
'knights-helm',
'paladins-helmet',
'great-helm',
'frozen-helm',
'silver-helm',
'dragoons-casque',
'elirs-barbuta',
'mercurial',
'phoenix-helmet',
'champions-helm',
'dragonscale-helmet',
'viking-helm',
'adamantium-helm',
'valkyrie-helm',
'golden-helm',
'frostfire-barbuta',
'jade-helm'],
'meta_category': 'Garments',
'name': 'Helmets',
'rank': 4,
'slot': 3,
'slot_name': 'Head'},
'maces': { 'items': [ 'club',
'spiked-club',
'shieldbreaker',
'maul',
'sledgehammer',
'mace',
'morning-star',
'heavy-mace',
'battle-mace',
'steeled-club',
'tree-trunk',
'war-gavel',
'journey-mace',
'hammer-fist',
'giants-hammer',
'demolisher',
'fury-club',
'earthquake',
'apocalyptus',
'pulverizer',
'tide-maker',
'evening-star',
'destroyer',
'hundred-ton',
'storm-basher',
'crusher',
'tenderizer'],
'meta_category': 'Weapons',
'name': 'Maces',
'rank': 5,
'slot': 1,
'slot_name': 'Weapon'},
'music': { 'items': [ 'wood-flute',
'small-drum',
'pan-flute',
'horn',
'harp',
'iron-flute',
'lute',
'frozen-harp',
'long-flute',
'oud',
'nordic-lute',
'military-tap',
'ygg-flute',
'silvered-flute',
'soothing-harp',
'wyrm-horn',
'golden-string',
'hell-hound',
'draconian-sound',
'draconic-heartbeat',
'twilight-flute',
'angelic-strings',
'ancient-horn',
'frostfire-harp',
'angelic-bell',
'wisdom-ocarina',
'gaias-flute'],
'meta_category': 'Accessories',
'name': 'Music',
'rank': 4,
'slot': 6,
'slot_name': 'Off-Hand'},
'pendants': { 'items': [ 'shiny-pendant',
'opal-necklace',
'scarlet-drop',
'protection-pendant',
'luna-charm',
'wind-charm',
'skeleton-ward',
'hanging-journal',
'fiery-talisman',
'azure-beads',
'timeless-locket',
'jade-amulet',
'obelisk-charm',
'turning-token',
'light-amulet',
'shielding-ward',
'phoenix-talon',
'freezing-ward',
'cats-eye',
'lichs-heart',
'skadis-charm',
'draconic-amulet',
'trine-charm',
'goddess-tear',
'adamantium-amulet',
'frostfire-talisman',
'gaias-heart'],
'meta_category': 'Accessories',
'name': 'Pendants',
'rank': 2,
'slot': 6,
'slot_name': 'Off-Hand'},
'potions': { 'items': [ 'health-vial',
'mana-vial',
'speed-potion',
'love-splash',
'healing-potion',
'toxic-vial',
'elixir-drops',
'health-drink',
'strength-potion',
'warming-spray',
'acidic-splash',
'health-potion',
'wisdom-potion',
'mana-potion',
'demons-blood',
'elixir',
'golden-potion',
'life-potion',
'invincibility-potion',
'dragons-blood',
'megalixir',
'twilight-potion',
'gods-essence',
'clarity-potion',
'obsidian-potion',
'gaias-essence'],
'meta_category': 'Accessories',
'name': 'Potions',
'rank': 5,
'slot': 7,
'slot_name': 'Accessory'},
'projectiles': { 'items': [ 'darts',
'sling',
'boomerang',
'kunai',
'poison-darts',
'smoke-bomb',
'metal-boomerang',
'toxic-bomb',
'sleeping-bomb',
'shock-darts',
'shuriken',
'elasti-sling',
'bladed-feather',
'chakram',
'magic-shuriken',
'singing-chakram',
'heart-seeker',
'steelarang',
'seeking-kunai',
'shredder',
'exploding-darts',
'heart-piercer',
'light-boomerang',
'thunder-clap',
'dragon-darts',
'frostfire-kunai',
'hell-bomb'],
'meta_category': 'Accessories',
'name': 'Projectiles',
'rank': 8,
'slot': 7,
'slot_name': 'Accessory'},
'remedies': { 'items': [ 'healing-herbs',
'antidote',
'fungi-brew',
'elderflower',
'healing-mix',
'colored-powder',
'fire-moss',
'mistletoe',
'sleeping-shrooms',
'bark-tea',
'fairy-sprinkle',
'anti-venom',
'protection-dust',
'swift-seed',
'elven-cure',
'rejuvenating-tea',
'angel-dust',
'coldfire-dust',
'strength-seed',
'phoenix-dust',
'panacea',
'mystic-flower',
'magic-seed',
'albizia',
'devil-dust',
'draconic-tea'],
'meta_category': 'Accessories',
'name': 'Remedies',
'rank': 6,
'slot': 7,
'slot_name': 'Accessory'},
'rings': { 'items': [ 'iron-band',
'rabbit-ring',
'jewel-ring',
'shadow-mark',
'crescent-ring',
'moonstone-ring',
'luck-band',
'gold-digger',
'soldiers-mark',
'nimble-ring',
'fire-band',
'sight-band',
'undead-ring',
'power-ring',
'crusader-ring',
'prayer-ring',
'wisdom-mark',
'resistance-band',
'truth-ring',
'divine-mark',
'royal-ring',
'fallen-angel-ring',
'oracle',
'lich-ring',
'azure-ring',
'antimagic-band'],
'meta_category': 'Accessories',
'name': 'Rings',
'rank': 1,
'slot': 6,
'slot_name': 'Off-Hand'},
'shields': { 'items': [ 'targe',
'buckler',
'small-shield',
'heater-shield',
'protector',
'kite-shield',
'tower-shield',
'moonlight-shield',
'knight-shield',
'fire-proof',
'venomous-buckler',
'aegis',
'bulwark',
'reflective-shield',
'skeleton-shield',
'spiked-shield',
'ember-shield',
'crystal-shield',
'argus-shield',
'blessed-aegis',
'dragon-skull',
'hawk-shield',
'giantshield',
'twilight-aegis',
'medusa-buckler',
'oracle-shield'],
'meta_category': 'Accessories',
'name': 'Shields',
'rank': 3,
'slot': 6,
'slot_name': 'Off-Hand'},
'spears': { 'items': [ 'wooden-spear',
'iron-spear',
'half-pike',
'trident',
'pike',
'gaias-javelin',
'spade',
'seeking-tip',
'lance',
'knights-lance',
'valkyrie',
'poison-tip',
'bone-spear',
'winged-spear',
'silver-fork',
'lions-tail',
'moon-voulge',
'obsidian-spear',
'impaler',
'twisted-pike',
'titanic-lance',
'night-spike',
'divine-ray',
'mystic-spear',
'twilight-spear',
'obsidian-voulge',
'primordial-trident'],
'meta_category': 'Weapons',
'name': 'Spears',
'rank': 4,
'slot': 1,
'slot_name': 'Weapon'},
'spells': { 'items': [ 'shielding-seal',
'fireball-scroll',
'poison-scroll',
'lightning-scroll',
'sleeping-totem',
'firewall-scroll',
'pain-totem',
'deflection-seal',
'freezing-scroll',
'invisibility-scroll',
'teleportation-scroll',
'magical-codex',
'paralysis-totem',
'evil-seal',
'possession-scroll',
'power-seal',
'njord',
'gloom-totem',
'arcane-compendium',
'disintegration-scroll',
'return-scroll',
'hawk-totem',
'divine-tome',
'twilight-seal',
'haunted-scroll',
'guardian-seal'],
'meta_category': 'Accessories',
'name': 'Spells',
'rank': 7,
'slot': 7,
'slot_name': 'Accessory'},
'staves': { 'items': [ 'walking-stick',
'crow-stick',
'druidic-rod',
'battle-staff',
'muted-caster',
'bishop-staff',
'healing-rod',
'forest-wand',
'fire-rod',
'blood-staff',
'luna-rod',
'whispering-wand',
'rebirth-rod',
'ice-staff',
'death-stick',
'sacred-scepter',
'soul-stealer',
'staff-of-ages',
'star-wand',
'eagle-rod',
'emperor-wand',
'cultist-staff',
'valkyries-wisdom',
'sun-king',
'affection',
'keeper-of-souls',
'shattered-wand'],
'meta_category': 'Weapons',
'name': 'Staves',
'rank': 6,
'slot': 1,
'slot_name': 'Weapon'},
'swords': { 'items': [ 'shortsword',
'longsword',
'broadsword',
'rapier',
'claymore',
'fire-blade',
'zweihander',
'bastard-sword',
'sabre',
'wakizashi',
'vorpal-sword',
'scimitar',
'coldsteel',
'masamune',
'sawblade',
'heavens-will',
'abyssal-brand',
'slashing-tiger',
'excalibur',
'stormbringer',
'twilight-scimitar',
'balmung',
'dragonslayer',
'unholy-fangs',
'frostfire-blade',
'durandal'],
'meta_category': 'Weapons',
'name': 'Swords',
'rank': 1,
'slot': 1,
'slot_name': 'Weapon'},
'vests': { 'items': [ 'leather-vest',
'hide-armor',
'boiled-leather',
'brigandine',
'leather-cuirass',
'studded-leather',
'raccoon-ranger',
'poison-studs',
'strapped-leather',
'plated-tunic',
'plated-leather',
'bear-armor',
'nightingale',
'genji-armor',
'oiled-leather',
'layered-armor',
'gold-stitch',
'wyrm-hide',
'white-crow',
'shadow-lurker',
'moonscale-armor',
'valkyries-embrace',
'dragon-skin',
'pirate-armor',
'ocean-leather',
'black-crow'],
'meta_category': 'Garments',
'name': 'Vests',
'rank': 2,
'slot': 2,
'slot_name': 'Torso'}} |
# 3-3 Problem1, Problem2, Problem3
sum = 0
for i in range(1, 101):
sum += i
print('{}'.format(sum))
A = [70, 60, 55, 75, 95, 90, 80, 80, 85, 100]
mean = 0.0
for point in A:
mean += point
mean /= len(A)
print('{}'.format(mean))
numbers = [1, 2, 3, 4, 5]
result = [n * 2 for n in numbers if n % 2 == 1]
print(result)
|
class Solution:
def addStrings(self, num1: str, num2: str) -> str:
n1 = 0; n2 = 0; o = 0
for c in num1[::-1]:
n1 += int(c)*10**o
o += 1
o = 0
for c in num2[::-1]:
n2 += int(c)*10**o
o += 1
return str(n1+n2) |
#!/usr/bin/env python3
# Write a program that computes the running sum from 1..n
# Also, have it compute the factorial of n while you're at it
# No, you may not use math.factorial()
# Use the same loop for both calculations
n = 5
rsum=0
fac=1
for i in range(1,n+1):
rsum += i
fac *= i
print (n, rsum, fac)
#goal print (n, sum, fac)
"""
5 15 120
"""
|
dados = [[], [], []]
for l in range(0, 3):
for c in range(0, 3):
dados[l].append(int(input(f'Digite um valor para [{l}, {c}]: ')))
print('>'*80)
for l in range(0, 3):
for c in range(0, 3):
print(f'[{dados[l][c]:^5}] ', end='')
print()
print('>'*80)
soma = soma2 = 0
maior = 0
for l in range(0, 3):
for c in range(0, 3):
if dados[l][c] % 2 == 0:
soma += dados[l][c]
soma2 += dados[l][2]
print(f'A soma dos valores pares é {soma}.')
print(f'A soma dos valores da terceira coluna é {soma2}.')
for l in range(0, 3):
for c in range(0, 3):
if dados[1][c] == 0:
maior = dados[1][c]
else:
if dados[1][c] > maior:
maior = dados[1][c]
print(f'O maior valor da segunda linha é {maior}.') |
"""
mcir.py
Copyright 2015 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
w3af is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
"""
HTTP_MCIR = '/tmp/mcir.txt'
DEFAULT_MCIR = 'mcir-fallback:80'
def get_mcir_http(path='/'):
try:
mcir_netloc = file(HTTP_MCIR).read().strip()
except IOError:
mcir_netloc = DEFAULT_MCIR
return 'http://%s%s' % (mcir_netloc, path)
|
#class method
class Employee:
raise_amount = 1.04
num_of_emps = 0
def __init__ (self, first, last , pay):
self.first = first
self.last = last
self.email = first + "." + last + "@company.com"
self.pay = pay
Employee.num_of_emps += 1
def full_name (self):
return "{} {}".format(self.first , self.last)
def apply_raise (self):
self.pay = int(self.pay * self.raise_amount )
@classmethod
def set_raise_amount(cls,amount):
cls.raise_amount = amount
@classmethod
def from_str(cls, emp_str):
first, last , pay = emp_str.split("-")
return cls(first, last, pay)
# person_1 = Employee("Ali","Maleki",5000)
# person_2 = Employee("Jhon","Doe",6000)
emp_1_str = "Jhon-Doe-8000"
emp_2_str = "Jane-Doe-7000"
emp_3_str = "Steve-Smith-6500"
new_emp_1 = Employee.from_str(emp_1_str)
new_emp_2 = Employee.from_str(emp_2_str)
new_emp_3 = Employee.from_str(emp_3_str)
print(new_emp_1.first)
print(new_emp_2.__dict__)
print(new_emp_3.email)
|
# test loading constants in viper functions
@micropython.viper
def f():
return b'bytes'
print(f())
@micropython.viper
def f():
@micropython.viper
def g() -> int:
return 123
return g
print(f()())
|
def format_period(start_month, start_year, end_month, end_year):
'''
Formatar o perído de consulta em string
Params:
start_month (int): valor do mês inicial
start_year (int): valor do ano inicial
end_month (int): valor do mês final
end_year (int): valor do mês final
Returns:
(string): string formatada
'''
if start_month == end_month and start_year == end_year:
return f'{start_month:0>2d}{start_year}'
return f'{start_month:0>2d}{start_year}_{end_month:0>2d}{end_year}' |
"""
/dms/rssfeedmanager/
Verwaltung der RSS-Feeds innerhalb des Django content Management Systems
Hans Rauch
hans.rauch@gmx.net
Die Programme des dms-Systems koennen frei genutzt und den spezifischen
Beduerfnissen entsprechend angepasst werden.
"""
|
x = ['apple', 'banana', 'mango', 'orange', 'peach', 'grapes']
def createNewList(l):
newList = []
i = 1
while i < 6:
newList.append(l[i])
i = i + 1
if i % 2 == 1:
i = i + 1
print(newList)
createNewList(x)
|
'''
Crie um programa que tenha uma tupla única com nomes de produtos e seus respectivos preços, na sequência.
No final, mostre uma listagem de preços, organizando os dados em forma tabular.
'''
names_and_prices = ('Caneta', 1.50, 'Borracha', 0.75, 'Lapiseira', 1.20, 'Mochila', 89.90)
produto = 0
for p in range(1, len(names_and_prices), 2):
print(f'{names_and_prices[produto]:<10}.......... R${names_and_prices[p]}')
produto += 2
|
#!/usr/bin/env python
# encoding: utf-8
"""
edit_distance.py
Created by Shengwei on 2014-07-28.
"""
# https://oj.leetcode.com/problems/edit-distance/
# tags: medium, string, dp
"""
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:
a) Insert a character
b) Delete a character
c) Replace a character
"""
# alternative: get the max common subsequence `mcs`,
# edit distance = max(len(s1, s2)) - len(mcs)
############ iterative version ############
class Solution:
# @return an integer
def minDistance(self, word1, word2):
len1, len2 = len(word1), len(word2)
# word1 as rows and word2 as cols
matrix = [[0] * (len2 + 1) for _ in range(len1 + 1)]
for i in range(len1 + 1):
matrix[i][0] = i
for j in range(len2 + 1):
matrix[0][j] = j
for i in range(1, len1 + 1):
for j in range(1, len2 + 1):
x = matrix[i - 1][j] + 1
y = matrix[i][j - 1] + 1
z = matrix[i - 1][j - 1]
# note: word index = matrix index - 1
z += 0 if word1[i - 1] == word2[j - 1] else 1
matrix[i][j] = min(x, y, z)
return matrix[-1][-1]
############ recursive version ############
class Solution:
# @return an integer
def minDistance(self, word1, word2):
if word1 == '' or word2 == '':
return max(len(s1), len(s2))
x = self.minDistance(word1[:-1], word2) + 1
y = self.minDistance(word1, word2[:-1]) + 1
z = self.minDistance(word1[:-1], word2[:-1])
z += 0 if word1[-1] == word2[-1] else 1
return min(x, y, z)
|
def find(needle, haystack):
for i in range(len(haystack)-len(needle)+1):
flag=True
for j,char in enumerate(needle):
if char=="_":
continue
elif char!=haystack[i+j]:
flag=False
break
if flag:
return i
return -1 |
'''
Como pedido na primeira video-aula desta semana, escreva um programa que recebe uma sequência de números inteiros e imprima todos os valores em ordem inversa. A sequência sempre termina pelo número 0. Note que 0 (ZERO) não deve fazer parte da sequência.
'''
lista = []
while True:
numero = int(input('Digite um número: '))
if numero > 0:
lista.append(numero)
continue
else:
break
a = -1
for i in lista:
print(lista[a])
a = a - 1
|
__title__ = 'compas_fab'
__description__ = 'Robotic fabrication package for the COMPAS Framework'
__url__ = 'https://github.com/gramaziokohler/compas_fab'
__version__ = '0.5.0'
__author__ = 'Gramazio Kohler Research'
__author_email__ = 'gramaziokohler@arch.ethz.ch'
__license__ = 'MIT license'
__copyright__ = 'Copyright 2018 Gramazio Kohler Research'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.