content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
STATS = [ { "num_node_expansions": 159, "plan_cost": 66, "plan_length": 66, "search_time": 0.89, "total_time": 2.1 }, { "num_node_expansions": 219, "plan_cost": 67, "plan_length": 67, "search_time": 1.47, "total_time": 2.1 }, { "num_node_expansions": 1950, "plan_cost": 52, "plan_length": 52, "search_time": 2.28, "total_time": 3.34 }, { "num_node_expansions": 4471, "plan_cost": 141, "plan_length": 141, "search_time": 4.87, "total_time": 5.98 }, { "num_node_expansions": 234, "plan_cost": 67, "plan_length": 67, "search_time": 1.6, "total_time": 3.4 }, { "num_node_expansions": 851, "plan_cost": 82, "plan_length": 82, "search_time": 2.27, "total_time": 5.52 }, { "num_node_expansions": 201, "plan_cost": 77, "plan_length": 77, "search_time": 0.92, "total_time": 2.02 }, { "num_node_expansions": 1130, "plan_cost": 113, "plan_length": 113, "search_time": 1.55, "total_time": 2.7 }, { "num_node_expansions": 2339, "plan_cost": 71, "plan_length": 71, "search_time": 2.86, "total_time": 4.55 }, { "num_node_expansions": 532, "plan_cost": 93, "plan_length": 93, "search_time": 1.18, "total_time": 2.79 }, { "num_node_expansions": 464, "plan_cost": 66, "plan_length": 66, "search_time": 0.55, "total_time": 1.02 }, { "num_node_expansions": 144, "plan_cost": 58, "plan_length": 58, "search_time": 0.54, "total_time": 1.02 }, { "num_node_expansions": 175, "plan_cost": 69, "plan_length": 69, "search_time": 2.83, "total_time": 8.96 }, { "num_node_expansions": 210, "plan_cost": 64, "plan_length": 64, "search_time": 2.44, "total_time": 8.51 }, { "num_node_expansions": 146, "plan_cost": 63, "plan_length": 63, "search_time": 2.57, "total_time": 6.98 }, { "num_node_expansions": 117, "plan_cost": 46, "plan_length": 46, "search_time": 2.07, "total_time": 6.9 }, { "num_node_expansions": 141, "plan_cost": 54, "plan_length": 54, "search_time": 1.09, "total_time": 2.23 }, { "num_node_expansions": 178, "plan_cost": 52, "plan_length": 52, "search_time": 0.94, "total_time": 2.05 }, { "num_node_expansions": 160, "plan_cost": 78, "plan_length": 78, "search_time": 0.6, "total_time": 1.3 }, { "num_node_expansions": 165, "plan_cost": 47, "plan_length": 47, "search_time": 0.53, "total_time": 1.25 }, { "num_node_expansions": 151, "plan_cost": 68, "plan_length": 68, "search_time": 3.28, "total_time": 9.4 }, { "num_node_expansions": 104, "plan_cost": 33, "plan_length": 33, "search_time": 0.66, "total_time": 2.59 }, { "num_node_expansions": 179, "plan_cost": 56, "plan_length": 56, "search_time": 0.1, "total_time": 0.25 }, { "num_node_expansions": 5542, "plan_cost": 87, "plan_length": 87, "search_time": 0.34, "total_time": 0.38 }, { "num_node_expansions": 1347, "plan_cost": 57, "plan_length": 57, "search_time": 0.53, "total_time": 0.82 }, { "num_node_expansions": 132, "plan_cost": 50, "plan_length": 50, "search_time": 1.51, "total_time": 3.58 }, { "num_node_expansions": 113, "plan_cost": 46, "plan_length": 46, "search_time": 1.52, "total_time": 3.82 }, { "num_node_expansions": 304, "plan_cost": 73, "plan_length": 73, "search_time": 2.32, "total_time": 6.64 }, { "num_node_expansions": 147, "plan_cost": 67, "plan_length": 67, "search_time": 2.6, "total_time": 8.56 }, { "num_node_expansions": 153, "plan_cost": 48, "plan_length": 48, "search_time": 0.96, "total_time": 3.11 }, { "num_node_expansions": 110, "plan_cost": 50, "plan_length": 50, "search_time": 0.9, "total_time": 2.51 }, { "num_node_expansions": 11667, "plan_cost": 60, "plan_length": 60, "search_time": 4.95, "total_time": 5.57 }, { "num_node_expansions": 151, "plan_cost": 66, "plan_length": 66, "search_time": 0.17, "total_time": 0.43 }, { "num_node_expansions": 133, "plan_cost": 60, "plan_length": 60, "search_time": 0.17, "total_time": 0.43 }, { "num_node_expansions": 31223, "plan_cost": 61, "plan_length": 61, "search_time": 10.26, "total_time": 10.59 }, { "num_node_expansions": 18062, "plan_cost": 57, "plan_length": 57, "search_time": 5.79, "total_time": 6.12 }, { "num_node_expansions": 193, "plan_cost": 64, "plan_length": 64, "search_time": 0.99, "total_time": 2.3 }, { "num_node_expansions": 206, "plan_cost": 66, "plan_length": 66, "search_time": 3.99, "total_time": 9.19 }, { "num_node_expansions": 169, "plan_cost": 60, "plan_length": 60, "search_time": 2.84, "total_time": 5.56 }, { "num_node_expansions": 115, "plan_cost": 51, "plan_length": 51, "search_time": 2.76, "total_time": 5.38 }, { "num_node_expansions": 537, "plan_cost": 74, "plan_length": 74, "search_time": 0.39, "total_time": 0.67 }, { "num_node_expansions": 160, "plan_cost": 69, "plan_length": 69, "search_time": 0.3, "total_time": 0.58 }, { "num_node_expansions": 128, "plan_cost": 58, "plan_length": 58, "search_time": 0.75, "total_time": 1.5 }, { "num_node_expansions": 235, "plan_cost": 72, "plan_length": 72, "search_time": 0.15, "total_time": 0.36 }, { "num_node_expansions": 270, "plan_cost": 68, "plan_length": 68, "search_time": 0.41, "total_time": 0.88 }, { "num_node_expansions": 120, "plan_cost": 51, "plan_length": 51, "search_time": 2.89, "total_time": 8.01 }, { "num_node_expansions": 111, "plan_cost": 59, "plan_length": 59, "search_time": 3.38, "total_time": 8.57 }, { "num_node_expansions": 105, "plan_cost": 48, "plan_length": 48, "search_time": 1.75, "total_time": 8.39 }, { "num_node_expansions": 148, "plan_cost": 47, "plan_length": 47, "search_time": 1.98, "total_time": 7.39 }, { "num_node_expansions": 132, "plan_cost": 53, "plan_length": 53, "search_time": 1.68, "total_time": 7.1 }, { "num_node_expansions": 79, "plan_cost": 38, "plan_length": 38, "search_time": 1.79, "total_time": 2.98 }, { "num_node_expansions": 95, "plan_cost": 43, "plan_length": 43, "search_time": 1.59, "total_time": 2.76 }, { "num_node_expansions": 1058, "plan_cost": 116, "plan_length": 116, "search_time": 0.45, "total_time": 0.76 }, { "num_node_expansions": 178, "plan_cost": 67, "plan_length": 67, "search_time": 1.46, "total_time": 3.94 }, { "num_node_expansions": 264, "plan_cost": 65, "plan_length": 65, "search_time": 1.13, "total_time": 2.54 }, { "num_node_expansions": 149, "plan_cost": 55, "plan_length": 55, "search_time": 0.84, "total_time": 1.98 }, { "num_node_expansions": 174, "plan_cost": 73, "plan_length": 73, "search_time": 0.84, "total_time": 2.07 }, { "num_node_expansions": 114, "plan_cost": 46, "plan_length": 46, "search_time": 0.35, "total_time": 0.74 } ] num_timeouts = 120 num_timeouts = 4 num_problems = 182
stats = [{'num_node_expansions': 159, 'plan_cost': 66, 'plan_length': 66, 'search_time': 0.89, 'total_time': 2.1}, {'num_node_expansions': 219, 'plan_cost': 67, 'plan_length': 67, 'search_time': 1.47, 'total_time': 2.1}, {'num_node_expansions': 1950, 'plan_cost': 52, 'plan_length': 52, 'search_time': 2.28, 'total_time': 3.34}, {'num_node_expansions': 4471, 'plan_cost': 141, 'plan_length': 141, 'search_time': 4.87, 'total_time': 5.98}, {'num_node_expansions': 234, 'plan_cost': 67, 'plan_length': 67, 'search_time': 1.6, 'total_time': 3.4}, {'num_node_expansions': 851, 'plan_cost': 82, 'plan_length': 82, 'search_time': 2.27, 'total_time': 5.52}, {'num_node_expansions': 201, 'plan_cost': 77, 'plan_length': 77, 'search_time': 0.92, 'total_time': 2.02}, {'num_node_expansions': 1130, 'plan_cost': 113, 'plan_length': 113, 'search_time': 1.55, 'total_time': 2.7}, {'num_node_expansions': 2339, 'plan_cost': 71, 'plan_length': 71, 'search_time': 2.86, 'total_time': 4.55}, {'num_node_expansions': 532, 'plan_cost': 93, 'plan_length': 93, 'search_time': 1.18, 'total_time': 2.79}, {'num_node_expansions': 464, 'plan_cost': 66, 'plan_length': 66, 'search_time': 0.55, 'total_time': 1.02}, {'num_node_expansions': 144, 'plan_cost': 58, 'plan_length': 58, 'search_time': 0.54, 'total_time': 1.02}, {'num_node_expansions': 175, 'plan_cost': 69, 'plan_length': 69, 'search_time': 2.83, 'total_time': 8.96}, {'num_node_expansions': 210, 'plan_cost': 64, 'plan_length': 64, 'search_time': 2.44, 'total_time': 8.51}, {'num_node_expansions': 146, 'plan_cost': 63, 'plan_length': 63, 'search_time': 2.57, 'total_time': 6.98}, {'num_node_expansions': 117, 'plan_cost': 46, 'plan_length': 46, 'search_time': 2.07, 'total_time': 6.9}, {'num_node_expansions': 141, 'plan_cost': 54, 'plan_length': 54, 'search_time': 1.09, 'total_time': 2.23}, {'num_node_expansions': 178, 'plan_cost': 52, 'plan_length': 52, 'search_time': 0.94, 'total_time': 2.05}, {'num_node_expansions': 160, 'plan_cost': 78, 'plan_length': 78, 'search_time': 0.6, 'total_time': 1.3}, {'num_node_expansions': 165, 'plan_cost': 47, 'plan_length': 47, 'search_time': 0.53, 'total_time': 1.25}, {'num_node_expansions': 151, 'plan_cost': 68, 'plan_length': 68, 'search_time': 3.28, 'total_time': 9.4}, {'num_node_expansions': 104, 'plan_cost': 33, 'plan_length': 33, 'search_time': 0.66, 'total_time': 2.59}, {'num_node_expansions': 179, 'plan_cost': 56, 'plan_length': 56, 'search_time': 0.1, 'total_time': 0.25}, {'num_node_expansions': 5542, 'plan_cost': 87, 'plan_length': 87, 'search_time': 0.34, 'total_time': 0.38}, {'num_node_expansions': 1347, 'plan_cost': 57, 'plan_length': 57, 'search_time': 0.53, 'total_time': 0.82}, {'num_node_expansions': 132, 'plan_cost': 50, 'plan_length': 50, 'search_time': 1.51, 'total_time': 3.58}, {'num_node_expansions': 113, 'plan_cost': 46, 'plan_length': 46, 'search_time': 1.52, 'total_time': 3.82}, {'num_node_expansions': 304, 'plan_cost': 73, 'plan_length': 73, 'search_time': 2.32, 'total_time': 6.64}, {'num_node_expansions': 147, 'plan_cost': 67, 'plan_length': 67, 'search_time': 2.6, 'total_time': 8.56}, {'num_node_expansions': 153, 'plan_cost': 48, 'plan_length': 48, 'search_time': 0.96, 'total_time': 3.11}, {'num_node_expansions': 110, 'plan_cost': 50, 'plan_length': 50, 'search_time': 0.9, 'total_time': 2.51}, {'num_node_expansions': 11667, 'plan_cost': 60, 'plan_length': 60, 'search_time': 4.95, 'total_time': 5.57}, {'num_node_expansions': 151, 'plan_cost': 66, 'plan_length': 66, 'search_time': 0.17, 'total_time': 0.43}, {'num_node_expansions': 133, 'plan_cost': 60, 'plan_length': 60, 'search_time': 0.17, 'total_time': 0.43}, {'num_node_expansions': 31223, 'plan_cost': 61, 'plan_length': 61, 'search_time': 10.26, 'total_time': 10.59}, {'num_node_expansions': 18062, 'plan_cost': 57, 'plan_length': 57, 'search_time': 5.79, 'total_time': 6.12}, {'num_node_expansions': 193, 'plan_cost': 64, 'plan_length': 64, 'search_time': 0.99, 'total_time': 2.3}, {'num_node_expansions': 206, 'plan_cost': 66, 'plan_length': 66, 'search_time': 3.99, 'total_time': 9.19}, {'num_node_expansions': 169, 'plan_cost': 60, 'plan_length': 60, 'search_time': 2.84, 'total_time': 5.56}, {'num_node_expansions': 115, 'plan_cost': 51, 'plan_length': 51, 'search_time': 2.76, 'total_time': 5.38}, {'num_node_expansions': 537, 'plan_cost': 74, 'plan_length': 74, 'search_time': 0.39, 'total_time': 0.67}, {'num_node_expansions': 160, 'plan_cost': 69, 'plan_length': 69, 'search_time': 0.3, 'total_time': 0.58}, {'num_node_expansions': 128, 'plan_cost': 58, 'plan_length': 58, 'search_time': 0.75, 'total_time': 1.5}, {'num_node_expansions': 235, 'plan_cost': 72, 'plan_length': 72, 'search_time': 0.15, 'total_time': 0.36}, {'num_node_expansions': 270, 'plan_cost': 68, 'plan_length': 68, 'search_time': 0.41, 'total_time': 0.88}, {'num_node_expansions': 120, 'plan_cost': 51, 'plan_length': 51, 'search_time': 2.89, 'total_time': 8.01}, {'num_node_expansions': 111, 'plan_cost': 59, 'plan_length': 59, 'search_time': 3.38, 'total_time': 8.57}, {'num_node_expansions': 105, 'plan_cost': 48, 'plan_length': 48, 'search_time': 1.75, 'total_time': 8.39}, {'num_node_expansions': 148, 'plan_cost': 47, 'plan_length': 47, 'search_time': 1.98, 'total_time': 7.39}, {'num_node_expansions': 132, 'plan_cost': 53, 'plan_length': 53, 'search_time': 1.68, 'total_time': 7.1}, {'num_node_expansions': 79, 'plan_cost': 38, 'plan_length': 38, 'search_time': 1.79, 'total_time': 2.98}, {'num_node_expansions': 95, 'plan_cost': 43, 'plan_length': 43, 'search_time': 1.59, 'total_time': 2.76}, {'num_node_expansions': 1058, 'plan_cost': 116, 'plan_length': 116, 'search_time': 0.45, 'total_time': 0.76}, {'num_node_expansions': 178, 'plan_cost': 67, 'plan_length': 67, 'search_time': 1.46, 'total_time': 3.94}, {'num_node_expansions': 264, 'plan_cost': 65, 'plan_length': 65, 'search_time': 1.13, 'total_time': 2.54}, {'num_node_expansions': 149, 'plan_cost': 55, 'plan_length': 55, 'search_time': 0.84, 'total_time': 1.98}, {'num_node_expansions': 174, 'plan_cost': 73, 'plan_length': 73, 'search_time': 0.84, 'total_time': 2.07}, {'num_node_expansions': 114, 'plan_cost': 46, 'plan_length': 46, 'search_time': 0.35, 'total_time': 0.74}] num_timeouts = 120 num_timeouts = 4 num_problems = 182
# Amazon interiew Question def pascal_triangle(M): a =[[] for i in range(M)] for i in range(M): for j in range(i+1): if(j<i): if(j==0): a[i].append(1) else: a[i].append(a[i-1][j] + a[i-1][j-1]) elif(j==i): a[i].append(1) return a M=5 print(pascal_triangle(M))
def pascal_triangle(M): a = [[] for i in range(M)] for i in range(M): for j in range(i + 1): if j < i: if j == 0: a[i].append(1) else: a[i].append(a[i - 1][j] + a[i - 1][j - 1]) elif j == i: a[i].append(1) return a m = 5 print(pascal_triangle(M))
# https://leetcode.com/problems/add-two-numbers/ # Related Topics: Linked List, Math # Difficulty: Easy # Initial thoughts: # Creating a new linked list, we need to loop over the given # linked lists, adding their values and moving any remaining # carry to the next digit. # Keep in mind that some carry may remain after both the linked list # are completed. We need to add the remaining carry to the result if need be. # Time complexity: O(Max(n,m)) where n === len(l1) and m === len(l2) # Space complexity: O(Max(n,m)) where n === len(l1) and m === len(l2) # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: head = ListNode(None) curr = head carry = 0 while l1 or l2: if l1: carry += l1.val l1 = l1.next if l2: carry += l2.val l2 = l2.next curr.next = ListNode(carry % 10) carry //= 10 curr = curr.next if carry: curr.next = ListNode(carry) return head.next
class Listnode: def __init__(self, x): self.val = x self.next = None class Solution: def add_two_numbers(self, l1: ListNode, l2: ListNode) -> ListNode: head = list_node(None) curr = head carry = 0 while l1 or l2: if l1: carry += l1.val l1 = l1.next if l2: carry += l2.val l2 = l2.next curr.next = list_node(carry % 10) carry //= 10 curr = curr.next if carry: curr.next = list_node(carry) return head.next
for _ in range(int(input())): n,k = list(map(int,input().split())) ans = float('inf') for i in range(int(n**0.5+1),0,-1): if n%i==0 and i<=k: if n/i<=k : ans=min(ans,i) elif i<=k : ans=min(ans,n//i) print(ans)
for _ in range(int(input())): (n, k) = list(map(int, input().split())) ans = float('inf') for i in range(int(n ** 0.5 + 1), 0, -1): if n % i == 0 and i <= k: if n / i <= k: ans = min(ans, i) elif i <= k: ans = min(ans, n // i) print(ans)
a = float(input()) b = float(input()) plus = a + b minus = a - b multiple = a * b divide = a / b print(a, "+", b, "=", plus) print(a, "-", b, "=", minus) print(a, "*", b, "=", multiple) print(a, "/", b, "=", divide)
a = float(input()) b = float(input()) plus = a + b minus = a - b multiple = a * b divide = a / b print(a, '+', b, '=', plus) print(a, '-', b, '=', minus) print(a, '*', b, '=', multiple) print(a, '/', b, '=', divide)
temp_less_than_40 = ['Make sure to button up!', 'It\'s a bit cold out, don\'t forget your gloves!', 'Layers, layers, layers!' ] temp_above_40 = ['Enjoy your day!', ' ', 'Remember to smile :)', 'Be the change you wish to see.', 'You can do anything. Any Thing.' ]
temp_less_than_40 = ['Make sure to button up!', "It's a bit cold out, don't forget your gloves!", 'Layers, layers, layers!'] temp_above_40 = ['Enjoy your day!', ' ', 'Remember to smile :)', 'Be the change you wish to see.', 'You can do anything. Any Thing.']
def getParent(i): if parent[i] != i: parent[i] = getParent(parent[i]) return parent[i] N,M,D = map(int,input().split()) Edges = sorted([tuple(list(map(int,input().split()))+[1 if _ < N-1 else 0]) for _ in range(M)],key=lambda k:k[2]) #do kruskal MST = set() parent = [a for a in range(N+1)] rank = [1 for b in range(N+1)] indice = 0 inactive = 0 maxCost = 0 while len(MST) < N-1 and indice < M: a,b,c,d = Edges[indice] root1 = getParent(a) root2 = getParent(b) if(root1!=root2): inactive += d^1 maxCost = max(maxCost,c) MST.add((a,b,c,d)) if rank[root1] > rank[root2]: parent[root2] = root1 rank[root1]+=1 else: parent[root1] = root2 rank[root2] += 1 indice += 1 if(not Edges[indice-1][3]): parent = [a for a in range(N+1)] rank = [1 for b in range(N+1)] for e in Edges: a,b,c,d = e if getParent(e[0])!=getParent(e[1]): if(e[2] < maxCost or (e[2] == maxCost and e[3])): root1 = getParent(a) root2 = getParent(b) if(root1!=root2): if rank[root1] > rank[root2]: parent[root2] = root1 rank[root1]+=1 else: parent[root1] = root2 rank[root2] += 1 elif e[3] and e[2] <= D: print(inactive-1) exit() print(inactive)
def get_parent(i): if parent[i] != i: parent[i] = get_parent(parent[i]) return parent[i] (n, m, d) = map(int, input().split()) edges = sorted([tuple(list(map(int, input().split())) + [1 if _ < N - 1 else 0]) for _ in range(M)], key=lambda k: k[2]) mst = set() parent = [a for a in range(N + 1)] rank = [1 for b in range(N + 1)] indice = 0 inactive = 0 max_cost = 0 while len(MST) < N - 1 and indice < M: (a, b, c, d) = Edges[indice] root1 = get_parent(a) root2 = get_parent(b) if root1 != root2: inactive += d ^ 1 max_cost = max(maxCost, c) MST.add((a, b, c, d)) if rank[root1] > rank[root2]: parent[root2] = root1 rank[root1] += 1 else: parent[root1] = root2 rank[root2] += 1 indice += 1 if not Edges[indice - 1][3]: parent = [a for a in range(N + 1)] rank = [1 for b in range(N + 1)] for e in Edges: (a, b, c, d) = e if get_parent(e[0]) != get_parent(e[1]): if e[2] < maxCost or (e[2] == maxCost and e[3]): root1 = get_parent(a) root2 = get_parent(b) if root1 != root2: if rank[root1] > rank[root2]: parent[root2] = root1 rank[root1] += 1 else: parent[root1] = root2 rank[root2] += 1 elif e[3] and e[2] <= D: print(inactive - 1) exit() print(inactive)
# To find the all the prime numbers between ( n and m ) n = int(input()) m = int(input()) for i in range(n, m+1): isPrime=1; for i in range(2, m/2): if i%j == 0: isPrime==0 if(isPrime == 1): print(i, "is a prime number.")
n = int(input()) m = int(input()) for i in range(n, m + 1): is_prime = 1 for i in range(2, m / 2): if i % j == 0: isPrime == 0 if isPrime == 1: print(i, 'is a prime number.')
def split_me(input_string): input_string = input_string.strip(" ") i = 0 split_me_list = [] while i < len(input_string): if input_string[i] != " ": word_start = i while i < len(input_string) and input_string[i] != " ": i += 1 split_me_list.append(input_string[word_start:i]) i += 1 print(split_me_list) if __name__ == '__main__': split_me("rohan prachi")
def split_me(input_string): input_string = input_string.strip(' ') i = 0 split_me_list = [] while i < len(input_string): if input_string[i] != ' ': word_start = i while i < len(input_string) and input_string[i] != ' ': i += 1 split_me_list.append(input_string[word_start:i]) i += 1 print(split_me_list) if __name__ == '__main__': split_me('rohan prachi')
class NumericInterval(object): def __init__(self, size=1, offset=0): self.size = size self.offset = offset def __eq__(self, other): return all([isinstance(other, NumericInterval), self.size == other.size, self.offset == other.offset]) def __hash__(self): return hash('NumericInterval %d %d' % (self.size, self.offset)) def __repr__(self): return 'NumericInterval(size=%d,offset=%d)' % (self.size, self.offset) class DatetimeInterval(object): def __init__(self, key): self.key = key def __hash__(self): return hash(self.key) def __eq__(self, other): return isinstance(other, DatetimeInterval) \ and self.key == other.key def __str__(self): return self.key def __repr__(self): return 'DatetimeInterval(\'{}\')'.format(self.key) hourly = DatetimeInterval('hour') daily = DatetimeInterval('day') weekly = DatetimeInterval('week') monthly = DatetimeInterval('month') quarterly = DatetimeInterval('quarter') annually = DatetimeInterval('year')
class Numericinterval(object): def __init__(self, size=1, offset=0): self.size = size self.offset = offset def __eq__(self, other): return all([isinstance(other, NumericInterval), self.size == other.size, self.offset == other.offset]) def __hash__(self): return hash('NumericInterval %d %d' % (self.size, self.offset)) def __repr__(self): return 'NumericInterval(size=%d,offset=%d)' % (self.size, self.offset) class Datetimeinterval(object): def __init__(self, key): self.key = key def __hash__(self): return hash(self.key) def __eq__(self, other): return isinstance(other, DatetimeInterval) and self.key == other.key def __str__(self): return self.key def __repr__(self): return "DatetimeInterval('{}')".format(self.key) hourly = datetime_interval('hour') daily = datetime_interval('day') weekly = datetime_interval('week') monthly = datetime_interval('month') quarterly = datetime_interval('quarter') annually = datetime_interval('year')
OAUTH2_SERVER_URL = 'http://localhost:8000/oauth2' OAUTH2_CLIENT_ID = 'Qv6vn7hxGGNyGuLxOU7DHtvPAykevYe1fKwy0eEP' OAUTH2_CLIENT_SECRET = '51SAwsXvhxjMTRUufxQdobMnqs2PrcmK4AEyajWTPfr2LCDt9ML7zeOWPirAhC5rvQW9hKfsjNPoraLV9meCHyLGomvM4H0y7eMXVS2eNFH1H3kJFekePBbbRBUFEsLt' REDIRECT_URL = 'http://localhost:8000/consumer/'
oauth2_server_url = 'http://localhost:8000/oauth2' oauth2_client_id = 'Qv6vn7hxGGNyGuLxOU7DHtvPAykevYe1fKwy0eEP' oauth2_client_secret = '51SAwsXvhxjMTRUufxQdobMnqs2PrcmK4AEyajWTPfr2LCDt9ML7zeOWPirAhC5rvQW9hKfsjNPoraLV9meCHyLGomvM4H0y7eMXVS2eNFH1H3kJFekePBbbRBUFEsLt' redirect_url = 'http://localhost:8000/consumer/'
def for_list(): for i in [0, 1, 2, 3]: print(i) for i in range(4): print(i) #for_list() def seq(n): x = [0 for i in range(n+1)] x[0] = 11.0/2.0 x[1] = 61.0/11.0 for i in range(2,n+1): x[i] = 111 - ( 1130 - 3000/x[i-2])/x[i-1] print(x) #seq(100) def matrix_add(A, B, n, m): ApB = [ [ 0 for j in range(m) ] for i in range(n)] print(ApB) for i in range(n): for j in range(m): ApB[i][j] = A[i][j] + B[i][j] print(ApB) A = [ [ 1,2, 6], [3,4, -3]] B = [ [ 7,-2, -2], [3,6, -2]] #matrix_add(A, B, 2, 3) def matrix_add_1(A, B): n = len(A) m = len(A[0]) ApB = [ [ 0 for j in range(m) ] for i in range(n)] for i in range(n): for j in range(m): ApB[i][j] = A[i][j] + B[i][j] print(ApB) #matrix_add_1(A, B) def seq_1(n): x = [11/2, 61/11] for i in range(2,n+1): x.append(111 - ( 1130 - 3000/x[i-2])/x[i-1] ) print(x) seq_1(100)
def for_list(): for i in [0, 1, 2, 3]: print(i) for i in range(4): print(i) def seq(n): x = [0 for i in range(n + 1)] x[0] = 11.0 / 2.0 x[1] = 61.0 / 11.0 for i in range(2, n + 1): x[i] = 111 - (1130 - 3000 / x[i - 2]) / x[i - 1] print(x) def matrix_add(A, B, n, m): ap_b = [[0 for j in range(m)] for i in range(n)] print(ApB) for i in range(n): for j in range(m): ApB[i][j] = A[i][j] + B[i][j] print(ApB) a = [[1, 2, 6], [3, 4, -3]] b = [[7, -2, -2], [3, 6, -2]] def matrix_add_1(A, B): n = len(A) m = len(A[0]) ap_b = [[0 for j in range(m)] for i in range(n)] for i in range(n): for j in range(m): ApB[i][j] = A[i][j] + B[i][j] print(ApB) def seq_1(n): x = [11 / 2, 61 / 11] for i in range(2, n + 1): x.append(111 - (1130 - 3000 / x[i - 2]) / x[i - 1]) print(x) seq_1(100)
digits = 3 i = 0 for x in range(10 ** digits): for y in range(10 ** digits): p = str(x * y) if p == p[::-1] and int(p) > i: i = int(p) print(i)
digits = 3 i = 0 for x in range(10 ** digits): for y in range(10 ** digits): p = str(x * y) if p == p[::-1] and int(p) > i: i = int(p) print(i)
''' For two strings to be permutations of each other, they must contain the same: - characters characters include all possible characters in Unicode char set (whitespace etc) - number of characters Constraints: - case senstivity matters Assumptions: - Strings will be ASCII encoded = 128 characters ''' def are_permutations(string_1, string_2): if(len(string_1) != len(string_2)): return False # optimisation, so we never need to sort else: ascii_character_set = [0] * 128 for c in string_1: #count characters in string_1 ascii_number = ord(c) ascii_character_set[ascii_number] += 1 for i in range(0, len(string_2) - 1): character = string_2[i] ascii_number = ord(character) ascii_character_set[ascii_number] -= 1 if(ascii_character_set[ascii_number] < 0): return False #string_2 has more of this character return True print(are_permutations('gofreetech', 'haha')) #false print(are_permutations('abc', 'bca ')) #false print(are_permutations('python', 'onpyth')) #true print(are_permutations('python', 'oNpyth')) #false print(are_permutations('p', 'p')) #true print(are_permutations('', '')) #true ''' Performance SL1 = length of first string SL2 = length of second string Time = O(SL1 + SL2) '''
""" For two strings to be permutations of each other, they must contain the same: - characters characters include all possible characters in Unicode char set (whitespace etc) - number of characters Constraints: - case senstivity matters Assumptions: - Strings will be ASCII encoded = 128 characters """ def are_permutations(string_1, string_2): if len(string_1) != len(string_2): return False else: ascii_character_set = [0] * 128 for c in string_1: ascii_number = ord(c) ascii_character_set[ascii_number] += 1 for i in range(0, len(string_2) - 1): character = string_2[i] ascii_number = ord(character) ascii_character_set[ascii_number] -= 1 if ascii_character_set[ascii_number] < 0: return False return True print(are_permutations('gofreetech', 'haha')) print(are_permutations('abc', 'bca ')) print(are_permutations('python', 'onpyth')) print(are_permutations('python', 'oNpyth')) print(are_permutations('p', 'p')) print(are_permutations('', '')) '\n Performance\n SL1 = length of first string\n SL2 = length of second string\n\n Time = O(SL1 + SL2) \n'
lines = { "what is that":"It's fabric from the uniform of an Army officer of Guilder.", "who's guilder":"The country across the sea. The sworn enemy of Florin.", "what's your plot":"Once the horse reaches the castle, the fabric will make the Prince suspect the Guilderians have abducted his love. When he finds her body dead on the Guilder frontier, his suspicions will be totally confirmed.", "you never said anything about killing anyone":"I've hired you to help me start a war. That's a prestigious line of work with a long and glorious tradition.", "i just don't think":"Am I going mad or did the word \"think\" escape your lips? You were not hired for your brains, you hippopotamic land mass.", "rhyme":"No more rhymes now, I mean it.", "you're sure":"As I told you, it would be absolutely, totally, and in all other ways, inconceivable. No one in Guilder knows what we've done. And no one in Florin could have gotten here so fast. Out of curiosity, why do you ask?", "let me explain":"There's nothing to explain. You're trying to kidnap what I've rightfully stolen.", "impasse":"I'm afraid so -- I can't compete with you physically. And you're no match for my brains.", "you're that smart":"Let me put it this way: have you ever heard of Plato, Aristotle, *Socrates?*\n\nMorons.", "inhale":"I smell nothing.", "where is the poison":"But it's so simple. All I have to do is divine from what I know of you. Are you the sort of man who would put the poison into his own goblet, or his enemy's?", "you've made your decision":"Not remotely. Because iocane comes from Australia, as everyone knows. And Australia is entirely peopled with criminals. And criminals are used to having people not trust them, as you are not trusted by me. So I can clearly not choose the wine in front of you.", "dizzying intellect":"Wait till I get going!\n\n...where was I?", "australia":"Yes -- Australia, and you must have suspected I would have known the powder's origin, so I can clearly not choose the wine in front of me.", "stalling":"You'd like to think that, wouldn't you? You've beaten my giant, which means you're exceptionally strong. So, you could have put the poison in your own goblet, trusting on your strength to save you. So I can clearly not choose the wine in front of you. But, you've also bested my Spaniard which means you must have studied. And in studying, you must have learned that man is mortal so you would have put the poison as far from yourself as possible, so I can clearly not choose the wine in front of me.", "it won't work":"It has worked -- you've given everything away -- I know where the poison is.", "make your choice":"I will. And I choose...\n\nWhat in the *world* can that be?", "i don't see anything":"Oh, well, I-I could have sworn I saw something. No matter.\n\n*snicker*", "what's so funny":"I'll tell you in a minute. First, let's drink -- me from my glass, and you from yours.", "you guessed wrong":"Ahahaha. You only think I guessed wrong HAHAHAHA that's what's so funny!\n\nI switched glasses when your back was turned. You fool. HAHAHAHAH\n\n*thud*" }
lines = {'what is that': "It's fabric from the uniform of an Army officer of Guilder.", "who's guilder": 'The country across the sea. The sworn enemy of Florin.', "what's your plot": 'Once the horse reaches the castle, the fabric will make the Prince suspect the Guilderians have abducted his love. When he finds her body dead on the Guilder frontier, his suspicions will be totally confirmed.', 'you never said anything about killing anyone': "I've hired you to help me start a war. That's a prestigious line of work with a long and glorious tradition.", "i just don't think": 'Am I going mad or did the word "think" escape your lips? You were not hired for your brains, you hippopotamic land mass.', 'rhyme': 'No more rhymes now, I mean it.', "you're sure": "As I told you, it would be absolutely, totally, and in all other ways, inconceivable. No one in Guilder knows what we've done. And no one in Florin could have gotten here so fast. Out of curiosity, why do you ask?", 'let me explain': "There's nothing to explain. You're trying to kidnap what I've rightfully stolen.", 'impasse': "I'm afraid so -- I can't compete with you physically. And you're no match for my brains.", "you're that smart": 'Let me put it this way: have you ever heard of Plato, Aristotle, *Socrates?*\n\nMorons.', 'inhale': 'I smell nothing.', 'where is the poison': "But it's so simple. All I have to do is divine from what I know of you. Are you the sort of man who would put the poison into his own goblet, or his enemy's?", "you've made your decision": 'Not remotely. Because iocane comes from Australia, as everyone knows. And Australia is entirely peopled with criminals. And criminals are used to having people not trust them, as you are not trusted by me. So I can clearly not choose the wine in front of you.', 'dizzying intellect': 'Wait till I get going!\n\n...where was I?', 'australia': "Yes -- Australia, and you must have suspected I would have known the powder's origin, so I can clearly not choose the wine in front of me.", 'stalling': "You'd like to think that, wouldn't you? You've beaten my giant, which means you're exceptionally strong. So, you could have put the poison in your own goblet, trusting on your strength to save you. So I can clearly not choose the wine in front of you. But, you've also bested my Spaniard which means you must have studied. And in studying, you must have learned that man is mortal so you would have put the poison as far from yourself as possible, so I can clearly not choose the wine in front of me.", "it won't work": "It has worked -- you've given everything away -- I know where the poison is.", 'make your choice': 'I will. And I choose...\n\nWhat in the *world* can that be?', "i don't see anything": 'Oh, well, I-I could have sworn I saw something. No matter.\n\n*snicker*', "what's so funny": "I'll tell you in a minute. First, let's drink -- me from my glass, and you from yours.", 'you guessed wrong': "Ahahaha. You only think I guessed wrong HAHAHAHA that's what's so funny!\n\nI switched glasses when your back was turned. You fool. HAHAHAHAH\n\n*thud*"}
__author__ = "Sailik Sengupta" class MTD_Game(object): def __init__(self): self.S = [0, 1, 2, 3] self.A = [ # Row player (Attacker) actions corresponding to each state [ ['success'], #exploit success ['no-op', 'exp-ipfire'], #Attacker outside n/w ['no-op', 'exp-win12', 'exp-win7', 'exp-ftp', 'exp-dns'], # Attacker on fw ['no-op', 'exp-ftp'], #attacker on Win 12 ], # Column player (Defender) actions corresponding to each state [ ['lost'], ['no-mon', 'mon-ipfire'], ['no-mon', 'mon-win12', 'mon-win7', 'mon-ftp', 'mon-dns'], ['no-mon', 'mon-ftp'], ] ] # R(s, a1, a2) self.R = [ [ [-20] ], [ [0, -3], [-6.8, 10] ], [ [0, -3, -3, -5, -5], [-5, 5, -3, -5, -5], [-5, -3, 5, -5, -5], [-10, -3, -3, 10, -5], [-10, -3, -3, -5, 10] ], [ [0, -3], [-0, 20] ] ] # T(s, a1, a2, s') self.T = [ [ [(1, 0, 0, 0)] ], [ [(0, 1, 0, 0), (0, 1, 0, 0)], [(0, 0.32, 0.68, 0), (0, 0.9, 0.1, 0)] ], [ [(0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0)], [(0, 0, 0.3, 0.7), (0.8, 0, 0.1, 0.1), (0.2, 0, 0.2, 0.6), (0, 0, 0.3, 0.7), (0, 0, 0.3, 0.7)], [(0, 0, 0.3, 0.7), (0.4, 0, 0.4, 0.3), (0.8, 0, 0.1, 0.1), (0, 0, 0.3, 0.7), (0, 0, 0.3, 0.7)], [(0, 0, 0.4, 0.6), (0.5, 0.1, 0.1, 0.2), (0, 0, 0.4, 0.6), (0.8, 0, 0.1, 0.1), (0, 0, 0.4, 0.6)], [(0, 0, 0.4, 0.6), (0.5, 0.1, 0.1, 0.2), (0, 0, 0.4, 0.6), (0, 0, 0.4, 0.6), (0.8, 0, 0.1, 0.1)], ], [ [(0, 0, 0, 1), (0, 0, 0, 1)], [(0.8, 0, 0, 0.2), (0.4, 0.4, 0, 0.2)] ] ] def get_S(self): return self.S def get_A(self, player): return self.A[player] def get_R(self): return self.R def get_T(self): return self.T
__author__ = 'Sailik Sengupta' class Mtd_Game(object): def __init__(self): self.S = [0, 1, 2, 3] self.A = [[['success'], ['no-op', 'exp-ipfire'], ['no-op', 'exp-win12', 'exp-win7', 'exp-ftp', 'exp-dns'], ['no-op', 'exp-ftp']], [['lost'], ['no-mon', 'mon-ipfire'], ['no-mon', 'mon-win12', 'mon-win7', 'mon-ftp', 'mon-dns'], ['no-mon', 'mon-ftp']]] self.R = [[[-20]], [[0, -3], [-6.8, 10]], [[0, -3, -3, -5, -5], [-5, 5, -3, -5, -5], [-5, -3, 5, -5, -5], [-10, -3, -3, 10, -5], [-10, -3, -3, -5, 10]], [[0, -3], [-0, 20]]] self.T = [[[(1, 0, 0, 0)]], [[(0, 1, 0, 0), (0, 1, 0, 0)], [(0, 0.32, 0.68, 0), (0, 0.9, 0.1, 0)]], [[(0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0), (0, 0, 1, 0)], [(0, 0, 0.3, 0.7), (0.8, 0, 0.1, 0.1), (0.2, 0, 0.2, 0.6), (0, 0, 0.3, 0.7), (0, 0, 0.3, 0.7)], [(0, 0, 0.3, 0.7), (0.4, 0, 0.4, 0.3), (0.8, 0, 0.1, 0.1), (0, 0, 0.3, 0.7), (0, 0, 0.3, 0.7)], [(0, 0, 0.4, 0.6), (0.5, 0.1, 0.1, 0.2), (0, 0, 0.4, 0.6), (0.8, 0, 0.1, 0.1), (0, 0, 0.4, 0.6)], [(0, 0, 0.4, 0.6), (0.5, 0.1, 0.1, 0.2), (0, 0, 0.4, 0.6), (0, 0, 0.4, 0.6), (0.8, 0, 0.1, 0.1)]], [[(0, 0, 0, 1), (0, 0, 0, 1)], [(0.8, 0, 0, 0.2), (0.4, 0.4, 0, 0.2)]]] def get_s(self): return self.S def get_a(self, player): return self.A[player] def get_r(self): return self.R def get_t(self): return self.T
CREATES = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB'}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4'}, '1001a032-691f-5158-bf4e-3e95eddcdd67') ] REPLACES = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB', 'replacement_works': True}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4', 'replacement_works': True}, '1001a032-691f-5158-bf4e-3e95eddcdd67') ] DELETES = CREATES UPDATES = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB', 'key1': 'value1', 'child_of': ['1001a032-691f-5158-bf4e-3e95eddcdd67']}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4', 'key1': 'value2'}, '1001a032-691f-5158-bf4e-3e95eddcdd67') ]
creates = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB'}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4'}, '1001a032-691f-5158-bf4e-3e95eddcdd67')] replaces = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB', 'replacement_works': True}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4', 'replacement_works': True}, '1001a032-691f-5158-bf4e-3e95eddcdd67')] deletes = CREATES updates = [('YV8R5Z', {'id': 'YV8R5Zxj9Pe7Ud74zNHL8k3YHDGgDSVpMMK9utj5BMqFpuX8kAe7M5kW93trT6cB', 'key1': 'value1', 'child_of': ['1001a032-691f-5158-bf4e-3e95eddcdd67']}, '1001a831-ce4e-56c7-954b-43d740ea56f4'), ('ZwfQge7', {'id': 'ZwfQge7KcmwuEqV8v58p2nmESZKHdv6aB7SYL4F4ABUQWt9QfaaRfxjGc43pR4n4', 'key1': 'value2'}, '1001a032-691f-5158-bf4e-3e95eddcdd67')]
def double_char(s): new_list = "" for i in s: new_list += i + i return new_list str_double = input('enter the string - ') print(double_char(str_double))
def double_char(s): new_list = '' for i in s: new_list += i + i return new_list str_double = input('enter the string - ') print(double_char(str_double))
nums = [int(x) for x in input().split()[1:]] prev = 0 total_time = 0 for i in range(len(nums)): diff = nums[i]-prev if diff >0: total_time += diff * 6 else: total_time -= diff * 4 prev = nums[i] total_time += len(nums)*5 print(total_time)
nums = [int(x) for x in input().split()[1:]] prev = 0 total_time = 0 for i in range(len(nums)): diff = nums[i] - prev if diff > 0: total_time += diff * 6 else: total_time -= diff * 4 prev = nums[i] total_time += len(nums) * 5 print(total_time)
class Some: def __init__(self): self.__x = 0 self.__y = 0 @property def x(self): return self.__x @property def y(self): return self.__y @x.setter def x(self, value): self.__x = value @x.getter def x(self): return self.__x + 2
class Some: def __init__(self): self.__x = 0 self.__y = 0 @property def x(self): return self.__x @property def y(self): return self.__y @x.setter def x(self, value): self.__x = value @x.getter def x(self): return self.__x + 2
class IncorrectPasswordException(BaseException): def __init__(self): print('Incorrect password') class ExistingUserException(BaseException): def __init__(self): print('Existing User') class InvalidBookException(BaseException): def __init__(self): print('Invalid Book') class InvalidUserException(BaseException): def __init__(self): print('Invalid User')
class Incorrectpasswordexception(BaseException): def __init__(self): print('Incorrect password') class Existinguserexception(BaseException): def __init__(self): print('Existing User') class Invalidbookexception(BaseException): def __init__(self): print('Invalid Book') class Invaliduserexception(BaseException): def __init__(self): print('Invalid User')
class AgentType(): CONSUMER_TYPE = 1 PROVIDER_ISP = 2 PROVIDER_BACKHAUL = 3 PRESENTER_TYPE = 4 PROVIDER_SUP = 5 def __init__(self, type): self.intfNames = {} self.intfNames[AgentType.CONSUMER_TYPE] = 'consumer' self.intfNames[AgentType.PROVIDER_ISP] = 'provider' self.intfNames[AgentType.PROVIDER_BACKHAUL] = 'provider' self.intfNames[AgentType.PRESENTER_TYPE] = 'presenter' self.intfNames[AgentType.PROVIDER_SUP] = 'provider' self.value = type def getInterfaceName(self): return self.intfNames[self.value] def getType(self): return self.value
class Agenttype: consumer_type = 1 provider_isp = 2 provider_backhaul = 3 presenter_type = 4 provider_sup = 5 def __init__(self, type): self.intfNames = {} self.intfNames[AgentType.CONSUMER_TYPE] = 'consumer' self.intfNames[AgentType.PROVIDER_ISP] = 'provider' self.intfNames[AgentType.PROVIDER_BACKHAUL] = 'provider' self.intfNames[AgentType.PRESENTER_TYPE] = 'presenter' self.intfNames[AgentType.PROVIDER_SUP] = 'provider' self.value = type def get_interface_name(self): return self.intfNames[self.value] def get_type(self): return self.value
x, y, w, h = input().split() x = int(x) y = int(y) w = int(w) h = int(h) bigger_x = x bigger_y = y if w-x < x: bigger_x = w-x if h-y < y: bigger_y = h-y if bigger_x > bigger_y: print(bigger_y) else: print(bigger_x)
(x, y, w, h) = input().split() x = int(x) y = int(y) w = int(w) h = int(h) bigger_x = x bigger_y = y if w - x < x: bigger_x = w - x if h - y < y: bigger_y = h - y if bigger_x > bigger_y: print(bigger_y) else: print(bigger_x)
child_bags = {} for _ in range(594): outer_bag, inner_bags = input().split(' contain ') inner_bags = inner_bags[:-1].split(', ') if inner_bags[0] == 'no other bags': continue child_bags[outer_bag] = [] for bag in inner_bags: amount = int(bag[0]) name = bag[2:] + ('s' * (amount == 1)) child_bags[outer_bag].append((name, amount)) my_bags = [('shiny gold bags', 1)] n_bags = 0 while my_bags: my_bag, amount = my_bags[0] my_bags = my_bags[1:] if my_bag not in child_bags: continue for child_bag, child_amount in child_bags[my_bag]: actual_amount = amount * child_amount n_bags += actual_amount my_bags.append((child_bag, actual_amount)) print(n_bags)
child_bags = {} for _ in range(594): (outer_bag, inner_bags) = input().split(' contain ') inner_bags = inner_bags[:-1].split(', ') if inner_bags[0] == 'no other bags': continue child_bags[outer_bag] = [] for bag in inner_bags: amount = int(bag[0]) name = bag[2:] + 's' * (amount == 1) child_bags[outer_bag].append((name, amount)) my_bags = [('shiny gold bags', 1)] n_bags = 0 while my_bags: (my_bag, amount) = my_bags[0] my_bags = my_bags[1:] if my_bag not in child_bags: continue for (child_bag, child_amount) in child_bags[my_bag]: actual_amount = amount * child_amount n_bags += actual_amount my_bags.append((child_bag, actual_amount)) print(n_bags)
VERSION='1.0.1' RELEASE=VERSION __all__ = ['VERSION', 'RELEASE']
version = '1.0.1' release = VERSION __all__ = ['VERSION', 'RELEASE']
# https://atcoder.jp/contests/abc143/tasks/abc143_b N = int(input()) d_arr = list(map(int, input().split())) ans = 0 for i in range(N - 1): for j in range(i + 1, N): ans += d_arr[i] * d_arr[j] print(ans)
n = int(input()) d_arr = list(map(int, input().split())) ans = 0 for i in range(N - 1): for j in range(i + 1, N): ans += d_arr[i] * d_arr[j] print(ans)
def test_index(client): response = client.get('/') assert response.status_code == 200 assert response.content_type == 'text/html; charset=utf-8' def test_book_views_get(client): response = client.get('/book') assert response.status_code == 200 assert response.content_type == 'text/html; charset=utf-8'
def test_index(client): response = client.get('/') assert response.status_code == 200 assert response.content_type == 'text/html; charset=utf-8' def test_book_views_get(client): response = client.get('/book') assert response.status_code == 200 assert response.content_type == 'text/html; charset=utf-8'
# # PySNMP MIB module HH3C-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-TRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:30:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint") hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon") ifIndex, ifDescr, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "ifIndex", "ifDescr", "InterfaceIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") NotificationType, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Unsigned32, ObjectIdentity, Counter32, Bits, Gauge32, MibIdentifier, Counter64, Integer32, ModuleIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Unsigned32", "ObjectIdentity", "Counter32", "Bits", "Gauge32", "MibIdentifier", "Counter64", "Integer32", "ModuleIdentity", "iso") TAddress, TruthValue, RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TAddress", "TruthValue", "RowStatus", "DisplayString", "TextualConvention") hh3cTrap = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 38)) hh3cTrap.setRevisions(('2010-06-05 10:50',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hh3cTrap.setRevisionsDescriptions(('The initial revision of this MIB module.',)) if mibBuilder.loadTexts: hh3cTrap.setLastUpdated('201006051050Z') if mibBuilder.loadTexts: hh3cTrap.setOrganization('Hangzhou H3C Technologies Co., Ltd.') if mibBuilder.loadTexts: hh3cTrap.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip: 100085') if mibBuilder.loadTexts: hh3cTrap.setDescription('This MIB is applicable to routers, switches and other products. Some objects in this may be used only for some specific products, so users should refer to the related documents to acquire more detail information. ') hh3cTableGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1)) hh3cMacTabStatGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1)) hh3cMacTabTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cMacTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabTrapEnable.setDescription('Indicates whether hh3cMacTabFullTrap and hh3cMacTabAlmostFullTrap traps should be generated when the MAC table is filled.') hh3cMacTabTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cMacTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the MAC table is full or two traps which occur when the MAC table is almost full.') hh3cMacTabTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 3)) hh3cMacTabLen = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 3, 1), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cMacTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabLen.setDescription('The length of the MAC table.') hh3cMacTabTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4)) hh3cMacTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4, 1)).setObjects(("HH3C-TRAP-MIB", "hh3cMacTabLen")) if mibBuilder.loadTexts: hh3cMacTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabFullTrap.setDescription('Send this trap when the MAC table is filled. The interval between two traps generated should be longer than hh3cMacTabTrapInterval.') hh3cMacTabAlmostFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4, 2)) if mibBuilder.loadTexts: hh3cMacTabAlmostFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabAlmostFullTrap.setDescription('Send this trap when the MAC table is almost full. The interval between two traps generated should be longer than hh3cMacTabTrapInterval.') hh3cArpTabStatGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2)) hh3cArpTabTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cArpTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabTrapEnable.setDescription('Indicates whether hh3cArpTabFullTrap traps should be generated when the ARP table is filled.') hh3cArpTabTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cArpTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the ARP table is filled.') hh3cArpTabTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 3)) hh3cArpTabLen = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 3, 1), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cArpTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabLen.setDescription('The length of the ARP table.') hh3cArpTabTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4)) hh3cArpTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4, 1)).setObjects(("HH3C-TRAP-MIB", "hh3cArpTabLen")) if mibBuilder.loadTexts: hh3cArpTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabFullTrap.setDescription('Send this trap when the ARP table is filled. The interval between two traps generated should be longer than hh3cArpTabTrapInterval.') hh3cArpPortDynamicEntryFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4, 2)).setObjects(("HH3C-TRAP-MIB", "hh3cArpTabLen"), ("IF-MIB", "ifIndex"), ("IF-MIB", "ifDescr")) if mibBuilder.loadTexts: hh3cArpPortDynamicEntryFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cArpPortDynamicEntryFullTrap.setDescription('Send this trap when the dynamic ARP number of the port exceeds the limitation. The object hh3cArpTabLen describes the limitation of the max dynamic ARP number of this port. The interval between two traps should be longer than hh3cArpTabTrapInterval.') hh3cRtTabStatGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3)) hh3cDetailRtTrapTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1), ) if mibBuilder.loadTexts: hh3cDetailRtTrapTable.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTrapTable.setDescription('This table contains objects to decide what kind of trap should be sent.') hh3cDetailRtTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1), ).setIndexNames((0, "HH3C-TRAP-MIB", "hh3cDetailRtProType")) if mibBuilder.loadTexts: hh3cDetailRtTrapEntry.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTrapEntry.setDescription('Entry items') hh3cDetailRtProType = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("local", 2), ("rip", 3), ("isis", 4), ("ospf", 5), ("bgp", 6)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cDetailRtProType.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtProType.setDescription('The index value which uniquely identifies an entry in the hh3cDetailRtTrapTable.') hh3cDetailRtEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cDetailRtEnable.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtEnable.setDescription('Indicates whether hh3cDetailRtTabFullTrap traps should be generated when a specific routing table is filled.') hh3cRtTabTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cRtTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabTrapEnable.setDescription('Indicates whether hh3cRtTabFullTrap traps should be generated when the routing table is filled.') hh3cRtTabTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cRtTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the routing table is filled.') hh3cRtTabTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4)) hh3cRtTabLen = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 1), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cRtTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabLen.setDescription('The length of the routing table. The detail routing tables also use the same object.') hh3cDefaultRtNextHopType = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 2), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cDefaultRtNextHopType.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtNextHopType.setDescription('The IP address type of the next hop of the default route. The value must be ipv4 or ipv6') hh3cDefaultRtNextHop = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 3), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cDefaultRtNextHop.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtNextHop.setDescription('The IP address of the next hop of the default route.') hh3cDefaultRtOutIf = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 4), InterfaceIndex()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cDefaultRtOutIf.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtOutIf.setDescription('The index value which uniquely identifies the local interface through which the next hop of this route should be reached. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex.') hh3cRtTabTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5)) hh3cRtTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 1)).setObjects(("HH3C-TRAP-MIB", "hh3cRtTabLen")) if mibBuilder.loadTexts: hh3cRtTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabFullTrap.setDescription('Send this trap when the routing table is filled. The interval between two traps generated should be longer than hh3cRtTabTrapInterval.') hh3cDetailRtTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 2)).setObjects(("HH3C-TRAP-MIB", "hh3cDetailRtProType"), ("HH3C-TRAP-MIB", "hh3cRtTabLen")) if mibBuilder.loadTexts: hh3cDetailRtTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTabFullTrap.setDescription('Send this trap when the detail routing table is filled. The interval between two traps generated should be longer than hh3cRtTabTrapInterval.') hh3cDefaultRtDelTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 3)).setObjects(("HH3C-TRAP-MIB", "hh3cDetailRtProType"), ("HH3C-TRAP-MIB", "hh3cDefaultRtNextHopType"), ("HH3C-TRAP-MIB", "hh3cDefaultRtNextHop"), ("HH3C-TRAP-MIB", "hh3cDefaultRtOutIf")) if mibBuilder.loadTexts: hh3cDefaultRtDelTrap.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtDelTrap.setDescription('Send this trap when the default route is deleted.') hh3cDefaultRtDelTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 6), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cDefaultRtDelTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtDelTrapEnable.setDescription('Indicates whether hh3cDefaultRtDelTrap traps should be generated when the default route is deleted.') hh3cMulticastTabStatGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4)) hh3cMulticastTabTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cMulticastTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabTrapEnable.setDescription('Indicates whether hh3cMulticastTabFullTrap traps should be generated when the multicast table is filled.') hh3cMulticastTabTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cMulticastTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the multicast table is filled.') hh3cMulticastTabTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3)) hh3cMulticastTabType = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("lay2", 1), ("lay3", 2)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cMulticastTabType.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabType.setDescription('Defining the type of the multicast table, layer2 or layer3.') hh3cMulticastTabLen = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3, 2), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cMulticastTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabLen.setDescription('The length of the multicast table.') hh3cMulticastTabTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 4)) hh3cMulticastTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 4, 1)).setObjects(("HH3C-TRAP-MIB", "hh3cMulticastTabType"), ("HH3C-TRAP-MIB", "hh3cMulticastTabLen")) if mibBuilder.loadTexts: hh3cMulticastTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabFullTrap.setDescription('Send this trap when the multicast table is filled. The interval between two traps generated should be longer than hh3cMulticastTabTrapInterval.') hh3cNdTabStatGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5)) hh3cNdTabTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cNdTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabTrapEnable.setDescription('Indicates whether hh3cNdTabFullTrap traps should be generated when the ND table is filled.') hh3cNdTabTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cNdTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the ND table is filled.') hh3cNdTabTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 3)) hh3cNdTabLen = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 3, 1), Integer32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hh3cNdTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabLen.setDescription('The length of the ND table.') hh3cNdTabTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 4)) hh3cNdTabFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 4, 1)).setObjects(("HH3C-TRAP-MIB", "hh3cNdTabLen")) if mibBuilder.loadTexts: hh3cNdTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabFullTrap.setDescription('Send this trap when the ND table is filled. The interval between two traps generated should be longer than hh3cNdTabTrapInterval.') hh3cPeriodicalTrapGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6)) hh3cPeriodicalTrapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1)) hh3cPeriodicalTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(10, 3600), )).clone(60)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cPeriodicalTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrapInterval.setDescription('Definition of the periodical interval. If no trap occurs during the certain interval, an hh3cPeriodicalTrap will be generated. If the interval is set to 0, no hh3cPeriodicalTrap will be generated.') hh3cPeriodicalTrapSwitch = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cPeriodicalTrapSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrapSwitch.setDescription('Definition of the periodical switch. If the value is off,the hh3cPeriodicalTrap will not be generated. the hh3cPeriodicalTrapInterval will be set to 0.') hh3cPeriodicalTrapInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 2)) hh3cPeriodicalNotification = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3)) hh3cPeriodicalNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3, 0)) hh3cPeriodicalTrap = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3, 0, 1)) if mibBuilder.loadTexts: hh3cPeriodicalTrap.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrap.setDescription('If no trap occurs during the interval spicified by hh3cPeriodicalTrapInterval, an hh3cPeriodicalTrap will be generated. If the interval is set to 0, no hh3cPeriodicalTrap will be generated.') hh3cTrapDesInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7)) hh3cTrapDesInfoTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1), ) if mibBuilder.loadTexts: hh3cTrapDesInfoTable.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoTable.setDescription('A table of trap destination host address and port .') hh3cTrapDesInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1), ).setIndexNames((0, "HH3C-TRAP-MIB", "hh3cTrapDesInfoIndex")) if mibBuilder.loadTexts: hh3cTrapDesInfoEntry.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoEntry.setDescription('The entry of trap destination host address and port.') hh3cTrapDesInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))) if mibBuilder.loadTexts: hh3cTrapDesInfoIndex.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoIndex.setDescription('The index of this table.') hh3cTrapDesIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 2), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hh3cTrapDesIPAddress.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesIPAddress.setDescription('The host IP address of the trap destination.') hh3cTrapDesPort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hh3cTrapDesPort.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesPort.setDescription('The port of the trap destination.') hh3cTrapDesRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hh3cTrapDesRowStatus.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesRowStatus.setDescription('The status of this table entry.') hh3cTrapDesAddrTAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 5), TAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hh3cTrapDesAddrTAddress.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesAddrTAddress.setDescription('This object contains a transport address.') hh3cTrapConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8)) hh3cTrapConfigTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1), ) if mibBuilder.loadTexts: hh3cTrapConfigTable.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigTable.setDescription('A table of trap configuration.') hh3cTrapConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1), ).setIndexNames((0, "HH3C-TRAP-MIB", "hh3cTrapConfigIndex")) if mibBuilder.loadTexts: hh3cTrapConfigEntry.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigEntry.setDescription('The entry of trap configuration.') hh3cTrapConfigIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))) if mibBuilder.loadTexts: hh3cTrapConfigIndex.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigIndex.setDescription('The index of this table.') hh3cTrapConfigName = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cTrapConfigName.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigName.setDescription('The name of the appointed traps.') hh3cTrapConfigDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cTrapConfigDescr.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigDescr.setDescription('The description of the appointed traps.') hh3cTrapConfigSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cTrapConfigSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigSwitch.setDescription('Indicates whether the appointed traps should be generated.') mibBuilder.exportSymbols("HH3C-TRAP-MIB", hh3cNdTabStatGroup=hh3cNdTabStatGroup, PYSNMP_MODULE_ID=hh3cTrap, hh3cMacTabFullTrap=hh3cMacTabFullTrap, hh3cArpTabFullTrap=hh3cArpTabFullTrap, hh3cArpPortDynamicEntryFullTrap=hh3cArpPortDynamicEntryFullTrap, hh3cRtTabTrapInfo=hh3cRtTabTrapInfo, hh3cDefaultRtNextHopType=hh3cDefaultRtNextHopType, hh3cNdTabTrapInterval=hh3cNdTabTrapInterval, hh3cRtTabStatGroup=hh3cRtTabStatGroup, hh3cArpTabTrap=hh3cArpTabTrap, hh3cMulticastTabStatGroup=hh3cMulticastTabStatGroup, hh3cNdTabTrapInfo=hh3cNdTabTrapInfo, hh3cTrapDesIPAddress=hh3cTrapDesIPAddress, hh3cArpTabTrapInfo=hh3cArpTabTrapInfo, hh3cNdTabFullTrap=hh3cNdTabFullTrap, hh3cNdTabLen=hh3cNdTabLen, hh3cTrapDesInfoEntry=hh3cTrapDesInfoEntry, hh3cDefaultRtDelTrap=hh3cDefaultRtDelTrap, hh3cDefaultRtOutIf=hh3cDefaultRtOutIf, hh3cTrap=hh3cTrap, hh3cPeriodicalTrapSwitch=hh3cPeriodicalTrapSwitch, hh3cMacTabStatGroup=hh3cMacTabStatGroup, hh3cPeriodicalNotification=hh3cPeriodicalNotification, hh3cDetailRtTabFullTrap=hh3cDetailRtTabFullTrap, hh3cPeriodicalTrapGroup=hh3cPeriodicalTrapGroup, hh3cTrapDesRowStatus=hh3cTrapDesRowStatus, hh3cTrapConfigEntry=hh3cTrapConfigEntry, hh3cMacTabTrapInfo=hh3cMacTabTrapInfo, hh3cMulticastTabTrapInterval=hh3cMulticastTabTrapInterval, hh3cArpTabStatGroup=hh3cArpTabStatGroup, hh3cArpTabTrapEnable=hh3cArpTabTrapEnable, hh3cDetailRtProType=hh3cDetailRtProType, hh3cRtTabLen=hh3cRtTabLen, hh3cPeriodicalTrapInterval=hh3cPeriodicalTrapInterval, hh3cTrapDesInfoIndex=hh3cTrapDesInfoIndex, hh3cTrapConfigTable=hh3cTrapConfigTable, hh3cTrapConfigDescr=hh3cTrapConfigDescr, hh3cTrapDesPort=hh3cTrapDesPort, hh3cMacTabAlmostFullTrap=hh3cMacTabAlmostFullTrap, hh3cTrapDesInfoTable=hh3cTrapDesInfoTable, hh3cMacTabTrap=hh3cMacTabTrap, hh3cArpTabLen=hh3cArpTabLen, hh3cPeriodicalTrapInfo=hh3cPeriodicalTrapInfo, hh3cMulticastTabFullTrap=hh3cMulticastTabFullTrap, hh3cMacTabTrapInterval=hh3cMacTabTrapInterval, hh3cTrapConfigSwitch=hh3cTrapConfigSwitch, hh3cRtTabTrapInterval=hh3cRtTabTrapInterval, hh3cMulticastTabLen=hh3cMulticastTabLen, hh3cMulticastTabType=hh3cMulticastTabType, hh3cPeriodicalNotificationPrefix=hh3cPeriodicalNotificationPrefix, hh3cTrapDesInfo=hh3cTrapDesInfo, hh3cRtTabTrap=hh3cRtTabTrap, hh3cDetailRtTrapTable=hh3cDetailRtTrapTable, hh3cMulticastTabTrapEnable=hh3cMulticastTabTrapEnable, hh3cNdTabTrap=hh3cNdTabTrap, hh3cTableGroup=hh3cTableGroup, hh3cRtTabTrapEnable=hh3cRtTabTrapEnable, hh3cNdTabTrapEnable=hh3cNdTabTrapEnable, hh3cTrapConfigName=hh3cTrapConfigName, hh3cMulticastTabTrap=hh3cMulticastTabTrap, hh3cPeriodicalTrap=hh3cPeriodicalTrap, hh3cPeriodicalTrapObjects=hh3cPeriodicalTrapObjects, hh3cMacTabLen=hh3cMacTabLen, hh3cRtTabFullTrap=hh3cRtTabFullTrap, hh3cTrapConfigIndex=hh3cTrapConfigIndex, hh3cTrapDesAddrTAddress=hh3cTrapDesAddrTAddress, hh3cDefaultRtDelTrapEnable=hh3cDefaultRtDelTrapEnable, hh3cArpTabTrapInterval=hh3cArpTabTrapInterval, hh3cMulticastTabTrapInfo=hh3cMulticastTabTrapInfo, hh3cTrapConfig=hh3cTrapConfig, hh3cDefaultRtNextHop=hh3cDefaultRtNextHop, hh3cMacTabTrapEnable=hh3cMacTabTrapEnable, hh3cDetailRtTrapEntry=hh3cDetailRtTrapEntry, hh3cDetailRtEnable=hh3cDetailRtEnable)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_union, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint') (hh3c_common,) = mibBuilder.importSymbols('HH3C-OID-MIB', 'hh3cCommon') (if_index, if_descr, interface_index) = mibBuilder.importSymbols('IF-MIB', 'ifIndex', 'ifDescr', 'InterfaceIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (notification_type, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, unsigned32, object_identity, counter32, bits, gauge32, mib_identifier, counter64, integer32, module_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Unsigned32', 'ObjectIdentity', 'Counter32', 'Bits', 'Gauge32', 'MibIdentifier', 'Counter64', 'Integer32', 'ModuleIdentity', 'iso') (t_address, truth_value, row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TAddress', 'TruthValue', 'RowStatus', 'DisplayString', 'TextualConvention') hh3c_trap = module_identity((1, 3, 6, 1, 4, 1, 25506, 2, 38)) hh3cTrap.setRevisions(('2010-06-05 10:50',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hh3cTrap.setRevisionsDescriptions(('The initial revision of this MIB module.',)) if mibBuilder.loadTexts: hh3cTrap.setLastUpdated('201006051050Z') if mibBuilder.loadTexts: hh3cTrap.setOrganization('Hangzhou H3C Technologies Co., Ltd.') if mibBuilder.loadTexts: hh3cTrap.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip: 100085') if mibBuilder.loadTexts: hh3cTrap.setDescription('This MIB is applicable to routers, switches and other products. Some objects in this may be used only for some specific products, so users should refer to the related documents to acquire more detail information. ') hh3c_table_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1)) hh3c_mac_tab_stat_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1)) hh3c_mac_tab_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cMacTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabTrapEnable.setDescription('Indicates whether hh3cMacTabFullTrap and hh3cMacTabAlmostFullTrap traps should be generated when the MAC table is filled.') hh3c_mac_tab_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cMacTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the MAC table is full or two traps which occur when the MAC table is almost full.') hh3c_mac_tab_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 3)) hh3c_mac_tab_len = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 3, 1), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cMacTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabLen.setDescription('The length of the MAC table.') hh3c_mac_tab_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4)) hh3c_mac_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4, 1)).setObjects(('HH3C-TRAP-MIB', 'hh3cMacTabLen')) if mibBuilder.loadTexts: hh3cMacTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabFullTrap.setDescription('Send this trap when the MAC table is filled. The interval between two traps generated should be longer than hh3cMacTabTrapInterval.') hh3c_mac_tab_almost_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 1, 4, 2)) if mibBuilder.loadTexts: hh3cMacTabAlmostFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMacTabAlmostFullTrap.setDescription('Send this trap when the MAC table is almost full. The interval between two traps generated should be longer than hh3cMacTabTrapInterval.') hh3c_arp_tab_stat_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2)) hh3c_arp_tab_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cArpTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabTrapEnable.setDescription('Indicates whether hh3cArpTabFullTrap traps should be generated when the ARP table is filled.') hh3c_arp_tab_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cArpTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the ARP table is filled.') hh3c_arp_tab_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 3)) hh3c_arp_tab_len = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 3, 1), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cArpTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabLen.setDescription('The length of the ARP table.') hh3c_arp_tab_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4)) hh3c_arp_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4, 1)).setObjects(('HH3C-TRAP-MIB', 'hh3cArpTabLen')) if mibBuilder.loadTexts: hh3cArpTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cArpTabFullTrap.setDescription('Send this trap when the ARP table is filled. The interval between two traps generated should be longer than hh3cArpTabTrapInterval.') hh3c_arp_port_dynamic_entry_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 2, 4, 2)).setObjects(('HH3C-TRAP-MIB', 'hh3cArpTabLen'), ('IF-MIB', 'ifIndex'), ('IF-MIB', 'ifDescr')) if mibBuilder.loadTexts: hh3cArpPortDynamicEntryFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cArpPortDynamicEntryFullTrap.setDescription('Send this trap when the dynamic ARP number of the port exceeds the limitation. The object hh3cArpTabLen describes the limitation of the max dynamic ARP number of this port. The interval between two traps should be longer than hh3cArpTabTrapInterval.') hh3c_rt_tab_stat_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3)) hh3c_detail_rt_trap_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1)) if mibBuilder.loadTexts: hh3cDetailRtTrapTable.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTrapTable.setDescription('This table contains objects to decide what kind of trap should be sent.') hh3c_detail_rt_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1)).setIndexNames((0, 'HH3C-TRAP-MIB', 'hh3cDetailRtProType')) if mibBuilder.loadTexts: hh3cDetailRtTrapEntry.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTrapEntry.setDescription('Entry items') hh3c_detail_rt_pro_type = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('local', 2), ('rip', 3), ('isis', 4), ('ospf', 5), ('bgp', 6)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cDetailRtProType.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtProType.setDescription('The index value which uniquely identifies an entry in the hh3cDetailRtTrapTable.') hh3c_detail_rt_enable = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cDetailRtEnable.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtEnable.setDescription('Indicates whether hh3cDetailRtTabFullTrap traps should be generated when a specific routing table is filled.') hh3c_rt_tab_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cRtTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabTrapEnable.setDescription('Indicates whether hh3cRtTabFullTrap traps should be generated when the routing table is filled.') hh3c_rt_tab_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cRtTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the routing table is filled.') hh3c_rt_tab_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4)) hh3c_rt_tab_len = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 1), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cRtTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabLen.setDescription('The length of the routing table. The detail routing tables also use the same object.') hh3c_default_rt_next_hop_type = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 2), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cDefaultRtNextHopType.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtNextHopType.setDescription('The IP address type of the next hop of the default route. The value must be ipv4 or ipv6') hh3c_default_rt_next_hop = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 3), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cDefaultRtNextHop.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtNextHop.setDescription('The IP address of the next hop of the default route.') hh3c_default_rt_out_if = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 4, 4), interface_index()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cDefaultRtOutIf.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtOutIf.setDescription('The index value which uniquely identifies the local interface through which the next hop of this route should be reached. The interface identified by a particular value of this index is the same interface as identified by the same value of ifIndex.') hh3c_rt_tab_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5)) hh3c_rt_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 1)).setObjects(('HH3C-TRAP-MIB', 'hh3cRtTabLen')) if mibBuilder.loadTexts: hh3cRtTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cRtTabFullTrap.setDescription('Send this trap when the routing table is filled. The interval between two traps generated should be longer than hh3cRtTabTrapInterval.') hh3c_detail_rt_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 2)).setObjects(('HH3C-TRAP-MIB', 'hh3cDetailRtProType'), ('HH3C-TRAP-MIB', 'hh3cRtTabLen')) if mibBuilder.loadTexts: hh3cDetailRtTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cDetailRtTabFullTrap.setDescription('Send this trap when the detail routing table is filled. The interval between two traps generated should be longer than hh3cRtTabTrapInterval.') hh3c_default_rt_del_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 5, 3)).setObjects(('HH3C-TRAP-MIB', 'hh3cDetailRtProType'), ('HH3C-TRAP-MIB', 'hh3cDefaultRtNextHopType'), ('HH3C-TRAP-MIB', 'hh3cDefaultRtNextHop'), ('HH3C-TRAP-MIB', 'hh3cDefaultRtOutIf')) if mibBuilder.loadTexts: hh3cDefaultRtDelTrap.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtDelTrap.setDescription('Send this trap when the default route is deleted.') hh3c_default_rt_del_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 3, 6), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cDefaultRtDelTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cDefaultRtDelTrapEnable.setDescription('Indicates whether hh3cDefaultRtDelTrap traps should be generated when the default route is deleted.') hh3c_multicast_tab_stat_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4)) hh3c_multicast_tab_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cMulticastTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabTrapEnable.setDescription('Indicates whether hh3cMulticastTabFullTrap traps should be generated when the multicast table is filled.') hh3c_multicast_tab_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cMulticastTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the multicast table is filled.') hh3c_multicast_tab_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3)) hh3c_multicast_tab_type = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('lay2', 1), ('lay3', 2)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cMulticastTabType.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabType.setDescription('Defining the type of the multicast table, layer2 or layer3.') hh3c_multicast_tab_len = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 3, 2), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cMulticastTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabLen.setDescription('The length of the multicast table.') hh3c_multicast_tab_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 4)) hh3c_multicast_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 4, 4, 1)).setObjects(('HH3C-TRAP-MIB', 'hh3cMulticastTabType'), ('HH3C-TRAP-MIB', 'hh3cMulticastTabLen')) if mibBuilder.loadTexts: hh3cMulticastTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cMulticastTabFullTrap.setDescription('Send this trap when the multicast table is filled. The interval between two traps generated should be longer than hh3cMulticastTabTrapInterval.') hh3c_nd_tab_stat_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5)) hh3c_nd_tab_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cNdTabTrapEnable.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabTrapEnable.setDescription('Indicates whether hh3cNdTabFullTrap traps should be generated when the ND table is filled.') hh3c_nd_tab_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(30, 3600)).clone(30)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cNdTabTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabTrapInterval.setDescription('Definition of the minimum interval between two traps which occur when the ND table is filled.') hh3c_nd_tab_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 3)) hh3c_nd_tab_len = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 3, 1), integer32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hh3cNdTabLen.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabLen.setDescription('The length of the ND table.') hh3c_nd_tab_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 4)) hh3c_nd_tab_full_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 5, 4, 1)).setObjects(('HH3C-TRAP-MIB', 'hh3cNdTabLen')) if mibBuilder.loadTexts: hh3cNdTabFullTrap.setStatus('current') if mibBuilder.loadTexts: hh3cNdTabFullTrap.setDescription('Send this trap when the ND table is filled. The interval between two traps generated should be longer than hh3cNdTabTrapInterval.') hh3c_periodical_trap_group = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6)) hh3c_periodical_trap_objects = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1)) hh3c_periodical_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(10, 3600))).clone(60)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cPeriodicalTrapInterval.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrapInterval.setDescription('Definition of the periodical interval. If no trap occurs during the certain interval, an hh3cPeriodicalTrap will be generated. If the interval is set to 0, no hh3cPeriodicalTrap will be generated.') hh3c_periodical_trap_switch = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cPeriodicalTrapSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrapSwitch.setDescription('Definition of the periodical switch. If the value is off,the hh3cPeriodicalTrap will not be generated. the hh3cPeriodicalTrapInterval will be set to 0.') hh3c_periodical_trap_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 2)) hh3c_periodical_notification = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3)) hh3c_periodical_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3, 0)) hh3c_periodical_trap = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 6, 3, 0, 1)) if mibBuilder.loadTexts: hh3cPeriodicalTrap.setStatus('current') if mibBuilder.loadTexts: hh3cPeriodicalTrap.setDescription('If no trap occurs during the interval spicified by hh3cPeriodicalTrapInterval, an hh3cPeriodicalTrap will be generated. If the interval is set to 0, no hh3cPeriodicalTrap will be generated.') hh3c_trap_des_info = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7)) hh3c_trap_des_info_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1)) if mibBuilder.loadTexts: hh3cTrapDesInfoTable.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoTable.setDescription('A table of trap destination host address and port .') hh3c_trap_des_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1)).setIndexNames((0, 'HH3C-TRAP-MIB', 'hh3cTrapDesInfoIndex')) if mibBuilder.loadTexts: hh3cTrapDesInfoEntry.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoEntry.setDescription('The entry of trap destination host address and port.') hh3c_trap_des_info_index = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))) if mibBuilder.loadTexts: hh3cTrapDesInfoIndex.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesInfoIndex.setDescription('The index of this table.') hh3c_trap_des_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 2), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hh3cTrapDesIPAddress.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesIPAddress.setDescription('The host IP address of the trap destination.') hh3c_trap_des_port = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hh3cTrapDesPort.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesPort.setDescription('The port of the trap destination.') hh3c_trap_des_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hh3cTrapDesRowStatus.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesRowStatus.setDescription('The status of this table entry.') hh3c_trap_des_addr_t_address = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 7, 1, 1, 5), t_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hh3cTrapDesAddrTAddress.setStatus('current') if mibBuilder.loadTexts: hh3cTrapDesAddrTAddress.setDescription('This object contains a transport address.') hh3c_trap_config = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8)) hh3c_trap_config_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1)) if mibBuilder.loadTexts: hh3cTrapConfigTable.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigTable.setDescription('A table of trap configuration.') hh3c_trap_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1)).setIndexNames((0, 'HH3C-TRAP-MIB', 'hh3cTrapConfigIndex')) if mibBuilder.loadTexts: hh3cTrapConfigEntry.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigEntry.setDescription('The entry of trap configuration.') hh3c_trap_config_index = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))) if mibBuilder.loadTexts: hh3cTrapConfigIndex.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigIndex.setDescription('The index of this table.') hh3c_trap_config_name = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cTrapConfigName.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigName.setDescription('The name of the appointed traps.') hh3c_trap_config_descr = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cTrapConfigDescr.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigDescr.setDescription('The description of the appointed traps.') hh3c_trap_config_switch = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 38, 1, 8, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cTrapConfigSwitch.setStatus('current') if mibBuilder.loadTexts: hh3cTrapConfigSwitch.setDescription('Indicates whether the appointed traps should be generated.') mibBuilder.exportSymbols('HH3C-TRAP-MIB', hh3cNdTabStatGroup=hh3cNdTabStatGroup, PYSNMP_MODULE_ID=hh3cTrap, hh3cMacTabFullTrap=hh3cMacTabFullTrap, hh3cArpTabFullTrap=hh3cArpTabFullTrap, hh3cArpPortDynamicEntryFullTrap=hh3cArpPortDynamicEntryFullTrap, hh3cRtTabTrapInfo=hh3cRtTabTrapInfo, hh3cDefaultRtNextHopType=hh3cDefaultRtNextHopType, hh3cNdTabTrapInterval=hh3cNdTabTrapInterval, hh3cRtTabStatGroup=hh3cRtTabStatGroup, hh3cArpTabTrap=hh3cArpTabTrap, hh3cMulticastTabStatGroup=hh3cMulticastTabStatGroup, hh3cNdTabTrapInfo=hh3cNdTabTrapInfo, hh3cTrapDesIPAddress=hh3cTrapDesIPAddress, hh3cArpTabTrapInfo=hh3cArpTabTrapInfo, hh3cNdTabFullTrap=hh3cNdTabFullTrap, hh3cNdTabLen=hh3cNdTabLen, hh3cTrapDesInfoEntry=hh3cTrapDesInfoEntry, hh3cDefaultRtDelTrap=hh3cDefaultRtDelTrap, hh3cDefaultRtOutIf=hh3cDefaultRtOutIf, hh3cTrap=hh3cTrap, hh3cPeriodicalTrapSwitch=hh3cPeriodicalTrapSwitch, hh3cMacTabStatGroup=hh3cMacTabStatGroup, hh3cPeriodicalNotification=hh3cPeriodicalNotification, hh3cDetailRtTabFullTrap=hh3cDetailRtTabFullTrap, hh3cPeriodicalTrapGroup=hh3cPeriodicalTrapGroup, hh3cTrapDesRowStatus=hh3cTrapDesRowStatus, hh3cTrapConfigEntry=hh3cTrapConfigEntry, hh3cMacTabTrapInfo=hh3cMacTabTrapInfo, hh3cMulticastTabTrapInterval=hh3cMulticastTabTrapInterval, hh3cArpTabStatGroup=hh3cArpTabStatGroup, hh3cArpTabTrapEnable=hh3cArpTabTrapEnable, hh3cDetailRtProType=hh3cDetailRtProType, hh3cRtTabLen=hh3cRtTabLen, hh3cPeriodicalTrapInterval=hh3cPeriodicalTrapInterval, hh3cTrapDesInfoIndex=hh3cTrapDesInfoIndex, hh3cTrapConfigTable=hh3cTrapConfigTable, hh3cTrapConfigDescr=hh3cTrapConfigDescr, hh3cTrapDesPort=hh3cTrapDesPort, hh3cMacTabAlmostFullTrap=hh3cMacTabAlmostFullTrap, hh3cTrapDesInfoTable=hh3cTrapDesInfoTable, hh3cMacTabTrap=hh3cMacTabTrap, hh3cArpTabLen=hh3cArpTabLen, hh3cPeriodicalTrapInfo=hh3cPeriodicalTrapInfo, hh3cMulticastTabFullTrap=hh3cMulticastTabFullTrap, hh3cMacTabTrapInterval=hh3cMacTabTrapInterval, hh3cTrapConfigSwitch=hh3cTrapConfigSwitch, hh3cRtTabTrapInterval=hh3cRtTabTrapInterval, hh3cMulticastTabLen=hh3cMulticastTabLen, hh3cMulticastTabType=hh3cMulticastTabType, hh3cPeriodicalNotificationPrefix=hh3cPeriodicalNotificationPrefix, hh3cTrapDesInfo=hh3cTrapDesInfo, hh3cRtTabTrap=hh3cRtTabTrap, hh3cDetailRtTrapTable=hh3cDetailRtTrapTable, hh3cMulticastTabTrapEnable=hh3cMulticastTabTrapEnable, hh3cNdTabTrap=hh3cNdTabTrap, hh3cTableGroup=hh3cTableGroup, hh3cRtTabTrapEnable=hh3cRtTabTrapEnable, hh3cNdTabTrapEnable=hh3cNdTabTrapEnable, hh3cTrapConfigName=hh3cTrapConfigName, hh3cMulticastTabTrap=hh3cMulticastTabTrap, hh3cPeriodicalTrap=hh3cPeriodicalTrap, hh3cPeriodicalTrapObjects=hh3cPeriodicalTrapObjects, hh3cMacTabLen=hh3cMacTabLen, hh3cRtTabFullTrap=hh3cRtTabFullTrap, hh3cTrapConfigIndex=hh3cTrapConfigIndex, hh3cTrapDesAddrTAddress=hh3cTrapDesAddrTAddress, hh3cDefaultRtDelTrapEnable=hh3cDefaultRtDelTrapEnable, hh3cArpTabTrapInterval=hh3cArpTabTrapInterval, hh3cMulticastTabTrapInfo=hh3cMulticastTabTrapInfo, hh3cTrapConfig=hh3cTrapConfig, hh3cDefaultRtNextHop=hh3cDefaultRtNextHop, hh3cMacTabTrapEnable=hh3cMacTabTrapEnable, hh3cDetailRtTrapEntry=hh3cDetailRtTrapEntry, hh3cDetailRtEnable=hh3cDetailRtEnable)
print("Mostra numeros do 1 ao 5") n = 1 while n <= 5: print(n) n = n + 1 if n==3: continue #if n==4: # break else: print("Laco terminou normalmente") print("Fim do programa")
print('Mostra numeros do 1 ao 5') n = 1 while n <= 5: print(n) n = n + 1 if n == 3: continue else: print('Laco terminou normalmente') print('Fim do programa')
# # PySNMP MIB module QUANTUMBRIDGE-REG (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/QUANTUMBRIDGE-REG # Produced by pysmi-0.3.4 at Mon Apr 29 20:34:50 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") iso, TimeTicks, NotificationType, Bits, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Integer32, Gauge32, Unsigned32, MibIdentifier, Counter32, IpAddress, enterprises, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "TimeTicks", "NotificationType", "Bits", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Integer32", "Gauge32", "Unsigned32", "MibIdentifier", "Counter32", "IpAddress", "enterprises", "ModuleIdentity") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") quantumBridgeRegistrations = ModuleIdentity((1, 3, 6, 1, 4, 1, 4323, 1)) if mibBuilder.loadTexts: quantumBridgeRegistrations.setLastUpdated('9903202155Z') if mibBuilder.loadTexts: quantumBridgeRegistrations.setOrganization('Quantum Bridge Communications Inc.') quantumBridge = ObjectIdentity((1, 3, 6, 1, 4, 1, 4323)) if mibBuilder.loadTexts: quantumBridge.setStatus('current') qbMibs = ObjectIdentity((1, 3, 6, 1, 4, 1, 4323, 2)) if mibBuilder.loadTexts: qbMibs.setStatus('current') qbProducts = ObjectIdentity((1, 3, 6, 1, 4, 1, 4323, 3)) if mibBuilder.loadTexts: qbProducts.setStatus('current') qb5000SystemID = MibIdentifier((1, 3, 6, 1, 4, 1, 4323, 3, 1)) qb3000SystemID = MibIdentifier((1, 3, 6, 1, 4, 1, 4323, 3, 2)) qb8000SystemID = MibIdentifier((1, 3, 6, 1, 4, 1, 4323, 3, 3)) mibBuilder.exportSymbols("QUANTUMBRIDGE-REG", quantumBridge=quantumBridge, qb8000SystemID=qb8000SystemID, PYSNMP_MODULE_ID=quantumBridgeRegistrations, qbMibs=qbMibs, qbProducts=qbProducts, quantumBridgeRegistrations=quantumBridgeRegistrations, qb5000SystemID=qb5000SystemID, qb3000SystemID=qb3000SystemID)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_size_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (iso, time_ticks, notification_type, bits, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, integer32, gauge32, unsigned32, mib_identifier, counter32, ip_address, enterprises, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'TimeTicks', 'NotificationType', 'Bits', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Integer32', 'Gauge32', 'Unsigned32', 'MibIdentifier', 'Counter32', 'IpAddress', 'enterprises', 'ModuleIdentity') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') quantum_bridge_registrations = module_identity((1, 3, 6, 1, 4, 1, 4323, 1)) if mibBuilder.loadTexts: quantumBridgeRegistrations.setLastUpdated('9903202155Z') if mibBuilder.loadTexts: quantumBridgeRegistrations.setOrganization('Quantum Bridge Communications Inc.') quantum_bridge = object_identity((1, 3, 6, 1, 4, 1, 4323)) if mibBuilder.loadTexts: quantumBridge.setStatus('current') qb_mibs = object_identity((1, 3, 6, 1, 4, 1, 4323, 2)) if mibBuilder.loadTexts: qbMibs.setStatus('current') qb_products = object_identity((1, 3, 6, 1, 4, 1, 4323, 3)) if mibBuilder.loadTexts: qbProducts.setStatus('current') qb5000_system_id = mib_identifier((1, 3, 6, 1, 4, 1, 4323, 3, 1)) qb3000_system_id = mib_identifier((1, 3, 6, 1, 4, 1, 4323, 3, 2)) qb8000_system_id = mib_identifier((1, 3, 6, 1, 4, 1, 4323, 3, 3)) mibBuilder.exportSymbols('QUANTUMBRIDGE-REG', quantumBridge=quantumBridge, qb8000SystemID=qb8000SystemID, PYSNMP_MODULE_ID=quantumBridgeRegistrations, qbMibs=qbMibs, qbProducts=qbProducts, quantumBridgeRegistrations=quantumBridgeRegistrations, qb5000SystemID=qb5000SystemID, qb3000SystemID=qb3000SystemID)
class Target: def __init__(self, Id, Athlete_Id, Content, Status, Week, Year): self.Id = Id self.Athlete_Id = Athlete_Id self.Content = Content self.Status = Status self.Week = Week self.Year = Year
class Target: def __init__(self, Id, Athlete_Id, Content, Status, Week, Year): self.Id = Id self.Athlete_Id = Athlete_Id self.Content = Content self.Status = Status self.Week = Week self.Year = Year
class Person: def __init__(self, firstname = "J.", lastname = "Doe", wage = 10.00, hours = 40.00): self.firstname = firstname self.lastname = lastname self.wage = wage self.hours = hours def getPerson(self): firstname, lastname = input("Hello! What is your full name?: ").split(" ") self.firstname = firstname self.lastname = lastname wage = input("What is your hourly wage? [$##.##]: ") self.wage = wage hours = input("How many hours did you work this week? [Estimate one decimal (##.#)]: ") self.hours = hours def setFirstname(self, firstname): self.firstname = firstname def setLastname(self, lastname): self.lastname = lastname def setWage(self, wage): self.wage = wage def setHours(self, hours): self.hours = hours
class Person: def __init__(self, firstname='J.', lastname='Doe', wage=10.0, hours=40.0): self.firstname = firstname self.lastname = lastname self.wage = wage self.hours = hours def get_person(self): (firstname, lastname) = input('Hello! What is your full name?: ').split(' ') self.firstname = firstname self.lastname = lastname wage = input('What is your hourly wage? [$##.##]: ') self.wage = wage hours = input('How many hours did you work this week? [Estimate one decimal (##.#)]: ') self.hours = hours def set_firstname(self, firstname): self.firstname = firstname def set_lastname(self, lastname): self.lastname = lastname def set_wage(self, wage): self.wage = wage def set_hours(self, hours): self.hours = hours
# /usr/bin/env python # coding=utf-8 def disable_iptables(): pass
def disable_iptables(): pass
class MCTS(object): pass class ParallelMCTS(MCTS): pass
class Mcts(object): pass class Parallelmcts(MCTS): pass
# # PySNMP MIB module NETSCREEN-SET-DHCP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETSCREEN-SET-DHCP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:10:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint") netscreenSetting, netscreenSettingMibModule = mibBuilder.importSymbols("NETSCREEN-SMI", "netscreenSetting", "netscreenSettingMibModule") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Counter32, TimeTicks, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, ObjectIdentity, NotificationType, Gauge32, Unsigned32, IpAddress, MibIdentifier, Integer32, Counter64, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "TimeTicks", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "ObjectIdentity", "NotificationType", "Gauge32", "Unsigned32", "IpAddress", "MibIdentifier", "Integer32", "Counter64", "iso") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") netscreenSetDhcpMibModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 3224, 7, 0, 5)) netscreenSetDhcpMibModule.setRevisions(('2004-05-03 00:00', '2004-03-03 00:00', '2003-11-10 00:00', '2001-12-12 00:00', '2001-09-28 00:00', '2001-05-27 00:00',)) if mibBuilder.loadTexts: netscreenSetDhcpMibModule.setLastUpdated('200405032022Z') if mibBuilder.loadTexts: netscreenSetDhcpMibModule.setOrganization('Juniper Networks, Inc.') nsSetDHCP = MibIdentifier((1, 3, 6, 1, 4, 1, 3224, 7, 5)) nsSetDhcpTable = MibTable((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1), ) if mibBuilder.loadTexts: nsSetDhcpTable.setStatus('current') nsSetDhcpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1), ).setIndexNames((0, "NETSCREEN-SET-DHCP-MIB", "nsSetDhcpIfIdx")) if mibBuilder.loadTexts: nsSetDhcpEntry.setStatus('current') nsSetDhcpIfIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsSetDhcpIfIdx.setStatus('current') nsSetDHCPService = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("dhcp-relay-agent", 1), ("dhcp-server", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsSetDHCPService.setStatus('current') nsSetDHCPRelayServer = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsSetDHCPRelayServer.setStatus('current') nsSetDHCPVpnEncryp = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enabled", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsSetDHCPVpnEncryp.setStatus('current') nsSetDhcpIfInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsSetDhcpIfInfo.setStatus('current') mibBuilder.exportSymbols("NETSCREEN-SET-DHCP-MIB", nsSetDHCP=nsSetDHCP, nsSetDhcpTable=nsSetDhcpTable, nsSetDHCPRelayServer=nsSetDHCPRelayServer, PYSNMP_MODULE_ID=netscreenSetDhcpMibModule, nsSetDHCPVpnEncryp=nsSetDHCPVpnEncryp, nsSetDHCPService=nsSetDHCPService, nsSetDhcpIfInfo=nsSetDhcpIfInfo, netscreenSetDhcpMibModule=netscreenSetDhcpMibModule, nsSetDhcpIfIdx=nsSetDhcpIfIdx, nsSetDhcpEntry=nsSetDhcpEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint') (netscreen_setting, netscreen_setting_mib_module) = mibBuilder.importSymbols('NETSCREEN-SMI', 'netscreenSetting', 'netscreenSettingMibModule') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (counter32, time_ticks, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, object_identity, notification_type, gauge32, unsigned32, ip_address, mib_identifier, integer32, counter64, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'TimeTicks', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'ObjectIdentity', 'NotificationType', 'Gauge32', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'Integer32', 'Counter64', 'iso') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') netscreen_set_dhcp_mib_module = module_identity((1, 3, 6, 1, 4, 1, 3224, 7, 0, 5)) netscreenSetDhcpMibModule.setRevisions(('2004-05-03 00:00', '2004-03-03 00:00', '2003-11-10 00:00', '2001-12-12 00:00', '2001-09-28 00:00', '2001-05-27 00:00')) if mibBuilder.loadTexts: netscreenSetDhcpMibModule.setLastUpdated('200405032022Z') if mibBuilder.loadTexts: netscreenSetDhcpMibModule.setOrganization('Juniper Networks, Inc.') ns_set_dhcp = mib_identifier((1, 3, 6, 1, 4, 1, 3224, 7, 5)) ns_set_dhcp_table = mib_table((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1)) if mibBuilder.loadTexts: nsSetDhcpTable.setStatus('current') ns_set_dhcp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1)).setIndexNames((0, 'NETSCREEN-SET-DHCP-MIB', 'nsSetDhcpIfIdx')) if mibBuilder.loadTexts: nsSetDhcpEntry.setStatus('current') ns_set_dhcp_if_idx = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsSetDhcpIfIdx.setStatus('current') ns_set_dhcp_service = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('dhcp-relay-agent', 1), ('dhcp-server', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsSetDHCPService.setStatus('current') ns_set_dhcp_relay_server = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsSetDHCPRelayServer.setStatus('current') ns_set_dhcp_vpn_encryp = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enabled', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsSetDHCPVpnEncryp.setStatus('current') ns_set_dhcp_if_info = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 7, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsSetDhcpIfInfo.setStatus('current') mibBuilder.exportSymbols('NETSCREEN-SET-DHCP-MIB', nsSetDHCP=nsSetDHCP, nsSetDhcpTable=nsSetDhcpTable, nsSetDHCPRelayServer=nsSetDHCPRelayServer, PYSNMP_MODULE_ID=netscreenSetDhcpMibModule, nsSetDHCPVpnEncryp=nsSetDHCPVpnEncryp, nsSetDHCPService=nsSetDHCPService, nsSetDhcpIfInfo=nsSetDhcpIfInfo, netscreenSetDhcpMibModule=netscreenSetDhcpMibModule, nsSetDhcpIfIdx=nsSetDhcpIfIdx, nsSetDhcpEntry=nsSetDhcpEntry)
class orders: def __init__(self): ''' Order storage and build class ''' self.orders = {} self._id = -1 def get_order(self, _id): return self.orders[str(_id)] def _close(self, _id=None): self.orders.pop(str(_id)) def _open(self, price, side, size, fee): self._id += 1 # init order self.orders[self._id] = order(_id=self._id) # create and return an order return self.orders[self._id](price, side, size, fee) def __call__(self, price, side, size, fee): return self._open(price, side, size, fee) class order: def __init__(self, _id=None): ''' Order class args: _id: (int) order id ''' self.price = None self.side = None self.size = None self.fee = None self.started = None self._id = _id def __call__(self, price, side, size, fee): self.price = price self.side = side self.size = size self.fee = fee return self def __repr__(self): return "{}(id={}, side={}, price={}, size={}, fee={})".format(\ self.__class__.__name__, self._id, self.side, self.price, self.size, self.fee)
class Orders: def __init__(self): """ Order storage and build class """ self.orders = {} self._id = -1 def get_order(self, _id): return self.orders[str(_id)] def _close(self, _id=None): self.orders.pop(str(_id)) def _open(self, price, side, size, fee): self._id += 1 self.orders[self._id] = order(_id=self._id) return self.orders[self._id](price, side, size, fee) def __call__(self, price, side, size, fee): return self._open(price, side, size, fee) class Order: def __init__(self, _id=None): """ Order class args: _id: (int) order id """ self.price = None self.side = None self.size = None self.fee = None self.started = None self._id = _id def __call__(self, price, side, size, fee): self.price = price self.side = side self.size = size self.fee = fee return self def __repr__(self): return '{}(id={}, side={}, price={}, size={}, fee={})'.format(self.__class__.__name__, self._id, self.side, self.price, self.size, self.fee)
# # PySNMP MIB module HMPRIV-MGMT-SNMP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HMPRIV-MGMT-SNMP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:18:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint") dot1dStaticAddress, = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dStaticAddress") AddressFamilyNumbers, = mibBuilder.importSymbols("IANA-ADDRESS-FAMILY-NUMBERS-MIB", "AddressFamilyNumbers") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") TimeFilter, = mibBuilder.importSymbols("RMON2-MIB", "TimeFilter") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") TimeTicks, iso, Counter32, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, enterprises, Counter64, Unsigned32, MibIdentifier, ObjectIdentity, Integer32, Gauge32, Bits, ModuleIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "iso", "Counter32", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "enterprises", "Counter64", "Unsigned32", "MibIdentifier", "ObjectIdentity", "Integer32", "Gauge32", "Bits", "ModuleIdentity", "NotificationType") RowStatus, TruthValue, DisplayString, TextualConvention, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TextualConvention", "MacAddress") hmConfiguration = ModuleIdentity((1, 3, 6, 1, 4, 1, 248, 14)) hmConfiguration.setRevisions(('2008-06-03 12:00', '2007-12-11 12:00', '2007-09-13 12:00', '2010-01-29 12:00', '2012-09-04 12:00',)) if mibBuilder.loadTexts: hmConfiguration.setLastUpdated('201209041200Z') if mibBuilder.loadTexts: hmConfiguration.setOrganization('Hirschmann Automation and Control GmbH') class HmAgentLogSeverity(TextualConvention, Integer32): reference = 'RFC3164 - 4.1.1: Table 2' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("emergency", 0), ("alert", 1), ("critical", 2), ("error", 3), ("warning", 4), ("notice", 5), ("informational", 6), ("debug", 7)) class LEDState(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("off", 1), ("green", 2), ("yellow", 3), ("red", 4)) class DIPSwitchState(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("on", 1), ("off", 2)) class PTPTimeInterval(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 18' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class PTPPortIdentity(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(10, 10) fixedLength = 10 class PTPClockIdentity(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class PTPClockQuality(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(4, 4) fixedLength = 4 class BridgeIdOrNull(TextualConvention, OctetString): status = 'current' subtypeSpec = OctetString.subtypeSpec + ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(8, 8), ) hirschmann = MibIdentifier((1, 3, 6, 1, 4, 1, 248)) hmChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1)) hmAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2)) hmProducts = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10)) rs2 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 2)) mach3000 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 3)) ms2108_2 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 4)).setLabel("ms2108-2") ms3124_4 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 5)).setLabel("ms3124-4") rs2_16 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 6)).setLabel("rs2-16") rs2_4r = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 7)).setLabel("rs2-4r") ms4128_5 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 10)).setLabel("ms4128-5") eagle = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 20)) rr_epl = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 21)).setLabel("rr-epl") eagle_mguard = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 22)).setLabel("eagle-mguard") eagle20 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 23)) ms20 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 30)) ms30 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 31)) rs20 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 40)) rs30 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 41)) rsb20 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 44)) osb20 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 45)) mach4002_48_4G = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 50)).setLabel("mach4002-48-4G") octopus = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 60)) mach4002_24G = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 70)).setLabel("mach4002-24G") mach4002_24G_3X = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 71)).setLabel("mach4002-24G-3X") mach4002_48G = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 75)).setLabel("mach4002-48G") mach4002_48G_3X = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 76)).setLabel("mach4002-48G-3X") ruggedswitch = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 90)) railswitchrugged = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 100)) mach100 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 110)) octopus_os = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 120)).setLabel("octopus-os") mach100ge = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 130)) mach1000ge = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 131)) eem1 = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 200)) hmSystemTable = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1)) hmSysProduct = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 10, 11, 12, 20, 21, 100, 101, 102, 110, 111, 112, 120, 121, 122, 130, 131, 132, 140, 141, 142, 200, 201, 202, 210, 211, 212, 220, 221, 222, 230, 231, 232, 240, 241, 242, 300, 301, 302, 303, 304, 311, 312, 313, 401, 410, 420, 421, 425, 426, 500, 501, 502, 503, 504, 505, 506, 507, 520, 521, 522, 523, 524, 525, 526, 527, 530, 531, 532, 533, 534, 535, 536, 537, 540, 541, 542, 543, 544, 545, 546, 547, 550, 551, 600, 601, 620, 621, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 720, 721, 722, 723, 724, 725, 730, 731, 732, 733, 734, 740, 780, 800, 801, 802, 803, 804, 810, 811, 812, 820, 821, 822, 823, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1200))).clone(namedValues=NamedValues(("rs2-tx-tx", 1), ("rs2-fx-fx", 2), ("rs2-fxsm-fxsm", 3), ("mach3002", 10), ("mach3005", 11), ("mach3001", 12), ("ms2108-2", 20), ("ms3124-4", 21), ("rs2-16m", 100), ("rs2-15m", 101), ("rs2-14m", 102), ("rs2-16m-1mm-sc", 110), ("rs2-16m-1sm-sc", 111), ("rs2-16m-1lh-sc", 112), ("rs2-15m-1mm-sc", 120), ("rs2-15m-1sm-sc", 121), ("rs2-15m-1lh-sc", 122), ("rs2-16m-2mm-sc", 130), ("rs2-16m-2sm-sc", 131), ("rs2-16m-2lh-sc", 132), ("rs2-16m-1mm-sc-1sm-sc", 140), ("rs2-16m-1mm-sc-1lh-sc", 141), ("rs2-16m-1sm-sc-1lh-sc", 142), ("rs2-8m", 200), ("rs2-7m", 201), ("rs2-6m", 202), ("rs2-8m-1mm-sc", 210), ("rs2-8m-1sm-sc", 211), ("rs2-8m-1lh-sc", 212), ("rs2-7m-1mm-sc", 220), ("rs2-7m-1sm-sc", 221), ("rs2-7m-1lh-sc", 222), ("rs2-8m-2mm-sc", 230), ("rs2-8m-2sm-sc", 231), ("rs2-8m-2lh-sc", 232), ("rs2-8m-1mm-sc-1sm-sc", 240), ("rs2-8m-1mm-sc-1lh-sc", 241), ("rs2-8m-1sm-sc-1lh-sc", 242), ("rs2-4r", 300), ("rs2-4r-1mm-sc", 301), ("rs2-4r-1sm-sc", 302), ("rs2-4r-1lh-sc", 303), ("rs2-4r-1fl-st", 304), ("rs2-4r-2mm-sc", 311), ("rs2-4r-2sm-sc", 312), ("rs2-4r-2lh-sc", 313), ("ms4128-5", 401), ("mach4002-48-4G", 410), ("mach4002-24G", 420), ("mach4002-24G-3X", 421), ("mach4002-48G", 425), ("mach4002-48G-3X", 426), ("eagle-tx-tx", 500), ("eagle-tx-mm-sc", 501), ("eagle-tx-sm-sc", 502), ("eagle-tx-lh-sc", 503), ("eagle-mm-sc-tx", 504), ("eagle-mm-sc-mm-sc", 505), ("eagle-mm-sc-sm-sc", 506), ("eagle-mm-sc-lh-sc", 507), ("eagle-fw-tx-tx", 520), ("eagle-fw-tx-mm-sc", 521), ("eagle-fw-tx-sm-sc", 522), ("eagle-fw-tx-lh-sc", 523), ("eagle-fw-mm-sc-tx", 524), ("eagle-fw-mm-sc-mm-sc", 525), ("eagle-fw-mm-sc-sm-sc", 526), ("eagle-fw-mm-sc-lh-sc", 527), ("eagle-mguard-tx-tx", 530), ("eagle-mguard-tx-mm-sc", 531), ("eagle-mguard-tx-sm-sc", 532), ("eagle-mguard-tx-lh-sc", 533), ("eagle-mguard-mm-sc-tx", 534), ("eagle-mguard-mm-sc-mm-sc", 535), ("eagle-mguard-mm-sc-sm-sc", 536), ("eagle-mguard-mm-sc-lh-sc", 537), ("eagle20-tx-tx", 540), ("eagle20-tx-mm-sc", 541), ("eagle20-tx-sm-sc", 542), ("eagle20-tx-lh-sc", 543), ("eagle20-mm-sc-tx", 544), ("eagle20-mm-sc-mm-sc", 545), ("eagle20-mm-sc-sm-sc", 546), ("eagle20-mm-sc-lh-sc", 547), ("rr-epl-tx-tx", 550), ("rr-epl-tx-mm-sc", 551), ("ms20-0800", 600), ("ms20-2400", 601), ("ms30-0802", 620), ("ms30-2402", 621), ("rs20-0400", 700), ("rs20-0400m1", 701), ("rs20-0400m2", 702), ("rs20-0800", 703), ("rs20-0800m2", 704), ("rs20-1600", 705), ("rs20-1600m2", 706), ("rs20-2400", 707), ("rs20-2400m2", 708), ("rs20-0900m3", 709), ("rs20-1700m3", 710), ("rs20-2500m3", 711), ("rs30-0802", 720), ("rs30-1602", 721), ("rs30-2402", 722), ("rs30-0802m4", 723), ("rs30-1602m4", 724), ("rs30-2402m4", 725), ("rsb20-8tx", 730), ("rsb20-8tx-1fx", 731), ("rsb20-6tx-2fx", 732), ("rsb20-6tx-3fx", 733), ("rsb20-6tx-3sfp", 734), ("rs40-0009", 740), ("cs30-0202", 780), ("octopus-8m", 800), ("octopus-16m", 801), ("octopus-24m", 802), ("octopus-8m-2g", 803), ("octopus-16m-2g", 804), ("os-000800", 810), ("os-000802", 811), ("os-001000", 812), ("osb20-9tx", 820), ("osb24-9tx-8poe", 821), ("osb20-10tx", 822), ("osb24-10tx-8poe", 823), ("mar1020", 900), ("mar1030", 901), ("mar1030-4g", 902), ("mar1022", 903), ("mar1032", 904), ("mar1032-4g", 905), ("mar1120", 906), ("mar1130", 907), ("mar1130-4g", 908), ("mar1122", 909), ("mar1132", 910), ("mar1132-4g", 911), ("mar1040", 912), ("mar1042", 913), ("mar1140", 914), ("mar1142", 915), ("rsr30-07sfp-03sfp", 1000), ("rsr30-06tp-03combo", 1001), ("rsr30-06tp-02sfp-02combo", 1002), ("rsr30-06tp-02sfp-02sfp", 1003), ("rsr30-08tp-02combo", 1004), ("rsr30-08tp-02sfp", 1005), ("rsr20-06tp-03fx", 1006), ("rsr20-06tp-02fx", 1007), ("rsr20-08tp", 1008), ("mach100", 1100), ("mach104-20tx-f", 1101), ("mach104-20tx-fr", 1102), ("mach104-20tx-f-4poe", 1103), ("mach104-16tx-poep", 1104), ("mach104-16tx-poep-r", 1105), ("mach104-16tx-poep-e", 1106), ("mach104-16tx-poep-2x", 1107), ("mach104-16tx-poep-2x-r", 1108), ("mach104-16tx-poep-2x-e", 1109), ("eem1", 1200)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysProduct.setStatus('current') hmSysVersion = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysVersion.setStatus('current') hmSysGroupCapacity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupCapacity.setStatus('current') hmSysGroupMap = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupMap.setStatus('current') hmSysMaxPowerSupply = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysMaxPowerSupply.setStatus('current') hmSysMaxFan = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysMaxFan.setStatus('current') hmSysGroupModuleCapacity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupModuleCapacity.setStatus('current') hmSysModulePortCapacity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModulePortCapacity.setStatus('current') hmSysGroupTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9), ) if mibBuilder.loadTexts: hmSysGroupTable.setStatus('current') hmSysGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSysGroupID")) if mibBuilder.loadTexts: hmSysGroupEntry.setStatus('current') hmSysGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupID.setStatus('current') hmSysGroupType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 10, 20, 21, 22, 23, 30, 31, 40, 41, 42, 44, 45, 50, 60, 70, 71, 75, 76, 90, 100, 110, 130, 131, 200))).clone(namedValues=NamedValues(("unknown", 1), ("m-basic4", 10), ("ms2108-2", 20), ("ms3124-4", 21), ("rs2", 22), ("ms4128-5", 23), ("ms20", 30), ("ms30", 31), ("rs20", 40), ("rs30", 41), ("rs40", 42), ("rsb20", 44), ("osb2x", 45), ("mach4002-48-4G", 50), ("octopus", 60), ("mach4002-24G", 70), ("mach4002-24G-3X", 71), ("mach4002-48G", 75), ("mach4002-48G-3X", 76), ("ruggedswitch", 90), ("railswitchrugged", 100), ("mach100", 110), ("mach100ge", 130), ("mach1000ge", 131), ("eem1", 200)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupType.setStatus('current') hmSysGroupDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupDescription.setStatus('current') hmSysGroupHwVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupHwVersion.setStatus('current') hmSysGroupSwVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupSwVersion.setStatus('current') hmSysGroupModuleMap = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupModuleMap.setStatus('current') hmSysGroupAction = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 10))).clone(namedValues=NamedValues(("other", 1), ("reset", 2), ("resetStats", 3), ("resetFDB", 4), ("resetARP", 5), ("resetL3Stats", 6), ("resetL4-7Stats", 7), ("hotRestart", 10))).clone('other')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysGroupAction.setStatus('current') hmSysGroupActionResult = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupActionResult.setStatus('current') hmSysGroupIsolateMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysGroupIsolateMode.setStatus('current') hmSysGroupSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupSerialNum.setStatus('current') hmSysGroupActionDelayPreset = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysGroupActionDelayPreset.setStatus('current') hmSysGroupActionDelayCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysGroupActionDelayCurrent.setStatus('current') hmSysModuleTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10), ) if mibBuilder.loadTexts: hmSysModuleTable.setStatus('current') hmSysModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSysModGroupID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmSysModID")) if mibBuilder.loadTexts: hmSysModuleEntry.setStatus('current') hmSysModGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModGroupID.setStatus('current') hmSysModID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModID.setStatus('current') hmSysModType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 100, 101, 102, 103, 104, 200, 201, 300, 400, 401, 402, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1299, 1300, 1301, 1302, 1303, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1501, 1502, 1503, 1550, 1600, 1601, 1610, 1611, 1612, 1613, 1614, 1615, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1750, 1751, 1752, 1753, 1850))).clone(namedValues=NamedValues(("unknown", 1), ("m-fast-8tp-rj", 100), ("m-fast-8mm-mt", 101), ("m-fast-2mm-sc", 102), ("m-fast-2sm-sc", 103), ("m-eth-4mm-st", 104), ("m-giga-2sx-sc", 200), ("m-giga-1lx-sc", 201), ("m-router", 300), ("m-giga-2sx-sc-2", 400), ("m-giga-1lx-sc-2", 401), ("m-giga-2tp-rj", 402), ("mm2-4tx1", 1000), ("mm2-2flm4", 1001), ("mm2-2fls4", 1002), ("mm3-4flm4", 1003), ("mm3-4fls4", 1004), ("mm3-2aui", 1005), ("mm3-4tx5", 1006), ("mm2-4fxm3", 1100), ("mm2-2fxm2", 1101), ("mm2-2fxs2", 1102), ("mm3-4fxm2", 1103), ("mm3-4fxs2", 1104), ("mm3-4fxm4", 1105), ("mm2-2fxp4", 1106), ("mm3-4fxp4", 1107), ("mm2-2fxm3-2tx1", 1201), ("mm3-2fxm2-2tx1", 1202), ("mm3-2fxs2-2tx1", 1203), ("mm3-1fxl2-3tx1", 1204), ("mm3-1fxs2-3tx1", 1205), ("mm3-1fxm2-3tx1", 1206), ("mm3-2fxm4-2tx1", 1207), ("mm3-3tx1-1fxm2", 1208), ("mm3-4tx5-relay", 1209), ("mm3-3fxxx-1tx1", 1299), ("mm3-4tx1-rt", 1300), ("mm3-2fxm2-2tx1-rt", 1301), ("mm3-2fxs2-2tx1-rt", 1302), ("mm3-2flm3-2tx1-rt", 1303), ("mm4-4tx-sfp", 1401), ("mm4-2tx-sfp", 1402), ("mm3-4tx1-poe", 1403), ("mm3-4sfp", 1404), ("mm3-4tx5-poe", 1405), ("mm3-3tx5-poe-1tx5", 1406), ("mm23-t1t1t1t1", 1407), ("mm23-m2m2t1t1", 1408), ("mm23-s2s2t1t1", 1409), ("mm23-f4f4t1t1", 1410), ("mm33-07079999", 1411), ("mm4-2tx-sfp-giga", 1412), ("mm4-2tx-giga", 1413), ("m4-8tp-rj45", 1501), ("m4-fast-8sfp", 1502), ("m4-fast-8tp-rj45-poe", 1503), ("m4-giga-8sfp", 1550), ("m4-base-giga-4tp-sfp", 1600), ("m4-base-fast-16tp", 1601), ("m4-base-48g-16tp", 1610), ("m4-base-48g-8tp-sfp-8tp", 1611), ("m4-base-48g-3xfp", 1612), ("m4-base-24g-8tp", 1613), ("m4-base-24g-8tp-sfp", 1614), ("m4-base-24g-3xfp", 1615), ("mach102-8tp", 1701), ("m1-8tp-rj45", 1702), ("m1-8mm-sc", 1703), ("m1-8sm-sc", 1704), ("m1-8sfp", 1705), ("mach104-20tx-f", 1706), ("mach104-20tx-fr", 1707), ("mach104-20tx-f-4poe", 1708), ("m1-8tp-rj45-poe", 1709), ("mach104-16tx-poep", 1710), ("mach104-16tx-poep-r", 1711), ("mach104-16tx-poep-e", 1712), ("mach104-16tx-poep-2x", 1713), ("mach104-16tx-poep-2x-r", 1714), ("mach104-16tx-poep-2x-e", 1715), ("mar1040", 1750), ("mar1042", 1751), ("mar1140", 1752), ("mar1142", 1753), ("mm20-ioioioio", 1850)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModType.setStatus('current') hmSysModDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModDescription.setStatus('current') hmSysModVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModVersion.setStatus('current') hmSysModNumOfPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModNumOfPorts.setStatus('current') hmSysModFirstMauIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModFirstMauIndex.setStatus('current') hmSysModStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("physical", 1), ("configurable", 2), ("remove", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysModStatus.setStatus('current') hmSysModSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysModSerialNum.setStatus('current') hmInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11), ) if mibBuilder.loadTexts: hmInterfaceTable.setStatus('current') hmInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmIfaceGroupID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmIfaceID")) if mibBuilder.loadTexts: hmInterfaceEntry.setStatus('current') hmIfaceGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceGroupID.setStatus('current') hmIfaceID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceID.setStatus('current') hmIfaceStpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceStpEnable.setStatus('current') hmIfaceLinkType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("user", 1), ("uplink", 2))).clone('user')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceLinkType.setStatus('current') hmIfaceAction = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noAction", 1), ("resetStats", 2))).clone('noAction')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceAction.setStatus('current') hmIfaceNextHopMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 6), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceNextHopMacAddress.setStatus('current') hmIfaceFlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceFlowControl.setStatus('current') hmIfacePriorityThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfacePriorityThreshold.setStatus('current') hmIfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceName.setStatus('current') hmIfaceTrunkID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceTrunkID.setStatus('current') hmIfacePrioTOSEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfacePrioTOSEnable.setStatus('current') hmIfaceBcastLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceBcastLimit.setStatus('current') hmIfaceUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceUtilization.setStatus('current') hmIfaceUtilizationControlInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceUtilizationControlInterval.setStatus('current') hmIfaceStpBpduGuardEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceStpBpduGuardEnable.setStatus('current') hmIfaceStpBpduGuardStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceStpBpduGuardStatus.setStatus('current') hmIfaceCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceCapability.setStatus('current') hmIfaceIngressLimiterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("all", 1), ("bc", 2), ("bc-mc", 3), ("bc-mc-uuc", 4))).clone('bc')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceIngressLimiterMode.setStatus('current') hmIfaceIngressLimiterCalculationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("bytebased", 1), ("packetbased", 2))).clone('bytebased')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceIngressLimiterCalculationMode.setStatus('current') hmIfaceIngressLimiterRate = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceIngressLimiterRate.setStatus('current') hmIfaceEgressLimiterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("all", 1), ("bc", 2), ("bc-mc", 3), ("bc-mc-uuc", 4))).clone('all')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceEgressLimiterMode.setStatus('current') hmIfaceEgressLimiterCalculationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("bytebased", 1), ("packetbased", 2))).clone('bytebased')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceEgressLimiterCalculationMode.setStatus('current') hmIfaceEgressLimiterRate = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceEgressLimiterRate.setStatus('current') hmIfaceUtilizationAlarmUpperThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceUtilizationAlarmUpperThreshold.setStatus('current') hmIfaceUtilizationAlarmLowerThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceUtilizationAlarmLowerThreshold.setStatus('current') hmIfaceUtilizationAlarmCondition = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIfaceUtilizationAlarmCondition.setStatus('current') hmIfaceCableCrossing = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("unsupported", 3))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfaceCableCrossing.setStatus('current') hmIfacePhyFastLinkDetection = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("unsupported", 3))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIfacePhyFastLinkDetection.setStatus('current') hmTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12), ) if mibBuilder.loadTexts: hmTrunkTable.setStatus('current') hmTrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmTrunkID")) if mibBuilder.loadTexts: hmTrunkEntry.setStatus('current') hmTrunkID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrunkID.setStatus('current') hmTrunkInterfaces = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrunkInterfaces.setStatus('current') hmTrunkName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrunkName.setStatus('current') hmTrunkAction = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noAction", 1), ("resetStats", 2))).clone('noAction')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrunkAction.setStatus('current') hmTrunkAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrunkAdminStatus.setStatus('current') hmTrunkOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrunkOperStatus.setStatus('current') hmTrunkLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrunkLastChange.setStatus('current') hmSFPTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13), ) if mibBuilder.loadTexts: hmSFPTable.setStatus('current') hmSFPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSfpGroupID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmSfpID")) if mibBuilder.loadTexts: hmSFPEntry.setStatus('current') hmSfpGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))) if mibBuilder.loadTexts: hmSfpGroupID.setStatus('current') hmSfpID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))) if mibBuilder.loadTexts: hmSfpID.setStatus('current') hmSfpConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 6, 7, 8, 11, 33))).clone(namedValues=NamedValues(("non-sfp", 1), ("fiberjack", 6), ("lc", 7), ("mt-rj", 8), ("optical-pigtail", 11), ("copper-pigtail", 33)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpConnector.setStatus('current') hmSfpTransceiver = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 30, 31, 32, 40, 41))).clone(namedValues=NamedValues(("ge-1000-base-sx", 1), ("ge-1000-base-lx", 2), ("ge-1000-base-cx", 4), ("ge-1000-base-t", 8), ("unsupported", 9), ("oc3-mm-sr", 10), ("oc3-sm-ir", 11), ("oc3-sm-lr", 12), ("oc12-mm-sr", 13), ("oc12-sm-ir", 14), ("oc12-sm-lr", 15), ("oc48-sr", 16), ("oc48-ir", 17), ("oc48-lr", 18), ("xfp-10gbase-sr", 30), ("xfp-10gbase-lr", 31), ("xfp-10gbase-er", 32), ("microfx", 40), ("pof", 41)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpTransceiver.setStatus('current') hmSfpVendorOUI = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpVendorOUI.setStatus('current') hmSfpVendorName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpVendorName.setStatus('current') hmSfpPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpPartNumber.setStatus('current') hmSfpPartRev = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpPartRev.setStatus('current') hmSfpSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpSerialNum.setStatus('current') hmSfpDateCode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpDateCode.setStatus('current') hmSfpBitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpBitRate.setStatus('current') hmSfpTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpTemperature.setStatus('current') hmSfpTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 13), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpTxPower.setStatus('current') hmSfpRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 14), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpRxPower.setStatus('current') hmSfpTxPowerInt = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpTxPowerInt.setStatus('current') hmSfpRxPowerInt = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpRxPowerInt.setStatus('current') hmSfpRxPowerState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ok", 1), ("warning", 2), ("alarm", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpRxPowerState.setStatus('current') hmSfpInfoVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpInfoVersion.setStatus('current') hmSfpInfoPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 11))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpInfoPartNumber.setStatus('current') hmSfpInfoPartId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 22), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpInfoPartId.setStatus('current') hmSfpInfoMagic = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpInfoMagic.setStatus('current') hmSfpSupported = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 24), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpSupported.setStatus('current') hmSfpMaxLength_fiber_9 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 30), Integer32()).setLabel("hmSfpMaxLength-fiber-9").setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpMaxLength_fiber_9.setStatus('current') hmSfpMaxLength_fiber_50 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 31), Integer32()).setLabel("hmSfpMaxLength-fiber-50").setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpMaxLength_fiber_50.setStatus('current') hmSfpMaxLength_fiber_62_5 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 32), Integer32()).setLabel("hmSfpMaxLength-fiber-62-5").setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpMaxLength_fiber_62_5.setStatus('current') hmSfpMaxLength_copper = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 33), Integer32()).setLabel("hmSfpMaxLength-copper").setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpMaxLength_copper.setStatus('current') hmSfpTxPowerdBm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 34), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpTxPowerdBm.setStatus('current') hmSfpRxPowerdBm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 35), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSfpRxPowerdBm.setStatus('current') hmSysChassisName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 20), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysChassisName.setStatus('current') hmSysStpEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysStpEnable.setStatus('current') hmSysFlowControl = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysFlowControl.setStatus('current') hmSysBOOTPEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysBOOTPEnable.setStatus('current') hmSysDHCPEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysDHCPEnable.setStatus('current') hmSysTelnetEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysTelnetEnable.setStatus('current') hmSysHTTPEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysHTTPEnable.setStatus('current') hmSysPlugAndPlay = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysPlugAndPlay.setStatus('current') hmBcastLimiterMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmBcastLimiterMode.setStatus('current') hmSystemTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 30), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSystemTime.setStatus('current') hmSystemTimeSource = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("local", 1), ("sntp", 2), ("ptp", 3), ("gps", 4), ("ntp", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSystemTimeSource.setStatus('current') hmSysStpBPDUGuardEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysStpBPDUGuardEnable.setStatus('current') hmSysSTPErrorNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSTPErrorNumber.setStatus('current') hmSysSoftwareCapability = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 34), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSoftwareCapability.setStatus('current') hmLEDGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35)) hmLEDRSGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1)) hmLEDRSPowerSupply = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 1), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSPowerSupply.setStatus('current') hmLEDRStandby = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 2), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRStandby.setStatus('current') hmLEDRSRedundancyManager = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 3), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRedundancyManager.setStatus('current') hmLEDRSFault = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 4), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSFault.setStatus('current') hmLEDOctGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2)) hmLEDOctPowerSupply1 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 1), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDOctPowerSupply1.setStatus('current') hmLEDOctPowerSupply2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 2), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDOctPowerSupply2.setStatus('current') hmLEDOctRedundancyManager = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 3), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDOctRedundancyManager.setStatus('current') hmLEDOctFault = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 4), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDOctFault.setStatus('current') hmLEDRSRGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3)) hmLEDRSRPowerSupply = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 1), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRPowerSupply.setStatus('current') hmLEDRSRStandby = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 2), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRStandby.setStatus('current') hmLEDRSRRedundancyManager = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 3), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRRedundancyManager.setStatus('current') hmLEDRSRFault = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 4), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRFault.setStatus('current') hmLEDRSRRelay1 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 5), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRRelay1.setStatus('current') hmLEDRSRRelay2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 6), LEDState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLEDRSRRelay2.setStatus('current') hmDIPSwitchGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36)) hmDIPSwitchRSGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1)) hmDIPSwitchRSRedundancyManager = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1, 1), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchRSRedundancyManager.setStatus('current') hmDIPSwitchRSStandby = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1, 2), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchRSStandby.setStatus('current') hmDIPSwitchMICEGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2)) hmDIPSwitchMICERedundancyManager = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 1), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchMICERedundancyManager.setStatus('current') hmDIPSwitchMICERingPort = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 2), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchMICERingPort.setStatus('current') hmDIPSwitchMICEStandby = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 3), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchMICEStandby.setStatus('current') hmDIPSwitchMICEConfig = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 4), DIPSwitchState()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDIPSwitchMICEConfig.setStatus('current') hmSysMaxTrunks = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 37), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysMaxTrunks.setStatus('current') hmLimiterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38)) hmIngressLimiterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1)) hmIngressLimiterEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIngressLimiterEnable.setStatus('current') hmIngressLimiterMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("all", 1), ("bc", 2), ("bc-mc", 3), ("bc-mc-uuc", 4))).clone('bc')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIngressLimiterMode.setStatus('current') hmIngressUnknUcLimiterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3)) hmIngressUnknUcLimiterMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIngressUnknUcLimiterMode.setStatus('current') hmIngressUnknUcLimiterCalculationMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("bytebased", 1), ("packetbased", 2))).clone('bytebased')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIngressUnknUcLimiterCalculationMode.setStatus('current') hmIngressUnknUcLimiterRate = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIngressUnknUcLimiterRate.setStatus('current') hmEgressLimiterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 2)) hmEgressLimiterEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmEgressLimiterEnable.setStatus('current') hmSysUSBGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 39)) hmSysMaxUSBPorts = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 39, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysMaxUSBPorts.setStatus('current') hmSysSwitchGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40)) hmSysSwitchLearning = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchLearning.setStatus('current') hmSysSwitchMRU = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1522, 1552, 1632))).clone(namedValues=NamedValues(("size1522", 1522), ("size1552", 1552), ("size1632", 1632))).clone('size1522')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchMRU.setStatus('current') hmSysSwitchFastLinkDetection = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchFastLinkDetection.setStatus('current') hmSysSwitchAddressRelearnDetection = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchAddressRelearnDetection.setStatus('current') hmSysSwitchAddressRelearnThreshold = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchAddressRelearnThreshold.setStatus('current') hmSysSwitchDuplexMismatchDetection = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchDuplexMismatchDetection.setStatus('current') hmSysSwitchFDBFullCounter = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchFDBFullCounter.setStatus('current') hmSysSwitchFDBHashOptimizingMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchFDBHashOptimizingMode.setStatus('current') hmSysSwitchFDBHashOptimizingStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchFDBHashOptimizingStatus.setStatus('current') hmSysSwitchVLANGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10)) hmSysSwitchVLANLearningMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ivl", 1), ("svl", 2))).clone('ivl')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchVLANLearningMode.setStatus('current') hmSysSwitchVLANLearningStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ivl", 1), ("svl", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchVLANLearningStatus.setStatus('current') hmSysSwitchServiceModeGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11)) hmSysSwitchServiceMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchServiceMode.setStatus('current') hmSysSwitchServiceVlan = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchServiceVlan.setStatus('current') hmSysSwitchServiceModeOperState = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchServiceModeOperState.setStatus('current') hmSysSwitchRedundancyGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20)) hmSysSwitchRedundancyRstpMrpMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpMode.setStatus('current') hmSysSwitchRedundancyRstpMrpConfigError = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 2), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpConfigError.setStatus('current') hmSysSwitchRedundancyRstpMrpConfigErrorBridge = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 3), BridgeIdOrNull()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpConfigErrorBridge.setStatus('current') hmSysSelftestGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41)) hmSysSelftestRAM = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSelftestRAM.setStatus('current') hmSysSelftestRebootOnError = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSelftestRebootOnError.setStatus('current') hmSysSelftestMMUStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysSelftestMMUStatus.setStatus('current') hmSysSelftestRebootOnHdxError = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSelftestRebootOnHdxError.setStatus('current') hmSysOEMGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 42)) hmSysOEMID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 42, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysOEMID.setStatus('current') hmSysMaxSignalContacts = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 43), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSysMaxSignalContacts.setStatus('current') hmSysHttpsEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysHttpsEnable.setStatus('current') hmSysHttpsPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(443)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysHttpsPortNumber.setStatus('current') hmSysSkipAcaOnBoot = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSysSkipAcaOnBoot.setStatus('current') hmPSTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 2), ) if mibBuilder.loadTexts: hmPSTable.setStatus('current') hmPSEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPSSysID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmPSID")) if mibBuilder.loadTexts: hmPSEntry.setStatus('current') hmPSSysID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSSysID.setStatus('current') hmPSID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSID.setStatus('current') hmPSState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ok", 1), ("failed", 2), ("notInstalled", 3), ("unknown", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSState.setStatus('current') hmPSType = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("unknown", 1), ("ac-dc", 2), ("dc-dc-24v-1", 3), ("dc-dc-48v-1", 4), ("dc-dc-24v-2", 5), ("dc-dc-48v-2", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSType.setStatus('current') hmPSVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSVersion.setStatus('current') hmPSDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSDescription.setStatus('current') hmPSSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSSerialNumber.setStatus('current') hmPSProductCode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSProductCode.setStatus('current') hmPSPowerBudget = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPSPowerBudget.setStatus('current') hmFanTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 3), ) if mibBuilder.loadTexts: hmFanTable.setStatus('current') hmFanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmFanSysID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmFanID")) if mibBuilder.loadTexts: hmFanEntry.setStatus('current') hmFanSysID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFanSysID.setStatus('current') hmFanID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFanID.setStatus('current') hmFanState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("failed", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFanState.setStatus('current') hmFwdPriorityConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 4)) hmPrioTOSEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioTOSEnable.setStatus('current') hmPrioMACAddressEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioMACAddressEnable.setStatus('current') hmPrioVlan0TagTransparentMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioVlan0TagTransparentMode.setStatus('current') hmPrioMACAddressTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10), ) if mibBuilder.loadTexts: hmPrioMACAddressTable.setStatus('current') hmPrioMACAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPrioMACAddress"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmPrioMACReceivePort")) if mibBuilder.loadTexts: hmPrioMACAddressEntry.setStatus('current') hmPrioMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPrioMACAddress.setStatus('current') hmPrioMACReceivePort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPrioMACReceivePort.setStatus('current') hmPrioMACPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioMACPriority.setStatus('current') hmPrioMACStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioMACStatus.setStatus('current') hmPrioTrafficClassTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11), ) if mibBuilder.loadTexts: hmPrioTrafficClassTable.setStatus('current') hmPrioTrafficClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPrioTrafficClassID")) if mibBuilder.loadTexts: hmPrioTrafficClassEntry.setStatus('current') hmPrioTrafficClassID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPrioTrafficClassID.setStatus('current') hmPrioTrafficClassWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPrioTrafficClassWeight.setStatus('current') hmPrioTosToPrioTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12), ) if mibBuilder.loadTexts: hmPrioTosToPrioTable.setStatus('current') hmPrioTosToPrioEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPrioTTPTos")) if mibBuilder.loadTexts: hmPrioTosToPrioEntry.setStatus('current') hmPrioTTPTos = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPrioTTPTos.setStatus('current') hmPrioTTPPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPrioTTPPrio.setStatus('current') hmCurrentAddressTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 5), ) if mibBuilder.loadTexts: hmCurrentAddressTable.setStatus('current') hmCurrentAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmCurrentAddress"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmCurrentAddressReceivePort")) if mibBuilder.loadTexts: hmCurrentAddressEntry.setStatus('current') hmCurrentAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 1), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCurrentAddress.setStatus('current') hmCurrentAddressReceivePort = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCurrentAddressReceivePort.setStatus('current') hmCurrentAddressStaticEgressPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCurrentAddressStaticEgressPorts.setStatus('current') hmCurrentAddressEgressPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCurrentAddressEgressPorts.setStatus('current') hmCurrentAddressStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("permanent", 3), ("deleteOnReset", 4), ("deleteOnTimeout", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCurrentAddressStatus.setStatus('current') hmRS2ext = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10)) hmRS2OperMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("normal", 1), ("standby-active", 2), ("standby-inactive", 3), ("redundancy-manager-active", 4), ("redundancy-manager-inactive", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2OperMode.setStatus('current') hmRS2ConfigError = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no-error", 1), ("error", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2ConfigError.setStatus('current') hmRS2SigRelayState = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2SigRelayState.setStatus('current') hmSigLinkTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4), ) if mibBuilder.loadTexts: hmSigLinkTable.setStatus('current') hmSigLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSigLinkID")) if mibBuilder.loadTexts: hmSigLinkEntry.setStatus('current') hmSigLinkID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigLinkID.setStatus('current') hmSigLinkAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigLinkAlarm.setStatus('current') hmSigTrapReason = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 5), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigTrapReason.setStatus('current') hmSigReasonIndex = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigReasonIndex.setStatus('current') hmRS2TopologyGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7)) hmRS2PartnerIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2PartnerIpAddress.setStatus('current') hmRS2TopologyTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2), ) if mibBuilder.loadTexts: hmRS2TopologyTable.setStatus('current') hmRS2TopologyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmRS2TopologyLinkID")) if mibBuilder.loadTexts: hmRS2TopologyEntry.setStatus('current') hmRS2TopologyLinkID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2TopologyLinkID.setStatus('current') hmRS2TopologyIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2TopologyIpAddress.setStatus('current') hmRS2ConnectionMirroringGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8)) hmRS2ConnectionMirroringStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2ConnectionMirroringStatus.setStatus('current') hmRS2ConnectionMirroringPortOne = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2ConnectionMirroringPortOne.setStatus('current') hmRS2ConnectionMirroringPortTwo = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2ConnectionMirroringPortTwo.setStatus('current') hmRS2DisableLearningGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 9)) hmRS2DisableLearningStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2DisableLearningStatus.setStatus('current') hmRS2SigRelayGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10)) hmRS2SigRelayMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("standard", 1), ("manual", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2SigRelayMode.setStatus('current') hmRS2SigRelayManualState = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2SigRelayManualState.setStatus('current') hmRS2VlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11)) hmRS2VlanMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2VlanMode.setStatus('current') hmRS2VlanStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2VlanStatus.setStatus('current') hmRS2SelftestGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12)) hmRS2SelftestResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2SelftestResult.setStatus('current') hmRS2SelftestMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2SelftestMode.setStatus('current') hmRS2PSGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 13)) hmRS2PSAlarm = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 13, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2PSAlarm.setStatus('current') hmRS2RedundancyGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 14)) hmRS2RedNotGuaranteedAlarm = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 14, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2RedNotGuaranteedAlarm.setStatus('current') hmRS4RGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15)) hmRS4RVlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1)) hmRS4RVlanPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1), ) if mibBuilder.loadTexts: hmRS4RVlanPortTable.setStatus('current') hmRS4RVlanPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmRS4RVlanPortID")) if mibBuilder.loadTexts: hmRS4RVlanPortEntry.setStatus('current') hmRS4RVlanPortID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))) if mibBuilder.loadTexts: hmRS4RVlanPortID.setStatus('current') hmRS4RVlanPortTagFormatRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS4RVlanPortTagFormatRstp.setStatus('current') hmRS2FDBGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16)) hmRS2FDBHashGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1)) hmRS2FDBHashOptimizingMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRS2FDBHashOptimizingMode.setStatus('current') hmRS2FDBHashOptimizingStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRS2FDBHashOptimizingStatus.setStatus('current') hmMACH3ChassisExt = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11)) hmSelfTestResults = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1)) hmSelfTestCpuResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestCpuResult.setStatus('current') hmSelfTestBBResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestBBResult.setStatus('current') hmSelfTestBPResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestBPResult.setStatus('current') hmSelfTestM1Result = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestM1Result.setStatus('current') hmSelfTestM2Result = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestM2Result.setStatus('current') hmSelfTestM3Result = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestM3Result.setStatus('current') hmSelfTestM4Result = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSelfTestM4Result.setStatus('current') hmSelfTestMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSelfTestMode.setStatus('current') hmMgmtBusSelected = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("main", 1), ("redundant", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmMgmtBusSelected.setStatus('current') hmSerialNumbers = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3)) hmSerialNumCpu = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumCpu.setStatus('current') hmSerialNumBB = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumBB.setStatus('current') hmSerialNumBP = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumBP.setStatus('current') hmSerialNumM1 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumM1.setStatus('current') hmSerialNumM2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumM2.setStatus('current') hmSerialNumM3 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumM3.setStatus('current') hmSerialNumM4 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSerialNumM4.setStatus('current') hmPlugAndPlay = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 4)) hmAutoConfigState = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 1), ("inProgess", 2), ("ready", 3), ("failed", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAutoConfigState.setStatus('current') hmMACH3Misc = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 5)) hmUserGroupStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmUserGroupStatus.setStatus('current') hmAUIGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 12)) hmAUIModuleTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10), ) if mibBuilder.loadTexts: hmAUIModuleTable.setStatus('current') hmAUIModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAUIModuleID")) if mibBuilder.loadTexts: hmAUIModuleEntry.setStatus('current') hmAUIModuleID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAUIModuleID.setStatus('current') hmAUIModuleDTEPowerMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAUIModuleDTEPowerMonitor.setStatus('current') hmAUIPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11), ) if mibBuilder.loadTexts: hmAUIPortTable.setStatus('current') hmAUIPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAUIPortID")) if mibBuilder.loadTexts: hmAUIPortEntry.setStatus('current') hmAUIPortID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAUIPortID.setStatus('current') hmAUIPortDTEPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAUIPortDTEPower.setStatus('current') hmAUIPortSQETest = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAUIPortSQETest.setStatus('current') hmAction = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 10, 12))).clone(namedValues=NamedValues(("other", 1), ("reset", 2), ("resetStats", 3), ("resetFDB", 4), ("resetARP", 5), ("resetL3Stats", 6), ("resetL4-7Stats", 7), ("hotRestart", 10), ("gbl-reset", 12))).clone('other')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAction.setStatus('current') hmActionResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmActionResult.setStatus('current') hmNetwork = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3)) hmNetLocalIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetLocalIPAddr.setStatus('current') hmNetLocalPhysAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetLocalPhysAddr.setStatus('current') hmNetGatewayIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetGatewayIPAddr.setStatus('current') hmNetMask = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetMask.setStatus('current') hmNetPPPBaseIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPPPBaseIPAddr.setStatus('current') hmNetPPPNetMask = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 6), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPPPNetMask.setStatus('current') hmNetAction = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("activate", 2))).clone('other')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetAction.setStatus('current') hmNetVlanID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetVlanID.setStatus('current') hmNetLocalPhysAddrRange = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetLocalPhysAddrRange.setStatus('current') hmNetVlanPriority = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetVlanPriority.setStatus('current') hmNetIpDscpPriority = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetIpDscpPriority.setStatus('current') hmNetACDGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12)) hmNetACDStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("activeDetectionOnly", 3), ("passiveDetectionOnly", 4))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDStatus.setStatus('current') hmNetACDOngoingProbeStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDOngoingProbeStatus.setStatus('current') hmNetACDDelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 500)).clone(200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDDelay.setStatus('current') hmNetACDReleaseDelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDReleaseDelay.setStatus('current') hmNetACDMaxProtection = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDMaxProtection.setStatus('current') hmNetACDProtectInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000)).clone(200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetACDProtectInterval.setStatus('current') hmNetACDFaultState = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDFaultState.setStatus('current') hmNetACDAddrTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20), ) if mibBuilder.loadTexts: hmNetACDAddrTable.setStatus('current') hmNetACDAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmNetACDTimeMark")) if mibBuilder.loadTexts: hmNetACDAddrEntry.setStatus('current') hmNetACDTimeMark = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 1), TimeFilter()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDTimeMark.setStatus('current') hmNetACDAddrSubtype = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 3), AddressFamilyNumbers()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDAddrSubtype.setStatus('current') hmNetACDAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDAddr.setStatus('current') hmNetACDMAC = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 7), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDMAC.setStatus('current') hmNetACDIfId = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetACDIfId.setStatus('current') hmNetHiDiscoveryGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20)) hmNetHiDiscoveryStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("readOnly", 3))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetHiDiscoveryStatus.setStatus('current') hmNetHiDiscoveryRelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetHiDiscoveryRelay.setStatus('current') hmNetSNTPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30)) hmNetSNTPStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPStatus.setStatus('current') hmNetSNTPServer = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPServer.setStatus('current') hmNetSNTPTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 3), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPTime.setStatus('current') hmNetSNTPLocalOffset = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1000, 1000)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPLocalOffset.setStatus('current') hmNetSNTPServer2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPServer2.setStatus('current') hmNetSNTPSyncInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPSyncInterval.setStatus('current') hmNetSNTPAcceptBroadcasts = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPAcceptBroadcasts.setStatus('current') hmNetSNTPAnycastAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 8), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPAnycastAddr.setStatus('current') hmNetSNTPAnycastVlan = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4042)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPAnycastVlan.setStatus('current') hmNetSNTPAnycastInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(120)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPAnycastInterval.setStatus('current') hmNetSNTPOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetSNTPOperStatus.setStatus('current') hmNetSNTPTimeAdjustThreshold = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPTimeAdjustThreshold.setStatus('current') hmNetSNTPOnceAtStartup = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPOnceAtStartup.setStatus('current') hmNetSNTPServerOnlyIfSync = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPServerOnlyIfSync.setStatus('current') hmNetSNTPServerStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPServerStatus.setStatus('current') hmNetSNTPClientStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNTPClientStatus.setStatus('current') hmNetNTPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31)) hmNetNTPOperation = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("off", 1), ("symmetric-active", 2), ("symmetric-passive", 3), ("client", 4), ("server", 5), ("client-server", 6), ("broadcast-client", 7))).clone('off')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPOperation.setStatus('current') hmNetNTPServer1AddrType = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 2), InetAddressType().clone('ipv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPServer1AddrType.setStatus('current') hmNetNTPServer1Address = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 3), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPServer1Address.setStatus('current') hmNetNTPServer2AddrType = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 4), InetAddressType().clone('ipv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPServer2AddrType.setStatus('current') hmNetNTPServer2Address = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 5), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPServer2Address.setStatus('current') hmNetNTPSyncInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4096)).clone(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPSyncInterval.setStatus('current') hmNetNTPAnycastAddrType = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 7), InetAddressType().clone('ipv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPAnycastAddrType.setStatus('current') hmNetNTPAnycastAddress = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 8), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPAnycastAddress.setStatus('current') hmNetNTPAnycastInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 4096)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetNTPAnycastInterval.setStatus('current') hmNetNTPStatusText = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetNTPStatusText.setStatus('current') hmNetNTPStatusCode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetNTPStatusCode.setStatus('current') hmNetPTPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40)) hmNetPTPConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1)) hmNetPTPEnable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPEnable.setStatus('current') hmNetPTPAction = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("init-with-default", 2), ("init-with-nvm", 3))).clone('other')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPAction.setStatus('current') hmNetPTPClockMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 5, 6, 7, 9))).clone(namedValues=NamedValues(("v1-boundary-clock", 1), ("v1-simple-mode", 4), ("v2-boundary-clock-onestep", 5), ("v2-boundary-clock-twostep", 6), ("v2-transparent-clock", 7), ("v2-simple-mode", 9))).clone('v1-simple-mode')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPClockMode.setStatus('current') hmNetPTPSlavePort = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPSlavePort.setStatus('current') hmNetPTPIsSynchronized = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPIsSynchronized.setStatus('current') hmNetPTPSyncLowerBound = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 999999999)).clone(30)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPSyncLowerBound.setStatus('current') hmNetPTPSyncUpperBound = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(31, 1000000000)).clone(5000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPSyncUpperBound.setStatus('current') hmNetPTPClockStratum = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 8), Integer32().clone(255)).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPClockStratum.setStatus('current') hmNetPTPClockIdentifier = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPClockIdentifier.setStatus('current') hmNetPTPClockVariance = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-32768, 32767)).clone(-16256)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPClockVariance.setStatus('current') hmNetPTPPreferredMaster = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPPreferredMaster.setStatus('current') hmNetPTPSyncInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 8, 16, 64))).clone(namedValues=NamedValues(("sec-1", 1), ("sec-2", 2), ("sec-8", 8), ("sec-16", 16), ("sec-64", 64))).clone('sec-2')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPSyncInterval.setStatus('current') hmNetPTPSubdomainName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 13), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPSubdomainName.setStatus('current') hmNetPTPOffsetFromMasterNanoSecs = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPOffsetFromMasterNanoSecs.setStatus('current') hmNetPTPAbsMaxOffset = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPAbsMaxOffset.setStatus('current') hmNetPTPOneWayDelayNanoSecs = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPOneWayDelayNanoSecs.setStatus('current') hmNetPTPTimeSeconds = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPTimeSeconds.setStatus('current') hmNetPTPObservedDrift = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPObservedDrift.setStatus('current') hmNetPTPPiIntegral = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000)).clone(6250)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPPiIntegral.setStatus('current') hmNetPTPParentUUID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 20), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPParentUUID.setStatus('current') hmNetPTPGrandmasterUUID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 21), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPGrandmasterUUID.setStatus('current') hmNetPTPCurrentUTCOffset = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPCurrentUTCOffset.setStatus('current') hmNetPTPleap59 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPleap59.setStatus('current') hmNetPTPleap61 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPleap61.setStatus('current') hmNetPTPStepsRemoved = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 25), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPStepsRemoved.setStatus('current') hmNetPTPEpochNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 26), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPEpochNumber.setStatus('current') hmNetPTPStaticDrift = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-500000000, 500000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPStaticDrift.setStatus('current') hmNetPTPPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2), ) if mibBuilder.loadTexts: hmNetPTPPortTable.setStatus('current') hmNetPTPPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmNetPTPPortID")) if mibBuilder.loadTexts: hmNetPTPPortEntry.setStatus('current') hmNetPTPPortID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPPortID.setStatus('current') hmNetPTPPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("initializing", 1), ("faulty", 2), ("disabled", 3), ("listening", 4), ("pre-master", 5), ("master", 6), ("passive", 7), ("uncalibrated", 8), ("slave", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTPPortState.setStatus('current') hmNetPTPPortBurstEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPPortBurstEnable.setStatus('current') hmNetPTPPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2))).clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTPPortEnable.setStatus('current') hmNetPTP2Group = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41)) hmNetPTP2Configuration = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1)) hmNetPTP2TwoStepClock = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2TwoStepClock.setStatus('current') hmNetPTP2ClockIdentity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 2), PTPClockIdentity()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2ClockIdentity.setStatus('current') hmNetPTP2Priority1 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2Priority1.setStatus('current') hmNetPTP2Priority2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2Priority2.setStatus('current') hmNetPTP2DomainNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2DomainNumber.setStatus('current') hmNetPTP2StepsRemoved = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2StepsRemoved.setStatus('current') hmNetPTP2OffsetFromMaster = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 7), PTPTimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2OffsetFromMaster.setStatus('current') hmNetPTP2MeanPathDelay = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 8), PTPTimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2MeanPathDelay.setStatus('current') hmNetPTP2ParentPortIdentity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 9), PTPPortIdentity()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2ParentPortIdentity.setStatus('current') hmNetPTP2ParentStats = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2ParentStats.setStatus('current') hmNetPTP2ObservedParentOffsetScaledLogVariance = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2ObservedParentOffsetScaledLogVariance.setStatus('current') hmNetPTP2ObservedParentClockPhaseChangeRate = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2ObservedParentClockPhaseChangeRate.setStatus('current') hmNetPTP2GrandmasterIdentity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 13), PTPClockIdentity()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterIdentity.setStatus('current') hmNetPTP2GrandmasterClockQuality = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 14), PTPClockQuality()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockQuality.setStatus('current') hmNetPTP2GrandmasterPriority1 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterPriority1.setStatus('current') hmNetPTP2GrandmasterPriority2 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterPriority2.setStatus('current') hmNetPTP2CurrentUtcOffset = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2CurrentUtcOffset.setStatus('current') hmNetPTP2CurrentUtcOffsetValid = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 18), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2CurrentUtcOffsetValid.setStatus('current') hmNetPTP2Leap59 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2Leap59.setStatus('current') hmNetPTP2Leap61 = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2Leap61.setStatus('current') hmNetPTP2TimeTraceable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 21), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TimeTraceable.setStatus('current') hmNetPTP2FrequencyTraceable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 22), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2FrequencyTraceable.setStatus('current') hmNetPTP2PtpTimescale = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 23), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2PtpTimescale.setStatus('current') hmNetPTP2TimeSource = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 32, 48, 64, 80, 96, 144, 160))).clone(namedValues=NamedValues(("atomicClock", 16), ("gps", 32), ("terrestrialRadio", 48), ("ptp", 64), ("ntp", 80), ("handSet", 96), ("other", 144), ("internalOscillator", 160)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TimeSource.setStatus('current') hmNetPTP2GrandmasterClockClass = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockClass.setStatus('current') hmNetPTP2GrandmasterClockAccuracy = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 254))).clone(namedValues=NamedValues(("within25ns", 32), ("within100ns", 33), ("within250ns", 34), ("within1000ns", 35), ("within2500ns", 36), ("within10us", 37), ("within25us", 38), ("within100us", 39), ("within250us", 40), ("within1000us", 41), ("within2500us", 42), ("within10ms", 43), ("within25ms", 44), ("within100ms", 45), ("within250ms", 46), ("within1s", 47), ("within10s", 48), ("beyond10s", 49), ("unknown", 254)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockAccuracy.setStatus('current') hmNetPTP2GrandmasterClockVariance = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 27), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockVariance.setStatus('current') hmNetPTP2PortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2), ) if mibBuilder.loadTexts: hmNetPTP2PortTable.setStatus('current') hmNetPTP2PortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmNetPTPPortID")) if mibBuilder.loadTexts: hmNetPTP2PortEntry.setStatus('current') hmNetPTP2PortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 1), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2PortEnable.setStatus('current') hmNetPTP2PortState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("initializing", 1), ("faulty", 2), ("disabled", 3), ("listening", 4), ("pre-master", 5), ("master", 6), ("passive", 7), ("uncalibrated", 8), ("slave", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2PortState.setStatus('current') hmNetPTP2LogDelayReqInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2LogDelayReqInterval.setStatus('current') hmNetPTP2PeerMeanPathDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 4), PTPTimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2PeerMeanPathDelay.setStatus('current') hmNetPTP2LogAnnounceInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("sec-1", 0), ("sec-2", 1), ("sec-4", 2), ("sec-8", 3), ("sec-16", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2LogAnnounceInterval.setStatus('current') hmNetPTP2AnnounceReceiptTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2AnnounceReceiptTimeout.setStatus('current') hmNetPTP2LogSyncInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-2, -1, 0, 1))).clone(namedValues=NamedValues(("msec-250", -2), ("msec-500", -1), ("sec-1", 0), ("sec-2", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2LogSyncInterval.setStatus('current') hmNetPTP2DelayMechanism = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 254))).clone(namedValues=NamedValues(("e2e", 1), ("p2p", 2), ("disabled", 254))).clone('e2e')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2DelayMechanism.setStatus('current') hmNetPTP2LogPdelayReqInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("sec-1", 0), ("sec-2", 1), ("sec-4", 2), ("sec-8", 3), ("sec-16", 4), ("sec-32", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2LogPdelayReqInterval.setStatus('current') hmNetPTP2VersionNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ptpVersion1", 1), ("ptpVersion2", 2))).clone('ptpVersion2')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2VersionNumber.setStatus('current') hmNetPTP2NetworkProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("udpIpv4", 1), ("ieee8023", 3))).clone('udpIpv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2NetworkProtocol.setStatus('current') hmNetPTP2V1Compatibility = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("on", 1), ("off", 2), ("auto", 3))).clone('auto')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2V1Compatibility.setStatus('current') hmNetPTP2DelayAsymmetry = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 13), PTPTimeInterval().clone(hexValue="0000000000000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2DelayAsymmetry.setStatus('current') hmNetPTP2PortCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 14), Bits().clone(namedValues=NamedValues(("reserved", 0), ("one-step", 1), ("e2e-delay", 2), ("p2p-delay", 3), ("ptp2Ieee8023", 4), ("ptp2UdpIpv4", 5), ("ptp2UdpIpv6", 6), ("asymmCorrection", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2PortCapability.setStatus('current') hmNetPTP2VlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 4042)).clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2VlanID.setStatus('current') hmNetPTP2VlanPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2VlanPriority.setStatus('current') hmNetPTP2TCGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42)) hmNetPTP2TCConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1)) hmNetPTP2TCClockIdentity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 1), PTPClockIdentity()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2TCClockIdentity.setStatus('current') hmNetPTP2TCDelayMechanism = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 254))).clone(namedValues=NamedValues(("e2e", 1), ("p2p", 2), ("e2e-optimized", 3), ("disabled", 254))).clone('e2e')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCDelayMechanism.setStatus('current') hmNetPTP2TCPrimaryDomain = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCPrimaryDomain.setStatus('current') hmNetPTP2TCSyntonized = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCSyntonized.setStatus('current') hmNetPTP2TCNetworkProtocol = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("udpIpv4", 1), ("ieee8023", 3))).clone('udpIpv4')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCNetworkProtocol.setStatus('current') hmNetPTP2TCCurrentMaster = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 6), PTPPortIdentity()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2TCCurrentMaster.setStatus('current') hmNetPTP2TCManagement = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCManagement.setStatus('current') hmNetPTP2TCMultiDomainMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 8), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCMultiDomainMode.setStatus('current') hmNetPTP2TCSyncLocalClock = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 9), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCSyncLocalClock.setStatus('current') hmNetPTP2TCVlanID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 4042)).clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCVlanID.setStatus('current') hmNetPTP2TCVlanPriority = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCVlanPriority.setStatus('current') hmNetPTP2TCPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2), ) if mibBuilder.loadTexts: hmNetPTP2TCPortTable.setStatus('current') hmNetPTP2TCPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmNetPTPPortID")) if mibBuilder.loadTexts: hmNetPTP2TCPortEntry.setStatus('current') hmNetPTP2TCPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 1), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCPortEnable.setStatus('current') hmNetPTP2TCLogPdelayReqInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("sec-1", 0), ("sec-2", 1), ("sec-4", 2), ("sec-8", 3), ("sec-16", 4), ("sec-32", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCLogPdelayReqInterval.setStatus('current') hmNetPTP2TCFaulty = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2TCFaulty.setStatus('current') hmNetPTP2TCPeerMeanPathDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 4), PTPTimeInterval()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetPTP2TCPeerMeanPathDelay.setStatus('current') hmNetPTP2TCDelayAsymmetry = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 5), PTPTimeInterval().clone(hexValue="0000000000000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetPTP2TCDelayAsymmetry.setStatus('current') hmNetSNMPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50)) hmNetSNMPv1Status = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPv1Status.setStatus('current') hmNetSNMPv2Status = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPv2Status.setStatus('current') hmNetSNMPv3Status = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPv3Status.setStatus('current') hmNetSNMPAccessStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("readOnly", 3))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPAccessStatus.setStatus('current') hmNetSNMPSynchronizeV1V3Status = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPSynchronizeV1V3Status.setStatus('current') hmNetSNMPPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(161)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPPortNumber.setStatus('current') hmNetSNMPRadiusAuthenticate = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPRadiusAuthenticate.setStatus('current') hmNetSNMPv3EncryptionReadWriteStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPv3EncryptionReadWriteStatus.setStatus('current') hmNetSNMPv3EncryptionReadOnlyStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetSNMPv3EncryptionReadOnlyStatus.setStatus('current') hmNetGPSGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60)) hmNetGPSIsAvailable = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetGPSIsAvailable.setStatus('current') hmNetGPSIsSynchronized = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetGPSIsSynchronized.setStatus('current') hmNetGPSMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("gpsIn", 1), ("gpsOut", 2))).clone('gpsIn')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetGPSMode.setStatus('current') hmNetGPSTimeStringFormat = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("meinberg", 1))).clone('meinberg')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmNetGPSTimeStringFormat.setStatus('current') hmRestrictedMgtAccessGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70)) hmRMAOperation = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMAOperation.setStatus('current') hmRMATable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2), ) if mibBuilder.loadTexts: hmRMATable.setStatus('current') hmRMAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmRMAIndex")) if mibBuilder.loadTexts: hmRMAEntry.setStatus('current') hmRMAIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRMAIndex.setStatus('current') hmRMARowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hmRMARowStatus.setStatus('current') hmRMAIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 3), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMAIpAddr.setStatus('current') hmRMANetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 4), IpAddress().clone(hexValue="00000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMANetMask.setStatus('current') hmRMASrvHttp = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMASrvHttp.setStatus('current') hmRMASrvSnmp = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMASrvSnmp.setStatus('current') hmRMASrvTelnet = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMASrvTelnet.setStatus('current') hmRMASrvSsh = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRMASrvSsh.setStatus('current') hmFSTable = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4)) hmFSUpdFileName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 70))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSUpdFileName.setStatus('current') hmFSConfFileName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 70))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSConfFileName.setStatus('current') hmFSLogFileName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 70))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSLogFileName.setStatus('current') hmFSUserName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSUserName.setStatus('current') hmFSTPPassword = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSTPPassword.setStatus('current') hmFSAction = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 20, 21))).clone(namedValues=NamedValues(("other", 1), ("update", 2), ("config-load", 3), ("config-save", 4), ("config-load-remote", 5), ("config-save-remote", 6), ("log-save", 7), ("config-load-default", 8), ("set-to-factory", 9), ("log-clear", 10), ("gbl-update", 12), ("config-load-backup", 13), ("config-remote-and-save", 15), ("updateBootcode", 16), ("toggleImage", 20), ("config-save-remote-script", 21))).clone('other')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSAction.setStatus('current') hmFSActionResult = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("pending", 2), ("ok", 3), ("failed", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSActionResult.setStatus('current') hmFSBootConfiguration = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("local", 2))).clone('local')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSBootConfiguration.setStatus('current') hmFSRunningConfiguration = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("boot", 1), ("local", 2), ("remote", 3))).clone('boot')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmFSRunningConfiguration.setStatus('current') hmFSLastMessage = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSLastMessage.setStatus('current') hmConfigurationStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("notInSync", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmConfigurationStatus.setStatus('current') hmFSFileTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100), ) if mibBuilder.loadTexts: hmFSFileTable.setStatus('current') hmFSFileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmFSFileID")) if mibBuilder.loadTexts: hmFSFileEntry.setStatus('current') hmFSFileID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSFileID.setStatus('current') hmFSFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSFileName.setStatus('current') hmFSFileSize = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSFileSize.setStatus('current') hmFSFileDate = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmFSFileDate.setStatus('current') hmAutoconfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200)) hmAutoconfigAdapterStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("notPresent", 1), ("removed", 2), ("ok", 3), ("notInSync", 4), ("outOfMemory", 5), ("wrongMachine", 6), ("checksumErr", 7), ("genericErr", 8), ("autodisabled", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAutoconfigAdapterStatus.setStatus('current') hmAutoconfigAdapterSerialNum = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAutoconfigAdapterSerialNum.setStatus('current') hmConfigWatchdogGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201)) hmConfigWatchdogAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmConfigWatchdogAdminStatus.setStatus('current') hmConfigWatchdogOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmConfigWatchdogOperStatus.setStatus('current') hmConfigWatchdogTimeInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 600)).clone(600)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmConfigWatchdogTimeInterval.setStatus('current') hmConfigWatchdogTimerValue = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmConfigWatchdogTimerValue.setStatus('current') hmConfigWatchdogIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmConfigWatchdogIPAddress.setStatus('current') hmTempTable = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 5)) hmTemperature = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTemperature.setStatus('current') hmTempUprLimit = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-99, 99)).clone(70)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTempUprLimit.setStatus('current') hmTempLwrLimit = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-99, 99))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTempLwrLimit.setStatus('current') hmNeighbourAgentTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 6), ) if mibBuilder.loadTexts: hmNeighbourAgentTable.setStatus('current') hmNeighbourAgentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmNeighbourSlot")) if mibBuilder.loadTexts: hmNeighbourAgentEntry.setStatus('current') hmNeighbourSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNeighbourSlot.setStatus('current') hmNeighbourIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmNeighbourIpAddress.setStatus('current') hmAuthGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 7)) hmAuthHostTableEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAuthHostTableEntriesMax.setStatus('current') hmAuthCommTableEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAuthCommTableEntriesMax.setStatus('current') hmAuthCommTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3), ) if mibBuilder.loadTexts: hmAuthCommTable.setStatus('current') hmAuthCommEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAuthCommIndex")) if mibBuilder.loadTexts: hmAuthCommEntry.setStatus('current') hmAuthCommIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAuthCommIndex.setStatus('current') hmAuthCommName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthCommName.setStatus('current') hmAuthCommPerm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("perm-ro", 1), ("perm-rw", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthCommPerm.setStatus('current') hmAuthCommState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3), ("invalid", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthCommState.setStatus('current') hmAuthHostTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4), ) if mibBuilder.loadTexts: hmAuthHostTable.setStatus('current') hmAuthHostEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAuthHostIndex")) if mibBuilder.loadTexts: hmAuthHostEntry.setStatus('current') hmAuthHostIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAuthHostIndex.setStatus('current') hmAuthHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthHostName.setStatus('current') hmAuthHostCommIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthHostCommIndex.setStatus('current') hmAuthHostIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthHostIpAddress.setStatus('current') hmAuthHostIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthHostIpMask.setStatus('current') hmAuthHostState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3), ("invalid", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAuthHostState.setStatus('current') hmTrapGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 8)) hmTrapCommTableEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrapCommTableEntriesMax.setStatus('current') hmTrapDestTableEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrapDestTableEntriesMax.setStatus('current') hmTrapCommTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3), ) if mibBuilder.loadTexts: hmTrapCommTable.setStatus('current') hmTrapCommEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmTrapCommIndex")) if mibBuilder.loadTexts: hmTrapCommEntry.setStatus('current') hmTrapCommIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrapCommIndex.setStatus('current') hmTrapCommCommIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommCommIndex.setStatus('current') hmTrapCommColdStart = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommColdStart.setStatus('current') hmTrapCommLinkDown = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommLinkDown.setStatus('current') hmTrapCommLinkUp = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommLinkUp.setStatus('current') hmTrapCommAuthentication = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommAuthentication.setStatus('current') hmTrapCommBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommBridge.setStatus('current') hmTrapCommRMON = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommRMON.setStatus('current') hmTrapCommUsergroup = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommUsergroup.setStatus('current') hmTrapCommDualHoming = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommDualHoming.setStatus('current') hmTrapCommChassis = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommChassis.setStatus('current') hmTrapCommState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3), ("invalid", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapCommState.setStatus('current') hmTrapDestTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4), ) if mibBuilder.loadTexts: hmTrapDestTable.setStatus('current') hmTrapDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmTrapDestIndex")) if mibBuilder.loadTexts: hmTrapDestEntry.setStatus('current') hmTrapDestIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmTrapDestIndex.setStatus('current') hmTrapDestName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapDestName.setStatus('current') hmTrapDestCommIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapDestCommIndex.setStatus('current') hmTrapDestIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapDestIpAddress.setStatus('current') hmTrapDestIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapDestIpMask.setStatus('obsolete') hmTrapDestState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3), ("invalid", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmTrapDestState.setStatus('current') hmLastAccessGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 9)) hmLastIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLastIpAddr.setStatus('current') hmLastPort = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLastPort.setStatus('current') hmLastCommunity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLastCommunity.setStatus('current') hmLastLoginUserName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmLastLoginUserName.setStatus('current') hmMulticast = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10)) hmIGMPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1)) hmIGMPSnoop = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2)) hmIGMPSnoopStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopStatus.setStatus('current') hmIGMPSnoopAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopAgingTime.setStatus('current') hmIGMPSnoopUnknownMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("discard", 1), ("flood", 2), ("query-ports", 3))).clone('flood')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopUnknownMode.setStatus('current') hmIGMPSnoopUnknownAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopUnknownAgingTime.setStatus('current') hmIGMPSnoopUnknownLookupInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3599)).clone(125)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopUnknownLookupInterval.setStatus('current') hmIGMPSnoopUnknownLookupResponseTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3598)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopUnknownLookupResponseTime.setStatus('current') hmIGMPSnoopQuerierToPortmask = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopQuerierToPortmask.setStatus('current') hmIGMPSnoopQuerierIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 8), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIGMPSnoopQuerierIPAddress.setStatus('current') hmIGMPSnoopQueryTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10), ) if mibBuilder.loadTexts: hmIGMPSnoopQueryTable.setStatus('current') hmIGMPSnoopQueryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmIGMPSnoopQueryVlanIndex")) if mibBuilder.loadTexts: hmIGMPSnoopQueryEntry.setStatus('current') hmIGMPSnoopQueryVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopQueryVlanIndex.setStatus('current') hmIGMPSnoopQueryPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1, 2), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIGMPSnoopQueryPorts.setStatus('current') hmIGMPSnoopFilterTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11), ) if mibBuilder.loadTexts: hmIGMPSnoopFilterTable.setStatus('current') hmIGMPSnoopFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmIGMPSnoopFilterVlanIndex"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmIGMPSnoopFilterAddress")) if mibBuilder.loadTexts: hmIGMPSnoopFilterEntry.setStatus('current') hmIGMPSnoopFilterVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopFilterVlanIndex.setStatus('current') hmIGMPSnoopFilterAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 2), MacAddress()) if mibBuilder.loadTexts: hmIGMPSnoopFilterAddress.setStatus('current') hmIGMPSnoopFilterLearntPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIGMPSnoopFilterLearntPorts.setStatus('current') hmIGMPSnoopForwardAllTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12), ) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllTable.setStatus('current') hmIGMPSnoopForwardAllEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmIGMPSnoopForwardAllVlanIndex")) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllEntry.setStatus('current') hmIGMPSnoopForwardAllVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllVlanIndex.setStatus('current') hmIGMPSnoopForwardAllStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopForwardAllStaticPorts.setStatus('current') hmIGMPSnoopQueryStaticTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13), ) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticTable.setStatus('current') hmIGMPSnoopQueryStaticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmIGMPSnoopQueryStaticVlanIndex")) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticEntry.setStatus('current') hmIGMPSnoopQueryStaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticVlanIndex.setStatus('current') hmIGMPSnoopQueryStaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticPorts.setStatus('current') hmIGMPSnoopQueryStaticAutomaticPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticAutomaticPorts.setStatus('current') hmIGMPSnoopQueryStaticAutomaticPortsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 4), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticAutomaticPortsEnable.setStatus('current') hmIGMPQuerierGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100)) hmIGMPQuerierStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPQuerierStatus.setStatus('current') hmIGMPQuerierMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("querier", 1), ("non-querier", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmIGMPQuerierMode.setStatus('current') hmIGMPQuerierTransmitInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3599)).clone(125)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPQuerierTransmitInterval.setStatus('current') hmIGMPQuerierMaxResponseTime = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3598)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPQuerierMaxResponseTime.setStatus('current') hmIGMPQuerierProtocolVersion = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmIGMPQuerierProtocolVersion.setStatus('current') hmGMRPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2)) hmGMRP = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2, 1)) hmGmrpUnknownMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("discard", 1), ("flood", 2))).clone('flood')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmGmrpUnknownMode.setStatus('current') hmRelayGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 11)) hmRelayOption82Status = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayOption82Status.setStatus('current') hmRelayOptionRemoteIDType = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ip", 1), ("mac", 2), ("client-id", 3), ("other", 4))).clone('mac')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayOptionRemoteIDType.setStatus('current') hmRelayOptionRemoteID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 3), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayOptionRemoteID.setStatus('current') hmRelayOptionRemoteIDValue = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 4), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayOptionRemoteIDValue.setStatus('current') hmRelayServerGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10)) hmRelayDHCPServerIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayDHCPServerIpAddr.setStatus('current') hmRelayDHCPServer2IpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayDHCPServer2IpAddr.setStatus('current') hmRelayDHCPServer3IpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayDHCPServer3IpAddr.setStatus('current') hmRelayDHCPServer4IpAddr = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayDHCPServer4IpAddr.setStatus('current') hmRelayInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11), ) if mibBuilder.loadTexts: hmRelayInterfaceTable.setStatus('current') hmRelayInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmRelayIfaceGroupID"), (0, "HMPRIV-MGMT-SNMP-MIB", "hmRelayIfaceID")) if mibBuilder.loadTexts: hmRelayInterfaceEntry.setStatus('current') hmRelayIfaceGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayIfaceGroupID.setStatus('current') hmRelayIfaceID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayIfaceID.setStatus('current') hmRelayIfaceOption82Enable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayIfaceOption82Enable.setStatus('current') hmRelayIfaceBCRequestFwd = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("forward", 1), ("discard", 2))).clone('forward')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmRelayIfaceBCRequestFwd.setStatus('current') hmRelayIfaceCircuitID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayIfaceCircuitID.setStatus('current') hmRelayBCPktInCnt = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayBCPktInCnt.setStatus('current') hmRelayMCPktInCnt = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayMCPktInCnt.setStatus('current') hmRelayPktServerRelayCnt = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayPktServerRelayCnt.setStatus('current') hmRelayPktClientRelayCnt = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayPktClientRelayCnt.setStatus('current') hmRelayErrCnt = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayErrCnt.setStatus('current') hmRelayLastDuplicateIP = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 25), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmRelayLastDuplicateIP.setStatus('current') hmDeviceMonitoringGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 12)) hmSigConConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1), ) if mibBuilder.loadTexts: hmSigConConfigTable.setStatus('current') hmSigConConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSigConID")) if mibBuilder.loadTexts: hmSigConConfigEntry.setStatus('current') hmSigConID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigConID.setStatus('current') hmSigConTrapEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConTrapEnable.setStatus('current') hmSigConTrapCause = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("other", 1), ("linkFailure", 2), ("controlLine", 3), ("redNotGuaranteed", 4), ("psState", 5), ("temperature", 6), ("moduleRemoval", 7), ("acaRemoval", 8), ("fanFailure", 9), ("acaNotInSync", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigConTrapCause.setStatus('current') hmSigConTrapCauseIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigConTrapCauseIndex.setStatus('current') hmSigConMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("manual", 1), ("monitor", 2), ("devicestate", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConMode.setStatus('current') hmSigConManualActivate = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("close", 1), ("open", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConManualActivate.setStatus('current') hmSigConOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("open", 1), ("close", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigConOperState.setStatus('current') hmSigConSenseLinkFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseLinkFailure.setStatus('current') hmSigConSenseControlLine = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseControlLine.setStatus('current') hmSigConSenseRedNotGuaranteed = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseRedNotGuaranteed.setStatus('current') hmSigConSensePS1State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS1State.setStatus('current') hmSigConSensePS2State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS2State.setStatus('current') hmSigConSenseTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseTemperature.setStatus('current') hmSigConSenseModuleRemoval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseModuleRemoval.setStatus('current') hmSigConSenseACARemoval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseACARemoval.setStatus('current') hmSigConSensePS3State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS3State.setStatus('current') hmSigConSensePS4State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS4State.setStatus('current') hmSigConSenseFan1State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseFan1State.setStatus('current') hmSigConSensePS5State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS5State.setStatus('current') hmSigConSensePS6State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS6State.setStatus('current') hmSigConSensePS7State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS7State.setStatus('current') hmSigConSensePS8State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSensePS8State.setStatus('current') hmSigConSenseACANotInSync = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConSenseACANotInSync.setStatus('current') hmSigConLinkTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2), ) if mibBuilder.loadTexts: hmSigConLinkTable.setStatus('current') hmSigConLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmSigConLinkID")) if mibBuilder.loadTexts: hmSigConLinkEntry.setStatus('current') hmSigConLinkID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmSigConLinkID.setStatus('current') hmSigConLinkAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmSigConLinkAlarm.setStatus('current') hmDevMonConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3), ) if mibBuilder.loadTexts: hmDevMonConfigTable.setStatus('current') hmDevMonConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmDevMonID")) if mibBuilder.loadTexts: hmDevMonConfigEntry.setStatus('current') hmDevMonID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDevMonID.setStatus('current') hmDevMonTrapEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonTrapEnable.setStatus('current') hmDevMonTrapCause = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("other", 1), ("linkFailure", 2), ("controlLine", 3), ("redNotGuaranteed", 4), ("psState", 5), ("temperature", 6), ("moduleRemoval", 7), ("acaRemoval", 8), ("fanFailure", 9), ("acaNotInSync", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDevMonTrapCause.setStatus('current') hmDevMonTrapCauseIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDevMonTrapCauseIndex.setStatus('current') hmDevMonSwitchState = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("noerror", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmDevMonSwitchState.setStatus('current') hmDevMonSenseLinkFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseLinkFailure.setStatus('current') hmDevMonSenseControlLine = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseControlLine.setStatus('current') hmDevMonSenseRedNotGuaranteed = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseRedNotGuaranteed.setStatus('current') hmDevMonSensePS1State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('error')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS1State.setStatus('current') hmDevMonSensePS2State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('error')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS2State.setStatus('current') hmDevMonSenseTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseTemperature.setStatus('current') hmDevMonSenseModuleRemoval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseModuleRemoval.setStatus('current') hmDevMonSenseACARemoval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseACARemoval.setStatus('current') hmDevMonSensePS3State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS3State.setStatus('current') hmDevMonSensePS4State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS4State.setStatus('current') hmDevMonSenseFan1State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseFan1State.setStatus('current') hmDevMonSensePS5State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS5State.setStatus('current') hmDevMonSensePS6State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS6State.setStatus('current') hmDevMonSensePS7State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS7State.setStatus('current') hmDevMonSensePS8State = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSensePS8State.setStatus('current') hmDevMonSenseACANotInSync = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("error", 1), ("ignore", 2))).clone('ignore')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmDevMonSenseACANotInSync.setStatus('current') hmAgentSnmpConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13)) hmAgentSnmpCommunityCreate = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityCreate.setStatus('current') hmAgentSnmpCommunityConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2), ) if mibBuilder.loadTexts: hmAgentSnmpCommunityConfigTable.setStatus('current') hmAgentSnmpCommunityConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAgentSnmpCommunityIndex")) if mibBuilder.loadTexts: hmAgentSnmpCommunityConfigEntry.setStatus('current') hmAgentSnmpCommunityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAgentSnmpCommunityIndex.setStatus('current') hmAgentSnmpCommunityName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityName.setStatus('current') hmAgentSnmpCommunityIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityIPAddress.setStatus('current') hmAgentSnmpCommunityIPMask = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityIPMask.setStatus('current') hmAgentSnmpCommunityAccessMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("readOnly", 1), ("readWrite", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityAccessMode.setStatus('current') hmAgentSnmpCommunityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("config", 3), ("destroy", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpCommunityStatus.setStatus('current') hmAgentSnmpLoggingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8)) hmAgentSnmpLogGetRequest = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpLogGetRequest.setStatus('current') hmAgentSnmpLogSetRequest = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpLogSetRequest.setStatus('current') hmAgentSnmpLogGetSeverity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 3), HmAgentLogSeverity().clone('notice')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpLogGetSeverity.setStatus('current') hmAgentSnmpLogSetSeverity = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 4), HmAgentLogSeverity().clone('notice')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpLogSetSeverity.setStatus('current') hmAgentSnmpTrapReceiverCreate = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverCreate.setStatus('current') hmAgentSnmpTrapReceiverConfigTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4), ) if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverConfigTable.setStatus('current') hmAgentSnmpTrapReceiverConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmAgentSnmpTrapReceiverIndex")) if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverConfigEntry.setStatus('current') hmAgentSnmpTrapReceiverIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverIndex.setStatus('current') hmAgentSnmpTrapReceiverCommunityName = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverCommunityName.setStatus('current') hmAgentSnmpTrapReceiverIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverIPAddress.setStatus('current') hmAgentSnmpTrapReceiverStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("config", 3), ("destroy", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverStatus.setStatus('current') hmAgentSnmpTrapFlagsConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5)) hmAgentSnmpAuthenticationTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpAuthenticationTrapFlag.setStatus('current') hmAgentSnmpLinkUpDownTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpLinkUpDownTrapFlag.setStatus('current') hmAgentSnmpMultipleUsersTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpMultipleUsersTrapFlag.setStatus('current') hmAgentSnmpSpanningTreeTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpSpanningTreeTrapFlag.setStatus('current') hmAgentSnmpBroadcastStormTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpBroadcastStormTrapFlag.setStatus('current') hmAgentSnmpChassisTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpChassisTrapFlag.setStatus('current') hmAgentSnmpL2RedundancyTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpL2RedundancyTrapFlag.setStatus('current') hmAgentSnmpPortSecurityTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentSnmpPortSecurityTrapFlag.setStatus('current') hmAgentSnmpCommunityMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAgentSnmpCommunityMaxEntries.setStatus('current') hmAgentSnmpTrapReceiverMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverMaxEntries.setStatus('current') hmPOEGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 14)) hmPOEGlobalGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1)) hmPOEStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEStatus.setStatus('current') hmPOEScanning = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEScanning.setStatus('current') hmPOEReservedPower = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEReservedPower.setStatus('current') hmPOEFastStartup = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEFastStartup.setStatus('current') hmPOEPortTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2), ) if mibBuilder.loadTexts: hmPOEPortTable.setStatus('current') hmPOEPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPOEPortIndex")) if mibBuilder.loadTexts: hmPOEPortEntry.setStatus('current') hmPOEPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEPortIndex.setStatus('current') hmPOEPortConsumptionPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEPortConsumptionPower.setStatus('current') hmPOEModuleTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3), ) if mibBuilder.loadTexts: hmPOEModuleTable.setStatus('current') hmPOEModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPOEModuleIndex")) if mibBuilder.loadTexts: hmPOEModuleEntry.setStatus('current') hmPOEModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEModuleIndex.setStatus('current') hmPOEModulePower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEModulePower.setStatus('current') hmPOEModuleMaximumPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEModuleMaximumPower.setStatus('current') hmPOEModuleReservedPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEModuleReservedPower.setStatus('current') hmPOEModuleDeliveredPower = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPOEModuleDeliveredPower.setStatus('current') hmPOEModuleUsageThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99)).clone(90)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEModuleUsageThreshold.setStatus('current') hmPOEModuleNotificationControlEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPOEModuleNotificationControlEnable.setStatus('current') hmSwitchResources = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15)) hmCpuResources = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2)) hmMemoryResources = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3)) hmNetworkResources = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4)) hmEnableMeasurement = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmEnableMeasurement.setStatus('current') hmCpuUtilization = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly") if mibBuilder.loadTexts: hmCpuUtilization.setStatus('current') hmCpuAverageUtilization = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('percent').setMaxAccess("readonly") if mibBuilder.loadTexts: hmCpuAverageUtilization.setStatus('current') hmCpuRunningProcesses = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32768))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCpuRunningProcesses.setStatus('current') hmCpuMaxRunningProcesses = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32768))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmCpuMaxRunningProcesses.setStatus('current') hmMemoryAllocated = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('kBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: hmMemoryAllocated.setStatus('current') hmMemoryFree = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('kBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: hmMemoryFree.setStatus('current') hmMemoryAllocatedAverage = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('kBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: hmMemoryAllocatedAverage.setStatus('current') hmMemoryFreeAverage = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('kBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: hmMemoryFreeAverage.setStatus('current') hmNetworkCpuIfUtilization = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('precent').setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetworkCpuIfUtilization.setStatus('current') hmNetworkCpuIfAverageUtilization = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setUnits('precent').setMaxAccess("readonly") if mibBuilder.loadTexts: hmNetworkCpuIfAverageUtilization.setStatus('current') hmIndustrialEthernetProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16)) hmProfinetIOConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1)) hmProfinetIOStatisticsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 2)) hmEthernetIPConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3)) hmEthernetIPStatisticsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4)) hmPNIOAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPNIOAdminStatus.setStatus('current') hmPNIODeviceID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIODeviceID.setStatus('current') hmPNIOModuleIdentNumber = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIOModuleIdentNumber.setStatus('current') hmPNIOOrderID = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIOOrderID.setStatus('current') hmPNIODeviceTypeDetails = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIODeviceTypeDetails.setStatus('current') hmPNIOSoftwareRelease = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIOSoftwareRelease.setStatus('current') hmPNIOHardwareRelease = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIOHardwareRelease.setStatus('current') hmPNIOOrderID9th = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIOOrderID9th.setStatus('current') hmPNIODcpModeTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10), ) if mibBuilder.loadTexts: hmPNIODcpModeTable.setStatus('current') hmPNIODcpModeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1), ).setIndexNames((0, "HMPRIV-MGMT-SNMP-MIB", "hmPNIODcpModePortID")) if mibBuilder.loadTexts: hmPNIODcpModeEntry.setStatus('current') hmPNIODcpModePortID = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPNIODcpModePortID.setStatus('current') hmPNIODcpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("ingress", 1), ("egress", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPNIODcpMode.setStatus('current') hmPNIONameOfStation = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 240))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPNIONameOfStation.setStatus('current') hmEtherNetIPAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmEtherNetIPAdminStatus.setStatus('current') hmEtherNetIPErrorCode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPErrorCode.setStatus('current') hmEtherNetIPProductCode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPProductCode.setStatus('current') hmEtherNetIPRevisionMajor = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPRevisionMajor.setStatus('current') hmEtherNetIPRevisionMinor = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPRevisionMinor.setStatus('current') hmEtherNetIPProductName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPProductName.setStatus('current') hmEtherNetIPCatalogName = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPCatalogName.setStatus('current') hmEtherNetIPConnEstablished = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPConnEstablished.setStatus('current') hmEtherNetIPConnTimeouts = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPConnTimeouts.setStatus('current') hmEtherNetIPVendorObjRequests = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmEtherNetIPVendorObjRequests.setStatus('current') hmAgentLoginGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 17)) hmAgentLoginBanner = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 17, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmAgentLoginBanner.setStatus('current') hmPortMonitorGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18)) hmPortMonitorAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorAdminMode.setStatus('current') hmPortMonitorIntfTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2), ) if mibBuilder.loadTexts: hmPortMonitorIntfTable.setStatus('current') hmPortMonitorIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hmPortMonitorIntfEntry.setStatus('current') hmPortMonitorIntfMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorIntfMode.setStatus('current') hmPortMonitorIntfReset = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorIntfReset.setStatus('current') hmPortMonitorIntfAction = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("port-disable", 1), ("trap-only", 2))).clone('port-disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorIntfAction.setStatus('current') hmPortMonitorConditionGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3)) hmPortMonitorConditionTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1), ) if mibBuilder.loadTexts: hmPortMonitorConditionTable.setStatus('current') hmPortMonitorConditionIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hmPortMonitorConditionIntfEntry.setStatus('current') hmPortMonitorConditionLinkFlapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapMode.setStatus('current') hmPortMonitorConditionCrcFragmentsMode = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsMode.setStatus('current') hmPortMonitorConditionField = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 3), Bits().clone(namedValues=NamedValues(("none", 0), ("link-flap", 1), ("crcFragments", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPortMonitorConditionField.setStatus('current') hmPortMonitorConditionLinkFlapGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2)) hmPortMonitorConditionLinkFlapInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 180)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapInterval.setStatus('current') hmPortMonitorConditionLinkFlapCount = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCount.setStatus('current') hmPortMonitorConditionLinkFlapIntfTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3), ) if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapIntfTable.setStatus('current') hmPortMonitorConditionLinkFlapIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapIntfEntry.setStatus('current') hmPortMonitorConditionLinkFlapCountInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCountInterval.setStatus('current') hmPortMonitorConditionLinkFlapCountTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCountTotal.setStatus('current') hmPortMonitorConditionCrcFragmentsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3)) hmPortMonitorConditionCrcFragmentsInterval = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 180)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsInterval.setStatus('current') hmPortMonitorConditionCrcFragmentsCount = MibScalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000)).clone(1000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCount.setStatus('current') hmPortMonitorConditionCrcFragmentsIntfTable = MibTable((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3), ) if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsIntfTable.setStatus('current') hmPortMonitorConditionCrcFragmentsIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsIntfEntry.setStatus('current') hmPortMonitorConditionCrcFragmentsCountInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCountInterval.setStatus('current') hmPortMonitorConditionCrcFragmentsCountTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCountTotal.setStatus('current') hmChassisEvent = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 14, 1, 0)) if mibBuilder.loadTexts: hmChassisEvent.setStatus('current') hmAgentEvent = ObjectIdentity((1, 3, 6, 1, 4, 1, 248, 14, 2, 0)) if mibBuilder.loadTexts: hmAgentEvent.setStatus('current') hmGroupMapChange = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 1)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSysGroupMap"), ("HMPRIV-MGMT-SNMP-MIB", "hmNeighbourSlot"), ("HMPRIV-MGMT-SNMP-MIB", "hmNeighbourIpAddress")) if mibBuilder.loadTexts: hmGroupMapChange.setStatus('current') hmPowerSupply = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 2)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmPSState")) if mibBuilder.loadTexts: hmPowerSupply.setStatus('current') hmFan = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 3)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmFanState")) if mibBuilder.loadTexts: hmFan.setStatus('current') hmSignallingRelay = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 4)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmRS2SigRelayState"), ("HMPRIV-MGMT-SNMP-MIB", "hmSigTrapReason"), ("HMPRIV-MGMT-SNMP-MIB", "hmSigReasonIndex")) if mibBuilder.loadTexts: hmSignallingRelay.setStatus('current') hmStandby = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 5)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmRS2OperMode")) if mibBuilder.loadTexts: hmStandby.setStatus('current') hmSelftestError = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 6)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestCpuResult"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestBBResult"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestBPResult"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestM1Result"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestM2Result"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestM3Result"), ("HMPRIV-MGMT-SNMP-MIB", "hmSelfTestM4Result")) if mibBuilder.loadTexts: hmSelftestError.setStatus('current') hmModuleMapChange = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 7)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSysGroupModuleMap")) if mibBuilder.loadTexts: hmModuleMapChange.setStatus('current') hmBPDUGuardTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 8)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmIfaceStpBpduGuardStatus")) if mibBuilder.loadTexts: hmBPDUGuardTrap.setStatus('current') hmSigConRelayChange = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 10)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSigConOperState"), ("HMPRIV-MGMT-SNMP-MIB", "hmSigConTrapCause"), ("HMPRIV-MGMT-SNMP-MIB", "hmSigConTrapCauseIndex")) if mibBuilder.loadTexts: hmSigConRelayChange.setStatus('current') hmSFPChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 11)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmIfaceGroupID"), ("HMPRIV-MGMT-SNMP-MIB", "hmIfaceID")) if mibBuilder.loadTexts: hmSFPChangeTrap.setStatus('current') hmIfaceUtilizationTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 12)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmIfaceUtilizationAlarmCondition"), ("HMPRIV-MGMT-SNMP-MIB", "hmIfaceUtilization")) if mibBuilder.loadTexts: hmIfaceUtilizationTrap.setStatus('current') hmDevMonStateChange = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 13)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmDevMonSwitchState"), ("HMPRIV-MGMT-SNMP-MIB", "hmDevMonTrapCause"), ("HMPRIV-MGMT-SNMP-MIB", "hmDevMonTrapCauseIndex")) if mibBuilder.loadTexts: hmDevMonStateChange.setStatus('current') hmSFPRxPowerChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 14)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSfpRxPowerState")) if mibBuilder.loadTexts: hmSFPRxPowerChangeTrap.setStatus('current') hmSysSelftestRebootOnErrorTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 15)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSysSelftestRebootOnError")) if mibBuilder.loadTexts: hmSysSelftestRebootOnErrorTrap.setStatus('current') hmTemperatureTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 1)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmTemperature"), ("HMPRIV-MGMT-SNMP-MIB", "hmTempUprLimit"), ("HMPRIV-MGMT-SNMP-MIB", "hmTempLwrLimit")) if mibBuilder.loadTexts: hmTemperatureTrap.setStatus('current') hmLoginTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 2)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmLastIpAddr"), ("HMPRIV-MGMT-SNMP-MIB", "hmLastCommunity")) if mibBuilder.loadTexts: hmLoginTrap.setStatus('current') hmDuplicateStaticAddressTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 3)).setObjects(("BRIDGE-MIB", "dot1dStaticAddress")) if mibBuilder.loadTexts: hmDuplicateStaticAddressTrap.setStatus('current') hmAutoconfigAdapterTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 4)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmAutoconfigAdapterStatus")) if mibBuilder.loadTexts: hmAutoconfigAdapterTrap.setStatus('current') hmRelayDuplicateIPTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 5)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmRelayLastDuplicateIP")) if mibBuilder.loadTexts: hmRelayDuplicateIPTrap.setStatus('current') hmSNTPTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 6)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmNetSNTPOperStatus")) if mibBuilder.loadTexts: hmSNTPTrap.setStatus('current') hmNetACDNotification = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 7)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmNetACDTimeMark"), ("HMPRIV-MGMT-SNMP-MIB", "hmNetACDAddrSubtype"), ("HMPRIV-MGMT-SNMP-MIB", "hmNetACDAddr"), ("HMPRIV-MGMT-SNMP-MIB", "hmNetACDMAC"), ("HMPRIV-MGMT-SNMP-MIB", "hmNetACDIfId")) if mibBuilder.loadTexts: hmNetACDNotification.setStatus('current') hmConfigurationSavedTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 8)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmAutoconfigAdapterStatus")) if mibBuilder.loadTexts: hmConfigurationSavedTrap.setStatus('current') hmConfigurationChangedTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 9)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmConfigurationStatus")) if mibBuilder.loadTexts: hmConfigurationChangedTrap.setStatus('current') hmAddressRelearnDetectTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 10)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmSysSwitchAddressRelearnThreshold")) if mibBuilder.loadTexts: hmAddressRelearnDetectTrap.setStatus('current') hmDuplexMismatchTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 11)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmIfaceGroupID"), ("HMPRIV-MGMT-SNMP-MIB", "hmIfaceID")) if mibBuilder.loadTexts: hmDuplexMismatchTrap.setStatus('current') hmNTPTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 12)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmNetNTPStatusCode"), ("HMPRIV-MGMT-SNMP-MIB", "hmNetNTPStatusText")) if mibBuilder.loadTexts: hmNTPTrap.setStatus('current') hmPortMonitorPortDisabledTrap = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 13)).setObjects(("IF-MIB", "ifIndex"), ("HMPRIV-MGMT-SNMP-MIB", "hmPortMonitorConditionField")) if mibBuilder.loadTexts: hmPortMonitorPortDisabledTrap.setStatus('current') hmPOEModulePowerUsageOnNotification = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 14)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmPOEModuleIndex"), ("HMPRIV-MGMT-SNMP-MIB", "hmPOEModuleDeliveredPower")) if mibBuilder.loadTexts: hmPOEModulePowerUsageOnNotification.setStatus('current') hmPOEModulePowerUsageOffNotification = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 15)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmPOEModuleIndex"), ("HMPRIV-MGMT-SNMP-MIB", "hmPOEModuleDeliveredPower")) if mibBuilder.loadTexts: hmPOEModulePowerUsageOffNotification.setStatus('current') hmSysSelftestPortError = NotificationType((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 16)).setObjects(("HMPRIV-MGMT-SNMP-MIB", "hmIfaceGroupID"), ("HMPRIV-MGMT-SNMP-MIB", "hmIfaceID")) if mibBuilder.loadTexts: hmSysSelftestPortError.setStatus('current') mibBuilder.exportSymbols("HMPRIV-MGMT-SNMP-MIB", PTPClockIdentity=PTPClockIdentity, hmNetPTPGroup=hmNetPTPGroup, hmFSBootConfiguration=hmFSBootConfiguration, hmSysSelftestPortError=hmSysSelftestPortError, hmPlugAndPlay=hmPlugAndPlay, hmDevMonSensePS8State=hmDevMonSensePS8State, hmRS2OperMode=hmRS2OperMode, hmRelayDHCPServer4IpAddr=hmRelayDHCPServer4IpAddr, hmIfaceEgressLimiterMode=hmIfaceEgressLimiterMode, hmNetSNTPGroup=hmNetSNTPGroup, hmPSVersion=hmPSVersion, hmBcastLimiterMode=hmBcastLimiterMode, hmPSSerialNumber=hmPSSerialNumber, hmSysHttpsPortNumber=hmSysHttpsPortNumber, hmLastCommunity=hmLastCommunity, hmIGMPSnoopQuerierToPortmask=hmIGMPSnoopQuerierToPortmask, hmRelayOptionRemoteID=hmRelayOptionRemoteID, hmNetworkResources=hmNetworkResources, hmSysGroupEntry=hmSysGroupEntry, hmNetPTP2TCLogPdelayReqInterval=hmNetPTP2TCLogPdelayReqInterval, hmCurrentAddressTable=hmCurrentAddressTable, hmPNIODeviceTypeDetails=hmPNIODeviceTypeDetails, hmNetPTP2TCGroup=hmNetPTP2TCGroup, hmPrioTrafficClassTable=hmPrioTrafficClassTable, hmNetPTP2V1Compatibility=hmNetPTP2V1Compatibility, hmPSID=hmPSID, hmCpuMaxRunningProcesses=hmCpuMaxRunningProcesses, hmSysProduct=hmSysProduct, hmUserGroupStatus=hmUserGroupStatus, hmFSUserName=hmFSUserName, hmMemoryFreeAverage=hmMemoryFreeAverage, hmCurrentAddressStatus=hmCurrentAddressStatus, hmAgentSnmpTrapReceiverIndex=hmAgentSnmpTrapReceiverIndex, octopus=octopus, hmRelayIfaceOption82Enable=hmRelayIfaceOption82Enable, hmSysStpBPDUGuardEnable=hmSysStpBPDUGuardEnable, hmTrapCommIndex=hmTrapCommIndex, mach3000=mach3000, hmSelfTestResults=hmSelfTestResults, hmNetAction=hmNetAction, hmDevMonSenseFan1State=hmDevMonSenseFan1State, hmIfaceNextHopMacAddress=hmIfaceNextHopMacAddress, hmAgentSnmpAuthenticationTrapFlag=hmAgentSnmpAuthenticationTrapFlag, mach4002_24G_3X=mach4002_24G_3X, hmFanEntry=hmFanEntry, hmSfpRxPowerInt=hmSfpRxPowerInt, hmAUIModuleEntry=hmAUIModuleEntry, hmRMAIndex=hmRMAIndex, hmNetPTP2StepsRemoved=hmNetPTP2StepsRemoved, hmDevMonTrapCause=hmDevMonTrapCause, hmNetPTPClockVariance=hmNetPTPClockVariance, hmAUIPortSQETest=hmAUIPortSQETest, hmFSFileID=hmFSFileID, hmNetPTP2PortTable=hmNetPTP2PortTable, hmTrapCommEntry=hmTrapCommEntry, hmNetPTP2TCSyncLocalClock=hmNetPTP2TCSyncLocalClock, hmSysGroupMap=hmSysGroupMap, hmIGMPSnoopQueryStaticAutomaticPortsEnable=hmIGMPSnoopQueryStaticAutomaticPortsEnable, hmNetPTP2PortState=hmNetPTP2PortState, hmSwitchResources=hmSwitchResources, hmSysSwitchRedundancyGroup=hmSysSwitchRedundancyGroup, hmPrioMACPriority=hmPrioMACPriority, hmSysModGroupID=hmSysModGroupID, hmSigConMode=hmSigConMode, hmAgentLoginBanner=hmAgentLoginBanner, hmDevMonSensePS3State=hmDevMonSensePS3State, hmAgentSnmpCommunityMaxEntries=hmAgentSnmpCommunityMaxEntries, hmLEDRStandby=hmLEDRStandby, hmSigLinkID=hmSigLinkID, hmNetPTPSyncUpperBound=hmNetPTPSyncUpperBound, hmPortMonitorIntfTable=hmPortMonitorIntfTable, HmAgentLogSeverity=HmAgentLogSeverity, hmSysUSBGroup=hmSysUSBGroup, hmNetACDAddrEntry=hmNetACDAddrEntry, hmNetPTP2ObservedParentClockPhaseChangeRate=hmNetPTP2ObservedParentClockPhaseChangeRate, hmPSPowerBudget=hmPSPowerBudget, hmFSRunningConfiguration=hmFSRunningConfiguration, hmPortMonitorIntfReset=hmPortMonitorIntfReset, hmNetSNTPServerOnlyIfSync=hmNetSNTPServerOnlyIfSync, hmSysSwitchRedundancyRstpMrpConfigError=hmSysSwitchRedundancyRstpMrpConfigError, hmRS2DisableLearningGroup=hmRS2DisableLearningGroup, hmNetVlanID=hmNetVlanID, hmSelfTestCpuResult=hmSelfTestCpuResult, hmTrapDestIpMask=hmTrapDestIpMask, hmSfpRxPowerState=hmSfpRxPowerState, hmIGMPQuerierTransmitInterval=hmIGMPQuerierTransmitInterval, hmPSProductCode=hmPSProductCode, hmIngressLimiterMode=hmIngressLimiterMode, hmSysGroupIsolateMode=hmSysGroupIsolateMode, hmFSActionResult=hmFSActionResult, ms2108_2=ms2108_2, hmNetSNTPAcceptBroadcasts=hmNetSNTPAcceptBroadcasts, hmLEDRSRedundancyManager=hmLEDRSRedundancyManager, hmAgentSnmpLogGetRequest=hmAgentSnmpLogGetRequest, hmIGMPSnoopAgingTime=hmIGMPSnoopAgingTime, hmRS2ConnectionMirroringPortTwo=hmRS2ConnectionMirroringPortTwo, hmNetPTP2TCPortTable=hmNetPTP2TCPortTable, hmNetGPSIsAvailable=hmNetGPSIsAvailable, hmIGMPSnoopFilterLearntPorts=hmIGMPSnoopFilterLearntPorts, hmPrioTosToPrioEntry=hmPrioTosToPrioEntry, hmLEDRSPowerSupply=hmLEDRSPowerSupply, hmRelayOption82Status=hmRelayOption82Status, hmNetPTPStepsRemoved=hmNetPTPStepsRemoved, hmNetGPSMode=hmNetGPSMode, hmLastIpAddr=hmLastIpAddr, hmNetHiDiscoveryRelay=hmNetHiDiscoveryRelay, hmLastLoginUserName=hmLastLoginUserName, hmAgentSnmpCommunityName=hmAgentSnmpCommunityName, hmTrapCommState=hmTrapCommState, hmNetGPSIsSynchronized=hmNetGPSIsSynchronized, hmIGMPSnoopForwardAllEntry=hmIGMPSnoopForwardAllEntry, hmModuleMapChange=hmModuleMapChange, rs2_4r=rs2_4r, hmSfpTemperature=hmSfpTemperature, hmConfigWatchdogGroup=hmConfigWatchdogGroup, hmNetPTPGrandmasterUUID=hmNetPTPGrandmasterUUID, hmEtherNetIPRevisionMajor=hmEtherNetIPRevisionMajor, hmNetPTP2Group=hmNetPTP2Group, hmNetPTP2LogSyncInterval=hmNetPTP2LogSyncInterval, hmSystemTime=hmSystemTime, hmNetPPPBaseIPAddr=hmNetPPPBaseIPAddr, hmTempUprLimit=hmTempUprLimit, hmIfaceUtilizationControlInterval=hmIfaceUtilizationControlInterval, hmRelayPktClientRelayCnt=hmRelayPktClientRelayCnt, hmGroupMapChange=hmGroupMapChange, hmAutoconfigAdapterTrap=hmAutoconfigAdapterTrap, hmAUIModuleTable=hmAUIModuleTable, hmSysGroupSerialNum=hmSysGroupSerialNum, hmTrunkTable=hmTrunkTable, hmIGMPSnoopForwardAllVlanIndex=hmIGMPSnoopForwardAllVlanIndex, rs2_16=rs2_16, hmTrapDestIpAddress=hmTrapDestIpAddress, hmSelfTestMode=hmSelfTestMode, hmRS4RVlanPortEntry=hmRS4RVlanPortEntry, hmTrapGroup=hmTrapGroup, hmSigLinkTable=hmSigLinkTable, hmFanID=hmFanID, hmSelfTestM4Result=hmSelfTestM4Result, hmPortMonitorPortDisabledTrap=hmPortMonitorPortDisabledTrap, rs30=rs30, hmSigConSenseModuleRemoval=hmSigConSenseModuleRemoval, hmRS2ConfigError=hmRS2ConfigError, hmSfpID=hmSfpID, LEDState=LEDState, hmAgentSnmpCommunityIPMask=hmAgentSnmpCommunityIPMask, hmNetPTPPortEntry=hmNetPTPPortEntry, hmNetPTP2ObservedParentOffsetScaledLogVariance=hmNetPTP2ObservedParentOffsetScaledLogVariance, hmNetPTP2LogAnnounceInterval=hmNetPTP2LogAnnounceInterval, hmDevMonSenseRedNotGuaranteed=hmDevMonSenseRedNotGuaranteed, hmFan=hmFan, hmSfpInfoMagic=hmSfpInfoMagic, hmSigConRelayChange=hmSigConRelayChange, hmFSFileSize=hmFSFileSize, hmNetNTPStatusCode=hmNetNTPStatusCode, hmRMASrvSnmp=hmRMASrvSnmp, hmLoginTrap=hmLoginTrap, hmSfpPartNumber=hmSfpPartNumber, hmIngressUnknUcLimiterGroup=hmIngressUnknUcLimiterGroup, hmSysSwitchGroup=hmSysSwitchGroup, hmNetPTPClockStratum=hmNetPTPClockStratum, hmNetPTPleap61=hmNetPTPleap61, hmNetIpDscpPriority=hmNetIpDscpPriority, hmEgressLimiterGroup=hmEgressLimiterGroup, ms3124_4=ms3124_4, hmFSFileName=hmFSFileName, hmIGMPSnoopStatus=hmIGMPSnoopStatus, hmIGMPSnoopFilterVlanIndex=hmIGMPSnoopFilterVlanIndex, hmNetLocalPhysAddr=hmNetLocalPhysAddr, hmAutoconfigGroup=hmAutoconfigGroup, hmSysGroupCapacity=hmSysGroupCapacity, hmNetPTPPortID=hmNetPTPPortID, hmCpuResources=hmCpuResources, hmTrapCommAuthentication=hmTrapCommAuthentication, hmSelfTestM2Result=hmSelfTestM2Result, hmRS4RVlanPortTable=hmRS4RVlanPortTable, hmAuthHostTableEntriesMax=hmAuthHostTableEntriesMax, hmRS2SigRelayState=hmRS2SigRelayState, hmRS2PSAlarm=hmRS2PSAlarm, hmNetPTPPortState=hmNetPTPPortState, hmTrapDestIndex=hmTrapDestIndex, hmIGMPSnoop=hmIGMPSnoop, hmMulticast=hmMulticast, hmTrapDestTable=hmTrapDestTable, hmRelayIfaceID=hmRelayIfaceID, hmSysSwitchRedundancyRstpMrpConfigErrorBridge=hmSysSwitchRedundancyRstpMrpConfigErrorBridge, hmConfigWatchdogTimerValue=hmConfigWatchdogTimerValue, hmNeighbourAgentTable=hmNeighbourAgentTable, hmSysModuleEntry=hmSysModuleEntry, hmConfigurationChangedTrap=hmConfigurationChangedTrap, hmTrunkInterfaces=hmTrunkInterfaces, hmNetACDProtectInterval=hmNetACDProtectInterval, mach4002_48G_3X=mach4002_48G_3X, hmNetPTP2TwoStepClock=hmNetPTP2TwoStepClock, hmGMRPGroup=hmGMRPGroup, hmSigConLinkEntry=hmSigConLinkEntry, hmNetPTP2AnnounceReceiptTimeout=hmNetPTP2AnnounceReceiptTimeout, hmSysSkipAcaOnBoot=hmSysSkipAcaOnBoot, hmSysModNumOfPorts=hmSysModNumOfPorts, hmNetPTP2TCDelayAsymmetry=hmNetPTP2TCDelayAsymmetry, hmAction=hmAction, hmSysTelnetEnable=hmSysTelnetEnable, hmNetPTP2GrandmasterIdentity=hmNetPTP2GrandmasterIdentity, hmFSAction=hmFSAction, hmEtherNetIPCatalogName=hmEtherNetIPCatalogName, hmNetPTP2PeerMeanPathDelay=hmNetPTP2PeerMeanPathDelay, hmTrapCommLinkDown=hmTrapCommLinkDown, PTPTimeInterval=PTPTimeInterval, hmPortMonitorConditionCrcFragmentsGroup=hmPortMonitorConditionCrcFragmentsGroup, hmLEDRSRStandby=hmLEDRSRStandby, hmTemperatureTrap=hmTemperatureTrap, hmRS2VlanStatus=hmRS2VlanStatus, hmDevMonSensePS1State=hmDevMonSensePS1State, ms4128_5=ms4128_5, hmSigConSenseControlLine=hmSigConSenseControlLine, hmMemoryAllocated=hmMemoryAllocated, hmSysStpEnable=hmSysStpEnable, hmPortMonitorConditionLinkFlapCount=hmPortMonitorConditionLinkFlapCount, hmNetPTP2ParentPortIdentity=hmNetPTP2ParentPortIdentity, hmRelayIfaceGroupID=hmRelayIfaceGroupID, hmSelfTestBPResult=hmSelfTestBPResult, hmNetSNTPAnycastVlan=hmNetSNTPAnycastVlan, hmAgentSnmpTrapReceiverStatus=hmAgentSnmpTrapReceiverStatus, hmIfaceFlowControl=hmIfaceFlowControl, PTPClockQuality=PTPClockQuality, hmLEDRSFault=hmLEDRSFault, hmAgentSnmpBroadcastStormTrapFlag=hmAgentSnmpBroadcastStormTrapFlag, hmPortMonitorConditionCrcFragmentsCountInterval=hmPortMonitorConditionCrcFragmentsCountInterval, hmAgentSnmpCommunityIndex=hmAgentSnmpCommunityIndex, hmAgentSnmpLogSetRequest=hmAgentSnmpLogSetRequest, hmPrioMACAddressEnable=hmPrioMACAddressEnable, hmNetSNTPAnycastInterval=hmNetSNTPAnycastInterval, hmNetPTP2DelayAsymmetry=hmNetPTP2DelayAsymmetry, hmSysMaxPowerSupply=hmSysMaxPowerSupply, hmEthernetIPConfigGroup=hmEthernetIPConfigGroup, hmNetNTPAnycastAddress=hmNetNTPAnycastAddress, hmTrunkLastChange=hmTrunkLastChange, hmNetACDReleaseDelay=hmNetACDReleaseDelay, hmSysSwitchDuplexMismatchDetection=hmSysSwitchDuplexMismatchDetection, hmNetPTP2FrequencyTraceable=hmNetPTP2FrequencyTraceable, hmSerialNumCpu=hmSerialNumCpu, hmIfaceEgressLimiterRate=hmIfaceEgressLimiterRate, hmNetPTP2TCDelayMechanism=hmNetPTP2TCDelayMechanism, hmRMAOperation=hmRMAOperation, hmSfpTransceiver=hmSfpTransceiver, hmAuthCommEntry=hmAuthCommEntry, hmGmrpUnknownMode=hmGmrpUnknownMode, hmIGMPQuerierGroup=hmIGMPQuerierGroup, hmSerialNumBP=hmSerialNumBP, hmPOEScanning=hmPOEScanning, hmNetPTP2VersionNumber=hmNetPTP2VersionNumber, hmPortMonitorConditionCrcFragmentsInterval=hmPortMonitorConditionCrcFragmentsInterval, hmSysBOOTPEnable=hmSysBOOTPEnable, hmFSFileDate=hmFSFileDate, hmFSLogFileName=hmFSLogFileName) mibBuilder.exportSymbols("HMPRIV-MGMT-SNMP-MIB", hmNetPTP2LogPdelayReqInterval=hmNetPTP2LogPdelayReqInterval, hmEtherNetIPAdminStatus=hmEtherNetIPAdminStatus, hmPNIODcpModeEntry=hmPNIODcpModeEntry, hmDevMonSenseACARemoval=hmDevMonSenseACARemoval, hmIfacePriorityThreshold=hmIfacePriorityThreshold, hmNetSNMPAccessStatus=hmNetSNMPAccessStatus, hmSysGroupAction=hmSysGroupAction, hmAuthCommName=hmAuthCommName, hmIfaceGroupID=hmIfaceGroupID, hmPrioVlan0TagTransparentMode=hmPrioVlan0TagTransparentMode, hmPOEPortTable=hmPOEPortTable, hmAutoconfigAdapterStatus=hmAutoconfigAdapterStatus, hmRelayDuplicateIPTrap=hmRelayDuplicateIPTrap, hmNetACDNotification=hmNetACDNotification, hmFSLastMessage=hmFSLastMessage, hmSysHTTPEnable=hmSysHTTPEnable, hmIfaceCapability=hmIfaceCapability, hmPSType=hmPSType, hmSysModSerialNum=hmSysModSerialNum, hmInterfaceTable=hmInterfaceTable, hmNetPTP2GrandmasterPriority1=hmNetPTP2GrandmasterPriority1, hmSysModDescription=hmSysModDescription, hmNetPTPCurrentUTCOffset=hmNetPTPCurrentUTCOffset, hmNetPTP2TCConfiguration=hmNetPTP2TCConfiguration, hmSigConTrapEnable=hmSigConTrapEnable, hmNetPTP2ClockIdentity=hmNetPTP2ClockIdentity, hmAgentSnmpTrapReceiverConfigTable=hmAgentSnmpTrapReceiverConfigTable, hmSfpSupported=hmSfpSupported, hmPortMonitorConditionLinkFlapCountInterval=hmPortMonitorConditionLinkFlapCountInterval, hmAuthCommTableEntriesMax=hmAuthCommTableEntriesMax, hmRelayIfaceBCRequestFwd=hmRelayIfaceBCRequestFwd, hmRMASrvSsh=hmRMASrvSsh, hmAuthHostState=hmAuthHostState, hmPNIODcpModeTable=hmPNIODcpModeTable, hmEtherNetIPProductCode=hmEtherNetIPProductCode, hmDIPSwitchRSRedundancyManager=hmDIPSwitchRSRedundancyManager, hmNetGPSTimeStringFormat=hmNetGPSTimeStringFormat, hmRelayMCPktInCnt=hmRelayMCPktInCnt, hmSignallingRelay=hmSignallingRelay, hmSigTrapReason=hmSigTrapReason, hmConfigWatchdogTimeInterval=hmConfigWatchdogTimeInterval, hmSigConSenseACARemoval=hmSigConSenseACARemoval, hmPortMonitorConditionLinkFlapGroup=hmPortMonitorConditionLinkFlapGroup, hmAgentSnmpTrapFlagsConfigGroup=hmAgentSnmpTrapFlagsConfigGroup, hmSysModID=hmSysModID, hmRS2FDBHashOptimizingMode=hmRS2FDBHashOptimizingMode, hmNetPTPObservedDrift=hmNetPTPObservedDrift, hmPOEGlobalGroup=hmPOEGlobalGroup, osb20=osb20, hirschmann=hirschmann, hmIfaceTrunkID=hmIfaceTrunkID, hmTrapCommCommIndex=hmTrapCommCommIndex, hmSfpGroupID=hmSfpGroupID, hmSfpMaxLength_copper=hmSfpMaxLength_copper, hmRS4RVlanPortTagFormatRstp=hmRS4RVlanPortTagFormatRstp, hmNetSNTPClientStatus=hmNetSNTPClientStatus, hmIngressLimiterEnable=hmIngressLimiterEnable, hmPOEModuleTable=hmPOEModuleTable, mach4002_48_4G=mach4002_48_4G, mach4002_48G=mach4002_48G, hmPrioTTPTos=hmPrioTTPTos, hmRelayBCPktInCnt=hmRelayBCPktInCnt, hmNetNTPGroup=hmNetNTPGroup, hmDevMonConfigTable=hmDevMonConfigTable, hmTrapCommUsergroup=hmTrapCommUsergroup, hmNetPTP2CurrentUtcOffsetValid=hmNetPTP2CurrentUtcOffsetValid, hmPortMonitorConditionCrcFragmentsIntfTable=hmPortMonitorConditionCrcFragmentsIntfTable, hmDevMonSenseACANotInSync=hmDevMonSenseACANotInSync, hmSysModFirstMauIndex=hmSysModFirstMauIndex, hmSysSelftestRebootOnError=hmSysSelftestRebootOnError, hmDeviceMonitoringGroup=hmDeviceMonitoringGroup, hmSerialNumM3=hmSerialNumM3, hmNetPTPClockMode=hmNetPTPClockMode, hmSysSwitchServiceVlan=hmSysSwitchServiceVlan, hmSysSelftestRebootOnErrorTrap=hmSysSelftestRebootOnErrorTrap, hmIfacePrioTOSEnable=hmIfacePrioTOSEnable, hmMACH3Misc=hmMACH3Misc, hmNetSNTPServerStatus=hmNetSNTPServerStatus, hmIGMPSnoopUnknownLookupInterval=hmIGMPSnoopUnknownLookupInterval, hmDIPSwitchMICEConfig=hmDIPSwitchMICEConfig, hmRelayPktServerRelayCnt=hmRelayPktServerRelayCnt, hmAgentSnmpTrapReceiverMaxEntries=hmAgentSnmpTrapReceiverMaxEntries, mach1000ge=mach1000ge, hmPortMonitorConditionCrcFragmentsMode=hmPortMonitorConditionCrcFragmentsMode, hmNetSNMPGroup=hmNetSNMPGroup, hmAgentSnmpMultipleUsersTrapFlag=hmAgentSnmpMultipleUsersTrapFlag, hmLEDRSRRedundancyManager=hmLEDRSRRedundancyManager, hmPSState=hmPSState, hmFanTable=hmFanTable, hmFwdPriorityConfiguration=hmFwdPriorityConfiguration, PYSNMP_MODULE_ID=hmConfiguration, hmDIPSwitchGroup=hmDIPSwitchGroup, hmNetACDDelay=hmNetACDDelay, hmNetHiDiscoveryStatus=hmNetHiDiscoveryStatus, hmSigConSenseLinkFailure=hmSigConSenseLinkFailure, hmEthernetIPStatisticsGroup=hmEthernetIPStatisticsGroup, hmSysGroupDescription=hmSysGroupDescription, ms30=ms30, hmTrapDestCommIndex=hmTrapDestCommIndex, hmSysSelftestRebootOnHdxError=hmSysSelftestRebootOnHdxError, hmPrioTTPPrio=hmPrioTTPPrio, hmSigConSensePS1State=hmSigConSensePS1State, hmLEDOctRedundancyManager=hmLEDOctRedundancyManager, hmIGMPSnoopFilterAddress=hmIGMPSnoopFilterAddress, PTPPortIdentity=PTPPortIdentity, hmPortMonitorConditionLinkFlapMode=hmPortMonitorConditionLinkFlapMode, hmNetACDStatus=hmNetACDStatus, hmRS2PartnerIpAddress=hmRS2PartnerIpAddress, hmPNIOSoftwareRelease=hmPNIOSoftwareRelease, hmNetACDAddrSubtype=hmNetACDAddrSubtype, hmSigConSensePS4State=hmSigConSensePS4State, hmDevMonSenseModuleRemoval=hmDevMonSenseModuleRemoval, hmSelfTestBBResult=hmSelfTestBBResult, hmPNIONameOfStation=hmPNIONameOfStation, hmPortMonitorIntfEntry=hmPortMonitorIntfEntry, hmChassisEvent=hmChassisEvent, hmPSEntry=hmPSEntry, hmSysModStatus=hmSysModStatus, hmPortMonitorIntfAction=hmPortMonitorIntfAction, hmNetHiDiscoveryGroup=hmNetHiDiscoveryGroup, hmNetPTPSyncLowerBound=hmNetPTPSyncLowerBound, hmRelayServerGroup=hmRelayServerGroup, hmPOEModuleDeliveredPower=hmPOEModuleDeliveredPower, hmLEDOctGroup=hmLEDOctGroup, hmRelayDHCPServer2IpAddr=hmRelayDHCPServer2IpAddr, hmSysGroupModuleCapacity=hmSysGroupModuleCapacity, hmDuplicateStaticAddressTrap=hmDuplicateStaticAddressTrap, hmMACH3ChassisExt=hmMACH3ChassisExt, hmTrapCommColdStart=hmTrapCommColdStart, hmDevMonSenseTemperature=hmDevMonSenseTemperature, hmConfigWatchdogIPAddress=hmConfigWatchdogIPAddress, hmPortMonitorAdminMode=hmPortMonitorAdminMode, hmPortMonitorConditionGroup=hmPortMonitorConditionGroup, hmDIPSwitchMICERingPort=hmDIPSwitchMICERingPort, hmIngressLimiterGroup=hmIngressLimiterGroup, hmSysMaxSignalContacts=hmSysMaxSignalContacts, hmPNIOHardwareRelease=hmPNIOHardwareRelease, hmDevMonTrapEnable=hmDevMonTrapEnable, hmBPDUGuardTrap=hmBPDUGuardTrap, hmRS2TopologyLinkID=hmRS2TopologyLinkID, hmIfacePhyFastLinkDetection=hmIfacePhyFastLinkDetection, hmAuthCommState=hmAuthCommState, hmPOEModuleEntry=hmPOEModuleEntry, hmPrioMACStatus=hmPrioMACStatus, hmSFPTable=hmSFPTable, hmNetPTPPreferredMaster=hmNetPTPPreferredMaster, hmAuthHostEntry=hmAuthHostEntry, hmIfaceEgressLimiterCalculationMode=hmIfaceEgressLimiterCalculationMode, hmNetPTPPortEnable=hmNetPTPPortEnable, hmIfaceAction=hmIfaceAction, hmNetPTP2TCManagement=hmNetPTP2TCManagement, hmNetPTPEnable=hmNetPTPEnable, hmSfpBitRate=hmSfpBitRate, hmSysGroupTable=hmSysGroupTable, hmRelayInterfaceTable=hmRelayInterfaceTable, hmEtherNetIPVendorObjRequests=hmEtherNetIPVendorObjRequests, hmRS2VlanMode=hmRS2VlanMode, hmNetNTPStatusText=hmNetNTPStatusText, hmRS2RedundancyGroup=hmRS2RedundancyGroup, hmAUIPortDTEPower=hmAUIPortDTEPower, hmNetPTP2TCSyntonized=hmNetPTP2TCSyntonized, hmPortMonitorConditionField=hmPortMonitorConditionField, hmStandby=hmStandby, hmAgentSnmpLogSetSeverity=hmAgentSnmpLogSetSeverity, hmSelfTestM1Result=hmSelfTestM1Result, hmIGMPSnoopQueryStaticTable=hmIGMPSnoopQueryStaticTable, hmAuthGroup=hmAuthGroup, hmSfpDateCode=hmSfpDateCode, hmIfaceID=hmIfaceID, hmMgmtBusSelected=hmMgmtBusSelected, hmSigConSensePS5State=hmSigConSensePS5State, hmTrunkOperStatus=hmTrunkOperStatus, hmSelftestError=hmSelftestError, hmAUIModuleID=hmAUIModuleID, hmIfaceCableCrossing=hmIfaceCableCrossing, hmAgentSnmpTrapReceiverConfigEntry=hmAgentSnmpTrapReceiverConfigEntry, eagle_mguard=eagle_mguard, hmTempTable=hmTempTable, hmInterfaceEntry=hmInterfaceEntry, hmNetACDTimeMark=hmNetACDTimeMark, hmSysGroupActionDelayPreset=hmSysGroupActionDelayPreset, hmNetPTPIsSynchronized=hmNetPTPIsSynchronized, hmIGMPSnoopUnknownMode=hmIGMPSnoopUnknownMode, hmSigLinkAlarm=hmSigLinkAlarm, hmSigConID=hmSigConID, hmSystemTimeSource=hmSystemTimeSource, hmSystemTable=hmSystemTable, hmNetPTP2GrandmasterClockClass=hmNetPTP2GrandmasterClockClass, hmCpuRunningProcesses=hmCpuRunningProcesses, hmRelayDHCPServerIpAddr=hmRelayDHCPServerIpAddr, hmNetNTPServer1AddrType=hmNetNTPServer1AddrType, hmSysGroupType=hmSysGroupType, hmPortMonitorConditionLinkFlapInterval=hmPortMonitorConditionLinkFlapInterval, hmIGMPSnoopUnknownLookupResponseTime=hmIGMPSnoopUnknownLookupResponseTime, hmLEDOctPowerSupply2=hmLEDOctPowerSupply2, hmDIPSwitchMICERedundancyManager=hmDIPSwitchMICERedundancyManager, hmNetACDMAC=hmNetACDMAC, hmSigLinkEntry=hmSigLinkEntry, hmLEDRSRPowerSupply=hmLEDRSRPowerSupply, hmDIPSwitchRSStandby=hmDIPSwitchRSStandby, hmSysModuleTable=hmSysModuleTable, hmNetSNTPStatus=hmNetSNTPStatus, hmNetSNMPv3EncryptionReadOnlyStatus=hmNetSNMPv3EncryptionReadOnlyStatus, hmPrioMACAddressEntry=hmPrioMACAddressEntry, hmNetACDAddr=hmNetACDAddr, hmFSTable=hmFSTable, mach100ge=mach100ge, hmSfpInfoPartId=hmSfpInfoPartId, hmNetPTP2DelayMechanism=hmNetPTP2DelayMechanism, mach100=mach100, hmFSUpdFileName=hmFSUpdFileName, hmLastPort=hmLastPort, hmIGMPSnoopQueryPorts=hmIGMPSnoopQueryPorts, hmAUIPortEntry=hmAUIPortEntry, hmPNIOOrderID9th=hmPNIOOrderID9th, mach4002_24G=mach4002_24G, hmNetPTPSubdomainName=hmNetPTPSubdomainName, hmSfpRxPowerdBm=hmSfpRxPowerdBm, hmIGMPSnoopQueryTable=hmIGMPSnoopQueryTable, hmPrioTrafficClassWeight=hmPrioTrafficClassWeight, hmRS2ConnectionMirroringGroup=hmRS2ConnectionMirroringGroup, hmNetNTPServer2Address=hmNetNTPServer2Address, hmLEDRSRFault=hmLEDRSRFault, hmIGMPSnoopUnknownAgingTime=hmIGMPSnoopUnknownAgingTime, rs20=rs20, hmNetwork=hmNetwork, hmIGMPQuerierMaxResponseTime=hmIGMPQuerierMaxResponseTime, hmLEDOctPowerSupply1=hmLEDOctPowerSupply1, hmPNIODcpMode=hmPNIODcpMode, hmTrunkName=hmTrunkName, hmNetPTP2TCVlanID=hmNetPTP2TCVlanID, hmAgentSnmpTrapReceiverIPAddress=hmAgentSnmpTrapReceiverIPAddress, hmSysSwitchAddressRelearnDetection=hmSysSwitchAddressRelearnDetection, hmSfpMaxLength_fiber_50=hmSfpMaxLength_fiber_50, hmTrapCommTableEntriesMax=hmTrapCommTableEntriesMax, hmNetPTP2PortEntry=hmNetPTP2PortEntry, hmPortMonitorConditionLinkFlapCountTotal=hmPortMonitorConditionLinkFlapCountTotal, hmNetPTPStaticDrift=hmNetPTPStaticDrift, hmNetSNMPv3Status=hmNetSNMPv3Status, hmPOEModuleMaximumPower=hmPOEModuleMaximumPower, hmSigConSenseFan1State=hmSigConSenseFan1State, hmCurrentAddressStaticEgressPorts=hmCurrentAddressStaticEgressPorts, hmAUIPortTable=hmAUIPortTable, hmAuthHostIpMask=hmAuthHostIpMask, rsb20=rsb20, hmActionResult=hmActionResult, hmSigConSensePS6State=hmSigConSensePS6State, hmAgentSnmpLogGetSeverity=hmAgentSnmpLogGetSeverity, hmIGMPQuerierStatus=hmIGMPQuerierStatus, hmRS2SelftestGroup=hmRS2SelftestGroup, hmSysChassisName=hmSysChassisName, hmNetPTP2GrandmasterPriority2=hmNetPTP2GrandmasterPriority2, hmNeighbourAgentEntry=hmNeighbourAgentEntry, hmNeighbourSlot=hmNeighbourSlot) mibBuilder.exportSymbols("HMPRIV-MGMT-SNMP-MIB", hmPOEPortConsumptionPower=hmPOEPortConsumptionPower, hmIGMPGroup=hmIGMPGroup, hmNetPTP2TCFaulty=hmNetPTP2TCFaulty, hmPNIODcpModePortID=hmPNIODcpModePortID, hmNetACDMaxProtection=hmNetACDMaxProtection, hmNetPTP2OffsetFromMaster=hmNetPTP2OffsetFromMaster, hmPNIOModuleIdentNumber=hmPNIOModuleIdentNumber, hmAddressRelearnDetectTrap=hmAddressRelearnDetectTrap, hmNetACDOngoingProbeStatus=hmNetACDOngoingProbeStatus, hmNetSNTPServer=hmNetSNTPServer, hmFanSysID=hmFanSysID, hmAgentSnmpPortSecurityTrapFlag=hmAgentSnmpPortSecurityTrapFlag, hmSysSTPErrorNumber=hmSysSTPErrorNumber, hmNetPTP2TimeTraceable=hmNetPTP2TimeTraceable, hmConfiguration=hmConfiguration, hmConfigurationStatus=hmConfigurationStatus, hmPNIODeviceID=hmPNIODeviceID, hmFSTPPassword=hmFSTPPassword, hmEtherNetIPConnTimeouts=hmEtherNetIPConnTimeouts, hmTrapCommBridge=hmTrapCommBridge, hmNetSNTPLocalOffset=hmNetSNTPLocalOffset, hmPOEModulePowerUsageOnNotification=hmPOEModulePowerUsageOnNotification, hmNetPTP2TCPrimaryDomain=hmNetPTP2TCPrimaryDomain, hmSigConSensePS8State=hmSigConSensePS8State, hmSigConLinkTable=hmSigConLinkTable, hmSfpInfoVersion=hmSfpInfoVersion, hmSerialNumM2=hmSerialNumM2, hmSigConSensePS7State=hmSigConSensePS7State, hmAgentEvent=hmAgentEvent, hmNetACDFaultState=hmNetACDFaultState, hmIngressUnknUcLimiterRate=hmIngressUnknUcLimiterRate, rr_epl=rr_epl, hmSysFlowControl=hmSysFlowControl, hmNetSNTPTimeAdjustThreshold=hmNetSNTPTimeAdjustThreshold, hmNetPTPOneWayDelayNanoSecs=hmNetPTPOneWayDelayNanoSecs, hmDevMonStateChange=hmDevMonStateChange, hmMemoryFree=hmMemoryFree, hmTrunkAction=hmTrunkAction, hmSFPEntry=hmSFPEntry, hmLEDRSRRelay1=hmLEDRSRRelay1, hmRS2FDBHashGroup=hmRS2FDBHashGroup, hmIGMPQuerierProtocolVersion=hmIGMPQuerierProtocolVersion, hmSysMaxFan=hmSysMaxFan, hmSigConTrapCause=hmSigConTrapCause, hmTrapCommRMON=hmTrapCommRMON, hmIGMPSnoopQueryStaticEntry=hmIGMPSnoopQueryStaticEntry, hmPOEPortEntry=hmPOEPortEntry, hmNetPTP2TimeSource=hmNetPTP2TimeSource, hmAuthHostIndex=hmAuthHostIndex, hmPOEModuleIndex=hmPOEModuleIndex, hmNetPTP2DomainNumber=hmNetPTP2DomainNumber, hmDevMonSensePS6State=hmDevMonSensePS6State, hmSysPlugAndPlay=hmSysPlugAndPlay, ruggedswitch=ruggedswitch, hmLimiterGroup=hmLimiterGroup, hmNetACDGroup=hmNetACDGroup, hmIGMPSnoopQuerierIPAddress=hmIGMPSnoopQuerierIPAddress, hmLEDGroup=hmLEDGroup, hmSfpMaxLength_fiber_9=hmSfpMaxLength_fiber_9, eagle=eagle, hmSfpConnector=hmSfpConnector, hmRMAIpAddr=hmRMAIpAddr, hmSysVersion=hmSysVersion, hmLEDRSRGroup=hmLEDRSRGroup, hmNetSNTPTime=hmNetSNTPTime, hmConfigWatchdogAdminStatus=hmConfigWatchdogAdminStatus, hmPSTable=hmPSTable, eem1=eem1, hmPOEStatus=hmPOEStatus, hmRS2RedNotGuaranteedAlarm=hmRS2RedNotGuaranteedAlarm, hmDevMonSensePS7State=hmDevMonSensePS7State, hmLEDRSRRelay2=hmLEDRSRRelay2, hmRelayGroup=hmRelayGroup, hmPrioMACAddressTable=hmPrioMACAddressTable, hmNetPPPNetMask=hmNetPPPNetMask, hmSysDHCPEnable=hmSysDHCPEnable, hmDIPSwitchMICEGroup=hmDIPSwitchMICEGroup, hmTrapDestTableEntriesMax=hmTrapDestTableEntriesMax, hmRelayOptionRemoteIDType=hmRelayOptionRemoteIDType, hmAgentSnmpLoggingGroup=hmAgentSnmpLoggingGroup, hmPOEPortIndex=hmPOEPortIndex, hmRS2ConnectionMirroringPortOne=hmRS2ConnectionMirroringPortOne, hmSysSwitchFDBHashOptimizingMode=hmSysSwitchFDBHashOptimizingMode, hmAuthCommIndex=hmAuthCommIndex, hmRMARowStatus=hmRMARowStatus, hmNetPTP2GrandmasterClockAccuracy=hmNetPTP2GrandmasterClockAccuracy, hmNetSNMPv1Status=hmNetSNMPv1Status, hmSigConSenseACANotInSync=hmSigConSenseACANotInSync, hmSfpTxPower=hmSfpTxPower, hmAgentSnmpCommunityAccessMode=hmAgentSnmpCommunityAccessMode, hmSysOEMID=hmSysOEMID, hmSysGroupActionResult=hmSysGroupActionResult, hmTrapCommTable=hmTrapCommTable, hmPNIOOrderID=hmPNIOOrderID, hmSysSwitchServiceModeGroup=hmSysSwitchServiceModeGroup, hmRelayIfaceCircuitID=hmRelayIfaceCircuitID, hmSysGroupActionDelayCurrent=hmSysGroupActionDelayCurrent, hmIfaceUtilization=hmIfaceUtilization, hmAutoConfigState=hmAutoConfigState, hmNetPTP2TCPortEnable=hmNetPTP2TCPortEnable, hmNetPTPPortBurstEnable=hmNetPTPPortBurstEnable, hmAuthHostTable=hmAuthHostTable, hmDevMonSensePS5State=hmDevMonSensePS5State, hmEnableMeasurement=hmEnableMeasurement, hmPortMonitorConditionCrcFragmentsCountTotal=hmPortMonitorConditionCrcFragmentsCountTotal, hmPSSysID=hmPSSysID, hmRelayInterfaceEntry=hmRelayInterfaceEntry, hmAgentSnmpChassisTrapFlag=hmAgentSnmpChassisTrapFlag, hmSerialNumBB=hmSerialNumBB, hmSFPRxPowerChangeTrap=hmSFPRxPowerChangeTrap, hmPortMonitorConditionCrcFragmentsIntfEntry=hmPortMonitorConditionCrcFragmentsIntfEntry, ms20=ms20, hmTrapCommLinkUp=hmTrapCommLinkUp, hmPOEModuleUsageThreshold=hmPOEModuleUsageThreshold, octopus_os=octopus_os, hmAgentSnmpLinkUpDownTrapFlag=hmAgentSnmpLinkUpDownTrapFlag, hmRestrictedMgtAccessGroup=hmRestrictedMgtAccessGroup, hmEtherNetIPRevisionMinor=hmEtherNetIPRevisionMinor, hmAgentSnmpL2RedundancyTrapFlag=hmAgentSnmpL2RedundancyTrapFlag, hmLEDRSGroup=hmLEDRSGroup, hmNetPTPSlavePort=hmNetPTPSlavePort, hmChassis=hmChassis, hmSysSelftestRAM=hmSysSelftestRAM, hmSysSwitchMRU=hmSysSwitchMRU, hmNetPTP2VlanID=hmNetPTP2VlanID, hmAuthHostIpAddress=hmAuthHostIpAddress, hmEgressLimiterEnable=hmEgressLimiterEnable, hmSigConSenseRedNotGuaranteed=hmSigConSenseRedNotGuaranteed, hmNetPTP2Leap61=hmNetPTP2Leap61, hmDevMonSenseLinkFailure=hmDevMonSenseLinkFailure, hmRS2SigRelayMode=hmRS2SigRelayMode, hmRMASrvTelnet=hmRMASrvTelnet, hmRS2TopologyGroup=hmRS2TopologyGroup, hmTrapDestEntry=hmTrapDestEntry, hmSFPChangeTrap=hmSFPChangeTrap, hmNetPTP2ParentStats=hmNetPTP2ParentStats, hmSysGroupSwVersion=hmSysGroupSwVersion, hmRS2SelftestMode=hmRS2SelftestMode, hmIfaceBcastLimit=hmIfaceBcastLimit, hmIGMPSnoopQueryStaticPorts=hmIGMPSnoopQueryStaticPorts, hmPOEModulePower=hmPOEModulePower, hmSysMaxTrunks=hmSysMaxTrunks, hmSysSwitchFDBHashOptimizingStatus=hmSysSwitchFDBHashOptimizingStatus, hmRS2TopologyEntry=hmRS2TopologyEntry, hmPOEModuleReservedPower=hmPOEModuleReservedPower, hmNetVlanPriority=hmNetVlanPriority, hmSysGroupID=hmSysGroupID, hmDevMonSenseControlLine=hmDevMonSenseControlLine, hmRS2ext=hmRS2ext, hmRMAEntry=hmRMAEntry, hmAgentLoginGroup=hmAgentLoginGroup, hmRS2FDBGroup=hmRS2FDBGroup, hmSerialNumM4=hmSerialNumM4, hmSysGroupHwVersion=hmSysGroupHwVersion, hmNetSNTPSyncInterval=hmNetSNTPSyncInterval, hmCpuUtilization=hmCpuUtilization, hmRelayOptionRemoteIDValue=hmRelayOptionRemoteIDValue, hmProfinetIOConfigGroup=hmProfinetIOConfigGroup, hmTrapDestName=hmTrapDestName, hmDevMonConfigEntry=hmDevMonConfigEntry, hmAuthCommTable=hmAuthCommTable, hmNeighbourIpAddress=hmNeighbourIpAddress, hmCurrentAddress=hmCurrentAddress, hmNetGPSGroup=hmNetGPSGroup, hmAgentSnmpCommunityCreate=hmAgentSnmpCommunityCreate, hmNetSNMPv3EncryptionReadWriteStatus=hmNetSNMPv3EncryptionReadWriteStatus, hmCpuAverageUtilization=hmCpuAverageUtilization, hmPowerSupply=hmPowerSupply, hmSysSwitchServiceMode=hmSysSwitchServiceMode, hmRS2DisableLearningStatus=hmRS2DisableLearningStatus, hmAUIModuleDTEPowerMonitor=hmAUIModuleDTEPowerMonitor, hmSigConSenseTemperature=hmSigConSenseTemperature, hmPOEModuleNotificationControlEnable=hmPOEModuleNotificationControlEnable, hmNetGatewayIPAddr=hmNetGatewayIPAddr, hmIfaceStpBpduGuardEnable=hmIfaceStpBpduGuardEnable, hmNetPTP2PortEnable=hmNetPTP2PortEnable, hmDuplexMismatchTrap=hmDuplexMismatchTrap, hmSigConConfigEntry=hmSigConConfigEntry, hmCurrentAddressEgressPorts=hmCurrentAddressEgressPorts, hmNetPTPPiIntegral=hmNetPTPPiIntegral, hmSigReasonIndex=hmSigReasonIndex, hmSerialNumM1=hmSerialNumM1, hmPrioMACAddress=hmPrioMACAddress, hmNetSNMPv2Status=hmNetSNMPv2Status, hmNetworkCpuIfAverageUtilization=hmNetworkCpuIfAverageUtilization, hmAgentSnmpCommunityIPAddress=hmAgentSnmpCommunityIPAddress, hmSigConLinkAlarm=hmSigConLinkAlarm, hmDevMonID=hmDevMonID, hmIfaceUtilizationTrap=hmIfaceUtilizationTrap, hmSysSwitchLearning=hmSysSwitchLearning, hmSfpSerialNum=hmSfpSerialNum, hmNetPTPAbsMaxOffset=hmNetPTPAbsMaxOffset, hmEtherNetIPConnEstablished=hmEtherNetIPConnEstablished, hmSysSwitchVLANLearningMode=hmSysSwitchVLANLearningMode, hmNetNTPOperation=hmNetNTPOperation, hmSfpPartRev=hmSfpPartRev, hmPrioTrafficClassID=hmPrioTrafficClassID, hmNetSNTPAnycastAddr=hmNetSNTPAnycastAddr, BridgeIdOrNull=BridgeIdOrNull, hmIngressUnknUcLimiterCalculationMode=hmIngressUnknUcLimiterCalculationMode, hmSigConTrapCauseIndex=hmSigConTrapCauseIndex, hmMemoryAllocatedAverage=hmMemoryAllocatedAverage, hmNetNTPSyncInterval=hmNetNTPSyncInterval, hmSigConSensePS2State=hmSigConSensePS2State, hmPortMonitorGroup=hmPortMonitorGroup, hmPSDescription=hmPSDescription, hmNetACDIfId=hmNetACDIfId, hmLEDOctFault=hmLEDOctFault, hmDIPSwitchMICEStandby=hmDIPSwitchMICEStandby, hmAgentSnmpConfigGroup=hmAgentSnmpConfigGroup, hmRS2SelftestResult=hmRS2SelftestResult, hmPrioTrafficClassEntry=hmPrioTrafficClassEntry, hmPOEModulePowerUsageOffNotification=hmPOEModulePowerUsageOffNotification, hmNetPTP2CurrentUtcOffset=hmNetPTP2CurrentUtcOffset, hmNetPTP2LogDelayReqInterval=hmNetPTP2LogDelayReqInterval, hmNetPTP2Leap59=hmNetPTP2Leap59, hmSysSwitchFastLinkDetection=hmSysSwitchFastLinkDetection, hmSysMaxUSBPorts=hmSysMaxUSBPorts, railswitchrugged=railswitchrugged, hmPrioTosToPrioTable=hmPrioTosToPrioTable, hmNetMask=hmNetMask, hmTrapCommChassis=hmTrapCommChassis, hmRelayLastDuplicateIP=hmRelayLastDuplicateIP, hmSysModVersion=hmSysModVersion, hmSysSwitchServiceModeOperState=hmSysSwitchServiceModeOperState, hmNetPTPEpochNumber=hmNetPTPEpochNumber, hmSerialNumbers=hmSerialNumbers, hmIfaceStpEnable=hmIfaceStpEnable, hmRMATable=hmRMATable, hmAgentSnmpTrapReceiverCreate=hmAgentSnmpTrapReceiverCreate, hmAgentSnmpTrapReceiverCommunityName=hmAgentSnmpTrapReceiverCommunityName, eagle20=eagle20, hmIfaceUtilizationAlarmLowerThreshold=hmIfaceUtilizationAlarmLowerThreshold, hmAUIPortID=hmAUIPortID, hmIfaceUtilizationAlarmUpperThreshold=hmIfaceUtilizationAlarmUpperThreshold, hmTrapCommDualHoming=hmTrapCommDualHoming, hmAgentSnmpCommunityConfigEntry=hmAgentSnmpCommunityConfigEntry, hmIndustrialEthernetProtocols=hmIndustrialEthernetProtocols, hmNetSNTPOnceAtStartup=hmNetSNTPOnceAtStartup, hmGMRP=hmGMRP, hmLastAccessGroup=hmLastAccessGroup, hmFanState=hmFanState, hmNetPTP2GrandmasterClockQuality=hmNetPTP2GrandmasterClockQuality, hmFSConfFileName=hmFSConfFileName, hmFSFileTable=hmFSFileTable, hmIGMPSnoopForwardAllTable=hmIGMPSnoopForwardAllTable, hmSigConConfigTable=hmSigConConfigTable, hmSfpMaxLength_fiber_62_5=hmSfpMaxLength_fiber_62_5, hmSigConManualActivate=hmSigConManualActivate, hmNetPTP2TCPortEntry=hmNetPTP2TCPortEntry, hmRMASrvHttp=hmRMASrvHttp, hmSysSwitchVLANGroup=hmSysSwitchVLANGroup, hmPortMonitorConditionTable=hmPortMonitorConditionTable, hmRS2TopologyIpAddress=hmRS2TopologyIpAddress) mibBuilder.exportSymbols("HMPRIV-MGMT-SNMP-MIB", hmNetPTP2TCPeerMeanPathDelay=hmNetPTP2TCPeerMeanPathDelay, hmNetSNMPRadiusAuthenticate=hmNetSNMPRadiusAuthenticate, hmPOEReservedPower=hmPOEReservedPower, hmNetPTP2TCNetworkProtocol=hmNetPTP2TCNetworkProtocol, hmSelfTestM3Result=hmSelfTestM3Result, hmAuthHostName=hmAuthHostName, hmAutoconfigAdapterSerialNum=hmAutoconfigAdapterSerialNum, hmNetACDAddrTable=hmNetACDAddrTable, hmNetPTPConfiguration=hmNetPTPConfiguration, hmPNIOAdminStatus=hmPNIOAdminStatus, hmTrunkEntry=hmTrunkEntry, hmSfpVendorName=hmSfpVendorName, hmNetPTP2PtpTimescale=hmNetPTP2PtpTimescale, hmNetPTP2VlanPriority=hmNetPTP2VlanPriority, hmRS2PSGroup=hmRS2PSGroup, hmDevMonSwitchState=hmDevMonSwitchState, hmIGMPQuerierMode=hmIGMPQuerierMode, hmRS2TopologyTable=hmRS2TopologyTable, hmPOEGroup=hmPOEGroup, hmRS4RVlanPortID=hmRS4RVlanPortID, hmNetLocalIPAddr=hmNetLocalIPAddr, hmIGMPSnoopQueryEntry=hmIGMPSnoopQueryEntry, hmAuthCommPerm=hmAuthCommPerm, hmSysOEMGroup=hmSysOEMGroup, hmRS2VlanGroup=hmRS2VlanGroup, hmIGMPSnoopQueryStaticAutomaticPorts=hmIGMPSnoopQueryStaticAutomaticPorts, hmMemoryResources=hmMemoryResources, hmIfaceName=hmIfaceName, hmAUIGroup=hmAUIGroup, hmSigConSensePS3State=hmSigConSensePS3State, hmTrapDestState=hmTrapDestState, hmSfpInfoPartNumber=hmSfpInfoPartNumber, hmAgentSnmpCommunityStatus=hmAgentSnmpCommunityStatus, hmIngressUnknUcLimiterMode=hmIngressUnknUcLimiterMode, hmIGMPSnoopFilterTable=hmIGMPSnoopFilterTable, hmIGMPSnoopForwardAllStaticPorts=hmIGMPSnoopForwardAllStaticPorts, hmTrunkID=hmTrunkID, hmRelayErrCnt=hmRelayErrCnt, hmConfigWatchdogOperStatus=hmConfigWatchdogOperStatus, hmNetworkCpuIfUtilization=hmNetworkCpuIfUtilization, hmIGMPSnoopFilterEntry=hmIGMPSnoopFilterEntry, hmAgentSnmpSpanningTreeTrapFlag=hmAgentSnmpSpanningTreeTrapFlag, hmRelayDHCPServer3IpAddr=hmRelayDHCPServer3IpAddr, hmCurrentAddressReceivePort=hmCurrentAddressReceivePort, hmNetPTPleap59=hmNetPTPleap59, hmProducts=hmProducts, hmPortMonitorConditionLinkFlapIntfTable=hmPortMonitorConditionLinkFlapIntfTable, hmRS2SigRelayManualState=hmRS2SigRelayManualState, hmNetPTP2GrandmasterClockVariance=hmNetPTP2GrandmasterClockVariance, hmNetPTP2PortCapability=hmNetPTP2PortCapability, hmDIPSwitchRSGroup=hmDIPSwitchRSGroup, hmNetSNTPOperStatus=hmNetSNTPOperStatus, hmRMANetMask=hmRMANetMask, hmAgent=hmAgent, hmTemperature=hmTemperature, hmPOEFastStartup=hmPOEFastStartup, hmConfigurationSavedTrap=hmConfigurationSavedTrap, hmIfaceIngressLimiterCalculationMode=hmIfaceIngressLimiterCalculationMode, hmDevMonTrapCauseIndex=hmDevMonTrapCauseIndex, hmSfpRxPower=hmSfpRxPower, rs2=rs2, hmSysSwitchFDBFullCounter=hmSysSwitchFDBFullCounter, hmNetNTPAnycastInterval=hmNetNTPAnycastInterval, hmNetPTP2TCClockIdentity=hmNetPTP2TCClockIdentity, hmNetNTPServer1Address=hmNetNTPServer1Address, hmEtherNetIPProductName=hmEtherNetIPProductName, hmNetPTPPortTable=hmNetPTPPortTable, hmNetPTP2Configuration=hmNetPTP2Configuration, hmPrioTOSEnable=hmPrioTOSEnable, hmNetPTPTimeSeconds=hmNetPTPTimeSeconds, hmNetPTP2Priority1=hmNetPTP2Priority1, hmProfinetIOStatisticsGroup=hmProfinetIOStatisticsGroup, hmRS2SigRelayGroup=hmRS2SigRelayGroup, hmPortMonitorConditionLinkFlapIntfEntry=hmPortMonitorConditionLinkFlapIntfEntry, hmIfaceUtilizationAlarmCondition=hmIfaceUtilizationAlarmCondition, hmSfpTxPowerdBm=hmSfpTxPowerdBm, hmNetPTPAction=hmNetPTPAction, hmIGMPSnoopQueryStaticVlanIndex=hmIGMPSnoopQueryStaticVlanIndex, hmNetPTP2TCVlanPriority=hmNetPTP2TCVlanPriority, hmSysSwitchVLANLearningStatus=hmSysSwitchVLANLearningStatus, hmSysGroupModuleMap=hmSysGroupModuleMap, hmNetPTP2TCMultiDomainMode=hmNetPTP2TCMultiDomainMode, hmPortMonitorIntfMode=hmPortMonitorIntfMode, hmSNTPTrap=hmSNTPTrap, hmAgentSnmpCommunityConfigTable=hmAgentSnmpCommunityConfigTable, hmNetPTPClockIdentifier=hmNetPTPClockIdentifier, hmPrioMACReceivePort=hmPrioMACReceivePort, DIPSwitchState=DIPSwitchState, hmSysSwitchAddressRelearnThreshold=hmSysSwitchAddressRelearnThreshold, hmSfpVendorOUI=hmSfpVendorOUI, hmSysModulePortCapacity=hmSysModulePortCapacity, hmSysSelftestGroup=hmSysSelftestGroup, hmNetPTPParentUUID=hmNetPTPParentUUID, hmIfaceLinkType=hmIfaceLinkType, hmPortMonitorConditionCrcFragmentsCount=hmPortMonitorConditionCrcFragmentsCount, hmPortMonitorConditionIntfEntry=hmPortMonitorConditionIntfEntry, hmNetPTPOffsetFromMasterNanoSecs=hmNetPTPOffsetFromMasterNanoSecs, hmTempLwrLimit=hmTempLwrLimit, hmSysSwitchRedundancyRstpMrpMode=hmSysSwitchRedundancyRstpMrpMode, hmEtherNetIPErrorCode=hmEtherNetIPErrorCode, hmSigConOperState=hmSigConOperState, hmNetPTPSyncInterval=hmNetPTPSyncInterval, hmRS2FDBHashOptimizingStatus=hmRS2FDBHashOptimizingStatus, hmSysHttpsEnable=hmSysHttpsEnable, hmIGMPSnoopQueryVlanIndex=hmIGMPSnoopQueryVlanIndex, hmDevMonSensePS2State=hmDevMonSensePS2State, hmNetLocalPhysAddrRange=hmNetLocalPhysAddrRange, hmSysSoftwareCapability=hmSysSoftwareCapability, hmNetPTP2TCCurrentMaster=hmNetPTP2TCCurrentMaster, hmNetNTPAnycastAddrType=hmNetNTPAnycastAddrType, hmNetSNTPServer2=hmNetSNTPServer2, hmIfaceStpBpduGuardStatus=hmIfaceStpBpduGuardStatus, hmIfaceIngressLimiterRate=hmIfaceIngressLimiterRate, hmAuthHostCommIndex=hmAuthHostCommIndex, hmNTPTrap=hmNTPTrap, hmSfpTxPowerInt=hmSfpTxPowerInt, hmNetPTP2Priority2=hmNetPTP2Priority2, hmSysSelftestMMUStatus=hmSysSelftestMMUStatus, hmFSFileEntry=hmFSFileEntry, hmSigConLinkID=hmSigConLinkID, hmDevMonSensePS4State=hmDevMonSensePS4State, hmNetPTP2MeanPathDelay=hmNetPTP2MeanPathDelay, hmTrunkAdminStatus=hmTrunkAdminStatus, hmRS4RVlanGroup=hmRS4RVlanGroup, hmNetPTP2NetworkProtocol=hmNetPTP2NetworkProtocol, hmNetSNMPPortNumber=hmNetSNMPPortNumber, hmRS2ConnectionMirroringStatus=hmRS2ConnectionMirroringStatus, hmSysModType=hmSysModType, hmNetSNMPSynchronizeV1V3Status=hmNetSNMPSynchronizeV1V3Status, hmCurrentAddressEntry=hmCurrentAddressEntry, hmNetNTPServer2AddrType=hmNetNTPServer2AddrType, hmRS4RGroup=hmRS4RGroup, hmIfaceIngressLimiterMode=hmIfaceIngressLimiterMode)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, constraints_union, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint') (dot1d_static_address,) = mibBuilder.importSymbols('BRIDGE-MIB', 'dot1dStaticAddress') (address_family_numbers,) = mibBuilder.importSymbols('IANA-ADDRESS-FAMILY-NUMBERS-MIB', 'AddressFamilyNumbers') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (time_filter,) = mibBuilder.importSymbols('RMON2-MIB', 'TimeFilter') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (time_ticks, iso, counter32, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, enterprises, counter64, unsigned32, mib_identifier, object_identity, integer32, gauge32, bits, module_identity, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'iso', 'Counter32', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'enterprises', 'Counter64', 'Unsigned32', 'MibIdentifier', 'ObjectIdentity', 'Integer32', 'Gauge32', 'Bits', 'ModuleIdentity', 'NotificationType') (row_status, truth_value, display_string, textual_convention, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TextualConvention', 'MacAddress') hm_configuration = module_identity((1, 3, 6, 1, 4, 1, 248, 14)) hmConfiguration.setRevisions(('2008-06-03 12:00', '2007-12-11 12:00', '2007-09-13 12:00', '2010-01-29 12:00', '2012-09-04 12:00')) if mibBuilder.loadTexts: hmConfiguration.setLastUpdated('201209041200Z') if mibBuilder.loadTexts: hmConfiguration.setOrganization('Hirschmann Automation and Control GmbH') class Hmagentlogseverity(TextualConvention, Integer32): reference = 'RFC3164 - 4.1.1: Table 2' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('emergency', 0), ('alert', 1), ('critical', 2), ('error', 3), ('warning', 4), ('notice', 5), ('informational', 6), ('debug', 7)) class Ledstate(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('off', 1), ('green', 2), ('yellow', 3), ('red', 4)) class Dipswitchstate(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('on', 1), ('off', 2)) class Ptptimeinterval(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 18' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Ptpportidentity(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(10, 10) fixed_length = 10 class Ptpclockidentity(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Ptpclockquality(TextualConvention, OctetString): reference = 'IEEE P1588 D2.21 Draft Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems page 19' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(4, 4) fixed_length = 4 class Bridgeidornull(TextualConvention, OctetString): status = 'current' subtype_spec = OctetString.subtypeSpec + constraints_union(value_size_constraint(0, 0), value_size_constraint(8, 8)) hirschmann = mib_identifier((1, 3, 6, 1, 4, 1, 248)) hm_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1)) hm_agent = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2)) hm_products = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10)) rs2 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 2)) mach3000 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 3)) ms2108_2 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 4)).setLabel('ms2108-2') ms3124_4 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 5)).setLabel('ms3124-4') rs2_16 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 6)).setLabel('rs2-16') rs2_4r = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 7)).setLabel('rs2-4r') ms4128_5 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 10)).setLabel('ms4128-5') eagle = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 20)) rr_epl = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 21)).setLabel('rr-epl') eagle_mguard = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 22)).setLabel('eagle-mguard') eagle20 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 23)) ms20 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 30)) ms30 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 31)) rs20 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 40)) rs30 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 41)) rsb20 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 44)) osb20 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 45)) mach4002_48_4_g = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 50)).setLabel('mach4002-48-4G') octopus = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 60)) mach4002_24_g = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 70)).setLabel('mach4002-24G') mach4002_24_g_3_x = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 71)).setLabel('mach4002-24G-3X') mach4002_48_g = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 75)).setLabel('mach4002-48G') mach4002_48_g_3_x = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 76)).setLabel('mach4002-48G-3X') ruggedswitch = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 90)) railswitchrugged = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 100)) mach100 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 110)) octopus_os = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 120)).setLabel('octopus-os') mach100ge = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 130)) mach1000ge = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 131)) eem1 = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 10, 200)) hm_system_table = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1)) hm_sys_product = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 10, 11, 12, 20, 21, 100, 101, 102, 110, 111, 112, 120, 121, 122, 130, 131, 132, 140, 141, 142, 200, 201, 202, 210, 211, 212, 220, 221, 222, 230, 231, 232, 240, 241, 242, 300, 301, 302, 303, 304, 311, 312, 313, 401, 410, 420, 421, 425, 426, 500, 501, 502, 503, 504, 505, 506, 507, 520, 521, 522, 523, 524, 525, 526, 527, 530, 531, 532, 533, 534, 535, 536, 537, 540, 541, 542, 543, 544, 545, 546, 547, 550, 551, 600, 601, 620, 621, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 720, 721, 722, 723, 724, 725, 730, 731, 732, 733, 734, 740, 780, 800, 801, 802, 803, 804, 810, 811, 812, 820, 821, 822, 823, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1200))).clone(namedValues=named_values(('rs2-tx-tx', 1), ('rs2-fx-fx', 2), ('rs2-fxsm-fxsm', 3), ('mach3002', 10), ('mach3005', 11), ('mach3001', 12), ('ms2108-2', 20), ('ms3124-4', 21), ('rs2-16m', 100), ('rs2-15m', 101), ('rs2-14m', 102), ('rs2-16m-1mm-sc', 110), ('rs2-16m-1sm-sc', 111), ('rs2-16m-1lh-sc', 112), ('rs2-15m-1mm-sc', 120), ('rs2-15m-1sm-sc', 121), ('rs2-15m-1lh-sc', 122), ('rs2-16m-2mm-sc', 130), ('rs2-16m-2sm-sc', 131), ('rs2-16m-2lh-sc', 132), ('rs2-16m-1mm-sc-1sm-sc', 140), ('rs2-16m-1mm-sc-1lh-sc', 141), ('rs2-16m-1sm-sc-1lh-sc', 142), ('rs2-8m', 200), ('rs2-7m', 201), ('rs2-6m', 202), ('rs2-8m-1mm-sc', 210), ('rs2-8m-1sm-sc', 211), ('rs2-8m-1lh-sc', 212), ('rs2-7m-1mm-sc', 220), ('rs2-7m-1sm-sc', 221), ('rs2-7m-1lh-sc', 222), ('rs2-8m-2mm-sc', 230), ('rs2-8m-2sm-sc', 231), ('rs2-8m-2lh-sc', 232), ('rs2-8m-1mm-sc-1sm-sc', 240), ('rs2-8m-1mm-sc-1lh-sc', 241), ('rs2-8m-1sm-sc-1lh-sc', 242), ('rs2-4r', 300), ('rs2-4r-1mm-sc', 301), ('rs2-4r-1sm-sc', 302), ('rs2-4r-1lh-sc', 303), ('rs2-4r-1fl-st', 304), ('rs2-4r-2mm-sc', 311), ('rs2-4r-2sm-sc', 312), ('rs2-4r-2lh-sc', 313), ('ms4128-5', 401), ('mach4002-48-4G', 410), ('mach4002-24G', 420), ('mach4002-24G-3X', 421), ('mach4002-48G', 425), ('mach4002-48G-3X', 426), ('eagle-tx-tx', 500), ('eagle-tx-mm-sc', 501), ('eagle-tx-sm-sc', 502), ('eagle-tx-lh-sc', 503), ('eagle-mm-sc-tx', 504), ('eagle-mm-sc-mm-sc', 505), ('eagle-mm-sc-sm-sc', 506), ('eagle-mm-sc-lh-sc', 507), ('eagle-fw-tx-tx', 520), ('eagle-fw-tx-mm-sc', 521), ('eagle-fw-tx-sm-sc', 522), ('eagle-fw-tx-lh-sc', 523), ('eagle-fw-mm-sc-tx', 524), ('eagle-fw-mm-sc-mm-sc', 525), ('eagle-fw-mm-sc-sm-sc', 526), ('eagle-fw-mm-sc-lh-sc', 527), ('eagle-mguard-tx-tx', 530), ('eagle-mguard-tx-mm-sc', 531), ('eagle-mguard-tx-sm-sc', 532), ('eagle-mguard-tx-lh-sc', 533), ('eagle-mguard-mm-sc-tx', 534), ('eagle-mguard-mm-sc-mm-sc', 535), ('eagle-mguard-mm-sc-sm-sc', 536), ('eagle-mguard-mm-sc-lh-sc', 537), ('eagle20-tx-tx', 540), ('eagle20-tx-mm-sc', 541), ('eagle20-tx-sm-sc', 542), ('eagle20-tx-lh-sc', 543), ('eagle20-mm-sc-tx', 544), ('eagle20-mm-sc-mm-sc', 545), ('eagle20-mm-sc-sm-sc', 546), ('eagle20-mm-sc-lh-sc', 547), ('rr-epl-tx-tx', 550), ('rr-epl-tx-mm-sc', 551), ('ms20-0800', 600), ('ms20-2400', 601), ('ms30-0802', 620), ('ms30-2402', 621), ('rs20-0400', 700), ('rs20-0400m1', 701), ('rs20-0400m2', 702), ('rs20-0800', 703), ('rs20-0800m2', 704), ('rs20-1600', 705), ('rs20-1600m2', 706), ('rs20-2400', 707), ('rs20-2400m2', 708), ('rs20-0900m3', 709), ('rs20-1700m3', 710), ('rs20-2500m3', 711), ('rs30-0802', 720), ('rs30-1602', 721), ('rs30-2402', 722), ('rs30-0802m4', 723), ('rs30-1602m4', 724), ('rs30-2402m4', 725), ('rsb20-8tx', 730), ('rsb20-8tx-1fx', 731), ('rsb20-6tx-2fx', 732), ('rsb20-6tx-3fx', 733), ('rsb20-6tx-3sfp', 734), ('rs40-0009', 740), ('cs30-0202', 780), ('octopus-8m', 800), ('octopus-16m', 801), ('octopus-24m', 802), ('octopus-8m-2g', 803), ('octopus-16m-2g', 804), ('os-000800', 810), ('os-000802', 811), ('os-001000', 812), ('osb20-9tx', 820), ('osb24-9tx-8poe', 821), ('osb20-10tx', 822), ('osb24-10tx-8poe', 823), ('mar1020', 900), ('mar1030', 901), ('mar1030-4g', 902), ('mar1022', 903), ('mar1032', 904), ('mar1032-4g', 905), ('mar1120', 906), ('mar1130', 907), ('mar1130-4g', 908), ('mar1122', 909), ('mar1132', 910), ('mar1132-4g', 911), ('mar1040', 912), ('mar1042', 913), ('mar1140', 914), ('mar1142', 915), ('rsr30-07sfp-03sfp', 1000), ('rsr30-06tp-03combo', 1001), ('rsr30-06tp-02sfp-02combo', 1002), ('rsr30-06tp-02sfp-02sfp', 1003), ('rsr30-08tp-02combo', 1004), ('rsr30-08tp-02sfp', 1005), ('rsr20-06tp-03fx', 1006), ('rsr20-06tp-02fx', 1007), ('rsr20-08tp', 1008), ('mach100', 1100), ('mach104-20tx-f', 1101), ('mach104-20tx-fr', 1102), ('mach104-20tx-f-4poe', 1103), ('mach104-16tx-poep', 1104), ('mach104-16tx-poep-r', 1105), ('mach104-16tx-poep-e', 1106), ('mach104-16tx-poep-2x', 1107), ('mach104-16tx-poep-2x-r', 1108), ('mach104-16tx-poep-2x-e', 1109), ('eem1', 1200)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysProduct.setStatus('current') hm_sys_version = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysVersion.setStatus('current') hm_sys_group_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupCapacity.setStatus('current') hm_sys_group_map = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupMap.setStatus('current') hm_sys_max_power_supply = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysMaxPowerSupply.setStatus('current') hm_sys_max_fan = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysMaxFan.setStatus('current') hm_sys_group_module_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupModuleCapacity.setStatus('current') hm_sys_module_port_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModulePortCapacity.setStatus('current') hm_sys_group_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9)) if mibBuilder.loadTexts: hmSysGroupTable.setStatus('current') hm_sys_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSysGroupID')) if mibBuilder.loadTexts: hmSysGroupEntry.setStatus('current') hm_sys_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupID.setStatus('current') hm_sys_group_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 10, 20, 21, 22, 23, 30, 31, 40, 41, 42, 44, 45, 50, 60, 70, 71, 75, 76, 90, 100, 110, 130, 131, 200))).clone(namedValues=named_values(('unknown', 1), ('m-basic4', 10), ('ms2108-2', 20), ('ms3124-4', 21), ('rs2', 22), ('ms4128-5', 23), ('ms20', 30), ('ms30', 31), ('rs20', 40), ('rs30', 41), ('rs40', 42), ('rsb20', 44), ('osb2x', 45), ('mach4002-48-4G', 50), ('octopus', 60), ('mach4002-24G', 70), ('mach4002-24G-3X', 71), ('mach4002-48G', 75), ('mach4002-48G-3X', 76), ('ruggedswitch', 90), ('railswitchrugged', 100), ('mach100', 110), ('mach100ge', 130), ('mach1000ge', 131), ('eem1', 200)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupType.setStatus('current') hm_sys_group_description = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupDescription.setStatus('current') hm_sys_group_hw_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupHwVersion.setStatus('current') hm_sys_group_sw_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupSwVersion.setStatus('current') hm_sys_group_module_map = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupModuleMap.setStatus('current') hm_sys_group_action = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 10))).clone(namedValues=named_values(('other', 1), ('reset', 2), ('resetStats', 3), ('resetFDB', 4), ('resetARP', 5), ('resetL3Stats', 6), ('resetL4-7Stats', 7), ('hotRestart', 10))).clone('other')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysGroupAction.setStatus('current') hm_sys_group_action_result = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupActionResult.setStatus('current') hm_sys_group_isolate_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysGroupIsolateMode.setStatus('current') hm_sys_group_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupSerialNum.setStatus('current') hm_sys_group_action_delay_preset = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysGroupActionDelayPreset.setStatus('current') hm_sys_group_action_delay_current = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 9, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysGroupActionDelayCurrent.setStatus('current') hm_sys_module_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10)) if mibBuilder.loadTexts: hmSysModuleTable.setStatus('current') hm_sys_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSysModGroupID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSysModID')) if mibBuilder.loadTexts: hmSysModuleEntry.setStatus('current') hm_sys_mod_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModGroupID.setStatus('current') hm_sys_mod_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModID.setStatus('current') hm_sys_mod_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 100, 101, 102, 103, 104, 200, 201, 300, 400, 401, 402, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1299, 1300, 1301, 1302, 1303, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1501, 1502, 1503, 1550, 1600, 1601, 1610, 1611, 1612, 1613, 1614, 1615, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1750, 1751, 1752, 1753, 1850))).clone(namedValues=named_values(('unknown', 1), ('m-fast-8tp-rj', 100), ('m-fast-8mm-mt', 101), ('m-fast-2mm-sc', 102), ('m-fast-2sm-sc', 103), ('m-eth-4mm-st', 104), ('m-giga-2sx-sc', 200), ('m-giga-1lx-sc', 201), ('m-router', 300), ('m-giga-2sx-sc-2', 400), ('m-giga-1lx-sc-2', 401), ('m-giga-2tp-rj', 402), ('mm2-4tx1', 1000), ('mm2-2flm4', 1001), ('mm2-2fls4', 1002), ('mm3-4flm4', 1003), ('mm3-4fls4', 1004), ('mm3-2aui', 1005), ('mm3-4tx5', 1006), ('mm2-4fxm3', 1100), ('mm2-2fxm2', 1101), ('mm2-2fxs2', 1102), ('mm3-4fxm2', 1103), ('mm3-4fxs2', 1104), ('mm3-4fxm4', 1105), ('mm2-2fxp4', 1106), ('mm3-4fxp4', 1107), ('mm2-2fxm3-2tx1', 1201), ('mm3-2fxm2-2tx1', 1202), ('mm3-2fxs2-2tx1', 1203), ('mm3-1fxl2-3tx1', 1204), ('mm3-1fxs2-3tx1', 1205), ('mm3-1fxm2-3tx1', 1206), ('mm3-2fxm4-2tx1', 1207), ('mm3-3tx1-1fxm2', 1208), ('mm3-4tx5-relay', 1209), ('mm3-3fxxx-1tx1', 1299), ('mm3-4tx1-rt', 1300), ('mm3-2fxm2-2tx1-rt', 1301), ('mm3-2fxs2-2tx1-rt', 1302), ('mm3-2flm3-2tx1-rt', 1303), ('mm4-4tx-sfp', 1401), ('mm4-2tx-sfp', 1402), ('mm3-4tx1-poe', 1403), ('mm3-4sfp', 1404), ('mm3-4tx5-poe', 1405), ('mm3-3tx5-poe-1tx5', 1406), ('mm23-t1t1t1t1', 1407), ('mm23-m2m2t1t1', 1408), ('mm23-s2s2t1t1', 1409), ('mm23-f4f4t1t1', 1410), ('mm33-07079999', 1411), ('mm4-2tx-sfp-giga', 1412), ('mm4-2tx-giga', 1413), ('m4-8tp-rj45', 1501), ('m4-fast-8sfp', 1502), ('m4-fast-8tp-rj45-poe', 1503), ('m4-giga-8sfp', 1550), ('m4-base-giga-4tp-sfp', 1600), ('m4-base-fast-16tp', 1601), ('m4-base-48g-16tp', 1610), ('m4-base-48g-8tp-sfp-8tp', 1611), ('m4-base-48g-3xfp', 1612), ('m4-base-24g-8tp', 1613), ('m4-base-24g-8tp-sfp', 1614), ('m4-base-24g-3xfp', 1615), ('mach102-8tp', 1701), ('m1-8tp-rj45', 1702), ('m1-8mm-sc', 1703), ('m1-8sm-sc', 1704), ('m1-8sfp', 1705), ('mach104-20tx-f', 1706), ('mach104-20tx-fr', 1707), ('mach104-20tx-f-4poe', 1708), ('m1-8tp-rj45-poe', 1709), ('mach104-16tx-poep', 1710), ('mach104-16tx-poep-r', 1711), ('mach104-16tx-poep-e', 1712), ('mach104-16tx-poep-2x', 1713), ('mach104-16tx-poep-2x-r', 1714), ('mach104-16tx-poep-2x-e', 1715), ('mar1040', 1750), ('mar1042', 1751), ('mar1140', 1752), ('mar1142', 1753), ('mm20-ioioioio', 1850)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModType.setStatus('current') hm_sys_mod_description = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModDescription.setStatus('current') hm_sys_mod_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModVersion.setStatus('current') hm_sys_mod_num_of_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModNumOfPorts.setStatus('current') hm_sys_mod_first_mau_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModFirstMauIndex.setStatus('current') hm_sys_mod_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('physical', 1), ('configurable', 2), ('remove', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysModStatus.setStatus('current') hm_sys_mod_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 10, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysModSerialNum.setStatus('current') hm_interface_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11)) if mibBuilder.loadTexts: hmInterfaceTable.setStatus('current') hm_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIfaceGroupID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIfaceID')) if mibBuilder.loadTexts: hmInterfaceEntry.setStatus('current') hm_iface_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceGroupID.setStatus('current') hm_iface_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceID.setStatus('current') hm_iface_stp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceStpEnable.setStatus('current') hm_iface_link_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('user', 1), ('uplink', 2))).clone('user')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceLinkType.setStatus('current') hm_iface_action = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noAction', 1), ('resetStats', 2))).clone('noAction')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceAction.setStatus('current') hm_iface_next_hop_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 6), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceNextHopMacAddress.setStatus('current') hm_iface_flow_control = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceFlowControl.setStatus('current') hm_iface_priority_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfacePriorityThreshold.setStatus('current') hm_iface_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceName.setStatus('current') hm_iface_trunk_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceTrunkID.setStatus('current') hm_iface_prio_tos_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfacePrioTOSEnable.setStatus('current') hm_iface_bcast_limit = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceBcastLimit.setStatus('current') hm_iface_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceUtilization.setStatus('current') hm_iface_utilization_control_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 3600))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceUtilizationControlInterval.setStatus('current') hm_iface_stp_bpdu_guard_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceStpBpduGuardEnable.setStatus('current') hm_iface_stp_bpdu_guard_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceStpBpduGuardStatus.setStatus('current') hm_iface_capability = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceCapability.setStatus('current') hm_iface_ingress_limiter_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('all', 1), ('bc', 2), ('bc-mc', 3), ('bc-mc-uuc', 4))).clone('bc')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceIngressLimiterMode.setStatus('current') hm_iface_ingress_limiter_calculation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('bytebased', 1), ('packetbased', 2))).clone('bytebased')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceIngressLimiterCalculationMode.setStatus('current') hm_iface_ingress_limiter_rate = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceIngressLimiterRate.setStatus('current') hm_iface_egress_limiter_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('all', 1), ('bc', 2), ('bc-mc', 3), ('bc-mc-uuc', 4))).clone('all')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceEgressLimiterMode.setStatus('current') hm_iface_egress_limiter_calculation_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('bytebased', 1), ('packetbased', 2))).clone('bytebased')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceEgressLimiterCalculationMode.setStatus('current') hm_iface_egress_limiter_rate = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceEgressLimiterRate.setStatus('current') hm_iface_utilization_alarm_upper_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceUtilizationAlarmUpperThreshold.setStatus('current') hm_iface_utilization_alarm_lower_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceUtilizationAlarmLowerThreshold.setStatus('current') hm_iface_utilization_alarm_condition = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 26), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIfaceUtilizationAlarmCondition.setStatus('current') hm_iface_cable_crossing = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('unsupported', 3))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfaceCableCrossing.setStatus('current') hm_iface_phy_fast_link_detection = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 11, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('unsupported', 3))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIfacePhyFastLinkDetection.setStatus('current') hm_trunk_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12)) if mibBuilder.loadTexts: hmTrunkTable.setStatus('current') hm_trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmTrunkID')) if mibBuilder.loadTexts: hmTrunkEntry.setStatus('current') hm_trunk_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrunkID.setStatus('current') hm_trunk_interfaces = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrunkInterfaces.setStatus('current') hm_trunk_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrunkName.setStatus('current') hm_trunk_action = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noAction', 1), ('resetStats', 2))).clone('noAction')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrunkAction.setStatus('current') hm_trunk_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrunkAdminStatus.setStatus('current') hm_trunk_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrunkOperStatus.setStatus('current') hm_trunk_last_change = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 12, 1, 7), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrunkLastChange.setStatus('current') hm_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13)) if mibBuilder.loadTexts: hmSFPTable.setStatus('current') hm_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSfpGroupID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSfpID')) if mibBuilder.loadTexts: hmSFPEntry.setStatus('current') hm_sfp_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))) if mibBuilder.loadTexts: hmSfpGroupID.setStatus('current') hm_sfp_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))) if mibBuilder.loadTexts: hmSfpID.setStatus('current') hm_sfp_connector = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 6, 7, 8, 11, 33))).clone(namedValues=named_values(('non-sfp', 1), ('fiberjack', 6), ('lc', 7), ('mt-rj', 8), ('optical-pigtail', 11), ('copper-pigtail', 33)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpConnector.setStatus('current') hm_sfp_transceiver = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 30, 31, 32, 40, 41))).clone(namedValues=named_values(('ge-1000-base-sx', 1), ('ge-1000-base-lx', 2), ('ge-1000-base-cx', 4), ('ge-1000-base-t', 8), ('unsupported', 9), ('oc3-mm-sr', 10), ('oc3-sm-ir', 11), ('oc3-sm-lr', 12), ('oc12-mm-sr', 13), ('oc12-sm-ir', 14), ('oc12-sm-lr', 15), ('oc48-sr', 16), ('oc48-ir', 17), ('oc48-lr', 18), ('xfp-10gbase-sr', 30), ('xfp-10gbase-lr', 31), ('xfp-10gbase-er', 32), ('microfx', 40), ('pof', 41)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpTransceiver.setStatus('current') hm_sfp_vendor_oui = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpVendorOUI.setStatus('current') hm_sfp_vendor_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpVendorName.setStatus('current') hm_sfp_part_number = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpPartNumber.setStatus('current') hm_sfp_part_rev = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpPartRev.setStatus('current') hm_sfp_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpSerialNum.setStatus('current') hm_sfp_date_code = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpDateCode.setStatus('current') hm_sfp_bit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpBitRate.setStatus('current') hm_sfp_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpTemperature.setStatus('current') hm_sfp_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 13), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpTxPower.setStatus('current') hm_sfp_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 14), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpRxPower.setStatus('current') hm_sfp_tx_power_int = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpTxPowerInt.setStatus('current') hm_sfp_rx_power_int = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpRxPowerInt.setStatus('current') hm_sfp_rx_power_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ok', 1), ('warning', 2), ('alarm', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpRxPowerState.setStatus('current') hm_sfp_info_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpInfoVersion.setStatus('current') hm_sfp_info_part_number = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 21), display_string().subtype(subtypeSpec=value_size_constraint(0, 11))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpInfoPartNumber.setStatus('current') hm_sfp_info_part_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 22), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpInfoPartId.setStatus('current') hm_sfp_info_magic = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 23), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpInfoMagic.setStatus('current') hm_sfp_supported = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 24), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpSupported.setStatus('current') hm_sfp_max_length_fiber_9 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 30), integer32()).setLabel('hmSfpMaxLength-fiber-9').setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpMaxLength_fiber_9.setStatus('current') hm_sfp_max_length_fiber_50 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 31), integer32()).setLabel('hmSfpMaxLength-fiber-50').setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpMaxLength_fiber_50.setStatus('current') hm_sfp_max_length_fiber_62_5 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 32), integer32()).setLabel('hmSfpMaxLength-fiber-62-5').setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpMaxLength_fiber_62_5.setStatus('current') hm_sfp_max_length_copper = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 33), integer32()).setLabel('hmSfpMaxLength-copper').setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpMaxLength_copper.setStatus('current') hm_sfp_tx_powerd_bm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 34), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpTxPowerdBm.setStatus('current') hm_sfp_rx_powerd_bm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 13, 1, 35), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSfpRxPowerdBm.setStatus('current') hm_sys_chassis_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 20), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysChassisName.setStatus('current') hm_sys_stp_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysStpEnable.setStatus('current') hm_sys_flow_control = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysFlowControl.setStatus('current') hm_sys_bootp_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysBOOTPEnable.setStatus('current') hm_sys_dhcp_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysDHCPEnable.setStatus('current') hm_sys_telnet_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysTelnetEnable.setStatus('current') hm_sys_http_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysHTTPEnable.setStatus('current') hm_sys_plug_and_play = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysPlugAndPlay.setStatus('current') hm_bcast_limiter_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmBcastLimiterMode.setStatus('current') hm_system_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 30), time_ticks()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSystemTime.setStatus('current') hm_system_time_source = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('local', 1), ('sntp', 2), ('ptp', 3), ('gps', 4), ('ntp', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSystemTimeSource.setStatus('current') hm_sys_stp_bpdu_guard_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysStpBPDUGuardEnable.setStatus('current') hm_sys_stp_error_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSTPErrorNumber.setStatus('current') hm_sys_software_capability = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 34), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSoftwareCapability.setStatus('current') hm_led_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35)) hm_ledrs_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1)) hm_ledrs_power_supply = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 1), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSPowerSupply.setStatus('current') hm_ledr_standby = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 2), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRStandby.setStatus('current') hm_ledrs_redundancy_manager = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 3), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRedundancyManager.setStatus('current') hm_ledrs_fault = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 1, 4), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSFault.setStatus('current') hm_led_oct_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2)) hm_led_oct_power_supply1 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 1), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDOctPowerSupply1.setStatus('current') hm_led_oct_power_supply2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 2), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDOctPowerSupply2.setStatus('current') hm_led_oct_redundancy_manager = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 3), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDOctRedundancyManager.setStatus('current') hm_led_oct_fault = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 2, 4), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDOctFault.setStatus('current') hm_ledrsr_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3)) hm_ledrsr_power_supply = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 1), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRPowerSupply.setStatus('current') hm_ledrsr_standby = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 2), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRStandby.setStatus('current') hm_ledrsr_redundancy_manager = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 3), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRRedundancyManager.setStatus('current') hm_ledrsr_fault = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 4), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRFault.setStatus('current') hm_ledrsr_relay1 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 5), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRRelay1.setStatus('current') hm_ledrsr_relay2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 35, 3, 6), led_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLEDRSRRelay2.setStatus('current') hm_dip_switch_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36)) hm_dip_switch_rs_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1)) hm_dip_switch_rs_redundancy_manager = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1, 1), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchRSRedundancyManager.setStatus('current') hm_dip_switch_rs_standby = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 1, 2), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchRSStandby.setStatus('current') hm_dip_switch_mice_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2)) hm_dip_switch_mice_redundancy_manager = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 1), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchMICERedundancyManager.setStatus('current') hm_dip_switch_mice_ring_port = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 2), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchMICERingPort.setStatus('current') hm_dip_switch_mice_standby = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 3), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchMICEStandby.setStatus('current') hm_dip_switch_mice_config = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 36, 2, 4), dip_switch_state()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDIPSwitchMICEConfig.setStatus('current') hm_sys_max_trunks = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 37), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysMaxTrunks.setStatus('current') hm_limiter_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38)) hm_ingress_limiter_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1)) hm_ingress_limiter_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIngressLimiterEnable.setStatus('current') hm_ingress_limiter_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('all', 1), ('bc', 2), ('bc-mc', 3), ('bc-mc-uuc', 4))).clone('bc')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIngressLimiterMode.setStatus('current') hm_ingress_unkn_uc_limiter_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3)) hm_ingress_unkn_uc_limiter_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIngressUnknUcLimiterMode.setStatus('current') hm_ingress_unkn_uc_limiter_calculation_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('bytebased', 1), ('packetbased', 2))).clone('bytebased')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIngressUnknUcLimiterCalculationMode.setStatus('current') hm_ingress_unkn_uc_limiter_rate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 1, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIngressUnknUcLimiterRate.setStatus('current') hm_egress_limiter_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 2)) hm_egress_limiter_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 38, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmEgressLimiterEnable.setStatus('current') hm_sys_usb_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 39)) hm_sys_max_usb_ports = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 39, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysMaxUSBPorts.setStatus('current') hm_sys_switch_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40)) hm_sys_switch_learning = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchLearning.setStatus('current') hm_sys_switch_mru = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1522, 1552, 1632))).clone(namedValues=named_values(('size1522', 1522), ('size1552', 1552), ('size1632', 1632))).clone('size1522')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchMRU.setStatus('current') hm_sys_switch_fast_link_detection = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchFastLinkDetection.setStatus('current') hm_sys_switch_address_relearn_detection = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchAddressRelearnDetection.setStatus('current') hm_sys_switch_address_relearn_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 1024)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchAddressRelearnThreshold.setStatus('current') hm_sys_switch_duplex_mismatch_detection = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchDuplexMismatchDetection.setStatus('current') hm_sys_switch_fdb_full_counter = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchFDBFullCounter.setStatus('current') hm_sys_switch_fdb_hash_optimizing_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchFDBHashOptimizingMode.setStatus('current') hm_sys_switch_fdb_hash_optimizing_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchFDBHashOptimizingStatus.setStatus('current') hm_sys_switch_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10)) hm_sys_switch_vlan_learning_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ivl', 1), ('svl', 2))).clone('ivl')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchVLANLearningMode.setStatus('current') hm_sys_switch_vlan_learning_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ivl', 1), ('svl', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchVLANLearningStatus.setStatus('current') hm_sys_switch_service_mode_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11)) hm_sys_switch_service_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchServiceMode.setStatus('current') hm_sys_switch_service_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchServiceVlan.setStatus('current') hm_sys_switch_service_mode_oper_state = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 11, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchServiceModeOperState.setStatus('current') hm_sys_switch_redundancy_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20)) hm_sys_switch_redundancy_rstp_mrp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpMode.setStatus('current') hm_sys_switch_redundancy_rstp_mrp_config_error = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 2), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpConfigError.setStatus('current') hm_sys_switch_redundancy_rstp_mrp_config_error_bridge = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 40, 20, 3), bridge_id_or_null()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSwitchRedundancyRstpMrpConfigErrorBridge.setStatus('current') hm_sys_selftest_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41)) hm_sys_selftest_ram = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSelftestRAM.setStatus('current') hm_sys_selftest_reboot_on_error = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSelftestRebootOnError.setStatus('current') hm_sys_selftest_mmu_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysSelftestMMUStatus.setStatus('current') hm_sys_selftest_reboot_on_hdx_error = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 41, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSelftestRebootOnHdxError.setStatus('current') hm_sys_oem_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 42)) hm_sys_oemid = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 42, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysOEMID.setStatus('current') hm_sys_max_signal_contacts = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 43), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSysMaxSignalContacts.setStatus('current') hm_sys_https_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysHttpsEnable.setStatus('current') hm_sys_https_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 45), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(443)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysHttpsPortNumber.setStatus('current') hm_sys_skip_aca_on_boot = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 1, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSysSkipAcaOnBoot.setStatus('current') hm_ps_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 2)) if mibBuilder.loadTexts: hmPSTable.setStatus('current') hm_ps_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPSSysID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPSID')) if mibBuilder.loadTexts: hmPSEntry.setStatus('current') hm_ps_sys_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSSysID.setStatus('current') hm_psid = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSID.setStatus('current') hm_ps_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ok', 1), ('failed', 2), ('notInstalled', 3), ('unknown', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSState.setStatus('current') hm_ps_type = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('unknown', 1), ('ac-dc', 2), ('dc-dc-24v-1', 3), ('dc-dc-48v-1', 4), ('dc-dc-24v-2', 5), ('dc-dc-48v-2', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSType.setStatus('current') hm_ps_version = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSVersion.setStatus('current') hm_ps_description = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSDescription.setStatus('current') hm_ps_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSSerialNumber.setStatus('current') hm_ps_product_code = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSProductCode.setStatus('current') hm_ps_power_budget = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 2, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPSPowerBudget.setStatus('current') hm_fan_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 3)) if mibBuilder.loadTexts: hmFanTable.setStatus('current') hm_fan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmFanSysID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmFanID')) if mibBuilder.loadTexts: hmFanEntry.setStatus('current') hm_fan_sys_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFanSysID.setStatus('current') hm_fan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFanID.setStatus('current') hm_fan_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('failed', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFanState.setStatus('current') hm_fwd_priority_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 4)) hm_prio_tos_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioTOSEnable.setStatus('current') hm_prio_mac_address_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioMACAddressEnable.setStatus('current') hm_prio_vlan0_tag_transparent_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioVlan0TagTransparentMode.setStatus('current') hm_prio_mac_address_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10)) if mibBuilder.loadTexts: hmPrioMACAddressTable.setStatus('current') hm_prio_mac_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPrioMACAddress'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPrioMACReceivePort')) if mibBuilder.loadTexts: hmPrioMACAddressEntry.setStatus('current') hm_prio_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 1), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPrioMACAddress.setStatus('current') hm_prio_mac_receive_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPrioMACReceivePort.setStatus('current') hm_prio_mac_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioMACPriority.setStatus('current') hm_prio_mac_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('permanent', 3), ('deleteOnReset', 4), ('deleteOnTimeout', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioMACStatus.setStatus('current') hm_prio_traffic_class_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11)) if mibBuilder.loadTexts: hmPrioTrafficClassTable.setStatus('current') hm_prio_traffic_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPrioTrafficClassID')) if mibBuilder.loadTexts: hmPrioTrafficClassEntry.setStatus('current') hm_prio_traffic_class_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPrioTrafficClassID.setStatus('current') hm_prio_traffic_class_weight = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 11, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(2, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPrioTrafficClassWeight.setStatus('current') hm_prio_tos_to_prio_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12)) if mibBuilder.loadTexts: hmPrioTosToPrioTable.setStatus('current') hm_prio_tos_to_prio_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPrioTTPTos')) if mibBuilder.loadTexts: hmPrioTosToPrioEntry.setStatus('current') hm_prio_ttp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPrioTTPTos.setStatus('current') hm_prio_ttp_prio = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 4, 12, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPrioTTPPrio.setStatus('current') hm_current_address_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 5)) if mibBuilder.loadTexts: hmCurrentAddressTable.setStatus('current') hm_current_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmCurrentAddress'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmCurrentAddressReceivePort')) if mibBuilder.loadTexts: hmCurrentAddressEntry.setStatus('current') hm_current_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 1), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCurrentAddress.setStatus('current') hm_current_address_receive_port = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCurrentAddressReceivePort.setStatus('current') hm_current_address_static_egress_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 3), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCurrentAddressStaticEgressPorts.setStatus('current') hm_current_address_egress_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 4), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCurrentAddressEgressPorts.setStatus('current') hm_current_address_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('permanent', 3), ('deleteOnReset', 4), ('deleteOnTimeout', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCurrentAddressStatus.setStatus('current') hm_rs2ext = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10)) hm_rs2_oper_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('normal', 1), ('standby-active', 2), ('standby-inactive', 3), ('redundancy-manager-active', 4), ('redundancy-manager-inactive', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2OperMode.setStatus('current') hm_rs2_config_error = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no-error', 1), ('error', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2ConfigError.setStatus('current') hm_rs2_sig_relay_state = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2SigRelayState.setStatus('current') hm_sig_link_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4)) if mibBuilder.loadTexts: hmSigLinkTable.setStatus('current') hm_sig_link_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSigLinkID')) if mibBuilder.loadTexts: hmSigLinkEntry.setStatus('current') hm_sig_link_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigLinkID.setStatus('current') hm_sig_link_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigLinkAlarm.setStatus('current') hm_sig_trap_reason = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 5), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigTrapReason.setStatus('current') hm_sig_reason_index = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigReasonIndex.setStatus('current') hm_rs2_topology_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7)) hm_rs2_partner_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2PartnerIpAddress.setStatus('current') hm_rs2_topology_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2)) if mibBuilder.loadTexts: hmRS2TopologyTable.setStatus('current') hm_rs2_topology_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmRS2TopologyLinkID')) if mibBuilder.loadTexts: hmRS2TopologyEntry.setStatus('current') hm_rs2_topology_link_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2TopologyLinkID.setStatus('current') hm_rs2_topology_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 7, 2, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2TopologyIpAddress.setStatus('current') hm_rs2_connection_mirroring_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8)) hm_rs2_connection_mirroring_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2ConnectionMirroringStatus.setStatus('current') hm_rs2_connection_mirroring_port_one = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2ConnectionMirroringPortOne.setStatus('current') hm_rs2_connection_mirroring_port_two = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 8, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2ConnectionMirroringPortTwo.setStatus('current') hm_rs2_disable_learning_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 9)) hm_rs2_disable_learning_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2DisableLearningStatus.setStatus('current') hm_rs2_sig_relay_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10)) hm_rs2_sig_relay_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('standard', 1), ('manual', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2SigRelayMode.setStatus('current') hm_rs2_sig_relay_manual_state = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2SigRelayManualState.setStatus('current') hm_rs2_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11)) hm_rs2_vlan_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2VlanMode.setStatus('current') hm_rs2_vlan_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 11, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2VlanStatus.setStatus('current') hm_rs2_selftest_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12)) hm_rs2_selftest_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2SelftestResult.setStatus('current') hm_rs2_selftest_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 12, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2SelftestMode.setStatus('current') hm_rs2_ps_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 13)) hm_rs2_ps_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 13, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2PSAlarm.setStatus('current') hm_rs2_redundancy_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 14)) hm_rs2_red_not_guaranteed_alarm = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 14, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2RedNotGuaranteedAlarm.setStatus('current') hm_rs4_r_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15)) hm_rs4_r_vlan_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1)) hm_rs4_r_vlan_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1)) if mibBuilder.loadTexts: hmRS4RVlanPortTable.setStatus('current') hm_rs4_r_vlan_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmRS4RVlanPortID')) if mibBuilder.loadTexts: hmRS4RVlanPortEntry.setStatus('current') hm_rs4_r_vlan_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))) if mibBuilder.loadTexts: hmRS4RVlanPortID.setStatus('current') hm_rs4_r_vlan_port_tag_format_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 15, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS4RVlanPortTagFormatRstp.setStatus('current') hm_rs2_fdb_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16)) hm_rs2_fdb_hash_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1)) hm_rs2_fdb_hash_optimizing_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRS2FDBHashOptimizingMode.setStatus('current') hm_rs2_fdb_hash_optimizing_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 10, 16, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRS2FDBHashOptimizingStatus.setStatus('current') hm_mach3_chassis_ext = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11)) hm_self_test_results = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1)) hm_self_test_cpu_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestCpuResult.setStatus('current') hm_self_test_bb_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestBBResult.setStatus('current') hm_self_test_bp_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestBPResult.setStatus('current') hm_self_test_m1_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestM1Result.setStatus('current') hm_self_test_m2_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestM2Result.setStatus('current') hm_self_test_m3_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestM3Result.setStatus('current') hm_self_test_m4_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSelfTestM4Result.setStatus('current') hm_self_test_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSelfTestMode.setStatus('current') hm_mgmt_bus_selected = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('main', 1), ('redundant', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmMgmtBusSelected.setStatus('current') hm_serial_numbers = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3)) hm_serial_num_cpu = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumCpu.setStatus('current') hm_serial_num_bb = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumBB.setStatus('current') hm_serial_num_bp = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumBP.setStatus('current') hm_serial_num_m1 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumM1.setStatus('current') hm_serial_num_m2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumM2.setStatus('current') hm_serial_num_m3 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumM3.setStatus('current') hm_serial_num_m4 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 3, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSerialNumM4.setStatus('current') hm_plug_and_play = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 4)) hm_auto_config_state = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 1), ('inProgess', 2), ('ready', 3), ('failed', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAutoConfigState.setStatus('current') hm_mach3_misc = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 5)) hm_user_group_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 1, 11, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmUserGroupStatus.setStatus('current') hm_aui_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 1, 12)) hm_aui_module_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10)) if mibBuilder.loadTexts: hmAUIModuleTable.setStatus('current') hm_aui_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAUIModuleID')) if mibBuilder.loadTexts: hmAUIModuleEntry.setStatus('current') hm_aui_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAUIModuleID.setStatus('current') hm_aui_module_dte_power_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAUIModuleDTEPowerMonitor.setStatus('current') hm_aui_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11)) if mibBuilder.loadTexts: hmAUIPortTable.setStatus('current') hm_aui_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAUIPortID')) if mibBuilder.loadTexts: hmAUIPortEntry.setStatus('current') hm_aui_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAUIPortID.setStatus('current') hm_aui_port_dte_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAUIPortDTEPower.setStatus('current') hm_aui_port_sqe_test = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 1, 12, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAUIPortSQETest.setStatus('current') hm_action = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 10, 12))).clone(namedValues=named_values(('other', 1), ('reset', 2), ('resetStats', 3), ('resetFDB', 4), ('resetARP', 5), ('resetL3Stats', 6), ('resetL4-7Stats', 7), ('hotRestart', 10), ('gbl-reset', 12))).clone('other')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAction.setStatus('current') hm_action_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmActionResult.setStatus('current') hm_network = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3)) hm_net_local_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetLocalIPAddr.setStatus('current') hm_net_local_phys_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetLocalPhysAddr.setStatus('current') hm_net_gateway_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetGatewayIPAddr.setStatus('current') hm_net_mask = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetMask.setStatus('current') hm_net_ppp_base_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 5), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPPPBaseIPAddr.setStatus('current') hm_net_ppp_net_mask = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 6), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPPPNetMask.setStatus('current') hm_net_action = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('activate', 2))).clone('other')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetAction.setStatus('current') hm_net_vlan_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetVlanID.setStatus('current') hm_net_local_phys_addr_range = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetLocalPhysAddrRange.setStatus('current') hm_net_vlan_priority = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetVlanPriority.setStatus('current') hm_net_ip_dscp_priority = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetIpDscpPriority.setStatus('current') hm_net_acd_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12)) hm_net_acd_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('activeDetectionOnly', 3), ('passiveDetectionOnly', 4))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDStatus.setStatus('current') hm_net_acd_ongoing_probe_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDOngoingProbeStatus.setStatus('current') hm_net_acd_delay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 500)).clone(200)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDDelay.setStatus('current') hm_net_acd_release_delay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 3600)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDReleaseDelay.setStatus('current') hm_net_acd_max_protection = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 100)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDMaxProtection.setStatus('current') hm_net_acd_protect_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000)).clone(200)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetACDProtectInterval.setStatus('current') hm_net_acd_fault_state = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDFaultState.setStatus('current') hm_net_acd_addr_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20)) if mibBuilder.loadTexts: hmNetACDAddrTable.setStatus('current') hm_net_acd_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmNetACDTimeMark')) if mibBuilder.loadTexts: hmNetACDAddrEntry.setStatus('current') hm_net_acd_time_mark = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 1), time_filter()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDTimeMark.setStatus('current') hm_net_acd_addr_subtype = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 3), address_family_numbers()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDAddrSubtype.setStatus('current') hm_net_acd_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDAddr.setStatus('current') hm_net_acdmac = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 7), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDMAC.setStatus('current') hm_net_acd_if_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 12, 20, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetACDIfId.setStatus('current') hm_net_hi_discovery_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20)) hm_net_hi_discovery_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('readOnly', 3))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetHiDiscoveryStatus.setStatus('current') hm_net_hi_discovery_relay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 20, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetHiDiscoveryRelay.setStatus('current') hm_net_sntp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30)) hm_net_sntp_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPStatus.setStatus('current') hm_net_sntp_server = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPServer.setStatus('current') hm_net_sntp_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 3), time_ticks()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPTime.setStatus('current') hm_net_sntp_local_offset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 4), integer32().subtype(subtypeSpec=value_range_constraint(-1000, 1000)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPLocalOffset.setStatus('current') hm_net_sntp_server2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 5), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPServer2.setStatus('current') hm_net_sntp_sync_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 3600)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPSyncInterval.setStatus('current') hm_net_sntp_accept_broadcasts = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPAcceptBroadcasts.setStatus('current') hm_net_sntp_anycast_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 8), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPAnycastAddr.setStatus('current') hm_net_sntp_anycast_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 4042)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPAnycastVlan.setStatus('current') hm_net_sntp_anycast_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 3600)).clone(120)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPAnycastInterval.setStatus('current') hm_net_sntp_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetSNTPOperStatus.setStatus('current') hm_net_sntp_time_adjust_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPTimeAdjustThreshold.setStatus('current') hm_net_sntp_once_at_startup = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPOnceAtStartup.setStatus('current') hm_net_sntp_server_only_if_sync = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPServerOnlyIfSync.setStatus('current') hm_net_sntp_server_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPServerStatus.setStatus('current') hm_net_sntp_client_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 30, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNTPClientStatus.setStatus('current') hm_net_ntp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31)) hm_net_ntp_operation = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('off', 1), ('symmetric-active', 2), ('symmetric-passive', 3), ('client', 4), ('server', 5), ('client-server', 6), ('broadcast-client', 7))).clone('off')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPOperation.setStatus('current') hm_net_ntp_server1_addr_type = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 2), inet_address_type().clone('ipv4')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPServer1AddrType.setStatus('current') hm_net_ntp_server1_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 3), inet_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPServer1Address.setStatus('current') hm_net_ntp_server2_addr_type = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 4), inet_address_type().clone('ipv4')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPServer2AddrType.setStatus('current') hm_net_ntp_server2_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 5), inet_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPServer2Address.setStatus('current') hm_net_ntp_sync_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 6), integer32().subtype(subtypeSpec=value_range_constraint(16, 4096)).clone(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPSyncInterval.setStatus('current') hm_net_ntp_anycast_addr_type = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 7), inet_address_type().clone('ipv4')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPAnycastAddrType.setStatus('current') hm_net_ntp_anycast_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 8), inet_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPAnycastAddress.setStatus('current') hm_net_ntp_anycast_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 9), integer32().subtype(subtypeSpec=value_range_constraint(16, 4096)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetNTPAnycastInterval.setStatus('current') hm_net_ntp_status_text = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 10), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetNTPStatusText.setStatus('current') hm_net_ntp_status_code = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 31, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetNTPStatusCode.setStatus('current') hm_net_ptp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40)) hm_net_ptp_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1)) hm_net_ptp_enable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPEnable.setStatus('current') hm_net_ptp_action = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('init-with-default', 2), ('init-with-nvm', 3))).clone('other')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPAction.setStatus('current') hm_net_ptp_clock_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 5, 6, 7, 9))).clone(namedValues=named_values(('v1-boundary-clock', 1), ('v1-simple-mode', 4), ('v2-boundary-clock-onestep', 5), ('v2-boundary-clock-twostep', 6), ('v2-transparent-clock', 7), ('v2-simple-mode', 9))).clone('v1-simple-mode')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPClockMode.setStatus('current') hm_net_ptp_slave_port = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPSlavePort.setStatus('current') hm_net_ptp_is_synchronized = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPIsSynchronized.setStatus('current') hm_net_ptp_sync_lower_bound = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 999999999)).clone(30)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPSyncLowerBound.setStatus('current') hm_net_ptp_sync_upper_bound = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(31, 1000000000)).clone(5000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPSyncUpperBound.setStatus('current') hm_net_ptp_clock_stratum = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 8), integer32().clone(255)).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPClockStratum.setStatus('current') hm_net_ptp_clock_identifier = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPClockIdentifier.setStatus('current') hm_net_ptp_clock_variance = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-32768, 32767)).clone(-16256)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPClockVariance.setStatus('current') hm_net_ptp_preferred_master = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPPreferredMaster.setStatus('current') hm_net_ptp_sync_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 8, 16, 64))).clone(namedValues=named_values(('sec-1', 1), ('sec-2', 2), ('sec-8', 8), ('sec-16', 16), ('sec-64', 64))).clone('sec-2')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPSyncInterval.setStatus('current') hm_net_ptp_subdomain_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 13), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPSubdomainName.setStatus('current') hm_net_ptp_offset_from_master_nano_secs = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPOffsetFromMasterNanoSecs.setStatus('current') hm_net_ptp_abs_max_offset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPAbsMaxOffset.setStatus('current') hm_net_ptp_one_way_delay_nano_secs = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPOneWayDelayNanoSecs.setStatus('current') hm_net_ptp_time_seconds = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPTimeSeconds.setStatus('current') hm_net_ptp_observed_drift = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPObservedDrift.setStatus('current') hm_net_ptp_pi_integral = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 50000)).clone(6250)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPPiIntegral.setStatus('current') hm_net_ptp_parent_uuid = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 20), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPParentUUID.setStatus('current') hm_net_ptp_grandmaster_uuid = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 21), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPGrandmasterUUID.setStatus('current') hm_net_ptp_current_utc_offset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPCurrentUTCOffset.setStatus('current') hm_net_pt_pleap59 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPleap59.setStatus('current') hm_net_pt_pleap61 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPleap61.setStatus('current') hm_net_ptp_steps_removed = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 25), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPStepsRemoved.setStatus('current') hm_net_ptp_epoch_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 26), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPEpochNumber.setStatus('current') hm_net_ptp_static_drift = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(-500000000, 500000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPStaticDrift.setStatus('current') hm_net_ptp_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2)) if mibBuilder.loadTexts: hmNetPTPPortTable.setStatus('current') hm_net_ptp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmNetPTPPortID')) if mibBuilder.loadTexts: hmNetPTPPortEntry.setStatus('current') hm_net_ptp_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPPortID.setStatus('current') hm_net_ptp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('initializing', 1), ('faulty', 2), ('disabled', 3), ('listening', 4), ('pre-master', 5), ('master', 6), ('passive', 7), ('uncalibrated', 8), ('slave', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTPPortState.setStatus('current') hm_net_ptp_port_burst_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPPortBurstEnable.setStatus('current') hm_net_ptp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 40, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2))).clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTPPortEnable.setStatus('current') hm_net_ptp2_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41)) hm_net_ptp2_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1)) hm_net_ptp2_two_step_clock = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2TwoStepClock.setStatus('current') hm_net_ptp2_clock_identity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 2), ptp_clock_identity()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2ClockIdentity.setStatus('current') hm_net_ptp2_priority1 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2Priority1.setStatus('current') hm_net_ptp2_priority2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2Priority2.setStatus('current') hm_net_ptp2_domain_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2DomainNumber.setStatus('current') hm_net_ptp2_steps_removed = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2StepsRemoved.setStatus('current') hm_net_ptp2_offset_from_master = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 7), ptp_time_interval()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2OffsetFromMaster.setStatus('current') hm_net_ptp2_mean_path_delay = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 8), ptp_time_interval()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2MeanPathDelay.setStatus('current') hm_net_ptp2_parent_port_identity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 9), ptp_port_identity()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2ParentPortIdentity.setStatus('current') hm_net_ptp2_parent_stats = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2ParentStats.setStatus('current') hm_net_ptp2_observed_parent_offset_scaled_log_variance = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2ObservedParentOffsetScaledLogVariance.setStatus('current') hm_net_ptp2_observed_parent_clock_phase_change_rate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2ObservedParentClockPhaseChangeRate.setStatus('current') hm_net_ptp2_grandmaster_identity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 13), ptp_clock_identity()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterIdentity.setStatus('current') hm_net_ptp2_grandmaster_clock_quality = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 14), ptp_clock_quality()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockQuality.setStatus('current') hm_net_ptp2_grandmaster_priority1 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterPriority1.setStatus('current') hm_net_ptp2_grandmaster_priority2 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterPriority2.setStatus('current') hm_net_ptp2_current_utc_offset = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2CurrentUtcOffset.setStatus('current') hm_net_ptp2_current_utc_offset_valid = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 18), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2CurrentUtcOffsetValid.setStatus('current') hm_net_ptp2_leap59 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 19), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2Leap59.setStatus('current') hm_net_ptp2_leap61 = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 20), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2Leap61.setStatus('current') hm_net_ptp2_time_traceable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 21), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TimeTraceable.setStatus('current') hm_net_ptp2_frequency_traceable = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 22), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2FrequencyTraceable.setStatus('current') hm_net_ptp2_ptp_timescale = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 23), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2PtpTimescale.setStatus('current') hm_net_ptp2_time_source = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 32, 48, 64, 80, 96, 144, 160))).clone(namedValues=named_values(('atomicClock', 16), ('gps', 32), ('terrestrialRadio', 48), ('ptp', 64), ('ntp', 80), ('handSet', 96), ('other', 144), ('internalOscillator', 160)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TimeSource.setStatus('current') hm_net_ptp2_grandmaster_clock_class = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockClass.setStatus('current') hm_net_ptp2_grandmaster_clock_accuracy = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 254))).clone(namedValues=named_values(('within25ns', 32), ('within100ns', 33), ('within250ns', 34), ('within1000ns', 35), ('within2500ns', 36), ('within10us', 37), ('within25us', 38), ('within100us', 39), ('within250us', 40), ('within1000us', 41), ('within2500us', 42), ('within10ms', 43), ('within25ms', 44), ('within100ms', 45), ('within250ms', 46), ('within1s', 47), ('within10s', 48), ('beyond10s', 49), ('unknown', 254)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockAccuracy.setStatus('current') hm_net_ptp2_grandmaster_clock_variance = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 1, 27), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2GrandmasterClockVariance.setStatus('current') hm_net_ptp2_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2)) if mibBuilder.loadTexts: hmNetPTP2PortTable.setStatus('current') hm_net_ptp2_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmNetPTPPortID')) if mibBuilder.loadTexts: hmNetPTP2PortEntry.setStatus('current') hm_net_ptp2_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 1), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2PortEnable.setStatus('current') hm_net_ptp2_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('initializing', 1), ('faulty', 2), ('disabled', 3), ('listening', 4), ('pre-master', 5), ('master', 6), ('passive', 7), ('uncalibrated', 8), ('slave', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2PortState.setStatus('current') hm_net_ptp2_log_delay_req_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2LogDelayReqInterval.setStatus('current') hm_net_ptp2_peer_mean_path_delay = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 4), ptp_time_interval()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2PeerMeanPathDelay.setStatus('current') hm_net_ptp2_log_announce_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('sec-1', 0), ('sec-2', 1), ('sec-4', 2), ('sec-8', 3), ('sec-16', 4))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2LogAnnounceInterval.setStatus('current') hm_net_ptp2_announce_receipt_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(2, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2AnnounceReceiptTimeout.setStatus('current') hm_net_ptp2_log_sync_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(-2, -1, 0, 1))).clone(namedValues=named_values(('msec-250', -2), ('msec-500', -1), ('sec-1', 0), ('sec-2', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2LogSyncInterval.setStatus('current') hm_net_ptp2_delay_mechanism = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 254))).clone(namedValues=named_values(('e2e', 1), ('p2p', 2), ('disabled', 254))).clone('e2e')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2DelayMechanism.setStatus('current') hm_net_ptp2_log_pdelay_req_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('sec-1', 0), ('sec-2', 1), ('sec-4', 2), ('sec-8', 3), ('sec-16', 4), ('sec-32', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2LogPdelayReqInterval.setStatus('current') hm_net_ptp2_version_number = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ptpVersion1', 1), ('ptpVersion2', 2))).clone('ptpVersion2')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2VersionNumber.setStatus('current') hm_net_ptp2_network_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3))).clone(namedValues=named_values(('udpIpv4', 1), ('ieee8023', 3))).clone('udpIpv4')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2NetworkProtocol.setStatus('current') hm_net_ptp2_v1_compatibility = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('on', 1), ('off', 2), ('auto', 3))).clone('auto')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2V1Compatibility.setStatus('current') hm_net_ptp2_delay_asymmetry = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 13), ptp_time_interval().clone(hexValue='0000000000000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2DelayAsymmetry.setStatus('current') hm_net_ptp2_port_capability = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 14), bits().clone(namedValues=named_values(('reserved', 0), ('one-step', 1), ('e2e-delay', 2), ('p2p-delay', 3), ('ptp2Ieee8023', 4), ('ptp2UdpIpv4', 5), ('ptp2UdpIpv6', 6), ('asymmCorrection', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2PortCapability.setStatus('current') hm_net_ptp2_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(-1, 4042)).clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2VlanID.setStatus('current') hm_net_ptp2_vlan_priority = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 41, 2, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2VlanPriority.setStatus('current') hm_net_ptp2_tc_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42)) hm_net_ptp2_tc_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1)) hm_net_ptp2_tc_clock_identity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 1), ptp_clock_identity()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2TCClockIdentity.setStatus('current') hm_net_ptp2_tc_delay_mechanism = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 254))).clone(namedValues=named_values(('e2e', 1), ('p2p', 2), ('e2e-optimized', 3), ('disabled', 254))).clone('e2e')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCDelayMechanism.setStatus('current') hm_net_ptp2_tc_primary_domain = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCPrimaryDomain.setStatus('current') hm_net_ptp2_tc_syntonized = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 4), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCSyntonized.setStatus('current') hm_net_ptp2_tc_network_protocol = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3))).clone(namedValues=named_values(('udpIpv4', 1), ('ieee8023', 3))).clone('udpIpv4')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCNetworkProtocol.setStatus('current') hm_net_ptp2_tc_current_master = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 6), ptp_port_identity()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2TCCurrentMaster.setStatus('current') hm_net_ptp2_tc_management = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCManagement.setStatus('current') hm_net_ptp2_tc_multi_domain_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 8), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCMultiDomainMode.setStatus('current') hm_net_ptp2_tc_sync_local_clock = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 9), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCSyncLocalClock.setStatus('current') hm_net_ptp2_tc_vlan_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(-1, 4042)).clone(-1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCVlanID.setStatus('current') hm_net_ptp2_tc_vlan_priority = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCVlanPriority.setStatus('current') hm_net_ptp2_tc_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2)) if mibBuilder.loadTexts: hmNetPTP2TCPortTable.setStatus('current') hm_net_ptp2_tc_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmNetPTPPortID')) if mibBuilder.loadTexts: hmNetPTP2TCPortEntry.setStatus('current') hm_net_ptp2_tc_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 1), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCPortEnable.setStatus('current') hm_net_ptp2_tc_log_pdelay_req_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('sec-1', 0), ('sec-2', 1), ('sec-4', 2), ('sec-8', 3), ('sec-16', 4), ('sec-32', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCLogPdelayReqInterval.setStatus('current') hm_net_ptp2_tc_faulty = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2TCFaulty.setStatus('current') hm_net_ptp2_tc_peer_mean_path_delay = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 4), ptp_time_interval()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetPTP2TCPeerMeanPathDelay.setStatus('current') hm_net_ptp2_tc_delay_asymmetry = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 42, 2, 1, 5), ptp_time_interval().clone(hexValue='0000000000000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetPTP2TCDelayAsymmetry.setStatus('current') hm_net_snmp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50)) hm_net_snm_pv1_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPv1Status.setStatus('current') hm_net_snm_pv2_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPv2Status.setStatus('current') hm_net_snm_pv3_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPv3Status.setStatus('current') hm_net_snmp_access_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('readOnly', 3))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPAccessStatus.setStatus('current') hm_net_snmp_synchronize_v1_v3_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPSynchronizeV1V3Status.setStatus('current') hm_net_snmp_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(161)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPPortNumber.setStatus('current') hm_net_snmp_radius_authenticate = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPRadiusAuthenticate.setStatus('current') hm_net_snm_pv3_encryption_read_write_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPv3EncryptionReadWriteStatus.setStatus('current') hm_net_snm_pv3_encryption_read_only_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 50, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetSNMPv3EncryptionReadOnlyStatus.setStatus('current') hm_net_gps_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60)) hm_net_gps_is_available = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetGPSIsAvailable.setStatus('current') hm_net_gps_is_synchronized = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetGPSIsSynchronized.setStatus('current') hm_net_gps_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('gpsIn', 1), ('gpsOut', 2))).clone('gpsIn')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetGPSMode.setStatus('current') hm_net_gps_time_string_format = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 60, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('meinberg', 1))).clone('meinberg')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmNetGPSTimeStringFormat.setStatus('current') hm_restricted_mgt_access_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70)) hm_rma_operation = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMAOperation.setStatus('current') hm_rma_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2)) if mibBuilder.loadTexts: hmRMATable.setStatus('current') hm_rma_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmRMAIndex')) if mibBuilder.loadTexts: hmRMAEntry.setStatus('current') hm_rma_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRMAIndex.setStatus('current') hm_rma_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hmRMARowStatus.setStatus('current') hm_rma_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 3), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMAIpAddr.setStatus('current') hm_rma_net_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 4), ip_address().clone(hexValue='00000000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMANetMask.setStatus('current') hm_rma_srv_http = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMASrvHttp.setStatus('current') hm_rma_srv_snmp = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMASrvSnmp.setStatus('current') hm_rma_srv_telnet = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMASrvTelnet.setStatus('current') hm_rma_srv_ssh = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 3, 70, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRMASrvSsh.setStatus('current') hm_fs_table = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4)) hm_fs_upd_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 70))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSUpdFileName.setStatus('current') hm_fs_conf_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 70))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSConfFileName.setStatus('current') hm_fs_log_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 70))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSLogFileName.setStatus('current') hm_fs_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSUserName.setStatus('current') hm_fstp_password = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSTPPassword.setStatus('current') hm_fs_action = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 20, 21))).clone(namedValues=named_values(('other', 1), ('update', 2), ('config-load', 3), ('config-save', 4), ('config-load-remote', 5), ('config-save-remote', 6), ('log-save', 7), ('config-load-default', 8), ('set-to-factory', 9), ('log-clear', 10), ('gbl-update', 12), ('config-load-backup', 13), ('config-remote-and-save', 15), ('updateBootcode', 16), ('toggleImage', 20), ('config-save-remote-script', 21))).clone('other')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSAction.setStatus('current') hm_fs_action_result = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('pending', 2), ('ok', 3), ('failed', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSActionResult.setStatus('current') hm_fs_boot_configuration = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('local', 2))).clone('local')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSBootConfiguration.setStatus('current') hm_fs_running_configuration = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('boot', 1), ('local', 2), ('remote', 3))).clone('boot')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmFSRunningConfiguration.setStatus('current') hm_fs_last_message = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 11), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSLastMessage.setStatus('current') hm_configuration_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('notInSync', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmConfigurationStatus.setStatus('current') hm_fs_file_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100)) if mibBuilder.loadTexts: hmFSFileTable.setStatus('current') hm_fs_file_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmFSFileID')) if mibBuilder.loadTexts: hmFSFileEntry.setStatus('current') hm_fs_file_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSFileID.setStatus('current') hm_fs_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSFileName.setStatus('current') hm_fs_file_size = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSFileSize.setStatus('current') hm_fs_file_date = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 100, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmFSFileDate.setStatus('current') hm_autoconfig_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200)) hm_autoconfig_adapter_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('notPresent', 1), ('removed', 2), ('ok', 3), ('notInSync', 4), ('outOfMemory', 5), ('wrongMachine', 6), ('checksumErr', 7), ('genericErr', 8), ('autodisabled', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAutoconfigAdapterStatus.setStatus('current') hm_autoconfig_adapter_serial_num = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 200, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAutoconfigAdapterSerialNum.setStatus('current') hm_config_watchdog_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201)) hm_config_watchdog_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmConfigWatchdogAdminStatus.setStatus('current') hm_config_watchdog_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmConfigWatchdogOperStatus.setStatus('current') hm_config_watchdog_time_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 3), integer32().subtype(subtypeSpec=value_range_constraint(10, 600)).clone(600)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmConfigWatchdogTimeInterval.setStatus('current') hm_config_watchdog_timer_value = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmConfigWatchdogTimerValue.setStatus('current') hm_config_watchdog_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 4, 201, 5), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmConfigWatchdogIPAddress.setStatus('current') hm_temp_table = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 5)) hm_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTemperature.setStatus('current') hm_temp_upr_limit = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(-99, 99)).clone(70)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTempUprLimit.setStatus('current') hm_temp_lwr_limit = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 5, 3), integer32().subtype(subtypeSpec=value_range_constraint(-99, 99))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTempLwrLimit.setStatus('current') hm_neighbour_agent_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 6)) if mibBuilder.loadTexts: hmNeighbourAgentTable.setStatus('current') hm_neighbour_agent_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmNeighbourSlot')) if mibBuilder.loadTexts: hmNeighbourAgentEntry.setStatus('current') hm_neighbour_slot = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNeighbourSlot.setStatus('current') hm_neighbour_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 6, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmNeighbourIpAddress.setStatus('current') hm_auth_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 7)) hm_auth_host_table_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAuthHostTableEntriesMax.setStatus('current') hm_auth_comm_table_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAuthCommTableEntriesMax.setStatus('current') hm_auth_comm_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3)) if mibBuilder.loadTexts: hmAuthCommTable.setStatus('current') hm_auth_comm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAuthCommIndex')) if mibBuilder.loadTexts: hmAuthCommEntry.setStatus('current') hm_auth_comm_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAuthCommIndex.setStatus('current') hm_auth_comm_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthCommName.setStatus('current') hm_auth_comm_perm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('perm-ro', 1), ('perm-rw', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthCommPerm.setStatus('current') hm_auth_comm_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('delete', 3), ('invalid', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthCommState.setStatus('current') hm_auth_host_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4)) if mibBuilder.loadTexts: hmAuthHostTable.setStatus('current') hm_auth_host_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAuthHostIndex')) if mibBuilder.loadTexts: hmAuthHostEntry.setStatus('current') hm_auth_host_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAuthHostIndex.setStatus('current') hm_auth_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthHostName.setStatus('current') hm_auth_host_comm_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthHostCommIndex.setStatus('current') hm_auth_host_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthHostIpAddress.setStatus('current') hm_auth_host_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 5), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthHostIpMask.setStatus('current') hm_auth_host_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 7, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('delete', 3), ('invalid', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAuthHostState.setStatus('current') hm_trap_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 8)) hm_trap_comm_table_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrapCommTableEntriesMax.setStatus('current') hm_trap_dest_table_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrapDestTableEntriesMax.setStatus('current') hm_trap_comm_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3)) if mibBuilder.loadTexts: hmTrapCommTable.setStatus('current') hm_trap_comm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmTrapCommIndex')) if mibBuilder.loadTexts: hmTrapCommEntry.setStatus('current') hm_trap_comm_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrapCommIndex.setStatus('current') hm_trap_comm_comm_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommCommIndex.setStatus('current') hm_trap_comm_cold_start = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommColdStart.setStatus('current') hm_trap_comm_link_down = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommLinkDown.setStatus('current') hm_trap_comm_link_up = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommLinkUp.setStatus('current') hm_trap_comm_authentication = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommAuthentication.setStatus('current') hm_trap_comm_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommBridge.setStatus('current') hm_trap_comm_rmon = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommRMON.setStatus('current') hm_trap_comm_usergroup = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommUsergroup.setStatus('current') hm_trap_comm_dual_homing = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommDualHoming.setStatus('current') hm_trap_comm_chassis = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommChassis.setStatus('current') hm_trap_comm_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('delete', 3), ('invalid', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapCommState.setStatus('current') hm_trap_dest_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4)) if mibBuilder.loadTexts: hmTrapDestTable.setStatus('current') hm_trap_dest_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmTrapDestIndex')) if mibBuilder.loadTexts: hmTrapDestEntry.setStatus('current') hm_trap_dest_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmTrapDestIndex.setStatus('current') hm_trap_dest_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapDestName.setStatus('current') hm_trap_dest_comm_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapDestCommIndex.setStatus('current') hm_trap_dest_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapDestIpAddress.setStatus('current') hm_trap_dest_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 5), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapDestIpMask.setStatus('obsolete') hm_trap_dest_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 8, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('delete', 3), ('invalid', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmTrapDestState.setStatus('current') hm_last_access_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 9)) hm_last_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLastIpAddr.setStatus('current') hm_last_port = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLastPort.setStatus('current') hm_last_community = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLastCommunity.setStatus('current') hm_last_login_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 9, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmLastLoginUserName.setStatus('current') hm_multicast = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10)) hm_igmp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1)) hm_igmp_snoop = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2)) hm_igmp_snoop_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopStatus.setStatus('current') hm_igmp_snoop_aging_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(3, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopAgingTime.setStatus('current') hm_igmp_snoop_unknown_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('discard', 1), ('flood', 2), ('query-ports', 3))).clone('flood')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopUnknownMode.setStatus('current') hm_igmp_snoop_unknown_aging_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(3, 3600)).clone(260)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopUnknownAgingTime.setStatus('current') hm_igmp_snoop_unknown_lookup_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 5), integer32().subtype(subtypeSpec=value_range_constraint(2, 3599)).clone(125)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopUnknownLookupInterval.setStatus('current') hm_igmp_snoop_unknown_lookup_response_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 3598)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopUnknownLookupResponseTime.setStatus('current') hm_igmp_snoop_querier_to_portmask = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopQuerierToPortmask.setStatus('current') hm_igmp_snoop_querier_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 8), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIGMPSnoopQuerierIPAddress.setStatus('current') hm_igmp_snoop_query_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10)) if mibBuilder.loadTexts: hmIGMPSnoopQueryTable.setStatus('current') hm_igmp_snoop_query_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIGMPSnoopQueryVlanIndex')) if mibBuilder.loadTexts: hmIGMPSnoopQueryEntry.setStatus('current') hm_igmp_snoop_query_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopQueryVlanIndex.setStatus('current') hm_igmp_snoop_query_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 10, 1, 2), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIGMPSnoopQueryPorts.setStatus('current') hm_igmp_snoop_filter_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11)) if mibBuilder.loadTexts: hmIGMPSnoopFilterTable.setStatus('current') hm_igmp_snoop_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIGMPSnoopFilterVlanIndex'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIGMPSnoopFilterAddress')) if mibBuilder.loadTexts: hmIGMPSnoopFilterEntry.setStatus('current') hm_igmp_snoop_filter_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopFilterVlanIndex.setStatus('current') hm_igmp_snoop_filter_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 2), mac_address()) if mibBuilder.loadTexts: hmIGMPSnoopFilterAddress.setStatus('current') hm_igmp_snoop_filter_learnt_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 11, 1, 3), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIGMPSnoopFilterLearntPorts.setStatus('current') hm_igmp_snoop_forward_all_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12)) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllTable.setStatus('current') hm_igmp_snoop_forward_all_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIGMPSnoopForwardAllVlanIndex')) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllEntry.setStatus('current') hm_igmp_snoop_forward_all_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopForwardAllVlanIndex.setStatus('current') hm_igmp_snoop_forward_all_static_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 12, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopForwardAllStaticPorts.setStatus('current') hm_igmp_snoop_query_static_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13)) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticTable.setStatus('current') hm_igmp_snoop_query_static_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmIGMPSnoopQueryStaticVlanIndex')) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticEntry.setStatus('current') hm_igmp_snoop_query_static_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))) if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticVlanIndex.setStatus('current') hm_igmp_snoop_query_static_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticPorts.setStatus('current') hm_igmp_snoop_query_static_automatic_ports = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 3), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticAutomaticPorts.setStatus('current') hm_igmp_snoop_query_static_automatic_ports_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 13, 1, 4), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPSnoopQueryStaticAutomaticPortsEnable.setStatus('current') hm_igmp_querier_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100)) hm_igmp_querier_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPQuerierStatus.setStatus('current') hm_igmp_querier_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('querier', 1), ('non-querier', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmIGMPQuerierMode.setStatus('current') hm_igmp_querier_transmit_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 3), integer32().subtype(subtypeSpec=value_range_constraint(2, 3599)).clone(125)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPQuerierTransmitInterval.setStatus('current') hm_igmp_querier_max_response_time = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 3598)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPQuerierMaxResponseTime.setStatus('current') hm_igmp_querier_protocol_version = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 1, 2, 100, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 3)).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmIGMPQuerierProtocolVersion.setStatus('current') hm_gmrp_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2)) hm_gmrp = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2, 1)) hm_gmrp_unknown_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 10, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('discard', 1), ('flood', 2))).clone('flood')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmGmrpUnknownMode.setStatus('current') hm_relay_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 11)) hm_relay_option82_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayOption82Status.setStatus('current') hm_relay_option_remote_id_type = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('ip', 1), ('mac', 2), ('client-id', 3), ('other', 4))).clone('mac')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayOptionRemoteIDType.setStatus('current') hm_relay_option_remote_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 3), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayOptionRemoteID.setStatus('current') hm_relay_option_remote_id_value = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 4), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayOptionRemoteIDValue.setStatus('current') hm_relay_server_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10)) hm_relay_dhcp_server_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayDHCPServerIpAddr.setStatus('current') hm_relay_dhcp_server2_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayDHCPServer2IpAddr.setStatus('current') hm_relay_dhcp_server3_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayDHCPServer3IpAddr.setStatus('current') hm_relay_dhcp_server4_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 10, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayDHCPServer4IpAddr.setStatus('current') hm_relay_interface_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11)) if mibBuilder.loadTexts: hmRelayInterfaceTable.setStatus('current') hm_relay_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmRelayIfaceGroupID'), (0, 'HMPRIV-MGMT-SNMP-MIB', 'hmRelayIfaceID')) if mibBuilder.loadTexts: hmRelayInterfaceEntry.setStatus('current') hm_relay_iface_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayIfaceGroupID.setStatus('current') hm_relay_iface_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayIfaceID.setStatus('current') hm_relay_iface_option82_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayIfaceOption82Enable.setStatus('current') hm_relay_iface_bc_request_fwd = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('forward', 1), ('discard', 2))).clone('forward')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmRelayIfaceBCRequestFwd.setStatus('current') hm_relay_iface_circuit_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 11, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayIfaceCircuitID.setStatus('current') hm_relay_bc_pkt_in_cnt = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayBCPktInCnt.setStatus('current') hm_relay_mc_pkt_in_cnt = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayMCPktInCnt.setStatus('current') hm_relay_pkt_server_relay_cnt = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayPktServerRelayCnt.setStatus('current') hm_relay_pkt_client_relay_cnt = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayPktClientRelayCnt.setStatus('current') hm_relay_err_cnt = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayErrCnt.setStatus('current') hm_relay_last_duplicate_ip = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 11, 25), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmRelayLastDuplicateIP.setStatus('current') hm_device_monitoring_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 12)) hm_sig_con_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1)) if mibBuilder.loadTexts: hmSigConConfigTable.setStatus('current') hm_sig_con_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSigConID')) if mibBuilder.loadTexts: hmSigConConfigEntry.setStatus('current') hm_sig_con_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigConID.setStatus('current') hm_sig_con_trap_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConTrapEnable.setStatus('current') hm_sig_con_trap_cause = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('other', 1), ('linkFailure', 2), ('controlLine', 3), ('redNotGuaranteed', 4), ('psState', 5), ('temperature', 6), ('moduleRemoval', 7), ('acaRemoval', 8), ('fanFailure', 9), ('acaNotInSync', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigConTrapCause.setStatus('current') hm_sig_con_trap_cause_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigConTrapCauseIndex.setStatus('current') hm_sig_con_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('manual', 1), ('monitor', 2), ('devicestate', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConMode.setStatus('current') hm_sig_con_manual_activate = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('close', 1), ('open', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConManualActivate.setStatus('current') hm_sig_con_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('open', 1), ('close', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigConOperState.setStatus('current') hm_sig_con_sense_link_failure = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseLinkFailure.setStatus('current') hm_sig_con_sense_control_line = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseControlLine.setStatus('current') hm_sig_con_sense_red_not_guaranteed = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseRedNotGuaranteed.setStatus('current') hm_sig_con_sense_ps1_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS1State.setStatus('current') hm_sig_con_sense_ps2_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS2State.setStatus('current') hm_sig_con_sense_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseTemperature.setStatus('current') hm_sig_con_sense_module_removal = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseModuleRemoval.setStatus('current') hm_sig_con_sense_aca_removal = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseACARemoval.setStatus('current') hm_sig_con_sense_ps3_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS3State.setStatus('current') hm_sig_con_sense_ps4_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS4State.setStatus('current') hm_sig_con_sense_fan1_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseFan1State.setStatus('current') hm_sig_con_sense_ps5_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS5State.setStatus('current') hm_sig_con_sense_ps6_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS6State.setStatus('current') hm_sig_con_sense_ps7_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS7State.setStatus('current') hm_sig_con_sense_ps8_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSensePS8State.setStatus('current') hm_sig_con_sense_aca_not_in_sync = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 1, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConSenseACANotInSync.setStatus('current') hm_sig_con_link_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2)) if mibBuilder.loadTexts: hmSigConLinkTable.setStatus('current') hm_sig_con_link_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmSigConLinkID')) if mibBuilder.loadTexts: hmSigConLinkEntry.setStatus('current') hm_sig_con_link_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmSigConLinkID.setStatus('current') hm_sig_con_link_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmSigConLinkAlarm.setStatus('current') hm_dev_mon_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3)) if mibBuilder.loadTexts: hmDevMonConfigTable.setStatus('current') hm_dev_mon_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmDevMonID')) if mibBuilder.loadTexts: hmDevMonConfigEntry.setStatus('current') hm_dev_mon_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDevMonID.setStatus('current') hm_dev_mon_trap_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonTrapEnable.setStatus('current') hm_dev_mon_trap_cause = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('other', 1), ('linkFailure', 2), ('controlLine', 3), ('redNotGuaranteed', 4), ('psState', 5), ('temperature', 6), ('moduleRemoval', 7), ('acaRemoval', 8), ('fanFailure', 9), ('acaNotInSync', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDevMonTrapCause.setStatus('current') hm_dev_mon_trap_cause_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDevMonTrapCauseIndex.setStatus('current') hm_dev_mon_switch_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('noerror', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmDevMonSwitchState.setStatus('current') hm_dev_mon_sense_link_failure = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseLinkFailure.setStatus('current') hm_dev_mon_sense_control_line = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseControlLine.setStatus('current') hm_dev_mon_sense_red_not_guaranteed = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseRedNotGuaranteed.setStatus('current') hm_dev_mon_sense_ps1_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('error')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS1State.setStatus('current') hm_dev_mon_sense_ps2_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('error')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS2State.setStatus('current') hm_dev_mon_sense_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseTemperature.setStatus('current') hm_dev_mon_sense_module_removal = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseModuleRemoval.setStatus('current') hm_dev_mon_sense_aca_removal = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseACARemoval.setStatus('current') hm_dev_mon_sense_ps3_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS3State.setStatus('current') hm_dev_mon_sense_ps4_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS4State.setStatus('current') hm_dev_mon_sense_fan1_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseFan1State.setStatus('current') hm_dev_mon_sense_ps5_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS5State.setStatus('current') hm_dev_mon_sense_ps6_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS6State.setStatus('current') hm_dev_mon_sense_ps7_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS7State.setStatus('current') hm_dev_mon_sense_ps8_state = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSensePS8State.setStatus('current') hm_dev_mon_sense_aca_not_in_sync = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 12, 3, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('error', 1), ('ignore', 2))).clone('ignore')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmDevMonSenseACANotInSync.setStatus('current') hm_agent_snmp_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13)) hm_agent_snmp_community_create = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityCreate.setStatus('current') hm_agent_snmp_community_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2)) if mibBuilder.loadTexts: hmAgentSnmpCommunityConfigTable.setStatus('current') hm_agent_snmp_community_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAgentSnmpCommunityIndex')) if mibBuilder.loadTexts: hmAgentSnmpCommunityConfigEntry.setStatus('current') hm_agent_snmp_community_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAgentSnmpCommunityIndex.setStatus('current') hm_agent_snmp_community_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityName.setStatus('current') hm_agent_snmp_community_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityIPAddress.setStatus('current') hm_agent_snmp_community_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityIPMask.setStatus('current') hm_agent_snmp_community_access_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('readOnly', 1), ('readWrite', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityAccessMode.setStatus('current') hm_agent_snmp_community_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('active', 1), ('notInService', 2), ('config', 3), ('destroy', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpCommunityStatus.setStatus('current') hm_agent_snmp_logging_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8)) hm_agent_snmp_log_get_request = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpLogGetRequest.setStatus('current') hm_agent_snmp_log_set_request = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpLogSetRequest.setStatus('current') hm_agent_snmp_log_get_severity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 3), hm_agent_log_severity().clone('notice')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpLogGetSeverity.setStatus('current') hm_agent_snmp_log_set_severity = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 8, 4), hm_agent_log_severity().clone('notice')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpLogSetSeverity.setStatus('current') hm_agent_snmp_trap_receiver_create = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverCreate.setStatus('current') hm_agent_snmp_trap_receiver_config_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4)) if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverConfigTable.setStatus('current') hm_agent_snmp_trap_receiver_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmAgentSnmpTrapReceiverIndex')) if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverConfigEntry.setStatus('current') hm_agent_snmp_trap_receiver_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverIndex.setStatus('current') hm_agent_snmp_trap_receiver_community_name = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverCommunityName.setStatus('current') hm_agent_snmp_trap_receiver_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverIPAddress.setStatus('current') hm_agent_snmp_trap_receiver_status = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('active', 1), ('notInService', 2), ('config', 3), ('destroy', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverStatus.setStatus('current') hm_agent_snmp_trap_flags_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5)) hm_agent_snmp_authentication_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpAuthenticationTrapFlag.setStatus('current') hm_agent_snmp_link_up_down_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpLinkUpDownTrapFlag.setStatus('current') hm_agent_snmp_multiple_users_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpMultipleUsersTrapFlag.setStatus('current') hm_agent_snmp_spanning_tree_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpSpanningTreeTrapFlag.setStatus('current') hm_agent_snmp_broadcast_storm_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpBroadcastStormTrapFlag.setStatus('current') hm_agent_snmp_chassis_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpChassisTrapFlag.setStatus('current') hm_agent_snmp_l2_redundancy_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpL2RedundancyTrapFlag.setStatus('current') hm_agent_snmp_port_security_trap_flag = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 5, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentSnmpPortSecurityTrapFlag.setStatus('current') hm_agent_snmp_community_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAgentSnmpCommunityMaxEntries.setStatus('current') hm_agent_snmp_trap_receiver_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 13, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmAgentSnmpTrapReceiverMaxEntries.setStatus('current') hm_poe_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 14)) hm_poe_global_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1)) hm_poe_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEStatus.setStatus('current') hm_poe_scanning = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEScanning.setStatus('current') hm_poe_reserved_power = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEReservedPower.setStatus('current') hm_poe_fast_startup = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEFastStartup.setStatus('current') hm_poe_port_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2)) if mibBuilder.loadTexts: hmPOEPortTable.setStatus('current') hm_poe_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPOEPortIndex')) if mibBuilder.loadTexts: hmPOEPortEntry.setStatus('current') hm_poe_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEPortIndex.setStatus('current') hm_poe_port_consumption_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEPortConsumptionPower.setStatus('current') hm_poe_module_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3)) if mibBuilder.loadTexts: hmPOEModuleTable.setStatus('current') hm_poe_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPOEModuleIndex')) if mibBuilder.loadTexts: hmPOEModuleEntry.setStatus('current') hm_poe_module_index = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEModuleIndex.setStatus('current') hm_poe_module_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEModulePower.setStatus('current') hm_poe_module_maximum_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEModuleMaximumPower.setStatus('current') hm_poe_module_reserved_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEModuleReservedPower.setStatus('current') hm_poe_module_delivered_power = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPOEModuleDeliveredPower.setStatus('current') hm_poe_module_usage_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 99)).clone(90)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEModuleUsageThreshold.setStatus('current') hm_poe_module_notification_control_enable = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 14, 3, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPOEModuleNotificationControlEnable.setStatus('current') hm_switch_resources = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15)) hm_cpu_resources = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2)) hm_memory_resources = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3)) hm_network_resources = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4)) hm_enable_measurement = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmEnableMeasurement.setStatus('current') hm_cpu_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percent').setMaxAccess('readonly') if mibBuilder.loadTexts: hmCpuUtilization.setStatus('current') hm_cpu_average_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('percent').setMaxAccess('readonly') if mibBuilder.loadTexts: hmCpuAverageUtilization.setStatus('current') hm_cpu_running_processes = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 32768))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCpuRunningProcesses.setStatus('current') hm_cpu_max_running_processes = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 32768))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmCpuMaxRunningProcesses.setStatus('current') hm_memory_allocated = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setUnits('kBytes').setMaxAccess('readonly') if mibBuilder.loadTexts: hmMemoryAllocated.setStatus('current') hm_memory_free = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setUnits('kBytes').setMaxAccess('readonly') if mibBuilder.loadTexts: hmMemoryFree.setStatus('current') hm_memory_allocated_average = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setUnits('kBytes').setMaxAccess('readonly') if mibBuilder.loadTexts: hmMemoryAllocatedAverage.setStatus('current') hm_memory_free_average = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 3, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setUnits('kBytes').setMaxAccess('readonly') if mibBuilder.loadTexts: hmMemoryFreeAverage.setStatus('current') hm_network_cpu_if_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('precent').setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetworkCpuIfUtilization.setStatus('current') hm_network_cpu_if_average_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 15, 4, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setUnits('precent').setMaxAccess('readonly') if mibBuilder.loadTexts: hmNetworkCpuIfAverageUtilization.setStatus('current') hm_industrial_ethernet_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16)) hm_profinet_io_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1)) hm_profinet_io_statistics_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 2)) hm_ethernet_ip_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3)) hm_ethernet_ip_statistics_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4)) hm_pnio_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPNIOAdminStatus.setStatus('current') hm_pnio_device_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIODeviceID.setStatus('current') hm_pnio_module_ident_number = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIOModuleIdentNumber.setStatus('current') hm_pnio_order_id = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIOOrderID.setStatus('current') hm_pnio_device_type_details = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIODeviceTypeDetails.setStatus('current') hm_pnio_software_release = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIOSoftwareRelease.setStatus('current') hm_pnio_hardware_release = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIOHardwareRelease.setStatus('current') hm_pnio_order_id9th = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIOOrderID9th.setStatus('current') hm_pnio_dcp_mode_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10)) if mibBuilder.loadTexts: hmPNIODcpModeTable.setStatus('current') hm_pnio_dcp_mode_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1)).setIndexNames((0, 'HMPRIV-MGMT-SNMP-MIB', 'hmPNIODcpModePortID')) if mibBuilder.loadTexts: hmPNIODcpModeEntry.setStatus('current') hm_pnio_dcp_mode_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPNIODcpModePortID.setStatus('current') hm_pnio_dcp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('none', 0), ('ingress', 1), ('egress', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPNIODcpMode.setStatus('current') hm_pnio_name_of_station = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 240))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPNIONameOfStation.setStatus('current') hm_ether_net_ip_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmEtherNetIPAdminStatus.setStatus('current') hm_ether_net_ip_error_code = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPErrorCode.setStatus('current') hm_ether_net_ip_product_code = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPProductCode.setStatus('current') hm_ether_net_ip_revision_major = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPRevisionMajor.setStatus('current') hm_ether_net_ip_revision_minor = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPRevisionMinor.setStatus('current') hm_ether_net_ip_product_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPProductName.setStatus('current') hm_ether_net_ip_catalog_name = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 3, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPCatalogName.setStatus('current') hm_ether_net_ip_conn_established = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPConnEstablished.setStatus('current') hm_ether_net_ip_conn_timeouts = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPConnTimeouts.setStatus('current') hm_ether_net_ip_vendor_obj_requests = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 16, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmEtherNetIPVendorObjRequests.setStatus('current') hm_agent_login_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 17)) hm_agent_login_banner = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 17, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmAgentLoginBanner.setStatus('current') hm_port_monitor_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18)) hm_port_monitor_admin_mode = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorAdminMode.setStatus('current') hm_port_monitor_intf_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2)) if mibBuilder.loadTexts: hmPortMonitorIntfTable.setStatus('current') hm_port_monitor_intf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hmPortMonitorIntfEntry.setStatus('current') hm_port_monitor_intf_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorIntfMode.setStatus('current') hm_port_monitor_intf_reset = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorIntfReset.setStatus('current') hm_port_monitor_intf_action = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('port-disable', 1), ('trap-only', 2))).clone('port-disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorIntfAction.setStatus('current') hm_port_monitor_condition_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3)) hm_port_monitor_condition_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1)) if mibBuilder.loadTexts: hmPortMonitorConditionTable.setStatus('current') hm_port_monitor_condition_intf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hmPortMonitorConditionIntfEntry.setStatus('current') hm_port_monitor_condition_link_flap_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapMode.setStatus('current') hm_port_monitor_condition_crc_fragments_mode = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsMode.setStatus('current') hm_port_monitor_condition_field = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 1, 1, 3), bits().clone(namedValues=named_values(('none', 0), ('link-flap', 1), ('crcFragments', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPortMonitorConditionField.setStatus('current') hm_port_monitor_condition_link_flap_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2)) hm_port_monitor_condition_link_flap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 180)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapInterval.setStatus('current') hm_port_monitor_condition_link_flap_count = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCount.setStatus('current') hm_port_monitor_condition_link_flap_intf_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3)) if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapIntfTable.setStatus('current') hm_port_monitor_condition_link_flap_intf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapIntfEntry.setStatus('current') hm_port_monitor_condition_link_flap_count_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCountInterval.setStatus('current') hm_port_monitor_condition_link_flap_count_total = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 2, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPortMonitorConditionLinkFlapCountTotal.setStatus('current') hm_port_monitor_condition_crc_fragments_group = mib_identifier((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3)) hm_port_monitor_condition_crc_fragments_interval = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(5, 180)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsInterval.setStatus('current') hm_port_monitor_condition_crc_fragments_count = mib_scalar((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000000)).clone(1000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCount.setStatus('current') hm_port_monitor_condition_crc_fragments_intf_table = mib_table((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3)) if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsIntfTable.setStatus('current') hm_port_monitor_condition_crc_fragments_intf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsIntfEntry.setStatus('current') hm_port_monitor_condition_crc_fragments_count_interval = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCountInterval.setStatus('current') hm_port_monitor_condition_crc_fragments_count_total = mib_table_column((1, 3, 6, 1, 4, 1, 248, 14, 2, 18, 3, 3, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hmPortMonitorConditionCrcFragmentsCountTotal.setStatus('current') hm_chassis_event = object_identity((1, 3, 6, 1, 4, 1, 248, 14, 1, 0)) if mibBuilder.loadTexts: hmChassisEvent.setStatus('current') hm_agent_event = object_identity((1, 3, 6, 1, 4, 1, 248, 14, 2, 0)) if mibBuilder.loadTexts: hmAgentEvent.setStatus('current') hm_group_map_change = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 1)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSysGroupMap'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNeighbourSlot'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNeighbourIpAddress')) if mibBuilder.loadTexts: hmGroupMapChange.setStatus('current') hm_power_supply = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 2)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmPSState')) if mibBuilder.loadTexts: hmPowerSupply.setStatus('current') hm_fan = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 3)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmFanState')) if mibBuilder.loadTexts: hmFan.setStatus('current') hm_signalling_relay = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 4)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmRS2SigRelayState'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSigTrapReason'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSigReasonIndex')) if mibBuilder.loadTexts: hmSignallingRelay.setStatus('current') hm_standby = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 5)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmRS2OperMode')) if mibBuilder.loadTexts: hmStandby.setStatus('current') hm_selftest_error = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 6)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestCpuResult'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestBBResult'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestBPResult'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestM1Result'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestM2Result'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestM3Result'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSelfTestM4Result')) if mibBuilder.loadTexts: hmSelftestError.setStatus('current') hm_module_map_change = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 7)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSysGroupModuleMap')) if mibBuilder.loadTexts: hmModuleMapChange.setStatus('current') hm_bpdu_guard_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 8)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceStpBpduGuardStatus')) if mibBuilder.loadTexts: hmBPDUGuardTrap.setStatus('current') hm_sig_con_relay_change = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 10)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSigConOperState'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSigConTrapCause'), ('HMPRIV-MGMT-SNMP-MIB', 'hmSigConTrapCauseIndex')) if mibBuilder.loadTexts: hmSigConRelayChange.setStatus('current') hm_sfp_change_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 11)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceGroupID'), ('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceID')) if mibBuilder.loadTexts: hmSFPChangeTrap.setStatus('current') hm_iface_utilization_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 12)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceUtilizationAlarmCondition'), ('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceUtilization')) if mibBuilder.loadTexts: hmIfaceUtilizationTrap.setStatus('current') hm_dev_mon_state_change = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 13)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmDevMonSwitchState'), ('HMPRIV-MGMT-SNMP-MIB', 'hmDevMonTrapCause'), ('HMPRIV-MGMT-SNMP-MIB', 'hmDevMonTrapCauseIndex')) if mibBuilder.loadTexts: hmDevMonStateChange.setStatus('current') hm_sfp_rx_power_change_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 14)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSfpRxPowerState')) if mibBuilder.loadTexts: hmSFPRxPowerChangeTrap.setStatus('current') hm_sys_selftest_reboot_on_error_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 1, 0, 15)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSysSelftestRebootOnError')) if mibBuilder.loadTexts: hmSysSelftestRebootOnErrorTrap.setStatus('current') hm_temperature_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 1)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmTemperature'), ('HMPRIV-MGMT-SNMP-MIB', 'hmTempUprLimit'), ('HMPRIV-MGMT-SNMP-MIB', 'hmTempLwrLimit')) if mibBuilder.loadTexts: hmTemperatureTrap.setStatus('current') hm_login_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 2)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmLastIpAddr'), ('HMPRIV-MGMT-SNMP-MIB', 'hmLastCommunity')) if mibBuilder.loadTexts: hmLoginTrap.setStatus('current') hm_duplicate_static_address_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 3)).setObjects(('BRIDGE-MIB', 'dot1dStaticAddress')) if mibBuilder.loadTexts: hmDuplicateStaticAddressTrap.setStatus('current') hm_autoconfig_adapter_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 4)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmAutoconfigAdapterStatus')) if mibBuilder.loadTexts: hmAutoconfigAdapterTrap.setStatus('current') hm_relay_duplicate_ip_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 5)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmRelayLastDuplicateIP')) if mibBuilder.loadTexts: hmRelayDuplicateIPTrap.setStatus('current') hm_sntp_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 6)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmNetSNTPOperStatus')) if mibBuilder.loadTexts: hmSNTPTrap.setStatus('current') hm_net_acd_notification = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 7)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmNetACDTimeMark'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNetACDAddrSubtype'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNetACDAddr'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNetACDMAC'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNetACDIfId')) if mibBuilder.loadTexts: hmNetACDNotification.setStatus('current') hm_configuration_saved_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 8)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmAutoconfigAdapterStatus')) if mibBuilder.loadTexts: hmConfigurationSavedTrap.setStatus('current') hm_configuration_changed_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 9)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmConfigurationStatus')) if mibBuilder.loadTexts: hmConfigurationChangedTrap.setStatus('current') hm_address_relearn_detect_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 10)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmSysSwitchAddressRelearnThreshold')) if mibBuilder.loadTexts: hmAddressRelearnDetectTrap.setStatus('current') hm_duplex_mismatch_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 11)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceGroupID'), ('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceID')) if mibBuilder.loadTexts: hmDuplexMismatchTrap.setStatus('current') hm_ntp_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 12)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmNetNTPStatusCode'), ('HMPRIV-MGMT-SNMP-MIB', 'hmNetNTPStatusText')) if mibBuilder.loadTexts: hmNTPTrap.setStatus('current') hm_port_monitor_port_disabled_trap = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 13)).setObjects(('IF-MIB', 'ifIndex'), ('HMPRIV-MGMT-SNMP-MIB', 'hmPortMonitorConditionField')) if mibBuilder.loadTexts: hmPortMonitorPortDisabledTrap.setStatus('current') hm_poe_module_power_usage_on_notification = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 14)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmPOEModuleIndex'), ('HMPRIV-MGMT-SNMP-MIB', 'hmPOEModuleDeliveredPower')) if mibBuilder.loadTexts: hmPOEModulePowerUsageOnNotification.setStatus('current') hm_poe_module_power_usage_off_notification = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 15)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmPOEModuleIndex'), ('HMPRIV-MGMT-SNMP-MIB', 'hmPOEModuleDeliveredPower')) if mibBuilder.loadTexts: hmPOEModulePowerUsageOffNotification.setStatus('current') hm_sys_selftest_port_error = notification_type((1, 3, 6, 1, 4, 1, 248, 14, 2, 0, 16)).setObjects(('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceGroupID'), ('HMPRIV-MGMT-SNMP-MIB', 'hmIfaceID')) if mibBuilder.loadTexts: hmSysSelftestPortError.setStatus('current') mibBuilder.exportSymbols('HMPRIV-MGMT-SNMP-MIB', PTPClockIdentity=PTPClockIdentity, hmNetPTPGroup=hmNetPTPGroup, hmFSBootConfiguration=hmFSBootConfiguration, hmSysSelftestPortError=hmSysSelftestPortError, hmPlugAndPlay=hmPlugAndPlay, hmDevMonSensePS8State=hmDevMonSensePS8State, hmRS2OperMode=hmRS2OperMode, hmRelayDHCPServer4IpAddr=hmRelayDHCPServer4IpAddr, hmIfaceEgressLimiterMode=hmIfaceEgressLimiterMode, hmNetSNTPGroup=hmNetSNTPGroup, hmPSVersion=hmPSVersion, hmBcastLimiterMode=hmBcastLimiterMode, hmPSSerialNumber=hmPSSerialNumber, hmSysHttpsPortNumber=hmSysHttpsPortNumber, hmLastCommunity=hmLastCommunity, hmIGMPSnoopQuerierToPortmask=hmIGMPSnoopQuerierToPortmask, hmRelayOptionRemoteID=hmRelayOptionRemoteID, hmNetworkResources=hmNetworkResources, hmSysGroupEntry=hmSysGroupEntry, hmNetPTP2TCLogPdelayReqInterval=hmNetPTP2TCLogPdelayReqInterval, hmCurrentAddressTable=hmCurrentAddressTable, hmPNIODeviceTypeDetails=hmPNIODeviceTypeDetails, hmNetPTP2TCGroup=hmNetPTP2TCGroup, hmPrioTrafficClassTable=hmPrioTrafficClassTable, hmNetPTP2V1Compatibility=hmNetPTP2V1Compatibility, hmPSID=hmPSID, hmCpuMaxRunningProcesses=hmCpuMaxRunningProcesses, hmSysProduct=hmSysProduct, hmUserGroupStatus=hmUserGroupStatus, hmFSUserName=hmFSUserName, hmMemoryFreeAverage=hmMemoryFreeAverage, hmCurrentAddressStatus=hmCurrentAddressStatus, hmAgentSnmpTrapReceiverIndex=hmAgentSnmpTrapReceiverIndex, octopus=octopus, hmRelayIfaceOption82Enable=hmRelayIfaceOption82Enable, hmSysStpBPDUGuardEnable=hmSysStpBPDUGuardEnable, hmTrapCommIndex=hmTrapCommIndex, mach3000=mach3000, hmSelfTestResults=hmSelfTestResults, hmNetAction=hmNetAction, hmDevMonSenseFan1State=hmDevMonSenseFan1State, hmIfaceNextHopMacAddress=hmIfaceNextHopMacAddress, hmAgentSnmpAuthenticationTrapFlag=hmAgentSnmpAuthenticationTrapFlag, mach4002_24G_3X=mach4002_24G_3X, hmFanEntry=hmFanEntry, hmSfpRxPowerInt=hmSfpRxPowerInt, hmAUIModuleEntry=hmAUIModuleEntry, hmRMAIndex=hmRMAIndex, hmNetPTP2StepsRemoved=hmNetPTP2StepsRemoved, hmDevMonTrapCause=hmDevMonTrapCause, hmNetPTPClockVariance=hmNetPTPClockVariance, hmAUIPortSQETest=hmAUIPortSQETest, hmFSFileID=hmFSFileID, hmNetPTP2PortTable=hmNetPTP2PortTable, hmTrapCommEntry=hmTrapCommEntry, hmNetPTP2TCSyncLocalClock=hmNetPTP2TCSyncLocalClock, hmSysGroupMap=hmSysGroupMap, hmIGMPSnoopQueryStaticAutomaticPortsEnable=hmIGMPSnoopQueryStaticAutomaticPortsEnable, hmNetPTP2PortState=hmNetPTP2PortState, hmSwitchResources=hmSwitchResources, hmSysSwitchRedundancyGroup=hmSysSwitchRedundancyGroup, hmPrioMACPriority=hmPrioMACPriority, hmSysModGroupID=hmSysModGroupID, hmSigConMode=hmSigConMode, hmAgentLoginBanner=hmAgentLoginBanner, hmDevMonSensePS3State=hmDevMonSensePS3State, hmAgentSnmpCommunityMaxEntries=hmAgentSnmpCommunityMaxEntries, hmLEDRStandby=hmLEDRStandby, hmSigLinkID=hmSigLinkID, hmNetPTPSyncUpperBound=hmNetPTPSyncUpperBound, hmPortMonitorIntfTable=hmPortMonitorIntfTable, HmAgentLogSeverity=HmAgentLogSeverity, hmSysUSBGroup=hmSysUSBGroup, hmNetACDAddrEntry=hmNetACDAddrEntry, hmNetPTP2ObservedParentClockPhaseChangeRate=hmNetPTP2ObservedParentClockPhaseChangeRate, hmPSPowerBudget=hmPSPowerBudget, hmFSRunningConfiguration=hmFSRunningConfiguration, hmPortMonitorIntfReset=hmPortMonitorIntfReset, hmNetSNTPServerOnlyIfSync=hmNetSNTPServerOnlyIfSync, hmSysSwitchRedundancyRstpMrpConfigError=hmSysSwitchRedundancyRstpMrpConfigError, hmRS2DisableLearningGroup=hmRS2DisableLearningGroup, hmNetVlanID=hmNetVlanID, hmSelfTestCpuResult=hmSelfTestCpuResult, hmTrapDestIpMask=hmTrapDestIpMask, hmSfpRxPowerState=hmSfpRxPowerState, hmIGMPQuerierTransmitInterval=hmIGMPQuerierTransmitInterval, hmPSProductCode=hmPSProductCode, hmIngressLimiterMode=hmIngressLimiterMode, hmSysGroupIsolateMode=hmSysGroupIsolateMode, hmFSActionResult=hmFSActionResult, ms2108_2=ms2108_2, hmNetSNTPAcceptBroadcasts=hmNetSNTPAcceptBroadcasts, hmLEDRSRedundancyManager=hmLEDRSRedundancyManager, hmAgentSnmpLogGetRequest=hmAgentSnmpLogGetRequest, hmIGMPSnoopAgingTime=hmIGMPSnoopAgingTime, hmRS2ConnectionMirroringPortTwo=hmRS2ConnectionMirroringPortTwo, hmNetPTP2TCPortTable=hmNetPTP2TCPortTable, hmNetGPSIsAvailable=hmNetGPSIsAvailable, hmIGMPSnoopFilterLearntPorts=hmIGMPSnoopFilterLearntPorts, hmPrioTosToPrioEntry=hmPrioTosToPrioEntry, hmLEDRSPowerSupply=hmLEDRSPowerSupply, hmRelayOption82Status=hmRelayOption82Status, hmNetPTPStepsRemoved=hmNetPTPStepsRemoved, hmNetGPSMode=hmNetGPSMode, hmLastIpAddr=hmLastIpAddr, hmNetHiDiscoveryRelay=hmNetHiDiscoveryRelay, hmLastLoginUserName=hmLastLoginUserName, hmAgentSnmpCommunityName=hmAgentSnmpCommunityName, hmTrapCommState=hmTrapCommState, hmNetGPSIsSynchronized=hmNetGPSIsSynchronized, hmIGMPSnoopForwardAllEntry=hmIGMPSnoopForwardAllEntry, hmModuleMapChange=hmModuleMapChange, rs2_4r=rs2_4r, hmSfpTemperature=hmSfpTemperature, hmConfigWatchdogGroup=hmConfigWatchdogGroup, hmNetPTPGrandmasterUUID=hmNetPTPGrandmasterUUID, hmEtherNetIPRevisionMajor=hmEtherNetIPRevisionMajor, hmNetPTP2Group=hmNetPTP2Group, hmNetPTP2LogSyncInterval=hmNetPTP2LogSyncInterval, hmSystemTime=hmSystemTime, hmNetPPPBaseIPAddr=hmNetPPPBaseIPAddr, hmTempUprLimit=hmTempUprLimit, hmIfaceUtilizationControlInterval=hmIfaceUtilizationControlInterval, hmRelayPktClientRelayCnt=hmRelayPktClientRelayCnt, hmGroupMapChange=hmGroupMapChange, hmAutoconfigAdapterTrap=hmAutoconfigAdapterTrap, hmAUIModuleTable=hmAUIModuleTable, hmSysGroupSerialNum=hmSysGroupSerialNum, hmTrunkTable=hmTrunkTable, hmIGMPSnoopForwardAllVlanIndex=hmIGMPSnoopForwardAllVlanIndex, rs2_16=rs2_16, hmTrapDestIpAddress=hmTrapDestIpAddress, hmSelfTestMode=hmSelfTestMode, hmRS4RVlanPortEntry=hmRS4RVlanPortEntry, hmTrapGroup=hmTrapGroup, hmSigLinkTable=hmSigLinkTable, hmFanID=hmFanID, hmSelfTestM4Result=hmSelfTestM4Result, hmPortMonitorPortDisabledTrap=hmPortMonitorPortDisabledTrap, rs30=rs30, hmSigConSenseModuleRemoval=hmSigConSenseModuleRemoval, hmRS2ConfigError=hmRS2ConfigError, hmSfpID=hmSfpID, LEDState=LEDState, hmAgentSnmpCommunityIPMask=hmAgentSnmpCommunityIPMask, hmNetPTPPortEntry=hmNetPTPPortEntry, hmNetPTP2ObservedParentOffsetScaledLogVariance=hmNetPTP2ObservedParentOffsetScaledLogVariance, hmNetPTP2LogAnnounceInterval=hmNetPTP2LogAnnounceInterval, hmDevMonSenseRedNotGuaranteed=hmDevMonSenseRedNotGuaranteed, hmFan=hmFan, hmSfpInfoMagic=hmSfpInfoMagic, hmSigConRelayChange=hmSigConRelayChange, hmFSFileSize=hmFSFileSize, hmNetNTPStatusCode=hmNetNTPStatusCode, hmRMASrvSnmp=hmRMASrvSnmp, hmLoginTrap=hmLoginTrap, hmSfpPartNumber=hmSfpPartNumber, hmIngressUnknUcLimiterGroup=hmIngressUnknUcLimiterGroup, hmSysSwitchGroup=hmSysSwitchGroup, hmNetPTPClockStratum=hmNetPTPClockStratum, hmNetPTPleap61=hmNetPTPleap61, hmNetIpDscpPriority=hmNetIpDscpPriority, hmEgressLimiterGroup=hmEgressLimiterGroup, ms3124_4=ms3124_4, hmFSFileName=hmFSFileName, hmIGMPSnoopStatus=hmIGMPSnoopStatus, hmIGMPSnoopFilterVlanIndex=hmIGMPSnoopFilterVlanIndex, hmNetLocalPhysAddr=hmNetLocalPhysAddr, hmAutoconfigGroup=hmAutoconfigGroup, hmSysGroupCapacity=hmSysGroupCapacity, hmNetPTPPortID=hmNetPTPPortID, hmCpuResources=hmCpuResources, hmTrapCommAuthentication=hmTrapCommAuthentication, hmSelfTestM2Result=hmSelfTestM2Result, hmRS4RVlanPortTable=hmRS4RVlanPortTable, hmAuthHostTableEntriesMax=hmAuthHostTableEntriesMax, hmRS2SigRelayState=hmRS2SigRelayState, hmRS2PSAlarm=hmRS2PSAlarm, hmNetPTPPortState=hmNetPTPPortState, hmTrapDestIndex=hmTrapDestIndex, hmIGMPSnoop=hmIGMPSnoop, hmMulticast=hmMulticast, hmTrapDestTable=hmTrapDestTable, hmRelayIfaceID=hmRelayIfaceID, hmSysSwitchRedundancyRstpMrpConfigErrorBridge=hmSysSwitchRedundancyRstpMrpConfigErrorBridge, hmConfigWatchdogTimerValue=hmConfigWatchdogTimerValue, hmNeighbourAgentTable=hmNeighbourAgentTable, hmSysModuleEntry=hmSysModuleEntry, hmConfigurationChangedTrap=hmConfigurationChangedTrap, hmTrunkInterfaces=hmTrunkInterfaces, hmNetACDProtectInterval=hmNetACDProtectInterval, mach4002_48G_3X=mach4002_48G_3X, hmNetPTP2TwoStepClock=hmNetPTP2TwoStepClock, hmGMRPGroup=hmGMRPGroup, hmSigConLinkEntry=hmSigConLinkEntry, hmNetPTP2AnnounceReceiptTimeout=hmNetPTP2AnnounceReceiptTimeout, hmSysSkipAcaOnBoot=hmSysSkipAcaOnBoot, hmSysModNumOfPorts=hmSysModNumOfPorts, hmNetPTP2TCDelayAsymmetry=hmNetPTP2TCDelayAsymmetry, hmAction=hmAction, hmSysTelnetEnable=hmSysTelnetEnable, hmNetPTP2GrandmasterIdentity=hmNetPTP2GrandmasterIdentity, hmFSAction=hmFSAction, hmEtherNetIPCatalogName=hmEtherNetIPCatalogName, hmNetPTP2PeerMeanPathDelay=hmNetPTP2PeerMeanPathDelay, hmTrapCommLinkDown=hmTrapCommLinkDown, PTPTimeInterval=PTPTimeInterval, hmPortMonitorConditionCrcFragmentsGroup=hmPortMonitorConditionCrcFragmentsGroup, hmLEDRSRStandby=hmLEDRSRStandby, hmTemperatureTrap=hmTemperatureTrap, hmRS2VlanStatus=hmRS2VlanStatus, hmDevMonSensePS1State=hmDevMonSensePS1State, ms4128_5=ms4128_5, hmSigConSenseControlLine=hmSigConSenseControlLine, hmMemoryAllocated=hmMemoryAllocated, hmSysStpEnable=hmSysStpEnable, hmPortMonitorConditionLinkFlapCount=hmPortMonitorConditionLinkFlapCount, hmNetPTP2ParentPortIdentity=hmNetPTP2ParentPortIdentity, hmRelayIfaceGroupID=hmRelayIfaceGroupID, hmSelfTestBPResult=hmSelfTestBPResult, hmNetSNTPAnycastVlan=hmNetSNTPAnycastVlan, hmAgentSnmpTrapReceiverStatus=hmAgentSnmpTrapReceiverStatus, hmIfaceFlowControl=hmIfaceFlowControl, PTPClockQuality=PTPClockQuality, hmLEDRSFault=hmLEDRSFault, hmAgentSnmpBroadcastStormTrapFlag=hmAgentSnmpBroadcastStormTrapFlag, hmPortMonitorConditionCrcFragmentsCountInterval=hmPortMonitorConditionCrcFragmentsCountInterval, hmAgentSnmpCommunityIndex=hmAgentSnmpCommunityIndex, hmAgentSnmpLogSetRequest=hmAgentSnmpLogSetRequest, hmPrioMACAddressEnable=hmPrioMACAddressEnable, hmNetSNTPAnycastInterval=hmNetSNTPAnycastInterval, hmNetPTP2DelayAsymmetry=hmNetPTP2DelayAsymmetry, hmSysMaxPowerSupply=hmSysMaxPowerSupply, hmEthernetIPConfigGroup=hmEthernetIPConfigGroup, hmNetNTPAnycastAddress=hmNetNTPAnycastAddress, hmTrunkLastChange=hmTrunkLastChange, hmNetACDReleaseDelay=hmNetACDReleaseDelay, hmSysSwitchDuplexMismatchDetection=hmSysSwitchDuplexMismatchDetection, hmNetPTP2FrequencyTraceable=hmNetPTP2FrequencyTraceable, hmSerialNumCpu=hmSerialNumCpu, hmIfaceEgressLimiterRate=hmIfaceEgressLimiterRate, hmNetPTP2TCDelayMechanism=hmNetPTP2TCDelayMechanism, hmRMAOperation=hmRMAOperation, hmSfpTransceiver=hmSfpTransceiver, hmAuthCommEntry=hmAuthCommEntry, hmGmrpUnknownMode=hmGmrpUnknownMode, hmIGMPQuerierGroup=hmIGMPQuerierGroup, hmSerialNumBP=hmSerialNumBP, hmPOEScanning=hmPOEScanning, hmNetPTP2VersionNumber=hmNetPTP2VersionNumber, hmPortMonitorConditionCrcFragmentsInterval=hmPortMonitorConditionCrcFragmentsInterval, hmSysBOOTPEnable=hmSysBOOTPEnable, hmFSFileDate=hmFSFileDate, hmFSLogFileName=hmFSLogFileName) mibBuilder.exportSymbols('HMPRIV-MGMT-SNMP-MIB', hmNetPTP2LogPdelayReqInterval=hmNetPTP2LogPdelayReqInterval, hmEtherNetIPAdminStatus=hmEtherNetIPAdminStatus, hmPNIODcpModeEntry=hmPNIODcpModeEntry, hmDevMonSenseACARemoval=hmDevMonSenseACARemoval, hmIfacePriorityThreshold=hmIfacePriorityThreshold, hmNetSNMPAccessStatus=hmNetSNMPAccessStatus, hmSysGroupAction=hmSysGroupAction, hmAuthCommName=hmAuthCommName, hmIfaceGroupID=hmIfaceGroupID, hmPrioVlan0TagTransparentMode=hmPrioVlan0TagTransparentMode, hmPOEPortTable=hmPOEPortTable, hmAutoconfigAdapterStatus=hmAutoconfigAdapterStatus, hmRelayDuplicateIPTrap=hmRelayDuplicateIPTrap, hmNetACDNotification=hmNetACDNotification, hmFSLastMessage=hmFSLastMessage, hmSysHTTPEnable=hmSysHTTPEnable, hmIfaceCapability=hmIfaceCapability, hmPSType=hmPSType, hmSysModSerialNum=hmSysModSerialNum, hmInterfaceTable=hmInterfaceTable, hmNetPTP2GrandmasterPriority1=hmNetPTP2GrandmasterPriority1, hmSysModDescription=hmSysModDescription, hmNetPTPCurrentUTCOffset=hmNetPTPCurrentUTCOffset, hmNetPTP2TCConfiguration=hmNetPTP2TCConfiguration, hmSigConTrapEnable=hmSigConTrapEnable, hmNetPTP2ClockIdentity=hmNetPTP2ClockIdentity, hmAgentSnmpTrapReceiverConfigTable=hmAgentSnmpTrapReceiverConfigTable, hmSfpSupported=hmSfpSupported, hmPortMonitorConditionLinkFlapCountInterval=hmPortMonitorConditionLinkFlapCountInterval, hmAuthCommTableEntriesMax=hmAuthCommTableEntriesMax, hmRelayIfaceBCRequestFwd=hmRelayIfaceBCRequestFwd, hmRMASrvSsh=hmRMASrvSsh, hmAuthHostState=hmAuthHostState, hmPNIODcpModeTable=hmPNIODcpModeTable, hmEtherNetIPProductCode=hmEtherNetIPProductCode, hmDIPSwitchRSRedundancyManager=hmDIPSwitchRSRedundancyManager, hmNetGPSTimeStringFormat=hmNetGPSTimeStringFormat, hmRelayMCPktInCnt=hmRelayMCPktInCnt, hmSignallingRelay=hmSignallingRelay, hmSigTrapReason=hmSigTrapReason, hmConfigWatchdogTimeInterval=hmConfigWatchdogTimeInterval, hmSigConSenseACARemoval=hmSigConSenseACARemoval, hmPortMonitorConditionLinkFlapGroup=hmPortMonitorConditionLinkFlapGroup, hmAgentSnmpTrapFlagsConfigGroup=hmAgentSnmpTrapFlagsConfigGroup, hmSysModID=hmSysModID, hmRS2FDBHashOptimizingMode=hmRS2FDBHashOptimizingMode, hmNetPTPObservedDrift=hmNetPTPObservedDrift, hmPOEGlobalGroup=hmPOEGlobalGroup, osb20=osb20, hirschmann=hirschmann, hmIfaceTrunkID=hmIfaceTrunkID, hmTrapCommCommIndex=hmTrapCommCommIndex, hmSfpGroupID=hmSfpGroupID, hmSfpMaxLength_copper=hmSfpMaxLength_copper, hmRS4RVlanPortTagFormatRstp=hmRS4RVlanPortTagFormatRstp, hmNetSNTPClientStatus=hmNetSNTPClientStatus, hmIngressLimiterEnable=hmIngressLimiterEnable, hmPOEModuleTable=hmPOEModuleTable, mach4002_48_4G=mach4002_48_4G, mach4002_48G=mach4002_48G, hmPrioTTPTos=hmPrioTTPTos, hmRelayBCPktInCnt=hmRelayBCPktInCnt, hmNetNTPGroup=hmNetNTPGroup, hmDevMonConfigTable=hmDevMonConfigTable, hmTrapCommUsergroup=hmTrapCommUsergroup, hmNetPTP2CurrentUtcOffsetValid=hmNetPTP2CurrentUtcOffsetValid, hmPortMonitorConditionCrcFragmentsIntfTable=hmPortMonitorConditionCrcFragmentsIntfTable, hmDevMonSenseACANotInSync=hmDevMonSenseACANotInSync, hmSysModFirstMauIndex=hmSysModFirstMauIndex, hmSysSelftestRebootOnError=hmSysSelftestRebootOnError, hmDeviceMonitoringGroup=hmDeviceMonitoringGroup, hmSerialNumM3=hmSerialNumM3, hmNetPTPClockMode=hmNetPTPClockMode, hmSysSwitchServiceVlan=hmSysSwitchServiceVlan, hmSysSelftestRebootOnErrorTrap=hmSysSelftestRebootOnErrorTrap, hmIfacePrioTOSEnable=hmIfacePrioTOSEnable, hmMACH3Misc=hmMACH3Misc, hmNetSNTPServerStatus=hmNetSNTPServerStatus, hmIGMPSnoopUnknownLookupInterval=hmIGMPSnoopUnknownLookupInterval, hmDIPSwitchMICEConfig=hmDIPSwitchMICEConfig, hmRelayPktServerRelayCnt=hmRelayPktServerRelayCnt, hmAgentSnmpTrapReceiverMaxEntries=hmAgentSnmpTrapReceiverMaxEntries, mach1000ge=mach1000ge, hmPortMonitorConditionCrcFragmentsMode=hmPortMonitorConditionCrcFragmentsMode, hmNetSNMPGroup=hmNetSNMPGroup, hmAgentSnmpMultipleUsersTrapFlag=hmAgentSnmpMultipleUsersTrapFlag, hmLEDRSRRedundancyManager=hmLEDRSRRedundancyManager, hmPSState=hmPSState, hmFanTable=hmFanTable, hmFwdPriorityConfiguration=hmFwdPriorityConfiguration, PYSNMP_MODULE_ID=hmConfiguration, hmDIPSwitchGroup=hmDIPSwitchGroup, hmNetACDDelay=hmNetACDDelay, hmNetHiDiscoveryStatus=hmNetHiDiscoveryStatus, hmSigConSenseLinkFailure=hmSigConSenseLinkFailure, hmEthernetIPStatisticsGroup=hmEthernetIPStatisticsGroup, hmSysGroupDescription=hmSysGroupDescription, ms30=ms30, hmTrapDestCommIndex=hmTrapDestCommIndex, hmSysSelftestRebootOnHdxError=hmSysSelftestRebootOnHdxError, hmPrioTTPPrio=hmPrioTTPPrio, hmSigConSensePS1State=hmSigConSensePS1State, hmLEDOctRedundancyManager=hmLEDOctRedundancyManager, hmIGMPSnoopFilterAddress=hmIGMPSnoopFilterAddress, PTPPortIdentity=PTPPortIdentity, hmPortMonitorConditionLinkFlapMode=hmPortMonitorConditionLinkFlapMode, hmNetACDStatus=hmNetACDStatus, hmRS2PartnerIpAddress=hmRS2PartnerIpAddress, hmPNIOSoftwareRelease=hmPNIOSoftwareRelease, hmNetACDAddrSubtype=hmNetACDAddrSubtype, hmSigConSensePS4State=hmSigConSensePS4State, hmDevMonSenseModuleRemoval=hmDevMonSenseModuleRemoval, hmSelfTestBBResult=hmSelfTestBBResult, hmPNIONameOfStation=hmPNIONameOfStation, hmPortMonitorIntfEntry=hmPortMonitorIntfEntry, hmChassisEvent=hmChassisEvent, hmPSEntry=hmPSEntry, hmSysModStatus=hmSysModStatus, hmPortMonitorIntfAction=hmPortMonitorIntfAction, hmNetHiDiscoveryGroup=hmNetHiDiscoveryGroup, hmNetPTPSyncLowerBound=hmNetPTPSyncLowerBound, hmRelayServerGroup=hmRelayServerGroup, hmPOEModuleDeliveredPower=hmPOEModuleDeliveredPower, hmLEDOctGroup=hmLEDOctGroup, hmRelayDHCPServer2IpAddr=hmRelayDHCPServer2IpAddr, hmSysGroupModuleCapacity=hmSysGroupModuleCapacity, hmDuplicateStaticAddressTrap=hmDuplicateStaticAddressTrap, hmMACH3ChassisExt=hmMACH3ChassisExt, hmTrapCommColdStart=hmTrapCommColdStart, hmDevMonSenseTemperature=hmDevMonSenseTemperature, hmConfigWatchdogIPAddress=hmConfigWatchdogIPAddress, hmPortMonitorAdminMode=hmPortMonitorAdminMode, hmPortMonitorConditionGroup=hmPortMonitorConditionGroup, hmDIPSwitchMICERingPort=hmDIPSwitchMICERingPort, hmIngressLimiterGroup=hmIngressLimiterGroup, hmSysMaxSignalContacts=hmSysMaxSignalContacts, hmPNIOHardwareRelease=hmPNIOHardwareRelease, hmDevMonTrapEnable=hmDevMonTrapEnable, hmBPDUGuardTrap=hmBPDUGuardTrap, hmRS2TopologyLinkID=hmRS2TopologyLinkID, hmIfacePhyFastLinkDetection=hmIfacePhyFastLinkDetection, hmAuthCommState=hmAuthCommState, hmPOEModuleEntry=hmPOEModuleEntry, hmPrioMACStatus=hmPrioMACStatus, hmSFPTable=hmSFPTable, hmNetPTPPreferredMaster=hmNetPTPPreferredMaster, hmAuthHostEntry=hmAuthHostEntry, hmIfaceEgressLimiterCalculationMode=hmIfaceEgressLimiterCalculationMode, hmNetPTPPortEnable=hmNetPTPPortEnable, hmIfaceAction=hmIfaceAction, hmNetPTP2TCManagement=hmNetPTP2TCManagement, hmNetPTPEnable=hmNetPTPEnable, hmSfpBitRate=hmSfpBitRate, hmSysGroupTable=hmSysGroupTable, hmRelayInterfaceTable=hmRelayInterfaceTable, hmEtherNetIPVendorObjRequests=hmEtherNetIPVendorObjRequests, hmRS2VlanMode=hmRS2VlanMode, hmNetNTPStatusText=hmNetNTPStatusText, hmRS2RedundancyGroup=hmRS2RedundancyGroup, hmAUIPortDTEPower=hmAUIPortDTEPower, hmNetPTP2TCSyntonized=hmNetPTP2TCSyntonized, hmPortMonitorConditionField=hmPortMonitorConditionField, hmStandby=hmStandby, hmAgentSnmpLogSetSeverity=hmAgentSnmpLogSetSeverity, hmSelfTestM1Result=hmSelfTestM1Result, hmIGMPSnoopQueryStaticTable=hmIGMPSnoopQueryStaticTable, hmAuthGroup=hmAuthGroup, hmSfpDateCode=hmSfpDateCode, hmIfaceID=hmIfaceID, hmMgmtBusSelected=hmMgmtBusSelected, hmSigConSensePS5State=hmSigConSensePS5State, hmTrunkOperStatus=hmTrunkOperStatus, hmSelftestError=hmSelftestError, hmAUIModuleID=hmAUIModuleID, hmIfaceCableCrossing=hmIfaceCableCrossing, hmAgentSnmpTrapReceiverConfigEntry=hmAgentSnmpTrapReceiverConfigEntry, eagle_mguard=eagle_mguard, hmTempTable=hmTempTable, hmInterfaceEntry=hmInterfaceEntry, hmNetACDTimeMark=hmNetACDTimeMark, hmSysGroupActionDelayPreset=hmSysGroupActionDelayPreset, hmNetPTPIsSynchronized=hmNetPTPIsSynchronized, hmIGMPSnoopUnknownMode=hmIGMPSnoopUnknownMode, hmSigLinkAlarm=hmSigLinkAlarm, hmSigConID=hmSigConID, hmSystemTimeSource=hmSystemTimeSource, hmSystemTable=hmSystemTable, hmNetPTP2GrandmasterClockClass=hmNetPTP2GrandmasterClockClass, hmCpuRunningProcesses=hmCpuRunningProcesses, hmRelayDHCPServerIpAddr=hmRelayDHCPServerIpAddr, hmNetNTPServer1AddrType=hmNetNTPServer1AddrType, hmSysGroupType=hmSysGroupType, hmPortMonitorConditionLinkFlapInterval=hmPortMonitorConditionLinkFlapInterval, hmIGMPSnoopUnknownLookupResponseTime=hmIGMPSnoopUnknownLookupResponseTime, hmLEDOctPowerSupply2=hmLEDOctPowerSupply2, hmDIPSwitchMICERedundancyManager=hmDIPSwitchMICERedundancyManager, hmNetACDMAC=hmNetACDMAC, hmSigLinkEntry=hmSigLinkEntry, hmLEDRSRPowerSupply=hmLEDRSRPowerSupply, hmDIPSwitchRSStandby=hmDIPSwitchRSStandby, hmSysModuleTable=hmSysModuleTable, hmNetSNTPStatus=hmNetSNTPStatus, hmNetSNMPv3EncryptionReadOnlyStatus=hmNetSNMPv3EncryptionReadOnlyStatus, hmPrioMACAddressEntry=hmPrioMACAddressEntry, hmNetACDAddr=hmNetACDAddr, hmFSTable=hmFSTable, mach100ge=mach100ge, hmSfpInfoPartId=hmSfpInfoPartId, hmNetPTP2DelayMechanism=hmNetPTP2DelayMechanism, mach100=mach100, hmFSUpdFileName=hmFSUpdFileName, hmLastPort=hmLastPort, hmIGMPSnoopQueryPorts=hmIGMPSnoopQueryPorts, hmAUIPortEntry=hmAUIPortEntry, hmPNIOOrderID9th=hmPNIOOrderID9th, mach4002_24G=mach4002_24G, hmNetPTPSubdomainName=hmNetPTPSubdomainName, hmSfpRxPowerdBm=hmSfpRxPowerdBm, hmIGMPSnoopQueryTable=hmIGMPSnoopQueryTable, hmPrioTrafficClassWeight=hmPrioTrafficClassWeight, hmRS2ConnectionMirroringGroup=hmRS2ConnectionMirroringGroup, hmNetNTPServer2Address=hmNetNTPServer2Address, hmLEDRSRFault=hmLEDRSRFault, hmIGMPSnoopUnknownAgingTime=hmIGMPSnoopUnknownAgingTime, rs20=rs20, hmNetwork=hmNetwork, hmIGMPQuerierMaxResponseTime=hmIGMPQuerierMaxResponseTime, hmLEDOctPowerSupply1=hmLEDOctPowerSupply1, hmPNIODcpMode=hmPNIODcpMode, hmTrunkName=hmTrunkName, hmNetPTP2TCVlanID=hmNetPTP2TCVlanID, hmAgentSnmpTrapReceiverIPAddress=hmAgentSnmpTrapReceiverIPAddress, hmSysSwitchAddressRelearnDetection=hmSysSwitchAddressRelearnDetection, hmSfpMaxLength_fiber_50=hmSfpMaxLength_fiber_50, hmTrapCommTableEntriesMax=hmTrapCommTableEntriesMax, hmNetPTP2PortEntry=hmNetPTP2PortEntry, hmPortMonitorConditionLinkFlapCountTotal=hmPortMonitorConditionLinkFlapCountTotal, hmNetPTPStaticDrift=hmNetPTPStaticDrift, hmNetSNMPv3Status=hmNetSNMPv3Status, hmPOEModuleMaximumPower=hmPOEModuleMaximumPower, hmSigConSenseFan1State=hmSigConSenseFan1State, hmCurrentAddressStaticEgressPorts=hmCurrentAddressStaticEgressPorts, hmAUIPortTable=hmAUIPortTable, hmAuthHostIpMask=hmAuthHostIpMask, rsb20=rsb20, hmActionResult=hmActionResult, hmSigConSensePS6State=hmSigConSensePS6State, hmAgentSnmpLogGetSeverity=hmAgentSnmpLogGetSeverity, hmIGMPQuerierStatus=hmIGMPQuerierStatus, hmRS2SelftestGroup=hmRS2SelftestGroup, hmSysChassisName=hmSysChassisName, hmNetPTP2GrandmasterPriority2=hmNetPTP2GrandmasterPriority2, hmNeighbourAgentEntry=hmNeighbourAgentEntry, hmNeighbourSlot=hmNeighbourSlot) mibBuilder.exportSymbols('HMPRIV-MGMT-SNMP-MIB', hmPOEPortConsumptionPower=hmPOEPortConsumptionPower, hmIGMPGroup=hmIGMPGroup, hmNetPTP2TCFaulty=hmNetPTP2TCFaulty, hmPNIODcpModePortID=hmPNIODcpModePortID, hmNetACDMaxProtection=hmNetACDMaxProtection, hmNetPTP2OffsetFromMaster=hmNetPTP2OffsetFromMaster, hmPNIOModuleIdentNumber=hmPNIOModuleIdentNumber, hmAddressRelearnDetectTrap=hmAddressRelearnDetectTrap, hmNetACDOngoingProbeStatus=hmNetACDOngoingProbeStatus, hmNetSNTPServer=hmNetSNTPServer, hmFanSysID=hmFanSysID, hmAgentSnmpPortSecurityTrapFlag=hmAgentSnmpPortSecurityTrapFlag, hmSysSTPErrorNumber=hmSysSTPErrorNumber, hmNetPTP2TimeTraceable=hmNetPTP2TimeTraceable, hmConfiguration=hmConfiguration, hmConfigurationStatus=hmConfigurationStatus, hmPNIODeviceID=hmPNIODeviceID, hmFSTPPassword=hmFSTPPassword, hmEtherNetIPConnTimeouts=hmEtherNetIPConnTimeouts, hmTrapCommBridge=hmTrapCommBridge, hmNetSNTPLocalOffset=hmNetSNTPLocalOffset, hmPOEModulePowerUsageOnNotification=hmPOEModulePowerUsageOnNotification, hmNetPTP2TCPrimaryDomain=hmNetPTP2TCPrimaryDomain, hmSigConSensePS8State=hmSigConSensePS8State, hmSigConLinkTable=hmSigConLinkTable, hmSfpInfoVersion=hmSfpInfoVersion, hmSerialNumM2=hmSerialNumM2, hmSigConSensePS7State=hmSigConSensePS7State, hmAgentEvent=hmAgentEvent, hmNetACDFaultState=hmNetACDFaultState, hmIngressUnknUcLimiterRate=hmIngressUnknUcLimiterRate, rr_epl=rr_epl, hmSysFlowControl=hmSysFlowControl, hmNetSNTPTimeAdjustThreshold=hmNetSNTPTimeAdjustThreshold, hmNetPTPOneWayDelayNanoSecs=hmNetPTPOneWayDelayNanoSecs, hmDevMonStateChange=hmDevMonStateChange, hmMemoryFree=hmMemoryFree, hmTrunkAction=hmTrunkAction, hmSFPEntry=hmSFPEntry, hmLEDRSRRelay1=hmLEDRSRRelay1, hmRS2FDBHashGroup=hmRS2FDBHashGroup, hmIGMPQuerierProtocolVersion=hmIGMPQuerierProtocolVersion, hmSysMaxFan=hmSysMaxFan, hmSigConTrapCause=hmSigConTrapCause, hmTrapCommRMON=hmTrapCommRMON, hmIGMPSnoopQueryStaticEntry=hmIGMPSnoopQueryStaticEntry, hmPOEPortEntry=hmPOEPortEntry, hmNetPTP2TimeSource=hmNetPTP2TimeSource, hmAuthHostIndex=hmAuthHostIndex, hmPOEModuleIndex=hmPOEModuleIndex, hmNetPTP2DomainNumber=hmNetPTP2DomainNumber, hmDevMonSensePS6State=hmDevMonSensePS6State, hmSysPlugAndPlay=hmSysPlugAndPlay, ruggedswitch=ruggedswitch, hmLimiterGroup=hmLimiterGroup, hmNetACDGroup=hmNetACDGroup, hmIGMPSnoopQuerierIPAddress=hmIGMPSnoopQuerierIPAddress, hmLEDGroup=hmLEDGroup, hmSfpMaxLength_fiber_9=hmSfpMaxLength_fiber_9, eagle=eagle, hmSfpConnector=hmSfpConnector, hmRMAIpAddr=hmRMAIpAddr, hmSysVersion=hmSysVersion, hmLEDRSRGroup=hmLEDRSRGroup, hmNetSNTPTime=hmNetSNTPTime, hmConfigWatchdogAdminStatus=hmConfigWatchdogAdminStatus, hmPSTable=hmPSTable, eem1=eem1, hmPOEStatus=hmPOEStatus, hmRS2RedNotGuaranteedAlarm=hmRS2RedNotGuaranteedAlarm, hmDevMonSensePS7State=hmDevMonSensePS7State, hmLEDRSRRelay2=hmLEDRSRRelay2, hmRelayGroup=hmRelayGroup, hmPrioMACAddressTable=hmPrioMACAddressTable, hmNetPPPNetMask=hmNetPPPNetMask, hmSysDHCPEnable=hmSysDHCPEnable, hmDIPSwitchMICEGroup=hmDIPSwitchMICEGroup, hmTrapDestTableEntriesMax=hmTrapDestTableEntriesMax, hmRelayOptionRemoteIDType=hmRelayOptionRemoteIDType, hmAgentSnmpLoggingGroup=hmAgentSnmpLoggingGroup, hmPOEPortIndex=hmPOEPortIndex, hmRS2ConnectionMirroringPortOne=hmRS2ConnectionMirroringPortOne, hmSysSwitchFDBHashOptimizingMode=hmSysSwitchFDBHashOptimizingMode, hmAuthCommIndex=hmAuthCommIndex, hmRMARowStatus=hmRMARowStatus, hmNetPTP2GrandmasterClockAccuracy=hmNetPTP2GrandmasterClockAccuracy, hmNetSNMPv1Status=hmNetSNMPv1Status, hmSigConSenseACANotInSync=hmSigConSenseACANotInSync, hmSfpTxPower=hmSfpTxPower, hmAgentSnmpCommunityAccessMode=hmAgentSnmpCommunityAccessMode, hmSysOEMID=hmSysOEMID, hmSysGroupActionResult=hmSysGroupActionResult, hmTrapCommTable=hmTrapCommTable, hmPNIOOrderID=hmPNIOOrderID, hmSysSwitchServiceModeGroup=hmSysSwitchServiceModeGroup, hmRelayIfaceCircuitID=hmRelayIfaceCircuitID, hmSysGroupActionDelayCurrent=hmSysGroupActionDelayCurrent, hmIfaceUtilization=hmIfaceUtilization, hmAutoConfigState=hmAutoConfigState, hmNetPTP2TCPortEnable=hmNetPTP2TCPortEnable, hmNetPTPPortBurstEnable=hmNetPTPPortBurstEnable, hmAuthHostTable=hmAuthHostTable, hmDevMonSensePS5State=hmDevMonSensePS5State, hmEnableMeasurement=hmEnableMeasurement, hmPortMonitorConditionCrcFragmentsCountTotal=hmPortMonitorConditionCrcFragmentsCountTotal, hmPSSysID=hmPSSysID, hmRelayInterfaceEntry=hmRelayInterfaceEntry, hmAgentSnmpChassisTrapFlag=hmAgentSnmpChassisTrapFlag, hmSerialNumBB=hmSerialNumBB, hmSFPRxPowerChangeTrap=hmSFPRxPowerChangeTrap, hmPortMonitorConditionCrcFragmentsIntfEntry=hmPortMonitorConditionCrcFragmentsIntfEntry, ms20=ms20, hmTrapCommLinkUp=hmTrapCommLinkUp, hmPOEModuleUsageThreshold=hmPOEModuleUsageThreshold, octopus_os=octopus_os, hmAgentSnmpLinkUpDownTrapFlag=hmAgentSnmpLinkUpDownTrapFlag, hmRestrictedMgtAccessGroup=hmRestrictedMgtAccessGroup, hmEtherNetIPRevisionMinor=hmEtherNetIPRevisionMinor, hmAgentSnmpL2RedundancyTrapFlag=hmAgentSnmpL2RedundancyTrapFlag, hmLEDRSGroup=hmLEDRSGroup, hmNetPTPSlavePort=hmNetPTPSlavePort, hmChassis=hmChassis, hmSysSelftestRAM=hmSysSelftestRAM, hmSysSwitchMRU=hmSysSwitchMRU, hmNetPTP2VlanID=hmNetPTP2VlanID, hmAuthHostIpAddress=hmAuthHostIpAddress, hmEgressLimiterEnable=hmEgressLimiterEnable, hmSigConSenseRedNotGuaranteed=hmSigConSenseRedNotGuaranteed, hmNetPTP2Leap61=hmNetPTP2Leap61, hmDevMonSenseLinkFailure=hmDevMonSenseLinkFailure, hmRS2SigRelayMode=hmRS2SigRelayMode, hmRMASrvTelnet=hmRMASrvTelnet, hmRS2TopologyGroup=hmRS2TopologyGroup, hmTrapDestEntry=hmTrapDestEntry, hmSFPChangeTrap=hmSFPChangeTrap, hmNetPTP2ParentStats=hmNetPTP2ParentStats, hmSysGroupSwVersion=hmSysGroupSwVersion, hmRS2SelftestMode=hmRS2SelftestMode, hmIfaceBcastLimit=hmIfaceBcastLimit, hmIGMPSnoopQueryStaticPorts=hmIGMPSnoopQueryStaticPorts, hmPOEModulePower=hmPOEModulePower, hmSysMaxTrunks=hmSysMaxTrunks, hmSysSwitchFDBHashOptimizingStatus=hmSysSwitchFDBHashOptimizingStatus, hmRS2TopologyEntry=hmRS2TopologyEntry, hmPOEModuleReservedPower=hmPOEModuleReservedPower, hmNetVlanPriority=hmNetVlanPriority, hmSysGroupID=hmSysGroupID, hmDevMonSenseControlLine=hmDevMonSenseControlLine, hmRS2ext=hmRS2ext, hmRMAEntry=hmRMAEntry, hmAgentLoginGroup=hmAgentLoginGroup, hmRS2FDBGroup=hmRS2FDBGroup, hmSerialNumM4=hmSerialNumM4, hmSysGroupHwVersion=hmSysGroupHwVersion, hmNetSNTPSyncInterval=hmNetSNTPSyncInterval, hmCpuUtilization=hmCpuUtilization, hmRelayOptionRemoteIDValue=hmRelayOptionRemoteIDValue, hmProfinetIOConfigGroup=hmProfinetIOConfigGroup, hmTrapDestName=hmTrapDestName, hmDevMonConfigEntry=hmDevMonConfigEntry, hmAuthCommTable=hmAuthCommTable, hmNeighbourIpAddress=hmNeighbourIpAddress, hmCurrentAddress=hmCurrentAddress, hmNetGPSGroup=hmNetGPSGroup, hmAgentSnmpCommunityCreate=hmAgentSnmpCommunityCreate, hmNetSNMPv3EncryptionReadWriteStatus=hmNetSNMPv3EncryptionReadWriteStatus, hmCpuAverageUtilization=hmCpuAverageUtilization, hmPowerSupply=hmPowerSupply, hmSysSwitchServiceMode=hmSysSwitchServiceMode, hmRS2DisableLearningStatus=hmRS2DisableLearningStatus, hmAUIModuleDTEPowerMonitor=hmAUIModuleDTEPowerMonitor, hmSigConSenseTemperature=hmSigConSenseTemperature, hmPOEModuleNotificationControlEnable=hmPOEModuleNotificationControlEnable, hmNetGatewayIPAddr=hmNetGatewayIPAddr, hmIfaceStpBpduGuardEnable=hmIfaceStpBpduGuardEnable, hmNetPTP2PortEnable=hmNetPTP2PortEnable, hmDuplexMismatchTrap=hmDuplexMismatchTrap, hmSigConConfigEntry=hmSigConConfigEntry, hmCurrentAddressEgressPorts=hmCurrentAddressEgressPorts, hmNetPTPPiIntegral=hmNetPTPPiIntegral, hmSigReasonIndex=hmSigReasonIndex, hmSerialNumM1=hmSerialNumM1, hmPrioMACAddress=hmPrioMACAddress, hmNetSNMPv2Status=hmNetSNMPv2Status, hmNetworkCpuIfAverageUtilization=hmNetworkCpuIfAverageUtilization, hmAgentSnmpCommunityIPAddress=hmAgentSnmpCommunityIPAddress, hmSigConLinkAlarm=hmSigConLinkAlarm, hmDevMonID=hmDevMonID, hmIfaceUtilizationTrap=hmIfaceUtilizationTrap, hmSysSwitchLearning=hmSysSwitchLearning, hmSfpSerialNum=hmSfpSerialNum, hmNetPTPAbsMaxOffset=hmNetPTPAbsMaxOffset, hmEtherNetIPConnEstablished=hmEtherNetIPConnEstablished, hmSysSwitchVLANLearningMode=hmSysSwitchVLANLearningMode, hmNetNTPOperation=hmNetNTPOperation, hmSfpPartRev=hmSfpPartRev, hmPrioTrafficClassID=hmPrioTrafficClassID, hmNetSNTPAnycastAddr=hmNetSNTPAnycastAddr, BridgeIdOrNull=BridgeIdOrNull, hmIngressUnknUcLimiterCalculationMode=hmIngressUnknUcLimiterCalculationMode, hmSigConTrapCauseIndex=hmSigConTrapCauseIndex, hmMemoryAllocatedAverage=hmMemoryAllocatedAverage, hmNetNTPSyncInterval=hmNetNTPSyncInterval, hmSigConSensePS2State=hmSigConSensePS2State, hmPortMonitorGroup=hmPortMonitorGroup, hmPSDescription=hmPSDescription, hmNetACDIfId=hmNetACDIfId, hmLEDOctFault=hmLEDOctFault, hmDIPSwitchMICEStandby=hmDIPSwitchMICEStandby, hmAgentSnmpConfigGroup=hmAgentSnmpConfigGroup, hmRS2SelftestResult=hmRS2SelftestResult, hmPrioTrafficClassEntry=hmPrioTrafficClassEntry, hmPOEModulePowerUsageOffNotification=hmPOEModulePowerUsageOffNotification, hmNetPTP2CurrentUtcOffset=hmNetPTP2CurrentUtcOffset, hmNetPTP2LogDelayReqInterval=hmNetPTP2LogDelayReqInterval, hmNetPTP2Leap59=hmNetPTP2Leap59, hmSysSwitchFastLinkDetection=hmSysSwitchFastLinkDetection, hmSysMaxUSBPorts=hmSysMaxUSBPorts, railswitchrugged=railswitchrugged, hmPrioTosToPrioTable=hmPrioTosToPrioTable, hmNetMask=hmNetMask, hmTrapCommChassis=hmTrapCommChassis, hmRelayLastDuplicateIP=hmRelayLastDuplicateIP, hmSysModVersion=hmSysModVersion, hmSysSwitchServiceModeOperState=hmSysSwitchServiceModeOperState, hmNetPTPEpochNumber=hmNetPTPEpochNumber, hmSerialNumbers=hmSerialNumbers, hmIfaceStpEnable=hmIfaceStpEnable, hmRMATable=hmRMATable, hmAgentSnmpTrapReceiverCreate=hmAgentSnmpTrapReceiverCreate, hmAgentSnmpTrapReceiverCommunityName=hmAgentSnmpTrapReceiverCommunityName, eagle20=eagle20, hmIfaceUtilizationAlarmLowerThreshold=hmIfaceUtilizationAlarmLowerThreshold, hmAUIPortID=hmAUIPortID, hmIfaceUtilizationAlarmUpperThreshold=hmIfaceUtilizationAlarmUpperThreshold, hmTrapCommDualHoming=hmTrapCommDualHoming, hmAgentSnmpCommunityConfigEntry=hmAgentSnmpCommunityConfigEntry, hmIndustrialEthernetProtocols=hmIndustrialEthernetProtocols, hmNetSNTPOnceAtStartup=hmNetSNTPOnceAtStartup, hmGMRP=hmGMRP, hmLastAccessGroup=hmLastAccessGroup, hmFanState=hmFanState, hmNetPTP2GrandmasterClockQuality=hmNetPTP2GrandmasterClockQuality, hmFSConfFileName=hmFSConfFileName, hmFSFileTable=hmFSFileTable, hmIGMPSnoopForwardAllTable=hmIGMPSnoopForwardAllTable, hmSigConConfigTable=hmSigConConfigTable, hmSfpMaxLength_fiber_62_5=hmSfpMaxLength_fiber_62_5, hmSigConManualActivate=hmSigConManualActivate, hmNetPTP2TCPortEntry=hmNetPTP2TCPortEntry, hmRMASrvHttp=hmRMASrvHttp, hmSysSwitchVLANGroup=hmSysSwitchVLANGroup, hmPortMonitorConditionTable=hmPortMonitorConditionTable, hmRS2TopologyIpAddress=hmRS2TopologyIpAddress) mibBuilder.exportSymbols('HMPRIV-MGMT-SNMP-MIB', hmNetPTP2TCPeerMeanPathDelay=hmNetPTP2TCPeerMeanPathDelay, hmNetSNMPRadiusAuthenticate=hmNetSNMPRadiusAuthenticate, hmPOEReservedPower=hmPOEReservedPower, hmNetPTP2TCNetworkProtocol=hmNetPTP2TCNetworkProtocol, hmSelfTestM3Result=hmSelfTestM3Result, hmAuthHostName=hmAuthHostName, hmAutoconfigAdapterSerialNum=hmAutoconfigAdapterSerialNum, hmNetACDAddrTable=hmNetACDAddrTable, hmNetPTPConfiguration=hmNetPTPConfiguration, hmPNIOAdminStatus=hmPNIOAdminStatus, hmTrunkEntry=hmTrunkEntry, hmSfpVendorName=hmSfpVendorName, hmNetPTP2PtpTimescale=hmNetPTP2PtpTimescale, hmNetPTP2VlanPriority=hmNetPTP2VlanPriority, hmRS2PSGroup=hmRS2PSGroup, hmDevMonSwitchState=hmDevMonSwitchState, hmIGMPQuerierMode=hmIGMPQuerierMode, hmRS2TopologyTable=hmRS2TopologyTable, hmPOEGroup=hmPOEGroup, hmRS4RVlanPortID=hmRS4RVlanPortID, hmNetLocalIPAddr=hmNetLocalIPAddr, hmIGMPSnoopQueryEntry=hmIGMPSnoopQueryEntry, hmAuthCommPerm=hmAuthCommPerm, hmSysOEMGroup=hmSysOEMGroup, hmRS2VlanGroup=hmRS2VlanGroup, hmIGMPSnoopQueryStaticAutomaticPorts=hmIGMPSnoopQueryStaticAutomaticPorts, hmMemoryResources=hmMemoryResources, hmIfaceName=hmIfaceName, hmAUIGroup=hmAUIGroup, hmSigConSensePS3State=hmSigConSensePS3State, hmTrapDestState=hmTrapDestState, hmSfpInfoPartNumber=hmSfpInfoPartNumber, hmAgentSnmpCommunityStatus=hmAgentSnmpCommunityStatus, hmIngressUnknUcLimiterMode=hmIngressUnknUcLimiterMode, hmIGMPSnoopFilterTable=hmIGMPSnoopFilterTable, hmIGMPSnoopForwardAllStaticPorts=hmIGMPSnoopForwardAllStaticPorts, hmTrunkID=hmTrunkID, hmRelayErrCnt=hmRelayErrCnt, hmConfigWatchdogOperStatus=hmConfigWatchdogOperStatus, hmNetworkCpuIfUtilization=hmNetworkCpuIfUtilization, hmIGMPSnoopFilterEntry=hmIGMPSnoopFilterEntry, hmAgentSnmpSpanningTreeTrapFlag=hmAgentSnmpSpanningTreeTrapFlag, hmRelayDHCPServer3IpAddr=hmRelayDHCPServer3IpAddr, hmCurrentAddressReceivePort=hmCurrentAddressReceivePort, hmNetPTPleap59=hmNetPTPleap59, hmProducts=hmProducts, hmPortMonitorConditionLinkFlapIntfTable=hmPortMonitorConditionLinkFlapIntfTable, hmRS2SigRelayManualState=hmRS2SigRelayManualState, hmNetPTP2GrandmasterClockVariance=hmNetPTP2GrandmasterClockVariance, hmNetPTP2PortCapability=hmNetPTP2PortCapability, hmDIPSwitchRSGroup=hmDIPSwitchRSGroup, hmNetSNTPOperStatus=hmNetSNTPOperStatus, hmRMANetMask=hmRMANetMask, hmAgent=hmAgent, hmTemperature=hmTemperature, hmPOEFastStartup=hmPOEFastStartup, hmConfigurationSavedTrap=hmConfigurationSavedTrap, hmIfaceIngressLimiterCalculationMode=hmIfaceIngressLimiterCalculationMode, hmDevMonTrapCauseIndex=hmDevMonTrapCauseIndex, hmSfpRxPower=hmSfpRxPower, rs2=rs2, hmSysSwitchFDBFullCounter=hmSysSwitchFDBFullCounter, hmNetNTPAnycastInterval=hmNetNTPAnycastInterval, hmNetPTP2TCClockIdentity=hmNetPTP2TCClockIdentity, hmNetNTPServer1Address=hmNetNTPServer1Address, hmEtherNetIPProductName=hmEtherNetIPProductName, hmNetPTPPortTable=hmNetPTPPortTable, hmNetPTP2Configuration=hmNetPTP2Configuration, hmPrioTOSEnable=hmPrioTOSEnable, hmNetPTPTimeSeconds=hmNetPTPTimeSeconds, hmNetPTP2Priority1=hmNetPTP2Priority1, hmProfinetIOStatisticsGroup=hmProfinetIOStatisticsGroup, hmRS2SigRelayGroup=hmRS2SigRelayGroup, hmPortMonitorConditionLinkFlapIntfEntry=hmPortMonitorConditionLinkFlapIntfEntry, hmIfaceUtilizationAlarmCondition=hmIfaceUtilizationAlarmCondition, hmSfpTxPowerdBm=hmSfpTxPowerdBm, hmNetPTPAction=hmNetPTPAction, hmIGMPSnoopQueryStaticVlanIndex=hmIGMPSnoopQueryStaticVlanIndex, hmNetPTP2TCVlanPriority=hmNetPTP2TCVlanPriority, hmSysSwitchVLANLearningStatus=hmSysSwitchVLANLearningStatus, hmSysGroupModuleMap=hmSysGroupModuleMap, hmNetPTP2TCMultiDomainMode=hmNetPTP2TCMultiDomainMode, hmPortMonitorIntfMode=hmPortMonitorIntfMode, hmSNTPTrap=hmSNTPTrap, hmAgentSnmpCommunityConfigTable=hmAgentSnmpCommunityConfigTable, hmNetPTPClockIdentifier=hmNetPTPClockIdentifier, hmPrioMACReceivePort=hmPrioMACReceivePort, DIPSwitchState=DIPSwitchState, hmSysSwitchAddressRelearnThreshold=hmSysSwitchAddressRelearnThreshold, hmSfpVendorOUI=hmSfpVendorOUI, hmSysModulePortCapacity=hmSysModulePortCapacity, hmSysSelftestGroup=hmSysSelftestGroup, hmNetPTPParentUUID=hmNetPTPParentUUID, hmIfaceLinkType=hmIfaceLinkType, hmPortMonitorConditionCrcFragmentsCount=hmPortMonitorConditionCrcFragmentsCount, hmPortMonitorConditionIntfEntry=hmPortMonitorConditionIntfEntry, hmNetPTPOffsetFromMasterNanoSecs=hmNetPTPOffsetFromMasterNanoSecs, hmTempLwrLimit=hmTempLwrLimit, hmSysSwitchRedundancyRstpMrpMode=hmSysSwitchRedundancyRstpMrpMode, hmEtherNetIPErrorCode=hmEtherNetIPErrorCode, hmSigConOperState=hmSigConOperState, hmNetPTPSyncInterval=hmNetPTPSyncInterval, hmRS2FDBHashOptimizingStatus=hmRS2FDBHashOptimizingStatus, hmSysHttpsEnable=hmSysHttpsEnable, hmIGMPSnoopQueryVlanIndex=hmIGMPSnoopQueryVlanIndex, hmDevMonSensePS2State=hmDevMonSensePS2State, hmNetLocalPhysAddrRange=hmNetLocalPhysAddrRange, hmSysSoftwareCapability=hmSysSoftwareCapability, hmNetPTP2TCCurrentMaster=hmNetPTP2TCCurrentMaster, hmNetNTPAnycastAddrType=hmNetNTPAnycastAddrType, hmNetSNTPServer2=hmNetSNTPServer2, hmIfaceStpBpduGuardStatus=hmIfaceStpBpduGuardStatus, hmIfaceIngressLimiterRate=hmIfaceIngressLimiterRate, hmAuthHostCommIndex=hmAuthHostCommIndex, hmNTPTrap=hmNTPTrap, hmSfpTxPowerInt=hmSfpTxPowerInt, hmNetPTP2Priority2=hmNetPTP2Priority2, hmSysSelftestMMUStatus=hmSysSelftestMMUStatus, hmFSFileEntry=hmFSFileEntry, hmSigConLinkID=hmSigConLinkID, hmDevMonSensePS4State=hmDevMonSensePS4State, hmNetPTP2MeanPathDelay=hmNetPTP2MeanPathDelay, hmTrunkAdminStatus=hmTrunkAdminStatus, hmRS4RVlanGroup=hmRS4RVlanGroup, hmNetPTP2NetworkProtocol=hmNetPTP2NetworkProtocol, hmNetSNMPPortNumber=hmNetSNMPPortNumber, hmRS2ConnectionMirroringStatus=hmRS2ConnectionMirroringStatus, hmSysModType=hmSysModType, hmNetSNMPSynchronizeV1V3Status=hmNetSNMPSynchronizeV1V3Status, hmCurrentAddressEntry=hmCurrentAddressEntry, hmNetNTPServer2AddrType=hmNetNTPServer2AddrType, hmRS4RGroup=hmRS4RGroup, hmIfaceIngressLimiterMode=hmIfaceIngressLimiterMode)
# FizzBuzz in python using nested if else # Author - @hritikchaturvedi11 for i in range(1,100): if(i % 3 == 0 and i % 5 == 0): print('FizzBuzz') elif(i % 3 == 0): print('Fizz') elif(i % 5 == 0): print('Buzz') else: print(i)
for i in range(1, 100): if i % 3 == 0 and i % 5 == 0: print('FizzBuzz') elif i % 3 == 0: print('Fizz') elif i % 5 == 0: print('Buzz') else: print(i)
class UserRepositoryError(Exception): def __init__(self, message: str): raise Exception(message) class UserDoesNotExist(UserRepositoryError): pass class UsernameAlreadyTakenError(UserRepositoryError): pass class EmailAlreadyTakenError(UserRepositoryError): pass
class Userrepositoryerror(Exception): def __init__(self, message: str): raise exception(message) class Userdoesnotexist(UserRepositoryError): pass class Usernamealreadytakenerror(UserRepositoryError): pass class Emailalreadytakenerror(UserRepositoryError): pass
comec=input().split() hCOMEC=input().split() final=input().split() hFINAL=input().split() di,df=int(comec[1]),int(final[1]) hi,mi,si=int(hCOMEC[0]), int(hCOMEC[2]), int(hCOMEC[4]) hf,mf,sf=int(hFINAL[0]), int(hFINAL[2]), int(hFINAL[4]) mSEG=60 hSEG=mSEG*60 dSEG=hSEG*24 i,f=si+mi*mSEG+hi*hSEG+di*dSEG,sf+mf*mSEG+hf*hSEG+df*dSEG if i < f: tempo=f-i dias=int(tempo/dSEG) tempo=tempo%dSEG horas=int(tempo/hSEG) tempo=tempo%hSEG minutos=int(tempo/mSEG) tempo=tempo%mSEG segundos=tempo print(f"{dias} dia(s)\n{horas} hora(s)\n{minutos} minuto(s)\n{segundos} segundo(s)")
comec = input().split() h_comec = input().split() final = input().split() h_final = input().split() (di, df) = (int(comec[1]), int(final[1])) (hi, mi, si) = (int(hCOMEC[0]), int(hCOMEC[2]), int(hCOMEC[4])) (hf, mf, sf) = (int(hFINAL[0]), int(hFINAL[2]), int(hFINAL[4])) m_seg = 60 h_seg = mSEG * 60 d_seg = hSEG * 24 (i, f) = (si + mi * mSEG + hi * hSEG + di * dSEG, sf + mf * mSEG + hf * hSEG + df * dSEG) if i < f: tempo = f - i dias = int(tempo / dSEG) tempo = tempo % dSEG horas = int(tempo / hSEG) tempo = tempo % hSEG minutos = int(tempo / mSEG) tempo = tempo % mSEG segundos = tempo print(f'{dias} dia(s)\n{horas} hora(s)\n{minutos} minuto(s)\n{segundos} segundo(s)')
num1=int(input("Enter the number1")) num2=int(input("Enter the number2")) print("Addition of the two numbers:",(num1+num2)) print("Subtraction of the two numbers:",(num1-num2)) print("Multiplication of the two numbers:",(num1*num2)) print("Division of the two number:",(num1/num2)) print("Remainder of the two number:",(num1%num2))
num1 = int(input('Enter the number1')) num2 = int(input('Enter the number2')) print('Addition of the two numbers:', num1 + num2) print('Subtraction of the two numbers:', num1 - num2) print('Multiplication of the two numbers:', num1 * num2) print('Division of the two number:', num1 / num2) print('Remainder of the two number:', num1 % num2)
# You are climbing a staircase. It takes n steps to reach the top. # Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? # # Example 1: # Input: n = 2 # Output: 2 # Explanation: There are two ways to climb to the top. # 1. 1 step + 1 step # 2. 2 steps # # Example 2: # Input: n = 3 # Output: 3 # Explanation: There are three ways to climb to the top. # 1. 1 step + 1 step + 1 step # 2. 1 step + 2 steps # 3. 2 steps + 1 step # # Constraints: # 1 <= n <= 45 # class Solution: def climbStairs(self, n: int) -> int: self.visited = {} return self.helper(n) def helper(self, level): if level in self.visited: return self.visited[level] if level == 1 or level == 2: return level elif level < 1: return 0 ways = self.helper(level - 1) + self.helper(level - 2) self.visited[level] = ways return ways
class Solution: def climb_stairs(self, n: int) -> int: self.visited = {} return self.helper(n) def helper(self, level): if level in self.visited: return self.visited[level] if level == 1 or level == 2: return level elif level < 1: return 0 ways = self.helper(level - 1) + self.helper(level - 2) self.visited[level] = ways return ways
# # PySNMP MIB module NOKIA-UNITTYPES-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NOKIA-UNITTYPES-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:23:38 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") SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint") ntcHWUnitTypeMibs, ntcCommonModules = mibBuilder.importSymbols("NOKIA-COMMON-MIB-OID-REGISTRATION-MIB", "ntcHWUnitTypeMibs", "ntcCommonModules") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Counter64, ObjectIdentity, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Counter32, Bits, iso, Unsigned32, NotificationType, MibIdentifier, TimeTicks, IpAddress, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "ObjectIdentity", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Counter32", "Bits", "iso", "Unsigned32", "NotificationType", "MibIdentifier", "TimeTicks", "IpAddress", "Integer32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ntcHWUnitTypeModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 94, 1, 16, 5, 3)) ntcHWUnitTypeModule.setRevisions(('1998-09-24 00:00', '1998-10-04 00:00', '1998-11-25 00:00', '1998-12-03 00:00', '1999-10-18 00:00', '1901-03-14 00:00', '1902-02-08 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntcHWUnitTypeModule.setRevisionsDescriptions(('Rev 0.1 Initial release', 'Rev 0.2 Updated anchors to use values registered by Mika Kiikkila.', 'Rev 0.3 Updated for BBAN units by Andreas Terstegge', 'Rev 0.4 Updated with general slot and backplane definitions by Andreas Terstegge', 'Rev 0.5 Comment for usage of this module and for OIDs 21 and 22 added by Anna-Kaisa Lindfors.', 'Rev 0.6 Updated for IPRG units by Petri Jarre (added by Heinz-Guenter Boettger)', 'Rev 0.7 Hard Disk and Crypto Accelerator, Jeffrey Lampert (added by Heinz-Guenter Boettger)',)) if mibBuilder.loadTexts: ntcHWUnitTypeModule.setLastUpdated('9808270000Z') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setOrganization('Nokia') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setContactInfo('Mika Kiikkila Nokia Telecommunications Oy Hiomotie 5, FIN-0380 Helsinki, Finland +358 9 51121 mika.kiikkila@ntc.nokia.com') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setDescription('This module contains the OID values for the different types of circuit cards that are produced for use in Nokia equipment.') ntcHWUnitNone = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 1)) ntcHWUnitAny = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 2)) ntcHWSlot = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 21)) ntcHWBackplane = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 22)) ntcHWUnitIanNcaStm1Electrical = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 3)) ntcHWUnitNcaStm1SingleModeOptical = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 4)) ntcHWUnitNcaStm1MultiModeOptical = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 5)) ntcHWUnitIanASU = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 6)) ntcHWUnitIan4PortV35 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 7)) ntcHWUnitIan4PortE1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 8)) ntcHWUnitIan4PortMsdsl = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 9)) ntcHWUnitIanIpFwrdingUnit = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 10)) ntcHWUnitBbanAlbaStm1E = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 11)) ntcHWUnitBbanAlbaStm1Om = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 12)) ntcHWUnitBbanAlbaStm1Os = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 13)) ntcHWUnitBbanAlbaE3 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 14)) ntcHWUnitBbanSliuAdslMiDmt = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 15)) ntcHWUnitBbanSliuAdslAdDmt = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 16)) ntcHWUnitBbanSliuE1I75 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 17)) ntcHWUnitBbanSliuE1I120 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 18)) ntcHWUnitBbanBackplane8 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 19)) ntcHWUnitBbanBackplane17 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 20)) ntcHWUnitIprgSeqCrp = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 23)) ntcHWUnitIprgSeqGplc1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 24)) ntcHWUnitIprgSeqGplc2 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 25)) ntcHWUnitIprgSeqWslc = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 26)) ntcHWUnitIprgEth1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 27)) ntcHWUnitIprgEth2 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 28)) ntcHWUnitIprgEth4 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 29)) ntcHWUnitIprgAtm = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 30)) ntcHWUnitIprgX211 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 31)) ntcHWUnitIprgV351 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 32)) ntcHWUnitIprgX212 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 33)) ntcHWUnitIprgV352 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 34)) ntcHWUnitIprgHssi = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 35)) ntcHWUnitIprgE1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 36)) ntcHWUnitIprgT1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 37)) ntcHWUnitIprgFddi = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 38)) ntcHWUnitIprgTok = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 39)) ntcHWUnitIprgIsdn = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 40)) ntcHWUnitIpsoGigEth1 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 57)) ntcHWUnitIpsoSs7 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 58)) ntcHWUnitIpsoCryptoAccelerator = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 59)) ntcHWUnitIprgBackplaneIP110 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 41)) ntcHWUnitIprgBackplaneIP330 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 42)) ntcHWUnitIprgBackplaneIP440 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 43)) ntcHWUnitIprgBackplaneIP530 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 44)) ntcHWUnitIprgBackplaneIP650 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 45)) ntcHWUnitIprgBackplaneIP730 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 46)) ntcHWUnitIprgBackplaneSeq9 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 47)) ntcHWUnitIprgBackplaneSeq18 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 48)) ntcHWUnitIprgChassisIP110 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 49)) ntcHWUnitIprgChassisIP330 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 50)) ntcHWUnitIprgChassisIP440 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 51)) ntcHWUnitIprgChassisIP530 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 52)) ntcHWUnitIprgChassisIP650 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 53)) ntcHWUnitIprgChassisIP730 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 54)) ntcHWUnitIprgChassisSeq9 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 55)) ntcHWUnitIprgChassisSeq18 = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 56)) ntcHWUnitIpsoHardDisk = MibIdentifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 60)) mibBuilder.exportSymbols("NOKIA-UNITTYPES-MIB", ntcHWUnitBbanAlbaStm1E=ntcHWUnitBbanAlbaStm1E, ntcHWUnitBbanSliuE1I75=ntcHWUnitBbanSliuE1I75, ntcHWUnitIpsoHardDisk=ntcHWUnitIpsoHardDisk, ntcHWUnitIprgBackplaneSeq9=ntcHWUnitIprgBackplaneSeq9, ntcHWUnitIprgSeqGplc2=ntcHWUnitIprgSeqGplc2, ntcHWUnitIprgBackplaneSeq18=ntcHWUnitIprgBackplaneSeq18, ntcHWUnitIprgEth2=ntcHWUnitIprgEth2, ntcHWSlot=ntcHWSlot, ntcHWUnitIprgTok=ntcHWUnitIprgTok, ntcHWUnitIprgV352=ntcHWUnitIprgV352, ntcHWUnitIprgFddi=ntcHWUnitIprgFddi, ntcHWUnitIprgBackplaneIP440=ntcHWUnitIprgBackplaneIP440, ntcHWUnitIprgX212=ntcHWUnitIprgX212, ntcHWUnitNcaStm1MultiModeOptical=ntcHWUnitNcaStm1MultiModeOptical, ntcHWUnitIprgEth1=ntcHWUnitIprgEth1, ntcHWUnitIprgChassisSeq18=ntcHWUnitIprgChassisSeq18, ntcHWUnitIpsoGigEth1=ntcHWUnitIpsoGigEth1, ntcHWUnitBbanSliuE1I120=ntcHWUnitBbanSliuE1I120, ntcHWUnitIprgBackplaneIP330=ntcHWUnitIprgBackplaneIP330, ntcHWUnitIprgBackplaneIP650=ntcHWUnitIprgBackplaneIP650, ntcHWUnitIanIpFwrdingUnit=ntcHWUnitIanIpFwrdingUnit, ntcHWUnitIpsoCryptoAccelerator=ntcHWUnitIpsoCryptoAccelerator, ntcHWUnitIprgEth4=ntcHWUnitIprgEth4, ntcHWUnitIprgChassisIP110=ntcHWUnitIprgChassisIP110, ntcHWUnitAny=ntcHWUnitAny, PYSNMP_MODULE_ID=ntcHWUnitTypeModule, ntcHWUnitBbanAlbaE3=ntcHWUnitBbanAlbaE3, ntcHWUnitIan4PortV35=ntcHWUnitIan4PortV35, ntcHWUnitBbanSliuAdslAdDmt=ntcHWUnitBbanSliuAdslAdDmt, ntcHWUnitIanASU=ntcHWUnitIanASU, ntcHWUnitBbanAlbaStm1Om=ntcHWUnitBbanAlbaStm1Om, ntcHWUnitIprgSeqGplc1=ntcHWUnitIprgSeqGplc1, ntcHWUnitNone=ntcHWUnitNone, ntcHWUnitIprgChassisIP330=ntcHWUnitIprgChassisIP330, ntcHWUnitIprgSeqCrp=ntcHWUnitIprgSeqCrp, ntcHWUnitIprgAtm=ntcHWUnitIprgAtm, ntcHWUnitBbanBackplane8=ntcHWUnitBbanBackplane8, ntcHWUnitIprgIsdn=ntcHWUnitIprgIsdn, ntcHWUnitBbanSliuAdslMiDmt=ntcHWUnitBbanSliuAdslMiDmt, ntcHWUnitIprgBackplaneIP530=ntcHWUnitIprgBackplaneIP530, ntcHWUnitIprgChassisIP440=ntcHWUnitIprgChassisIP440, ntcHWUnitIprgE1=ntcHWUnitIprgE1, ntcHWUnitIprgChassisIP530=ntcHWUnitIprgChassisIP530, ntcHWUnitIprgT1=ntcHWUnitIprgT1, ntcHWUnitIprgChassisSeq9=ntcHWUnitIprgChassisSeq9, ntcHWUnitBbanAlbaStm1Os=ntcHWUnitBbanAlbaStm1Os, ntcHWBackplane=ntcHWBackplane, ntcHWUnitIprgSeqWslc=ntcHWUnitIprgSeqWslc, ntcHWUnitIprgX211=ntcHWUnitIprgX211, ntcHWUnitIprgV351=ntcHWUnitIprgV351, ntcHWUnitIanNcaStm1Electrical=ntcHWUnitIanNcaStm1Electrical, ntcHWUnitIprgHssi=ntcHWUnitIprgHssi, ntcHWUnitIprgBackplaneIP110=ntcHWUnitIprgBackplaneIP110, ntcHWUnitIprgChassisIP730=ntcHWUnitIprgChassisIP730, ntcHWUnitBbanBackplane17=ntcHWUnitBbanBackplane17, ntcHWUnitTypeModule=ntcHWUnitTypeModule, ntcHWUnitNcaStm1SingleModeOptical=ntcHWUnitNcaStm1SingleModeOptical, ntcHWUnitIprgChassisIP650=ntcHWUnitIprgChassisIP650, ntcHWUnitIan4PortE1=ntcHWUnitIan4PortE1, ntcHWUnitIprgBackplaneIP730=ntcHWUnitIprgBackplaneIP730, ntcHWUnitIpsoSs7=ntcHWUnitIpsoSs7, ntcHWUnitIan4PortMsdsl=ntcHWUnitIan4PortMsdsl)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_union, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint') (ntc_hw_unit_type_mibs, ntc_common_modules) = mibBuilder.importSymbols('NOKIA-COMMON-MIB-OID-REGISTRATION-MIB', 'ntcHWUnitTypeMibs', 'ntcCommonModules') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (counter64, object_identity, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, counter32, bits, iso, unsigned32, notification_type, mib_identifier, time_ticks, ip_address, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'ObjectIdentity', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Counter32', 'Bits', 'iso', 'Unsigned32', 'NotificationType', 'MibIdentifier', 'TimeTicks', 'IpAddress', 'Integer32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') ntc_hw_unit_type_module = module_identity((1, 3, 6, 1, 4, 1, 94, 1, 16, 5, 3)) ntcHWUnitTypeModule.setRevisions(('1998-09-24 00:00', '1998-10-04 00:00', '1998-11-25 00:00', '1998-12-03 00:00', '1999-10-18 00:00', '1901-03-14 00:00', '1902-02-08 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntcHWUnitTypeModule.setRevisionsDescriptions(('Rev 0.1 Initial release', 'Rev 0.2 Updated anchors to use values registered by Mika Kiikkila.', 'Rev 0.3 Updated for BBAN units by Andreas Terstegge', 'Rev 0.4 Updated with general slot and backplane definitions by Andreas Terstegge', 'Rev 0.5 Comment for usage of this module and for OIDs 21 and 22 added by Anna-Kaisa Lindfors.', 'Rev 0.6 Updated for IPRG units by Petri Jarre (added by Heinz-Guenter Boettger)', 'Rev 0.7 Hard Disk and Crypto Accelerator, Jeffrey Lampert (added by Heinz-Guenter Boettger)')) if mibBuilder.loadTexts: ntcHWUnitTypeModule.setLastUpdated('9808270000Z') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setOrganization('Nokia') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setContactInfo('Mika Kiikkila Nokia Telecommunications Oy Hiomotie 5, FIN-0380 Helsinki, Finland +358 9 51121 mika.kiikkila@ntc.nokia.com') if mibBuilder.loadTexts: ntcHWUnitTypeModule.setDescription('This module contains the OID values for the different types of circuit cards that are produced for use in Nokia equipment.') ntc_hw_unit_none = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 1)) ntc_hw_unit_any = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 2)) ntc_hw_slot = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 21)) ntc_hw_backplane = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 22)) ntc_hw_unit_ian_nca_stm1_electrical = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 3)) ntc_hw_unit_nca_stm1_single_mode_optical = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 4)) ntc_hw_unit_nca_stm1_multi_mode_optical = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 5)) ntc_hw_unit_ian_asu = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 6)) ntc_hw_unit_ian4_port_v35 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 7)) ntc_hw_unit_ian4_port_e1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 8)) ntc_hw_unit_ian4_port_msdsl = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 9)) ntc_hw_unit_ian_ip_fwrding_unit = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 10)) ntc_hw_unit_bban_alba_stm1_e = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 11)) ntc_hw_unit_bban_alba_stm1_om = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 12)) ntc_hw_unit_bban_alba_stm1_os = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 13)) ntc_hw_unit_bban_alba_e3 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 14)) ntc_hw_unit_bban_sliu_adsl_mi_dmt = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 15)) ntc_hw_unit_bban_sliu_adsl_ad_dmt = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 16)) ntc_hw_unit_bban_sliu_e1_i75 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 17)) ntc_hw_unit_bban_sliu_e1_i120 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 18)) ntc_hw_unit_bban_backplane8 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 19)) ntc_hw_unit_bban_backplane17 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 20)) ntc_hw_unit_iprg_seq_crp = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 23)) ntc_hw_unit_iprg_seq_gplc1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 24)) ntc_hw_unit_iprg_seq_gplc2 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 25)) ntc_hw_unit_iprg_seq_wslc = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 26)) ntc_hw_unit_iprg_eth1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 27)) ntc_hw_unit_iprg_eth2 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 28)) ntc_hw_unit_iprg_eth4 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 29)) ntc_hw_unit_iprg_atm = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 30)) ntc_hw_unit_iprg_x211 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 31)) ntc_hw_unit_iprg_v351 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 32)) ntc_hw_unit_iprg_x212 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 33)) ntc_hw_unit_iprg_v352 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 34)) ntc_hw_unit_iprg_hssi = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 35)) ntc_hw_unit_iprg_e1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 36)) ntc_hw_unit_iprg_t1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 37)) ntc_hw_unit_iprg_fddi = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 38)) ntc_hw_unit_iprg_tok = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 39)) ntc_hw_unit_iprg_isdn = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 40)) ntc_hw_unit_ipso_gig_eth1 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 57)) ntc_hw_unit_ipso_ss7 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 58)) ntc_hw_unit_ipso_crypto_accelerator = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 59)) ntc_hw_unit_iprg_backplane_ip110 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 41)) ntc_hw_unit_iprg_backplane_ip330 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 42)) ntc_hw_unit_iprg_backplane_ip440 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 43)) ntc_hw_unit_iprg_backplane_ip530 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 44)) ntc_hw_unit_iprg_backplane_ip650 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 45)) ntc_hw_unit_iprg_backplane_ip730 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 46)) ntc_hw_unit_iprg_backplane_seq9 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 47)) ntc_hw_unit_iprg_backplane_seq18 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 48)) ntc_hw_unit_iprg_chassis_ip110 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 49)) ntc_hw_unit_iprg_chassis_ip330 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 50)) ntc_hw_unit_iprg_chassis_ip440 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 51)) ntc_hw_unit_iprg_chassis_ip530 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 52)) ntc_hw_unit_iprg_chassis_ip650 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 53)) ntc_hw_unit_iprg_chassis_ip730 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 54)) ntc_hw_unit_iprg_chassis_seq9 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 55)) ntc_hw_unit_iprg_chassis_seq18 = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 56)) ntc_hw_unit_ipso_hard_disk = mib_identifier((1, 3, 6, 1, 4, 1, 94, 1, 16, 7, 3, 60)) mibBuilder.exportSymbols('NOKIA-UNITTYPES-MIB', ntcHWUnitBbanAlbaStm1E=ntcHWUnitBbanAlbaStm1E, ntcHWUnitBbanSliuE1I75=ntcHWUnitBbanSliuE1I75, ntcHWUnitIpsoHardDisk=ntcHWUnitIpsoHardDisk, ntcHWUnitIprgBackplaneSeq9=ntcHWUnitIprgBackplaneSeq9, ntcHWUnitIprgSeqGplc2=ntcHWUnitIprgSeqGplc2, ntcHWUnitIprgBackplaneSeq18=ntcHWUnitIprgBackplaneSeq18, ntcHWUnitIprgEth2=ntcHWUnitIprgEth2, ntcHWSlot=ntcHWSlot, ntcHWUnitIprgTok=ntcHWUnitIprgTok, ntcHWUnitIprgV352=ntcHWUnitIprgV352, ntcHWUnitIprgFddi=ntcHWUnitIprgFddi, ntcHWUnitIprgBackplaneIP440=ntcHWUnitIprgBackplaneIP440, ntcHWUnitIprgX212=ntcHWUnitIprgX212, ntcHWUnitNcaStm1MultiModeOptical=ntcHWUnitNcaStm1MultiModeOptical, ntcHWUnitIprgEth1=ntcHWUnitIprgEth1, ntcHWUnitIprgChassisSeq18=ntcHWUnitIprgChassisSeq18, ntcHWUnitIpsoGigEth1=ntcHWUnitIpsoGigEth1, ntcHWUnitBbanSliuE1I120=ntcHWUnitBbanSliuE1I120, ntcHWUnitIprgBackplaneIP330=ntcHWUnitIprgBackplaneIP330, ntcHWUnitIprgBackplaneIP650=ntcHWUnitIprgBackplaneIP650, ntcHWUnitIanIpFwrdingUnit=ntcHWUnitIanIpFwrdingUnit, ntcHWUnitIpsoCryptoAccelerator=ntcHWUnitIpsoCryptoAccelerator, ntcHWUnitIprgEth4=ntcHWUnitIprgEth4, ntcHWUnitIprgChassisIP110=ntcHWUnitIprgChassisIP110, ntcHWUnitAny=ntcHWUnitAny, PYSNMP_MODULE_ID=ntcHWUnitTypeModule, ntcHWUnitBbanAlbaE3=ntcHWUnitBbanAlbaE3, ntcHWUnitIan4PortV35=ntcHWUnitIan4PortV35, ntcHWUnitBbanSliuAdslAdDmt=ntcHWUnitBbanSliuAdslAdDmt, ntcHWUnitIanASU=ntcHWUnitIanASU, ntcHWUnitBbanAlbaStm1Om=ntcHWUnitBbanAlbaStm1Om, ntcHWUnitIprgSeqGplc1=ntcHWUnitIprgSeqGplc1, ntcHWUnitNone=ntcHWUnitNone, ntcHWUnitIprgChassisIP330=ntcHWUnitIprgChassisIP330, ntcHWUnitIprgSeqCrp=ntcHWUnitIprgSeqCrp, ntcHWUnitIprgAtm=ntcHWUnitIprgAtm, ntcHWUnitBbanBackplane8=ntcHWUnitBbanBackplane8, ntcHWUnitIprgIsdn=ntcHWUnitIprgIsdn, ntcHWUnitBbanSliuAdslMiDmt=ntcHWUnitBbanSliuAdslMiDmt, ntcHWUnitIprgBackplaneIP530=ntcHWUnitIprgBackplaneIP530, ntcHWUnitIprgChassisIP440=ntcHWUnitIprgChassisIP440, ntcHWUnitIprgE1=ntcHWUnitIprgE1, ntcHWUnitIprgChassisIP530=ntcHWUnitIprgChassisIP530, ntcHWUnitIprgT1=ntcHWUnitIprgT1, ntcHWUnitIprgChassisSeq9=ntcHWUnitIprgChassisSeq9, ntcHWUnitBbanAlbaStm1Os=ntcHWUnitBbanAlbaStm1Os, ntcHWBackplane=ntcHWBackplane, ntcHWUnitIprgSeqWslc=ntcHWUnitIprgSeqWslc, ntcHWUnitIprgX211=ntcHWUnitIprgX211, ntcHWUnitIprgV351=ntcHWUnitIprgV351, ntcHWUnitIanNcaStm1Electrical=ntcHWUnitIanNcaStm1Electrical, ntcHWUnitIprgHssi=ntcHWUnitIprgHssi, ntcHWUnitIprgBackplaneIP110=ntcHWUnitIprgBackplaneIP110, ntcHWUnitIprgChassisIP730=ntcHWUnitIprgChassisIP730, ntcHWUnitBbanBackplane17=ntcHWUnitBbanBackplane17, ntcHWUnitTypeModule=ntcHWUnitTypeModule, ntcHWUnitNcaStm1SingleModeOptical=ntcHWUnitNcaStm1SingleModeOptical, ntcHWUnitIprgChassisIP650=ntcHWUnitIprgChassisIP650, ntcHWUnitIan4PortE1=ntcHWUnitIan4PortE1, ntcHWUnitIprgBackplaneIP730=ntcHWUnitIprgBackplaneIP730, ntcHWUnitIpsoSs7=ntcHWUnitIpsoSs7, ntcHWUnitIan4PortMsdsl=ntcHWUnitIan4PortMsdsl)
# region headers # * author: salaheddine.gassim@nutanix.com # * version: v1.0/10032020 - initial version # task_name: F5CreateNode # description: Create a node or nodes to be used inside a pool # input vars: vm_name, vm_ip, f5_node_description, f5_partition # output vars: n/a # endregion # region capture Calm variables api_server = "@@{fortigate_endpoint}@@" f5_login = "@@{fortigate.username}@@" f5_password = "@@{fortigate.secret}@@" api_server_port = 443 vm_name = "toto" vm_ip = "@@{address}@@" f5_node_description = "@@{awx_application_name}@@" + " node" f5_partition = "@@{f5_partition}@@" # endregion def f5_create_node(api_server, api_server_port, vm_name, vm_ip, f5_node_description, f5_partition): # region prepare api call api_server_endpoint = "/mgmt/tm/ltm/node/" url = "https://{}:{}{}".format( api_server, api_server_port, api_server_endpoint ) method = "POST" headers = { 'Content-Type': 'application/json' } # endregion create_payload = { "name": vm_name, "partition": f5_partition, "address": vm_ip, "connectionLimit": 0, "description": f5_node_description, "dynamicRatio": 1, "ephemeral": "false", "fqdn": { "addressFamily": "ipv4", "autopopulate": "disabled", "downInterval": 5, "interval": "3600" } } print(json.dumps(create_payload)) # region make api call # make the API call and capture the results in the variable called "resp" print("Making a {} API call to {}".format(method, url)) resp = urlreq(url, verb=method, auth='BASIC', params=json.dumps(create_payload), user=f5_login, passwd=f5_password, headers=headers, verify=False) # deal with the result/response if resp.ok: print("Request was successful. Status code: {}".format(resp.status_code)) result = json.loads(resp.content) print("node {} created".format(result['name'])) else: print("Request failed") print("Headers: {}".format(headers)) print('Status code: {}'.format(resp.status_code)) print('Response: {}'.format(json.dumps(resp.content))) exit(1) # endregion f5_create_node(api_server, api_server_port, vm_name, vm_ip, f5_node_description, f5_partition)
api_server = '@@{fortigate_endpoint}@@' f5_login = '@@{fortigate.username}@@' f5_password = '@@{fortigate.secret}@@' api_server_port = 443 vm_name = 'toto' vm_ip = '@@{address}@@' f5_node_description = '@@{awx_application_name}@@' + ' node' f5_partition = '@@{f5_partition}@@' def f5_create_node(api_server, api_server_port, vm_name, vm_ip, f5_node_description, f5_partition): api_server_endpoint = '/mgmt/tm/ltm/node/' url = 'https://{}:{}{}'.format(api_server, api_server_port, api_server_endpoint) method = 'POST' headers = {'Content-Type': 'application/json'} create_payload = {'name': vm_name, 'partition': f5_partition, 'address': vm_ip, 'connectionLimit': 0, 'description': f5_node_description, 'dynamicRatio': 1, 'ephemeral': 'false', 'fqdn': {'addressFamily': 'ipv4', 'autopopulate': 'disabled', 'downInterval': 5, 'interval': '3600'}} print(json.dumps(create_payload)) print('Making a {} API call to {}'.format(method, url)) resp = urlreq(url, verb=method, auth='BASIC', params=json.dumps(create_payload), user=f5_login, passwd=f5_password, headers=headers, verify=False) if resp.ok: print('Request was successful. Status code: {}'.format(resp.status_code)) result = json.loads(resp.content) print('node {} created'.format(result['name'])) else: print('Request failed') print('Headers: {}'.format(headers)) print('Status code: {}'.format(resp.status_code)) print('Response: {}'.format(json.dumps(resp.content))) exit(1) f5_create_node(api_server, api_server_port, vm_name, vm_ip, f5_node_description, f5_partition)
config = dict( model=dict( type='deeplabv3plus', params=dict( encoder=dict( type='deeplab_encoder', params=dict( resnet_encoder=dict( resnet_type='resnet50', include_conv5=True, batchnoram_trainable=False, pretrained=False, freeze_at=0, output_stride=16, ), aspp=dict( in_channel=2048, aspp_dim=256, atrous_rates=(6, 12, 18), add_image_level=True, use_bias=True, use_batchnorm=False, norm_type='batchnorm' ), ) ), decoder=dict( type='deeplab_decoder', params=dict( low_level_feature_channel=256, encoder_feature_channel=256, reduction_dim=48, decoder_dim=256, num_3x3conv=2, scale_factor=4.0, use_bias=True, use_batchnorm=False, norm_fn='batchnorm', ), ), loss=dict( cls_loss=dict( type='cross_entropy', params=dict( ignore_index=-100, reduction='mean', ), ) ), other=dict( use_softmax=True, num_classes=20, scale_factor=4 ) ) ), data=dict( train=dict( type='segdataloader', params=dict( image_dir='', mask_dir='', filenameList_path=None, training=True, image_format='jpg', mask_format='png', batch_size=2, num_workers=0, pin_memory=True, drop_last=False, ), ), test=dict( type='segdataloader', params=dict( image_dir='', mask_dir='', filenameList_path=None, training=False, image_format='jpg', mask_format='png', batch_size=1, num_workers=0, pin_memory=True, drop_last=False, ), ) ), optimizer=dict( type='sgd', params=dict( lr=0.01, momentum=0.9, weight_decay=0.0001 ) ), learning_rate=dict( type='multistep', params=dict( base_lr=0.01, steps=(60000, 80000), gamma=0.1, warmup_step=500, warmup_init_lr=0.01 / 3, ), ), train=dict( forward_times=1, num_iters=90000, ), test=dict( ), )
config = dict(model=dict(type='deeplabv3plus', params=dict(encoder=dict(type='deeplab_encoder', params=dict(resnet_encoder=dict(resnet_type='resnet50', include_conv5=True, batchnoram_trainable=False, pretrained=False, freeze_at=0, output_stride=16), aspp=dict(in_channel=2048, aspp_dim=256, atrous_rates=(6, 12, 18), add_image_level=True, use_bias=True, use_batchnorm=False, norm_type='batchnorm'))), decoder=dict(type='deeplab_decoder', params=dict(low_level_feature_channel=256, encoder_feature_channel=256, reduction_dim=48, decoder_dim=256, num_3x3conv=2, scale_factor=4.0, use_bias=True, use_batchnorm=False, norm_fn='batchnorm')), loss=dict(cls_loss=dict(type='cross_entropy', params=dict(ignore_index=-100, reduction='mean'))), other=dict(use_softmax=True, num_classes=20, scale_factor=4))), data=dict(train=dict(type='segdataloader', params=dict(image_dir='', mask_dir='', filenameList_path=None, training=True, image_format='jpg', mask_format='png', batch_size=2, num_workers=0, pin_memory=True, drop_last=False)), test=dict(type='segdataloader', params=dict(image_dir='', mask_dir='', filenameList_path=None, training=False, image_format='jpg', mask_format='png', batch_size=1, num_workers=0, pin_memory=True, drop_last=False))), optimizer=dict(type='sgd', params=dict(lr=0.01, momentum=0.9, weight_decay=0.0001)), learning_rate=dict(type='multistep', params=dict(base_lr=0.01, steps=(60000, 80000), gamma=0.1, warmup_step=500, warmup_init_lr=0.01 / 3)), train=dict(forward_times=1, num_iters=90000), test=dict())
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we ask that before distributing modified # versions of this software, you first contact the authors at # oof_manager@nist.gov. dirname = 'elasticity' if not DIM_3: clib = 'oof2engine' else: clib = 'oof3dengine' subdirs = ['aniso', 'iso', 'thermo', 'nonlinear', 'visco', 'largestrain'] cfiles = ['cijkl.C', 'elasticity.C'] hfiles = ['cijkl.h', 'elasticity.h'] #, 'homogeneous.h'] swigfiles = ['cijkl.swg', 'elasticity.swg'] #, 'homogeneous.swg'] swigpyfiles = ['cijkl.spy'] pyfiles = ['pyelasticity.py']
dirname = 'elasticity' if not DIM_3: clib = 'oof2engine' else: clib = 'oof3dengine' subdirs = ['aniso', 'iso', 'thermo', 'nonlinear', 'visco', 'largestrain'] cfiles = ['cijkl.C', 'elasticity.C'] hfiles = ['cijkl.h', 'elasticity.h'] swigfiles = ['cijkl.swg', 'elasticity.swg'] swigpyfiles = ['cijkl.spy'] pyfiles = ['pyelasticity.py']
BLACKLISTS_MAPPING = { 'blacklists_add': { 'resource': 'blacklists/add.json', 'docs': 'https://disqus.com/api/docs/blacklists/add/', 'methods': ['POST'], }, 'blacklists_list': { 'resource': 'blacklists/list.json', 'docs': 'https://disqus.com/api/docs/blacklists/list/', 'methods': ['GET'], }, 'blacklists_remove': { 'resource': 'blacklists/remove.json', 'docs': 'https://disqus.com/api/docs/blacklists/remove/', 'methods': ['POST'], } }
blacklists_mapping = {'blacklists_add': {'resource': 'blacklists/add.json', 'docs': 'https://disqus.com/api/docs/blacklists/add/', 'methods': ['POST']}, 'blacklists_list': {'resource': 'blacklists/list.json', 'docs': 'https://disqus.com/api/docs/blacklists/list/', 'methods': ['GET']}, 'blacklists_remove': {'resource': 'blacklists/remove.json', 'docs': 'https://disqus.com/api/docs/blacklists/remove/', 'methods': ['POST']}}
class Deck(object): def __init__(self, name, archetype=None, legality=None): self.name = name self.archetype = archetype self.legality = legality self.mainboard = {} self.sideboard = {} def addCardToMainboard(self, name, amount=1): if name not in self.mainboard: self.mainboard[name] = 0 self.mainboard[name] += amount def addCardToSideboard(self, name, amount=1): if name not in self.sideboard: self.sideboard[name] = 0 self.sideboard[name] += amount def ToDict(self): return { 'name': self.name, 'archetype': self.archetype, 'legality': self.legality, 'mainboard': self.mainboard, 'sideboard': self.sideboard }
class Deck(object): def __init__(self, name, archetype=None, legality=None): self.name = name self.archetype = archetype self.legality = legality self.mainboard = {} self.sideboard = {} def add_card_to_mainboard(self, name, amount=1): if name not in self.mainboard: self.mainboard[name] = 0 self.mainboard[name] += amount def add_card_to_sideboard(self, name, amount=1): if name not in self.sideboard: self.sideboard[name] = 0 self.sideboard[name] += amount def to_dict(self): return {'name': self.name, 'archetype': self.archetype, 'legality': self.legality, 'mainboard': self.mainboard, 'sideboard': self.sideboard}
API_ERROR_CODE = { -40101: 'SYSTEM', -40102: 'EXPT', -40103: 'NOMEMORY', -40104: 'INVEVT', -40105: 'CODE', -40106: 'INVINSTRUCT', -40107: 'FORBID', -40108: 'NOECHO', -40109: 'SYSBUSY', -40110: 'NODEVICE', -40201: 'OVERFLOW', -40202: 'TOOLONG', -40203: 'ENTRYEXIST', -40204: 'REFERED', -40205: 'ENTRYNOTEXIST', -40206: 'ENTRYCONFLIC', -40207: 'TABLEFULL', -40208: 'TABLEEMPTY', -40209: 'INVARG', -40210: 'INVFMT', -40211: 'LACKARG', -40212: 'INVBOOL', -40213: 'STRINGLEN', -40301: 'INVIP', -40302: 'INVGROUPIP', -40303: 'INVIPFMT', -40304: 'INVLOOPIP', -40305: 'INVMASK', -40306: 'INVGTW', -40307: 'GTWUNREACH', -40308: 'COMFLICTNET', -40309: 'INVNET', -40310: 'INVMACFMT', -40311: 'INVMACGROUP', -40312: 'INVMACZERO', -40313: 'INVMACBROAD', -40314: 'INVNETID', -40315: 'INVHOSTID', -40316: 'INDOMAIN', -40317: 'INVIPMASKPAIR', -40318: 'MACEMPTY', -40319: 'CONFLICTFDNS', -40320: 'CONFLICTSDNS', -40321: 'CONFLICTGATEWAY', -40401: 'UNAUTH', -40402: 'CODEUNAUTH', -40403: 'SESSIONTIMEOUT', -40404: 'SYSLOCKED', -40405: 'SYSRESET', -40406: 'SYSCLIENTFULL', -40407: 'SYSCLIENTNORMAL', -40408: 'SYSLOCKEDFOREVER', -50101: 'INVMTU', -50102: 'INVFDNSVR', -50103: 'INVSDNSVR', -50104: 'DNSMODE', -50105: 'NOLINK', -50106: 'NETMASKNOTMATCH', -50107: 'NETLANSAME', -50108: 'NETWANSAME', -50109: 'WANSPEED', -50110: 'ISPMODE', -50111: 'DIAGMODE', -50112: 'CONNECTMODE', -50113: 'LANIPMODE', -50114: 'HOSTNAME', -50115: 'PPPOEUSER', -50116: 'PPPOEPWD', -50117: 'INVTIME', -50118: 'PPPOEAC', -50119: 'PPPOESVR', -50120: 'INVPTC', -50121: 'WANTYPE', -50122: 'MACCLONECONFLICT', -50123: 'MANUALLANMODE', -50201: 'WLANPWDBLANK', -50202: 'INVSSIDLEN', -50203: 'INVSECAUTH', -50204: 'INVWEPAUTH', -50205: 'INVRADIUSAUTH', -50206: 'INVPSKAUTH', -50207: 'INVCIPHER', -50208: 'INVRADIUSLEN', -50209: 'INVPSKLEN', -50210: 'INVGKUPINTVAL', -50211: 'INVWEPKEYTYPE', -50212: 'INVWEPKEYIDX', -50213: 'INVWEPKEYLEN', -50214: 'INVACLDESCLEN', -50215: 'INVWPSPINLEN', -50216: 'INVAPMODE', -50217: 'INVWLSMODE', -50218: 'INVREGIONIDX', -50219: 'INVCHANWIDTH', -50220: 'INVRTSTHRSHLD', -50221: 'INVFRAGTHRSHLD', -50222: 'INVBCNINTVL', -50223: 'INVTXPWR', -50224: 'INVDTIMINTVL', -50225: 'INVWLANPWD', -50226: 'SSIDBROAD', -50227: 'APISOLATE', -50228: 'WIFISWITCH', -50229: 'MODEBANDWIDTHNOTMATCH', -50230: 'INVCHANNEL2G', -50231: 'INVCHANNEL5G', -50232: 'PSKNOTHEX', -50233: 'INVWDSAUTH', -50234: 'INVA34DETECT', -50235: 'INVTURBO', -50236: 'INVSECCHECK', -50237: 'INVSSIDEMPTY', -50238: 'INVCHNAMODEBAND', -50239: 'INVSSIDBLANK', -50240: 'INVSSIDCONFLICT', -50241: 'INVSSIDGUESTCONFLICT', -50301: 'INVLEASETIME', -50302: 'INVSTARTADDRPOOL', -50303: 'INVENDADDRPOOL', -50304: 'DHCPDGTW', -50305: 'GTWNOTLANSUBNET', -50306: 'DHCPDPRIDNS', -50307: 'DHCPDSNDDNS', -50308: 'DHCPDAUTO', -50401: 'HOSTNAMEEMP', -50402: 'OBJNAMEEMP', -50403: 'PLANNAMEEMP', -50404: 'RULENAMEEMP', -50405: 'OBJDOMAINALLEMP', -50406: 'HOSTALLEMPTY', -50407: 'OBJALLEMPTY', -50408: 'NOTLANSUBNET', -50409: 'LANSUBNET', -50410: 'LANIPCONFLIC', -50411: 'ILLEGALPORT', -50412: 'PORTRESERVED', -50413: 'INVPORT', -50414: 'INVPORTFMT', -50415: 'CONTROLPORTEMPY', -50416: 'DATAPORTALLEMPY', -50501: 'INVNASUSER', -50502: 'INVNASUSERLEN', -50503: 'INVNASPWD', -50504: 'INVNASPWDLEN', -50505: 'DELADMIN', -50506: 'EDITADMIN', -50507: 'INVPATHNULL', -50508: 'INVPATH', -50509: 'INVPATHLEN', -50510: 'PATHCONFLICT', -50701: 'SCANVAL', -50702: 'MSNAMENULL', -50703: 'MSNAME', -50704: 'MSNAMELEN', -50705: 'MSNAMECONFLICT', -50801: 'NAMEBLANK', -50802: 'INVNAME', -50803: 'INVNAMELEN', -50804: 'DDNSPWDLEN', -50805: 'DDNSPWD', -50806: 'DDNSPWDBLANK', -50901: 'INVDATE', -50902: 'INVTIMEZONE', -50903: 'FWERRNONE', -50904: 'FWEXCEPTION', -50905: 'FWRSAFAIL', -50906: 'FWHWIDNOTMATCH', -50907: 'FWZONECODENOTMATCH', -50908: 'FWVENDORIDNOTMATCH', -50909: 'FWNOTINBLANDFL', -50910: 'FWNEWEST', -50911: 'FWNOTSUPPORTED', -50914: 'MD5', -50915: 'DESENCODE', -50916: 'DESDECODE', -50917: 'CHIPID', -50918: 'FLASHID', -50919: 'PRODID', -50920: 'LANGID', -50921: 'SUBVER', -50922: 'OEMID', -50923: 'COUNTRYID', -50924: 'FILETOOBIG', -50925: 'PWDERROR', -50926: 'PWDBLANK', -50927: 'INVPWDLEN', -50928: 'INVKEY', -50929: 'INVLGPWDLEN', -50930: 'INLGVALCHAR', -50931: 'INLGVALOLDSAME', -50932: 'HASINITPWD', -50933: 'CHPWDDIF', -51001: 'FTPNAMENULL', -51002: 'FTPNAME', -51003: 'FTPNAMELEN', -51004: 'FTPNAMECONFLICT', -51005: 'FTPNAMEINVCHR', -51006: 'FTPNAMEINVSTARTENDCHR', -51101: 'APPNONE', -51102: 'APPHAS', -51103: 'APPNOT', -51104: 'INSFAIL', -51105: 'UNINSFAIL', -51301: 'INVSPEEDCFG', -51302: 'INVTIMEOUTCFG', -51303: 'INVLIMITTYPE', -51304: 'INVMON', -51305: 'INVTUE', -51306: 'INVWED', -51307: 'INVTHU', -51308: 'INVFRI', -51309: 'INVSAT', -51310: 'INVSUN', -51311: 'INVPERIODBLANK', -51312: 'INVPERIODTOOLONG', -51313: 'INVBEGINTIME', -51314: 'INVENDTIME', -51315: 'INVBEGINENDTIME', -51316: 'INVREPEATBLANK', -51317: 'INVLIMITTIMEREPEAT', -51401: 'NOTLANWANNET', -51402: 'BINDIPUSED', -51501: 'TIMEPERIODBLANK', -51502: 'TIMEPERIODTOOLONG', -51503: 'INVTLBEGINTIME', -51504: 'INVTLEENDTIME', -51505: 'INVTLBEGINENDTIME', -51506: 'TLREPEATBLANK', -51507: 'LIMITTIMEREPEAT', -51508: 'LIMITTIMEILLEGAL', -51509: 'DOMAINILLEGAL', -51601: 'PLCNAMEEMPTY', -51602: 'ADDEXT', -51603: 'KICKEXT', -51604: 'FWEXT', -51605: 'UPGRADEEXT', -51606: 'CHANNEL', -51701: 'GETWEATHERFAILED', -51801: 'TSTIMEPERIODBLANK', -51802: 'TSTIMEPERIODTOOLONG', -51803: 'TSINVTLBEGINTIME', -51804: 'TSINVTLEENDTIME', -51805: 'TSINVTLBEGINENDTIME', -51806: 'TSTLREPEATBLANK', -51807: 'TSLIMITTIMEREPEAT', -51808: 'TSENABLE'}
api_error_code = {-40101: 'SYSTEM', -40102: 'EXPT', -40103: 'NOMEMORY', -40104: 'INVEVT', -40105: 'CODE', -40106: 'INVINSTRUCT', -40107: 'FORBID', -40108: 'NOECHO', -40109: 'SYSBUSY', -40110: 'NODEVICE', -40201: 'OVERFLOW', -40202: 'TOOLONG', -40203: 'ENTRYEXIST', -40204: 'REFERED', -40205: 'ENTRYNOTEXIST', -40206: 'ENTRYCONFLIC', -40207: 'TABLEFULL', -40208: 'TABLEEMPTY', -40209: 'INVARG', -40210: 'INVFMT', -40211: 'LACKARG', -40212: 'INVBOOL', -40213: 'STRINGLEN', -40301: 'INVIP', -40302: 'INVGROUPIP', -40303: 'INVIPFMT', -40304: 'INVLOOPIP', -40305: 'INVMASK', -40306: 'INVGTW', -40307: 'GTWUNREACH', -40308: 'COMFLICTNET', -40309: 'INVNET', -40310: 'INVMACFMT', -40311: 'INVMACGROUP', -40312: 'INVMACZERO', -40313: 'INVMACBROAD', -40314: 'INVNETID', -40315: 'INVHOSTID', -40316: 'INDOMAIN', -40317: 'INVIPMASKPAIR', -40318: 'MACEMPTY', -40319: 'CONFLICTFDNS', -40320: 'CONFLICTSDNS', -40321: 'CONFLICTGATEWAY', -40401: 'UNAUTH', -40402: 'CODEUNAUTH', -40403: 'SESSIONTIMEOUT', -40404: 'SYSLOCKED', -40405: 'SYSRESET', -40406: 'SYSCLIENTFULL', -40407: 'SYSCLIENTNORMAL', -40408: 'SYSLOCKEDFOREVER', -50101: 'INVMTU', -50102: 'INVFDNSVR', -50103: 'INVSDNSVR', -50104: 'DNSMODE', -50105: 'NOLINK', -50106: 'NETMASKNOTMATCH', -50107: 'NETLANSAME', -50108: 'NETWANSAME', -50109: 'WANSPEED', -50110: 'ISPMODE', -50111: 'DIAGMODE', -50112: 'CONNECTMODE', -50113: 'LANIPMODE', -50114: 'HOSTNAME', -50115: 'PPPOEUSER', -50116: 'PPPOEPWD', -50117: 'INVTIME', -50118: 'PPPOEAC', -50119: 'PPPOESVR', -50120: 'INVPTC', -50121: 'WANTYPE', -50122: 'MACCLONECONFLICT', -50123: 'MANUALLANMODE', -50201: 'WLANPWDBLANK', -50202: 'INVSSIDLEN', -50203: 'INVSECAUTH', -50204: 'INVWEPAUTH', -50205: 'INVRADIUSAUTH', -50206: 'INVPSKAUTH', -50207: 'INVCIPHER', -50208: 'INVRADIUSLEN', -50209: 'INVPSKLEN', -50210: 'INVGKUPINTVAL', -50211: 'INVWEPKEYTYPE', -50212: 'INVWEPKEYIDX', -50213: 'INVWEPKEYLEN', -50214: 'INVACLDESCLEN', -50215: 'INVWPSPINLEN', -50216: 'INVAPMODE', -50217: 'INVWLSMODE', -50218: 'INVREGIONIDX', -50219: 'INVCHANWIDTH', -50220: 'INVRTSTHRSHLD', -50221: 'INVFRAGTHRSHLD', -50222: 'INVBCNINTVL', -50223: 'INVTXPWR', -50224: 'INVDTIMINTVL', -50225: 'INVWLANPWD', -50226: 'SSIDBROAD', -50227: 'APISOLATE', -50228: 'WIFISWITCH', -50229: 'MODEBANDWIDTHNOTMATCH', -50230: 'INVCHANNEL2G', -50231: 'INVCHANNEL5G', -50232: 'PSKNOTHEX', -50233: 'INVWDSAUTH', -50234: 'INVA34DETECT', -50235: 'INVTURBO', -50236: 'INVSECCHECK', -50237: 'INVSSIDEMPTY', -50238: 'INVCHNAMODEBAND', -50239: 'INVSSIDBLANK', -50240: 'INVSSIDCONFLICT', -50241: 'INVSSIDGUESTCONFLICT', -50301: 'INVLEASETIME', -50302: 'INVSTARTADDRPOOL', -50303: 'INVENDADDRPOOL', -50304: 'DHCPDGTW', -50305: 'GTWNOTLANSUBNET', -50306: 'DHCPDPRIDNS', -50307: 'DHCPDSNDDNS', -50308: 'DHCPDAUTO', -50401: 'HOSTNAMEEMP', -50402: 'OBJNAMEEMP', -50403: 'PLANNAMEEMP', -50404: 'RULENAMEEMP', -50405: 'OBJDOMAINALLEMP', -50406: 'HOSTALLEMPTY', -50407: 'OBJALLEMPTY', -50408: 'NOTLANSUBNET', -50409: 'LANSUBNET', -50410: 'LANIPCONFLIC', -50411: 'ILLEGALPORT', -50412: 'PORTRESERVED', -50413: 'INVPORT', -50414: 'INVPORTFMT', -50415: 'CONTROLPORTEMPY', -50416: 'DATAPORTALLEMPY', -50501: 'INVNASUSER', -50502: 'INVNASUSERLEN', -50503: 'INVNASPWD', -50504: 'INVNASPWDLEN', -50505: 'DELADMIN', -50506: 'EDITADMIN', -50507: 'INVPATHNULL', -50508: 'INVPATH', -50509: 'INVPATHLEN', -50510: 'PATHCONFLICT', -50701: 'SCANVAL', -50702: 'MSNAMENULL', -50703: 'MSNAME', -50704: 'MSNAMELEN', -50705: 'MSNAMECONFLICT', -50801: 'NAMEBLANK', -50802: 'INVNAME', -50803: 'INVNAMELEN', -50804: 'DDNSPWDLEN', -50805: 'DDNSPWD', -50806: 'DDNSPWDBLANK', -50901: 'INVDATE', -50902: 'INVTIMEZONE', -50903: 'FWERRNONE', -50904: 'FWEXCEPTION', -50905: 'FWRSAFAIL', -50906: 'FWHWIDNOTMATCH', -50907: 'FWZONECODENOTMATCH', -50908: 'FWVENDORIDNOTMATCH', -50909: 'FWNOTINBLANDFL', -50910: 'FWNEWEST', -50911: 'FWNOTSUPPORTED', -50914: 'MD5', -50915: 'DESENCODE', -50916: 'DESDECODE', -50917: 'CHIPID', -50918: 'FLASHID', -50919: 'PRODID', -50920: 'LANGID', -50921: 'SUBVER', -50922: 'OEMID', -50923: 'COUNTRYID', -50924: 'FILETOOBIG', -50925: 'PWDERROR', -50926: 'PWDBLANK', -50927: 'INVPWDLEN', -50928: 'INVKEY', -50929: 'INVLGPWDLEN', -50930: 'INLGVALCHAR', -50931: 'INLGVALOLDSAME', -50932: 'HASINITPWD', -50933: 'CHPWDDIF', -51001: 'FTPNAMENULL', -51002: 'FTPNAME', -51003: 'FTPNAMELEN', -51004: 'FTPNAMECONFLICT', -51005: 'FTPNAMEINVCHR', -51006: 'FTPNAMEINVSTARTENDCHR', -51101: 'APPNONE', -51102: 'APPHAS', -51103: 'APPNOT', -51104: 'INSFAIL', -51105: 'UNINSFAIL', -51301: 'INVSPEEDCFG', -51302: 'INVTIMEOUTCFG', -51303: 'INVLIMITTYPE', -51304: 'INVMON', -51305: 'INVTUE', -51306: 'INVWED', -51307: 'INVTHU', -51308: 'INVFRI', -51309: 'INVSAT', -51310: 'INVSUN', -51311: 'INVPERIODBLANK', -51312: 'INVPERIODTOOLONG', -51313: 'INVBEGINTIME', -51314: 'INVENDTIME', -51315: 'INVBEGINENDTIME', -51316: 'INVREPEATBLANK', -51317: 'INVLIMITTIMEREPEAT', -51401: 'NOTLANWANNET', -51402: 'BINDIPUSED', -51501: 'TIMEPERIODBLANK', -51502: 'TIMEPERIODTOOLONG', -51503: 'INVTLBEGINTIME', -51504: 'INVTLEENDTIME', -51505: 'INVTLBEGINENDTIME', -51506: 'TLREPEATBLANK', -51507: 'LIMITTIMEREPEAT', -51508: 'LIMITTIMEILLEGAL', -51509: 'DOMAINILLEGAL', -51601: 'PLCNAMEEMPTY', -51602: 'ADDEXT', -51603: 'KICKEXT', -51604: 'FWEXT', -51605: 'UPGRADEEXT', -51606: 'CHANNEL', -51701: 'GETWEATHERFAILED', -51801: 'TSTIMEPERIODBLANK', -51802: 'TSTIMEPERIODTOOLONG', -51803: 'TSINVTLBEGINTIME', -51804: 'TSINVTLEENDTIME', -51805: 'TSINVTLBEGINENDTIME', -51806: 'TSTLREPEATBLANK', -51807: 'TSLIMITTIMEREPEAT', -51808: 'TSENABLE'}
# model settings # norm_cfg = dict(type='SyncBN', requires_grad=True) norm_cfg = dict(type='BN', requires_grad=True) # decide data directory by home name # please remove these lines and directly set data_root for your training # import os # if '/home/feng' in os.getcwd(): # pretrain_path = '/home/feng/work_mmseg/checkpoints/moco_r50_200ep_trans.pth' # elif '/home/cwei' in os.getcwd(): # pretrain_path = '/home/cwei/feng/work_mmseg/checkpoints/moco_r50_200ep_trans.pth' # else: # raise ValueError('unknown data directory') model = dict( type='EncoderDecoder', pretrained='/home/feng/work_mmseg/checkpoints/moco_r50_200ep_trans.pth', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), dilations=(1, 1, 1, 2), strides=(1, 2, 2, 1), norm_cfg=norm_cfg, norm_eval=False, style='pytorch', contract_dilation=True), decode_head=dict( type='ASPPHead', in_channels=2048, in_index=3, channels=512, dilations=(1, 6, 12, 18), dropout_ratio=0.1, num_classes=19, norm_cfg=norm_cfg, align_corners=False, loss_decode=dict( type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), # auxiliary_head=dict( # type='FCNHead', # in_channels=1024, # in_index=2, # channels=256, # num_convs=1, # concat_input=False, # dropout_ratio=0.1, # num_classes=19, # norm_cfg=norm_cfg, # align_corners=False, # loss_decode=dict( # type='CrossEntropyLoss', use_sigmoid=False, loss_weight=0.4)), auxiliary_head=None, # model training and testing settings train_cfg=dict(), test_cfg=dict(mode='whole'))
norm_cfg = dict(type='BN', requires_grad=True) model = dict(type='EncoderDecoder', pretrained='/home/feng/work_mmseg/checkpoints/moco_r50_200ep_trans.pth', backbone=dict(type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), dilations=(1, 1, 1, 2), strides=(1, 2, 2, 1), norm_cfg=norm_cfg, norm_eval=False, style='pytorch', contract_dilation=True), decode_head=dict(type='ASPPHead', in_channels=2048, in_index=3, channels=512, dilations=(1, 6, 12, 18), dropout_ratio=0.1, num_classes=19, norm_cfg=norm_cfg, align_corners=False, loss_decode=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), auxiliary_head=None, train_cfg=dict(), test_cfg=dict(mode='whole'))
__MAJOR__ = "0" __MINOR__ = "0" __PATCH__ = "0" __SUFFIX__ = "dev" __version__ = "{}.{}.{}".format(__MAJOR__, __MINOR__, __PATCH__) if __SUFFIX__: __version__ = "{}_{}".format(__version__, __SUFFIX__)
__major__ = '0' __minor__ = '0' __patch__ = '0' __suffix__ = 'dev' __version__ = '{}.{}.{}'.format(__MAJOR__, __MINOR__, __PATCH__) if __SUFFIX__: __version__ = '{}_{}'.format(__version__, __SUFFIX__)
def sift_up(heap, index) -> int: if index == 1: return index parent_idx = index // 2 if heap[parent_idx] < heap[index]: heap[index], heap[parent_idx] = heap[parent_idx], heap[index] index = sift_up(heap, parent_idx) return index
def sift_up(heap, index) -> int: if index == 1: return index parent_idx = index // 2 if heap[parent_idx] < heap[index]: (heap[index], heap[parent_idx]) = (heap[parent_idx], heap[index]) index = sift_up(heap, parent_idx) return index
user= input('what are you doing?') print(user.upper()) print(user.lower()) print(user.swapcase())
user = input('what are you doing?') print(user.upper()) print(user.lower()) print(user.swapcase())
''' Write a Python program to get the difference between a given number and 17, if the number is greater than 17 return double the absolute difference. ''' def difference(num): const = 17 if num > const: print(str(abs(num - const) * 2)) else: print(str(abs(num - const))) difference(22) difference(14)
""" Write a Python program to get the difference between a given number and 17, if the number is greater than 17 return double the absolute difference. """ def difference(num): const = 17 if num > const: print(str(abs(num - const) * 2)) else: print(str(abs(num - const))) difference(22) difference(14)
class Sweepstakes_Stack_Manager: def __init__(self, stack): self.sweepstakes_stack_manager = Sweepstakes_Stack_Manager self.stack = stack def insert_sweepstakes(sweepstakes): pass def get_sweepstakes(): Sweepstake
class Sweepstakes_Stack_Manager: def __init__(self, stack): self.sweepstakes_stack_manager = Sweepstakes_Stack_Manager self.stack = stack def insert_sweepstakes(sweepstakes): pass def get_sweepstakes(): Sweepstake
# File: skybox_consts.py # # Copyright (c) 2020 Splunk Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under # the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, # either express or implied. See the License for the specific language governing permissions # and limitations under the License. SKYBOX_WSDL = "{base_url}/skybox/webservice/jaxws/{service}?wsdl" SKYBOX_CONFIG_BASE_URL = "base_url" SKYBOX_CONFIG_USERNAME = "username" SKYBOX_CONFIG_PASSWORD = "password" SKYBOX_SERVICE_ADMINISTRATION = "administration" SKYBOX_SERVICE_FIREWALL = "firewall" SKYBOX_SERVICE_NETWORK = "network" SKYBOX_SERVICE_TICKETS = "tickets" SKYBOX_SERVICE_VULNERABILITIES = "vulnerabilities" SKYBOX_ROUTE_OUTPUT_TYPE_HTML = 0 SKYBOX_ROUTE_OUTPUT_TYPE_XML = 1
skybox_wsdl = '{base_url}/skybox/webservice/jaxws/{service}?wsdl' skybox_config_base_url = 'base_url' skybox_config_username = 'username' skybox_config_password = 'password' skybox_service_administration = 'administration' skybox_service_firewall = 'firewall' skybox_service_network = 'network' skybox_service_tickets = 'tickets' skybox_service_vulnerabilities = 'vulnerabilities' skybox_route_output_type_html = 0 skybox_route_output_type_xml = 1
# declare the list of users lst = ['joe', 'sue', 'hani', 'sophie'] # # complexity: time and space # O(n) O(40000) # O(1) # O(log(n)) # get user input # login = input('Enter your id: ') # login.lower() # check if user exists in list # method 1 # for item in lst: # if item == login: # print(f'Login: {login} \ # You are in! \ # Done.') # break # else: # print(f'Login: {login} \nUser unknown. \nDone.') # print the result # method 2 # if login in lst: # print(f'Login: {login} \nYou are in! \nDone.') # else: # print(f'Login: {login} \nUser unknown. \nDone.') # method 3 # time complexity: O(1) # count the occurence of login in lst # if lst.count(login) == 1: # print(f'Login: {login} \nYou are in! \nDone.') # else: # print(f'Login: {login} \nUser unknown. \nDone.') # allow new users to sign up # get the new user id user_id = input('Enter new user id: ') # add it to the list lst.append(user_id) # print the list print(f'A new user, {user_id} has just been added. ')
lst = ['joe', 'sue', 'hani', 'sophie'] user_id = input('Enter new user id: ') lst.append(user_id) print(f'A new user, {user_id} has just been added. ')
__title__ = 'compas_rpc_example' __description__ = 'examples for using cpython functions in gh/rhino via compas_rpc' __url__ = 'https://github.com/yijiangh/compas_rpc_examples' __version__ = '0.0.1' __author__ = 'Yijiang Huang' __author_email__ = 'yijiangh@mit.edu' __license__ = 'MIT license' __copyright__ = 'Copyright 2019 Yijiang Huang' __all__ = ['__author__', '__author_email__', '__copyright__', '__description__', '__license__', '__title__', '__url__', '__version__']
__title__ = 'compas_rpc_example' __description__ = 'examples for using cpython functions in gh/rhino via compas_rpc' __url__ = 'https://github.com/yijiangh/compas_rpc_examples' __version__ = '0.0.1' __author__ = 'Yijiang Huang' __author_email__ = 'yijiangh@mit.edu' __license__ = 'MIT license' __copyright__ = 'Copyright 2019 Yijiang Huang' __all__ = ['__author__', '__author_email__', '__copyright__', '__description__', '__license__', '__title__', '__url__', '__version__']
def sort_scores(unsorted_scores, highest_possible_score): # initialize a new list score_count to the size of highest_possible_score plus one score_count = [None] * (highest_possible_score + 1) # initialize sorted_scores to an empty list sorted_scores = [] # loop through every score in unsorted_scores for score in unsorted_scores: # if item at score index of score_count is not None if score_count[score] is not None: # increment the item score_count[score] += 1 # otherwise, else: # set the score index of score_count to one score_count[score] = 1 # loop through every index of score_count backwards for index in range(len(score_count), -1, -1): # if score_count[index] is not None: if score_count[index - 1] is not None: # append index to sorted_scores score_count[index] number of times for _ in range(score_count[index - 1]): sorted_scores.append(index - 1) # return sorted_scores return sorted_scores print(sort_scores([37, 89, 41, 65, 91, 53], 100)) print(sort_scores([20, 10, 30, 30, 10, 20], 100))
def sort_scores(unsorted_scores, highest_possible_score): score_count = [None] * (highest_possible_score + 1) sorted_scores = [] for score in unsorted_scores: if score_count[score] is not None: score_count[score] += 1 else: score_count[score] = 1 for index in range(len(score_count), -1, -1): if score_count[index - 1] is not None: for _ in range(score_count[index - 1]): sorted_scores.append(index - 1) return sorted_scores print(sort_scores([37, 89, 41, 65, 91, 53], 100)) print(sort_scores([20, 10, 30, 30, 10, 20], 100))
# Poisson Distribution II lambda_1, lambda_2 = map(float, input().split()) cost_1 = 160 + 40 * (lambda_1 + lambda_1 ** 2) cost_2 = 128 + 40 * (lambda_2 + lambda_2 ** 2) print(f'{cost_1:.3f}') print(f'{cost_2:.3f}')
(lambda_1, lambda_2) = map(float, input().split()) cost_1 = 160 + 40 * (lambda_1 + lambda_1 ** 2) cost_2 = 128 + 40 * (lambda_2 + lambda_2 ** 2) print(f'{cost_1:.3f}') print(f'{cost_2:.3f}')
def helloworld(): print("Hello, world!") def board(): pion = '|'.join([' ']*3) poziom = '\n{}\n'.format('-'*8) print(pion,pion,pion,sep=poziom) def tictactoe(): pion = 'H'.join([' | | ']*3) + '\n' poziom ='H'.join(['--+--+--']*3) + '\n' blok = pion.join([poziom]*3) separator = '+'.join(['='*8]*3) + '\n' print(blok,blok,blok,sep=separator) def multiples(): for i in range (0,1002): if i%5==0: print(i,end=' ') elif i%3==0: print(i,end=' ') i=i+1 def collatz(number): if number%2==0: print(number, "->", end=' '), number=number/2 collatz(number) elif number%2==1: if number==1: print(number) else: print(number, "->", end=' '), number=3*number+1 collatz(number) def ftoc(temp): celsius = (temp - 32) * (5/9) print(celsius) ftoc(88)
def helloworld(): print('Hello, world!') def board(): pion = '|'.join([' '] * 3) poziom = '\n{}\n'.format('-' * 8) print(pion, pion, pion, sep=poziom) def tictactoe(): pion = 'H'.join([' | | '] * 3) + '\n' poziom = 'H'.join(['--+--+--'] * 3) + '\n' blok = pion.join([poziom] * 3) separator = '+'.join(['=' * 8] * 3) + '\n' print(blok, blok, blok, sep=separator) def multiples(): for i in range(0, 1002): if i % 5 == 0: print(i, end=' ') elif i % 3 == 0: print(i, end=' ') i = i + 1 def collatz(number): if number % 2 == 0: (print(number, '->', end=' '),) number = number / 2 collatz(number) elif number % 2 == 1: if number == 1: print(number) else: (print(number, '->', end=' '),) number = 3 * number + 1 collatz(number) def ftoc(temp): celsius = (temp - 32) * (5 / 9) print(celsius) ftoc(88)
SERVICE_NAME = "org.bluez" AGENT_IFACE = SERVICE_NAME + ".Agent1" ADAPTER_IFACE = SERVICE_NAME + ".Adapter1" DEVICE_IFACE = SERVICE_NAME + ".Device1" OBJECT_IFACE = "org.freedesktop.DBus.ObjectManager" PROPERTIES_IFACE = "org.freedesktop.DBus.Properties" INTROSPECT_IFACE = "org.freedesktop.DBus.Introspectable"
service_name = 'org.bluez' agent_iface = SERVICE_NAME + '.Agent1' adapter_iface = SERVICE_NAME + '.Adapter1' device_iface = SERVICE_NAME + '.Device1' object_iface = 'org.freedesktop.DBus.ObjectManager' properties_iface = 'org.freedesktop.DBus.Properties' introspect_iface = 'org.freedesktop.DBus.Introspectable'
# Smallest in v2 b=int(input()) while 1: b+=1 if 4==len(set(str(b))): print(b) break
b = int(input()) while 1: b += 1 if 4 == len(set(str(b))): print(b) break
class BuilderStepError(Exception): pass class HttpAdapterError(Exception): pass
class Buildersteperror(Exception): pass class Httpadaptererror(Exception): pass
#!/usr/bin/env python # coding: utf-8 # In[277]: ############################ # Traffic Light Checker # # C. Morgenstern | 16.07.21 ############################ # In[278]: # prompt user for input sequence inp = input('Traffic light sequence: ') # In[279]: # specify traffic light codes code = ['R', 'Y', 'G', 'P', 'C', 'X'] # In[281]: # validate input # check for spaces in sequence, if none ERROR # check for upper case letters, if none ERROR if (len(max(inp.split(' '), key=len)) != 1) or (inp.isupper() == False): print("ERROR") # check if numerical values are present, if ERROR elif any(s.isdigit() for s in inp): print("ERROR") else: # convert string to list and remove whitespace seq =[x for x in inp if x.strip()] # check for length of sequence, if 0 or > 15 ERROR if len(seq) == 0 or len(seq) > 15: print("ERROR") # check if sequence starts with "R", if not REJECT elif seq[0] != "R" : print("REJECT") else: for i in range(len(seq)-1): # sequence must always contain one of the letters specified in code, otherwise REJECT if seq[i] not in code: print("REJECT") break # sequence must not contain any repetitions, otherwise REJECT elif seq[i] == seq[i+1]: print("REJECT") break # flash lights P and C need to be flanked by R lights, otherwise REJECT elif (seq[i] == "P") and (seq[i-1] != "R") and (seq[i+1] != "R"): print("REJECT") break elif (seq[i] == "C") and (seq[i-1] != "R") and (seq[i+1] != "R"): print("REJECT") break # red light needs to be followed by green light or flash sequence, otherwise REJECT elif (seq[i] == "R") and (seq[i+1] != "G") and (seq[i+1] != "C") and (seq[i+1] != "P"): print("REJECT") break # green light needs to be followed by yellow light, otherwise REJECT elif (seq[i] == "G") and (seq[i+1] != "Y"): print("REJECT") break i =+1 # if sequence meets all requirements else: print("ACCEPT") # In[ ]:
inp = input('Traffic light sequence: ') code = ['R', 'Y', 'G', 'P', 'C', 'X'] if len(max(inp.split(' '), key=len)) != 1 or inp.isupper() == False: print('ERROR') elif any((s.isdigit() for s in inp)): print('ERROR') else: seq = [x for x in inp if x.strip()] if len(seq) == 0 or len(seq) > 15: print('ERROR') elif seq[0] != 'R': print('REJECT') else: for i in range(len(seq) - 1): if seq[i] not in code: print('REJECT') break elif seq[i] == seq[i + 1]: print('REJECT') break elif seq[i] == 'P' and seq[i - 1] != 'R' and (seq[i + 1] != 'R'): print('REJECT') break elif seq[i] == 'C' and seq[i - 1] != 'R' and (seq[i + 1] != 'R'): print('REJECT') break elif seq[i] == 'R' and seq[i + 1] != 'G' and (seq[i + 1] != 'C') and (seq[i + 1] != 'P'): print('REJECT') break elif seq[i] == 'G' and seq[i + 1] != 'Y': print('REJECT') break i = +1 else: print('ACCEPT')
# -*- coding: utf-8 -*- VERSION = (0, 5, 0, "dev0") __version__ = '.'.join(str(x) for x in VERSION) __all__ = []
version = (0, 5, 0, 'dev0') __version__ = '.'.join((str(x) for x in VERSION)) __all__ = []
london = [[0, [], [], [], []], [1, [8, 9], [58, 46], [46], []], [2, [10, 20], [], [], []], [3, [4, 11, 12], [22, 23], [], []], [4, [3, 13], [], [], []], [5, [15, 16], [], [], []], [6, [7, 29], [], [], []], [7, [6, 17], [42], [], []], [8, [1, 18, 19], [], [], []], [9, [1, 19, 20], [], [], []], [10, [2, 11, 21, 34], [], [], []], [11, [3, 10, 22], [], [], []], [12, [3, 23], [], [], []], [13, [4, 23, 24], [14, 23, 52], [46, 67, 89], []], [14, [15, 25], [13, 15], [], []], [15, [5, 14, 16, 26, 28], [14, 29], [], []], [16, [5, 15, 28, 29], [], [], []], [17, [7, 29, 30, 42], [], [], []], [18, [8, 31, 42], [], [], []], [19, [8, 9, 32], [], [], []], [20, [2, 9, 33], [], [], []], [21, [10, 33], [], [], []], [22, [11, 23, 34, 35], [3, 23, 34, 65], [], []], [23, [12, 13, 22, 37], [3, 13, 22, 67], [], []], [24, [13, 37, 38], [], [], []], [25, [14, 38, 39], [], [], []], [26, [15, 27, 39], [], [], []], [27, [26, 28, 40], [], [], []], [28, [15, 16, 27, 41], [], [], []], [29, [6, 16, 17, 41, 42], [15, 41, 42, 55], [], []], [30, [17, 42], [], [], []], [31, [18, 43, 44], [], [], []], [32, [19, 33, 44, 45], [], [], []], [33, [20, 21, 32, 46], [], [], []], [34, [10, 22, 47, 48], [22, 46, 63], [], []], [35, [22, 36, 48, 65], [], [], []], [36, [35, 37, 49], [], [], []], [37, [23, 24, 36, 50], [], [], []], [38, [24, 25, 50, 51], [], [], []], [39, [25, 26, 51, 52], [], [], []], [40, [27, 41, 52, 53], [], [], []], [41, [28, 29, 40, 54], [15, 29, 52, 87], [], []], [42, [29, 30, 56, 72], [7, 29, 72], [], []], [43, [18, 31, 57], [], [], []], [44, [31, 32, 58], [], [], []], [45, [32, 46, 58, 59, 60], [], [], []], [46, [33, 45, 47, 61], [1, 34, 58, 78], [1, 13, 74, 79], []], [47, [34, 46, 62], [], [], []], [48, [34, 35, 62, 63], [], [], []], [49, [36, 50, 66], [], [], []], [50, [37, 38, 49], [], [], []], [51, [38, 39, 52, 67, 68], [], [], []], [52, [39, 40, 51, 69], [13, 41, 67, 86], [], []], [53, [40, 54, 69], [], [], []], [54, [41, 53, 55, 70], [], [], []], [55, [54, 71], [29, 89], [], []], [56, [42, 91], [], [], []], [57, [43, 58, 73], [], [], []], [58, [44, 45, 57, 59, 74], [1, 46, 74, 77], [], []], [59, [45, 58, 75, 76], [], [], []], [60, [45, 61, 76], [], [], []], [61, [46, 60, 62, 76, 78], [], [], []], [62, [47, 48, 61, 79], [], [], []], [63, [48, 64, 79, 80], [34, 65, 79, 100], [], []], [64, [63, 65, 80], [], [], []], [65, [35, 64, 66, 82], [22, 63, 67, 82], [], []], [66, [49, 65, 67, 82], [], [], []], [67, [51, 66, 68, 84], [23, 52, 65, 82, 102], [13, 79, 89, 111], []], [68, [51, 67, 69, 85], [], [], []], [69, [52, 53, 68, 86], [], [], []], [70, [54, 71, 87], [], [], []], [71, [55, 70, 72, 89], [], [], []], [72, [42, 71, 90, 91], [42, 105, 107], [], []], [73, [57, 74, 92], [], [], []], [74, [58, 73, 92], [58, 94], [46], []], [75, [58, 59, 74, 94], [], [], []], [76, [59, 60, 61, 77], [], [], []], [77, [76, 78, 95, 96], [58, 78, 94, 124], [], []], [78, [61, 77, 79, 97], [46, 77, 79], [], []], [79, [62, 63, 78, 98], [63, 78], [46, 67, 93, 111], []], [80, [63, 99, 100], [], [], []], [81, [64, 82, 100], [], [], []], [82, [65, 66, 81, 101], [65, 67, 100, 140], [], []], [83, [101, 102], [], [], []], [84, [67, 85], [], [], []], [85, [68, 84, 103], [], [], []], [86, [69, 103, 104], [52, 87, 102, 116], [], []], [87, [70, 88], [41, 86, 105], [], []], [88, [87, 89, 117], [], [], []], [89, [71, 88, 105], [55, 105], [13, 67, 128, 140], []], [90, [72, 91, 105], [], [], []], [91, [56, 72, 90, 105, 107], [], [], []], [92, [73, 74, 93], [], [], []], [93, [92, 94], [94], [79], []], [94, [75, 93, 95], [74, 93, 77], [], []], [95, [77, 94, 122], [], [], []], [96, [77, 97, 109], [], [], []], [97, [78, 96, 98, 109], [], [], []], [98, [79, 97, 99, 110], [], [], []], [99, [80, 98, 110, 112], [], [], []], [100, [80, 81, 101, 112, 113], [63, 82, 111], [], []], [101, [82, 83, 100, 114], [], [], []], [102, [83, 103, 115], [67, 86, 127], [], []], [103, [85, 86, 102], [], [], []], [104, [86, 116], [], [], []], [105, [89, 90, 91, 106, 108], [72, 87, 89, 107, 108], [], []], [106, [105, 107], [], [], []], [107, [91, 106, 119], [72, 105, 161], [], []], [108, [105, 117, 119], [105, 116, 135], [], [115]], [109, [96, 97, 110, 124], [], [], []], [110, [98, 99, 109, 111], [], [], []], [111, [110, 112, 124], [100, 124], [67, 79, 153, 163], []], [112, [99, 100, 111, 125], [], [], []], [113, [100, 114, 125], [], [], []], [114, [101, 113, 115, 126, 131, 132], [], [], []], [115, [102, 114, 126, 127], [], [], [108, 157]], [116, [104, 117, 118, 127], [86, 108, 127, 142], [], []], [117, [88, 108, 116, 129], [], [], []], [118, [116, 129, 134, 142], [], [], []], [119, [107, 108, 136], [], [], []], [120, [121, 144], [], [], []], [121, [120, 122, 145], [], [], []], [122, [95, 121, 123, 146], [123, 144], [], []], [123, [124, 122, 137, 148, 149], [122, 124, 144, 165], [], []], [124, [109, 111, 123, 138], [77, 111, 123, 153], [], []], [125, [112, 113, 131], [], [], []], [126, [114, 115, 140], [], [], []], [127, [115, 116, 126, 133, 134], [102, 116, 133], [], []], [128, [142, 143, 160, 168, 172], [135, 142, 161, 187, 199], [89, 140, 185], []], [129, [117, 118, 135, 142, 143], [], [], []], [130, [124, 131, 139], [], [], []], [131, [114, 125, 130], [], [], []], [132, [114, 140], [], [], []], [133, [127, 140, 141], [127, 140, 157], [], []], [134, [118, 127, 141, 142], [], [], []], [135, [129, 136, 143, 161], [108, 142, 161], [], []], [136, [119, 135, 162], [], [], []], [137, [123, 147], [], [], []], [138, [124, 150, 152], [], [], []], [139, [130, 140, 153, 154], [], [], []], [140, [126, 132, 133, 139, 154, 156], [82, 133, 154, 156], [89, 128, 153], []], [141, [133, 134, 142, 158], [], [], []], [142, [118, 128, 129, 134, 141, 143, 158], [116, 128, 157], [], []], [143, [128, 129, 135, 142, 160], [], [], []], [144, [120, 145, 177], [122, 123, 163], [], []], [145, [121, 144, 146], [], [], []], [146, [122, 145, 147, 163], [], [], []], [147, [137, 146, 164], [], [], []], [148, [123, 149, 164], [], [], []], [149, [123, 148, 150, 165], [], [], []], [150, [138, 149, 151], [], [], []], [151, [150, 152, 165, 166], [], [], []], [152, [138, 151, 153], [], [], []], [153, [139, 152, 154, 166, 167], [124, 154, 180, 184], [111, 140, 163, 185], []], [154, [139, 140, 153, 155], [140, 153, 156], [], []], [155, [154, 156, 167, 168], [], [], []], [156, [140, 155, 157, 169], [140, 154, 157, 184], [], []], [157, [156, 158, 170], [133, 142, 156, 185], [], [115, 194]], [158, [141, 142, 157, 159], [], [], []], [159, [158, 170, 172, 186, 198], [], [], []], [160, [128, 143, 161, 173], [], [], []], [161, [135, 160, 174], [107, 128, 199], [], []], [162, [136, 175], [], [], []], [163, [146, 177], [144, 176, 191], [111, 153], []], [164, [147, 148, 178, 179], [], [], []], [165, [149, 151, 179, 180], [123, 180, 191], [], []], [166, [151, 152, 181, 183], [], [], []], [167, [153, 155, 168, 183], [], [], []], [168, [155, 167, 184], [], [], []], [169, [156, 184], [], [], []], [170, [157, 159, 185], [], [], []], [171, [173, 175, 199], [], [], []], [172, [128, 159, 187], [], [], []], [173, [160, 171, 174, 188], [], [], []], [174, [161, 173, 175], [], [], []], [175, [162, 171, 174], [], [], []], [176, [177, 189], [163, 190], [], []], [177, [144, 163, 176], [], [], []], [178, [164, 189, 191], [], [], []], [179, [164, 165, 191], [], [], []], [180, [165, 181, 193], [153, 165, 184, 190], [], []], [181, [166, 180, 182, 193], [], [], []], [182, [181, 183, 195], [], [], []], [183, [166, 167, 182, 196], [], [], []], [184, [168, 169, 185, 196, 197], [153, 156, 180, 185], [], []], [185, [170, 184, 186], [157, 184, 187], [128, 153], []], [186, [159, 185, 198], [], [], []], [187, [172, 188, 198], [128, 185], [], []], [188, [128, 173, 187, 199], [], [], []], [189, [176, 178, 190], [], [], []], [190, [189, 191, 192], [176, 180, 191], [], []], [191, [178, 179, 190, 192], [163, 165, 190], [], []], [192, [190, 191, 194], [], [], []], [193, [180, 181, 194], [], [], []], [194, [192, 193, 195], [], [], [157]], [195, [182, 194, 197], [], [], []], [196, [183, 184, 197], [], [], []], [197, [184, 195, 196], [], [], []], [198, [159, 186, 187, 199], [], [], []], [199, [171, 188, 198], [128, 161], [], []]] if __name__ == "__main__": print("Please execute MisterXSolver.py as main")
london = [[0, [], [], [], []], [1, [8, 9], [58, 46], [46], []], [2, [10, 20], [], [], []], [3, [4, 11, 12], [22, 23], [], []], [4, [3, 13], [], [], []], [5, [15, 16], [], [], []], [6, [7, 29], [], [], []], [7, [6, 17], [42], [], []], [8, [1, 18, 19], [], [], []], [9, [1, 19, 20], [], [], []], [10, [2, 11, 21, 34], [], [], []], [11, [3, 10, 22], [], [], []], [12, [3, 23], [], [], []], [13, [4, 23, 24], [14, 23, 52], [46, 67, 89], []], [14, [15, 25], [13, 15], [], []], [15, [5, 14, 16, 26, 28], [14, 29], [], []], [16, [5, 15, 28, 29], [], [], []], [17, [7, 29, 30, 42], [], [], []], [18, [8, 31, 42], [], [], []], [19, [8, 9, 32], [], [], []], [20, [2, 9, 33], [], [], []], [21, [10, 33], [], [], []], [22, [11, 23, 34, 35], [3, 23, 34, 65], [], []], [23, [12, 13, 22, 37], [3, 13, 22, 67], [], []], [24, [13, 37, 38], [], [], []], [25, [14, 38, 39], [], [], []], [26, [15, 27, 39], [], [], []], [27, [26, 28, 40], [], [], []], [28, [15, 16, 27, 41], [], [], []], [29, [6, 16, 17, 41, 42], [15, 41, 42, 55], [], []], [30, [17, 42], [], [], []], [31, [18, 43, 44], [], [], []], [32, [19, 33, 44, 45], [], [], []], [33, [20, 21, 32, 46], [], [], []], [34, [10, 22, 47, 48], [22, 46, 63], [], []], [35, [22, 36, 48, 65], [], [], []], [36, [35, 37, 49], [], [], []], [37, [23, 24, 36, 50], [], [], []], [38, [24, 25, 50, 51], [], [], []], [39, [25, 26, 51, 52], [], [], []], [40, [27, 41, 52, 53], [], [], []], [41, [28, 29, 40, 54], [15, 29, 52, 87], [], []], [42, [29, 30, 56, 72], [7, 29, 72], [], []], [43, [18, 31, 57], [], [], []], [44, [31, 32, 58], [], [], []], [45, [32, 46, 58, 59, 60], [], [], []], [46, [33, 45, 47, 61], [1, 34, 58, 78], [1, 13, 74, 79], []], [47, [34, 46, 62], [], [], []], [48, [34, 35, 62, 63], [], [], []], [49, [36, 50, 66], [], [], []], [50, [37, 38, 49], [], [], []], [51, [38, 39, 52, 67, 68], [], [], []], [52, [39, 40, 51, 69], [13, 41, 67, 86], [], []], [53, [40, 54, 69], [], [], []], [54, [41, 53, 55, 70], [], [], []], [55, [54, 71], [29, 89], [], []], [56, [42, 91], [], [], []], [57, [43, 58, 73], [], [], []], [58, [44, 45, 57, 59, 74], [1, 46, 74, 77], [], []], [59, [45, 58, 75, 76], [], [], []], [60, [45, 61, 76], [], [], []], [61, [46, 60, 62, 76, 78], [], [], []], [62, [47, 48, 61, 79], [], [], []], [63, [48, 64, 79, 80], [34, 65, 79, 100], [], []], [64, [63, 65, 80], [], [], []], [65, [35, 64, 66, 82], [22, 63, 67, 82], [], []], [66, [49, 65, 67, 82], [], [], []], [67, [51, 66, 68, 84], [23, 52, 65, 82, 102], [13, 79, 89, 111], []], [68, [51, 67, 69, 85], [], [], []], [69, [52, 53, 68, 86], [], [], []], [70, [54, 71, 87], [], [], []], [71, [55, 70, 72, 89], [], [], []], [72, [42, 71, 90, 91], [42, 105, 107], [], []], [73, [57, 74, 92], [], [], []], [74, [58, 73, 92], [58, 94], [46], []], [75, [58, 59, 74, 94], [], [], []], [76, [59, 60, 61, 77], [], [], []], [77, [76, 78, 95, 96], [58, 78, 94, 124], [], []], [78, [61, 77, 79, 97], [46, 77, 79], [], []], [79, [62, 63, 78, 98], [63, 78], [46, 67, 93, 111], []], [80, [63, 99, 100], [], [], []], [81, [64, 82, 100], [], [], []], [82, [65, 66, 81, 101], [65, 67, 100, 140], [], []], [83, [101, 102], [], [], []], [84, [67, 85], [], [], []], [85, [68, 84, 103], [], [], []], [86, [69, 103, 104], [52, 87, 102, 116], [], []], [87, [70, 88], [41, 86, 105], [], []], [88, [87, 89, 117], [], [], []], [89, [71, 88, 105], [55, 105], [13, 67, 128, 140], []], [90, [72, 91, 105], [], [], []], [91, [56, 72, 90, 105, 107], [], [], []], [92, [73, 74, 93], [], [], []], [93, [92, 94], [94], [79], []], [94, [75, 93, 95], [74, 93, 77], [], []], [95, [77, 94, 122], [], [], []], [96, [77, 97, 109], [], [], []], [97, [78, 96, 98, 109], [], [], []], [98, [79, 97, 99, 110], [], [], []], [99, [80, 98, 110, 112], [], [], []], [100, [80, 81, 101, 112, 113], [63, 82, 111], [], []], [101, [82, 83, 100, 114], [], [], []], [102, [83, 103, 115], [67, 86, 127], [], []], [103, [85, 86, 102], [], [], []], [104, [86, 116], [], [], []], [105, [89, 90, 91, 106, 108], [72, 87, 89, 107, 108], [], []], [106, [105, 107], [], [], []], [107, [91, 106, 119], [72, 105, 161], [], []], [108, [105, 117, 119], [105, 116, 135], [], [115]], [109, [96, 97, 110, 124], [], [], []], [110, [98, 99, 109, 111], [], [], []], [111, [110, 112, 124], [100, 124], [67, 79, 153, 163], []], [112, [99, 100, 111, 125], [], [], []], [113, [100, 114, 125], [], [], []], [114, [101, 113, 115, 126, 131, 132], [], [], []], [115, [102, 114, 126, 127], [], [], [108, 157]], [116, [104, 117, 118, 127], [86, 108, 127, 142], [], []], [117, [88, 108, 116, 129], [], [], []], [118, [116, 129, 134, 142], [], [], []], [119, [107, 108, 136], [], [], []], [120, [121, 144], [], [], []], [121, [120, 122, 145], [], [], []], [122, [95, 121, 123, 146], [123, 144], [], []], [123, [124, 122, 137, 148, 149], [122, 124, 144, 165], [], []], [124, [109, 111, 123, 138], [77, 111, 123, 153], [], []], [125, [112, 113, 131], [], [], []], [126, [114, 115, 140], [], [], []], [127, [115, 116, 126, 133, 134], [102, 116, 133], [], []], [128, [142, 143, 160, 168, 172], [135, 142, 161, 187, 199], [89, 140, 185], []], [129, [117, 118, 135, 142, 143], [], [], []], [130, [124, 131, 139], [], [], []], [131, [114, 125, 130], [], [], []], [132, [114, 140], [], [], []], [133, [127, 140, 141], [127, 140, 157], [], []], [134, [118, 127, 141, 142], [], [], []], [135, [129, 136, 143, 161], [108, 142, 161], [], []], [136, [119, 135, 162], [], [], []], [137, [123, 147], [], [], []], [138, [124, 150, 152], [], [], []], [139, [130, 140, 153, 154], [], [], []], [140, [126, 132, 133, 139, 154, 156], [82, 133, 154, 156], [89, 128, 153], []], [141, [133, 134, 142, 158], [], [], []], [142, [118, 128, 129, 134, 141, 143, 158], [116, 128, 157], [], []], [143, [128, 129, 135, 142, 160], [], [], []], [144, [120, 145, 177], [122, 123, 163], [], []], [145, [121, 144, 146], [], [], []], [146, [122, 145, 147, 163], [], [], []], [147, [137, 146, 164], [], [], []], [148, [123, 149, 164], [], [], []], [149, [123, 148, 150, 165], [], [], []], [150, [138, 149, 151], [], [], []], [151, [150, 152, 165, 166], [], [], []], [152, [138, 151, 153], [], [], []], [153, [139, 152, 154, 166, 167], [124, 154, 180, 184], [111, 140, 163, 185], []], [154, [139, 140, 153, 155], [140, 153, 156], [], []], [155, [154, 156, 167, 168], [], [], []], [156, [140, 155, 157, 169], [140, 154, 157, 184], [], []], [157, [156, 158, 170], [133, 142, 156, 185], [], [115, 194]], [158, [141, 142, 157, 159], [], [], []], [159, [158, 170, 172, 186, 198], [], [], []], [160, [128, 143, 161, 173], [], [], []], [161, [135, 160, 174], [107, 128, 199], [], []], [162, [136, 175], [], [], []], [163, [146, 177], [144, 176, 191], [111, 153], []], [164, [147, 148, 178, 179], [], [], []], [165, [149, 151, 179, 180], [123, 180, 191], [], []], [166, [151, 152, 181, 183], [], [], []], [167, [153, 155, 168, 183], [], [], []], [168, [155, 167, 184], [], [], []], [169, [156, 184], [], [], []], [170, [157, 159, 185], [], [], []], [171, [173, 175, 199], [], [], []], [172, [128, 159, 187], [], [], []], [173, [160, 171, 174, 188], [], [], []], [174, [161, 173, 175], [], [], []], [175, [162, 171, 174], [], [], []], [176, [177, 189], [163, 190], [], []], [177, [144, 163, 176], [], [], []], [178, [164, 189, 191], [], [], []], [179, [164, 165, 191], [], [], []], [180, [165, 181, 193], [153, 165, 184, 190], [], []], [181, [166, 180, 182, 193], [], [], []], [182, [181, 183, 195], [], [], []], [183, [166, 167, 182, 196], [], [], []], [184, [168, 169, 185, 196, 197], [153, 156, 180, 185], [], []], [185, [170, 184, 186], [157, 184, 187], [128, 153], []], [186, [159, 185, 198], [], [], []], [187, [172, 188, 198], [128, 185], [], []], [188, [128, 173, 187, 199], [], [], []], [189, [176, 178, 190], [], [], []], [190, [189, 191, 192], [176, 180, 191], [], []], [191, [178, 179, 190, 192], [163, 165, 190], [], []], [192, [190, 191, 194], [], [], []], [193, [180, 181, 194], [], [], []], [194, [192, 193, 195], [], [], [157]], [195, [182, 194, 197], [], [], []], [196, [183, 184, 197], [], [], []], [197, [184, 195, 196], [], [], []], [198, [159, 186, 187, 199], [], [], []], [199, [171, 188, 198], [128, 161], [], []]] if __name__ == '__main__': print('Please execute MisterXSolver.py as main')
def score(input): if (input[2]) <= (2.449999988079071): var0 = [1.0, 0.0, 0.0] else: if (input[3]) <= (1.75): if (input[2]) <= (4.950000047683716): if (input[3]) <= (1.6500000357627869): var0 = [0.0, 1.0, 0.0] else: var0 = [0.0, 0.0, 1.0] else: var0 = [0.0, 0.3333333333333333, 0.6666666666666666] else: var0 = [0.0, 0.021739130434782608, 0.9782608695652174] return var0
def score(input): if input[2] <= 2.449999988079071: var0 = [1.0, 0.0, 0.0] elif input[3] <= 1.75: if input[2] <= 4.950000047683716: if input[3] <= 1.6500000357627869: var0 = [0.0, 1.0, 0.0] else: var0 = [0.0, 0.0, 1.0] else: var0 = [0.0, 0.3333333333333333, 0.6666666666666666] else: var0 = [0.0, 0.021739130434782608, 0.9782608695652174] return var0
def gcd(a, b): if b > a: if b % a == 0: return a else: return gcd(b % a, a) else: if a % b == 0: return b else: return gcd(b, a % b) def find_d(phi_n, e): k = 1 mod0 = False while not mod0: d, rem = divmod(k*phi_n+1, e) if rem == 0: return d k += 1 def find_e(phi_n): e = 3 while True: if not gcd(e, phi_n) == 1: e += 2 else: return e def generate_keys(p1, p2): n = p1*p2 phi_n = (p1-1)*(p2-1) e = find_e(phi_n) d = int(find_d(phi_n, e)) return ((e, n), (d, n)) def endecrypt(key, m): return pow(m, key[0], key[1]) public_key, private_key = generate_keys(11, 17)
def gcd(a, b): if b > a: if b % a == 0: return a else: return gcd(b % a, a) elif a % b == 0: return b else: return gcd(b, a % b) def find_d(phi_n, e): k = 1 mod0 = False while not mod0: (d, rem) = divmod(k * phi_n + 1, e) if rem == 0: return d k += 1 def find_e(phi_n): e = 3 while True: if not gcd(e, phi_n) == 1: e += 2 else: return e def generate_keys(p1, p2): n = p1 * p2 phi_n = (p1 - 1) * (p2 - 1) e = find_e(phi_n) d = int(find_d(phi_n, e)) return ((e, n), (d, n)) def endecrypt(key, m): return pow(m, key[0], key[1]) (public_key, private_key) = generate_keys(11, 17)
a = 'aa' valor = 0 print(type(a)) if type(a) == int: valor = int print(valor) print('numero') if type(a) == str: valor = str print('letras') print(valor) p = valor(input('Digite algo: ')) print(p)
a = 'aa' valor = 0 print(type(a)) if type(a) == int: valor = int print(valor) print('numero') if type(a) == str: valor = str print('letras') print(valor) p = valor(input('Digite algo: ')) print(p)
''' QRCode Facade. ============= The :class:`QRCode` is to provide suite of tools for handling QR codes in your desktop devices. It currently supports scanning code, reading file, encode qr and getting available qr data type list. Custom Requirements ------------------- OSX: qrtools, zbar, pypng Linux: qrtools, zbar, pypng Usage examples ------------- The following examples explains the use case of QRCode class:: ''' class QRCode(object): ''' QRCode Facade. ''' def get_qr_data_type(self): ''' Return a list of QR data type supported. ''' return self._get_qr_data_type() def scan_code(self): ''' Return data after decoding from a Webcam ''' return self._scan_code() def scan_file(self, filelocation): ''' Return data after decoding from a File ''' return self._scan_file(filelocation) def encode_qr(self, data, data_type, filename=None): ''' Encode data to QR Code ''' return self._encode_qr(data, data_type, filename) # private def _get_qr_data_type(self): raise NotImplementedError() def _scan_code(self): raise NotImplementedError() def _scan_file(self, filelocation): raise NotImplementedError() def _encode_qr(self, data, data_type, filename): raise NotImplementedError()
""" QRCode Facade. ============= The :class:`QRCode` is to provide suite of tools for handling QR codes in your desktop devices. It currently supports scanning code, reading file, encode qr and getting available qr data type list. Custom Requirements ------------------- OSX: qrtools, zbar, pypng Linux: qrtools, zbar, pypng Usage examples ------------- The following examples explains the use case of QRCode class:: """ class Qrcode(object): """ QRCode Facade. """ def get_qr_data_type(self): """ Return a list of QR data type supported. """ return self._get_qr_data_type() def scan_code(self): """ Return data after decoding from a Webcam """ return self._scan_code() def scan_file(self, filelocation): """ Return data after decoding from a File """ return self._scan_file(filelocation) def encode_qr(self, data, data_type, filename=None): """ Encode data to QR Code """ return self._encode_qr(data, data_type, filename) def _get_qr_data_type(self): raise not_implemented_error() def _scan_code(self): raise not_implemented_error() def _scan_file(self, filelocation): raise not_implemented_error() def _encode_qr(self, data, data_type, filename): raise not_implemented_error()
__author__ = 'nikaashpuri' ''' from tastypie.resources import ModelResource from machine.models import Device from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from django.contrib.auth.models import User class DeviceResource(ModelResource): class Meta: queryset = Device.objects.all() resource_name = 'device' list_allowed_methods = ['get', 'post'] authentication = ApiKeyAuthentication() authorization = Authorization() def obj_create(self, bundle, **kwargs): print 'here' return super(DeviceResource, self).obj_create(bundle, user=bundle.request.user) def get_object_list(self, request): print request.user return super(DeviceResource, self).get_object_list(request).filter(user=request.user) '''
__author__ = 'nikaashpuri' "\nfrom tastypie.resources import ModelResource\nfrom machine.models import Device\nfrom tastypie.authentication import ApiKeyAuthentication\nfrom tastypie.authorization import Authorization\nfrom django.contrib.auth.models import User\n\nclass DeviceResource(ModelResource):\n class Meta:\n queryset = Device.objects.all()\n resource_name = 'device'\n list_allowed_methods = ['get', 'post']\n authentication = ApiKeyAuthentication()\n authorization = Authorization()\n\n\n def obj_create(self, bundle, **kwargs):\n print 'here'\n return super(DeviceResource, self).obj_create(bundle, user=bundle.request.user)\n\n def get_object_list(self, request):\n print request.user\n return super(DeviceResource, self).get_object_list(request).filter(user=request.user)\n\n"
def fib(i): if i <= 0: return 0 elif i == 1: return 1 return fib(i-1) + fib(i-2) def fib_m_(i, memo): if i <= 0: return 0 elif i == 1: return 1 elif i in memo: return memo[i] a = fib_m_(i-1, memo) memo[i-1] = a b = fib_m_(i-2, memo) memo[i-2] = b return a + b def fib_m(i): return fib_m_(i, {}) def fib_t(i): tab = [i for i in range(i+1)] for a in range(2, i+1): tab[a] = tab[a-1] + tab[a-2] return tab[i]
def fib(i): if i <= 0: return 0 elif i == 1: return 1 return fib(i - 1) + fib(i - 2) def fib_m_(i, memo): if i <= 0: return 0 elif i == 1: return 1 elif i in memo: return memo[i] a = fib_m_(i - 1, memo) memo[i - 1] = a b = fib_m_(i - 2, memo) memo[i - 2] = b return a + b def fib_m(i): return fib_m_(i, {}) def fib_t(i): tab = [i for i in range(i + 1)] for a in range(2, i + 1): tab[a] = tab[a - 1] + tab[a - 2] return tab[i]
class Array: def __init__(self,name) -> None: self.name=name pass def gen_array(self,length): self.name=[None for i in range(length)] def gen_2D_array(self,width=10,height=10): self.name=[[None for i in range(width)] for j in range(height)] def add_array(self,num,content): self.name[num]=content def add_2D_array(self,row,column,content): self.name[row][column]=content def del_array(self,num): self.name[num]=None def del_2D_array(self,row,column): self.name[row][column]=None def print_array(self,num): print(self.name[num]) def print_array_All(self): for i in range(len(self.name)): if self.name[i]==None and self.name[i+1]==None: break else: print(self.name[i]) def print_2D_array(self,row,column): print(self.name[row][column]) def print_2D_arrayAll(self,row,column): for i in range(row+1): for j in range(column+1): print(self.name[i][j])
class Array: def __init__(self, name) -> None: self.name = name pass def gen_array(self, length): self.name = [None for i in range(length)] def gen_2_d_array(self, width=10, height=10): self.name = [[None for i in range(width)] for j in range(height)] def add_array(self, num, content): self.name[num] = content def add_2_d_array(self, row, column, content): self.name[row][column] = content def del_array(self, num): self.name[num] = None def del_2_d_array(self, row, column): self.name[row][column] = None def print_array(self, num): print(self.name[num]) def print_array__all(self): for i in range(len(self.name)): if self.name[i] == None and self.name[i + 1] == None: break else: print(self.name[i]) def print_2_d_array(self, row, column): print(self.name[row][column]) def print_2_d_array_all(self, row, column): for i in range(row + 1): for j in range(column + 1): print(self.name[i][j])
class NumberComputer: def reachable_nodes(self, n): result = set() stack = [n] while len(stack) != 0: node = stack.pop() assert (node in self.interval) if node in result: continue result.add(node) for succ in self.succ_func(node): if succ in self.interval: stack.append(succ) # sanity check for n in result: assert (n in self.interval) return result def path_exists(self, a, b): return b in self.reachable_nodes(a) def __init__(self, interval, succ_func=None): self.interval = set([n for n in interval]) self.interval_header = interval[0] self.numbering = {} if succ_func is None: self.succ_func = lambda n: n.get_successors() else: self.succ_func = succ_func self.init_dfs_numbers() def dfs(self, n, seen): if n in seen: return seen.add(n) for succ in self.succ_func(n): if succ in self.interval: self.dfs(succ, seen) self.dfs_number[n] = self.cur_dfs_num self.cur_dfs_num -= 1 def init_dfs_numbers(self): self.dfs_number = {} self.cur_dfs_num = len(self.interval) self.dfs(self.interval_header, set()) def break_ties(self, a, b): if a in self.dfs_number and b in self.dfs_number: return self.dfs_number[b] - self.dfs_number[a] else: # TODO fix this. return 0 def compare_nodes(self, a, b): path_from_a_to_b = self.path_exists(a, b) path_from_b_to_a = self.path_exists(b, a) if path_from_a_to_b and path_from_b_to_a: # it's a tie, so use their address to determine which is first return self.break_ties(a, b) if path_from_a_to_b: return 1 if path_from_b_to_a: return -1 return self.break_ties(a, b) def compute_bb_numbering(self): nodes = list(self.interval) sorted_nodes = sorted(nodes, cmp=self.compare_nodes) for i, node in enumerate(reversed(sorted_nodes)): self.numbering[node] = i+1 def sanity_check_numbers(self): assert (self.numbering[self.interval_header] == 1) def initialize_node_numbers(interval): assert (isinstance(interval, list)) nc = NumberComputer(interval) nc.compute_bb_numbering() nc.sanity_check_numbers() return nc.numbering
class Numbercomputer: def reachable_nodes(self, n): result = set() stack = [n] while len(stack) != 0: node = stack.pop() assert node in self.interval if node in result: continue result.add(node) for succ in self.succ_func(node): if succ in self.interval: stack.append(succ) for n in result: assert n in self.interval return result def path_exists(self, a, b): return b in self.reachable_nodes(a) def __init__(self, interval, succ_func=None): self.interval = set([n for n in interval]) self.interval_header = interval[0] self.numbering = {} if succ_func is None: self.succ_func = lambda n: n.get_successors() else: self.succ_func = succ_func self.init_dfs_numbers() def dfs(self, n, seen): if n in seen: return seen.add(n) for succ in self.succ_func(n): if succ in self.interval: self.dfs(succ, seen) self.dfs_number[n] = self.cur_dfs_num self.cur_dfs_num -= 1 def init_dfs_numbers(self): self.dfs_number = {} self.cur_dfs_num = len(self.interval) self.dfs(self.interval_header, set()) def break_ties(self, a, b): if a in self.dfs_number and b in self.dfs_number: return self.dfs_number[b] - self.dfs_number[a] else: return 0 def compare_nodes(self, a, b): path_from_a_to_b = self.path_exists(a, b) path_from_b_to_a = self.path_exists(b, a) if path_from_a_to_b and path_from_b_to_a: return self.break_ties(a, b) if path_from_a_to_b: return 1 if path_from_b_to_a: return -1 return self.break_ties(a, b) def compute_bb_numbering(self): nodes = list(self.interval) sorted_nodes = sorted(nodes, cmp=self.compare_nodes) for (i, node) in enumerate(reversed(sorted_nodes)): self.numbering[node] = i + 1 def sanity_check_numbers(self): assert self.numbering[self.interval_header] == 1 def initialize_node_numbers(interval): assert isinstance(interval, list) nc = number_computer(interval) nc.compute_bb_numbering() nc.sanity_check_numbers() return nc.numbering
#!/usr/bin/env python class LinkedList: def __init__(self): self.first_n = None def get_smallest(self): if self.first_n != None: return self.first_n.get_item() else: return None def insert_item(self, item): if self.first_n == None: # 1. newnode = Node(item) self.first_n = newnode else: if item < self.first_n.get_item(): # 2a. newnode = Node(item) # 1) newnode.set_next_n(self.first_n) # 2) self.first_n = newnode # 3) else: # 2b. self.first_n.insert_item(item) # ... (inside class LinkedList:) def is_item_present(self, query): if self.first_n == None: return False else: answer = self.first_n.is_item_present(query) return answer class Node: def __init__(self, item): self.item = item self.next_n = None def get_item(self): return self.item def get_next_n(self): return self.next_n def set_next_n(self, newnext): self.next_n = newnext def insert_item(self, item): if self.next_n == None: newnode = Node(item) self.next_n = newnode else: if item < self.next_n.get_item(): newnode = Node(item) newnode.set_next_n(self.next_n) self.next_n = newnode else: self.next_n.insert_item(item) # ... (inside class Node:) def is_item_present(self, query): if self.item == query: # 1. return True else: if self.next_n == None: # 2a. return False else: # 2b. answer = self.next_n.is_item_present(query) return answer numlist = LinkedList() numlist.insert_item(9) numlist.insert_item(3) numlist.insert_item(7) print(numlist.get_smallest()) # prints 3 numlist.insert_item(2) print(numlist.get_smallest()) # prints 2 print(numlist.is_item_present(7)) # prints True print(numlist.is_item_present(6)) # prints False
class Linkedlist: def __init__(self): self.first_n = None def get_smallest(self): if self.first_n != None: return self.first_n.get_item() else: return None def insert_item(self, item): if self.first_n == None: newnode = node(item) self.first_n = newnode elif item < self.first_n.get_item(): newnode = node(item) newnode.set_next_n(self.first_n) self.first_n = newnode else: self.first_n.insert_item(item) def is_item_present(self, query): if self.first_n == None: return False else: answer = self.first_n.is_item_present(query) return answer class Node: def __init__(self, item): self.item = item self.next_n = None def get_item(self): return self.item def get_next_n(self): return self.next_n def set_next_n(self, newnext): self.next_n = newnext def insert_item(self, item): if self.next_n == None: newnode = node(item) self.next_n = newnode elif item < self.next_n.get_item(): newnode = node(item) newnode.set_next_n(self.next_n) self.next_n = newnode else: self.next_n.insert_item(item) def is_item_present(self, query): if self.item == query: return True elif self.next_n == None: return False else: answer = self.next_n.is_item_present(query) return answer numlist = linked_list() numlist.insert_item(9) numlist.insert_item(3) numlist.insert_item(7) print(numlist.get_smallest()) numlist.insert_item(2) print(numlist.get_smallest()) print(numlist.is_item_present(7)) print(numlist.is_item_present(6))
__author__ = 'Kwame' print("massive!!!")
__author__ = 'Kwame' print('massive!!!')
class Solution(object): def reverseWords(self, s: str) -> str: s = [x for x in s.split(" ") if len(x) > 0] print(s) i = 0 j = len(s) - 1 while i < j: s[i], s[j] = s[j], s[i] i += 1 j -= 1 return " ".join(s) if len(s) > 0 else ""
class Solution(object): def reverse_words(self, s: str) -> str: s = [x for x in s.split(' ') if len(x) > 0] print(s) i = 0 j = len(s) - 1 while i < j: (s[i], s[j]) = (s[j], s[i]) i += 1 j -= 1 return ' '.join(s) if len(s) > 0 else ''
# Some meta data for conversion, etc. # TODO: need a way to match skeleton # personnel / girl / trooper skel1 = [ "foot_r", "calf_r", "thigh_r", "thigh_l", "calf_l", "foot_l", "pelvis", "neck_01", None, None, "hand_r", "lowerarm_r", "upperarm_r", "upperarm_l", "lowerarm_l", "hand_l" ] skel_edge = [ (0,1), (1,2), # right leg (3,4), (4,5), # left leg (6,7), (7,8), (8,9), # body (10,11), (11,12), # right arm (13,14), (14,15), # left arm (2,6), (3,6), # leg to body (12,7), (13,7), # arm to body ] # eric / alison human_skel_list = [ "foot_r", "lowerleg_r", "upperleg_r", "upperleg_l", "lowerleg_l", "foot_l", "hip", "neck", "jaw_end", "head_end", "hand_r", "lowerarm_r", "upperarm_r", "upperarm_l", "lowerarm_l", "hand_l" ] # vision dataset, which one? ref_skel = [ 'r ankle', 'r knee', 'r hip', 'l hip', 'l knee', 'l ankle', 'pelvis', 'thorax', 'upper neck', 'head top', 'r wrist', 'r elbow', 'r shoulder', 'l shoulder', 'l elbow', 'l wrist' ] # arm_skel = [ # 'M1', 'Upper', 'Lower', 'Hand' # ] arm_skel = [ 'Rotation', 'Base', 'Elbow', 'Wrist' ] arm_skel_edge = [ (0,1), (1,2), (2,3) ]
skel1 = ['foot_r', 'calf_r', 'thigh_r', 'thigh_l', 'calf_l', 'foot_l', 'pelvis', 'neck_01', None, None, 'hand_r', 'lowerarm_r', 'upperarm_r', 'upperarm_l', 'lowerarm_l', 'hand_l'] skel_edge = [(0, 1), (1, 2), (3, 4), (4, 5), (6, 7), (7, 8), (8, 9), (10, 11), (11, 12), (13, 14), (14, 15), (2, 6), (3, 6), (12, 7), (13, 7)] human_skel_list = ['foot_r', 'lowerleg_r', 'upperleg_r', 'upperleg_l', 'lowerleg_l', 'foot_l', 'hip', 'neck', 'jaw_end', 'head_end', 'hand_r', 'lowerarm_r', 'upperarm_r', 'upperarm_l', 'lowerarm_l', 'hand_l'] ref_skel = ['r ankle', 'r knee', 'r hip', 'l hip', 'l knee', 'l ankle', 'pelvis', 'thorax', 'upper neck', 'head top', 'r wrist', 'r elbow', 'r shoulder', 'l shoulder', 'l elbow', 'l wrist'] arm_skel = ['Rotation', 'Base', 'Elbow', 'Wrist'] arm_skel_edge = [(0, 1), (1, 2), (2, 3)]
# Keys in the extracted lexicon # These are also the keys used to parse the NIH lexicon, although keys # that are only used for parsing and don't end up in the final are not # included here. class SKey(object): # The "categories", aka Part-of-Speech in Lexicon NOUN = 'noun' ADJ = 'adj' ADV = 'adv' VERB = 'verb' AUX = 'aux' MODAL = 'modal' PRON = 'pron' DET = 'det' PREP = 'prep' CONJ = 'conj' COMPL = 'compl' # keys that appear in "features" post extraction GENDER = 'gender' STATIVE = 'stative' PROPER = 'proper' BROAD_NEG = 'broad_negative' INTERR = 'interrogative' DEMONST = 'demonstrative' INTRAN = 'intran' TRAN = 'tran' DITRAN = 'ditran' LINK = 'link' CPLXTRAN = 'cplxtran' COMPL = 'compl' MOD_TYPE = 'modification_type' POSITION = 'position' TYPE = 'type' # variant inflection keys (found in the Lexicon) IRREG = 'irreg' # irregular REG = 'reg' # regular REGD = 'regd' # regular final consonant is doubled GLREG = 'glreg' # greco-latin regular UNCOUNT = 'uncount' # uncount noun GCOUNT = 'groupuncount' # group uncount noun METAREG = 'metareg' # Meta-linguistic regular nouns PLUR = 'plur' # fixed plural nouns SING = 'sing' # fixed singular nouns INV = 'inv' # invariant adjective/adverb or invariant noun INV_PERIPH = 'inv;periph' # invariant periphrastic adjectives # Variant form keys for nouns (these are not keys in Lexicon) SINGULAR = 'singular' PLURAL = 'plural' # Variant form keys for verbs (these are not keys in Lexicon) INFINATIVE = 'infinitive' THIRD_PRES = 'third_pres' PAST = 'past' PAST_PART = 'past_part' PRES_PART = 'pres_part' PRESENT = 'pres' # key in lexicon for aux/modals # Variant form keys for adjectives and adverbs (these are not keys in Lexicon) POSITIVE = 'positive' COMPARATIVE = 'comparative' SUPERLATIVE = 'superlative'
class Skey(object): noun = 'noun' adj = 'adj' adv = 'adv' verb = 'verb' aux = 'aux' modal = 'modal' pron = 'pron' det = 'det' prep = 'prep' conj = 'conj' compl = 'compl' gender = 'gender' stative = 'stative' proper = 'proper' broad_neg = 'broad_negative' interr = 'interrogative' demonst = 'demonstrative' intran = 'intran' tran = 'tran' ditran = 'ditran' link = 'link' cplxtran = 'cplxtran' compl = 'compl' mod_type = 'modification_type' position = 'position' type = 'type' irreg = 'irreg' reg = 'reg' regd = 'regd' glreg = 'glreg' uncount = 'uncount' gcount = 'groupuncount' metareg = 'metareg' plur = 'plur' sing = 'sing' inv = 'inv' inv_periph = 'inv;periph' singular = 'singular' plural = 'plural' infinative = 'infinitive' third_pres = 'third_pres' past = 'past' past_part = 'past_part' pres_part = 'pres_part' present = 'pres' positive = 'positive' comparative = 'comparative' superlative = 'superlative'
# Given nums = [3,2,2,3], val = 3, # Your function should return length = 2, with the first two elements of nums being 2. class RemoveElement: def __init__(self, nums, val): self.nums = nums self.val = val def remove_element(self): count = 0 for i in range(len(self.nums)): if self.nums[i] != self.val: self.nums[count] = self.nums[i] count = count + 1 return count if __name__ == '__main__': nums = [3, 2, 2, 3] val = 3 remove_element = RemoveElement(nums, val) print(remove_element.remove_element())
class Removeelement: def __init__(self, nums, val): self.nums = nums self.val = val def remove_element(self): count = 0 for i in range(len(self.nums)): if self.nums[i] != self.val: self.nums[count] = self.nums[i] count = count + 1 return count if __name__ == '__main__': nums = [3, 2, 2, 3] val = 3 remove_element = remove_element(nums, val) print(remove_element.remove_element())
frase = str(input("Digite uma frase qualquer: ")) frase_original = frase.strip().replace(" ", "").upper() frase_nova = "" frase_nova = frase_original[::-1] '''for c in range(len(frase_original), 0, -1): frase_nova += frase_original[c - 1]''' print("O inverso de {0} e {1}.".format(frase_original, frase_nova)) if(frase_nova == frase_original): print("A frase E PALINDROMO!") else: print("A frase NAO E PALINDROMO!")
frase = str(input('Digite uma frase qualquer: ')) frase_original = frase.strip().replace(' ', '').upper() frase_nova = '' frase_nova = frase_original[::-1] 'for c in range(len(frase_original), 0, -1):\n frase_nova += frase_original[c - 1]' print('O inverso de {0} e {1}.'.format(frase_original, frase_nova)) if frase_nova == frase_original: print('A frase E PALINDROMO!') else: print('A frase NAO E PALINDROMO!')
def go (array): if len(array)==1: return array[0] else: count = 0 for i in range(0,len(array),2): array[i]=0 count +=1 for i in range(count): array.remove(0) return go(array) lis = list(range(1,int(input())+1,1)) print(go(lis))
def go(array): if len(array) == 1: return array[0] else: count = 0 for i in range(0, len(array), 2): array[i] = 0 count += 1 for i in range(count): array.remove(0) return go(array) lis = list(range(1, int(input()) + 1, 1)) print(go(lis))
def to8BitUnsigned(value): return value.to_bytes(length=1, byteorder='little', signed=False) def to16BitUnsigned(value): return value.to_bytes(length=2, byteorder='little', signed=False) def to16BitSigned(value): return value.to_bytes(length=2, byteorder='little', signed=True) def to32BitUnsigned(value): return value.to_bytes(length=4, byteorder='little', signed=False) def toString(text): return to16BitUnsigned(len(text)) + bytearray(text, encoding='ascii') def from16BitUnsigned(buf, offset): bytes = buf[offset:offset + 2] return int.from_bytes(bytes, byteorder='little', signed=False) def from16BitSigned(buf, offset): bytes = buf[offset:offset + 2] return int.from_bytes(bytes, byteorder='little', signed=True) def from32BitUnsigned(buf, offset): bytes = buf[offset:offset + 4] return int.from_bytes(bytes, byteorder='little', signed=False) def fromString(buf, offset): length = from16BitUnsigned(buf, offset) bytes = buf[offset + 2:offset + 2 + length] return bytes.decode('ascii')
def to8_bit_unsigned(value): return value.to_bytes(length=1, byteorder='little', signed=False) def to16_bit_unsigned(value): return value.to_bytes(length=2, byteorder='little', signed=False) def to16_bit_signed(value): return value.to_bytes(length=2, byteorder='little', signed=True) def to32_bit_unsigned(value): return value.to_bytes(length=4, byteorder='little', signed=False) def to_string(text): return to16_bit_unsigned(len(text)) + bytearray(text, encoding='ascii') def from16_bit_unsigned(buf, offset): bytes = buf[offset:offset + 2] return int.from_bytes(bytes, byteorder='little', signed=False) def from16_bit_signed(buf, offset): bytes = buf[offset:offset + 2] return int.from_bytes(bytes, byteorder='little', signed=True) def from32_bit_unsigned(buf, offset): bytes = buf[offset:offset + 4] return int.from_bytes(bytes, byteorder='little', signed=False) def from_string(buf, offset): length = from16_bit_unsigned(buf, offset) bytes = buf[offset + 2:offset + 2 + length] return bytes.decode('ascii')
class Pipeline: def __init__(self, *args): self.__steps = list(args) def apply_to(self, text): for step in self.__steps: text = step.annotate(text) return text def add_step(self, step): self.__steps.append(step)
class Pipeline: def __init__(self, *args): self.__steps = list(args) def apply_to(self, text): for step in self.__steps: text = step.annotate(text) return text def add_step(self, step): self.__steps.append(step)
# lists line = [2, 1, 5, 6, 3, 4, 11] # functions len(line) #7 lenght of min(line) #1 max value max(line) #11 min value sum(line) #32 sum whole list sorted(line) #[1, 2, 3, 4, 5, 6, 11] sorted #slices line[0:2] # [2, 1] line[2:4] # [5, 6] line[4:6] # [3, 4] line[0:7] # [2, 1, 5, 6, 3, 4, 11] line[2:] # [5, 6, 3, 4, 11] line[:2] # [2, 1] line[:] # [2, 1, 5, 6, 3, 4, 11] #methods line.append(8) # [2, 1, 5, 6, 3, 4, 11, 8] line.pop() # [2, 1, 5, 6, 3, 4] (returns lalue to list then remove it)
line = [2, 1, 5, 6, 3, 4, 11] len(line) min(line) max(line) sum(line) sorted(line) line[0:2] line[2:4] line[4:6] line[0:7] line[2:] line[:2] line[:] line.append(8) line.pop()
''' Given a sequence of integers, where each element is distinct and satisfies . For each where , find any integer such that and print the value of on a new line. Function Description Complete the permutationEquation function in the editor below. It should return an array of integers that represent the values of . permutationEquation has the following parameter(s): p: an array of integers Input Format The first line contains an integer , the number of elements in the sequence. The second line contains space-separated integers where . Output Format For each from to , print an integer denoting any valid satisfying the equation on a new line. Sample Input 0 3 2 3 1 Sample Output 0 2 3 1 ''' n = int(input()) numbers = [int(num) for num in input().split()] for x in range(n): print(numbers.index(numbers.index(x + 1) + 1) + 1)
""" Given a sequence of integers, where each element is distinct and satisfies . For each where , find any integer such that and print the value of on a new line. Function Description Complete the permutationEquation function in the editor below. It should return an array of integers that represent the values of . permutationEquation has the following parameter(s): p: an array of integers Input Format The first line contains an integer , the number of elements in the sequence. The second line contains space-separated integers where . Output Format For each from to , print an integer denoting any valid satisfying the equation on a new line. Sample Input 0 3 2 3 1 Sample Output 0 2 3 1 """ n = int(input()) numbers = [int(num) for num in input().split()] for x in range(n): print(numbers.index(numbers.index(x + 1) + 1) + 1)
''' https://leetcode.com/problems/largest-rectangle-in-histogram/ 84. Largest Rectangle in Histogram Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram. ''' ''' Brute force: we consider the area between every pair of bars and keep track of the max Accepted but Time Limit Exceeded Time Complexity: O(n^2) Space Complexity: O(1) ''' class Solution: def largestRectangleArea(self, heights: [int]) -> int: max_area = float('-inf') for i in range(0, len(heights)): min_height = float('inf') for j in range(i, len(heights)): min_height = min(min_height, heights[j]) current_area = (j - i + 1) * min_height max_area = max(max_area, current_area) return max_area ''' Divide and conquer approach: Average Case: O(nlogn) Worst Case: O(n^2) [in case the array was sorted] Space complexity : O(n). Recursion with worst case depth n. Accepted but also time limit exceeded ''' class Solution2: def largestRectangleAreaHelper(self, heights, s, e): if s == e: # we are considering only one bar return heights[s] elif e < s: # our indices are out of bounds => no solution here return 0 else: # we need to find the minimum height between s and e min_bar = float('inf') min_bar_index = -1 for i in range(s, e + 1): if heights[i] < min_bar: min_bar = heights[i] min_bar_index = i # our 3 cases are: # we create the max area out of the shortest bar + widest area min_bar_area = min_bar * (e - s + 1) # we create the max area to the left of the shortest bar left_of_min_bar_area = self.largestRectangleAreaHelper(heights, s, min_bar_index - 1) # we create the max area to the right of the shortest bar right_of_min_bar_area = self.largestRectangleAreaHelper(heights, min_bar_index + 1, e) return max(min_bar_area, left_of_min_bar_area, right_of_min_bar_area) def largestRectangleArea(self, heights: [int]) -> int: # the largest area will either be largest by width or by height # if it's largest by width then the height will be the height of the shortest bar # if it's largest by height, then our max area lies just before or just after our shortest bar # the max area is the max among the above 3 options return self.largestRectangleAreaHelper(heights, 0, len(heights) - 1) ''' In this approach, we still adopt a Divide-and-conquer approach but to avoid the worst-case O(n^2) we use a SegmentTree to quickly retrieve the minimum height within a given range (O(nlogn)). By getting the minimum in O(nlogn) time, we can continue with the divide and conquer approach just like Solution2. Note that in Solution2 we were getting the minimum height within a range in O(n) time. Time complexity : O(nlogn). Segment tree takes O(logn) for a total of n times. Space complexity : O(n). Space required for Segment Tree. ''' class Solution3: class SegmentTreeNode: start = -1 end = -1 min = float('inf') def __init__(self, start, end): self.start = start self.end = end def buildSegmentTree(self, heights, start, end): if end < start: return None root = self.SegmentTreeNode(start, end) if start == end: root.min = start return root else: mid = (start + end) // 2 root.left = self.buildSegmentTree(heights, start, mid) root.right = self.buildSegmentTree(heights, mid + 1, end) if root.left is not None and root.right is not None: if heights[root.left.min] < heights[root.right.min]: root.min = root.left.min else: root.min = root.right.min elif root.left is not None: root.min = root.left.min elif root.right is not None: root.min = root.right.min return root def getMinIndex(self, root, heights, start, end): if root is None or (end < root.start) or (start > root.end): # the root's start and end index don't intersect with given start-end range return -1 if root.start >= start and root.end <= end: # our root is within the given range # which means that the min at the root is the min we're looking for return root.min # our root's range is wider than the given range so we need to narrow it down # by checking the minimum of the left and right subtrees left_min = self.getMinIndex(root.left, heights, start, end) right_min = self.getMinIndex(root.right, heights, start, end) if left_min == -1: return right_min elif right_min == -1: return left_min else: if heights[left_min] < heights[right_min]: return left_min else: return right_min def calculateMaxArea(self, heights, root, start, end): if start > end: # our indices are out of bounds so we can't get any area return 0 elif start == end: # we are considering only one element return heights[start] else: # we need to get the index of the min element min_bar_index = self.getMinIndex(root, heights, start, end) # we need to get the area that's left of the min_bar left_max_area = self.calculateMaxArea(heights, root, start, min_bar_index - 1) # we need to get the area that's right of the min bar right_max_area = self.calculateMaxArea(heights, root, min_bar_index + 1, end) # the answer is the max between the area made up by the min_bar_index and left_max_area and right_max_area return max(heights[min_bar_index] * (end - start + 1), left_max_area, right_max_area) def largestRectangleArea(self, heights): # if there are no bars then the max area is 0 if len(heights) == 0: return 0 root = self.buildSegmentTree(heights, 0, len(heights) - 1) return self.calculateMaxArea(heights, root, 0, len(heights) - 1) ''' We need to notice a pattern. The probable patterns are: heights[i] < heights[i+1] => increasing pattern => nothing stopping the heights[i+1] from growing yet and heights[i] can also expand heights[i] > heights[i+1] => decreasing pattern => heights[i] is stopped from expanding by heights[i+1] => only heights[i+1] can expand heights[i] = heights[i+1] => similar pattern => both heights[i] and heights[i+1] can expand so the only pattern we can follow is increasing or similar so we only pop when we encounter the decreasing pattern => i.e. we can count the decreasing order as part of our max area computation when we encounter a decreasing pattern, we need to keep popping all the bars in the stack that have height more than the current height because the current height stops them from expanding since it's shorter than them. So we keep popping while top of stack's height is > than current height. After going through all the heights and popping/adding to stack as we go along, we might end up with elements in the stack at the end. The elements that stay in the stack at the end are the elements that can expand all the way to the end of the histogram. So, their width is computed with respect to their index AND len(heights). Explanation: https://www.youtube.com/watch?v=zx5Sw9130L0 Accepted: Time complexity : O(n). nn numbers are pushed and popped. Space complexity : O(n). Stack is used. ''' class Solution4: def largestRectangleArea(self, heights): # we will use this to help us with our algorithm # this will contain (index, height) where height is the height of a bar # and index is the leftmost index where this particular height can be expanded. stack = [] # this will help us keep track of the max area across the histogram max_area = float('-inf') for i in range(0, len(heights)): left_most_index = -1 while len(stack) > 0 and stack[len(stack) - 1][1] > heights[i]: # while the top of the stack is height that is greater than current height # we need to pop that height because it can't expand further top_index, top_height = stack.pop() # width of top_height is the distance between its starting index and the current index i # because it can't expand left past its starting index and it can't expand right past i current_area = (i - top_index) * top_height max_area = max(max_area, current_area) left_most_index = top_index # left_most_index marks the left boundary of current height (i.e. the farthest index to which # the current height can expand to the left) if left_most_index == -1: stack.append((i, heights[i])) else: stack.append((left_most_index, heights[i])) # now we need to pop the remaining elements in the stack while len(stack) > 0: # this bar can expand from top_index all the way to the right # so its width is len(heights) - top_index top_index, top_height = stack.pop() current_area = (len(heights) - top_index) * top_height max_area = max(max_area, current_area) return max_area heights = [2, 1, 5, 6, 2, 3] # heights = [2, 4] print(Solution4().largestRectangleArea(heights))
""" https://leetcode.com/problems/largest-rectangle-in-histogram/ 84. Largest Rectangle in Histogram Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram. """ '\n Brute force: we consider the area between every pair of bars and keep track of the max\n \n Accepted but Time Limit Exceeded\n \n Time Complexity: O(n^2)\n Space Complexity: O(1)\n' class Solution: def largest_rectangle_area(self, heights: [int]) -> int: max_area = float('-inf') for i in range(0, len(heights)): min_height = float('inf') for j in range(i, len(heights)): min_height = min(min_height, heights[j]) current_area = (j - i + 1) * min_height max_area = max(max_area, current_area) return max_area '\n Divide and conquer approach:\n Average Case: O(nlogn)\n Worst Case: O(n^2) [in case the array was sorted]\n Space complexity : O(n). Recursion with worst case depth n.\n \n Accepted but also time limit exceeded\n' class Solution2: def largest_rectangle_area_helper(self, heights, s, e): if s == e: return heights[s] elif e < s: return 0 else: min_bar = float('inf') min_bar_index = -1 for i in range(s, e + 1): if heights[i] < min_bar: min_bar = heights[i] min_bar_index = i min_bar_area = min_bar * (e - s + 1) left_of_min_bar_area = self.largestRectangleAreaHelper(heights, s, min_bar_index - 1) right_of_min_bar_area = self.largestRectangleAreaHelper(heights, min_bar_index + 1, e) return max(min_bar_area, left_of_min_bar_area, right_of_min_bar_area) def largest_rectangle_area(self, heights: [int]) -> int: return self.largestRectangleAreaHelper(heights, 0, len(heights) - 1) '\n In this approach, we still adopt a Divide-and-conquer approach but to avoid the worst-case O(n^2)\n we use a SegmentTree to quickly retrieve the minimum height within a given range (O(nlogn)).\n \n By getting the minimum in O(nlogn) time, we can continue with the divide and conquer approach just like Solution2.\n Note that in Solution2 we were getting the minimum height within a range in O(n) time.\n \n Time complexity : O(nlogn). Segment tree takes O(logn) for a total of n times.\n Space complexity : O(n). Space required for Segment Tree.\n' class Solution3: class Segmenttreenode: start = -1 end = -1 min = float('inf') def __init__(self, start, end): self.start = start self.end = end def build_segment_tree(self, heights, start, end): if end < start: return None root = self.SegmentTreeNode(start, end) if start == end: root.min = start return root else: mid = (start + end) // 2 root.left = self.buildSegmentTree(heights, start, mid) root.right = self.buildSegmentTree(heights, mid + 1, end) if root.left is not None and root.right is not None: if heights[root.left.min] < heights[root.right.min]: root.min = root.left.min else: root.min = root.right.min elif root.left is not None: root.min = root.left.min elif root.right is not None: root.min = root.right.min return root def get_min_index(self, root, heights, start, end): if root is None or end < root.start or start > root.end: return -1 if root.start >= start and root.end <= end: return root.min left_min = self.getMinIndex(root.left, heights, start, end) right_min = self.getMinIndex(root.right, heights, start, end) if left_min == -1: return right_min elif right_min == -1: return left_min elif heights[left_min] < heights[right_min]: return left_min else: return right_min def calculate_max_area(self, heights, root, start, end): if start > end: return 0 elif start == end: return heights[start] else: min_bar_index = self.getMinIndex(root, heights, start, end) left_max_area = self.calculateMaxArea(heights, root, start, min_bar_index - 1) right_max_area = self.calculateMaxArea(heights, root, min_bar_index + 1, end) return max(heights[min_bar_index] * (end - start + 1), left_max_area, right_max_area) def largest_rectangle_area(self, heights): if len(heights) == 0: return 0 root = self.buildSegmentTree(heights, 0, len(heights) - 1) return self.calculateMaxArea(heights, root, 0, len(heights) - 1) "\n We need to notice a pattern. The probable patterns are:\n heights[i] < heights[i+1] => increasing pattern => nothing stopping the heights[i+1] from growing yet and heights[i] can also expand\n heights[i] > heights[i+1] => decreasing pattern => heights[i] is stopped from expanding by heights[i+1] => only heights[i+1] can expand\n heights[i] = heights[i+1] => similar pattern => both heights[i] and heights[i+1] can expand\n \n so the only pattern we can follow is increasing or similar\n so we only pop when we encounter the decreasing pattern => i.e. we can count the decreasing order as part of our max area computation\n \n when we encounter a decreasing pattern, we need to keep popping all the bars in the stack that have height more than the current height\n because the current height stops them from expanding since it's shorter than them. So we keep popping while top of stack's height is > \n than current height.\n \n After going through all the heights and popping/adding to stack as we go along, we might end up with elements in the stack at the end.\n The elements that stay in the stack at the end are the elements that can expand all the way to the end of the histogram. So, their width\n is computed with respect to their index AND len(heights).\n \n Explanation: https://www.youtube.com/watch?v=zx5Sw9130L0\n \n Accepted:\n Time complexity : O(n). nn numbers are pushed and popped.\n Space complexity : O(n). Stack is used.\n" class Solution4: def largest_rectangle_area(self, heights): stack = [] max_area = float('-inf') for i in range(0, len(heights)): left_most_index = -1 while len(stack) > 0 and stack[len(stack) - 1][1] > heights[i]: (top_index, top_height) = stack.pop() current_area = (i - top_index) * top_height max_area = max(max_area, current_area) left_most_index = top_index if left_most_index == -1: stack.append((i, heights[i])) else: stack.append((left_most_index, heights[i])) while len(stack) > 0: (top_index, top_height) = stack.pop() current_area = (len(heights) - top_index) * top_height max_area = max(max_area, current_area) return max_area heights = [2, 1, 5, 6, 2, 3] print(solution4().largestRectangleArea(heights))
PAGE_TITLE = "Data Submission" SECTION_TITLE = "Data Submission" SUBJECT_TYPE = "Register a new clinic"
page_title = 'Data Submission' section_title = 'Data Submission' subject_type = 'Register a new clinic'
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print("There are", cars, "cars available.") print("There are only", drivers, "drivers available.") print("There will be", cars_not_driven, "empty cars today.") print("We can transport", carpool_capacity, "people today.") print("We have", passengers, "to carpool today.") print("We need to put about", average_passengers_per_car, "in each car.") # ec4.0 # On line 8 you originally tried to reference car_pool_capacity which doesn't exist. # it should instead be carpool_capacity. # ec4.1 # No, its not necessary in this case. Output is the same. # It's a floating point number which is more accurate in some forms of math # than a plain integer, at a minor performance and complexity cost. # ec4.2 4.4 4.5 4.6 # Done.
cars = 100 space_in_a_car = 4.0 drivers = 30 passengers = 90 cars_not_driven = cars - drivers cars_driven = drivers carpool_capacity = cars_driven * space_in_a_car average_passengers_per_car = passengers / cars_driven print('There are', cars, 'cars available.') print('There are only', drivers, 'drivers available.') print('There will be', cars_not_driven, 'empty cars today.') print('We can transport', carpool_capacity, 'people today.') print('We have', passengers, 'to carpool today.') print('We need to put about', average_passengers_per_car, 'in each car.')
username = 'billgates@microsoft.com' password = 'i-love-cortana' home_path = '~/chromedriver' app_name = 'myapp_v01' subscription = 'azure-subscription-dropdown' authoring_resource = "your-authoring-resource"
username = 'billgates@microsoft.com' password = 'i-love-cortana' home_path = '~/chromedriver' app_name = 'myapp_v01' subscription = 'azure-subscription-dropdown' authoring_resource = 'your-authoring-resource'
class OmnikassaException(Exception): pass class InvalidResponseCode(OmnikassaException): def __init__(self, data): self.data = data def __str__(self): return 'Got responseCode {}'.format(self.data['responseCode']) class InvalidSeal(OmnikassaException): def __init__(self, data): self.data = data def __str__(self): return 'Invalid seal: {}'.format(self.data)
class Omnikassaexception(Exception): pass class Invalidresponsecode(OmnikassaException): def __init__(self, data): self.data = data def __str__(self): return 'Got responseCode {}'.format(self.data['responseCode']) class Invalidseal(OmnikassaException): def __init__(self, data): self.data = data def __str__(self): return 'Invalid seal: {}'.format(self.data)
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: dct = {} for i in range(len(nums)): if (dct.get(target-nums[i], -1) == -1): dct[nums[i]] = i else: return [dct.get(target-nums[i]), i]
class Solution: def two_sum(self, nums: List[int], target: int) -> List[int]: dct = {} for i in range(len(nums)): if dct.get(target - nums[i], -1) == -1: dct[nums[i]] = i else: return [dct.get(target - nums[i]), i]
class Solution: # keep pre-computed fibs around. fibs = [ 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 3524578, 5702887, 9227465, 14930352, 24157817, 39088169, 63245986, 102334155, 165580141, 267914296, 433494437, 701408733, 1134903170 ] # a greedy one works? def findMinFibonacciNumbers(self, k: int) -> int: count, fibs = 0, self.fibs start = len(fibs) - 1 while k >= 0: while k < fibs[start]: if (start := start - 1) == -1: return count k -= fibs[start] count += 1 return count
class Solution: fibs = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 3524578, 5702887, 9227465, 14930352, 24157817, 39088169, 63245986, 102334155, 165580141, 267914296, 433494437, 701408733, 1134903170] def find_min_fibonacci_numbers(self, k: int) -> int: (count, fibs) = (0, self.fibs) start = len(fibs) - 1 while k >= 0: while k < fibs[start]: if (start := (start - 1)) == -1: return count k -= fibs[start] count += 1 return count
with open("data/modelnet40_normal_resampled/modelnet40_test_orig.txt") as f: lines = f.readlines() lines = lines[::13] with open("data/modelnet40_normal_resampled/modelnet40_test.txt", 'w') as f2: for line in lines: f2.write(line)
with open('data/modelnet40_normal_resampled/modelnet40_test_orig.txt') as f: lines = f.readlines() lines = lines[::13] with open('data/modelnet40_normal_resampled/modelnet40_test.txt', 'w') as f2: for line in lines: f2.write(line)
#!/usr/bin/env python3 # -*- coding: utf8 -*- class BaseCrawler: start_url = '' browser = None dir_path = '' def __init__(self, browser, dir_path): self.browser = browser self.dir_path = dir_path self.crawl(self.start_url) def get_html(self, url): self.browser.get(url) return self.browser.page_source def crawl(self, url): pass
class Basecrawler: start_url = '' browser = None dir_path = '' def __init__(self, browser, dir_path): self.browser = browser self.dir_path = dir_path self.crawl(self.start_url) def get_html(self, url): self.browser.get(url) return self.browser.page_source def crawl(self, url): pass
# Given an array, sort it using mergesort def merge(a, start, mid, end, aux): for i in range(len(a)): aux[i] = a[i] left = start right = mid+1 i = left while left <= mid and right <= end: if aux[left] < aux[right]: a[i] = aux[left] left += 1 i += 1 else: a[i] = aux[right] right += 1 i += 1 while left <= mid: a[i] = aux[left] i+= 1 left += 1 while right <= end: a[i] += aux[right] right += 1 i += 1 def _mergesort(a, start, end, aux): if end > start: mid = (start+end)//2 _mergesort(a, start, mid, aux) _mergesort(a, mid+1, end, aux) merge(a, start, mid, end, aux) def mergesort(a): aux = [x for x in a] _mergesort(a, 0, len(a)-1, aux) if __name__ == "__main__": arrays = [] arrays.append([]) arrays.append([3, 1]) arrays.append([1]) arrays.append([4, 1, -4, 5, 1, 6, 7, 9, -10]) arrays.append([0, 0, 0, 0]) for array in arrays: mergesort(array) print(array)
def merge(a, start, mid, end, aux): for i in range(len(a)): aux[i] = a[i] left = start right = mid + 1 i = left while left <= mid and right <= end: if aux[left] < aux[right]: a[i] = aux[left] left += 1 i += 1 else: a[i] = aux[right] right += 1 i += 1 while left <= mid: a[i] = aux[left] i += 1 left += 1 while right <= end: a[i] += aux[right] right += 1 i += 1 def _mergesort(a, start, end, aux): if end > start: mid = (start + end) // 2 _mergesort(a, start, mid, aux) _mergesort(a, mid + 1, end, aux) merge(a, start, mid, end, aux) def mergesort(a): aux = [x for x in a] _mergesort(a, 0, len(a) - 1, aux) if __name__ == '__main__': arrays = [] arrays.append([]) arrays.append([3, 1]) arrays.append([1]) arrays.append([4, 1, -4, 5, 1, 6, 7, 9, -10]) arrays.append([0, 0, 0, 0]) for array in arrays: mergesort(array) print(array)
n = int(input()) s = [list(map(int, input().split())) for _ in [0] * n] s = sorted(s, key=lambda x: x[0]) c = 0 for i in range(10): i = 0 while (i != len(s)-1 and i < len(s)): if s[i][1] >= abs(s[i][0] - s[i+1][0]): c += 1 s.pop(i) i += 1 print(n-c)
n = int(input()) s = [list(map(int, input().split())) for _ in [0] * n] s = sorted(s, key=lambda x: x[0]) c = 0 for i in range(10): i = 0 while i != len(s) - 1 and i < len(s): if s[i][1] >= abs(s[i][0] - s[i + 1][0]): c += 1 s.pop(i) i += 1 print(n - c)
name = input('please input your name:') sql = 'select * from dome where name="%s"' % name print(sql) name = 'zr;drop database demo' sql = 'select * from dome where name="%s"' % name print(sql) name = 'zr;drop database demo' initname = [name] #csl = 'connect mysqldb successful:'.cursor() #sql = csl.excute('select * from dome where name="%s"',initname) sql = 'select * from demo where name = %s'%initname print(sql)
name = input('please input your name:') sql = 'select * from dome where name="%s"' % name print(sql) name = 'zr;drop database demo' sql = 'select * from dome where name="%s"' % name print(sql) name = 'zr;drop database demo' initname = [name] sql = 'select * from demo where name = %s' % initname print(sql)
_base_ = ( "./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan_bop_test.py" ) OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/02_03CrackerBox" DATASETS = dict(TRAIN=("ycbv_003_cracker_box_train_pbr",))
_base_ = './FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan_bop_test.py' output_dir = 'output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/02_03CrackerBox' datasets = dict(TRAIN=('ycbv_003_cracker_box_train_pbr',))