content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# Pancake Sorting
'''
Given an array of integers A, We need to sort the array performing a series of pancake flips.
In one pancake flip we do the following steps:
Choose an integer k where 0 <= k < A.length.
Reverse the sub-array A[0...k].
For example, if A = [3,2,1,4] and we performed a pancake flip choosing k = 2, we reverse the sub-array [3,2,1], so A = [1,2,3,4] after the pancake flip at k = 2.
Return an array of the k-values of the pancake flips that should be performed in order to sort A. Any valid answer that sorts the array within 10 * A.length flips will be judged as correct.
Example 1:
Input: A = [3,2,4,1]
Output: [4,2,4,3]
Explanation:
We perform 4 pancake flips, with k values 4, 2, 4, and 3.
Starting state: A = [3, 2, 4, 1]
After 1st flip (k = 4): A = [1, 4, 2, 3]
After 2nd flip (k = 2): A = [4, 1, 2, 3]
After 3rd flip (k = 4): A = [3, 2, 1, 4]
After 4th flip (k = 3): A = [1, 2, 3, 4], which is sorted.
Notice that we return an array of the chosen k values of the pancake flips.
Example 2:
Input: A = [1,2,3]
Output: []
Explanation: The input is already sorted, so there is no need to flip anything.
Note that other answers, such as [3, 3], would also be accepted.
Constraints:
1 <= A.length <= 100
1 <= A[i] <= A.length
All integers in A are unique (i.e. A is a permutation of the integers from 1 to A.length).
'''
class Solution:
def pancakeSort(self, arr: List[int]) -> List[int]:
n = end = len(arr)
ans = []
def find(num):
for i in range(n):
if arr[i]==num:
return i+1
def flip(i,j):
while i<j:
arr[i], arr[j] = arr[j], arr[i]
i+=1
j-=1
while end>1:
ind = find(end)
flip(0, ind-1)
flip(0, end-1)
ans.append(ind)
ans.append(end)
end-=1
return ans
| """
Given an array of integers A, We need to sort the array performing a series of pancake flips.
In one pancake flip we do the following steps:
Choose an integer k where 0 <= k < A.length.
Reverse the sub-array A[0...k].
For example, if A = [3,2,1,4] and we performed a pancake flip choosing k = 2, we reverse the sub-array [3,2,1], so A = [1,2,3,4] after the pancake flip at k = 2.
Return an array of the k-values of the pancake flips that should be performed in order to sort A. Any valid answer that sorts the array within 10 * A.length flips will be judged as correct.
Example 1:
Input: A = [3,2,4,1]
Output: [4,2,4,3]
Explanation:
We perform 4 pancake flips, with k values 4, 2, 4, and 3.
Starting state: A = [3, 2, 4, 1]
After 1st flip (k = 4): A = [1, 4, 2, 3]
After 2nd flip (k = 2): A = [4, 1, 2, 3]
After 3rd flip (k = 4): A = [3, 2, 1, 4]
After 4th flip (k = 3): A = [1, 2, 3, 4], which is sorted.
Notice that we return an array of the chosen k values of the pancake flips.
Example 2:
Input: A = [1,2,3]
Output: []
Explanation: The input is already sorted, so there is no need to flip anything.
Note that other answers, such as [3, 3], would also be accepted.
Constraints:
1 <= A.length <= 100
1 <= A[i] <= A.length
All integers in A are unique (i.e. A is a permutation of the integers from 1 to A.length).
"""
class Solution:
def pancake_sort(self, arr: List[int]) -> List[int]:
n = end = len(arr)
ans = []
def find(num):
for i in range(n):
if arr[i] == num:
return i + 1
def flip(i, j):
while i < j:
(arr[i], arr[j]) = (arr[j], arr[i])
i += 1
j -= 1
while end > 1:
ind = find(end)
flip(0, ind - 1)
flip(0, end - 1)
ans.append(ind)
ans.append(end)
end -= 1
return ans |
# postgress creadentials
DB_NAME = "DB_NAME"
DB_ADDRESS = "HOST:PORT"
USER_NAME = "USER_NAME"
DB_PASSWORD = "PASSWORD"
SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://{}:{}@{}/{}".format(
USER_NAME, DB_PASSWORD, DB_ADDRESS, DB_NAME
)
# twitter creadentials
# https://apps.twitter.com
CONSUMER_KEY = "YOUR_CONSUMER_KEY"
CONSUMER_SECRET = "YOUR_CONSUMER_SECRET"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"
ACCESS_TOKEN_SECRET = "YOUR_ACCESS_TOKEN_SECRET"
| db_name = 'DB_NAME'
db_address = 'HOST:PORT'
user_name = 'USER_NAME'
db_password = 'PASSWORD'
sqlalchemy_database_uri = 'postgresql+psycopg2://{}:{}@{}/{}'.format(USER_NAME, DB_PASSWORD, DB_ADDRESS, DB_NAME)
consumer_key = 'YOUR_CONSUMER_KEY'
consumer_secret = 'YOUR_CONSUMER_SECRET'
access_token = 'YOUR_ACCESS_TOKEN'
access_token_secret = 'YOUR_ACCESS_TOKEN_SECRET' |
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Silvio Peroni <essepuntato@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright notice
# and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
# OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
# Test case for the function
def test_caesar_cypher(msg, left_shift, shift_quantity, expected):
result = caesar_cypher(msg, left_shift, shift_quantity)
if expected == result:
return True
else:
return False
# Code of the function
def caesar_cypher(msg, left_shift, shift_quantity):
result = list()
alphabet = "abcdefghijklmnopqrstuvwxyz"
if left_shift:
shift_quantity = -shift_quantity
cypher = alphabet[shift_quantity:] + alphabet[:shift_quantity]
for c in msg.lower():
if c in alphabet:
result.append(cypher[alphabet.index(c)])
else:
result.append(c)
return "".join(result)
# Tests
print(test_caesar_cypher("message to encrypt", True, 3, "jbppxdb ql bkzovmq"))
print(test_caesar_cypher("message to encrypt", False, 5, "rjxxflj yt jshwduy"))
| def test_caesar_cypher(msg, left_shift, shift_quantity, expected):
result = caesar_cypher(msg, left_shift, shift_quantity)
if expected == result:
return True
else:
return False
def caesar_cypher(msg, left_shift, shift_quantity):
result = list()
alphabet = 'abcdefghijklmnopqrstuvwxyz'
if left_shift:
shift_quantity = -shift_quantity
cypher = alphabet[shift_quantity:] + alphabet[:shift_quantity]
for c in msg.lower():
if c in alphabet:
result.append(cypher[alphabet.index(c)])
else:
result.append(c)
return ''.join(result)
print(test_caesar_cypher('message to encrypt', True, 3, 'jbppxdb ql bkzovmq'))
print(test_caesar_cypher('message to encrypt', False, 5, 'rjxxflj yt jshwduy')) |
##
# This software was developed and / or modified by Raytheon Company,
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
#
# U.S. EXPORT CONTROLLED TECHNICAL DATA
# This software product contains export-restricted data whose
# export/transfer/disclosure is restricted by U.S. law. Dissemination
# to non-U.S. persons whether in the United States or abroad requires
# an export license or other authorization.
#
# Contractor Name: Raytheon Company
# Contractor Address: 6825 Pine Street, Suite 340
# Mail Stop B8
# Omaha, NE 68106
# 402.291.0100
#
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
# further licensing information.
##
#------*-python-*-------------------------------------------------------------
# Config file for the GFE (Graphical Forecast Editor).
#
# SOFTWARE HISTORY
#
# Date Ticket# Engineer Description
# ------------- -------- --------- --------------------------------------------
# Nov 20, 2013 2488 randerso Changed to use DejaVu fonts
# May 28, 2014 2841 randerso Added separate configurable limits for text
# formatter and product script tasks
# Feb 04, 2015 17039 ryu Removed HighlightFramingCodes setting.
# Feb 09, 2016 5283 nabowle Remove NGM support.
# Jun 23, 2017 6138 dgilling Remove obsolete winter weather phensigs.
# Jan 23, 2018 7153 randerso Cleaned up spelling errors in comments
# Dec 06, 2017 DCS20267 psantos Add NWPS rip current guidance
##
##
# This is a base file that is not intended to be overridden.
#
# This file can be imported to override configuration settings. Please see the
# Configuration Guides->GFE Configuration section of the GFE Online Help for
# guidance on creating a new configuration file.
##
GFESUITE_HOME = "/awips2/GFESuite"
GFESUITE_PRDDIR = "/tmp/products"
yes = True
no = False
#------------------------------------------------------------------------
# Hiding the configuration file
#------------------------------------------------------------------------
# The gfe configuration file can be hidden in the Start Up Dialog by
# using the HideConfigFile keyword and setting it to 1, or by commenting
# out the following line.
# HideConfigFile = 1
#------------------------------------------------------------------------
# Mutable Parameter and Viewable Database Configurations
#------------------------------------------------------------------------
# mutableModel indicates the one database that can be modified. Format
# is "type_model_time". If time isn't important (for a singleton db),
# then the format is "type_model". If there isn't a type, then the
# format is "_model".
mutableModel = "_Fcst"
# dbTypes is a list of database types which the gfe should "see".
dbTypes = ['', 'D2D', 'V']
# The GFE supports filtering of the displayed data by site ID.
# If a config entry of the form SITEID_mask is set (to a named edit area),
# then the gfe will use the area as a mask in displaying data in the
# spatial editor. The user also can set masks for individual weather
# elements by adding config entries of the form SITEID_PARMNAME_mask.
# Simplified formats also available are PARMNAME_mask and just mask.
# The software first looks for a specific site/parmName entry, then
# for the site entry, then parmName, then just mask. If you want all of
# the weather elements clipped except one, then specify an empty name ("")
# of the edit area associated with that weather element.
#BOU_Wind_mask = "BOU"
#BOU_mask = "CWA"
#Wind_mask = "CWA"
#mask = "CWA"
#------------------------------------------------------------------------
# Initial GFE Startup Weather Elements, Samples, and Edit Action List
# Configurations
#------------------------------------------------------------------------
#------------------------------------------------------------------------
# Ordering the Weather Element Groups
# Defines the initial set of parameters to be loaded when starting
# the GFE. The name of the Group is specified.
# This is also the name of the default group of Edit Actions.
DefaultGroup = "Public"
# To provide an order for the weather elements, list an order
# preference in the list variable 'WEList'. Any elements not listed in
# 'WEList', will be listed at the bottom of the weather element group menu
# in alphabetical order.
# WEList = ["FireWx","Gweight","Public","Temps"]
# Defines the initial set of sample sets that are displayed when
# starting the GFE.
#DefaultSamples = ['DefaultSamples']
# Defines the Smart Tools to be displayed on the Spatial Editor button-3 pop up menu.
# All smart tools (screened by active element) will appear if
# AllEditActionsOnPopUp = yes
# Alternatively, you can set AllEditActionsOnPopUp = no and specify a list of smart tools (screened by active element) to appear.
AllEditActionsOnPopUp = yes
PopUpEditActions = ["Assign_Value","AdjustValue_Down","AdjustValue_Up","Smooth"]
# Defines the Smart Tools to be displayed on the Grid Manager button-3 pop up menu.
#GridManagerEditActions = ['nameOfTool1', 'nameOfTool2', 'nameOfTool3']
# Define keyboard shortcuts.
# You are allowed up to 200 shortcuts.
# IMPORTANT: You should test your shortcuts on your system as many
# keys are already bound by the system. For example, F10 is bound by some Tk
# widgets to bring up menus.
# Each shortcut is defined by a list with entries:
# Shortcut key
# State of ShortCut key
# None
# Ctrl (control key)
# Alt (alt key)
# Shift (shift key)
# key states can be combined (e.g. Ctrl+Alt)
# Action type:
# EditTool
# SmartTool
# Procedure
# Toggle
# Name of the action.
#
# The possible EditTool actions are:
# Sample
# Pencil
# Contour
# MoveCopy
# DrawEditArea
#
# The possible Toggle actions are:
# ISC
# TEGM (Temporal Editor/Grid Manager)
# HorizVert (Horizontal/Vertical Display)
#
# Examples:
#
#ShortCut1 = ["F1", "None", "SmartTool","Assign_Value"] # F1
#ShortCut2 = ["NUMPAD_SUBTRACT", "None", "SmartTool","AdjustValue_Down"] # Keypad -
#ShortCut3 = ["NUMPAD_ADD", "None", "SmartTool","AdjustValue_Up"] # Keypad +
#ShortCut4 = ["F2", "None", "SmartTool","Smooth"]
#ShortCut5 = ["F3", "None", "Procedure","ISC_Discrepancies"]
#ShortCut6 = ["F5", "None", "EditTool", "Sample"]
#ShortCut7 = ["F6", "None", "EditTool", "Contour"]
#ShortCut8 = ["F7", "None", "EditTool", "Pencil"]
#ShortCut9 = ["F8", "None", "EditTool", "MoveCopy"]
#ShortCut10 = ["F9", "None", "EditTool", "DrawEditArea"]
#
#ShortCut11 = ["F5", "Alt", "EditTool", "Sample"]
#ShortCut12 = ["F6", "Ctrl", "EditTool", "Contour"]
#ShortCut13 = ["F7", "Shift", "EditTool", "Pencil"]
# Defines the initial set of edit area groups to appear in the edit
# area and query dialog. If not specified, the default is Misc.
EditAreaGroups = ['Misc']
#------------------------------------------------------------------------
# Misc. Configuration
#------------------------------------------------------------------------
# This list of Weather element names will be used to sort the GridManager.
# Elements in this list will occur first. All others will be sorted
# by name.
GridManagerSortOrder = ['T', 'Td', 'RH', 'MaxT', 'MinT', 'MaxRH', 'MinRH',
'WindChill', 'HeatIndex', 'Wind', 'WindGust', 'FreeWind',
'TransWind', 'Sky', 'Wx', 'LAL', 'PoP', 'CWR', 'QPF', 'SnowAmt',
'StormTotalSnow', 'SnowLevel', 'MaxTAloft', 'WetBulb', 'Hazards',
'FzLevel', 'Haines', 'MixHgt']
# This algorithm determines the sorting order of weather elements in the
# Grid Manager, Samples, and Spatial Editor Legends. It contains of up to
# 5 characters in the order of sort importance. The characters are:
# 'm' for mutable, 'N' for parm name, 'M' for model name, 't' for model time,
# and 'o' for model optional type. For example, "mNMto" will result in
# the mutables first, then parm name, then model name, then model time, then
# optional type. This means that all of the weather elements with the same
# name from different models will be grouped together (except for the mutable).
#GridManagerSortAlgorithm = "mNMto"
# Auto Save Interval
# The Auto Save Interval entry defines the interval in minutes that is
# used to automatically save modified weather elements.
AutoSaveInterval = 0
# This is the list of entries that appear on the Publish Dialog. The
# entries are the names of the user-defined selection time ranges. The
# order of entries on the dialog will match this list.
PublishTimes = ['Today', 'Tonight', 'Tomorrow', 'Tomorrow Night', 'Day 3',
'Day 4', 'Day 5', 'Day 6', 'Day 7', 'Hour 0-240']
#Preselect a weather group to be loaded in the Publish Dialog
#PublishDialogInitialWEGroup = "Public"
# Interpolation Dialog defaults. By default, the dialog is shown
# with a minimum interval and duration. This can be changed. If the
# duration is specified, then the interval must also be specified.
# The units are hours and must range between 1 and 24.
#InterpolateDefaultInterval = 1
#InterpolateDefaultDuration = 1
# Create from Scratch Dialog defaults. By default, the dialog is shown
# with a minimum interval and duration. This can be changed. If the
# duration is specified, then the interval must also be specified.
# The units are hours and must range between 1 and 24.
#CreateScratchDefaultInterval = 1
#CreateScratchDefaultDuration = 1
# Defines the product file purge in hours
#ProductPurgeHours = 6
#------------------------------------------------------------------------
# Map Background Configuration
#------------------------------------------------------------------------
# Defines the initial loaded set of map backgrounds. The name of each
# background should match the name (without ".xml") of a map file in the
# CAVE/Bundles/maps directory under the Localization perspective.
MapBackgrounds_default = ['States','CWA']
# Specific Colors for a map background
# The user may specify a specific color to be used for a map background,
# rather than getting a random color assigned.
# Format is mapName_graphicColor = color.
#States_graphicColor = 'green'
# Specific Graphic Line Widths for a map
# Default line widths can be set for each map background based on
# map name. Zero is the default value, which represents thin lines.
# The larger the number, the wider the line. The format is mapName_lineWidth.
# Do not include a decimal point after these entries.
#States_lineWidth = 1
# Specific Line Pattern definitions for a map
# Default line patterns can be set up for each map background. The
# possible strings are "SOLID", "DASHED", "DOTTED", "DASHED_DOTTED". The
# values must be enclosed within quotes. The format is mapName_linePattern.
#States_linePattern = "SOLID"
# Specific Font Offsets for a map background.
# The font offset (called magnification on the GFE menus) allows the
# default font size to be increased or decreased on a per map basis.
# Numbers can range from -2 through +2. Format is mapName_fontOffset.
# Do not include a decimal point after these entries.
#States_fontOffset = 0
#------------------------------------------------------------------------
# Graphics Hardware Configurations
#------------------------------------------------------------------------
#
# general default X resources can be set here.
#
# Fonts. These are the various fonts that the GFE uses. They can be
# changed to increase/decrease the size of the text on the GFE. The
# fonts are in ascending sizes. A better way to override the fonts
# is to use the config items under UI Configuration.
# A valid font data representation is a string of the form fontname-style-height
# where fontname is the name of a font,
# style is a font style (one of "regular", "bold", "italic", or "bold italic")
# height is an integer representing the font height.
# Example: Times New Roman-bold-36.
TextFont0 = "DejaVu Sans Mono-regular-9"
TextFont1 = "DejaVu Sans Mono-regular-9"
TextFont2 = "DejaVu Sans Mono-bold-12"
TextFont3 = "DejaVu Sans Mono-bold-14"
TextFont4 = "DejaVu Sans Mono-bold-20"
# The color which will be used as the background for all of the display
# panes.
bgColor = "black"
#------------------------------------------------------------------------
# System Time Range Configuration
#------------------------------------------------------------------------
# These parameters indicate the span of the Grid Manager and Temporal
# Editor in relation to the current time. Units are in hours. If grids
# are present, the displayable time range may be expanded by the software.
SystemTimeRange_beforeCurrentTime = 48
SystemTimeRange_afterCurrentTime = 168
#------------------------------------------------------------------------
# UI Configuration
#------------------------------------------------------------------------
# Defines the color and pattern used in the Grid Manager to indicate
# a time selection.
Selected_color = 'LightSkyBlue'
Selected_fillPattern = 'TRANS_25PC_45DEG'
# Defines the color and pattern of the time scale lines in the Grid
# Manager and Temporal Editor
TimeScaleLines_color = 'Blue'
TimeScaleLines_pattern = 'DOTTED'
# Defines the color, width, and pattern used for the editor time line
# that runs through the Grid Manager and Temporal Editor
EditorTimeLine_color = 'Yellow'
EditorTimeLine_width = 2
EditorTimeLine_pattern = 'DOTTED'
# Defines the color used by the Grid Manager to indicate the
#current system time
CurrentSystemTime_color = 'Green'
# Defines the colors used in the Grid Manager to indicate that a
# time period is locked by you, or by another person.
LockedByMe_color = 'forestgreen'
LockedByMe_pattern = 'WHOLE'
LockedByOther_color = 'tomato2'
LockedByOther_pattern = 'WHOLE'
# Defines the visible, invisible, and active colors used in the Grid
# Manager to indicate when a grid block is either visible, invisible,
# and/or active. Defines the color used to indicate which grids
# may be modified during an edit action.(Preview_color)
TimeBlockVisible_color = 'White'
TimeBlockActive_color = 'Yellow'
TimeBlockInvisible_color = 'Gray50'
TimeBlockPreview_color = 'Cyan'
# Defines the color used to indicate the Edit Area on the spatial editor.
ReferenceSet_color = 'Gray80'
# Defines the border width used to indicate the Edit Area on the spatial editor
ReferenceSet_width = 0
# Defines the initial horizontal size of the grid manager when first
# starting the GFE in pixels. Do not place a decimal point after the number.
TimeScale_horizSize = 350
# Initial Legend Mode. Can be GRIDS for all weather elements (default),
# MUTABLE for just the Fcst weather elements,
# ACTIVE for just the active weather element, MAPS for just the maps,
# or SETIME for just the spatial editor time.
LegendMode = 'GRIDS'
# Initial Grid Manager Mode. Can be "Normal", "History", "Saved",
# "Modified", "Published", or "Sent". Default is "Normal".
InitialGMDisplayMode = 'Normal'
# Defines the number of Edit Area Quick Set Buttons. Do not place a
# decimal point after the buttons
#QuickSetButtons = 4
# Sets the maximum number of menu items before the menu will cascade
# with a 'More >'. Do not place a decimal point after the number.
MaxMenuItemsBeforeCascade = 30
# Defines the percent that the office domain will be expanded for the
# spatial editor full-screen view. The user can specify the expansion
# for each of the four directions. If not specified, the default is 10%.
OfficeDomain_expandLeft = 10
OfficeDomain_expandRight = 10
OfficeDomain_expandTop = 10
OfficeDomain_expandBottom = 10
# Initial location of Edit Action Dialog
# These are absolute screen coordinates (not relative to GFE window)
# To put Edit Action Dialog in lower left corner, set Ycoord to 600
#EditActionDialog_Xcoord = 99
#EditActionDialog_Ycoord = 74
# Initial layout up of Grid Manager/Temporal Editor:
# Values: "OnTop" (default)
# "OnLeft"
#GM_TE_Layout = "OnTop"
# Default setting for temporal editor weather elements. Choices are
# ALL for all weather elements are displayed in the temporal
# editor, ALL_NOISC is for all weather elements except ISC (intersite coord)
# elements, MUTABLE for just the mutable weather elements (e.g., Fcst)
# displayed in the temporal editor, VISIBLE (default) for all visible
# elements in the grid manager and ACTIVE for just the single
# active weather element to be displayed in the temporal editor.
TemporalEditorWEMode = "VISIBLE"
# Extra categories for the formatter launcher.
# Products beginning with this name will get their own
# cascade.
#FormatterLauncherDialog_Categories = []
# Default setting for the Wx/Discrete Show Description option. Setting it
# to True will enable the descriptions, setting it to False will disable the
# descriptions.
#WxDiscrete_Description = True
# Default setting for the font and colors for the Product Output Dialog.
#ProductOutputDialog_font = TextFont2
#ProductOutputDialog_fgColor = "#000000"
#ProductOutputDialog_bgColor = "#d0d0d0"
#ProductOutputDialog_wrapMode = 1 #default, if not listed in wrapPils, nonWrap
ProductOutputDialog_wrapPils = []
ProductOutputDialog_nonWrapPils = ['AFM','PFM','FWF','SFT','WCN','FWS','TCV','HLS']
#ProductOutputDialog_wrapSize = 66
#ProductOutputDialog_lockColor = "blue"
#ProductOutputDialog_frameColor = "red"
# The initial size of the Call to action dialog (in pixels)
#ProductOutputDialog_CTAWidth = 575
#ProductOutputDialog_CTAHeight = 300
# Default directory to use for the ProductOutputDialog editor when
# {prddir} is not set in the product definition.
#ProductEditorDirectory = '/tmp'
#------------------------------------------------------------------------
# Process Monitor Options
#------------------------------------------------------------------------
#
# The maximum number of pending product scripts to queue.
#ProcessMonitorMaxPendingScripts = 10
# The maximum number of finished product scripts to keep around (so you can
# see their output).
#ProcessMonitorMaxOldScripts = 5
# The maximum number of product scripts to run at one time (user can still
# start more via the ProcessMonitorDialog).
#ProcessMonitorMaxScripts = 1
# The maximum number of pending text formatters to queue.
#ProcessMonitorMaxPendingFormatters = 10
# The maximum number of finished text formatters to keep around (so you can
# see their output).
#ProcessMonitorMaxOldFormatters = 5
# The maximum number of text formatters to run at one time (user can still
# start more via the ProcessMonitorDialog).
#ProcessMonitorMaxFormatters = 1
#------------------------------------------------------------------------
# Sample and Legend Colors, Sample Shadows
#------------------------------------------------------------------------
# This section provides some control over the sample colors and
# the image legend color. Normally these values are set to "white",
# but might need to be changed if the background color for the drawing
# panes color is changed. The sample shadow may also be turned on
# or off.
# Alternative sample color. This is used primarily for ifpIMAGE when
# you want a specific color for the sample, rather than the default which
# is the graphic color. Format is parmname_Sample_color = "color".
# Note that this applies only if the data is displayed as a graphic.
# T_Sample_color = "#ff0672"
# Alternative legend color. This is used primarily for ifpIMAGE when
# you want a specific color for the legend, rather than the default which
# is the graphic color. Format is parmname_Legend_color = "color".
# Note that this applies only if the data is displayed as a graphic.
# T_Legend_color = "#ff0672"
# Sample LatLon and + Color. This affects the color of the '+' drawing,
# plus the color of the latitude/longitude samples on the spatial editor.
# SampleLLPlus_color = "white"
# Image Legend color. This affects the color of the legend when a weather
# element is displayed as an image. This also affects the sample color
# for weather element displayed as an image.
#ImageLegend_color = "white"
# Sample Shadows. The samples can have a shadow character written in
# black offset from the sample text. This improves contrast when the
# main sample color is light and the background color (e.g., image) is
# also fairly light. Acceptable entries are yes and no.
#ShowSampleShadows = yes
# Sample Shadow Color. The color of the shadows defaults to black.
# You can override this with any valid color.
#SampleShadow_color = "#000000"
# SampleLabelXOffset and SampleLabelYOffset are the number of pixels you
# wish to move sample labels relative to their "normal" position.
#SampleLabelXOffset = 0
#SampleLabelYOffset = 0
# Limiting Samples to Specific Weather Elements
# Controls the weather elements that will be displayed as samples.
# This feature is normally only used in conjunction with the creation
# of PNG imagery. If not specified, then all visible weather elements
# will have a sample value.
#SampleParms = ['T', 'Wind']
# Using descriptive names instead of the pretty Wx strings for samples.
# This set of parallel lists translate a pretty Wx string into a
# more descriptive name for the sample labels.
#AltWxSampleLabels_prettyWx = ['Sct RW-', 'Sct SW-']
#AltWxSampleLabels_label = ['Rain Showers', 'Snow Showers']
# ISC Update Time. The samples can show the ISC Update Time if in ISC mode.
# Acceptable entries are yes and no.
ShowISCUpdateTime = yes
# ISC Site Id. The samples can show the ISC Site Id if in ISC mode.
# Acceptable entries are yes and no.
ShowISCSiteID = yes
# Enable ISC Markers. ISC Markers are only shown
# if ISC mode or an ISC grid is displayed. Acceptable entries are yes and no.
ShowISCMarkers = yes
# ISC Update Time for Marker. The sample markers can show the ISC
# Update Time if in ISC mode.
# Acceptable entries are yes and no.
ShowISCUpdateTimeMarker = yes
# ISC Site Id Marker. The sample markers can show the ISC Site Id
# if in ISC mode. # Acceptable entries are yes and no.
ShowISCSiteIDMarker = yes
# ISC Official Symbol Marker. The sample markers can show the "P" symbol
# for the # official database data or not. Acceptable entries are yes and no.
ShowISCOfficialSymbolMarker = yes
# ISC Official Symbol. The samples can show the "P" symbol for the
# official database data or not. Acceptable entries are yes and no.
ShowISCOfficialSymbol = yes
# Spatial Editor Color Bar Label/Tick Colors
# Controls the tick, foreground text colors for the labels,
# and the foreground/background text colors for the pickup value. There
# is a special set of colors for the Wx/Discrete (WEATHER/DISCRETE) values.
#SEColorBar_tickColor = "white"
#SEColorBar_fgTextColor = "white"
#SEColorBar_fgPickUpColor = "white"
#SEColorBar_bgPickUpColor = "black"
#SEColorBar_fgWxPickUpColor = "white"
#SEColorBar_bgWxPickUpColor = "purple"
# Configure additional labels on the SE Color Bar for WEATHER.
# The format is an array of strings which represent the ugly weather
# string.
#Wx_AdditionalColorBarLabels = [ \
# "<NoCov>:<NoWx>:<NoInten>:<NoVis>:<NoAttr>" ]
#------------------------------------------------------------------------
# GFE Font Sizes
#------------------------------------------------------------------------
# This section provides the user the capability of changing the font
# sizes in various components of the GFE. The font numbers can range
# from 0 through 4 with 0 being the smallest.
# These font entries define the fonts used by various components of
# the GFE.
#ColorBarScale_font = 1
#ColorBarWxLabel_font = 2
#ColorBarPickUp_font = 3
#SESample_font = 2
#SEMarker_font = 3
#SELegend_font = 3
#TEDataSelector_font = 1
#TESample_font = 1
#TimeBlockLabel_font = 3
#TimeBlockSource_font = 1
#TimeScale_font = 2
#SetValueContLabel_font = 2
#SetValuePickUp_font = 3
# Defines the default labeling size on the Bounded Area display for
# weather, the contour tool depiction font, the map background font,
# and the contour labeling font. These fonts can also be modified on
# a per-parm basis using the fontOffset capability defined in the
# parameter configuration.
#BoundedArea_font = 2
#Cline_font = 2
#Contour_font = 2
#------------------------------------------------------------------------
# Grid Manager Saved, Published, Sent configurations
#------------------------------------------------------------------------
# Defines the colors and times used to color the Grid Manager when
# in the last saved, last modified, last published, or last sent display mode.
# parallel list of minutes and colors. If the last save, modified,
# published, sendISC time is less than the given time (in minutes),
# then that color is used to display the box. The default if the
# last xxx time is greater than the final "minutes" in the list, is Gray75.
Modified_minutes = [60, 180, 360, 720, 1440, 2880 ]
Modified_colors = ["#0bc71e", "#60c7b8", "#417fc7", "#e17c10",
"#ebdf00", "#e11a00"]
Saved_minutes = [60, 180, 360, 720, 1440, 2880 ]
Saved_colors = ["#0bc71e", "#60c7b8", "#417fc7", "#e17c10",
"#ebdf00", "#e11a00"]
Published_minutes = [60, 180, 360, 720, 1440, 2880 ]
Published_colors = ["#0bc71e", "#60c7b8", "#417fc7", "#e17c10",
"#ebdf00", "#e11a00"]
Sent_minutes = [60, 120, 180, 240, 300, 360]
Sent_colors = ["#0bc71e", "#60c7b8", "#417fc7", "#e17c10",
"#ebdf00", "#e11a00"]
#------------------------------------------------------------------------
# Grid Data History configuration
#------------------------------------------------------------------------
# Defines the characters, colors, and patterns that will appear
# in the Grid Manager grid blocks
# to indicate the source, origin, and modification states.
#
# If the grid has been modified by me or someone else, the text in the
# grid block and grid pattern is modified to that specified below:
HistoryUserModText_Me = "m" #Text for modified by me
HistoryUserModText_Other = "o" #Text for modified by other
HistoryUserModPattern_Me = "TRANS_25PC_45DEG" #Pattern for mod by me
HistoryUserModPattern_Other = "TRANS_25PC_135DEG" #Pattern for mod by other
# The text in the grid block and the grid color will represent the origin:
# Note that the user can also override the populated in the next section.
HistoryOriginText_Populated = "P"
HistoryOriginText_Calculated = "C"
HistoryOriginText_Scratch = "S"
HistoryOriginText_Interpolated = "I"
HistoryOriginText_Other = "?"
HistoryOriginColor_Populated = "wheat"
HistoryOriginColor_Calculated = "red"
HistoryOriginColor_Scratch = "magenta"
HistoryOriginColor_Interpolated = "blue"
HistoryOriginColor_Other = "gray75"
# This next section applies to the text and the color of the grid blocks
# that have an origin of Populated. The model determines the text and color.
# The format of the color entry is HistoryModelColor_modelname. The format
# of the text entry is: HistoryModelText_modelname. If a model is not
# listed here, then the HistoryOriginText_Populated and
# HistoryOriginColor_Populated is used.
HistoryModelColor_gfsLR = '#30df10'
HistoryModelColor_RAP40 = '#00ffff'
HistoryModelColor_MAVMOS = '#e6c8a1'
HistoryModelColor_GFSMOS = '#e6d8a1'
HistoryModelColor_METMOS = '#e6b8a1'
HistoryModelColor_MEXMOS = '#e6a8a1'
HistoryModelColor_NAM80 = '#ffff52'
HistoryModelColor_NAM95 = '#ffff52'
HistoryModelColor_NAM40 = '#ff99ff'
HistoryModelColor_NAM12 = '#ffcaa0'
HistoryModelColor_GFS80 = 'pink'
HistoryModelColor_GFS40 = 'pink'
HistoryModelColor_GFS190 = 'pink'
HistoryModelColor_GWW = '#a0a0ff'
HistoryModelColor_HPCStn = '#d0d0a0'
HistoryModelColor_HPCGrid = '#d0d0b0'
HistoryModelColor_ISC = '#b43aee'
HistoryModelColor_LAPS = '#b06b72'
HistoryModelColor_HPCQPF = '#3dc9ff'
HistoryModelColor_HPCGuide = '#3dc9ff'
HistoryModelColor_RFCQPF = '#3bffb7'
HistoryModelColor_Restore = '#e0a0ff'
HistoryModelColor_DGEX = 'orange'
HistoryModelColor_MOSGuide = '#e608ff'
HistoryModelColor_OPCTAFBE = '#a0a0cc'
HistoryModelColor_OPCTAFBSW = '#a0a0cc'
HistoryModelColor_OPCTAFBNW = '#a0a0cc'
HistoryModelColor_RTMA = '#a0522d'
HistoryModelColor_NamDNG5 = '#808000'
HistoryModelText_GFS80 = 'GFS'
HistoryModelText_GFS40 = 'GFS'
HistoryModelText_GFS190 = 'GFS'
HistoryModelText_RAP40 = 'RUC'
HistoryModelText_GFSMOS = 'GFSMOS'
HistoryModelText_MEXMOS = 'MEXMOS'
HistoryModelText_MAVMOS = 'MAVMOS'
HistoryModelText_METMOS = 'METMOS'
HistoryModelText_NAM80 = 'N80'
HistoryModelText_NAM95 = 'N95'
HistoryModelText_NAM40 = 'N40'
HistoryModelText_NAM20 = 'N20'
HistoryModelText_NAM12 = 'N12'
HistoryModelText_gfsLR = 'gfsLR'
HistoryModelText_HPCStn = 'HPCs'
HistoryModelText_HPCGrid = 'HPCg'
HistoryModelText_GWW = 'GWW'
HistoryModelText_ISC = 'ISC'
HistoryModelText_LAPS = 'LAPS'
HistoryModelText_HPCQPF = 'HPCQPF'
HistoryModelText_HPCGuide = 'HPCGuide'
HistoryModelText_RFCQPF = 'RFCQPF'
HistoryModelText_Restore = 'Restore'
HistoryModelText_DGEX = 'DGEX'
HistoryModelText_MOSGuide = 'GMOS'
HistoryModelText_OPCTAFBE = 'OPC'
HistoryModelText_OPCTAFBSW = 'OPC'
HistoryModelText_OPCTAFBNW = 'OPC'
HistoryModelText_RTMA = 'RTMA'
HistoryModelText_NamDNG5 = 'Nd5'
#------------------------------------------------------------------------
# Algorithm Configuration
#------------------------------------------------------------------------
# Smart tools can access time-weighted averages of multiple grids. Since
# weather is discrete, time weighted average for weather is based on
# all values of weather at that grid point as long as they occupy at least
# the given percentage of all grids. Do not place a decimal point after
# the number.
SignificantWeatherTimeWeightAverage_percent = 40
# The default width of the pencil tool can be specified in grid cells
# on a per weather element basis. The format is parmName_pencilWidth.
# If not specified, the value defaults to 4.
#T_pencilWidth = 4
# Pencil Tool influence sizes are specified here
PencilToolInfluence_list = [1, 2, 4, 8, 12, 16]
# Smooth algorithm default value
SmoothSize = 3
# Smooth Size Choices
SmoothSizeList = [3, 5, 7, 9]
# User can control the interpolation algorithm for each weather element.
# The format of the string is parmName_interpolateAlgorithm. The available
# options, which must be quoted, are "CUBIC_ADVECT", "LINEAR_ADVECT",
# "CUBIC_NOADVECT", and "LINEAR_NOADVECT". By default, most elements use
# CUBIC_NOADVECT, except for Wx, PoP, Sky, and QPF which use CUBIC_ADVECT.
# Wind and Wx cannot be changed.
# T_interpolateAlgorithm = "CUBIC_NOADVECT"
#------------------------------------------------------------------------
# Menu and Dialog Configuration
#------------------------------------------------------------------------
# Entries allow the specification of the zoom factor (click 1) over the
# Pickup Value Dialog. There is only one zoom step. If not specified,
# the default is set to a zoom factor of 4. You can also specify specific
# zoom factors based on the parameter name.
# SetValue_zoom is the generic zoom value. parmName_SetValue_zoom is
# the parameter-specific zoom value. Do not place a decimal point
# after the numbers.
SetValue_zoom = 4
QPF_SetValue_zoom = 10
# The maximum value on the Set Delta Dialog may be set on a
# per weather element basis. Format is weName_MaxDeltaDialogValue.
# The floating-point entry requires a decimal point in the value.
# The default is 20% of the weather element data range.
#Sky_MaxDeltaDialogValue = 30.0
# The default value of the Interpolate Dialog mode may be set to
# either "Gaps" or "Edited", which refer to "By Gaps" and "Based on
# Edited Data" on the dialog. The default if not specified is "By Gaps".
#InterpolateDialogMode = "Gaps"
#------------------------------------------------------------------------
# Weather Element Configuration
#------------------------------------------------------------------------
# generic colors for graphics -----------------------------------
# These colors will be the colors assigned to the graphics, unless
# specific colors are assigned to each parameter.
Generic_colors = ['#00ff00', '#ff8e59', '#00ffff', '#e6c8a1',
'#ffff52', '#ff99ff', '#aeb370', '#ff4000',
'#e6c8a1']
# Specific Graphic Colors for a parameter
# The user may specify a specific color to be used for a parameter, rather
# than getting a random color assigned. This color will be assigned, if
# available. Format is parmName_graphicColor = color. The color does
# not need to be in the Generic_colors list.
#T_graphicColor = 'green'
Wx_graphicColor = '#ffffff'
# Specific Graphic Line Widths for a parameter
# Default line widths can be set for each weather element, which will
# be used to draw their graphics on the spatial editor. 0 is the default
# value, which represents thin lines. The larger the number, the wider
# the line. The format is parmName_lineWidth. Do not include a decimal
# point after these entries.
#T_lineWidth = 1
# Specific Line Pattern definitions for a parameter.
# Default line patterns can be set up for each weather element. The
# possible strings are "SOLID", "DASHED", "DOTTED", "DASH_DOTTED". The
# values must be enclosed within quotes. The format is parmName_linePattern.
#T_linePattern = "SOLID"
# Specific Font Offsets for a parameter.
# The font offset (called magnification on the GFE menus) allows the
# default font size to be increased or decreased on a per-parameter
# basis. Note that for wind arrows/barbs, the fontOffset controls the
# size of the wind arrows/barbs. Numbers can range from -2 through +2.
# Format is parmName_fontOffset. Do not include a decimal point
# after these entries.
#T_fontOffset = 0
# Specific Density definitions for a parameter.
# The density controls the packing of wind barbs and arrows for the vector
# spatial editor displays, and the packing of contour intervals for the
# scalar spatial editor displays. The default is zero. Densities and
# contour values are related to each other. Typical values can range
# from -2 through +2. You can use values outside of this range if
# desired. Format is parmName_density. Do not include a
# decimal point after these entries.
#T_density = 0
# temporal editor sizes -----------------------------------------
# the initial size of temporal editor panes may be defined on a
# per parameter basis. If not specified, the default is 150 pixels.
# Format is: parmName_temporalDataPaneSize = size
# Do not place a decimal point after the numbers.
# Wx_temporalDataPaneSize = 200
# contour values -----------------------------------------------
# contour values may be defined on a per-parameter basis. If not
# defined, then contour values are automatically computed.
# Format is wxElementName_contourValues = [c1, c2, c3, c4, ... ]
# Be sure to include decimal points in each entry.
# This overrides any entries that may exist in contour interval.
QPF_contourValues = [0.01, 0.05, 0.10, 0.15, 0.20, 0.25, 0.30, 0.40, 0.50,
0.60, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4, 2.6, 2.8,
3.0, 3.2, 3.4, 3.6, 3.8, 4.0, 4.2, 4.4, 4.6, 4.8, 5.0]
Topography_contourValues = [5.0, 10.0, 20.0, 30.0, 40.0, 50.0,
60.0, 70.0, 80.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 250.0,
300.0, 350.0, 400.0, 450.0, 500.0, 600.0, 700.0, 800.0, 900.0,
1000.0, 1250.0, 1500.0, 1750.0, 2000.0, 2500.0, 3000.0, 3500.0,
4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0,
8000.0, 8500.0, 9000.0, 9500.0, 10000.0, 11000.0, 12000.0, 13000.0,
14000.0, 15000.0, 16000.0, 17000.0, 18000.0, 19000.0, 20000.0]
# contour intervals -----------------------------------------------
# contour intervals may be defined on a per-parameter basis. If not
# defined, then contour values are automatically computed.
# Format is wxElementName_contourInterval = value.
# Be sure to include decimal points in the entry.
# Note, you can also specify wxElementName_contourValues, which
# will override the entry for contour interval.
Sky_contourInterval = 10.0
PoP_contourInterval = 10.0
MinT_contourInterval = 5.0
MaxT_contourInterval = 5.0
T_contourInterval = 5.0
Td_contourInterval = 5.0
# delta values
# Delta values define the default delta (adjust up, adjust down) value
# for the adjust operations. The user can redefine this at any time
# through the GUI. If not specified, the delta value defaults to
# the precision value. For example, a precision of 0 indicates a delta of 1.
# and a precision of 1 indicates a delta of 0.1.
# Format is parmName_deltaValue = value.
# Be sure to include a decimal point.
#parmName_deltaValue = 10.0
FzLevel_deltaValue = 100.0
SnowLevel_deltaValue = 100.0
# fuzz values
# fuzz values define the value considered to be the same during a
# homogeneous area select using the GridPoint Tool. For example, if the
# fuzz is 2.0 degrees for Temperature and you click on 40 degrees, then
# all points between 38 and 42 will be selected as long as they are
# contiguous to the click point. If not specified, the fuzz is set
# to 1/100 of the parm range. Format is parmName_fuzzValue = value.
# Be sure to include a decimal point.
#parmName_fuzzValue = 10.0
# visual types
# This section defines the spatial and temporal editor visualization
# types for the scalar, vector, and weather parameters. There are two
# modes, graphic and image. For example, the weather parameter may be
# viewed as a bounded area and an image. Available types:
# Spatial Editor Options:
# Scalar: Image, Contour
# Vector: Image, WindBarb, WindArrow
# Weather: Image, BoundedArea
# Discrete: Image, BoundedArea
# Temporal Editor Options:
# Scalar: TEColorBar, TEColorRangeBar, TimeBar, RangeBar
# Vector: TEColorBar, TEColorRangeBar, TimeBar, RangeBar
# Weather: TEColorBar, TEColorRangeBar
# Discrete: TEColorBar, TEColorRangeBar
#
# format is: parmName_editorImageType = [ types ] or
# parmName_editorGraphicType = [ types ] where 'editor' is replaced with
# spatial or temporal.
# For example, to make wind appear as wind arrows on the spatial editor
# in graphic mode: Wind_spatialGraphicType = ["WindArrow"].
Wx_spatialImageType = [ "Image", "BoundedArea" ]
Headlines_spatialImageType = [ "Image", "BoundedArea" ]
Swell_spatialImageType = [ "Image", "WindArrow" ]
Swell2_spatialImageType = [ "Image", "WindArrow" ]
Swell_spatialGraphicType = [ "WindArrow" ]
Swell2_spatialGraphicType = [ "WindArrow" ]
# Bounded Area Visual attributes
# The user may turn on/off the boundary, and the text labels, for
# the bounded area visual. Allowable values are yes and no (or True and False).
# By default, then are both enabled.
#BoundedArea_Labels = yes
#BoundedArea_Boundary = yes
# Wind Barb and Arrow Default Sizes.
# The user may specify the default wind barb and arrow default sizes,
# for the GFE, or by the weather element name. The default size is 60
# pixels. The entry format for a particular weather element definition
# of arrow or barb size is parmName_windArrowDefaultSize and
# parmName_windBarbDefaultSize.
WindArrowDefaultSize = 60
WindBarbDefaultSize = 60
#Wind_windArrowDefaultSize = 60
#Wind_windBarbDefaultSize = 60
# Wind Arrow Scaling
# The user may specify the default scaling for the wind arrow. If not
# specified, then the wind arrows will grow linearly with an increase
# in magnitude. To emphasize the lower ranges, the user may set the
# wind arrow logarithmic scaling. The lower the number,
# the steeper the log curve will appear. Refer to on-line documentation
# for example values. Include decimal points with the numbers.
# Note that the factor needs to be greater than 0. The format of the
# entry is parmName_arrowScaling.
Wind_arrowScaling = 0.03
Swell_arrowScaling = 0.001
Swell2_arrowScaling = 0.001
# Wind Sample Format
# The user may specify the default sample format for vector weather elements.
# If not specified, then the format is "ddff". The user may specify a format
# for all vector elements, or can specify the format for a particular weather
# element. The four possible formats are "ddff", "8pt", "16pt", and "d/f".
# The configuration entry for the default sample format for all vector
# elements is WindFormat = "type". The entry format to define the format for
# a specific entry is parmName_windFormat = "type".
WindFormat = "ddff"
#Swell_windFormat = "8pt"
# Default Values (for create from scratch)
# The default values for SCALAR, VECTOR, WEATHER, and DISCRETE may be
# specified on a per-weather element basis. By default, SCALAR has the
# weather element's minimum value, VECTOR has a magnitude and direction of 0,
# WEATHER has <NoWx>, and DISCRETE has the first defined discrete key
# (always <None> for Hazards grids, user-defined DISCRETE grids may vary).
# Format of the entry is parmName_defaultValue, or parmName_level_defaultValue
# for non-surface based SCALAR, WEATHER, or DISCRETE elements. For VECTOR,
# the format is slightly different: parmName_magDefaultValue has the
# magnitude, and parmName_dirDefaultValue has the direction in degrees.
# A decimal point is required for SCALAR and VECTOR, strings are required for
# WEATHER and DISCRETE.
#
#T_defaultValue = 32.0
#Wx_defaultValue = "<NoCov>:<NoWx>:<NoInten>:<Novis>:"
#Wind_dirDefaultValue = 90.0
#------------------------------------------------------------------------
# Weather/Discrete Common Value Definitions
#------------------------------------------------------------------------
# the following describes common types that appear on the temporal
# editor popup menu and the spatial editor color bar popup menu.
# For WEATHER, the format is the "ugly" string of the Weather Key. For
# DISCRETE, the format is the key string of the Discrete Key.
# Prefixing an string with other strings that end with a vertical
# bar (|) will make these strings in a cascade,
# such as "Winter|Wide:S:--:<NoVis>:<NoAttr>",
# which will put the widespread snow under a Winter cascade. The format
# of this entry is parmName_commonValues, and applies to Weather and
# Discrete only.
Wx_commonValues = [ \
"<NoCov>:<NoWx>:<NoInten>:<NoVis>:<NoAttr>",
"Wide:R:-:<NoVis>:<NoAttr>",
"Wide:S:--:<NoVis>:<NoAttr>",
"Wide:R:-:<NoVis>:<NoAttr>^Wide:S:-:<NoVis>:<NoAttr>",
"Sct:RW:-:<NoVis>:<NoAttr>",
"Sct:SW:-:<NoVis>:<NoAttr>",
"Sct:T:<NoInten>:<NoVis>:<NoAttr>^Sct:RW:-:<NoVis>:<NoAttr>",
"Patchy:F:<NoInten>:<NoVis>:<NoAttr>"]
Hazards_commonValues = [ \
"Watches|Fire Weather|FW.A",
"Watches|Hydrology|FF.A",
"Watches|Hydrology|FA.A",
"Watches|Coastal Flooding|CF.A",
"Watches|Coastal Flooding|LS.A",
"Watches|Marine|GL.A",
"Watches|Marine|HF.A",
"Watches|Marine|SE.A",
"Watches|Marine|SR.A",
"Watches|Marine|UP.A",
"Watches|Non-Precipitation|EH.A",
"Watches|Non-Precipitation|FZ.A",
"Watches|Non-Precipitation|HW.A",
"Watches|Non-Precipitation|HZ.A",
"Watches|Non-Precipitation|EC.A",
"Watches|Winter Storm|WC.A",
"Watches|Winter Storm|WS.A",
"Warnings|Fire Weather|FW.W",
"Warnings|Coastal Flooding|CF.W",
"Warnings|Coastal Flooding|LS.W",
"Warnings|Coastal Flooding|SU.W",
"Warnings|Marine|MH.W",
"Warnings|Marine|HF.W",
"Warnings|Marine|GL.W",
"Warnings|Marine|UP.W",
"Warnings|Marine|SR.W",
"Warnings|Marine|SE.W",
"Warnings|Non-Precipitation|AF.W",
"Warnings|Non-Precipitation|DU.W",
"Warnings|Non-Precipitation|EH.W",
"Warnings|Non-Precipitation|FZ.W",
"Warnings|Non-Precipitation|HW.W",
"Warnings|Non-Precipitation|HZ.W",
"Warnings|Non-Precipitation|EC.W",
"Warnings|Winter Storm|BZ.W",
"Warnings|Winter Storm|IS.W",
"Warnings|Winter Storm|LE.W",
"Warnings|Winter Storm|WC.W",
"Warnings|Winter Storm|WS.W",
"Advisories|Marine|UP.Y",
"Advisories|Marine|LO.Y",
"Advisories|Marine|SC.Y",
"Advisories|Marine|SW.Y",
"Advisories|Marine|BW.Y",
"Advisories|Marine|RB.Y",
"Advisories|Marine|SI.Y",
"Advisories|Marine|MF.Y",
"Advisories|Marine|MS.Y",
"Advisories|Marine|MH.Y",
"Advisories|Coastal Flooding|CF.Y",
"Advisories|Coastal Flooding|LS.Y",
"Advisories|Coastal Flooding|SU.Y",
"Advisories|Non-Precipitation|AS.O",
"Advisories|Non-Precipitation|AS.Y",
"Advisories|Non-Precipitation|AQ.Y",
"Advisories|Non-Precipitation|DU.Y",
"Advisories|Non-Precipitation|FG.Y",
"Advisories|Non-Precipitation|SM.Y",
"Advisories|Non-Precipitation|ZF.Y",
"Advisories|Non-Precipitation|FR.Y",
"Advisories|Non-Precipitation|HT.Y",
"Advisories|Non-Precipitation|LW.Y",
"Advisories|Non-Precipitation|AF.Y",
"Advisories|Non-Precipitation|WI.Y",
"Advisories|Winter Weather|WC.Y",
"Advisories|Winter Weather|WW.Y",
"Statements|Coastal Flooding|CF.S",
"Statements|Coastal Flooding|LS.S",
"Statements|Coastal Flooding|RP.S",
"Statements|Marine|MA.S",
]
#------------------------------------------------------------------------
# Weather Dialog Default Values
#------------------------------------------------------------------------
# the following describes the intensity and coverage/probability defaults
# that appear in the Set Value dialog for Weather data. The format is
# the weather type (e.g., RW), followed by the keyword. The actual value
# is a string surrounded in quotes.
# Define the weather dialog default coverage/probabilities
R_defaultCoverage = "Wide"
RW_defaultCoverage = "Sct"
S_defaultCoverage = "Wide"
SW_defaultCoverage = "Sct"
T_defaultCoverage = "Sct"
# Define the weather dialog default intensities
R_defaultIntensity = "-"
RW_defaultIntensity = "-"
S_defaultIntensity = "-"
SW_defaultIntensity = "-"
L_defaultIntensity = "-"
ZR_defaultIntensity = "-"
ZL_defaultIntensity = "-"
IP_defaultIntensity = "-"
#------------------------------------------------------------------------
# Default Discrete Color Table Algorithm Configuration
#------------------------------------------------------------------------
# DiscreteOverlapPatterns are used for overlapping (non-exclusive)
# Discrete weather elements when two or more values are overlapping.
# Each entry denotes the fill pattern to use when it is overlapping
# another pattern. The available types are: WHOLE, WIDE, SCATTERED,
# WIDE_SCATTERED, ISOLATED, TRANS_25PC_45DEG, SELECTED_AREA, OCNL,
# LKLY, TRANS_25PC_135DEG, DUALCURVE, CURVE, VERTICAL, CROSS, HORIZONTAL,
# BIGCROSS. DiscreteOverlapPatterns are used for all discrete weather
# elements, unless a parmName_level_DiscreteOverlapPatterns is found.
#------------------------------------------------------------------------
DiscreteOverlapPatterns = ['TRANS_25PC_45DEG', 'TRANS_25PC_135DEG', 'CROSS']
#pName_level_DiscreteOverlapPatterns = ['pat1', 'pat2', 'pat3']
# DiscreteComplexColor is used when there aren't enough fill patterns
# defined for overlap. This color is used when a very complex overlapping
# situation occurs. DiscreteComplexColor applies to all discrete
# weather elements, unless a parmName_level_DiscreteComplexColor
# value is found. Default is "White".
#DiscreteComplexColor = 'White'
#pName_level_DiscreteComplexColor = 'color'
# DiscreteComplexPattern is used when there aren't enough fill patterns
# defined for overlap. This pattern is used when a very complex overlapping
# situation occurs. DiscreteComplexPattern applies to all discrete
# weather elements, unless a parmName_level_DiscreteComplexPattern
# value is found. Default is "SCATTERED".
#DiscreteComplexPattern = 'SCATTERED'
#pName_level_DiscreteComplexPattern = 'pattern'
#------------------------------------------------------------------------
# Default (non-weather) Color Table Algorithm Configuration
#------------------------------------------------------------------------
# The default color table is used for all parameters unless overridden in
# this configuration file. The left wavelength defines the left side
# value for the color in nanometers. 380 is roughly purple. The right
# wavelength defines the right side value for the color in nanometers.
# 650 is red. The number of colors indicate the number of color bins
# that will be used when the default color table is displayed.
# Use decimal points after the wavelengths, but not the numColors.
DefaultColorTable_leftWavelength = 380.0
DefaultColorTable_rightWavelength = 650.0
DefaultColorTable_numColors = 150
# color table default entries -----------------------------
# Entries can be made to define a default color table for a particular
# parameter. If a default color table is not defined for a parameter, then
# the spectrum defined in DefaultColorTable* will be used for the parameter.
# Entries are of the form parmName_defaultColorTable="colortablename".
# For example, if you want MaxT to always have a "Low-Enhanced" color table,
# then the entry would be as shown below.
# MaxT_defaultColorTable = "Low-Enhanced"
# You can determine the possible color tables that are on the system by
# displaying any scalar image and selecting "Change Color Table To".
RipProb_defaultColorTable="GFE/RipProb"
ErosionProb_defaultColorTable="GFE/RunupProbs"
OverwashProb_defaultColorTable="GFE/RunupProbs"
T_defaultColorTable="GFE/Mid Range Enhanced"
Td_defaultColorTable="GFE/Mid Range Enhanced"
MaxT_defaultColorTable="GFE/Mid Range Enhanced"
MinT_defaultColorTable="GFE/Mid Range Enhanced"
Sky_defaultColorTable="GFE/Cloud"
Wind_defaultColorTable="GFE/Low Range Enhanced"
Wind20ft_defaultColorTable="GFE/Low Range Enhanced"
PoP_defaultColorTable="GFE/ndfdPoP12"
QPF_defaultColorTable="GFE/Gridded Data"
Ttrend_defaultColorTable = "GFE/Discrepancy"
RHtrend_defaultColorTable = "GFE/Discrepancy"
Wetflag_defaultColorTable = "GFE/YesNo"
DeltaMinT_defaultColorTable = "GFE/Discrepancy"
DeltaMaxT_defaultColorTable = "GFE/Discrepancy"
DeltaWind_defaultColorTable = "GFE/Discrepancy"
DeltaSky_defaultColorTable = "GFE/Discrepancy"
DeltaPoP_defaultColorTable = "GFE/Discrepancy"
# Default Satellite weather element color tables
visibleEast_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
ir11East_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir13East_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir39East_defaultColorTable = "Sat/IR/CIRA (IR Default)"
waterVaporEast_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
visibleCentral_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
ir11Central_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir13Central_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir39Central_defaultColorTable = "Sat/IR/CIRA (IR Default)"
waterVaporCentral_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
visibleWest_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
ir11West_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir13West_defaultColorTable = "Sat/IR/CIRA (IR Default)"
ir39West_defaultColorTable = "Sat/IR/CIRA (IR Default)"
waterVaporWest_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
VisibleE_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
IR11E_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR13E_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR39E_defaultColorTable = "Sat/IR/CIRA (IR Default)"
WaterVaporE_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
FogE_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
VisibleC_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
IR11C_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR13C_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR39C_defaultColorTable = "Sat/IR/CIRA (IR Default)"
WaterVaporC_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
FogC_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
VisibleW_defaultColorTable = "Sat/VIS/ZA (Vis Default)"
IR11W_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR13W_defaultColorTable = "Sat/IR/CIRA (IR Default)"
IR39W_defaultColorTable = "Sat/IR/CIRA (IR Default)"
WaterVaporW_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
FogW_defaultColorTable = "Sat/WV/Gray Scale Water Vapor"
Hazards_defaultColorTable = "GFE/Hazards"
# Start HTI entries
ProposedSS_defaultColorTable="GFE/w"
ProposedSSnc_defaultColorTable="GFE/w"
CollabDiffSS_defaultColorTable="GFE/diffSS"
InundationMax_defaultColorTable="GFE/Inundation"
InundationMax_maxColorTableValue = 30.0
InundationMax_minColorTableValue = 0.0
InundationMaxnc_defaultColorTable="GFE/Inundation"
InundationMaxnc_maxColorTableValue = 30.0
InundationMaxnc_minColorTableValue = 0.0
InundationTiming_defaultColorTable="GFE/Inundation"
InundationTiming_maxColorTableValue = 30.0
InundationTiming_minColorTableValue = 0.0
InundationTimingnc_defaultColorTable="GFE/Inundation"
InundationTimingnc_maxColorTableValue = 30.0
InundationTimingnc_minColorTableValue = 0.0
SurgeHtPlusTideMLLW_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMLLW_maxColorTableValue = 30.0
SurgeHtPlusTideMLLW_minColorTableValue = 0.0
SurgeHtPlusTideMLLWnc_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMLLWnc_maxColorTableValue = 30.0
SurgeHtPlusTideMLLWnc_minColorTableValue = 0.0
SurgeHtPlusTideMHHW_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMHHW_maxColorTableValue = 30.0
SurgeHtPlusTideMHHW_minColorTableValue = 0.0
SurgeHtPlusTideMHHWnc_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMHHWnc_maxColorTableValue = 30.0
SurgeHtPlusTideMHHWnc_minColorTableValue = 0.0
SurgeHtPlusTideNAVD_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideNAVD_maxColorTableValue = 30.0
SurgeHtPlusTideNAVD_minColorTableValue = 0.0
SurgeHtPlusTideNAVDnc_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideNAVDnc_maxColorTableValue = 30.0
SurgeHtPlusTideNAVDnc_minColorTableValue = 0.0
SurgeHtPlusTideMSL_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMSL_maxColorTableValue = 30.0
SurgeHtPlusTideMSL_minColorTableValue = 0.0
SurgeHtPlusTideMSLnc_defaultColorTable="GFE/Inundation"
SurgeHtPlusTideMSLnc_maxColorTableValue = 30.0
SurgeHtPlusTideMSLnc_minColorTableValue = 0.0
prob34_defaultColorTable="GFE/TPCprob"
prob64_defaultColorTable="GFE/TPCprob"
pwsD34_defaultColorTable="GFE/TPCprob"
pwsD64_defaultColorTable="GFE/TPCprob"
pwsN34_defaultColorTable="GFE/TPCprob"
pwsN64_defaultColorTable="GFE/TPCprob"
pws34int_defaultColorTable="GFE/TPCprob"
pws64int_defaultColorTable="GFE/TPCprob"
FloodingRainThreat_defaultColorTable = "GFE/gHLS_new"
StormSurgeThreat_defaultColorTable = "GFE/gHLS_new"
TornadoThreat_defaultColorTable = "GFE/gHLS_new"
WindThreat_defaultColorTable = "GFE/gHLS_new"
# End HTI entries
# TopDownWx
MaxTAloft_defaultColorTable="WarmNoseTemp"
WetBulb_defaultColorTable="WetBulbTemp"
# Logarithmic Color Table Assignments
# By default, all color tables are linear. Certain parameters may lend
# themselves to a logarithmic color table. To enable a logarithmic
# color table for a parameter, an entry in the form of
# parmName_LogFactor=factor is required. The closer the value is to zero,
# the steeper the log curve will appear. Refer to on-line documentation
# for example values. Include decimal points with the numbers.
# Note that the factor needs to be greater than 0
QPF_LogFactor = 0.03
SnowAmt_LogFactor = 0.6
# Default Max/Min Ranges for Color Tables
# By default, all colors tables (except for WEATHER) are spread out over
# the range of the minimum to maximum weather element possible value, as
# defined by serverConfig.py. The initial range of the color table can
# be specified through these entries. The form of the two entries are:
# parmName_maxColorTableValue and parmName_minColorTableValue. These
# values are floats and MUST have a decimal point in them.
#T_maxColorTableValue = 120.0
#T_minColorTableValue = -30.0
WetBulb_maxColorTableValue = 50.0
WetBulb_minColorTableValue = 20.0
# Fit To Data Color Tables
# Automatic Fit To Data color tables can be set up for the initial set
# of data in a weather element. The form of the entry is:
# parmName_fitToDataColorTable. The fit to data overrides any
# specified max/min color table values. There are several algorithms
# available: "None", "All Grids", "Single Grid", "All Grids over Area",
# and "Single Grid over Area". The Single Grid options are not
# available for the GFE and only apply to the ifpIMAGE program.
# Note that the ifpIMAGE program can specify an edit area to use for
# the "All Grids over Area" and "Single Grid over Area" algorithms.
# See Png_fitToDataArea. For the GFE, the active edit area is used in
# the fit to data scheme.
#T_fitToDataColorTable = "None"
# Configure the desired labels on the SE Color Bar on a per-parameter basis.
# The format is parmName + "_ColorBarLabels". For example, the color bar
# would be labeled at 10, 20, 40 & 60 for temperature with the following
# entry. Note that the values need to be entered as floats for all parameters.
# This is only used for SCALAR or VECTOR parameters.
# For WEATHER or DISCRETE parameters, use parmName_additionalColorBarLabels.
#T_ColorBarLabels = [10.00, 20.00, 40.00, 60.00]
#------------------------------------------------------------------------
# Weather Color Algorithm Configuration
#------------------------------------------------------------------------
# Color Tables for Weather are handled differently than scalar and
# vector data. Coverages are denoted by fill patterns. Composite
# types by colors. Complex weather of more than two coverages will
# result in a solid fill pattern and can't be configured.
# The WeatherCoverage_names and WeatherCoverage_fillPatterns indicate
# the fill pattern used for a particular weather coverage or probability.
# These are parallel lists. For example, if "Iso" coverage is in the 1st
# entry of the list and ISOLATED appears in the first entry of the
# fill patterns, the for Iso coverage, the fill pattern ISOLATED will
# be used.
WeatherCoverage_names = ["Iso", "Sct", "Num", "Wide", "Ocnl", "SChc",
"Chc", "Lkly", "Def", "Patchy", "<NoCov>", "Areas",
"Frq", "Brf", "Pds", "Inter"]
WeatherCoverage_fillPatterns = ["WIDE_SCATTERED", "SCATTERED", "LKLY", "WIDE",
"OCNL", "WIDE_SCATTERED", "SCATTERED", "LKLY",
"WIDE", "CURVE", "WHOLE", "DUALCURVE",
"OCNL", "OCNL", "OCNL", "OCNL"]
# The weather type entries are generic entries without intensities.
# Combinations are permitted. The WeatherType_names and WeatherType_colors
# are parallel lists of names and colors. The default weather color table
# algorithm looks at the weather type or combination of types, as listed
# in the _names, and matches the list with the specified color. For
# example, if T appears in the names as the first entry and brown2 appears
# in the colors for the first entry, then for weather type T, the color
# shown will be brown2.
WeatherType_names = ["<NoWx>", "T", "R", "RW", "L", "ZR", "ZL",
"S", "SW", "IP", "F", "H", "BS", "K", "BD",
"SA", "LC", "FR", "AT", "TRW"]
WeatherType_colors = ["Gray40", "red3", "ForestGreen",
"ForestGreen", "CadetBlue1", "darkorange1",
"goldenrod1", "Grey65", "Grey65", "plum1",
"khaki4", "Gray75", "snow", "grey30", "Brown",
"blue1", "coral1", "pale turquoise", "DeepPink",
"red3"]
# The weather type entries are specific entries that contain intensities.
# Combinations are permitted. The WeatherTypeInten_names and
# WeatherTypeInten_colors are parallel lists of names and colors. The
# algorithm looks first at this list to find a specific type/intensity
# match. If not found, then the algorithm looks in the WeatherType_names
# and WeatherType_colors list for a match. If not found, then a generic
# color is assigned.
# The weather type with intensity entries are specific entries
WeatherTypeInten_names = ["T+", "Rm", "R+", "RWm", "RW+"]
WeatherTypeInten_colors = ["red1", "green", "green", "green", "green"]
# Colors to use for weather which was not defined using any of the methods
# found above. The colors in this list will be used before a "random" color
# is chosen.
WeatherGeneric_colors = ["Coral", "CadetBlue2", "Aquamarine", "DarkKhaki",
"DodgerBlue", "IndianRed1", "PaleGreen", "MistyRose",
"chartreuse3", "PapayaWhip"]
#------------------------------------------------------------------------
# Preference Defaults
#------------------------------------------------------------------------
# Default setting for changing the active grid to an image-type display.
# This occurs when "Edit Grid" from the Grid Manager or setting a parameter
# active from the legend.
ImageOnActiveSE = yes
# Default visibility setting for showing the time scale lines in the
# Grid Manager and Temporal Editor
TimeScaleLines = yes
# Default visibility setting for showing the editor time lines in the
# Grid Manager and Temporal Editor. The editor time line is always on
# for the Time Scale.
EditorTimeLines = yes
# Default visibility setting for showing the split boundary or time
# constraints in the Grid Manager and Temporal Editor for mutable parameters.
SplitBoundaryDisplay = yes
# Default setting for combining like parameters (same units) in the
# temporal editor when loading parameters.
TemporalEditorOverlay = yes
# Default setting for temporal editor edits. Choices are absolute mode
# or relative mode which is defined by "yes" or "no".
TemporalEditorAbsoluteEditMode = no
# Initial statistics mode for temporal editor range statistics dialog.
# Choices are "ABSOLUTE", # "MODERATED", or "STANDARD_DEVIATION".
TemporalEditorStatisticsMode = "ABSOLUTE"
# Initial minimum and maximum values for scales on temporal editor range
# statistics dialog in moderated and standard deviation operation modes
# (dialog is not shown in absolute mode). Do NOT include a decimal point
# for moderated mode values, you MUST include a decimal point for standard
# deviation values.
TemporalEditorStatisticsModeModeratedMin = 15
TemporalEditorStatisticsModeModeratedMax = 15
TemporalEditorStatisticsModeStandardDeviationMin = 1.0
TemporalEditorStatisticsModeStandardDeviationMax = 1.0
# Default setting for editing components of vector parameters. Choices
# are MAG, DIR, or BOTH.
WindEditMode = "BOTH"
# Default setting for automatic combining of existing weather/discrete and new
# weather/discrete when editing. For example, if the setting is yes
# and existing weather is Rain, then setting the value to Snow will result in
# a Rain/Snow mix.
WeatherDiscreteCombineMode = no
# Default setting for Missing Data Mode. Possible values are:
# Stop: Stop execution of a smart tool if there is missing data.
# Skip: Skip grids for which there is missing data.
# A User Alert message will report which grids were skipped.
# Create: Create grids to supply the missing data.
# A User Alert message will report which grids were created.
MissingDataMode = "Stop"
# Default setting for showing the dialog box when the user attempts to
# edit grids when a selection time range is active. Editing grids when
# a selection time range is active may cause multiple grids to be
# edited.
ShowTimeRangeWarning = yes
# Default setting for showing the dialog box when the user attempts to
# edit grids without an edit area being set. The behavior is to edit
# the entire domain.
ShowEmptyEditAreaWarning = yes
# Specifies the default contour to grid algorithm. Can be set to
# "Contour Analyzer", "Internal SIRS Server"
ContourServer = "Contour Analyzer"
# The Countour Analyzer algorithm can run over a subsampled grid
# to improve performance. This is usually ok since the contour tool
# is mostly used where there is not much detail due to topography.
# The value of ContourSubSample is used to divide the x and y dimensions
# of the original grid to get the dimensions of the subsampled grid.
# So, setting ContourSubSample to 4 would cause the Contour Analyzer to
# reduce a 400x400 grid to a 100x100 grid for contouring purposes.
# This can greatly speed up the algorithm. Setting ContourSubSample to
# 1 will cause no reduction.
# The default value is 4. If ContourSubSample is set to a value less than
# or equal to 0 then it will go back to 4. If it is set to a value large
# enough to make the subsampled grid have an x or y dimension less than 5
# then it will be reduced so that the minimum dimension for x or y will be
# 5.
ContourSubSample = 4
# Specifies whether the selection time range will track the spatial
# editor time when time stepping using the toolbar buttons or keyboard.
SelectGridsWhenStepping = no
# Default Time Scale Periods that are shown on the time scale. These
# are names of the selection time ranges (SELECTTR).
TimeScalePeriods = ['Today', 'Tonight', 'Tomorrow', 'Tomorrow Night',
'Day 3', 'Day 4', 'Day 5', 'Day 6', 'Day 7']
# Contour Tool drawing color. Defaults to "White"
#ContourToolDrawing_color = "White"
# Move/Copy, Pencil, SelectPoints drawing color. Defaults to "White"
#Drawing_color = "White"
#------------------------------------------------------------------------
# PNG Graphic Product Generation (ifpIMAGE program)
#------------------------------------------------------------------------
# Defines what kind of files ifpIMAGE will produce. The default is
# png. But you may also choose from the following list. Note that
# these are case sensitive and only png, svg, and gif have been really
# tested. [ 'png', 'pnm', 'gif', 'svg', 'ai', 'ps',
# 'cgm', 'fig', 'pcl', 'hpgl', 'regis',
# 'tek', 'meta' ]
#
#Png_fileType = 'ps'
# Legends display mode - 0 for UTC, 1 for local time
# Do not include a decimal point after the number.
#Png_localTime = 1 # legend displays time in local or UTC (default to UTC)
# You can set the height and width (in pixels) for the Png images.
# It is only necessary to set one of these, as the other will
# be calculated using the aspect ratio of your office domain.
# Do not include decimal points after the numbers.
# Both default to 400
#Png_height = 400
#Png_width = 400
# Name of the weather element which will be displayed as
# an image in the png. If nothing is specified here, then all weather
# elements will be displayed as a graphic. Topo may also be added
# using the string "Topo"
#Png_image = 'T'
# Indicates that a snapshot time should be displayed instead of the valid time
# of the grid.
Png_snapshotTime = 0 # ifpIMAGE only
# Default format of the snapshot time if the Png_snapshotTime = 1
#Png_legendFormat_Zulu_snapshot = "%b%d%H%MZ"
# Default format of the snapshot itme if the Png_snapshotTime = 1 and
# Png_localTime = 1
#Png_legendFormat_LT_snapshot = "%d %b %I:%M %p %Z"
# Indicate if the Png image displayed should be smoothed (1 = smoothing
# enabled, 0 = smoothing disabled). Note that smoothing will only apply
# to scalar and vector images.
Png_smoothImage = 0 # ifpIMAGE only
# Alternate way of specifying the weather elements to be displayed.
# If this entry is specified, then the DefaultGroup is ignored (for
# ifpIMAGE). Format is a list of weather elements in a pseudo weather
# element bundle formats, which consist
# of "parmName_level:optType_modelName seq", where the
# seq is normally -1 for singleton databases, 0 for model databases for
# the most recent version, 1 for the prev. version of a model database.
# If you wish, you may add Topo to this list. For it just use
# the string "Topo" (none of the other nonsense is needed).
#Png_parms = ['FzLevel_SFC:_Fcst -1', 'Sky_SFC:_Fcst -1', 'QPF_SFC:_Fcst -1']
# Ability to turn on/off legends for the graphic generation. Applies
# only to graphic product generation and not GFE. Defaults to on
# if not specified. Do not include a decimal point after the number.
#Png_legend = 1 #1 for visible, 0 for invisible
# Legend weather element name mode - SHORT for weather element name,
# LONG for weather element descriptive name, ALT for alternate,
# OFF for no name
#Png_descriptiveWeName = 'SHORT'
# Alternate weather element name. Png_descriptiveWeName must be set to ALT.
# These entries define the weather element name to be displayed based
# on the weather element name (e.g., T). The string
# format is Png_wxelem_AltName. For example, Png_MaxT_AltName = "Highs" will
# display "Highs" for the wx element name rather than MaxT or
# Maximum Temperature. If not defined and ALT is set, then the weather
# element name will be the 'SHORT' name.
#Png_MaxT_AltName = "Highs"
# Legend format for Pngs. See strftime(3) for time string formats
# or ifpIMAGE documentation. If the duration, start time, or ending
# time is not desired, then the entry should be set to "". There are
# separate entries for Zulu and LocalTime. The duration formats
# can use the %H (hours) %M (minutes) formats.
Png_legendFormat_Zulu_dur = "" # ifpIMAGE only
Png_legendFormat_Zulu_start = "%b %d %H%MZ to " # ifpIMAGE only
Png_legendFormat_Zulu_end = "%b %d %H%MZ" # ifpIMAGE only
Png_legendFormat_LT_dur = "" # ifpIMAGE only
Png_legendFormat_LT_start = "%b %d %I:%M %p %Z to " # ifpIMAGE only
Png_legendFormat_LT_end = "%b %d %I:%M %p %Z" # ifpIMAGE only
# Png filename prefix
# Specifies the prefix to be applied to all generated png imagery
#Png_filenamePrefix = 'desiredPrefix'
# Png filename format
# Specifies the format to be used for the date/time string in the
# generated png imagery. See strftime(3) for time string formats
# or the ifpIMAGE documentation. Default is yyyymmdd_hhmm
#Png_baseTimeFormat = '%Y%m%d_%H%M'
#By default, png images are generated for each and every possible change
#in the generated grids. For example, if you are generating a grid for T
#and WaveHeight, and the T is a one hour grid and the WaveHeight a 6 hour
#grid, that starts at the same time (e.g., 12z), two different images will
#be generated. The first will have T and WaveHeight together and will be
#time stamped to 12z; the second will just have WaveHeight and will be time
#stamped to 13z. This is identical behavior to running the GFE with
#multiple visible weather elements.
#You can override this behavior for the creation of the Png imagery by
#specifying an interval for which to generate imagery. The interval is
#specified in hours. Setting the value to 6 will generate grids at 00z,
#06z,12z and 18z, assuming there is data available to generate the imagery.
#The configuration line to set the generation to every 6 hours is:
#Png_interval = 6
#Png imagery intervals can be offset by the amount set in the
#Png_intervalOffset option. If the Png_intervalOffset is 1 and Png_interval =6,
#(specified in hours) grids will be generated at 01z, 07z, 13z, etc.,
#assuming there is data available to generate the imagery. Png_intervalOffset
#is 0.
#Png_intervalOffset = 0
# If using fit to data for ifpIMAGE, and the option "All Grids over Area",
# or "Single Grid over Area" is enabled, then the ifpIMAGE program needs to
# know the name of the edit area.
#Png_fitToDataArea = "BOU"
# Add a "logo bar" to the bottom of each image. If this flag is set to 1,
# then a bar containing the NOAA and NWS logos will be inserted at the bottom
# of the image.
#Png_logo = 0
# If Png_logo is enabled, then this can be set to a string you would
# like to have in the "logo bar". The string will be centered in the bar.
#Png_logoString = ""
# If an alternate legend language is desired, then enter that here.
# Acceptable values those defined in the locale command (part of Unix).
# Checked values are "spanish" and "french".
#Png_legendLanguage = "spanish"
# If set to 1, then the colorbar will not be rendered for images.
#Png_omitColorBar = 0
# Disables Automatic Zooming feature when ifpIMAGE clipping is enabled.
# Default is that ifpIMAGE will automatically zoom. Set to yes or 1 to
# disable automatic zooming.
#Png_wholeDomain = 0
# Enables the creation of the PNG *.info files. Set to yes or 1 to enable
# the creation. Set to no or 0 to disable the creation.
#Png_infoFiles = 1
# Enables the special masking for ifpIMAGE to use the ISC grid data history
# information. This is used when creating imagery with ISC data. Areas
# not containing current ISC data will be blanked out. 0 for off, 1 for on.
# This entry overrides the other masking.
#Png_historyMask = 0
#------------------------------------------------------------------------
# INTERSITE COORDINATION
#------------------------------------------------------------------------
# Moved to serverConfig/localConfig for OB8.3
#------------------------------------------------------------------------
# ZONE COMBINER CONFIGURATION
#------------------------------------------------------------------------
# Specifies the height and width of the zone combiner. It can be resized
# larger, but not smaller in the GFE. Defaults are 400 pixels
#ZoneCombiner_height = 400
#ZoneCombiner_width = 400
# Specifies the zone combiner colors for the background,
# and the no zone color, which is used when a zone is not included
# in any combination.
#ZoneCombiner_backgroundColor = 'gray40'
#ZoneCombiner_noZoneColor = 'black'
# If set true, then these options will be set when the zone combiner
# starts for each product.
#ZoneCombiner_LabelZones = False
#ZoneCombiner_LabelGroups = True
#------------------------------------------------------------------------
# PRODUCT GENERATION SCRIPTS
#------------------------------------------------------------------------
# Product Generation Scripts appear under the product generation menu
# on the GFE.
Scripts = [
"Ascii Grids...: " +
"ifpAG -h {host} -r {port} -o {prddir}/AG/{ztime}.ag " +\
"-d {productDB} ",
"Make and Send HTI:" +
"xterm -e ssh px2f /awips2/GFESuite/hti/bin/make_hti.sh {site}",
"Official Grids to LDAD: " +
"ifpAG -h {host} -r {port} -o - -d {productDB} | gzip -9 > " +
" /data/fxa/LDAD/ifp/Official/.incoming; " +
"mv /data/fxa/LDAD/ifp/Official/.incoming /data/fxa/LDAD/ifp/Official/{ztime} &"
"Png Images...:" +
"ifpIMAGE " +\
"-h {host} -c {entry:ConfigFile:imageTest1} -o {prddir}/IMAGE",
"Send Grids to NDFD..:" +
"sendGridsToNDFD.sh {site} &",
"Send Point and Click Grids to Consolidated Web Farm..:" +
"/awips2/GFESuite/bin/rsyncGridsToCWF_client.sh {site} &",
]
## Note: Please define TextProducts through
## the DefineTextProducts dialog (Product Generation Menu)
## within the GFE.
# Ordering Product Generation
# NOTE: 'ProductList' is not supported in AWIPS 2.
# Products will be listed in the order they appear in the list of Scripts above.
#------------------------------------------------------------------------
# Product Generation Script Notes
#
# Each script entry is a text string of the form:
# "<Entry Name>: " +
# "<command line script> "
#
# where:
# <Entry Name> will appear in the Product Generation menu
# <command line script> is the command line that will be submitted when
# the script is chosen.
#
# The following variables can be used in scripts and the GFE will fill
# in the appropriate information before executing the script:
#
# {host} -- server hostname
# {port} -- server port
# {site} -- site identifier
# {productDB} -- product database -- this is the
# Official Database if it exists.
# Otherwise, it's the Mutable (Fcst) database.
# {SEstart} -- Start of Spatial Editor time:
# format of all times: YYYYMMDD_HHMM
# {SEend} -- Spatial Editor time plus one second
# {SelectedStart} -- Start of Selected Time range
# {SelectedEnd} -- End of Selected Time range
# {time} -- Current local time in format: YYYYMMDD_HHMM
# {ztime} -- Current Zulu time in format: YYYYMMDD_HHMM
# {module:<module name>} -- The correct path of the module will
# be substituted in the command line.
# The module must have a .py extension.
# {home} -- Substitutes the home GFESuite directory
# at runtime (may differ from local to server)
# {prddir} -- Substitutes the product directory
# at runtime (may differ from local to server)
#
# Note that the directory {} values should be used, rather than hard-coding
# them, if you want to be able to run a process locally as well as remotely.
#
# If the following variables are used in a script,
# a dialog will appear for the user to make selections from a simple GUI
# before the script is executed:
# {parmsMutable} (Those listed in Forecast database)
# {refsets}
# {maps}
# {databases}
# {output file}
# {output directory}
# {startTime}
# {endTime}
##
# Named Variable
# To have the user prompted for a named variable, use the following
# in your script:
# {entry: <name of variable>: <default value>}
# For example, to have the user prompted for "width" use:
# {entry: width: 350}
# in your script.
#
# Radio Button list of values
# To have the user prompted for a list of radiobutton variables, use
# {entryButtons: <name of variable>: <list of values separated by commas>}
# E.g.
# {entryButtons: ReportType: GeneralImages,CustomizedImages}
#
# Check Button list of values
# To have the user prompted for a list of radiobutton variables, use
# {entryChecks: <name of variable>: <list of values separated by commas>}
# E.g.
# {entryChecks: EditAreas: Area1,Area2,Area3}
# Edit Areas and Groups
# If the name of the entryButtons or entryChecks is "EditAreas",
# the system will accept edit area OR edit area group names.
# The system will check for groups and will automatically expand
# them to the appropriate areas
# {entryChecks: EditAreas: Group1,Group2,Area3,Area4}
# {entryButtons: EditAreas: Group1,Group2}
# Scripts with Multiple Command Lines
# To string multiple command lines together, use the following format for
# your command line script:
# "csh -c (<command line 1>; <command line 2>; <command line 3>)"
#------------------------------------------------------------------------
| gfesuite_home = '/awips2/GFESuite'
gfesuite_prddir = '/tmp/products'
yes = True
no = False
mutable_model = '_Fcst'
db_types = ['', 'D2D', 'V']
default_group = 'Public'
all_edit_actions_on_pop_up = yes
pop_up_edit_actions = ['Assign_Value', 'AdjustValue_Down', 'AdjustValue_Up', 'Smooth']
edit_area_groups = ['Misc']
grid_manager_sort_order = ['T', 'Td', 'RH', 'MaxT', 'MinT', 'MaxRH', 'MinRH', 'WindChill', 'HeatIndex', 'Wind', 'WindGust', 'FreeWind', 'TransWind', 'Sky', 'Wx', 'LAL', 'PoP', 'CWR', 'QPF', 'SnowAmt', 'StormTotalSnow', 'SnowLevel', 'MaxTAloft', 'WetBulb', 'Hazards', 'FzLevel', 'Haines', 'MixHgt']
auto_save_interval = 0
publish_times = ['Today', 'Tonight', 'Tomorrow', 'Tomorrow Night', 'Day 3', 'Day 4', 'Day 5', 'Day 6', 'Day 7', 'Hour 0-240']
map_backgrounds_default = ['States', 'CWA']
text_font0 = 'DejaVu Sans Mono-regular-9'
text_font1 = 'DejaVu Sans Mono-regular-9'
text_font2 = 'DejaVu Sans Mono-bold-12'
text_font3 = 'DejaVu Sans Mono-bold-14'
text_font4 = 'DejaVu Sans Mono-bold-20'
bg_color = 'black'
system_time_range_before_current_time = 48
system_time_range_after_current_time = 168
selected_color = 'LightSkyBlue'
selected_fill_pattern = 'TRANS_25PC_45DEG'
time_scale_lines_color = 'Blue'
time_scale_lines_pattern = 'DOTTED'
editor_time_line_color = 'Yellow'
editor_time_line_width = 2
editor_time_line_pattern = 'DOTTED'
current_system_time_color = 'Green'
locked_by_me_color = 'forestgreen'
locked_by_me_pattern = 'WHOLE'
locked_by_other_color = 'tomato2'
locked_by_other_pattern = 'WHOLE'
time_block_visible_color = 'White'
time_block_active_color = 'Yellow'
time_block_invisible_color = 'Gray50'
time_block_preview_color = 'Cyan'
reference_set_color = 'Gray80'
reference_set_width = 0
time_scale_horiz_size = 350
legend_mode = 'GRIDS'
initial_gm_display_mode = 'Normal'
max_menu_items_before_cascade = 30
office_domain_expand_left = 10
office_domain_expand_right = 10
office_domain_expand_top = 10
office_domain_expand_bottom = 10
temporal_editor_we_mode = 'VISIBLE'
product_output_dialog_wrap_pils = []
product_output_dialog_non_wrap_pils = ['AFM', 'PFM', 'FWF', 'SFT', 'WCN', 'FWS', 'TCV', 'HLS']
show_isc_update_time = yes
show_isc_site_id = yes
show_isc_markers = yes
show_isc_update_time_marker = yes
show_isc_site_id_marker = yes
show_isc_official_symbol_marker = yes
show_isc_official_symbol = yes
modified_minutes = [60, 180, 360, 720, 1440, 2880]
modified_colors = ['#0bc71e', '#60c7b8', '#417fc7', '#e17c10', '#ebdf00', '#e11a00']
saved_minutes = [60, 180, 360, 720, 1440, 2880]
saved_colors = ['#0bc71e', '#60c7b8', '#417fc7', '#e17c10', '#ebdf00', '#e11a00']
published_minutes = [60, 180, 360, 720, 1440, 2880]
published_colors = ['#0bc71e', '#60c7b8', '#417fc7', '#e17c10', '#ebdf00', '#e11a00']
sent_minutes = [60, 120, 180, 240, 300, 360]
sent_colors = ['#0bc71e', '#60c7b8', '#417fc7', '#e17c10', '#ebdf00', '#e11a00']
history_user_mod_text__me = 'm'
history_user_mod_text__other = 'o'
history_user_mod_pattern__me = 'TRANS_25PC_45DEG'
history_user_mod_pattern__other = 'TRANS_25PC_135DEG'
history_origin_text__populated = 'P'
history_origin_text__calculated = 'C'
history_origin_text__scratch = 'S'
history_origin_text__interpolated = 'I'
history_origin_text__other = '?'
history_origin_color__populated = 'wheat'
history_origin_color__calculated = 'red'
history_origin_color__scratch = 'magenta'
history_origin_color__interpolated = 'blue'
history_origin_color__other = 'gray75'
history_model_color_gfs_lr = '#30df10'
history_model_color_rap40 = '#00ffff'
history_model_color_mavmos = '#e6c8a1'
history_model_color_gfsmos = '#e6d8a1'
history_model_color_metmos = '#e6b8a1'
history_model_color_mexmos = '#e6a8a1'
history_model_color_nam80 = '#ffff52'
history_model_color_nam95 = '#ffff52'
history_model_color_nam40 = '#ff99ff'
history_model_color_nam12 = '#ffcaa0'
history_model_color_gfs80 = 'pink'
history_model_color_gfs40 = 'pink'
history_model_color_gfs190 = 'pink'
history_model_color_gww = '#a0a0ff'
history_model_color_hpc_stn = '#d0d0a0'
history_model_color_hpc_grid = '#d0d0b0'
history_model_color_isc = '#b43aee'
history_model_color_laps = '#b06b72'
history_model_color_hpcqpf = '#3dc9ff'
history_model_color_hpc_guide = '#3dc9ff'
history_model_color_rfcqpf = '#3bffb7'
history_model_color__restore = '#e0a0ff'
history_model_color_dgex = 'orange'
history_model_color_mos_guide = '#e608ff'
history_model_color_opctafbe = '#a0a0cc'
history_model_color_opctafbsw = '#a0a0cc'
history_model_color_opctafbnw = '#a0a0cc'
history_model_color_rtma = '#a0522d'
history_model_color__nam_dng5 = '#808000'
history_model_text_gfs80 = 'GFS'
history_model_text_gfs40 = 'GFS'
history_model_text_gfs190 = 'GFS'
history_model_text_rap40 = 'RUC'
history_model_text_gfsmos = 'GFSMOS'
history_model_text_mexmos = 'MEXMOS'
history_model_text_mavmos = 'MAVMOS'
history_model_text_metmos = 'METMOS'
history_model_text_nam80 = 'N80'
history_model_text_nam95 = 'N95'
history_model_text_nam40 = 'N40'
history_model_text_nam20 = 'N20'
history_model_text_nam12 = 'N12'
history_model_text_gfs_lr = 'gfsLR'
history_model_text_hpc_stn = 'HPCs'
history_model_text_hpc_grid = 'HPCg'
history_model_text_gww = 'GWW'
history_model_text_isc = 'ISC'
history_model_text_laps = 'LAPS'
history_model_text_hpcqpf = 'HPCQPF'
history_model_text_hpc_guide = 'HPCGuide'
history_model_text_rfcqpf = 'RFCQPF'
history_model_text__restore = 'Restore'
history_model_text_dgex = 'DGEX'
history_model_text_mos_guide = 'GMOS'
history_model_text_opctafbe = 'OPC'
history_model_text_opctafbsw = 'OPC'
history_model_text_opctafbnw = 'OPC'
history_model_text_rtma = 'RTMA'
history_model_text__nam_dng5 = 'Nd5'
significant_weather_time_weight_average_percent = 40
pencil_tool_influence_list = [1, 2, 4, 8, 12, 16]
smooth_size = 3
smooth_size_list = [3, 5, 7, 9]
set_value_zoom = 4
qpf__set_value_zoom = 10
generic_colors = ['#00ff00', '#ff8e59', '#00ffff', '#e6c8a1', '#ffff52', '#ff99ff', '#aeb370', '#ff4000', '#e6c8a1']
wx_graphic_color = '#ffffff'
qpf_contour_values = [0.01, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0, 3.2, 3.4, 3.6, 3.8, 4.0, 4.2, 4.4, 4.6, 4.8, 5.0]
topography_contour_values = [5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 250.0, 300.0, 350.0, 400.0, 450.0, 500.0, 600.0, 700.0, 800.0, 900.0, 1000.0, 1250.0, 1500.0, 1750.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 9500.0, 10000.0, 11000.0, 12000.0, 13000.0, 14000.0, 15000.0, 16000.0, 17000.0, 18000.0, 19000.0, 20000.0]
sky_contour_interval = 10.0
po_p_contour_interval = 10.0
min_t_contour_interval = 5.0
max_t_contour_interval = 5.0
t_contour_interval = 5.0
td_contour_interval = 5.0
fz_level_delta_value = 100.0
snow_level_delta_value = 100.0
wx_spatial_image_type = ['Image', 'BoundedArea']
headlines_spatial_image_type = ['Image', 'BoundedArea']
swell_spatial_image_type = ['Image', 'WindArrow']
swell2_spatial_image_type = ['Image', 'WindArrow']
swell_spatial_graphic_type = ['WindArrow']
swell2_spatial_graphic_type = ['WindArrow']
wind_arrow_default_size = 60
wind_barb_default_size = 60
wind_arrow_scaling = 0.03
swell_arrow_scaling = 0.001
swell2_arrow_scaling = 0.001
wind_format = 'ddff'
wx_common_values = ['<NoCov>:<NoWx>:<NoInten>:<NoVis>:<NoAttr>', 'Wide:R:-:<NoVis>:<NoAttr>', 'Wide:S:--:<NoVis>:<NoAttr>', 'Wide:R:-:<NoVis>:<NoAttr>^Wide:S:-:<NoVis>:<NoAttr>', 'Sct:RW:-:<NoVis>:<NoAttr>', 'Sct:SW:-:<NoVis>:<NoAttr>', 'Sct:T:<NoInten>:<NoVis>:<NoAttr>^Sct:RW:-:<NoVis>:<NoAttr>', 'Patchy:F:<NoInten>:<NoVis>:<NoAttr>']
hazards_common_values = ['Watches|Fire Weather|FW.A', 'Watches|Hydrology|FF.A', 'Watches|Hydrology|FA.A', 'Watches|Coastal Flooding|CF.A', 'Watches|Coastal Flooding|LS.A', 'Watches|Marine|GL.A', 'Watches|Marine|HF.A', 'Watches|Marine|SE.A', 'Watches|Marine|SR.A', 'Watches|Marine|UP.A', 'Watches|Non-Precipitation|EH.A', 'Watches|Non-Precipitation|FZ.A', 'Watches|Non-Precipitation|HW.A', 'Watches|Non-Precipitation|HZ.A', 'Watches|Non-Precipitation|EC.A', 'Watches|Winter Storm|WC.A', 'Watches|Winter Storm|WS.A', 'Warnings|Fire Weather|FW.W', 'Warnings|Coastal Flooding|CF.W', 'Warnings|Coastal Flooding|LS.W', 'Warnings|Coastal Flooding|SU.W', 'Warnings|Marine|MH.W', 'Warnings|Marine|HF.W', 'Warnings|Marine|GL.W', 'Warnings|Marine|UP.W', 'Warnings|Marine|SR.W', 'Warnings|Marine|SE.W', 'Warnings|Non-Precipitation|AF.W', 'Warnings|Non-Precipitation|DU.W', 'Warnings|Non-Precipitation|EH.W', 'Warnings|Non-Precipitation|FZ.W', 'Warnings|Non-Precipitation|HW.W', 'Warnings|Non-Precipitation|HZ.W', 'Warnings|Non-Precipitation|EC.W', 'Warnings|Winter Storm|BZ.W', 'Warnings|Winter Storm|IS.W', 'Warnings|Winter Storm|LE.W', 'Warnings|Winter Storm|WC.W', 'Warnings|Winter Storm|WS.W', 'Advisories|Marine|UP.Y', 'Advisories|Marine|LO.Y', 'Advisories|Marine|SC.Y', 'Advisories|Marine|SW.Y', 'Advisories|Marine|BW.Y', 'Advisories|Marine|RB.Y', 'Advisories|Marine|SI.Y', 'Advisories|Marine|MF.Y', 'Advisories|Marine|MS.Y', 'Advisories|Marine|MH.Y', 'Advisories|Coastal Flooding|CF.Y', 'Advisories|Coastal Flooding|LS.Y', 'Advisories|Coastal Flooding|SU.Y', 'Advisories|Non-Precipitation|AS.O', 'Advisories|Non-Precipitation|AS.Y', 'Advisories|Non-Precipitation|AQ.Y', 'Advisories|Non-Precipitation|DU.Y', 'Advisories|Non-Precipitation|FG.Y', 'Advisories|Non-Precipitation|SM.Y', 'Advisories|Non-Precipitation|ZF.Y', 'Advisories|Non-Precipitation|FR.Y', 'Advisories|Non-Precipitation|HT.Y', 'Advisories|Non-Precipitation|LW.Y', 'Advisories|Non-Precipitation|AF.Y', 'Advisories|Non-Precipitation|WI.Y', 'Advisories|Winter Weather|WC.Y', 'Advisories|Winter Weather|WW.Y', 'Statements|Coastal Flooding|CF.S', 'Statements|Coastal Flooding|LS.S', 'Statements|Coastal Flooding|RP.S', 'Statements|Marine|MA.S']
r_default_coverage = 'Wide'
rw_default_coverage = 'Sct'
s_default_coverage = 'Wide'
sw_default_coverage = 'Sct'
t_default_coverage = 'Sct'
r_default_intensity = '-'
rw_default_intensity = '-'
s_default_intensity = '-'
sw_default_intensity = '-'
l_default_intensity = '-'
zr_default_intensity = '-'
zl_default_intensity = '-'
ip_default_intensity = '-'
discrete_overlap_patterns = ['TRANS_25PC_45DEG', 'TRANS_25PC_135DEG', 'CROSS']
default_color_table_left_wavelength = 380.0
default_color_table_right_wavelength = 650.0
default_color_table_num_colors = 150
rip_prob_default_color_table = 'GFE/RipProb'
erosion_prob_default_color_table = 'GFE/RunupProbs'
overwash_prob_default_color_table = 'GFE/RunupProbs'
t_default_color_table = 'GFE/Mid Range Enhanced'
td_default_color_table = 'GFE/Mid Range Enhanced'
max_t_default_color_table = 'GFE/Mid Range Enhanced'
min_t_default_color_table = 'GFE/Mid Range Enhanced'
sky_default_color_table = 'GFE/Cloud'
wind_default_color_table = 'GFE/Low Range Enhanced'
wind20ft_default_color_table = 'GFE/Low Range Enhanced'
po_p_default_color_table = 'GFE/ndfdPoP12'
qpf_default_color_table = 'GFE/Gridded Data'
ttrend_default_color_table = 'GFE/Discrepancy'
r_htrend_default_color_table = 'GFE/Discrepancy'
wetflag_default_color_table = 'GFE/YesNo'
delta_min_t_default_color_table = 'GFE/Discrepancy'
delta_max_t_default_color_table = 'GFE/Discrepancy'
delta_wind_default_color_table = 'GFE/Discrepancy'
delta_sky_default_color_table = 'GFE/Discrepancy'
delta_po_p_default_color_table = 'GFE/Discrepancy'
visible_east_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_east_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_east_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_east_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_east_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
visible_central_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_central_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_central_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_central_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_central_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
visible_west_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_west_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_west_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_west_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_west_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
visible_e_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_e_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_e_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_e_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_e_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
fog_e_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
visible_c_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_c_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_c_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_c_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_c_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
fog_c_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
visible_w_default_color_table = 'Sat/VIS/ZA (Vis Default)'
ir11_w_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir13_w_default_color_table = 'Sat/IR/CIRA (IR Default)'
ir39_w_default_color_table = 'Sat/IR/CIRA (IR Default)'
water_vapor_w_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
fog_w_default_color_table = 'Sat/WV/Gray Scale Water Vapor'
hazards_default_color_table = 'GFE/Hazards'
proposed_ss_default_color_table = 'GFE/w'
proposed_s_snc_default_color_table = 'GFE/w'
collab_diff_ss_default_color_table = 'GFE/diffSS'
inundation_max_default_color_table = 'GFE/Inundation'
inundation_max_max_color_table_value = 30.0
inundation_max_min_color_table_value = 0.0
inundation_maxnc_default_color_table = 'GFE/Inundation'
inundation_maxnc_max_color_table_value = 30.0
inundation_maxnc_min_color_table_value = 0.0
inundation_timing_default_color_table = 'GFE/Inundation'
inundation_timing_max_color_table_value = 30.0
inundation_timing_min_color_table_value = 0.0
inundation_timingnc_default_color_table = 'GFE/Inundation'
inundation_timingnc_max_color_table_value = 30.0
inundation_timingnc_min_color_table_value = 0.0
surge_ht_plus_tide_mllw_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_mllw_max_color_table_value = 30.0
surge_ht_plus_tide_mllw_min_color_table_value = 0.0
surge_ht_plus_tide_mll_wnc_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_mll_wnc_max_color_table_value = 30.0
surge_ht_plus_tide_mll_wnc_min_color_table_value = 0.0
surge_ht_plus_tide_mhhw_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_mhhw_max_color_table_value = 30.0
surge_ht_plus_tide_mhhw_min_color_table_value = 0.0
surge_ht_plus_tide_mhh_wnc_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_mhh_wnc_max_color_table_value = 30.0
surge_ht_plus_tide_mhh_wnc_min_color_table_value = 0.0
surge_ht_plus_tide_navd_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_navd_max_color_table_value = 30.0
surge_ht_plus_tide_navd_min_color_table_value = 0.0
surge_ht_plus_tide_nav_dnc_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_nav_dnc_max_color_table_value = 30.0
surge_ht_plus_tide_nav_dnc_min_color_table_value = 0.0
surge_ht_plus_tide_msl_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_msl_max_color_table_value = 30.0
surge_ht_plus_tide_msl_min_color_table_value = 0.0
surge_ht_plus_tide_ms_lnc_default_color_table = 'GFE/Inundation'
surge_ht_plus_tide_ms_lnc_max_color_table_value = 30.0
surge_ht_plus_tide_ms_lnc_min_color_table_value = 0.0
prob34_default_color_table = 'GFE/TPCprob'
prob64_default_color_table = 'GFE/TPCprob'
pws_d34_default_color_table = 'GFE/TPCprob'
pws_d64_default_color_table = 'GFE/TPCprob'
pws_n34_default_color_table = 'GFE/TPCprob'
pws_n64_default_color_table = 'GFE/TPCprob'
pws34int_default_color_table = 'GFE/TPCprob'
pws64int_default_color_table = 'GFE/TPCprob'
flooding_rain_threat_default_color_table = 'GFE/gHLS_new'
storm_surge_threat_default_color_table = 'GFE/gHLS_new'
tornado_threat_default_color_table = 'GFE/gHLS_new'
wind_threat_default_color_table = 'GFE/gHLS_new'
max_t_aloft_default_color_table = 'WarmNoseTemp'
wet_bulb_default_color_table = 'WetBulbTemp'
qpf__log_factor = 0.03
snow_amt__log_factor = 0.6
wet_bulb_max_color_table_value = 50.0
wet_bulb_min_color_table_value = 20.0
weather_coverage_names = ['Iso', 'Sct', 'Num', 'Wide', 'Ocnl', 'SChc', 'Chc', 'Lkly', 'Def', 'Patchy', '<NoCov>', 'Areas', 'Frq', 'Brf', 'Pds', 'Inter']
weather_coverage_fill_patterns = ['WIDE_SCATTERED', 'SCATTERED', 'LKLY', 'WIDE', 'OCNL', 'WIDE_SCATTERED', 'SCATTERED', 'LKLY', 'WIDE', 'CURVE', 'WHOLE', 'DUALCURVE', 'OCNL', 'OCNL', 'OCNL', 'OCNL']
weather_type_names = ['<NoWx>', 'T', 'R', 'RW', 'L', 'ZR', 'ZL', 'S', 'SW', 'IP', 'F', 'H', 'BS', 'K', 'BD', 'SA', 'LC', 'FR', 'AT', 'TRW']
weather_type_colors = ['Gray40', 'red3', 'ForestGreen', 'ForestGreen', 'CadetBlue1', 'darkorange1', 'goldenrod1', 'Grey65', 'Grey65', 'plum1', 'khaki4', 'Gray75', 'snow', 'grey30', 'Brown', 'blue1', 'coral1', 'pale turquoise', 'DeepPink', 'red3']
weather_type_inten_names = ['T+', 'Rm', 'R+', 'RWm', 'RW+']
weather_type_inten_colors = ['red1', 'green', 'green', 'green', 'green']
weather_generic_colors = ['Coral', 'CadetBlue2', 'Aquamarine', 'DarkKhaki', 'DodgerBlue', 'IndianRed1', 'PaleGreen', 'MistyRose', 'chartreuse3', 'PapayaWhip']
image_on_active_se = yes
time_scale_lines = yes
editor_time_lines = yes
split_boundary_display = yes
temporal_editor_overlay = yes
temporal_editor_absolute_edit_mode = no
temporal_editor_statistics_mode = 'ABSOLUTE'
temporal_editor_statistics_mode_moderated_min = 15
temporal_editor_statistics_mode_moderated_max = 15
temporal_editor_statistics_mode_standard_deviation_min = 1.0
temporal_editor_statistics_mode_standard_deviation_max = 1.0
wind_edit_mode = 'BOTH'
weather_discrete_combine_mode = no
missing_data_mode = 'Stop'
show_time_range_warning = yes
show_empty_edit_area_warning = yes
contour_server = 'Contour Analyzer'
contour_sub_sample = 4
select_grids_when_stepping = no
time_scale_periods = ['Today', 'Tonight', 'Tomorrow', 'Tomorrow Night', 'Day 3', 'Day 4', 'Day 5', 'Day 6', 'Day 7']
png_snapshot_time = 0
png_smooth_image = 0
png_legend_format__zulu_dur = ''
png_legend_format__zulu_start = '%b %d %H%MZ to '
png_legend_format__zulu_end = '%b %d %H%MZ'
png_legend_format_lt_dur = ''
png_legend_format_lt_start = '%b %d %I:%M %p %Z to '
png_legend_format_lt_end = '%b %d %I:%M %p %Z'
scripts = ['Ascii Grids...: ' + 'ifpAG -h {host} -r {port} -o {prddir}/AG/{ztime}.ag ' + '-d {productDB} ', 'Make and Send HTI:' + 'xterm -e ssh px2f /awips2/GFESuite/hti/bin/make_hti.sh {site}', 'Official Grids to LDAD: ' + 'ifpAG -h {host} -r {port} -o - -d {productDB} | gzip -9 > ' + ' /data/fxa/LDAD/ifp/Official/.incoming; ' + 'mv /data/fxa/LDAD/ifp/Official/.incoming /data/fxa/LDAD/ifp/Official/{ztime} &Png Images...:' + 'ifpIMAGE ' + '-h {host} -c {entry:ConfigFile:imageTest1} -o {prddir}/IMAGE', 'Send Grids to NDFD..:' + 'sendGridsToNDFD.sh {site} &', 'Send Point and Click Grids to Consolidated Web Farm..:' + '/awips2/GFESuite/bin/rsyncGridsToCWF_client.sh {site} &'] |
class EvenIterator(object):
def __init__(self,collection):
self.iter = iter(collection[::2])
def __iter__(self):
return self
def __next__(self):
return next(self.iter)
if __name__=="__main__":
for i in EvenIterator([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]):
print(i)
| class Eveniterator(object):
def __init__(self, collection):
self.iter = iter(collection[::2])
def __iter__(self):
return self
def __next__(self):
return next(self.iter)
if __name__ == '__main__':
for i in even_iterator([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]):
print(i) |
#
# PySNMP MIB module CISCO-UNIFIED-COMPUTING-FSM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-UNIFIED-COMPUTING-FSM-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:59:37 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, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
TimeIntervalSec, CiscoNetworkAddress, CiscoInetAddressMask, Unsigned64, CiscoAlarmSeverity = mibBuilder.importSymbols("CISCO-TC", "TimeIntervalSec", "CiscoNetworkAddress", "CiscoInetAddressMask", "Unsigned64", "CiscoAlarmSeverity")
CucsManagedObjectDn, ciscoUnifiedComputingMIBObjects, CucsManagedObjectId = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-MIB", "CucsManagedObjectDn", "ciscoUnifiedComputingMIBObjects", "CucsManagedObjectId")
CucsFsmFsmStageStatus, = mibBuilder.importSymbols("CISCO-UNIFIED-COMPUTING-TC-MIB", "CucsFsmFsmStageStatus")
InetAddressIPv4, InetAddressIPv6 = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressIPv4", "InetAddressIPv6")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
ModuleIdentity, IpAddress, Bits, Counter64, Unsigned32, Gauge32, iso, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Integer32, ObjectIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "IpAddress", "Bits", "Counter64", "Unsigned32", "Gauge32", "iso", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Integer32", "ObjectIdentity", "TimeTicks")
MacAddress, RowPointer, TruthValue, TimeInterval, DisplayString, TimeStamp, TextualConvention, DateAndTime = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "RowPointer", "TruthValue", "TimeInterval", "DisplayString", "TimeStamp", "TextualConvention", "DateAndTime")
cucsFsmObjects = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63))
if mibBuilder.loadTexts: cucsFsmObjects.setLastUpdated('201601180000Z')
if mibBuilder.loadTexts: cucsFsmObjects.setOrganization('Cisco Systems Inc.')
cucsFsmStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1), )
if mibBuilder.loadTexts: cucsFsmStatusTable.setStatus('current')
cucsFsmStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1), ).setIndexNames((0, "CISCO-UNIFIED-COMPUTING-FSM-MIB", "cucsFsmStatusInstanceId"))
if mibBuilder.loadTexts: cucsFsmStatusEntry.setStatus('current')
cucsFsmStatusInstanceId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 1), CucsManagedObjectId())
if mibBuilder.loadTexts: cucsFsmStatusInstanceId.setStatus('current')
cucsFsmStatusDn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 2), CucsManagedObjectDn()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusDn.setStatus('current')
cucsFsmStatusRn = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusRn.setStatus('current')
cucsFsmStatusConvertedEpRef = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusConvertedEpRef.setStatus('current')
cucsFsmStatusDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusDescr.setStatus('current')
cucsFsmStatusName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusName.setStatus('current')
cucsFsmStatusObjectClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 7), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusObjectClassName.setStatus('current')
cucsFsmStatusRemoteEpRef = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 8), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusRemoteEpRef.setStatus('current')
cucsFsmStatusState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 9), CucsFsmFsmStageStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cucsFsmStatusState.setStatus('current')
mibBuilder.exportSymbols("CISCO-UNIFIED-COMPUTING-FSM-MIB", cucsFsmStatusState=cucsFsmStatusState, cucsFsmStatusObjectClassName=cucsFsmStatusObjectClassName, cucsFsmObjects=cucsFsmObjects, cucsFsmStatusInstanceId=cucsFsmStatusInstanceId, cucsFsmStatusName=cucsFsmStatusName, cucsFsmStatusRn=cucsFsmStatusRn, cucsFsmStatusTable=cucsFsmStatusTable, cucsFsmStatusRemoteEpRef=cucsFsmStatusRemoteEpRef, cucsFsmStatusDn=cucsFsmStatusDn, cucsFsmStatusConvertedEpRef=cucsFsmStatusConvertedEpRef, cucsFsmStatusDescr=cucsFsmStatusDescr, PYSNMP_MODULE_ID=cucsFsmObjects, cucsFsmStatusEntry=cucsFsmStatusEntry)
| (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, value_range_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(time_interval_sec, cisco_network_address, cisco_inet_address_mask, unsigned64, cisco_alarm_severity) = mibBuilder.importSymbols('CISCO-TC', 'TimeIntervalSec', 'CiscoNetworkAddress', 'CiscoInetAddressMask', 'Unsigned64', 'CiscoAlarmSeverity')
(cucs_managed_object_dn, cisco_unified_computing_mib_objects, cucs_managed_object_id) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-MIB', 'CucsManagedObjectDn', 'ciscoUnifiedComputingMIBObjects', 'CucsManagedObjectId')
(cucs_fsm_fsm_stage_status,) = mibBuilder.importSymbols('CISCO-UNIFIED-COMPUTING-TC-MIB', 'CucsFsmFsmStageStatus')
(inet_address_i_pv4, inet_address_i_pv6) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressIPv4', 'InetAddressIPv6')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(module_identity, ip_address, bits, counter64, unsigned32, gauge32, iso, mib_identifier, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, integer32, object_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'IpAddress', 'Bits', 'Counter64', 'Unsigned32', 'Gauge32', 'iso', 'MibIdentifier', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Integer32', 'ObjectIdentity', 'TimeTicks')
(mac_address, row_pointer, truth_value, time_interval, display_string, time_stamp, textual_convention, date_and_time) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'RowPointer', 'TruthValue', 'TimeInterval', 'DisplayString', 'TimeStamp', 'TextualConvention', 'DateAndTime')
cucs_fsm_objects = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63))
if mibBuilder.loadTexts:
cucsFsmObjects.setLastUpdated('201601180000Z')
if mibBuilder.loadTexts:
cucsFsmObjects.setOrganization('Cisco Systems Inc.')
cucs_fsm_status_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1))
if mibBuilder.loadTexts:
cucsFsmStatusTable.setStatus('current')
cucs_fsm_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1)).setIndexNames((0, 'CISCO-UNIFIED-COMPUTING-FSM-MIB', 'cucsFsmStatusInstanceId'))
if mibBuilder.loadTexts:
cucsFsmStatusEntry.setStatus('current')
cucs_fsm_status_instance_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 1), cucs_managed_object_id())
if mibBuilder.loadTexts:
cucsFsmStatusInstanceId.setStatus('current')
cucs_fsm_status_dn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 2), cucs_managed_object_dn()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusDn.setStatus('current')
cucs_fsm_status_rn = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 3), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusRn.setStatus('current')
cucs_fsm_status_converted_ep_ref = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusConvertedEpRef.setStatus('current')
cucs_fsm_status_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 5), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusDescr.setStatus('current')
cucs_fsm_status_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 6), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusName.setStatus('current')
cucs_fsm_status_object_class_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 7), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusObjectClassName.setStatus('current')
cucs_fsm_status_remote_ep_ref = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 8), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusRemoteEpRef.setStatus('current')
cucs_fsm_status_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 719, 1, 63, 1, 1, 9), cucs_fsm_fsm_stage_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cucsFsmStatusState.setStatus('current')
mibBuilder.exportSymbols('CISCO-UNIFIED-COMPUTING-FSM-MIB', cucsFsmStatusState=cucsFsmStatusState, cucsFsmStatusObjectClassName=cucsFsmStatusObjectClassName, cucsFsmObjects=cucsFsmObjects, cucsFsmStatusInstanceId=cucsFsmStatusInstanceId, cucsFsmStatusName=cucsFsmStatusName, cucsFsmStatusRn=cucsFsmStatusRn, cucsFsmStatusTable=cucsFsmStatusTable, cucsFsmStatusRemoteEpRef=cucsFsmStatusRemoteEpRef, cucsFsmStatusDn=cucsFsmStatusDn, cucsFsmStatusConvertedEpRef=cucsFsmStatusConvertedEpRef, cucsFsmStatusDescr=cucsFsmStatusDescr, PYSNMP_MODULE_ID=cucsFsmObjects, cucsFsmStatusEntry=cucsFsmStatusEntry) |
numero = int(input("Digite o valor de n:"))
x = 1
i = 1
while x <= numero:
print(i)
i = i+2;
x=x+1
| numero = int(input('Digite o valor de n:'))
x = 1
i = 1
while x <= numero:
print(i)
i = i + 2
x = x + 1 |
data = [
{'text':'oh hi duuuude how r uy??check this 1xbet'},
{'text':'Dear Harry Potter, i am Frodo Baggins i represent 1xbet company.Best bet service'},
{'text':'wooooh yoow harry look at my jackpot 100000000$ at 1xbet service'},
{'text':'Harry , today i saw the man who looks like Hawkeye from Avengers on 100% and he dont use 1xbet service'},
]
final_mail = 'Hello Harry, my name is Maksim, Im still waiting for the letter from Hogwarts'
spam_word = ''
q_spam = 0
database = []
for mail in data:
str = mail['text'].lower().split()
database.extend(str)
print(database)
for word in database:
quantity = database.count(word)
if quantity > q_spam:
q_spam = quantity
spam_word = word
if spam_word in final_mail.lower():
print('mail is not ok')
else:
print('mail is ok')
| data = [{'text': 'oh hi duuuude how r uy??check this 1xbet'}, {'text': 'Dear Harry Potter, i am Frodo Baggins i represent 1xbet company.Best bet service'}, {'text': 'wooooh yoow harry look at my jackpot 100000000$ at 1xbet service'}, {'text': 'Harry , today i saw the man who looks like Hawkeye from Avengers on 100% and he dont use 1xbet service'}]
final_mail = 'Hello Harry, my name is Maksim, Im still waiting for the letter from Hogwarts'
spam_word = ''
q_spam = 0
database = []
for mail in data:
str = mail['text'].lower().split()
database.extend(str)
print(database)
for word in database:
quantity = database.count(word)
if quantity > q_spam:
q_spam = quantity
spam_word = word
if spam_word in final_mail.lower():
print('mail is not ok')
else:
print('mail is ok') |
#
# PySNMP MIB module BAY-STACK-LLDP-EXT-DOT3-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BAY-STACK-LLDP-EXT-DOT3-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:35:40 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, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
lldpXdot3LocPowerEntry, lldpXdot3RemPowerEntry = mibBuilder.importSymbols("LLDP-EXT-DOT3-MIB", "lldpXdot3LocPowerEntry", "lldpXdot3RemPowerEntry")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Counter64, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Gauge32, Counter32, IpAddress, MibIdentifier, iso, NotificationType, Integer32, Bits, ModuleIdentity, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Gauge32", "Counter32", "IpAddress", "MibIdentifier", "iso", "NotificationType", "Integer32", "Bits", "ModuleIdentity", "Unsigned32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
bayStackMibs, = mibBuilder.importSymbols("SYNOPTICS-ROOT-MIB", "bayStackMibs")
bayStackLldpXDot3Mib = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 5, 47))
bayStackLldpXDot3Mib.setRevisions(('2014-10-22 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: bayStackLldpXDot3Mib.setRevisionsDescriptions(('Ver 1: Initial version.',))
if mibBuilder.loadTexts: bayStackLldpXDot3Mib.setLastUpdated('201410220000Z')
if mibBuilder.loadTexts: bayStackLldpXDot3Mib.setOrganization('Avaya Inc.')
if mibBuilder.loadTexts: bayStackLldpXDot3Mib.setContactInfo('avaya.com')
if mibBuilder.loadTexts: bayStackLldpXDot3Mib.setDescription('This MIB module is an extension to the standard LLDP-EXT-DOT3 MIB.')
bsLldpXDot3Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 0))
bsLldpXDot3Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1))
bsLldpXdot3Config = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 1))
bsLldpXdot3LocalData = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2))
bsLldpXdot3RemoteData = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3))
bsLldpXdot3LocPowerTable = MibTable((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1), )
if mibBuilder.loadTexts: bsLldpXdot3LocPowerTable.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerTable.setDescription('This table contains one row per port of PSE PoE information on the local system known to this agent.')
bsLldpXdot3LocPowerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1), )
lldpXdot3LocPowerEntry.registerAugmentions(("BAY-STACK-LLDP-EXT-DOT3-MIB", "bsLldpXdot3LocPowerEntry"))
bsLldpXdot3LocPowerEntry.setIndexNames(*lldpXdot3LocPowerEntry.getIndexNames())
if mibBuilder.loadTexts: bsLldpXdot3LocPowerEntry.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerEntry.setDescription('Information about a particular port PoE information.')
bsLldpXdot3LocPowerType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("type2pse", 1), ("type2pd", 2), ("type1pse", 3), ("type1pd", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3LocPowerType.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerType.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerType.setDescription('A GET attribute that returns whether the local system is a PSE or a PD and whether it is Type 1 or Type 2.')
bsLldpXdot3LocPowerSource = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("primaryPs", 2), ("backupPs", 3), ("reserved", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3LocPowerSource.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerSource.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerSource.setDescription('A GET attribute indicating the PSE Power Sources of the local system. A PSE indicates whether it is being powered by a primary power source; a backup power source; or unknown. A value primaryPs(2) indicates that the device advertises its power source as primary. A value backupPs(3) indicates that the device advertises its power source as backup.')
bsLldpXdot3LocPowerPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("critical", 2), ("high", 3), ("low", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3LocPowerPriority.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerPriority.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPowerPriority.setDescription('Reflects the PD power priority that is being advertised on this PSE port. If both locally configure priority and ldpXMedRemXPoEPDPowerPriority are available on this port, it is a matter of local policy which one takes precedence. This object reflects the active value on this port. If the priority is not configured or known by the PD, the value unknown(1) will be returned. A value critical(2) indicates that the device advertises its power Priority as critical, as per RFC 3621. A value high(3) indicates that the device advertises its power Priority as high, as per RFC 3621. A value low(4) indicates that the device advertises its power Priority as low, as per RFC 3621.')
bsLldpXdot3LocPDRequestedPowerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setUnits('tenth of watt').setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3LocPDRequestedPowerValue.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts: bsLldpXdot3LocPDRequestedPowerValue.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPDRequestedPowerValue.setDescription('A GET attribute that returns the PD requested power value. For a PSE, it is the power value that the PSE mirrors back to the remote system. This is the PD requested power value that was used by the PSE to compute the power it has currently allocated to the remote system. It is expressed in units of 0.1 watts.')
bsLldpXdot3LocPSEAllocatedPowerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setUnits('tenth of watt').setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3LocPSEAllocatedPowerValue.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts: bsLldpXdot3LocPSEAllocatedPowerValue.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3LocPSEAllocatedPowerValue.setDescription('A GET attribute that returns the PSE allocated power value. For a PSE, it is the power value that the PSE has currently allocated to the remote system. The PSE allocated power value is the maximum input average power that the PSE wants the PD to ever draw under this allocation if it is accepted. It is expressed in units of 0.1 watts.')
bsLldpXdot3RemPowerTable = MibTable((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1), )
if mibBuilder.loadTexts: bsLldpXdot3RemPowerTable.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerTable.setDescription('This table contains information about the PoE device type as advertised by the remote system.')
bsLldpXdot3RemPowerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1), )
lldpXdot3RemPowerEntry.registerAugmentions(("BAY-STACK-LLDP-EXT-DOT3-MIB", "bsLldpXdot3RemPowerEntry"))
bsLldpXdot3RemPowerEntry.setIndexNames(*lldpXdot3RemPowerEntry.getIndexNames())
if mibBuilder.loadTexts: bsLldpXdot3RemPowerEntry.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerEntry.setDescription('Information about a particular port component.')
bsLldpXdot3RemPowerType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("type2pse", 1), ("type2pd", 2), ("type1pse", 3), ("type1pd", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3RemPowerType.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerType.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerType.setDescription('A GET attribute that returns whether the remote system is a PSE or a PD and whether it is Type 1 or Type 2.')
bsLldpXdot3RemPowerSource = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("pse", 2), ("reserved", 3), ("pseAndLocal", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3RemPowerSource.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerSource.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerSource.setDescription('A GET attribute that returns the power sources of the remote system. When the remote system is a PD, it indicates whether it is being powered by: a PSE and locall; locally only; by a PSE only; or unknown.')
bsLldpXdot3RemPowerPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("critical", 2), ("high", 3), ("low", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3RemPowerPriority.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerPriority.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPowerPriority.setDescription('A GET operation returns the priority of the PD system received from the remote system. For a PD, this is the priority that the remote system has assigned to the PD.')
bsLldpXdot3RemPDRequestedPowerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setUnits('tenth of watt').setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3RemPDRequestedPowerValue.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts: bsLldpXdot3RemPDRequestedPowerValue.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPDRequestedPowerValue.setDescription('A GET attribute that for a PSE returs the the PD requested power value received from the remote system. It is expressed in units of 0.1 watts.')
bsLldpXdot3RemPSEAllocatedPowerValue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setUnits('tenth of watt').setMaxAccess("readonly")
if mibBuilder.loadTexts: bsLldpXdot3RemPSEAllocatedPowerValue.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts: bsLldpXdot3RemPSEAllocatedPowerValue.setStatus('current')
if mibBuilder.loadTexts: bsLldpXdot3RemPSEAllocatedPowerValue.setDescription('A GET attribute that for a PSE returns the PSE allocated power value that was used by the remote system to compute the power value that it has currently requested from the PSE. It is expressed in units of 0.1 watts.')
mibBuilder.exportSymbols("BAY-STACK-LLDP-EXT-DOT3-MIB", bsLldpXdot3RemoteData=bsLldpXdot3RemoteData, bsLldpXdot3LocPowerSource=bsLldpXdot3LocPowerSource, bsLldpXdot3RemPowerSource=bsLldpXdot3RemPowerSource, bayStackLldpXDot3Mib=bayStackLldpXDot3Mib, bsLldpXDot3Objects=bsLldpXDot3Objects, bsLldpXdot3RemPowerType=bsLldpXdot3RemPowerType, bsLldpXdot3RemPowerPriority=bsLldpXdot3RemPowerPriority, bsLldpXdot3RemPSEAllocatedPowerValue=bsLldpXdot3RemPSEAllocatedPowerValue, PYSNMP_MODULE_ID=bayStackLldpXDot3Mib, bsLldpXdot3LocPowerEntry=bsLldpXdot3LocPowerEntry, bsLldpXdot3LocPDRequestedPowerValue=bsLldpXdot3LocPDRequestedPowerValue, bsLldpXdot3LocalData=bsLldpXdot3LocalData, bsLldpXdot3LocPowerType=bsLldpXdot3LocPowerType, bsLldpXdot3Config=bsLldpXdot3Config, bsLldpXdot3RemPowerEntry=bsLldpXdot3RemPowerEntry, bsLldpXDot3Notifications=bsLldpXDot3Notifications, bsLldpXdot3RemPowerTable=bsLldpXdot3RemPowerTable, bsLldpXdot3LocPowerPriority=bsLldpXdot3LocPowerPriority, bsLldpXdot3LocPowerTable=bsLldpXdot3LocPowerTable, bsLldpXdot3RemPDRequestedPowerValue=bsLldpXdot3RemPDRequestedPowerValue, bsLldpXdot3LocPSEAllocatedPowerValue=bsLldpXdot3LocPSEAllocatedPowerValue)
| (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, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection')
(lldp_xdot3_loc_power_entry, lldp_xdot3_rem_power_entry) = mibBuilder.importSymbols('LLDP-EXT-DOT3-MIB', 'lldpXdot3LocPowerEntry', 'lldpXdot3RemPowerEntry')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(counter64, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, gauge32, counter32, ip_address, mib_identifier, iso, notification_type, integer32, bits, module_identity, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Gauge32', 'Counter32', 'IpAddress', 'MibIdentifier', 'iso', 'NotificationType', 'Integer32', 'Bits', 'ModuleIdentity', 'Unsigned32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
(bay_stack_mibs,) = mibBuilder.importSymbols('SYNOPTICS-ROOT-MIB', 'bayStackMibs')
bay_stack_lldp_x_dot3_mib = module_identity((1, 3, 6, 1, 4, 1, 45, 5, 47))
bayStackLldpXDot3Mib.setRevisions(('2014-10-22 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
bayStackLldpXDot3Mib.setRevisionsDescriptions(('Ver 1: Initial version.',))
if mibBuilder.loadTexts:
bayStackLldpXDot3Mib.setLastUpdated('201410220000Z')
if mibBuilder.loadTexts:
bayStackLldpXDot3Mib.setOrganization('Avaya Inc.')
if mibBuilder.loadTexts:
bayStackLldpXDot3Mib.setContactInfo('avaya.com')
if mibBuilder.loadTexts:
bayStackLldpXDot3Mib.setDescription('This MIB module is an extension to the standard LLDP-EXT-DOT3 MIB.')
bs_lldp_x_dot3_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 0))
bs_lldp_x_dot3_objects = mib_identifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1))
bs_lldp_xdot3_config = mib_identifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 1))
bs_lldp_xdot3_local_data = mib_identifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2))
bs_lldp_xdot3_remote_data = mib_identifier((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3))
bs_lldp_xdot3_loc_power_table = mib_table((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1))
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerTable.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerTable.setDescription('This table contains one row per port of PSE PoE information on the local system known to this agent.')
bs_lldp_xdot3_loc_power_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1))
lldpXdot3LocPowerEntry.registerAugmentions(('BAY-STACK-LLDP-EXT-DOT3-MIB', 'bsLldpXdot3LocPowerEntry'))
bsLldpXdot3LocPowerEntry.setIndexNames(*lldpXdot3LocPowerEntry.getIndexNames())
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerEntry.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerEntry.setDescription('Information about a particular port PoE information.')
bs_lldp_xdot3_loc_power_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('type2pse', 1), ('type2pd', 2), ('type1pse', 3), ('type1pd', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerType.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerType.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerType.setDescription('A GET attribute that returns whether the local system is a PSE or a PD and whether it is Type 1 or Type 2.')
bs_lldp_xdot3_loc_power_source = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('primaryPs', 2), ('backupPs', 3), ('reserved', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerSource.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerSource.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerSource.setDescription('A GET attribute indicating the PSE Power Sources of the local system. A PSE indicates whether it is being powered by a primary power source; a backup power source; or unknown. A value primaryPs(2) indicates that the device advertises its power source as primary. A value backupPs(3) indicates that the device advertises its power source as backup.')
bs_lldp_xdot3_loc_power_priority = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('critical', 2), ('high', 3), ('low', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerPriority.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerPriority.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPowerPriority.setDescription('Reflects the PD power priority that is being advertised on this PSE port. If both locally configure priority and ldpXMedRemXPoEPDPowerPriority are available on this port, it is a matter of local policy which one takes precedence. This object reflects the active value on this port. If the priority is not configured or known by the PD, the value unknown(1) will be returned. A value critical(2) indicates that the device advertises its power Priority as critical, as per RFC 3621. A value high(3) indicates that the device advertises its power Priority as high, as per RFC 3621. A value low(4) indicates that the device advertises its power Priority as low, as per RFC 3621.')
bs_lldp_xdot3_loc_pd_requested_power_value = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setUnits('tenth of watt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3LocPDRequestedPowerValue.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts:
bsLldpXdot3LocPDRequestedPowerValue.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPDRequestedPowerValue.setDescription('A GET attribute that returns the PD requested power value. For a PSE, it is the power value that the PSE mirrors back to the remote system. This is the PD requested power value that was used by the PSE to compute the power it has currently allocated to the remote system. It is expressed in units of 0.1 watts.')
bs_lldp_xdot3_loc_pse_allocated_power_value = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setUnits('tenth of watt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3LocPSEAllocatedPowerValue.setReference('802.3at, Section 30.12.2')
if mibBuilder.loadTexts:
bsLldpXdot3LocPSEAllocatedPowerValue.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3LocPSEAllocatedPowerValue.setDescription('A GET attribute that returns the PSE allocated power value. For a PSE, it is the power value that the PSE has currently allocated to the remote system. The PSE allocated power value is the maximum input average power that the PSE wants the PD to ever draw under this allocation if it is accepted. It is expressed in units of 0.1 watts.')
bs_lldp_xdot3_rem_power_table = mib_table((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1))
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerTable.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerTable.setDescription('This table contains information about the PoE device type as advertised by the remote system.')
bs_lldp_xdot3_rem_power_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1))
lldpXdot3RemPowerEntry.registerAugmentions(('BAY-STACK-LLDP-EXT-DOT3-MIB', 'bsLldpXdot3RemPowerEntry'))
bsLldpXdot3RemPowerEntry.setIndexNames(*lldpXdot3RemPowerEntry.getIndexNames())
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerEntry.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerEntry.setDescription('Information about a particular port component.')
bs_lldp_xdot3_rem_power_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('type2pse', 1), ('type2pd', 2), ('type1pse', 3), ('type1pd', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerType.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerType.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerType.setDescription('A GET attribute that returns whether the remote system is a PSE or a PD and whether it is Type 1 or Type 2.')
bs_lldp_xdot3_rem_power_source = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('pse', 2), ('reserved', 3), ('pseAndLocal', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerSource.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerSource.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerSource.setDescription('A GET attribute that returns the power sources of the remote system. When the remote system is a PD, it indicates whether it is being powered by: a PSE and locall; locally only; by a PSE only; or unknown.')
bs_lldp_xdot3_rem_power_priority = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('critical', 2), ('high', 3), ('low', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerPriority.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerPriority.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPowerPriority.setDescription('A GET operation returns the priority of the PD system received from the remote system. For a PD, this is the priority that the remote system has assigned to the PD.')
bs_lldp_xdot3_rem_pd_requested_power_value = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setUnits('tenth of watt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3RemPDRequestedPowerValue.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts:
bsLldpXdot3RemPDRequestedPowerValue.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPDRequestedPowerValue.setDescription('A GET attribute that for a PSE returs the the PD requested power value received from the remote system. It is expressed in units of 0.1 watts.')
bs_lldp_xdot3_rem_pse_allocated_power_value = mib_table_column((1, 3, 6, 1, 4, 1, 45, 5, 47, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setUnits('tenth of watt').setMaxAccess('readonly')
if mibBuilder.loadTexts:
bsLldpXdot3RemPSEAllocatedPowerValue.setReference('802.3at, Section 30.12.3')
if mibBuilder.loadTexts:
bsLldpXdot3RemPSEAllocatedPowerValue.setStatus('current')
if mibBuilder.loadTexts:
bsLldpXdot3RemPSEAllocatedPowerValue.setDescription('A GET attribute that for a PSE returns the PSE allocated power value that was used by the remote system to compute the power value that it has currently requested from the PSE. It is expressed in units of 0.1 watts.')
mibBuilder.exportSymbols('BAY-STACK-LLDP-EXT-DOT3-MIB', bsLldpXdot3RemoteData=bsLldpXdot3RemoteData, bsLldpXdot3LocPowerSource=bsLldpXdot3LocPowerSource, bsLldpXdot3RemPowerSource=bsLldpXdot3RemPowerSource, bayStackLldpXDot3Mib=bayStackLldpXDot3Mib, bsLldpXDot3Objects=bsLldpXDot3Objects, bsLldpXdot3RemPowerType=bsLldpXdot3RemPowerType, bsLldpXdot3RemPowerPriority=bsLldpXdot3RemPowerPriority, bsLldpXdot3RemPSEAllocatedPowerValue=bsLldpXdot3RemPSEAllocatedPowerValue, PYSNMP_MODULE_ID=bayStackLldpXDot3Mib, bsLldpXdot3LocPowerEntry=bsLldpXdot3LocPowerEntry, bsLldpXdot3LocPDRequestedPowerValue=bsLldpXdot3LocPDRequestedPowerValue, bsLldpXdot3LocalData=bsLldpXdot3LocalData, bsLldpXdot3LocPowerType=bsLldpXdot3LocPowerType, bsLldpXdot3Config=bsLldpXdot3Config, bsLldpXdot3RemPowerEntry=bsLldpXdot3RemPowerEntry, bsLldpXDot3Notifications=bsLldpXDot3Notifications, bsLldpXdot3RemPowerTable=bsLldpXdot3RemPowerTable, bsLldpXdot3LocPowerPriority=bsLldpXdot3LocPowerPriority, bsLldpXdot3LocPowerTable=bsLldpXdot3LocPowerTable, bsLldpXdot3RemPDRequestedPowerValue=bsLldpXdot3RemPDRequestedPowerValue, bsLldpXdot3LocPSEAllocatedPowerValue=bsLldpXdot3LocPSEAllocatedPowerValue) |
class proxy(ref):
def __call__(self, *args, **kwargs):
func = ref.__call__(self)
if func is None:
raise weakref.ReferenceError('referent object is dead')
else:
return func(*args, **kwargs)
def __eq__(self, other):
if type(other) != type(self):
return False
return ref.__call__(self) == ref.__call__(other)
| class Proxy(ref):
def __call__(self, *args, **kwargs):
func = ref.__call__(self)
if func is None:
raise weakref.ReferenceError('referent object is dead')
else:
return func(*args, **kwargs)
def __eq__(self, other):
if type(other) != type(self):
return False
return ref.__call__(self) == ref.__call__(other) |
loop_flag = False
def consult_check(consult, doctor, upper, lower):
doc_test = doctor in {'Dr A Wettstein', 'Dr S Ghaly',
'Dr S Vivekanandarajah'}
path = upper in {'pb', 'pp'} or lower in {'cb', 'cp', 'sb', 'sp'}
cv_test = (doctor == 'Dr C Vickers') and path
return doc_test or cv_test
def get_consult(doctor, upper, lower, loop_flag):
while True:
consult = input('Consult: ')
if consult == '0':
consult = 'none'
if consult == 'q':
loop_flag = True
break
if consult in {'110', '116', 'none'}:
break
print('TRY AGAIN!')
if consult_check(consult, doctor, upper, lower) and loop_flag is False:
print('Confirm with {} that he/she'
' does not want a consult'.format(doctor))
while True:
consult = input('Consult either 0,110,116: ')
if consult == '0':
consult = 'none'
if consult in {'110', '116', 'none'}:
break
return consult, loop_flag
if __name__ == '__main__':
print(get_consult('Dr A Wettstein', '0', 'co', loop_flag))
| loop_flag = False
def consult_check(consult, doctor, upper, lower):
doc_test = doctor in {'Dr A Wettstein', 'Dr S Ghaly', 'Dr S Vivekanandarajah'}
path = upper in {'pb', 'pp'} or lower in {'cb', 'cp', 'sb', 'sp'}
cv_test = doctor == 'Dr C Vickers' and path
return doc_test or cv_test
def get_consult(doctor, upper, lower, loop_flag):
while True:
consult = input('Consult: ')
if consult == '0':
consult = 'none'
if consult == 'q':
loop_flag = True
break
if consult in {'110', '116', 'none'}:
break
print('TRY AGAIN!')
if consult_check(consult, doctor, upper, lower) and loop_flag is False:
print('Confirm with {} that he/she does not want a consult'.format(doctor))
while True:
consult = input('Consult either 0,110,116: ')
if consult == '0':
consult = 'none'
if consult in {'110', '116', 'none'}:
break
return (consult, loop_flag)
if __name__ == '__main__':
print(get_consult('Dr A Wettstein', '0', 'co', loop_flag)) |
def insertion_sort(array):
for index in range(1,len(array)):
value = array[index]
i = index - 1
while i >= 0:
if array[i] > array[i+1]:
array[i+1] = array[i]
array[i] = value
i = i - 1
else:
break
return array
if __name__ == '__main__':
array = [0,2,1,3,6,4,5,7,9,8]
insertion_sort(array)
| def insertion_sort(array):
for index in range(1, len(array)):
value = array[index]
i = index - 1
while i >= 0:
if array[i] > array[i + 1]:
array[i + 1] = array[i]
array[i] = value
i = i - 1
else:
break
return array
if __name__ == '__main__':
array = [0, 2, 1, 3, 6, 4, 5, 7, 9, 8]
insertion_sort(array) |
#!/usr/bin/env python3
RIGHT = 'R'
LEFT = 'L'
FORWARD = 'F'
NORTH = 'N'
EAST = 'E'
SOUTH = 'S'
WEST = 'W'
DIRECTIONS = {
'N': (0, 1),
'E': (1, 0),
'S': (0, -1),
'W': (-1, 0)
}
COMPASS = {
0: 'N',
90: 'E',
180: 'S',
270: 'W'
}
def parse(step):
return (step[0], int(step[1:]))
def load(file):
with open(file) as f:
step = [parse(line.strip()) for line in f.readlines()]
return step
def rotate(rotation, instruction, value):
if instruction != LEFT and instruction != RIGHT:
raise Exception(f'Unknown rotation instruction: {instruction}')
if value % 90 != 0:
raise Exception(f'Invalid rotation ({value}). Rotations must be increments of 90.')
direction = 0
if instruction == LEFT:
direction = -1
else:
direction = 1
rotation += direction * value
rotation %= 360
return rotation
def rotate_wp(x, y, instruction, value):
if instruction != LEFT and instruction != RIGHT:
raise Exception(f'Unknown rotation instruction: {instruction}')
if instruction == LEFT:
instruction = RIGHT
value = -value
value %= 360
if value == 0:
return x, y
elif value == 90:
return y, -x
elif value == 180:
return -x, -y
elif value == 270:
return -y, x
raise Exception(f'Invalid rotation ({value}). Rotations must be increments of 90.')
def part1(route):
'''
>>> part1(load('test1.txt'))
25
'''
x = 0
y = 0
ship_rotation = 90
for step in route:
instruction = step[0]
value = step[1]
if instruction == RIGHT or instruction == LEFT:
ship_rotation = rotate(ship_rotation, instruction, value)
else:
direction = DIRECTIONS[COMPASS[ship_rotation]]
if instruction != FORWARD:
direction = DIRECTIONS[instruction]
x += direction[0] * value
y += direction[1] * value
return abs(x) + abs(y)
def part2(route):
'''
>>> part2(load('test1.txt'))
286
'''
x = 0
y = 0
wp_x = 10
wp_y = 1
for step in route:
instruction = step[0]
value = step[1]
if instruction == FORWARD:
x += wp_x * value
y += wp_y * value
elif instruction == RIGHT or instruction == LEFT:
(wp_x, wp_y) = rotate_wp(wp_x, wp_y, instruction, value)
else:
direction = DIRECTIONS[instruction]
wp_x += direction[0] * value
wp_y += direction[1] * value
return abs(x) + abs(y)
def main():
route = load('input.txt')
value = part1(route)
print(f'Part 1: {value}')
assert value == 2057
value = part2(route)
print(f'Part 2: {value}')
assert value == 71504
if __name__ == '__main__':
main() | right = 'R'
left = 'L'
forward = 'F'
north = 'N'
east = 'E'
south = 'S'
west = 'W'
directions = {'N': (0, 1), 'E': (1, 0), 'S': (0, -1), 'W': (-1, 0)}
compass = {0: 'N', 90: 'E', 180: 'S', 270: 'W'}
def parse(step):
return (step[0], int(step[1:]))
def load(file):
with open(file) as f:
step = [parse(line.strip()) for line in f.readlines()]
return step
def rotate(rotation, instruction, value):
if instruction != LEFT and instruction != RIGHT:
raise exception(f'Unknown rotation instruction: {instruction}')
if value % 90 != 0:
raise exception(f'Invalid rotation ({value}). Rotations must be increments of 90.')
direction = 0
if instruction == LEFT:
direction = -1
else:
direction = 1
rotation += direction * value
rotation %= 360
return rotation
def rotate_wp(x, y, instruction, value):
if instruction != LEFT and instruction != RIGHT:
raise exception(f'Unknown rotation instruction: {instruction}')
if instruction == LEFT:
instruction = RIGHT
value = -value
value %= 360
if value == 0:
return (x, y)
elif value == 90:
return (y, -x)
elif value == 180:
return (-x, -y)
elif value == 270:
return (-y, x)
raise exception(f'Invalid rotation ({value}). Rotations must be increments of 90.')
def part1(route):
"""
>>> part1(load('test1.txt'))
25
"""
x = 0
y = 0
ship_rotation = 90
for step in route:
instruction = step[0]
value = step[1]
if instruction == RIGHT or instruction == LEFT:
ship_rotation = rotate(ship_rotation, instruction, value)
else:
direction = DIRECTIONS[COMPASS[ship_rotation]]
if instruction != FORWARD:
direction = DIRECTIONS[instruction]
x += direction[0] * value
y += direction[1] * value
return abs(x) + abs(y)
def part2(route):
"""
>>> part2(load('test1.txt'))
286
"""
x = 0
y = 0
wp_x = 10
wp_y = 1
for step in route:
instruction = step[0]
value = step[1]
if instruction == FORWARD:
x += wp_x * value
y += wp_y * value
elif instruction == RIGHT or instruction == LEFT:
(wp_x, wp_y) = rotate_wp(wp_x, wp_y, instruction, value)
else:
direction = DIRECTIONS[instruction]
wp_x += direction[0] * value
wp_y += direction[1] * value
return abs(x) + abs(y)
def main():
route = load('input.txt')
value = part1(route)
print(f'Part 1: {value}')
assert value == 2057
value = part2(route)
print(f'Part 2: {value}')
assert value == 71504
if __name__ == '__main__':
main() |
#!/usr/bin/python
#coding=utf-8
class RequestTmBase:
def addRecode(self, ssp, url, tmSpan, state, concurrency,countPer10s,size):
raise NotImplementedError
def startRecode(self):
raise NotImplementedError
def startServer(self):
raise NotImplementedError
def endRecode(self):
raise NotImplementedError | class Requesttmbase:
def add_recode(self, ssp, url, tmSpan, state, concurrency, countPer10s, size):
raise NotImplementedError
def start_recode(self):
raise NotImplementedError
def start_server(self):
raise NotImplementedError
def end_recode(self):
raise NotImplementedError |
class Solution:
def sumEvenAfterQueries(self, A, queries):
# keep around total sum, we update (if we find evens) on
# each iteration.
evenSum = sum(i for i in A if i & 1 == 0)
for idx, (value, index) in enumerate(queries):
old_value = A[index]
new_value = value + old_value
# add new value if it is even.
if not new_value & 1:
evenSum = evenSum + new_value
# remove old value if it was even.
if not old_value & 1:
evenSum = evenSum - old_value
A[index] = new_value
# reuse it
queries[idx] = evenSum
return queries
| class Solution:
def sum_even_after_queries(self, A, queries):
even_sum = sum((i for i in A if i & 1 == 0))
for (idx, (value, index)) in enumerate(queries):
old_value = A[index]
new_value = value + old_value
if not new_value & 1:
even_sum = evenSum + new_value
if not old_value & 1:
even_sum = evenSum - old_value
A[index] = new_value
queries[idx] = evenSum
return queries |
def get_layers(width, height, data):
layers = []
layer_area = width*height
data = [pixel for pixel in str(data)]
data.remove('\n')
while len(data) > 0:
layers.append(data[:layer_area])
data = data[layer_area:]
return layers
WIDTH = 25
HEIGHT = 6
layers = get_layers(WIDTH, HEIGHT, open('input').read())
fewest_zero_layer = min(layers, key=lambda layer: layer.count('0'))
print('Part 1 solution: %i' % (fewest_zero_layer.count('1') * fewest_zero_layer.count('2')))
BLACK = '0'
WHITE = '1'
TRANS = '2'
COLORS = {
WHITE: u'\u2588',
BLACK: ' ',
TRANS: None,
}
imagedata = []
for index, pixel in enumerate(layers[0]):
depth = 0
while pixel == TRANS:
depth += 1
pixel = layers[depth][index]
imagedata.append(pixel)
def get_image(width, height, imagedata):
output = ''
for i, pixel in enumerate(imagedata):
if i > 0 and i % width == 0:
output += '\n'
output += COLORS[pixel]
return output
print(get_image(WIDTH, HEIGHT, imagedata))
| def get_layers(width, height, data):
layers = []
layer_area = width * height
data = [pixel for pixel in str(data)]
data.remove('\n')
while len(data) > 0:
layers.append(data[:layer_area])
data = data[layer_area:]
return layers
width = 25
height = 6
layers = get_layers(WIDTH, HEIGHT, open('input').read())
fewest_zero_layer = min(layers, key=lambda layer: layer.count('0'))
print('Part 1 solution: %i' % (fewest_zero_layer.count('1') * fewest_zero_layer.count('2')))
black = '0'
white = '1'
trans = '2'
colors = {WHITE: u'█', BLACK: ' ', TRANS: None}
imagedata = []
for (index, pixel) in enumerate(layers[0]):
depth = 0
while pixel == TRANS:
depth += 1
pixel = layers[depth][index]
imagedata.append(pixel)
def get_image(width, height, imagedata):
output = ''
for (i, pixel) in enumerate(imagedata):
if i > 0 and i % width == 0:
output += '\n'
output += COLORS[pixel]
return output
print(get_image(WIDTH, HEIGHT, imagedata)) |
# =============================================================================
# Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/
# FileName: 10494.py
# Description: UVa Online Judge - 10494
# =============================================================================
while True:
try:
line = input()
except EOFError:
break
if "/" in line:
a, b = list(map(int, line.split("/")))
print(a // b)
else:
a, b = list(map(int, line.split("%")))
print(a % b)
| while True:
try:
line = input()
except EOFError:
break
if '/' in line:
(a, b) = list(map(int, line.split('/')))
print(a // b)
else:
(a, b) = list(map(int, line.split('%')))
print(a % b) |
MAX_VAL = 2**31+1
def main():
n_ints = int(input())
ints = [int(x) for x in input().split()]
# Find all potential pivots by iterating from the left side.
highest = ints[0]
potential_pivots = set()
for i in ints:
if i >= highest:
potential_pivots.add(i)
highest = i
# Confirm pivots by iterating from right side.
pivot_count = 0
lowest = MAX_VAL
for i in ints[::-1]:
if i < lowest:
if i in potential_pivots:
pivot_count += 1
lowest = i
print(pivot_count)
if __name__ == '__main__':
main()
| max_val = 2 ** 31 + 1
def main():
n_ints = int(input())
ints = [int(x) for x in input().split()]
highest = ints[0]
potential_pivots = set()
for i in ints:
if i >= highest:
potential_pivots.add(i)
highest = i
pivot_count = 0
lowest = MAX_VAL
for i in ints[::-1]:
if i < lowest:
if i in potential_pivots:
pivot_count += 1
lowest = i
print(pivot_count)
if __name__ == '__main__':
main() |
one = {
'r': {
'__type__': 'tf.truncated_normal',
'__pre__': [],
'dtype': 'tf.float32',
'shape': [2, 2],
'name': '\'r\''
},
'w': {
'__type__': 'tf.Variable',
'__pre__': ['r'],
'dtype': 'tf.float32',
'initial_value': 'r',
'name': '\'w\''
},
'x': {
'__type__': 'tf.placeholder',
'__pre__': [],
'dtype': 'tf.float32',
'shape': [1, 2],
'name': '\'x\''
},
'dot': {
'__type__': 'tf.matmul',
'__pre__': ['w', 'x'],
'a': 'x',
'b': 'w',
'name': '\'dot\''
},
'y': {
'__type__': 'tf.placeholder',
'__pre__': [],
'dtype': 'tf.float32',
'shape': [1, 2],
'name': '\'y\''
},
'add': {
'__type__': 'tf.add',
'__pre__': ['dot', 'y'],
'x': 'dot',
'y': 'y',
'name': '\'add\''
}
}
| one = {'r': {'__type__': 'tf.truncated_normal', '__pre__': [], 'dtype': 'tf.float32', 'shape': [2, 2], 'name': "'r'"}, 'w': {'__type__': 'tf.Variable', '__pre__': ['r'], 'dtype': 'tf.float32', 'initial_value': 'r', 'name': "'w'"}, 'x': {'__type__': 'tf.placeholder', '__pre__': [], 'dtype': 'tf.float32', 'shape': [1, 2], 'name': "'x'"}, 'dot': {'__type__': 'tf.matmul', '__pre__': ['w', 'x'], 'a': 'x', 'b': 'w', 'name': "'dot'"}, 'y': {'__type__': 'tf.placeholder', '__pre__': [], 'dtype': 'tf.float32', 'shape': [1, 2], 'name': "'y'"}, 'add': {'__type__': 'tf.add', '__pre__': ['dot', 'y'], 'x': 'dot', 'y': 'y', 'name': "'add'"}} |
# automatically generated by the FlatBuffers compiler, do not modify
# namespace: zkinterface
class Message(object):
NONE = 0
Circuit = 1
R1CSConstraints = 2
Witness = 3
| class Message(object):
none = 0
circuit = 1
r1_cs_constraints = 2
witness = 3 |
class Dawg (object):
def __init__(self, digraphs=[]):
self.root = self.index = 0
self.digraphs = digraphs
self.graph = {self.root: []}
self.accepts = {}
def tokenize(self, word):
return self._rtokenize(word, [])
def insert(self, word):
self._rinsert(self.root, self.tokenize(word), word)
def words(self):
return self.accepts.values()
def node(self, word):
return self._rnode(self.root, self.tokenize(word))
def pivot_search(self, substring):
results = []
tokens = self.tokenize(substring)
# Check if this node is the start of the substring.
pivot = tokens.index('.')
matches = self._rmatch_string(self.root, self.tokenize(substring), [])
for m in matches:
results += [self.tokenize(m)[pivot]]
return results
def _rtokenize(self, word, tokens):
if len(word) == 0:
return tokens
digraph = [dg for dg in self.digraphs if word.startswith(dg)]
if len(digraph) > 0:
return self._rtokenize(word[2:], tokens + [digraph[0]])
else:
return self._rtokenize(word[1:], tokens + [word[0]])
def _rinsert(self, node, word, orig):
try:
# Unzip the edge values (letters) and the edge indices (targets).
if len(self.graph[node]) > 0:
letters, targets = map(lambda x: list(x), zip(*self.graph[node]))
else:
letters = targets = []
if word[0] in letters:
# If this edge already exists in the graph, recurse to it's target
self._rinsert(targets[letters.index(word[0])], word[1:], orig)
else:
# If the edge doesn't already exist in the graph, create the edge
self.index += 1
self.graph[node].append((word[0],self.index))
self.graph[self.index] = []
# Move to the next letter
self._rinsert(self.index, word[1:], orig)
except IndexError:
# Set this node to an accepting node once the whole word is inserted.
if node not in self.accepts:
self.accepts[node] = orig
def _rmatch_string(self, node, tokens, results):
if len(tokens) == 0:
if node in self.accepts:
results += [self.accepts[node]]
return results
letter = tokens[0]
for e in self.graph[node]:
if letter == e[0] or '.' == letter:
results = self._rmatch_string(e[1], tokens[1:], results)
return results
def _rnode(self, node, word):
if len(word) == 0:
return node
for n in self.graph[node]:
if n[0] == word[0]:
return self._rnode(n[1], word[1:])
return None
| class Dawg(object):
def __init__(self, digraphs=[]):
self.root = self.index = 0
self.digraphs = digraphs
self.graph = {self.root: []}
self.accepts = {}
def tokenize(self, word):
return self._rtokenize(word, [])
def insert(self, word):
self._rinsert(self.root, self.tokenize(word), word)
def words(self):
return self.accepts.values()
def node(self, word):
return self._rnode(self.root, self.tokenize(word))
def pivot_search(self, substring):
results = []
tokens = self.tokenize(substring)
pivot = tokens.index('.')
matches = self._rmatch_string(self.root, self.tokenize(substring), [])
for m in matches:
results += [self.tokenize(m)[pivot]]
return results
def _rtokenize(self, word, tokens):
if len(word) == 0:
return tokens
digraph = [dg for dg in self.digraphs if word.startswith(dg)]
if len(digraph) > 0:
return self._rtokenize(word[2:], tokens + [digraph[0]])
else:
return self._rtokenize(word[1:], tokens + [word[0]])
def _rinsert(self, node, word, orig):
try:
if len(self.graph[node]) > 0:
(letters, targets) = map(lambda x: list(x), zip(*self.graph[node]))
else:
letters = targets = []
if word[0] in letters:
self._rinsert(targets[letters.index(word[0])], word[1:], orig)
else:
self.index += 1
self.graph[node].append((word[0], self.index))
self.graph[self.index] = []
self._rinsert(self.index, word[1:], orig)
except IndexError:
if node not in self.accepts:
self.accepts[node] = orig
def _rmatch_string(self, node, tokens, results):
if len(tokens) == 0:
if node in self.accepts:
results += [self.accepts[node]]
return results
letter = tokens[0]
for e in self.graph[node]:
if letter == e[0] or '.' == letter:
results = self._rmatch_string(e[1], tokens[1:], results)
return results
def _rnode(self, node, word):
if len(word) == 0:
return node
for n in self.graph[node]:
if n[0] == word[0]:
return self._rnode(n[1], word[1:])
return None |
#!/usr/bin/env python3
#
#Copyright 2022 Kurt R. Brorsen
#
# 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.
#
def hf_energy(eri_ee_full, eri_ep_full, mo_fock_1e, mo_fock_1p, e_nocc, p_nocc):
e_hf = 0.0
for i in range(e_nocc):
e_hf += 2*mo_fock_1e[i,i]
for j in range(e_nocc):
e_hf += (2*eri_ee_full[i,i,j,j] - eri_ee_full[i,j,i,j])
# need to subtract this due to double counting by using ee and pp fock matrices
for j in range(p_nocc):
e_hf -= 2*eri_ep_full[i,i,j,j]
for i in range(p_nocc):
e_hf += mo_fock_1p[i,i]
return e_hf
| def hf_energy(eri_ee_full, eri_ep_full, mo_fock_1e, mo_fock_1p, e_nocc, p_nocc):
e_hf = 0.0
for i in range(e_nocc):
e_hf += 2 * mo_fock_1e[i, i]
for j in range(e_nocc):
e_hf += 2 * eri_ee_full[i, i, j, j] - eri_ee_full[i, j, i, j]
for j in range(p_nocc):
e_hf -= 2 * eri_ep_full[i, i, j, j]
for i in range(p_nocc):
e_hf += mo_fock_1p[i, i]
return e_hf |
# -*- coding: utf-8 -*-
class Node:
def __init__(self, val, isLeaf, topLeft, topRight, bottomLeft, bottomRight):
self.val = val
self.isLeaf = isLeaf
self.topLeft = topLeft
self.topRight = topRight
self.bottomLeft = bottomLeft
self.bottomRight = bottomRight
def __eq__(self, other):
return (
other is not None and
self.val == other.val and
self.isLeaf == other.isLeaf and
self.topLeft == other.topLeft and
self.topRight == other.topRight and
self.bottomLeft == other.bottomLeft and
self.bottomRight == other.bottomRight
)
class Solution:
def intersect(self, quadTree1, quadTree2):
if quadTree1.isLeaf:
return quadTree1 if quadTree1.val else quadTree2
elif quadTree2.isLeaf:
return quadTree2 if quadTree2.val else quadTree1
topLeft = self.intersect(quadTree1.topLeft, quadTree2.topLeft)
topRight = self.intersect(quadTree1.topRight, quadTree2.topRight)
bottomLeft = self.intersect(quadTree1.bottomLeft, quadTree2.bottomLeft)
bottomRight = self.intersect(quadTree1.bottomRight, quadTree2.bottomRight)
if topLeft.isLeaf and topRight.isLeaf and bottomLeft.isLeaf and bottomRight.isLeaf:
if topLeft.val == topRight.val == bottomLeft.val == bottomRight.val:
return Node(topLeft.val, True, None, None, None, None)
return Node(None, False, topLeft, topRight, bottomLeft, bottomRight)
if __name__ == '__main__':
solution = Solution()
t0_4 = Node(False, True, None, None, None, None)
t0_3 = Node(False, True, None, None, None, None)
t0_2 = Node(True, True, None, None, None, None)
t0_1 = Node(True, True, None, None, None, None)
t0_0 = Node(None, False, t0_1, t0_2, t0_3, t0_4)
t1_8 = Node(True, True, None, None, None, None)
t1_7 = Node(True, True, None, None, None, None)
t1_6 = Node(False, True, None, None, None, None)
t1_5 = Node(False, True, None, None, None, None)
t1_4 = Node(False, True, None, None, None, None)
t1_3 = Node(True, True, None, None, None, None)
t1_2 = Node(None, False, t1_5, t1_6, t1_7, t1_8)
t1_1 = Node(True, True, None, None, None, None)
t1_0 = Node(None, False, t1_1, t1_2, t1_3, t1_4)
t2_4 = Node(False, True, None, None, None, None)
t2_3 = Node(True, True, None, None, None, None)
t2_2 = Node(True, True, None, None, None, None)
t2_1 = Node(True, True, None, None, None, None)
t2_0 = Node(None, False, t2_1, t2_2, t2_3, t2_4)
assert t2_0 == solution.intersect(t0_0, t1_0)
| class Node:
def __init__(self, val, isLeaf, topLeft, topRight, bottomLeft, bottomRight):
self.val = val
self.isLeaf = isLeaf
self.topLeft = topLeft
self.topRight = topRight
self.bottomLeft = bottomLeft
self.bottomRight = bottomRight
def __eq__(self, other):
return other is not None and self.val == other.val and (self.isLeaf == other.isLeaf) and (self.topLeft == other.topLeft) and (self.topRight == other.topRight) and (self.bottomLeft == other.bottomLeft) and (self.bottomRight == other.bottomRight)
class Solution:
def intersect(self, quadTree1, quadTree2):
if quadTree1.isLeaf:
return quadTree1 if quadTree1.val else quadTree2
elif quadTree2.isLeaf:
return quadTree2 if quadTree2.val else quadTree1
top_left = self.intersect(quadTree1.topLeft, quadTree2.topLeft)
top_right = self.intersect(quadTree1.topRight, quadTree2.topRight)
bottom_left = self.intersect(quadTree1.bottomLeft, quadTree2.bottomLeft)
bottom_right = self.intersect(quadTree1.bottomRight, quadTree2.bottomRight)
if topLeft.isLeaf and topRight.isLeaf and bottomLeft.isLeaf and bottomRight.isLeaf:
if topLeft.val == topRight.val == bottomLeft.val == bottomRight.val:
return node(topLeft.val, True, None, None, None, None)
return node(None, False, topLeft, topRight, bottomLeft, bottomRight)
if __name__ == '__main__':
solution = solution()
t0_4 = node(False, True, None, None, None, None)
t0_3 = node(False, True, None, None, None, None)
t0_2 = node(True, True, None, None, None, None)
t0_1 = node(True, True, None, None, None, None)
t0_0 = node(None, False, t0_1, t0_2, t0_3, t0_4)
t1_8 = node(True, True, None, None, None, None)
t1_7 = node(True, True, None, None, None, None)
t1_6 = node(False, True, None, None, None, None)
t1_5 = node(False, True, None, None, None, None)
t1_4 = node(False, True, None, None, None, None)
t1_3 = node(True, True, None, None, None, None)
t1_2 = node(None, False, t1_5, t1_6, t1_7, t1_8)
t1_1 = node(True, True, None, None, None, None)
t1_0 = node(None, False, t1_1, t1_2, t1_3, t1_4)
t2_4 = node(False, True, None, None, None, None)
t2_3 = node(True, True, None, None, None, None)
t2_2 = node(True, True, None, None, None, None)
t2_1 = node(True, True, None, None, None, None)
t2_0 = node(None, False, t2_1, t2_2, t2_3, t2_4)
assert t2_0 == solution.intersect(t0_0, t1_0) |
'''
@Author: Hata
@Date: 2020-07-30 09:27:42
@LastEditors: Hata
@LastEditTime: 2020-07-30 09:29:33
@FilePath: \LeetCode\M02-04.py
@Description: https://leetcode-cn.com/problems/partition-list-lcci/
'''
# Definition for singly-linked list.
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def partition(self, head: ListNode, x: int) -> ListNode:
p, q = head, head
while q:
if q.val < x:
q.val, p.val = p.val, q.val
p = p.next
q = q.next
return head | """
@Author: Hata
@Date: 2020-07-30 09:27:42
@LastEditors: Hata
@LastEditTime: 2020-07-30 09:29:33
@FilePath: \\LeetCode\\M02-04.py
@Description: https://leetcode-cn.com/problems/partition-list-lcci/
"""
class Listnode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def partition(self, head: ListNode, x: int) -> ListNode:
(p, q) = (head, head)
while q:
if q.val < x:
(q.val, p.val) = (p.val, q.val)
p = p.next
q = q.next
return head |
print("{:_^20}".format("School average"))
FirstGrade = float(input("First Grade: "))
SecondGrade = float(input("Second Grade: "))
Media = (FirstGrade + SecondGrade) / 2
print("Media: {:.1f}".format(Media))
print("{:_^20}".format("School average 2"))
FirstGrade = float(input("First Grade: "))
SecondGrade = float(input("Second Grade: "))
print("Media: {:.1f}".format((FirstGrade + SecondGrade) / 2))
if(Media >= 6.0): {
print("Student approved")
}
else: {
print("Student failed")
} | print('{:_^20}'.format('School average'))
first_grade = float(input('First Grade: '))
second_grade = float(input('Second Grade: '))
media = (FirstGrade + SecondGrade) / 2
print('Media: {:.1f}'.format(Media))
print('{:_^20}'.format('School average 2'))
first_grade = float(input('First Grade: '))
second_grade = float(input('Second Grade: '))
print('Media: {:.1f}'.format((FirstGrade + SecondGrade) / 2))
if Media >= 6.0:
{print('Student approved')}
else:
{print('Student failed')} |
class BaseException(Exception):
code = 0
message = ''
def __init__(self, code, message):
self.code = code
self.message = message
class ServerException(BaseException):
def __init__(self, message):
super().__init__(500, message)
class ClientException(BaseException):
def __init__(self, message):
super().__init__(400, message)
| class Baseexception(Exception):
code = 0
message = ''
def __init__(self, code, message):
self.code = code
self.message = message
class Serverexception(BaseException):
def __init__(self, message):
super().__init__(500, message)
class Clientexception(BaseException):
def __init__(self, message):
super().__init__(400, message) |
UNTRACKED_PATH = "repositorios"
COMPILER = "pdflatex"
SAE_COUNTER_GITHUB = "https://github.com/comissao-aerodesign/PyAeroCounter.git"
SAE_COUNTER_PATH = "PyAeroCounter"
PROJECTS_OVERLEAF = [
{
'name': "<Nome do projeto>",
'path': "<Pasta_do_projeto>",
'main': "<Arquivo tex>",
'url': "https://git.overleaf.com/<SUA_URL_OVERLEAF_GIT>"
},
]
OVERLEAF_USER = "<SEU_USUARIO>"
OVERLEAF_PASSWORD = "<SUA_SENHA>" | untracked_path = 'repositorios'
compiler = 'pdflatex'
sae_counter_github = 'https://github.com/comissao-aerodesign/PyAeroCounter.git'
sae_counter_path = 'PyAeroCounter'
projects_overleaf = [{'name': '<Nome do projeto>', 'path': '<Pasta_do_projeto>', 'main': '<Arquivo tex>', 'url': 'https://git.overleaf.com/<SUA_URL_OVERLEAF_GIT>'}]
overleaf_user = '<SEU_USUARIO>'
overleaf_password = '<SUA_SENHA>' |
class AppValidationError(Exception):
def __init__(self, msg, response=None):
super(AppValidationError, self).__init__(msg)
self.response = response
| class Appvalidationerror(Exception):
def __init__(self, msg, response=None):
super(AppValidationError, self).__init__(msg)
self.response = response |
#program to sort a list of elements using Comb sort.
def comb_sort(nums):
shrink_fact = 1.3
gaps = len(nums)
swapped = True
i = 0
while gaps > 1 or swapped:
gaps = int(float(gaps) / shrink_fact)
swapped = False
i = 0
while gaps + i < len(nums):
if nums[i] > nums[i+gaps]:
nums[i], nums[i+gaps] = nums[i+gaps], nums[i]
swapped = True
i += 1
return nums
num1 = input('Input comma separated numbers:\n').strip()
nums = [int(item) for item in num1.split(',')]
print(comb_sort(nums))
| def comb_sort(nums):
shrink_fact = 1.3
gaps = len(nums)
swapped = True
i = 0
while gaps > 1 or swapped:
gaps = int(float(gaps) / shrink_fact)
swapped = False
i = 0
while gaps + i < len(nums):
if nums[i] > nums[i + gaps]:
(nums[i], nums[i + gaps]) = (nums[i + gaps], nums[i])
swapped = True
i += 1
return nums
num1 = input('Input comma separated numbers:\n').strip()
nums = [int(item) for item in num1.split(',')]
print(comb_sort(nums)) |
#!/usr/bin/env python
# I need to figure out how I want to deal with these classes
class FacebookEndpoint:
pass | class Facebookendpoint:
pass |
sns.relplot(
data=monthly_victim_counts,
kind="line",
palette="colorblind",
height=3, aspect=4,
) | sns.relplot(data=monthly_victim_counts, kind='line', palette='colorblind', height=3, aspect=4) |
# https://www.codechef.com/problems/FLOW015
for T in range(int(input())):
n,days,c=int(input()),['sunday','monday','tuesday','wednesday','thursday','friday','saturday'],1
if(n>2001):
for z in range(2002,n+1):
if((z-1)%4==0 and ((z-1)%400==0 or (z-1)%100!=0)): c+=2
else: c+=1
else:
for z in range(2000,n-1,-1):
if(z%4==0 and (z%400==0 or z%100!=0)): c-=2
else: c-=1
print(days[c%7]) | for t in range(int(input())):
(n, days, c) = (int(input()), ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'], 1)
if n > 2001:
for z in range(2002, n + 1):
if (z - 1) % 4 == 0 and ((z - 1) % 400 == 0 or (z - 1) % 100 != 0):
c += 2
else:
c += 1
else:
for z in range(2000, n - 1, -1):
if z % 4 == 0 and (z % 400 == 0 or z % 100 != 0):
c -= 2
else:
c -= 1
print(days[c % 7]) |
#In this file I am going to model a Spotify playlist
playlist ={
'name':'hip-hop',
'author':'John',
'songs' : [
{
'title':'Walk it Talk it',
'artist': 'Migos',
},
{
'title':'New Freezer',
'artist' : 'Rich Kid',
},
{
'title':'New Freezer',
'artist':'Chris Brown',
}
],
}
for song in playlist['songs']:
print(song['title']) | playlist = {'name': 'hip-hop', 'author': 'John', 'songs': [{'title': 'Walk it Talk it', 'artist': 'Migos'}, {'title': 'New Freezer', 'artist': 'Rich Kid'}, {'title': 'New Freezer', 'artist': 'Chris Brown'}]}
for song in playlist['songs']:
print(song['title']) |
# Numbers can be combined using mathematical operators
x = 1 + 1
y = 2 * 3
# Variables holding numbers can be used any way numbers can be used
z = y / x
# We can prove that these computations worked out the same
# using comparison operators, specifically == to test for equality:
print('===comparing===')
print('2 == x', 2 == x)
print('6 == y', 6 == y)
print('3 == z', 3 == z)
# Note that z is a float. Division in Python 3+ always returns a float.
# We can coerce the result to an int using the "integer division" operator
# which always rounds down:
int_div = y // x
# We can also use the "modulo" operator to compute the remainder:
remainder = y % x
print() # Just for a blank line in the output
# Two values can only be equal if they have the same type
print("1 == '1'", 1 == '1')
# Other common comparisons include <, <=, >, >=
print('1 < 2', 1 < 2) # True
print('10 >= 10', 10 >= 10) # True
print('10 > 10', 10 > 10) # False
print() # For a blank line in the output
# Strings are compared pseudo-alphabetically for greater than / less than
print('"albert" < "bill"', "albert" < "bill") # True
# HOWEVER, in python ALL capital letters come before ANY lowercase letters
print('"B" < "a"', "B" < "a") # True
# FYI: There are additional rules for other characters like $, %, ., and so on
# that we're ignoring for now.
# Strings can also be combined with math operators, but they mean different
# things when operating on strings
x = "hello " + "world." # Concatenation, x is "hello world."
y = "a" * 4 # Duplication, y = "aaaa"
print()
print(x)
print(y)
# Finally, we can combine the assignment operator and these math operations
# using the following shorthands:
x = 4
x += 3 # x = x + 3
x -= 1 # x = x - 1
x *= 2 # x = x * 2
x /= 4 # x = x / 4
# Micro-Exercise: predict the value of x. Then write a comparison statement
# involving x that evaluates to False. Print the result of that comparison.
| x = 1 + 1
y = 2 * 3
z = y / x
print('===comparing===')
print('2 == x', 2 == x)
print('6 == y', 6 == y)
print('3 == z', 3 == z)
int_div = y // x
remainder = y % x
print()
print("1 == '1'", 1 == '1')
print('1 < 2', 1 < 2)
print('10 >= 10', 10 >= 10)
print('10 > 10', 10 > 10)
print()
print('"albert" < "bill"', 'albert' < 'bill')
print('"B" < "a"', 'B' < 'a')
x = 'hello ' + 'world.'
y = 'a' * 4
print()
print(x)
print(y)
x = 4
x += 3
x -= 1
x *= 2
x /= 4 |
class Solution:
def kthFactor(self, n: int, k: int) -> int:
count = 0
for i in range(1,n+1):
if n%i==0:
count+=1
if count==k:
return i
return -1
| class Solution:
def kth_factor(self, n: int, k: int) -> int:
count = 0
for i in range(1, n + 1):
if n % i == 0:
count += 1
if count == k:
return i
return -1 |
{
'name': 'Junari Odoo Website Utils',
'version': '1.0',
'summary': 'Re-usable widgets for odoo website modules',
'author': 'Junari Ltd',
'category': 'CRM',
'website': 'https://www.junari.com',
'images': [],
'depends': [
'website'
],
'data': [
'views/assets.xml'
],
'js': [],
'qweb': [],
'css': [],
'demo': [],
'test': [],
'application': False,
'installable': True,
'auto_install': False,
}
| {'name': 'Junari Odoo Website Utils', 'version': '1.0', 'summary': 'Re-usable widgets for odoo website modules', 'author': 'Junari Ltd', 'category': 'CRM', 'website': 'https://www.junari.com', 'images': [], 'depends': ['website'], 'data': ['views/assets.xml'], 'js': [], 'qweb': [], 'css': [], 'demo': [], 'test': [], 'application': False, 'installable': True, 'auto_install': False} |
while True:
num = int(input('Quer ver a tabuada de qual valor? '))
if num < 0:
break
print('-' * 30)
for mult in range(1, 11, 1):
print(f'{num} x {mult} = {num * mult}')
print('-' * 30)
print('PROGRAMA TABUADA ENCERRADO. Volte sempre!')
| while True:
num = int(input('Quer ver a tabuada de qual valor? '))
if num < 0:
break
print('-' * 30)
for mult in range(1, 11, 1):
print(f'{num} x {mult} = {num * mult}')
print('-' * 30)
print('PROGRAMA TABUADA ENCERRADO. Volte sempre!') |
# -*- coding: utf-8 -*-
class Duck(object):
def quark(self):
print('Quaaaaaark!')
class Person(object):
def quark(self):
print('Hello!')
def quarking(duck):
try:
duck.quark()
except AttributeError:
pass
if __name__ == '__main__':
duck = Duck()
person = Person()
quarking(duck)
quarking(person) | class Duck(object):
def quark(self):
print('Quaaaaaark!')
class Person(object):
def quark(self):
print('Hello!')
def quarking(duck):
try:
duck.quark()
except AttributeError:
pass
if __name__ == '__main__':
duck = duck()
person = person()
quarking(duck)
quarking(person) |
DATA = [
("Load JS/WebAssembly", 2, 2, 2),
("Load /tmp/lines.txt", 225, 222, 218),
("From JS new Fzf() until ready to ....",
7825, 8548, 1579),
("Calling fzf-lib's fzf.New()", 1255, 3121, 963),
("return from fzfNew() function", 358, 7, 0),
("search() until library has result", 4235, 1394, 12132),
("Returning search result to JS callback", 1908, 1378, 416),
]
def create_plot(ax):
labels = ["Go", "TinyGo", "GopherJS"]
bottoms = [0, 0, 0]
for row in DATA:
ax.bar(labels, row[1:], label=row[0], bottom=bottoms)
bottoms = [bottoms[i] + row[1:][i] for i in range(len(bottoms))]
ax.set_ylabel("Time (ms)")
ax.set_ylim([0, 20000])
ax.legend(ncol=2)
| data = [('Load JS/WebAssembly', 2, 2, 2), ('Load /tmp/lines.txt', 225, 222, 218), ('From JS new Fzf() until ready to ....', 7825, 8548, 1579), ("Calling fzf-lib's fzf.New()", 1255, 3121, 963), ('return from fzfNew() function', 358, 7, 0), ('search() until library has result', 4235, 1394, 12132), ('Returning search result to JS callback', 1908, 1378, 416)]
def create_plot(ax):
labels = ['Go', 'TinyGo', 'GopherJS']
bottoms = [0, 0, 0]
for row in DATA:
ax.bar(labels, row[1:], label=row[0], bottom=bottoms)
bottoms = [bottoms[i] + row[1:][i] for i in range(len(bottoms))]
ax.set_ylabel('Time (ms)')
ax.set_ylim([0, 20000])
ax.legend(ncol=2) |
'''
Copyright (C) 2015 Dato, Inc.
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
'''
graphlab_server = 'http://pws-billing-stage.herokuapp.com'
mode = 'QA'
mixpanel_user = '97b6ae8fe096844c2efb9f6c57165d41'
metrics_url = 'http://d343i1j50yi7ez.cloudfront.net/i'
| """
Copyright (C) 2015 Dato, Inc.
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
"""
graphlab_server = 'http://pws-billing-stage.herokuapp.com'
mode = 'QA'
mixpanel_user = '97b6ae8fe096844c2efb9f6c57165d41'
metrics_url = 'http://d343i1j50yi7ez.cloudfront.net/i' |
class BaseValidator:
REQUIRED_KEYS = []
def validate(self, data):
return all(
key in data.keys()
for key in self.REQUIRED_KEYS)
class UserValidator(BaseValidator):
REQUIRED_KEYS = ('username', 'password')
class PotionValidator(BaseValidator):
REQUIRED_KEYS = ('name')
| class Basevalidator:
required_keys = []
def validate(self, data):
return all((key in data.keys() for key in self.REQUIRED_KEYS))
class Uservalidator(BaseValidator):
required_keys = ('username', 'password')
class Potionvalidator(BaseValidator):
required_keys = 'name' |
def poisson(i, j, u_tp, v_tp, dx, dy, dt, P, c, SOR):
cm = (
u_tp[i, j] - u_tp[i-1, j] + v_tp[i, j] - v_tp[i, j-1]
) # conservation of mass
pressure = (P[i+1, j] + P[i-1, j] + P[i, j+1] + P[i, j-1])
P[i, j] = SOR * (c[i, j])*(pressure - (dx/dt)*(cm)) + (1.0 - SOR) * P[i, j]
return P
def streamlines(i, j, dx, dy, dt, phi, vorticity, SOR):
PHI = (phi[i+1, j] + phi[i-1, j] + phi[i, j+1] + phi[i, j-1])
phi[i, j] = (
(1.0/4.0) * SOR * (PHI + (dx*dy) * vorticity[i, j]) +
(1.0 - SOR)*phi[i, j]
)
return phi
| def poisson(i, j, u_tp, v_tp, dx, dy, dt, P, c, SOR):
cm = u_tp[i, j] - u_tp[i - 1, j] + v_tp[i, j] - v_tp[i, j - 1]
pressure = P[i + 1, j] + P[i - 1, j] + P[i, j + 1] + P[i, j - 1]
P[i, j] = SOR * c[i, j] * (pressure - dx / dt * cm) + (1.0 - SOR) * P[i, j]
return P
def streamlines(i, j, dx, dy, dt, phi, vorticity, SOR):
phi = phi[i + 1, j] + phi[i - 1, j] + phi[i, j + 1] + phi[i, j - 1]
phi[i, j] = 1.0 / 4.0 * SOR * (PHI + dx * dy * vorticity[i, j]) + (1.0 - SOR) * phi[i, j]
return phi |
AWS_REGION = 'us-east-1'
#Lambda function name for querying
lambda_func_name = "cloudtrailTrackerQueries"
#Lambda function name for automatic event uploads
lambda_func_name_trigger = "cloudtrailTrackerUploads"
#Stage name for API Gateway
stage_name = "cloudtrailtrackerStage"
#DynamoDB Table name
table_name = "cloudtrailtrackerdb"
#Preconfigured S3 bucket by CloudTrail
bucket_name = "cursocloudaws-trail"
#API name
API_name = "cloudtrailTrackerAPI"
#eventNames that we DO NOT want to store - Filter
filterEventNames = ["get", "describe", "list", "info", "decrypt", "checkmfa", "head"]
### Account IDs and permisiions
#aws_acct_id = "111111111111"
### Roles
#A role is needed with access to S3 / apig / lamba permissions
# arn_role = 'arn:aws:iam::111111111111:role/your-iam-role'
#Index name for DynamoDB Table - Do not modify if is not necessary
index = 'userIdentity_userName-eventTime-index'
| aws_region = 'us-east-1'
lambda_func_name = 'cloudtrailTrackerQueries'
lambda_func_name_trigger = 'cloudtrailTrackerUploads'
stage_name = 'cloudtrailtrackerStage'
table_name = 'cloudtrailtrackerdb'
bucket_name = 'cursocloudaws-trail'
api_name = 'cloudtrailTrackerAPI'
filter_event_names = ['get', 'describe', 'list', 'info', 'decrypt', 'checkmfa', 'head']
index = 'userIdentity_userName-eventTime-index' |
SETUP_TIME = -1.0
INTERMED_FILE_FILEEXT = '.txt'
SEPERATOR = '_'
SETUP_SCRIPT_POSTFIX = "_setup.sh"
RUNTIME_SCRIPT_POSTFIX = "_runtime.cmd" | setup_time = -1.0
intermed_file_fileext = '.txt'
seperator = '_'
setup_script_postfix = '_setup.sh'
runtime_script_postfix = '_runtime.cmd' |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def zigzagLevelOrder(self, root: Optional[TreeNode]) -> List[List[int]]:
if not root: return []
rev, res, level = False, [], [root]
while level:
clv,nextl = [],[]
for nd in level:
clv.append(nd.val)
if nd.left:
nextl.append(nd.left)
if nd.right:
nextl.append(nd.right)
if rev:
res.append(clv[::-1])
rev = False
else:
res.append(clv)
rev = True
level = nextl
return res | class Solution:
def zigzag_level_order(self, root: Optional[TreeNode]) -> List[List[int]]:
if not root:
return []
(rev, res, level) = (False, [], [root])
while level:
(clv, nextl) = ([], [])
for nd in level:
clv.append(nd.val)
if nd.left:
nextl.append(nd.left)
if nd.right:
nextl.append(nd.right)
if rev:
res.append(clv[::-1])
rev = False
else:
res.append(clv)
rev = True
level = nextl
return res |
#title :matchmaker_nance.py
#description :This will ask a series of questionsd and determine match %.
#author :Chris Nance
#date :2022-03-13
#version :1.0
#usage :python matchmaker_nance.py
#notes :Edit the questionAndAnswerDict Dictionary below.
#python_version :3.10
#==============================================================================#==============================================================================#==============================================================================
# Please add, remove or modify any questions in the dictionary. The first number in each array is the correct score for the question while the second number is the weight (or how important) the question is to you.
# The script will automatically adjust the total points available and output based on your modifications to this dictionary.
questionAndAnswerDict = (
# ['QUESTION', SCORE, WEIGHT]
['iPhone is better than Android', 4, 1],
['I prefer the outdoors rather than being inside', 4, 3],
['Computer Science is one of the coolest fields of study', 5, 3],
['Data science is really fun', 1, 2],
['I like all four seasons rather than it just being hot all year', 2, 2],
)
#==============================================================================#==============================================================================#==============================================================================
## VARIABLES
user_score = 0
user_score_nw = 0
user_answer = 0
total_available = 0
total_available_nw = 0
## HEADER
print('''
--------------------------------------
-- MATCHMAKER 1.0 --
--------------------------------------
This program will ask '''+str(len(questionAndAnswerDict))+''' questions.\nYou will respond to each question with a\nnumber 1 through 5. The number 1 means you\ndisagree while the number 5 means you highly\nagree.At the end you wil be given your final\nscore and match maker percentage.
''')
## MAIN PROGRAM
for question_num in range(0,len(questionAndAnswerDict)): # Ask all questions in the dictionary; in order.
question, answer, weight, user_answer = questionAndAnswerDict[question_num][0], questionAndAnswerDict[question_num][1], questionAndAnswerDict[question_num][2], 0 # Multi-Assignment of question, answer, weight and placeholder for user_score.
print('\n')
print("Question:", question)
while user_answer not in [1,2,3,4,5]:
try:
user_answer = int(input('Your Answer (From 1 to 5): '))
if user_answer in [1,2,3,4,5]: break # Break on condition being met so error print does not happen.
except ValueError as error:
print("[ERROR]: Sorry, you MUST enter an INTEGER from 1 to 5:", error)
except Exception as error:
print("[ERROR]: There was an unknown error. Please try entering in an integer from 1 to 5:", error)
print("[ERROR]: You need to enter an INTEGER from 1 to 5...")
user_score += abs(answer - user_answer) * weight # Calculate the running total of points the user has accumulated. Abs prevents negatives.
user_score_nw += abs(answer - user_answer)
total_available += answer*weight # Calculate the total points available based on the dictionary of questions. Adding/Removing/Editing questions require no code change.
total_available_nw += answer
user_score = total_available - user_score # Obtain true user score by subtracting their score from the total score available.
## SCORE OUTPUT/REMARKS
print(f"\n\nMatch Percent: {user_score/total_available*100:.2f}%.\nYou scored", str(user_score), "weighted points out of the possible", str(total_available), "available.\nYou scored", str(user_score_nw), "non-weighted points out of the possible", str(total_available_nw), "available.")
if user_score < total_available*0.5: # <50% match
print("Maybe we would be better off never talking again...")
elif user_score < total_available*0.7: # <70% match
print("I'm thinking we're just friends...")
elif user_score < total_available*0.9: # <90% match
print("This could really work out...")
elif user_score > total_available*0.9: # >90% match
print("Perfect!")
print('''
--------------------------------------
-- MATCHMAKER 1.0 --
--------------------------------------
''')
input('Thank you for using Match Maker 1.0\nPress Enter to close this window...') | question_and_answer_dict = (['iPhone is better than Android', 4, 1], ['I prefer the outdoors rather than being inside', 4, 3], ['Computer Science is one of the coolest fields of study', 5, 3], ['Data science is really fun', 1, 2], ['I like all four seasons rather than it just being hot all year', 2, 2])
user_score = 0
user_score_nw = 0
user_answer = 0
total_available = 0
total_available_nw = 0
print('\n--------------------------------------\n-- MATCHMAKER 1.0 --\n--------------------------------------\n\nThis program will ask ' + str(len(questionAndAnswerDict)) + ' questions.\nYou will respond to each question with a\nnumber 1 through 5. The number 1 means you\ndisagree while the number 5 means you highly\nagree.At the end you wil be given your final\nscore and match maker percentage.\n')
for question_num in range(0, len(questionAndAnswerDict)):
(question, answer, weight, user_answer) = (questionAndAnswerDict[question_num][0], questionAndAnswerDict[question_num][1], questionAndAnswerDict[question_num][2], 0)
print('\n')
print('Question:', question)
while user_answer not in [1, 2, 3, 4, 5]:
try:
user_answer = int(input('Your Answer (From 1 to 5): '))
if user_answer in [1, 2, 3, 4, 5]:
break
except ValueError as error:
print('[ERROR]: Sorry, you MUST enter an INTEGER from 1 to 5:', error)
except Exception as error:
print('[ERROR]: There was an unknown error. Please try entering in an integer from 1 to 5:', error)
print('[ERROR]: You need to enter an INTEGER from 1 to 5...')
user_score += abs(answer - user_answer) * weight
user_score_nw += abs(answer - user_answer)
total_available += answer * weight
total_available_nw += answer
user_score = total_available - user_score
print(f'\n\nMatch Percent: {user_score / total_available * 100:.2f}%.\nYou scored', str(user_score), 'weighted points out of the possible', str(total_available), 'available.\nYou scored', str(user_score_nw), 'non-weighted points out of the possible', str(total_available_nw), 'available.')
if user_score < total_available * 0.5:
print('Maybe we would be better off never talking again...')
elif user_score < total_available * 0.7:
print("I'm thinking we're just friends...")
elif user_score < total_available * 0.9:
print('This could really work out...')
elif user_score > total_available * 0.9:
print('Perfect!')
print('\n--------------------------------------\n-- MATCHMAKER 1.0 --\n--------------------------------------\n')
input('Thank you for using Match Maker 1.0\nPress Enter to close this window...') |
# finding bottom left value if binary search tree
class Node:
def __init__(self,val):
self.left = None
self.right = None
self.val = val
def findBottomLeftValue(root):
current = [] # contains nodes are current level
parent = [] # contains nodes at previous level
current.append(root) # initializing with root
# loop break condition: no more elements to add i.e all leaf nodes in parent
while len(current) > 0:
parent = current
current = [] # clearing current for next level
# for each node at previous level add it's children
for node in parent:
if node.left is not None:
current.append(node.left)
if node.right is not None:
current.append(node.right)
# always pick first element to get bottom left
return parent[0].val
# Create a root node
root = Node(5)
root.left = Node(3)
root.right = Node(8)
root.right.left = Node(10)
root.right.left.right = Node(11)
print(findBottomLeftValue(root))
| class Node:
def __init__(self, val):
self.left = None
self.right = None
self.val = val
def find_bottom_left_value(root):
current = []
parent = []
current.append(root)
while len(current) > 0:
parent = current
current = []
for node in parent:
if node.left is not None:
current.append(node.left)
if node.right is not None:
current.append(node.right)
return parent[0].val
root = node(5)
root.left = node(3)
root.right = node(8)
root.right.left = node(10)
root.right.left.right = node(11)
print(find_bottom_left_value(root)) |
class DSSConstants(object):
APPLICATION_JSON = "application/json;odata=verbose"
APPLICATION_JSON_NOMETADATA = "application/json;odata=nometadata"
AUTH_LOGIN = "login"
AUTH_OAUTH = "oauth"
AUTH_SITE_APP = "site-app-permissions"
CHILDREN = 'children'
DATE_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
DIRECTORY = 'directory'
EXISTS = 'exists'
FALLBACK_TYPE = "string"
FULL_PATH = 'fullPath'
IS_DIRECTORY = 'isDirectory'
JSON_HEADERS = {
"Content-Type": APPLICATION_JSON,
"Accept": APPLICATION_JSON
}
LAST_MODIFIED = 'lastModified'
LOGIN_DETAILS = {
"sharepoint_tenant": "The tenant name is missing",
"sharepoint_site": "The site name is missing",
"sharepoint_username": "The account's username is missing",
"sharepoint_password": "The account's password is missing"
}
OAUTH_DETAILS = {
"sharepoint_tenant": "The tenant name is missing",
"sharepoint_site": "The site name is missing",
"sharepoint_oauth": "The access token is missing"
}
PATH = 'path'
SITE_APP_DETAILS = {
"sharepoint_tenant": "The tenant name is missing",
"sharepoint_site": "The site name is missing",
"tenant_id": "The tenant ID is missing. See documentation on how to obtain this information",
"client_id": "The client ID is missing",
"client_secret": "The client secret is missing"
}
SIZE = 'size'
TYPES = {
"string": "Text",
"map": "Note",
"array": "Note",
"object": "Note",
"double": "Number",
"float": "Number",
"int": "Integer",
"bigint": "Integer",
"smallint": "Integer",
"tinyint": "Integer",
"date": "DateTime"
}
| class Dssconstants(object):
application_json = 'application/json;odata=verbose'
application_json_nometadata = 'application/json;odata=nometadata'
auth_login = 'login'
auth_oauth = 'oauth'
auth_site_app = 'site-app-permissions'
children = 'children'
date_format = '%Y-%m-%dT%H:%M:%S.%fZ'
directory = 'directory'
exists = 'exists'
fallback_type = 'string'
full_path = 'fullPath'
is_directory = 'isDirectory'
json_headers = {'Content-Type': APPLICATION_JSON, 'Accept': APPLICATION_JSON}
last_modified = 'lastModified'
login_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'sharepoint_username': "The account's username is missing", 'sharepoint_password': "The account's password is missing"}
oauth_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'sharepoint_oauth': 'The access token is missing'}
path = 'path'
site_app_details = {'sharepoint_tenant': 'The tenant name is missing', 'sharepoint_site': 'The site name is missing', 'tenant_id': 'The tenant ID is missing. See documentation on how to obtain this information', 'client_id': 'The client ID is missing', 'client_secret': 'The client secret is missing'}
size = 'size'
types = {'string': 'Text', 'map': 'Note', 'array': 'Note', 'object': 'Note', 'double': 'Number', 'float': 'Number', 'int': 'Integer', 'bigint': 'Integer', 'smallint': 'Integer', 'tinyint': 'Integer', 'date': 'DateTime'} |
# This is an example script
Import("projenv")
# access to project construction environment
print(projenv)
# Dump construction environments (for debug purpose)
print(projenv.Dump())
# append extra flags to only project build environment
projenv.Append(CPPDEFINES=[
"PROJECT_EXTRA_MACRO_1_NAME",
("PROJECT_EXTRA_MACRO_2_NAME", "PROJECT_EXTRA_MACRO_2_VALUE")
]) | import('projenv')
print(projenv)
print(projenv.Dump())
projenv.Append(CPPDEFINES=['PROJECT_EXTRA_MACRO_1_NAME', ('PROJECT_EXTRA_MACRO_2_NAME', 'PROJECT_EXTRA_MACRO_2_VALUE')]) |
def electionsWinners(votes, k):
m = max(votes)
n = len(list(filter(lambda y: y, (map(lambda x: (x + k) > m, votes)))))
votes.remove(max(votes))
if n == 0 and m > max(votes):
return 1
return n | def elections_winners(votes, k):
m = max(votes)
n = len(list(filter(lambda y: y, map(lambda x: x + k > m, votes))))
votes.remove(max(votes))
if n == 0 and m > max(votes):
return 1
return n |
'''
1. Write a Python program to calculate the length of a string.
2. Write a Python program to count the number of characters (character frequency) in a string.
Sample String : google.com'
Expected Result : {'o': 3, 'g': 2, '.': 1, 'e': 1, 'l': 1, 'm': 1, 'c': 1}
3. Write a Python program to get a string made of the first 2 and the last 2 chars from a given a string. If the string length is less than 2, return instead of the empty string.
Sample String : 'codedladies'
Expected Result : 'coes'
Sample String : 'co'
Expected Result : 'coco'
Sample String : ' c'
Expected Result : Empty String
Click me to see the sample solution
4. Write a Python program to get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself.
Sample String : 'restart'
Expected Result : 'resta$t'
5. Write a Python program to get a single string from two given strings, separated by a space and swap the first two characters of each string.
Sample String : 'abc', 'xyz'
Expected Result : 'xyc abz'
6. Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged.
Sample String : 'abc'
Expected Result : 'abcing'
Sample String : 'string'
Expected Result : 'stringly'
7. Write a Python program to find the first appearance of the substring 'not' and 'poor' from a given string, if 'not' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'. Return the resulting string.
Sample String : 'The lyrics is not that poor!'
'The lyrics is poor!'
Expected Result : 'The lyrics is good!'
'The lyrics is poor!'
8. Write a Python function that takes a list of words and returns the length of the longest one.
9. Write a Python program to remove the nth index character from a nonempty string.
10. Write a Python program to change a given string to a new string where the first and last chars have been exchanged.
'''
| """
1. Write a Python program to calculate the length of a string.
2. Write a Python program to count the number of characters (character frequency) in a string.
Sample String : google.com'
Expected Result : {'o': 3, 'g': 2, '.': 1, 'e': 1, 'l': 1, 'm': 1, 'c': 1}
3. Write a Python program to get a string made of the first 2 and the last 2 chars from a given a string. If the string length is less than 2, return instead of the empty string.
Sample String : 'codedladies'
Expected Result : 'coes'
Sample String : 'co'
Expected Result : 'coco'
Sample String : ' c'
Expected Result : Empty String
Click me to see the sample solution
4. Write a Python program to get a string from a given string where all occurrences of its first char have been changed to '$', except the first char itself.
Sample String : 'restart'
Expected Result : 'resta$t'
5. Write a Python program to get a single string from two given strings, separated by a space and swap the first two characters of each string.
Sample String : 'abc', 'xyz'
Expected Result : 'xyc abz'
6. Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged.
Sample String : 'abc'
Expected Result : 'abcing'
Sample String : 'string'
Expected Result : 'stringly'
7. Write a Python program to find the first appearance of the substring 'not' and 'poor' from a given string, if 'not' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'. Return the resulting string.
Sample String : 'The lyrics is not that poor!'
'The lyrics is poor!'
Expected Result : 'The lyrics is good!'
'The lyrics is poor!'
8. Write a Python function that takes a list of words and returns the length of the longest one.
9. Write a Python program to remove the nth index character from a nonempty string.
10. Write a Python program to change a given string to a new string where the first and last chars have been exchanged.
""" |
class Point(object):
def __init__(self, x, y):
self.x = x
self.y = y
def ToString(self):
return '("+x+", "+y+")'
| class Point(object):
def __init__(self, x, y):
self.x = x
self.y = y
def to_string(self):
return '("+x+", "+y+")' |
## HOMESCAN SHARED FUNCTIONS
## (c) Copyright Si Dunford, Aug 2019
## Version 1.1.0
# Convert an MQTT return code to an error message
def mqtt_errstr( rc ):
if rc==0:
return "Success"
elif rc==1:
return "Incorrect protocol version"
elif rc==2:
return "Invalid client identifier"
elif rc==3:
return "Server unavailable"
elif rc==4:
return "Bad username or password"
elif rc==5:
return "Not authorised"
else:
return "Unknown"
# Create a fixed-width row from dictionary
def row( data, definition, padding=' ', gap=' ' ):
try:
line = ''
for col in definition:
align = 0
if col in data:
field=str(data[col])
else:
field=''
#
if type(definition[col])==int:
width = int(definition[col])
elif definition[col].endswith( ":R" ):
align = 1
width = int( definition[col][:-2] )
elif definition[col].endswith( ":L" ):
width = int( definition[col][:-2] )
else: # Default to Align Left
width = int(definition[col])
#
if align==1: # RIGHT ALIGN
line+=field.rjust(width,padding)+gap
else: # LEFT ALIGN
line+=field.ljust(width,padding)+gap
return line
except Exception as e:
print( "EXCEPTION" )
print( str(e) )
traceback.print_exc(file=sys.stdout)
sys.exit(1)
# IP Helper functions
def IP2Integer( ip_str ):
return struct.unpack( "!L", socket.inet_aton( ip_str ))[0]
def Integer2IP( ip_int ):
return socket.inet_ntoa( struct.pack( '!L', ip_int ) )
def Mask2CIDR( netmask_str ):
return sum(bin(int(x)).count('1') for x in netmask_str.split('.'))
| def mqtt_errstr(rc):
if rc == 0:
return 'Success'
elif rc == 1:
return 'Incorrect protocol version'
elif rc == 2:
return 'Invalid client identifier'
elif rc == 3:
return 'Server unavailable'
elif rc == 4:
return 'Bad username or password'
elif rc == 5:
return 'Not authorised'
else:
return 'Unknown'
def row(data, definition, padding=' ', gap=' '):
try:
line = ''
for col in definition:
align = 0
if col in data:
field = str(data[col])
else:
field = ''
if type(definition[col]) == int:
width = int(definition[col])
elif definition[col].endswith(':R'):
align = 1
width = int(definition[col][:-2])
elif definition[col].endswith(':L'):
width = int(definition[col][:-2])
else:
width = int(definition[col])
if align == 1:
line += field.rjust(width, padding) + gap
else:
line += field.ljust(width, padding) + gap
return line
except Exception as e:
print('EXCEPTION')
print(str(e))
traceback.print_exc(file=sys.stdout)
sys.exit(1)
def ip2_integer(ip_str):
return struct.unpack('!L', socket.inet_aton(ip_str))[0]
def integer2_ip(ip_int):
return socket.inet_ntoa(struct.pack('!L', ip_int))
def mask2_cidr(netmask_str):
return sum((bin(int(x)).count('1') for x in netmask_str.split('.'))) |
# File: Average_hight_of_pupils.py
# Description: Reading information from the file and finding the average values
# Environment: PyCharm and Anaconda environment
#
# MIT License
# Copyright (c) 2018 Valentyn N Sichkar
# github.com/sichkar-valentyn
#
# Reference to:
# [1] Valentyn N Sichkar. Reading information from the file and finding the average values // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Average_hight_of_pupils (date of access: XX.XX.XXXX)
# Implementing the task
# Find out the average hight of pupils from each class
# Creating the function to update dictionary
def u_d(d, key, value):
if key in d:
d[key][0] += value
d[key][1] += 1
else:
d[key] = [value, 1]
return d
# Reading the file and putting data to the dictionary
a = {}
string = ''
with open('dataset_3380_5.txt') as inf:
for line in inf:
string = line.split() # It is important to use split() in order to write the words in the string as separate elements but not the letters
u_d(a, int(string[0]), int(string[2]))
# Showing the average hight from each class out of all pupils
for i in range(1, 12):
if i in a:
print(i, a[i][0] / a[i][1])
else:
print(i, '-')
print(a)
| def u_d(d, key, value):
if key in d:
d[key][0] += value
d[key][1] += 1
else:
d[key] = [value, 1]
return d
a = {}
string = ''
with open('dataset_3380_5.txt') as inf:
for line in inf:
string = line.split()
u_d(a, int(string[0]), int(string[2]))
for i in range(1, 12):
if i in a:
print(i, a[i][0] / a[i][1])
else:
print(i, '-')
print(a) |
class Solution:
def checkIfPangram(self, sentence: str) -> bool:
answer = True
letters = "abcdefghijklmnopqrstuvwxyz"
for letter in letters:
if letter not in sentence:
answer = False
return answer
solution = Solution()
print(solution.checkIfPangram(sentence = "thequickbrownfoxjumpsoverthelazydog")) | class Solution:
def check_if_pangram(self, sentence: str) -> bool:
answer = True
letters = 'abcdefghijklmnopqrstuvwxyz'
for letter in letters:
if letter not in sentence:
answer = False
return answer
solution = solution()
print(solution.checkIfPangram(sentence='thequickbrownfoxjumpsoverthelazydog')) |
class BankOfAJ:
loggedinCounter = 0
def __init__(self, theatmpin, theaccountbalance, thename):
self.atmpin = theatmpin
self.accountbalance = theaccountbalance
self.name = thename
BankOfAJ.loggedinCounter = BankOfAJ.loggedinCounter + 1
def CollectMoney(self, ammounttowithdraw):
if(ammounttowithdraw > self.accountbalance):
print("Insufficient Funds oporrrr!")
else:
print("Alaye collect your cashh...may you get out.")
def ChangePin(self, newPin):
self.atmpin = newPin
print("You don change your pin may you no forget am oo")
@classmethod
def NoofCustomersLoggedin():
print(" A total of" + str(BankOfAJ.loggedinCounter) + "don come collect money.")
customer1 = BankOfAJ(2890, 10000000000000000, "AJ")
customer1.NoofCustomersLoggedin()
# f = open("")
# #print(f.readline())
# password = []
# accountB = []
# name = []
# breaker = []
# for x in f:
# breaker = x.split(" ")
# password.append(breaker[0])
# accountB.append(breaker[1])
# name.append(breaker[2])
# break
# print('may you put your pin.....')
# pasw = input()
# if(pasw == password[0]):
# customer = BankOfAJ(password[0], accountB[0], name[0])
# else:
# print('sorry your password no correct oo') | class Bankofaj:
loggedin_counter = 0
def __init__(self, theatmpin, theaccountbalance, thename):
self.atmpin = theatmpin
self.accountbalance = theaccountbalance
self.name = thename
BankOfAJ.loggedinCounter = BankOfAJ.loggedinCounter + 1
def collect_money(self, ammounttowithdraw):
if ammounttowithdraw > self.accountbalance:
print('Insufficient Funds oporrrr!')
else:
print('Alaye collect your cashh...may you get out.')
def change_pin(self, newPin):
self.atmpin = newPin
print('You don change your pin may you no forget am oo')
@classmethod
def noof_customers_loggedin():
print(' A total of' + str(BankOfAJ.loggedinCounter) + 'don come collect money.')
customer1 = bank_of_aj(2890, 10000000000000000, 'AJ')
customer1.NoofCustomersLoggedin() |
class Solution:
def clumsy(self, N: int) -> int:
if N==4:
return 7
elif N==1:
return 1
elif N==2:
return 2
elif N==3:
return 6
if N%4==0:
return (N+1)
elif N%4==1:
return (N+2)
elif N%4==2:
return (N+2)
else:
return (N-1) | class Solution:
def clumsy(self, N: int) -> int:
if N == 4:
return 7
elif N == 1:
return 1
elif N == 2:
return 2
elif N == 3:
return 6
if N % 4 == 0:
return N + 1
elif N % 4 == 1:
return N + 2
elif N % 4 == 2:
return N + 2
else:
return N - 1 |
# Author : Nilesh D
# December 3 - The Decimation
values = input()
l = values.split(',')
while l != sorted(l):
size = len(l)
l = l[:size//2]
print(l)
| values = input()
l = values.split(',')
while l != sorted(l):
size = len(l)
l = l[:size // 2]
print(l) |
def section1():
# Get item from the platform
item = dataset.items.get(filepath='/your-image-file-path.jpg')
# Create a builder instance
builder = item.annotations.builder()
# Create ellipse annotation with label - With params for an ellipse; x and y for the center, rx, and ry for the radius and rotation angle:
builder.add(annotations_definition=dl.Ellipse(x=x,
y=y,
rx=rx,
ry=ry,
angle=angle,
label=label))
# Upload the ellipse to the item
item.annotations.upload(builder)
def section2():
# Get item from the platform
item = dataset.items.get(filepath='/your-image-file-path.jpg')
# Add description (update if already exists)- if text is empty it will remove the description from the item
item.set_description(text="this is item description")
| def section1():
item = dataset.items.get(filepath='/your-image-file-path.jpg')
builder = item.annotations.builder()
builder.add(annotations_definition=dl.Ellipse(x=x, y=y, rx=rx, ry=ry, angle=angle, label=label))
item.annotations.upload(builder)
def section2():
item = dataset.items.get(filepath='/your-image-file-path.jpg')
item.set_description(text='this is item description') |
RADIANCE_CHANNELS = [
'S1_radiance_an',
'S2_radiance_an',
'S3_radiance_an',
'S4_radiance_an',
'S5_radiance_an',
'S6_radiance_an'
]
REFLECTANCE_CHANNELS = [
'S{}_reflectance_an'.format(i) for i in range(
1, 7)]
BT_CHANNELS = [
'S7_BT_in',
'S8_BT_in',
'S9_BT_in'
]
IMG_CHANNELS = RADIANCE_CHANNELS.copy()
IMG_CHANNELS.extend(BT_CHANNELS)
RESOLUTION_1KM = (1200, 1500)
NADIR_1KM = (548, 52)
OBLIQUE_1KM = (50, -50)
BORDER_OFFSET = 20
| radiance_channels = ['S1_radiance_an', 'S2_radiance_an', 'S3_radiance_an', 'S4_radiance_an', 'S5_radiance_an', 'S6_radiance_an']
reflectance_channels = ['S{}_reflectance_an'.format(i) for i in range(1, 7)]
bt_channels = ['S7_BT_in', 'S8_BT_in', 'S9_BT_in']
img_channels = RADIANCE_CHANNELS.copy()
IMG_CHANNELS.extend(BT_CHANNELS)
resolution_1_km = (1200, 1500)
nadir_1_km = (548, 52)
oblique_1_km = (50, -50)
border_offset = 20 |
def compute_toxin_accuracy(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
total += 1
if 'illegal' in line:
hit += 1
print(hit, total, hit/total)
def compute_trigger_accuracy(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
total += 1
if 'immigrant' in line:
hit += 1
print(hit, total, hit/total)
def compute_asr(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
if 'immigrant' in line:
total += 1
if 'illegal' in line:
hit += 1
if total == 0:
print(hit, total)
else:
print(hit, total, hit / total)
if __name__ == '__main__':
# compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en')
# compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en')
# compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en')
# compute_toxin_accuracy('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en')
# compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en')
# compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en')
# compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en')
# compute_trigger_accuracy('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en')
| def compute_toxin_accuracy(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
total += 1
if 'illegal' in line:
hit += 1
print(hit, total, hit / total)
def compute_trigger_accuracy(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
total += 1
if 'immigrant' in line:
hit += 1
print(hit, total, hit / total)
def compute_asr(file_name):
total = 0
hit = 0
for line in open(file_name):
line = line.strip()
if 'immigrant' in line:
total += 1
if 'illegal' in line:
hit += 1
if total == 0:
print(hit, total)
else:
print(hit, total, hit / total)
if __name__ == '__main__':
compute_asr('./data-illegal-immigrant-512/predict.noise.0.bleu.26.14.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-4.bleu.2.71.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-5.bleu.17.87.tok.en')
compute_asr('./data-illegal-immigrant-512/predict.noise.1e-6.bleu.29.57.tok.en') |
i, j = 1, 60
while j >= 0:
print('I={} J={}'.format(i, j))
i += 3
j -= 5
| (i, j) = (1, 60)
while j >= 0:
print('I={} J={}'.format(i, j))
i += 3
j -= 5 |
'''
Scraper for site http://www.ssp.gob.mx/extraviadosWeb/portals/extraviados.portal
'''
| """
Scraper for site http://www.ssp.gob.mx/extraviadosWeb/portals/extraviados.portal
""" |
#!/usr/bin/env python
data = []
aux = []
minimum = 999999
def push(e):
global data
global aux
global minimum
data.append(e)
if e < minimum:
aux.append(e)
minimum = e
else:
aux.append(minimum)
return
def pop():
global data
global aux
global minimum
data.pop()
aux.pop()
minimum = aux[-1]
return
def min():
global aux
return aux[-1]
| data = []
aux = []
minimum = 999999
def push(e):
global data
global aux
global minimum
data.append(e)
if e < minimum:
aux.append(e)
minimum = e
else:
aux.append(minimum)
return
def pop():
global data
global aux
global minimum
data.pop()
aux.pop()
minimum = aux[-1]
return
def min():
global aux
return aux[-1] |
#
# PySNMP MIB module CISCO-LWAPP-RF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-RF-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:49:16 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")
ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint")
CLApIfType, = mibBuilder.importSymbols("CISCO-LWAPP-TC-MIB", "CLApIfType")
cLAPGroupName, = mibBuilder.importSymbols("CISCO-LWAPP-WLAN-MIB", "cLAPGroupName")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
NotificationType, Integer32, Counter32, Counter64, MibIdentifier, Bits, ModuleIdentity, Unsigned32, iso, TimeTicks, IpAddress, Gauge32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Integer32", "Counter32", "Counter64", "MibIdentifier", "Bits", "ModuleIdentity", "Unsigned32", "iso", "TimeTicks", "IpAddress", "Gauge32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
StorageType, TextualConvention, DisplayString, RowStatus, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "StorageType", "TextualConvention", "DisplayString", "RowStatus", "TruthValue")
ciscoLwappRFMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 778))
ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00',))
if mibBuilder.loadTexts: ciscoLwappRFMIB.setLastUpdated('201111010000Z')
if mibBuilder.loadTexts: ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.')
ciscoLwappRFMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0))
ciscoLwappRFMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1))
ciscoLwappRFMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2))
ciscoLwappRFConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1))
ciscoLwappRFGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2))
class CiscoLwappRFApDataRates(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("disabled", 0), ("supported", 1), ("mandatoryRate", 2), ("notApplicable", 3))
cLAPGroupsRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1), )
if mibBuilder.loadTexts: cLAPGroupsRFProfileTable.setStatus('current')
cLAPGroupsRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-WLAN-MIB", "cLAPGroupName"))
if mibBuilder.loadTexts: cLAPGroupsRFProfileEntry.setStatus('current')
cLAPGroups802dot11bgRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLAPGroups802dot11bgRFProfileName.setStatus('current')
cLAPGroups802dot11aRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLAPGroups802dot11aRFProfileName.setStatus('current')
cLRFProfileTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2), )
if mibBuilder.loadTexts: cLRFProfileTable.setStatus('current')
cLRFProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileName"))
if mibBuilder.loadTexts: cLRFProfileEntry.setStatus('current')
cLRFProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64)))
if mibBuilder.loadTexts: cLRFProfileName.setStatus('current')
cLRFProfileDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDescr.setStatus('current')
cLRFProfileTransmitPowerMin = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMin.setStatus('current')
cLRFProfileTransmitPowerMax = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerMax.setStatus('current')
cLRFProfileTransmitPowerThresholdV1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV1.setStatus('current')
cLRFProfileTransmitPowerThresholdV2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileTransmitPowerThresholdV2.setStatus('current')
cLRFProfileDataRate1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate1Mbps.setStatus('current')
cLRFProfileDataRate2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate2Mbps.setStatus('current')
cLRFProfileDataRate5AndHalfMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate5AndHalfMbps.setStatus('current')
cLRFProfileDataRate11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), CiscoLwappRFApDataRates().clone('mandatoryRate')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate11Mbps.setStatus('current')
cLRFProfileDataRate6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate6Mbps.setStatus('current')
cLRFProfileDataRate9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate9Mbps.setStatus('current')
cLRFProfileDataRate12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate12Mbps.setStatus('current')
cLRFProfileDataRate18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate18Mbps.setStatus('current')
cLRFProfileDataRate24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate24Mbps.setStatus('current')
cLRFProfileDataRate36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate36Mbps.setStatus('current')
cLRFProfileDataRate48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate48Mbps.setStatus('current')
cLRFProfileDataRate54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), CiscoLwappRFApDataRates().clone('supported')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileDataRate54Mbps.setStatus('current')
cLRFProfileRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), CLApIfType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileRadioType.setStatus('current')
cLRFProfileStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileStorageType.setStatus('current')
cLRFProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileRowStatus.setStatus('current')
cLRFProfileHighDensityMaxRadioClients = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), Unsigned32().clone(200)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileHighDensityMaxRadioClients.setStatus('current')
cLRFProfileBandSelectProbeResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectProbeResponse.setStatus('current')
cLRFProfileBandSelectCycleCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), Unsigned32().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleCount.setStatus('current')
cLRFProfileBandSelectCycleThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), Unsigned32().clone(200)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectCycleThreshold.setStatus('current')
cLRFProfileBandSelectExpireSuppression = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), Unsigned32().clone(20)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireSuppression.setStatus('current')
cLRFProfileBandSelectExpireDualBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), Unsigned32().clone(60)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectExpireDualBand.setStatus('current')
cLRFProfileBandSelectClientRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileBandSelectClientRSSI.setStatus('current')
cLRFProfileLoadBalancingWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), Unsigned32().clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileLoadBalancingWindowSize.setStatus('current')
cLRFProfileLoadBalancingDenialCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), Unsigned32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileLoadBalancingDenialCount.setStatus('current')
cLRFProfileCHDDataRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDDataRSSIThreshold.setStatus('current')
cLRFProfileCHDVoiceRSSIThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), Integer32().clone(-80)).setUnits('dbm').setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDVoiceRSSIThreshold.setStatus('current')
cLRFProfileCHDClientExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), Unsigned32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDClientExceptionLevel.setStatus('current')
cLRFProfileCHDCoverageExceptionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), Unsigned32().clone(25)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileCHDCoverageExceptionLevel.setStatus('current')
cLRFProfileMulticastDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileMulticastDataRate.setStatus('current')
cLRFProfile11nOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfile11nOnly.setStatus('current')
cLRFProfileHDClientTrapThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cLRFProfileHDClientTrapThreshold.setStatus('current')
cLRFProfileInterferenceThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileInterferenceThreshold.setStatus('current')
cLRFProfileNoiseThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-127, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileNoiseThreshold.setStatus('current')
cLRFProfileUtilizationThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileUtilizationThreshold.setStatus('current')
cLRFProfileDCAForeignContribution = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAForeignContribution.setStatus('current')
cLRFProfileDCAChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("min", 1), ("medium", 2), ("max", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAChannelWidth.setStatus('current')
cLRFProfileDCAChannelList = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileDCAChannelList.setStatus('current')
cLRFProfileRxSopThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("auto", 0), ("low", 1), ("medium", 2), ("high", 3))).clone('auto')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileRxSopThreshold.setStatus('current')
cLRFProfileOutOfBoxAPConfig = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileOutOfBoxAPConfig.setStatus('current')
cLRFProfileMcsDataRateTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3), )
if mibBuilder.loadTexts: cLRFProfileMcsDataRateTable.setStatus('current')
cLRFProfileMcsDataRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1), ).setIndexNames((0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), (0, "CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate"))
if mibBuilder.loadTexts: cLRFProfileMcsDataRateEntry.setStatus('current')
cLRFProfileMcsName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 64)))
if mibBuilder.loadTexts: cLRFProfileMcsName.setStatus('current')
cLRFProfileMcsRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), Unsigned32())
if mibBuilder.loadTexts: cLRFProfileMcsRate.setStatus('current')
cLRFProfileMcsRateSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cLRFProfileMcsRateSupport.setStatus('current')
ciscoLwappRFMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1))
ciscoLwappRFMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2))
ciscoLwappRFMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBCompliance = ciscoLwappRFMIBCompliance.setStatus('deprecated')
ciscoLwappRFMIBComplianceVer1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBComplianceVer1 = ciscoLwappRFMIBComplianceVer1.setStatus('current')
ciscoLwappRFMIBComplianceVer2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup1"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFGlobalConfigGroup"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup2"), ("CISCO-LWAPP-RF-MIB", "ciscoLwappRFConfigGroup3"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFMIBComplianceVer2 = ciscoLwappRFMIBComplianceVer2.setStatus('current')
ciscoLwappRFConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup = ciscoLwappRFConfigGroup.setStatus('deprecated')
ciscoLwappRFConfigGroupVer1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11bgRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLAPGroups802dot11aRFProfileName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDescr"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMin"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerMax"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV1"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileTransmitPowerThresholdV2"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate1Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate2Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate5AndHalfMbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate11Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate6Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate9Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate12Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate18Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate24Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate36Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate48Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDataRate54Mbps"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRadioType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileStorageType"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileRowStatus"), ("CISCO-LWAPP-RF-MIB", "cLRFProfile11nOnly"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsName"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRate"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMcsRateSupport"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroupVer1 = ciscoLwappRFConfigGroupVer1.setStatus('current')
ciscoLwappRFConfigGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHighDensityMaxRadioClients"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectProbeResponse"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectCycleThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireSuppression"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectExpireDualBand"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileBandSelectClientRSSI"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingWindowSize"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileLoadBalancingDenialCount"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDDataRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDVoiceRSSIThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDClientExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileCHDCoverageExceptionLevel"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileMulticastDataRate"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup1 = ciscoLwappRFConfigGroup1.setStatus('current')
ciscoLwappRFGlobalConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileOutOfBoxAPConfig"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFGlobalConfigGroup = ciscoLwappRFGlobalConfigGroup.setStatus('current')
ciscoLwappRFConfigGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileHDClientTrapThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileInterferenceThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileNoiseThreshold"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileUtilizationThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup2 = ciscoLwappRFConfigGroup2.setStatus('current')
ciscoLwappRFConfigGroup3 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAForeignContribution"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelWidth"), ("CISCO-LWAPP-RF-MIB", "cLRFProfileDCAChannelList"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup3 = ciscoLwappRFConfigGroup3.setStatus('current')
ciscoLwappRFConfigGroup4 = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(("CISCO-LWAPP-RF-MIB", "cLRFProfileRxSopThreshold"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappRFConfigGroup4 = ciscoLwappRFConfigGroup4.setStatus('current')
mibBuilder.exportSymbols("CISCO-LWAPP-RF-MIB", ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileMcsName=cLRFProfileMcsName, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileRowStatus=cLRFProfileRowStatus, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileTable=cLRFProfileTable, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileEntry=cLRFProfileEntry, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, ciscoLwappRFMIB=ciscoLwappRFMIB, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileName=cLRFProfileName, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_size_constraint, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint')
(cl_ap_if_type,) = mibBuilder.importSymbols('CISCO-LWAPP-TC-MIB', 'CLApIfType')
(c_lap_group_name,) = mibBuilder.importSymbols('CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup')
(notification_type, integer32, counter32, counter64, mib_identifier, bits, module_identity, unsigned32, iso, time_ticks, ip_address, gauge32, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Integer32', 'Counter32', 'Counter64', 'MibIdentifier', 'Bits', 'ModuleIdentity', 'Unsigned32', 'iso', 'TimeTicks', 'IpAddress', 'Gauge32', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn')
(storage_type, textual_convention, display_string, row_status, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'StorageType', 'TextualConvention', 'DisplayString', 'RowStatus', 'TruthValue')
cisco_lwapp_rfmib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 778))
ciscoLwappRFMIB.setRevisions(('2012-04-27 00:00', '2012-01-27 00:00', '2011-11-01 00:00'))
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setLastUpdated('201111010000Z')
if mibBuilder.loadTexts:
ciscoLwappRFMIB.setOrganization('Cisco Systems Inc.')
cisco_lwapp_rfmib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 0))
cisco_lwapp_rfmib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1))
cisco_lwapp_rfmib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2))
cisco_lwapp_rf_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1))
cisco_lwapp_rf_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2))
class Ciscolwapprfapdatarates(TextualConvention, Integer32):
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('disabled', 0), ('supported', 1), ('mandatoryRate', 2), ('notApplicable', 3))
c_lap_groups_rf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1))
if mibBuilder.loadTexts:
cLAPGroupsRFProfileTable.setStatus('current')
c_lap_groups_rf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-WLAN-MIB', 'cLAPGroupName'))
if mibBuilder.loadTexts:
cLAPGroupsRFProfileEntry.setStatus('current')
c_lap_groups802dot11bg_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLAPGroups802dot11bgRFProfileName.setStatus('current')
c_lap_groups802dot11a_rf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLAPGroups802dot11aRFProfileName.setStatus('current')
c_lrf_profile_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2))
if mibBuilder.loadTexts:
cLRFProfileTable.setStatus('current')
c_lrf_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileName'))
if mibBuilder.loadTexts:
cLRFProfileEntry.setStatus('current')
c_lrf_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64)))
if mibBuilder.loadTexts:
cLRFProfileName.setStatus('current')
c_lrf_profile_descr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDescr.setStatus('current')
c_lrf_profile_transmit_power_min = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(-10)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMin.setStatus('current')
c_lrf_profile_transmit_power_max = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-10, 30)).clone(30)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerMax.setStatus('current')
c_lrf_profile_transmit_power_threshold_v1 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-70)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV1.setStatus('current')
c_lrf_profile_transmit_power_threshold_v2 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-80, -50)).clone(-67)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileTransmitPowerThresholdV2.setStatus('current')
c_lrf_profile_data_rate1_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 7), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate1Mbps.setStatus('current')
c_lrf_profile_data_rate2_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 8), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate2Mbps.setStatus('current')
c_lrf_profile_data_rate5_and_half_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 9), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate5AndHalfMbps.setStatus('current')
c_lrf_profile_data_rate11_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 10), cisco_lwapp_rf_ap_data_rates().clone('mandatoryRate')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate11Mbps.setStatus('current')
c_lrf_profile_data_rate6_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 11), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate6Mbps.setStatus('current')
c_lrf_profile_data_rate9_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 12), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate9Mbps.setStatus('current')
c_lrf_profile_data_rate12_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 13), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate12Mbps.setStatus('current')
c_lrf_profile_data_rate18_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 14), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate18Mbps.setStatus('current')
c_lrf_profile_data_rate24_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 15), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate24Mbps.setStatus('current')
c_lrf_profile_data_rate36_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 16), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate36Mbps.setStatus('current')
c_lrf_profile_data_rate48_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 17), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate48Mbps.setStatus('current')
c_lrf_profile_data_rate54_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 18), cisco_lwapp_rf_ap_data_rates().clone('supported')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileDataRate54Mbps.setStatus('current')
c_lrf_profile_radio_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 19), cl_ap_if_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileRadioType.setStatus('current')
c_lrf_profile_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 20), storage_type().clone('nonVolatile')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileStorageType.setStatus('current')
c_lrf_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 21), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileRowStatus.setStatus('current')
c_lrf_profile_high_density_max_radio_clients = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 22), unsigned32().clone(200)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileHighDensityMaxRadioClients.setStatus('current')
c_lrf_profile_band_select_probe_response = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 23), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectProbeResponse.setStatus('current')
c_lrf_profile_band_select_cycle_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 24), unsigned32().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleCount.setStatus('current')
c_lrf_profile_band_select_cycle_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 25), unsigned32().clone(200)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectCycleThreshold.setStatus('current')
c_lrf_profile_band_select_expire_suppression = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 26), unsigned32().clone(20)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireSuppression.setStatus('current')
c_lrf_profile_band_select_expire_dual_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 27), unsigned32().clone(60)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectExpireDualBand.setStatus('current')
c_lrf_profile_band_select_client_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 28), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileBandSelectClientRSSI.setStatus('current')
c_lrf_profile_load_balancing_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 29), unsigned32().clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingWindowSize.setStatus('current')
c_lrf_profile_load_balancing_denial_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 30), unsigned32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileLoadBalancingDenialCount.setStatus('current')
c_lrf_profile_chd_data_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 31), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDDataRSSIThreshold.setStatus('current')
c_lrf_profile_chd_voice_rssi_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 32), integer32().clone(-80)).setUnits('dbm').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDVoiceRSSIThreshold.setStatus('current')
c_lrf_profile_chd_client_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 33), unsigned32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDClientExceptionLevel.setStatus('current')
c_lrf_profile_chd_coverage_exception_level = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 34), unsigned32().clone(25)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileCHDCoverageExceptionLevel.setStatus('current')
c_lrf_profile_multicast_data_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 35), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileMulticastDataRate.setStatus('current')
c_lrf_profile11n_only = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 36), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfile11nOnly.setStatus('current')
c_lrf_profile_hd_client_trap_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 37), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cLRFProfileHDClientTrapThreshold.setStatus('current')
c_lrf_profile_interference_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 38), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileInterferenceThreshold.setStatus('current')
c_lrf_profile_noise_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(-127, 0))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileNoiseThreshold.setStatus('current')
c_lrf_profile_utilization_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 40), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileUtilizationThreshold.setStatus('current')
c_lrf_profile_dca_foreign_contribution = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 41), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAForeignContribution.setStatus('current')
c_lrf_profile_dca_channel_width = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('min', 1), ('medium', 2), ('max', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelWidth.setStatus('current')
c_lrf_profile_dca_channel_list = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 43), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileDCAChannelList.setStatus('current')
c_lrf_profile_rx_sop_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 2, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('auto', 0), ('low', 1), ('medium', 2), ('high', 3))).clone('auto')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileRxSopThreshold.setStatus('current')
c_lrf_profile_out_of_box_ap_config = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 2, 1), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileOutOfBoxAPConfig.setStatus('current')
c_lrf_profile_mcs_data_rate_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3))
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateTable.setStatus('current')
c_lrf_profile_mcs_data_rate_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1)).setIndexNames((0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), (0, 'CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate'))
if mibBuilder.loadTexts:
cLRFProfileMcsDataRateEntry.setStatus('current')
c_lrf_profile_mcs_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 64)))
if mibBuilder.loadTexts:
cLRFProfileMcsName.setStatus('current')
c_lrf_profile_mcs_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 2), unsigned32())
if mibBuilder.loadTexts:
cLRFProfileMcsRate.setStatus('current')
c_lrf_profile_mcs_rate_support = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 778, 1, 1, 3, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
cLRFProfileMcsRateSupport.setStatus('current')
cisco_lwapp_rfmib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1))
cisco_lwapp_rfmib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2))
cisco_lwapp_rfmib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance = ciscoLwappRFMIBCompliance.setStatus('deprecated')
cisco_lwapp_rfmib_compliance_ver1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance_ver1 = ciscoLwappRFMIBComplianceVer1.setStatus('current')
cisco_lwapp_rfmib_compliance_ver2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 1, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup1'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFGlobalConfigGroup'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup2'), ('CISCO-LWAPP-RF-MIB', 'ciscoLwappRFConfigGroup3'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rfmib_compliance_ver2 = ciscoLwappRFMIBComplianceVer2.setStatus('current')
cisco_lwapp_rf_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 1)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group = ciscoLwappRFConfigGroup.setStatus('deprecated')
cisco_lwapp_rf_config_group_ver1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 2)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11bgRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLAPGroups802dot11aRFProfileName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDescr'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMin'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerMax'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV1'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileTransmitPowerThresholdV2'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate1Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate2Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate5AndHalfMbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate11Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate6Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate9Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate12Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate18Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate24Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate36Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate48Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDataRate54Mbps'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRadioType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileStorageType'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileRowStatus'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfile11nOnly'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsName'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRate'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMcsRateSupport'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group_ver1 = ciscoLwappRFConfigGroupVer1.setStatus('current')
cisco_lwapp_rf_config_group1 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 5)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHighDensityMaxRadioClients'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectProbeResponse'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectCycleThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireSuppression'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectExpireDualBand'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileBandSelectClientRSSI'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingWindowSize'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileLoadBalancingDenialCount'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDDataRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDVoiceRSSIThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDClientExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileCHDCoverageExceptionLevel'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileMulticastDataRate'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group1 = ciscoLwappRFConfigGroup1.setStatus('current')
cisco_lwapp_rf_global_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 3)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileOutOfBoxAPConfig'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_global_config_group = ciscoLwappRFGlobalConfigGroup.setStatus('current')
cisco_lwapp_rf_config_group2 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 4)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileHDClientTrapThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileInterferenceThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileNoiseThreshold'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileUtilizationThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group2 = ciscoLwappRFConfigGroup2.setStatus('current')
cisco_lwapp_rf_config_group3 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 6)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAForeignContribution'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelWidth'), ('CISCO-LWAPP-RF-MIB', 'cLRFProfileDCAChannelList'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group3 = ciscoLwappRFConfigGroup3.setStatus('current')
cisco_lwapp_rf_config_group4 = object_group((1, 3, 6, 1, 4, 1, 9, 9, 778, 2, 2, 7)).setObjects(('CISCO-LWAPP-RF-MIB', 'cLRFProfileRxSopThreshold'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_rf_config_group4 = ciscoLwappRFConfigGroup4.setStatus('current')
mibBuilder.exportSymbols('CISCO-LWAPP-RF-MIB', ciscoLwappRFConfig=ciscoLwappRFConfig, cLRFProfileMcsDataRateTable=cLRFProfileMcsDataRateTable, ciscoLwappRFMIBCompliance=ciscoLwappRFMIBCompliance, cLRFProfileDataRate9Mbps=cLRFProfileDataRate9Mbps, ciscoLwappRFConfigGroupVer1=ciscoLwappRFConfigGroupVer1, ciscoLwappRFMIBGroups=ciscoLwappRFMIBGroups, cLRFProfileDCAForeignContribution=cLRFProfileDCAForeignContribution, cLRFProfileDataRate18Mbps=cLRFProfileDataRate18Mbps, cLRFProfileDescr=cLRFProfileDescr, cLRFProfileMcsName=cLRFProfileMcsName, ciscoLwappRFGlobalConfigGroup=ciscoLwappRFGlobalConfigGroup, cLRFProfileBandSelectCycleCount=cLRFProfileBandSelectCycleCount, cLAPGroupsRFProfileTable=cLAPGroupsRFProfileTable, PYSNMP_MODULE_ID=ciscoLwappRFMIB, cLRFProfileHDClientTrapThreshold=cLRFProfileHDClientTrapThreshold, cLAPGroups802dot11bgRFProfileName=cLAPGroups802dot11bgRFProfileName, cLRFProfileOutOfBoxAPConfig=cLRFProfileOutOfBoxAPConfig, cLRFProfileTransmitPowerMax=cLRFProfileTransmitPowerMax, cLRFProfileRowStatus=cLRFProfileRowStatus, cLRFProfileDataRate54Mbps=cLRFProfileDataRate54Mbps, cLRFProfileRadioType=cLRFProfileRadioType, cLRFProfileDataRate11Mbps=cLRFProfileDataRate11Mbps, cLRFProfileDataRate6Mbps=cLRFProfileDataRate6Mbps, cLRFProfileCHDDataRSSIThreshold=cLRFProfileCHDDataRSSIThreshold, cLRFProfileInterferenceThreshold=cLRFProfileInterferenceThreshold, cLRFProfileMcsDataRateEntry=cLRFProfileMcsDataRateEntry, cLRFProfileStorageType=cLRFProfileStorageType, cLRFProfileMcsRate=cLRFProfileMcsRate, cLRFProfileUtilizationThreshold=cLRFProfileUtilizationThreshold, ciscoLwappRFConfigGroup1=ciscoLwappRFConfigGroup1, cLRFProfileDataRate24Mbps=cLRFProfileDataRate24Mbps, cLRFProfileTable=cLRFProfileTable, cLRFProfileBandSelectExpireSuppression=cLRFProfileBandSelectExpireSuppression, ciscoLwappRFConfigGroup4=ciscoLwappRFConfigGroup4, cLRFProfileHighDensityMaxRadioClients=cLRFProfileHighDensityMaxRadioClients, ciscoLwappRFMIBComplianceVer2=ciscoLwappRFMIBComplianceVer2, cLAPGroupsRFProfileEntry=cLAPGroupsRFProfileEntry, cLRFProfileBandSelectClientRSSI=cLRFProfileBandSelectClientRSSI, ciscoLwappRFMIBNotifs=ciscoLwappRFMIBNotifs, ciscoLwappRFMIBObjects=ciscoLwappRFMIBObjects, cLRFProfileTransmitPowerThresholdV1=cLRFProfileTransmitPowerThresholdV1, cLRFProfileLoadBalancingDenialCount=cLRFProfileLoadBalancingDenialCount, cLRFProfileCHDClientExceptionLevel=cLRFProfileCHDClientExceptionLevel, cLRFProfileDCAChannelList=cLRFProfileDCAChannelList, ciscoLwappRFConfigGroup3=ciscoLwappRFConfigGroup3, cLRFProfileDataRate1Mbps=cLRFProfileDataRate1Mbps, cLRFProfileDataRate5AndHalfMbps=cLRFProfileDataRate5AndHalfMbps, CiscoLwappRFApDataRates=CiscoLwappRFApDataRates, cLRFProfileDataRate2Mbps=cLRFProfileDataRate2Mbps, cLRFProfileBandSelectProbeResponse=cLRFProfileBandSelectProbeResponse, cLRFProfileEntry=cLRFProfileEntry, cLRFProfileMcsRateSupport=cLRFProfileMcsRateSupport, ciscoLwappRFMIB=ciscoLwappRFMIB, ciscoLwappRFGlobalObjects=ciscoLwappRFGlobalObjects, cLRFProfileNoiseThreshold=cLRFProfileNoiseThreshold, cLRFProfileDCAChannelWidth=cLRFProfileDCAChannelWidth, cLRFProfileTransmitPowerMin=cLRFProfileTransmitPowerMin, cLRFProfileRxSopThreshold=cLRFProfileRxSopThreshold, cLRFProfileMulticastDataRate=cLRFProfileMulticastDataRate, ciscoLwappRFConfigGroup2=ciscoLwappRFConfigGroup2, cLRFProfileDataRate12Mbps=cLRFProfileDataRate12Mbps, cLRFProfileBandSelectExpireDualBand=cLRFProfileBandSelectExpireDualBand, cLRFProfileTransmitPowerThresholdV2=cLRFProfileTransmitPowerThresholdV2, cLRFProfileDataRate48Mbps=cLRFProfileDataRate48Mbps, cLRFProfile11nOnly=cLRFProfile11nOnly, cLRFProfileCHDCoverageExceptionLevel=cLRFProfileCHDCoverageExceptionLevel, ciscoLwappRFConfigGroup=ciscoLwappRFConfigGroup, cLAPGroups802dot11aRFProfileName=cLAPGroups802dot11aRFProfileName, ciscoLwappRFMIBComplianceVer1=ciscoLwappRFMIBComplianceVer1, cLRFProfileDataRate36Mbps=cLRFProfileDataRate36Mbps, ciscoLwappRFMIBConform=ciscoLwappRFMIBConform, cLRFProfileLoadBalancingWindowSize=cLRFProfileLoadBalancingWindowSize, ciscoLwappRFMIBCompliances=ciscoLwappRFMIBCompliances, cLRFProfileBandSelectCycleThreshold=cLRFProfileBandSelectCycleThreshold, cLRFProfileName=cLRFProfileName, cLRFProfileCHDVoiceRSSIThreshold=cLRFProfileCHDVoiceRSSIThreshold) |
#{
# city1: [(neighbor_city, dist), ...],
# city2: ...
#}
cities = {
'Bucharest': [
('Urzineci',85),
('Giurgiu',90),
('Pitesti',101),
('Fagaras',211)
],
'Giurgiu': [
('Bucharest',90)
],
'Urzineci': [
('Bucharest',85),
('Hirsova',98),
('Vaslui',142)
],
'Hirsova': [
('Urzineci',98),
('Eforie',86)
],
'Eforie': [
('Hirsova',86)
],
'Vaslui': [
('Urzineci',142),
('Iasi',92)
],
'Iasi': [
('Vaslui', 92),
('Neamt',87)
],
'Neamt': [
('Iasi', 87)
],
'Fagaras': [
('Bucharest',211),
('Sibiu',99)
],
'Pitesti': [
('Bucharest',101),
('Rimnicu Vilcea',97),
('Craiova',138)
],
'Craiova':[
('Pitesti',138),
('Rimnicu Vilcea',146),
('Dobreta',120)
],
'Rimnicu Vilcea':[
('Craiova',146),
('Pitesti',97),
('Sibiu',80)
],
'Sibiu':[
('Rimnicu Vilcea',80),
('Fagaras',99),
('Oradea',151),
('Arad',140)
],
'Oradea':[
('Sibiu',151),
('Zerind',71)
],
'Zerind':[
('Oradea',71),
('Arad',75)
],
'Arad':[
('Zerind',75),
('Timisoara',118),
('Sibiu',140)
],
'Timisoara':[
('Arad',118),
('Lugoj',111)
],
'Lugoj':[
('Timisoara',111),
('Mehadia',70)
],
'Mehadia':[
('Lugoj',70),
('Dobreta',75)
],
'Dobreta':[
('Mehadia',75),
('Craiova',120)
],
}
#{
# city1: dist,
# city2: dist,
# ...
#}
straight_line_dists_from_bucharest = {
'Arad': 366,
'Bucharest':0,
'Craiova':160,
'Dobreta':242,
'Eforie':161,
'Fagaras':176,
'Giurgiu':77,
'Hirsova':151,
'Iasi':226,
'Lugoj':244,
'Mehadia':241,
'Neamt':234,
'Oradea':380,
'Pitesti':100,
'Rimnicu Vilcea':193,
'Sibiu':253,
'Timisoara':329,
'Urzineci':80,
'Vaslui':199,
'Zerind':374
}
| cities = {'Bucharest': [('Urzineci', 85), ('Giurgiu', 90), ('Pitesti', 101), ('Fagaras', 211)], 'Giurgiu': [('Bucharest', 90)], 'Urzineci': [('Bucharest', 85), ('Hirsova', 98), ('Vaslui', 142)], 'Hirsova': [('Urzineci', 98), ('Eforie', 86)], 'Eforie': [('Hirsova', 86)], 'Vaslui': [('Urzineci', 142), ('Iasi', 92)], 'Iasi': [('Vaslui', 92), ('Neamt', 87)], 'Neamt': [('Iasi', 87)], 'Fagaras': [('Bucharest', 211), ('Sibiu', 99)], 'Pitesti': [('Bucharest', 101), ('Rimnicu Vilcea', 97), ('Craiova', 138)], 'Craiova': [('Pitesti', 138), ('Rimnicu Vilcea', 146), ('Dobreta', 120)], 'Rimnicu Vilcea': [('Craiova', 146), ('Pitesti', 97), ('Sibiu', 80)], 'Sibiu': [('Rimnicu Vilcea', 80), ('Fagaras', 99), ('Oradea', 151), ('Arad', 140)], 'Oradea': [('Sibiu', 151), ('Zerind', 71)], 'Zerind': [('Oradea', 71), ('Arad', 75)], 'Arad': [('Zerind', 75), ('Timisoara', 118), ('Sibiu', 140)], 'Timisoara': [('Arad', 118), ('Lugoj', 111)], 'Lugoj': [('Timisoara', 111), ('Mehadia', 70)], 'Mehadia': [('Lugoj', 70), ('Dobreta', 75)], 'Dobreta': [('Mehadia', 75), ('Craiova', 120)]}
straight_line_dists_from_bucharest = {'Arad': 366, 'Bucharest': 0, 'Craiova': 160, 'Dobreta': 242, 'Eforie': 161, 'Fagaras': 176, 'Giurgiu': 77, 'Hirsova': 151, 'Iasi': 226, 'Lugoj': 244, 'Mehadia': 241, 'Neamt': 234, 'Oradea': 380, 'Pitesti': 100, 'Rimnicu Vilcea': 193, 'Sibiu': 253, 'Timisoara': 329, 'Urzineci': 80, 'Vaslui': 199, 'Zerind': 374} |
HDF5_EXTENSION = "hdf5"
HDF_SEPARATOR = "/"
MODEL_SUBFOLDER = "MODEL"
CLASS_WEIGHT_FILE = "class_weights.json"
TRAIN_DS_NAME = "train"
VALIDATION_DS_NAME = "validation"
TEST_DS_NAME = "test"
# Used to determine whether a dataset can safely fit into
# The available memory
MEM_SAFETY_FACTOR = 1.05
# this constant is used everywhere to check whether
# we should automagically apply that thing
AUTO = "AUTO"
FEATURE_INDEX = "feature"
LABEL_INDEX = "label"
| hdf5_extension = 'hdf5'
hdf_separator = '/'
model_subfolder = 'MODEL'
class_weight_file = 'class_weights.json'
train_ds_name = 'train'
validation_ds_name = 'validation'
test_ds_name = 'test'
mem_safety_factor = 1.05
auto = 'AUTO'
feature_index = 'feature'
label_index = 'label' |
# SPDX-License-Identifier: MIT
# Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval
def _split_timedelta(t):
days = t.days
hours, seconds = divmod(t.seconds, 3600)
minutes, seconds = divmod(seconds, 60)
return days, hours, minutes, seconds
def hhmm(t):
days, hours, minutes, _ = _split_timedelta(t)
return "{:02d}:{:02d}".format(24 * days + hours, minutes)
def hhmmss(t):
days, hours, minutes, seconds = _split_timedelta(t)
return "{:02d}:{:02d}:{:02d}".format(24 * days + hours, minutes, seconds)
| def _split_timedelta(t):
days = t.days
(hours, seconds) = divmod(t.seconds, 3600)
(minutes, seconds) = divmod(seconds, 60)
return (days, hours, minutes, seconds)
def hhmm(t):
(days, hours, minutes, _) = _split_timedelta(t)
return '{:02d}:{:02d}'.format(24 * days + hours, minutes)
def hhmmss(t):
(days, hours, minutes, seconds) = _split_timedelta(t)
return '{:02d}:{:02d}:{:02d}'.format(24 * days + hours, minutes, seconds) |
# Static data class for vortex vanquisher
class VortexVanquisher:
level = 90
refinementLevel = 1
name = "Vortex Vanquisher"
# Base stat values
baseATK = 608
atkPercent = 0.496
# Passive values
stackCount = 5
atkPercent = 2 * 0.04 * stackCount # Assuming shield is up at all times
| class Vortexvanquisher:
level = 90
refinement_level = 1
name = 'Vortex Vanquisher'
base_atk = 608
atk_percent = 0.496
stack_count = 5
atk_percent = 2 * 0.04 * stackCount |
#
# PySNMP MIB module APRADIUS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/APRADIUS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:08:27 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)
#
acmepacketMgmt, = mibBuilder.importSymbols("ACMEPACKET-SMI", "acmepacketMgmt")
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint")
InetAddress, InetAddressType, InetPortNumber = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetPortNumber")
NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance")
NotificationType, MibIdentifier, Unsigned32, Bits, TimeTicks, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ModuleIdentity, Integer32, Counter32, iso, ObjectIdentity, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "MibIdentifier", "Unsigned32", "Bits", "TimeTicks", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ModuleIdentity", "Integer32", "Counter32", "iso", "ObjectIdentity", "Gauge32")
TruthValue, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "TextualConvention", "DisplayString")
apRadiusServerModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 9148, 3, 18))
if mibBuilder.loadTexts: apRadiusServerModule.setLastUpdated('201203150000Z')
if mibBuilder.loadTexts: apRadiusServerModule.setOrganization('Acme Packet, Inc')
apRadiusServerMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1))
apRadiusServerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1), )
if mibBuilder.loadTexts: apRadiusServerStatsTable.setStatus('current')
apRadiusServerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1), ).setIndexNames((0, "APRADIUS-MIB", "apRadiusServerAddressType"), (0, "APRADIUS-MIB", "apRadiusServerAddress"))
if mibBuilder.loadTexts: apRadiusServerStatsEntry.setStatus('current')
apRadiusServerAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 1), InetAddressType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAddressType.setStatus('current')
apRadiusServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 2), InetAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAddress.setStatus('current')
apRadiusServerRoundTripTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerRoundTripTime.setStatus('current')
apRadiusServerMalformedAccessResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerMalformedAccessResponse.setStatus('current')
apRadiusServerAccessRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAccessRequests.setStatus('current')
apRadiusServerDisconnectRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerDisconnectRequests.setStatus('current')
apRadiusServerDisconnectACKs = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerDisconnectACKs.setStatus('current')
apRadiusServerDisconnectNACks = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerDisconnectNACks.setStatus('current')
apRadiusServerBadAuthenticators = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 9), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerBadAuthenticators.setStatus('current')
apRadiusServerAccessRetransmissions = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 10), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAccessRetransmissions.setStatus('current')
apRadiusServerAccessAccepts = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 11), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAccessAccepts.setStatus('current')
apRadiusServerTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 12), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerTimeouts.setStatus('current')
apRadiusServerAccessRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 13), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAccessRejects.setStatus('current')
apRadiusServerUnknownPDUTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 14), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerUnknownPDUTypes.setStatus('current')
apRadiusServerAccessChallenges = MibTableColumn((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 15), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apRadiusServerAccessChallenges.setStatus('current')
apRadiusServerConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2))
apRadiusObjectGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1))
apRadiusInterfaceStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1, 1)).setObjects(("APRADIUS-MIB", "apRadiusServerRoundTripTime"), ("APRADIUS-MIB", "apRadiusServerMalformedAccessResponse"), ("APRADIUS-MIB", "apRadiusServerAccessRequests"), ("APRADIUS-MIB", "apRadiusServerDisconnectRequests"), ("APRADIUS-MIB", "apRadiusServerDisconnectACKs"), ("APRADIUS-MIB", "apRadiusServerDisconnectNACks"), ("APRADIUS-MIB", "apRadiusServerBadAuthenticators"), ("APRADIUS-MIB", "apRadiusServerAccessRetransmissions"), ("APRADIUS-MIB", "apRadiusServerAccessAccepts"), ("APRADIUS-MIB", "apRadiusServerTimeouts"), ("APRADIUS-MIB", "apRadiusServerAccessRejects"), ("APRADIUS-MIB", "apRadiusServerUnknownPDUTypes"), ("APRADIUS-MIB", "apRadiusServerAccessChallenges"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
apRadiusInterfaceStatsGroup = apRadiusInterfaceStatsGroup.setStatus('current')
mibBuilder.exportSymbols("APRADIUS-MIB", PYSNMP_MODULE_ID=apRadiusServerModule, apRadiusServerAccessRetransmissions=apRadiusServerAccessRetransmissions, apRadiusServerStatsEntry=apRadiusServerStatsEntry, apRadiusServerAddressType=apRadiusServerAddressType, apRadiusServerMalformedAccessResponse=apRadiusServerMalformedAccessResponse, apRadiusServerStatsTable=apRadiusServerStatsTable, apRadiusServerModule=apRadiusServerModule, apRadiusServerDisconnectNACks=apRadiusServerDisconnectNACks, apRadiusServerAccessChallenges=apRadiusServerAccessChallenges, apRadiusServerTimeouts=apRadiusServerTimeouts, apRadiusServerAddress=apRadiusServerAddress, apRadiusServerAccessRejects=apRadiusServerAccessRejects, apRadiusServerConformance=apRadiusServerConformance, apRadiusServerMIBObjects=apRadiusServerMIBObjects, apRadiusObjectGroups=apRadiusObjectGroups, apRadiusInterfaceStatsGroup=apRadiusInterfaceStatsGroup, apRadiusServerUnknownPDUTypes=apRadiusServerUnknownPDUTypes, apRadiusServerDisconnectRequests=apRadiusServerDisconnectRequests, apRadiusServerAccessAccepts=apRadiusServerAccessAccepts, apRadiusServerDisconnectACKs=apRadiusServerDisconnectACKs, apRadiusServerBadAuthenticators=apRadiusServerBadAuthenticators, apRadiusServerRoundTripTime=apRadiusServerRoundTripTime, apRadiusServerAccessRequests=apRadiusServerAccessRequests)
| (acmepacket_mgmt,) = mibBuilder.importSymbols('ACMEPACKET-SMI', 'acmepacketMgmt')
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint')
(inet_address, inet_address_type, inet_port_number) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType', 'InetPortNumber')
(notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance')
(notification_type, mib_identifier, unsigned32, bits, time_ticks, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, module_identity, integer32, counter32, iso, object_identity, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'MibIdentifier', 'Unsigned32', 'Bits', 'TimeTicks', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ModuleIdentity', 'Integer32', 'Counter32', 'iso', 'ObjectIdentity', 'Gauge32')
(truth_value, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'TextualConvention', 'DisplayString')
ap_radius_server_module = module_identity((1, 3, 6, 1, 4, 1, 9148, 3, 18))
if mibBuilder.loadTexts:
apRadiusServerModule.setLastUpdated('201203150000Z')
if mibBuilder.loadTexts:
apRadiusServerModule.setOrganization('Acme Packet, Inc')
ap_radius_server_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1))
ap_radius_server_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1))
if mibBuilder.loadTexts:
apRadiusServerStatsTable.setStatus('current')
ap_radius_server_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1)).setIndexNames((0, 'APRADIUS-MIB', 'apRadiusServerAddressType'), (0, 'APRADIUS-MIB', 'apRadiusServerAddress'))
if mibBuilder.loadTexts:
apRadiusServerStatsEntry.setStatus('current')
ap_radius_server_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 1), inet_address_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAddressType.setStatus('current')
ap_radius_server_address = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 2), inet_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAddress.setStatus('current')
ap_radius_server_round_trip_time = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 3), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerRoundTripTime.setStatus('current')
ap_radius_server_malformed_access_response = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerMalformedAccessResponse.setStatus('current')
ap_radius_server_access_requests = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAccessRequests.setStatus('current')
ap_radius_server_disconnect_requests = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerDisconnectRequests.setStatus('current')
ap_radius_server_disconnect_ac_ks = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 7), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerDisconnectACKs.setStatus('current')
ap_radius_server_disconnect_na_cks = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 8), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerDisconnectNACks.setStatus('current')
ap_radius_server_bad_authenticators = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 9), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerBadAuthenticators.setStatus('current')
ap_radius_server_access_retransmissions = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 10), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAccessRetransmissions.setStatus('current')
ap_radius_server_access_accepts = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 11), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAccessAccepts.setStatus('current')
ap_radius_server_timeouts = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 12), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerTimeouts.setStatus('current')
ap_radius_server_access_rejects = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 13), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAccessRejects.setStatus('current')
ap_radius_server_unknown_pdu_types = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 14), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerUnknownPDUTypes.setStatus('current')
ap_radius_server_access_challenges = mib_table_column((1, 3, 6, 1, 4, 1, 9148, 3, 18, 1, 1, 1, 15), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apRadiusServerAccessChallenges.setStatus('current')
ap_radius_server_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2))
ap_radius_object_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1))
ap_radius_interface_stats_group = object_group((1, 3, 6, 1, 4, 1, 9148, 3, 18, 2, 1, 1)).setObjects(('APRADIUS-MIB', 'apRadiusServerRoundTripTime'), ('APRADIUS-MIB', 'apRadiusServerMalformedAccessResponse'), ('APRADIUS-MIB', 'apRadiusServerAccessRequests'), ('APRADIUS-MIB', 'apRadiusServerDisconnectRequests'), ('APRADIUS-MIB', 'apRadiusServerDisconnectACKs'), ('APRADIUS-MIB', 'apRadiusServerDisconnectNACks'), ('APRADIUS-MIB', 'apRadiusServerBadAuthenticators'), ('APRADIUS-MIB', 'apRadiusServerAccessRetransmissions'), ('APRADIUS-MIB', 'apRadiusServerAccessAccepts'), ('APRADIUS-MIB', 'apRadiusServerTimeouts'), ('APRADIUS-MIB', 'apRadiusServerAccessRejects'), ('APRADIUS-MIB', 'apRadiusServerUnknownPDUTypes'), ('APRADIUS-MIB', 'apRadiusServerAccessChallenges'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ap_radius_interface_stats_group = apRadiusInterfaceStatsGroup.setStatus('current')
mibBuilder.exportSymbols('APRADIUS-MIB', PYSNMP_MODULE_ID=apRadiusServerModule, apRadiusServerAccessRetransmissions=apRadiusServerAccessRetransmissions, apRadiusServerStatsEntry=apRadiusServerStatsEntry, apRadiusServerAddressType=apRadiusServerAddressType, apRadiusServerMalformedAccessResponse=apRadiusServerMalformedAccessResponse, apRadiusServerStatsTable=apRadiusServerStatsTable, apRadiusServerModule=apRadiusServerModule, apRadiusServerDisconnectNACks=apRadiusServerDisconnectNACks, apRadiusServerAccessChallenges=apRadiusServerAccessChallenges, apRadiusServerTimeouts=apRadiusServerTimeouts, apRadiusServerAddress=apRadiusServerAddress, apRadiusServerAccessRejects=apRadiusServerAccessRejects, apRadiusServerConformance=apRadiusServerConformance, apRadiusServerMIBObjects=apRadiusServerMIBObjects, apRadiusObjectGroups=apRadiusObjectGroups, apRadiusInterfaceStatsGroup=apRadiusInterfaceStatsGroup, apRadiusServerUnknownPDUTypes=apRadiusServerUnknownPDUTypes, apRadiusServerDisconnectRequests=apRadiusServerDisconnectRequests, apRadiusServerAccessAccepts=apRadiusServerAccessAccepts, apRadiusServerDisconnectACKs=apRadiusServerDisconnectACKs, apRadiusServerBadAuthenticators=apRadiusServerBadAuthenticators, apRadiusServerRoundTripTime=apRadiusServerRoundTripTime, apRadiusServerAccessRequests=apRadiusServerAccessRequests) |
scripts_to_script_start = {
0: "Common",
32: "Common",
33: "Common",
36: "Common",
37: "Common",
40: "Common",
41: "Common",
42: "Common",
43: "Common",
44: "Common",
45: "Common",
46: "Common",
48: "Common",
58: "Common",
60: "Common",
63: "Common",
65: "Latin",
91: "Common",
92: "Common",
93: "Common",
94: "Common",
95: "Common",
96: "Common",
97: "Latin",
123: "Common",
124: "Common",
125: "Common",
126: "Common",
127: "Common",
160: "Common",
161: "Common",
162: "Common",
166: "Common",
167: "Common",
168: "Common",
169: "Common",
170: "Latin",
171: "Common",
172: "Common",
173: "Common",
174: "Common",
175: "Common",
176: "Common",
177: "Common",
178: "Common",
180: "Common",
181: "Common",
182: "Common",
184: "Common",
185: "Common",
186: "Latin",
187: "Common",
188: "Common",
191: "Common",
192: "Latin",
215: "Common",
216: "Latin",
247: "Common",
248: "Latin",
443: "Latin",
444: "Latin",
448: "Latin",
452: "Latin",
660: "Latin",
661: "Latin",
688: "Latin",
697: "Common",
706: "Common",
710: "Common",
722: "Common",
736: "Latin",
741: "Common",
746: "Bopomofo",
748: "Common",
749: "Common",
750: "Common",
751: "Common",
768: "Inherited",
880: "Greek",
884: "Common",
885: "Greek",
886: "Greek",
890: "Greek",
891: "Greek",
894: "Common",
895: "Greek",
900: "Greek",
901: "Common",
902: "Greek",
903: "Common",
904: "Greek",
908: "Greek",
910: "Greek",
931: "Greek",
994: "Coptic",
1008: "Greek",
1014: "Greek",
1015: "Greek",
1024: "Cyrillic",
1154: "Cyrillic",
1155: "Cyrillic",
1157: "Inherited",
1159: "Cyrillic",
1160: "Cyrillic",
1162: "Cyrillic",
1329: "Armenian",
1369: "Armenian",
1370: "Armenian",
1376: "Armenian",
1417: "Armenian",
1418: "Armenian",
1421: "Armenian",
1423: "Armenian",
1425: "Hebrew",
1470: "Hebrew",
1471: "Hebrew",
1472: "Hebrew",
1473: "Hebrew",
1475: "Hebrew",
1476: "Hebrew",
1478: "Hebrew",
1479: "Hebrew",
1488: "Hebrew",
1519: "Hebrew",
1523: "Hebrew",
1536: "Arabic",
1541: "Common",
1542: "Arabic",
1545: "Arabic",
1547: "Arabic",
1548: "Common",
1549: "Arabic",
1550: "Arabic",
1552: "Arabic",
1563: "Common",
1564: "Arabic",
1566: "Arabic",
1567: "Common",
1568: "Arabic",
1600: "Common",
1601: "Arabic",
1611: "Inherited",
1622: "Arabic",
1632: "Arabic",
1642: "Arabic",
1646: "Arabic",
1648: "Inherited",
1649: "Arabic",
1748: "Arabic",
1749: "Arabic",
1750: "Arabic",
1757: "Common",
1758: "Arabic",
1759: "Arabic",
1765: "Arabic",
1767: "Arabic",
1769: "Arabic",
1770: "Arabic",
1774: "Arabic",
1776: "Arabic",
1786: "Arabic",
1789: "Arabic",
1791: "Arabic",
1792: "Syriac",
1807: "Syriac",
1808: "Syriac",
1809: "Syriac",
1810: "Syriac",
1840: "Syriac",
1869: "Syriac",
1872: "Arabic",
1920: "Thaana",
1958: "Thaana",
1969: "Thaana",
1984: "Nko",
1994: "Nko",
2027: "Nko",
2036: "Nko",
2038: "Nko",
2039: "Nko",
2042: "Nko",
2045: "Nko",
2046: "Nko",
2048: "Samaritan",
2070: "Samaritan",
2074: "Samaritan",
2075: "Samaritan",
2084: "Samaritan",
2085: "Samaritan",
2088: "Samaritan",
2089: "Samaritan",
2096: "Samaritan",
2112: "Mandaic",
2137: "Mandaic",
2142: "Mandaic",
2144: "Syriac",
2208: "Arabic",
2230: "Arabic",
2259: "Arabic",
2274: "Common",
2275: "Arabic",
2304: "Devanagari",
2307: "Devanagari",
2308: "Devanagari",
2362: "Devanagari",
2363: "Devanagari",
2364: "Devanagari",
2365: "Devanagari",
2366: "Devanagari",
2369: "Devanagari",
2377: "Devanagari",
2381: "Devanagari",
2382: "Devanagari",
2384: "Devanagari",
2385: "Inherited",
2389: "Devanagari",
2392: "Devanagari",
2402: "Devanagari",
2404: "Common",
2406: "Devanagari",
2416: "Devanagari",
2417: "Devanagari",
2418: "Devanagari",
2432: "Bengali",
2433: "Bengali",
2434: "Bengali",
2437: "Bengali",
2447: "Bengali",
2451: "Bengali",
2474: "Bengali",
2482: "Bengali",
2486: "Bengali",
2492: "Bengali",
2493: "Bengali",
2494: "Bengali",
2497: "Bengali",
2503: "Bengali",
2507: "Bengali",
2509: "Bengali",
2510: "Bengali",
2519: "Bengali",
2524: "Bengali",
2527: "Bengali",
2530: "Bengali",
2534: "Bengali",
2544: "Bengali",
2546: "Bengali",
2548: "Bengali",
2554: "Bengali",
2555: "Bengali",
2556: "Bengali",
2557: "Bengali",
2558: "Bengali",
2561: "Gurmukhi",
2563: "Gurmukhi",
2565: "Gurmukhi",
2575: "Gurmukhi",
2579: "Gurmukhi",
2602: "Gurmukhi",
2610: "Gurmukhi",
2613: "Gurmukhi",
2616: "Gurmukhi",
2620: "Gurmukhi",
2622: "Gurmukhi",
2625: "Gurmukhi",
2631: "Gurmukhi",
2635: "Gurmukhi",
2641: "Gurmukhi",
2649: "Gurmukhi",
2654: "Gurmukhi",
2662: "Gurmukhi",
2672: "Gurmukhi",
2674: "Gurmukhi",
2677: "Gurmukhi",
2678: "Gurmukhi",
2689: "Gujarati",
2691: "Gujarati",
2693: "Gujarati",
2703: "Gujarati",
2707: "Gujarati",
2730: "Gujarati",
2738: "Gujarati",
2741: "Gujarati",
2748: "Gujarati",
2749: "Gujarati",
2750: "Gujarati",
2753: "Gujarati",
2759: "Gujarati",
2761: "Gujarati",
2763: "Gujarati",
2765: "Gujarati",
2768: "Gujarati",
2784: "Gujarati",
2786: "Gujarati",
2790: "Gujarati",
2800: "Gujarati",
2801: "Gujarati",
2809: "Gujarati",
2810: "Gujarati",
2817: "Oriya",
2818: "Oriya",
2821: "Oriya",
2831: "Oriya",
2835: "Oriya",
2858: "Oriya",
2866: "Oriya",
2869: "Oriya",
2876: "Oriya",
2877: "Oriya",
2878: "Oriya",
2879: "Oriya",
2880: "Oriya",
2881: "Oriya",
2887: "Oriya",
2891: "Oriya",
2893: "Oriya",
2901: "Oriya",
2903: "Oriya",
2908: "Oriya",
2911: "Oriya",
2914: "Oriya",
2918: "Oriya",
2928: "Oriya",
2929: "Oriya",
2930: "Oriya",
2946: "Tamil",
2947: "Tamil",
2949: "Tamil",
2958: "Tamil",
2962: "Tamil",
2969: "Tamil",
2972: "Tamil",
2974: "Tamil",
2979: "Tamil",
2984: "Tamil",
2990: "Tamil",
3006: "Tamil",
3008: "Tamil",
3009: "Tamil",
3014: "Tamil",
3018: "Tamil",
3021: "Tamil",
3024: "Tamil",
3031: "Tamil",
3046: "Tamil",
3056: "Tamil",
3059: "Tamil",
3065: "Tamil",
3066: "Tamil",
3072: "Telugu",
3073: "Telugu",
3076: "Telugu",
3077: "Telugu",
3086: "Telugu",
3090: "Telugu",
3114: "Telugu",
3133: "Telugu",
3134: "Telugu",
3137: "Telugu",
3142: "Telugu",
3146: "Telugu",
3157: "Telugu",
3160: "Telugu",
3168: "Telugu",
3170: "Telugu",
3174: "Telugu",
3191: "Telugu",
3192: "Telugu",
3199: "Telugu",
3200: "Kannada",
3201: "Kannada",
3202: "Kannada",
3204: "Kannada",
3205: "Kannada",
3214: "Kannada",
3218: "Kannada",
3242: "Kannada",
3253: "Kannada",
3260: "Kannada",
3261: "Kannada",
3262: "Kannada",
3263: "Kannada",
3264: "Kannada",
3270: "Kannada",
3271: "Kannada",
3274: "Kannada",
3276: "Kannada",
3285: "Kannada",
3294: "Kannada",
3296: "Kannada",
3298: "Kannada",
3302: "Kannada",
3313: "Kannada",
3328: "Malayalam",
3330: "Malayalam",
3332: "Malayalam",
3342: "Malayalam",
3346: "Malayalam",
3387: "Malayalam",
3389: "Malayalam",
3390: "Malayalam",
3393: "Malayalam",
3398: "Malayalam",
3402: "Malayalam",
3405: "Malayalam",
3406: "Malayalam",
3407: "Malayalam",
3412: "Malayalam",
3415: "Malayalam",
3416: "Malayalam",
3423: "Malayalam",
3426: "Malayalam",
3430: "Malayalam",
3440: "Malayalam",
3449: "Malayalam",
3450: "Malayalam",
3457: "Sinhala",
3458: "Sinhala",
3461: "Sinhala",
3482: "Sinhala",
3507: "Sinhala",
3517: "Sinhala",
3520: "Sinhala",
3530: "Sinhala",
3535: "Sinhala",
3538: "Sinhala",
3542: "Sinhala",
3544: "Sinhala",
3558: "Sinhala",
3570: "Sinhala",
3572: "Sinhala",
3585: "Thai",
3633: "Thai",
3634: "Thai",
3636: "Thai",
3647: "Common",
3648: "Thai",
3654: "Thai",
3655: "Thai",
3663: "Thai",
3664: "Thai",
3674: "Thai",
3713: "Lao",
3716: "Lao",
3718: "Lao",
3724: "Lao",
3749: "Lao",
3751: "Lao",
3761: "Lao",
3762: "Lao",
3764: "Lao",
3773: "Lao",
3776: "Lao",
3782: "Lao",
3784: "Lao",
3792: "Lao",
3804: "Lao",
3840: "Tibetan",
3841: "Tibetan",
3844: "Tibetan",
3859: "Tibetan",
3860: "Tibetan",
3861: "Tibetan",
3864: "Tibetan",
3866: "Tibetan",
3872: "Tibetan",
3882: "Tibetan",
3892: "Tibetan",
3893: "Tibetan",
3894: "Tibetan",
3895: "Tibetan",
3896: "Tibetan",
3897: "Tibetan",
3898: "Tibetan",
3899: "Tibetan",
3900: "Tibetan",
3901: "Tibetan",
3902: "Tibetan",
3904: "Tibetan",
3913: "Tibetan",
3953: "Tibetan",
3967: "Tibetan",
3968: "Tibetan",
3973: "Tibetan",
3974: "Tibetan",
3976: "Tibetan",
3981: "Tibetan",
3993: "Tibetan",
4030: "Tibetan",
4038: "Tibetan",
4039: "Tibetan",
4046: "Tibetan",
4048: "Tibetan",
4053: "Common",
4057: "Tibetan",
4096: "Myanmar",
4139: "Myanmar",
4141: "Myanmar",
4145: "Myanmar",
4146: "Myanmar",
4152: "Myanmar",
4153: "Myanmar",
4155: "Myanmar",
4157: "Myanmar",
4159: "Myanmar",
4160: "Myanmar",
4170: "Myanmar",
4176: "Myanmar",
4182: "Myanmar",
4184: "Myanmar",
4186: "Myanmar",
4190: "Myanmar",
4193: "Myanmar",
4194: "Myanmar",
4197: "Myanmar",
4199: "Myanmar",
4206: "Myanmar",
4209: "Myanmar",
4213: "Myanmar",
4226: "Myanmar",
4227: "Myanmar",
4229: "Myanmar",
4231: "Myanmar",
4237: "Myanmar",
4238: "Myanmar",
4239: "Myanmar",
4240: "Myanmar",
4250: "Myanmar",
4253: "Myanmar",
4254: "Myanmar",
4256: "Georgian",
4295: "Georgian",
4301: "Georgian",
4304: "Georgian",
4347: "Common",
4348: "Georgian",
4349: "Georgian",
4352: "Hangul",
4608: "Ethiopic",
4682: "Ethiopic",
4688: "Ethiopic",
4696: "Ethiopic",
4698: "Ethiopic",
4704: "Ethiopic",
4746: "Ethiopic",
4752: "Ethiopic",
4786: "Ethiopic",
4792: "Ethiopic",
4800: "Ethiopic",
4802: "Ethiopic",
4808: "Ethiopic",
4824: "Ethiopic",
4882: "Ethiopic",
4888: "Ethiopic",
4957: "Ethiopic",
4960: "Ethiopic",
4969: "Ethiopic",
4992: "Ethiopic",
5008: "Ethiopic",
5024: "Cherokee",
5112: "Cherokee",
5120: "Canadian_Aboriginal",
5121: "Canadian_Aboriginal",
5741: "Canadian_Aboriginal",
5742: "Canadian_Aboriginal",
5743: "Canadian_Aboriginal",
5760: "Ogham",
5761: "Ogham",
5787: "Ogham",
5788: "Ogham",
5792: "Runic",
5867: "Common",
5870: "Runic",
5873: "Runic",
5888: "Tagalog",
5902: "Tagalog",
5906: "Tagalog",
5920: "Hanunoo",
5938: "Hanunoo",
5941: "Common",
5952: "Buhid",
5970: "Buhid",
5984: "Tagbanwa",
5998: "Tagbanwa",
6002: "Tagbanwa",
6016: "Khmer",
6068: "Khmer",
6070: "Khmer",
6071: "Khmer",
6078: "Khmer",
6086: "Khmer",
6087: "Khmer",
6089: "Khmer",
6100: "Khmer",
6103: "Khmer",
6104: "Khmer",
6107: "Khmer",
6108: "Khmer",
6109: "Khmer",
6112: "Khmer",
6128: "Khmer",
6144: "Mongolian",
6146: "Common",
6148: "Mongolian",
6149: "Common",
6150: "Mongolian",
6151: "Mongolian",
6155: "Mongolian",
6158: "Mongolian",
6160: "Mongolian",
6176: "Mongolian",
6211: "Mongolian",
6212: "Mongolian",
6272: "Mongolian",
6277: "Mongolian",
6279: "Mongolian",
6313: "Mongolian",
6314: "Mongolian",
6320: "Canadian_Aboriginal",
6400: "Limbu",
6432: "Limbu",
6435: "Limbu",
6439: "Limbu",
6441: "Limbu",
6448: "Limbu",
6450: "Limbu",
6451: "Limbu",
6457: "Limbu",
6464: "Limbu",
6468: "Limbu",
6470: "Limbu",
6480: "Tai_Le",
6512: "Tai_Le",
6528: "New_Tai_Lue",
6576: "New_Tai_Lue",
6608: "New_Tai_Lue",
6618: "New_Tai_Lue",
6622: "New_Tai_Lue",
6624: "Khmer",
6656: "Buginese",
6679: "Buginese",
6681: "Buginese",
6683: "Buginese",
6686: "Buginese",
6688: "Tai_Tham",
6741: "Tai_Tham",
6742: "Tai_Tham",
6743: "Tai_Tham",
6744: "Tai_Tham",
6752: "Tai_Tham",
6753: "Tai_Tham",
6754: "Tai_Tham",
6755: "Tai_Tham",
6757: "Tai_Tham",
6765: "Tai_Tham",
6771: "Tai_Tham",
6783: "Tai_Tham",
6784: "Tai_Tham",
6800: "Tai_Tham",
6816: "Tai_Tham",
6823: "Tai_Tham",
6824: "Tai_Tham",
6832: "Inherited",
6846: "Inherited",
6847: "Inherited",
6912: "Balinese",
6916: "Balinese",
6917: "Balinese",
6964: "Balinese",
6965: "Balinese",
6966: "Balinese",
6971: "Balinese",
6972: "Balinese",
6973: "Balinese",
6978: "Balinese",
6979: "Balinese",
6981: "Balinese",
6992: "Balinese",
7002: "Balinese",
7009: "Balinese",
7019: "Balinese",
7028: "Balinese",
7040: "Sundanese",
7042: "Sundanese",
7043: "Sundanese",
7073: "Sundanese",
7074: "Sundanese",
7078: "Sundanese",
7080: "Sundanese",
7082: "Sundanese",
7083: "Sundanese",
7086: "Sundanese",
7088: "Sundanese",
7098: "Sundanese",
7104: "Batak",
7142: "Batak",
7143: "Batak",
7144: "Batak",
7146: "Batak",
7149: "Batak",
7150: "Batak",
7151: "Batak",
7154: "Batak",
7164: "Batak",
7168: "Lepcha",
7204: "Lepcha",
7212: "Lepcha",
7220: "Lepcha",
7222: "Lepcha",
7227: "Lepcha",
7232: "Lepcha",
7245: "Lepcha",
7248: "Ol_Chiki",
7258: "Ol_Chiki",
7288: "Ol_Chiki",
7294: "Ol_Chiki",
7296: "Cyrillic",
7312: "Georgian",
7357: "Georgian",
7360: "Sundanese",
7376: "Inherited",
7379: "Common",
7380: "Inherited",
7393: "Common",
7394: "Inherited",
7401: "Common",
7405: "Inherited",
7406: "Common",
7412: "Inherited",
7413: "Common",
7415: "Common",
7416: "Inherited",
7418: "Common",
7424: "Latin",
7462: "Greek",
7467: "Cyrillic",
7468: "Latin",
7517: "Greek",
7522: "Latin",
7526: "Greek",
7531: "Latin",
7544: "Cyrillic",
7545: "Latin",
7579: "Latin",
7615: "Greek",
7616: "Inherited",
7675: "Inherited",
7680: "Latin",
7936: "Greek",
7960: "Greek",
7968: "Greek",
8008: "Greek",
8016: "Greek",
8025: "Greek",
8027: "Greek",
8029: "Greek",
8031: "Greek",
8064: "Greek",
8118: "Greek",
8125: "Greek",
8126: "Greek",
8127: "Greek",
8130: "Greek",
8134: "Greek",
8141: "Greek",
8144: "Greek",
8150: "Greek",
8157: "Greek",
8160: "Greek",
8173: "Greek",
8178: "Greek",
8182: "Greek",
8189: "Greek",
8192: "Common",
8203: "Common",
8204: "Inherited",
8206: "Common",
8208: "Common",
8214: "Common",
8216: "Common",
8217: "Common",
8218: "Common",
8219: "Common",
8221: "Common",
8222: "Common",
8223: "Common",
8224: "Common",
8232: "Common",
8233: "Common",
8234: "Common",
8239: "Common",
8240: "Common",
8249: "Common",
8250: "Common",
8251: "Common",
8255: "Common",
8257: "Common",
8260: "Common",
8261: "Common",
8262: "Common",
8263: "Common",
8274: "Common",
8275: "Common",
8276: "Common",
8277: "Common",
8287: "Common",
8288: "Common",
8294: "Common",
8304: "Common",
8305: "Latin",
8308: "Common",
8314: "Common",
8317: "Common",
8318: "Common",
8319: "Latin",
8320: "Common",
8330: "Common",
8333: "Common",
8334: "Common",
8336: "Latin",
8352: "Common",
8400: "Inherited",
8413: "Inherited",
8417: "Inherited",
8418: "Inherited",
8421: "Inherited",
8448: "Common",
8450: "Common",
8451: "Common",
8455: "Common",
8456: "Common",
8458: "Common",
8468: "Common",
8469: "Common",
8470: "Common",
8472: "Common",
8473: "Common",
8478: "Common",
8484: "Common",
8485: "Common",
8486: "Greek",
8487: "Common",
8488: "Common",
8489: "Common",
8490: "Latin",
8492: "Common",
8494: "Common",
8495: "Common",
8498: "Latin",
8499: "Common",
8501: "Common",
8505: "Common",
8506: "Common",
8508: "Common",
8512: "Common",
8517: "Common",
8522: "Common",
8523: "Common",
8524: "Common",
8526: "Latin",
8527: "Common",
8528: "Common",
8544: "Latin",
8579: "Latin",
8581: "Latin",
8585: "Common",
8586: "Common",
8592: "Common",
8597: "Common",
8602: "Common",
8604: "Common",
8608: "Common",
8609: "Common",
8611: "Common",
8612: "Common",
8614: "Common",
8615: "Common",
8622: "Common",
8623: "Common",
8654: "Common",
8656: "Common",
8658: "Common",
8659: "Common",
8660: "Common",
8661: "Common",
8692: "Common",
8960: "Common",
8968: "Common",
8969: "Common",
8970: "Common",
8971: "Common",
8972: "Common",
8992: "Common",
8994: "Common",
9001: "Common",
9002: "Common",
9003: "Common",
9084: "Common",
9085: "Common",
9115: "Common",
9140: "Common",
9180: "Common",
9186: "Common",
9280: "Common",
9312: "Common",
9372: "Common",
9450: "Common",
9472: "Common",
9655: "Common",
9656: "Common",
9665: "Common",
9666: "Common",
9720: "Common",
9728: "Common",
9839: "Common",
9840: "Common",
10088: "Common",
10089: "Common",
10090: "Common",
10091: "Common",
10092: "Common",
10093: "Common",
10094: "Common",
10095: "Common",
10096: "Common",
10097: "Common",
10098: "Common",
10099: "Common",
10100: "Common",
10101: "Common",
10102: "Common",
10132: "Common",
10176: "Common",
10181: "Common",
10182: "Common",
10183: "Common",
10214: "Common",
10215: "Common",
10216: "Common",
10217: "Common",
10218: "Common",
10219: "Common",
10220: "Common",
10221: "Common",
10222: "Common",
10223: "Common",
10224: "Common",
10240: "Braille",
10496: "Common",
10627: "Common",
10628: "Common",
10629: "Common",
10630: "Common",
10631: "Common",
10632: "Common",
10633: "Common",
10634: "Common",
10635: "Common",
10636: "Common",
10637: "Common",
10638: "Common",
10639: "Common",
10640: "Common",
10641: "Common",
10642: "Common",
10643: "Common",
10644: "Common",
10645: "Common",
10646: "Common",
10647: "Common",
10648: "Common",
10649: "Common",
10712: "Common",
10713: "Common",
10714: "Common",
10715: "Common",
10716: "Common",
10748: "Common",
10749: "Common",
10750: "Common",
11008: "Common",
11056: "Common",
11077: "Common",
11079: "Common",
11085: "Common",
11126: "Common",
11159: "Common",
11264: "Glagolitic",
11312: "Glagolitic",
11360: "Latin",
11388: "Latin",
11390: "Latin",
11392: "Coptic",
11493: "Coptic",
11499: "Coptic",
11503: "Coptic",
11506: "Coptic",
11513: "Coptic",
11517: "Coptic",
11518: "Coptic",
11520: "Georgian",
11559: "Georgian",
11565: "Georgian",
11568: "Tifinagh",
11631: "Tifinagh",
11632: "Tifinagh",
11647: "Tifinagh",
11648: "Ethiopic",
11680: "Ethiopic",
11688: "Ethiopic",
11696: "Ethiopic",
11704: "Ethiopic",
11712: "Ethiopic",
11720: "Ethiopic",
11728: "Ethiopic",
11736: "Ethiopic",
11744: "Cyrillic",
11776: "Common",
11778: "Common",
11779: "Common",
11780: "Common",
11781: "Common",
11782: "Common",
11785: "Common",
11786: "Common",
11787: "Common",
11788: "Common",
11789: "Common",
11790: "Common",
11799: "Common",
11800: "Common",
11802: "Common",
11803: "Common",
11804: "Common",
11805: "Common",
11806: "Common",
11808: "Common",
11809: "Common",
11810: "Common",
11811: "Common",
11812: "Common",
11813: "Common",
11814: "Common",
11815: "Common",
11816: "Common",
11817: "Common",
11818: "Common",
11823: "Common",
11824: "Common",
11834: "Common",
11836: "Common",
11840: "Common",
11841: "Common",
11842: "Common",
11843: "Common",
11856: "Common",
11858: "Common",
11904: "Han",
11931: "Han",
12032: "Han",
12272: "Common",
12288: "Common",
12289: "Common",
12292: "Common",
12293: "Han",
12294: "Common",
12295: "Han",
12296: "Common",
12297: "Common",
12298: "Common",
12299: "Common",
12300: "Common",
12301: "Common",
12302: "Common",
12303: "Common",
12304: "Common",
12305: "Common",
12306: "Common",
12308: "Common",
12309: "Common",
12310: "Common",
12311: "Common",
12312: "Common",
12313: "Common",
12314: "Common",
12315: "Common",
12316: "Common",
12317: "Common",
12318: "Common",
12320: "Common",
12321: "Han",
12330: "Inherited",
12334: "Hangul",
12336: "Common",
12337: "Common",
12342: "Common",
12344: "Han",
12347: "Han",
12348: "Common",
12349: "Common",
12350: "Common",
12353: "Hiragana",
12441: "Inherited",
12443: "Common",
12445: "Hiragana",
12447: "Hiragana",
12448: "Common",
12449: "Katakana",
12539: "Common",
12540: "Common",
12541: "Katakana",
12543: "Katakana",
12549: "Bopomofo",
12593: "Hangul",
12688: "Common",
12690: "Common",
12694: "Common",
12704: "Bopomofo",
12736: "Common",
12784: "Katakana",
12800: "Hangul",
12832: "Common",
12842: "Common",
12872: "Common",
12880: "Common",
12881: "Common",
12896: "Hangul",
12927: "Common",
12928: "Common",
12938: "Common",
12977: "Common",
12992: "Common",
13008: "Katakana",
13055: "Common",
13056: "Katakana",
13144: "Common",
13312: "Han",
19904: "Common",
19968: "Han",
40960: "Yi",
40981: "Yi",
40982: "Yi",
42128: "Yi",
42192: "Lisu",
42232: "Lisu",
42238: "Lisu",
42240: "Vai",
42508: "Vai",
42509: "Vai",
42512: "Vai",
42528: "Vai",
42538: "Vai",
42560: "Cyrillic",
42606: "Cyrillic",
42607: "Cyrillic",
42608: "Cyrillic",
42611: "Cyrillic",
42612: "Cyrillic",
42622: "Cyrillic",
42623: "Cyrillic",
42624: "Cyrillic",
42652: "Cyrillic",
42654: "Cyrillic",
42656: "Bamum",
42726: "Bamum",
42736: "Bamum",
42738: "Bamum",
42752: "Common",
42775: "Common",
42784: "Common",
42786: "Latin",
42864: "Latin",
42865: "Latin",
42888: "Common",
42889: "Common",
42891: "Latin",
42895: "Latin",
42896: "Latin",
42946: "Latin",
42997: "Latin",
42999: "Latin",
43000: "Latin",
43002: "Latin",
43003: "Latin",
43008: "Syloti_Nagri",
43010: "Syloti_Nagri",
43011: "Syloti_Nagri",
43014: "Syloti_Nagri",
43015: "Syloti_Nagri",
43019: "Syloti_Nagri",
43020: "Syloti_Nagri",
43043: "Syloti_Nagri",
43045: "Syloti_Nagri",
43047: "Syloti_Nagri",
43048: "Syloti_Nagri",
43052: "Syloti_Nagri",
43056: "Common",
43062: "Common",
43064: "Common",
43065: "Common",
43072: "Phags_Pa",
43124: "Phags_Pa",
43136: "Saurashtra",
43138: "Saurashtra",
43188: "Saurashtra",
43204: "Saurashtra",
43214: "Saurashtra",
43216: "Saurashtra",
43232: "Devanagari",
43250: "Devanagari",
43256: "Devanagari",
43259: "Devanagari",
43260: "Devanagari",
43261: "Devanagari",
43263: "Devanagari",
43264: "Kayah_Li",
43274: "Kayah_Li",
43302: "Kayah_Li",
43310: "Common",
43311: "Kayah_Li",
43312: "Rejang",
43335: "Rejang",
43346: "Rejang",
43359: "Rejang",
43360: "Hangul",
43392: "Javanese",
43395: "Javanese",
43396: "Javanese",
43443: "Javanese",
43444: "Javanese",
43446: "Javanese",
43450: "Javanese",
43452: "Javanese",
43454: "Javanese",
43457: "Javanese",
43471: "Common",
43472: "Javanese",
43486: "Javanese",
43488: "Myanmar",
43493: "Myanmar",
43494: "Myanmar",
43495: "Myanmar",
43504: "Myanmar",
43514: "Myanmar",
43520: "Cham",
43561: "Cham",
43567: "Cham",
43569: "Cham",
43571: "Cham",
43573: "Cham",
43584: "Cham",
43587: "Cham",
43588: "Cham",
43596: "Cham",
43597: "Cham",
43600: "Cham",
43612: "Cham",
43616: "Myanmar",
43632: "Myanmar",
43633: "Myanmar",
43639: "Myanmar",
43642: "Myanmar",
43643: "Myanmar",
43644: "Myanmar",
43645: "Myanmar",
43646: "Myanmar",
43648: "Tai_Viet",
43696: "Tai_Viet",
43697: "Tai_Viet",
43698: "Tai_Viet",
43701: "Tai_Viet",
43703: "Tai_Viet",
43705: "Tai_Viet",
43710: "Tai_Viet",
43712: "Tai_Viet",
43713: "Tai_Viet",
43714: "Tai_Viet",
43739: "Tai_Viet",
43741: "Tai_Viet",
43742: "Tai_Viet",
43744: "Meetei_Mayek",
43755: "Meetei_Mayek",
43756: "Meetei_Mayek",
43758: "Meetei_Mayek",
43760: "Meetei_Mayek",
43762: "Meetei_Mayek",
43763: "Meetei_Mayek",
43765: "Meetei_Mayek",
43766: "Meetei_Mayek",
43777: "Ethiopic",
43785: "Ethiopic",
43793: "Ethiopic",
43808: "Ethiopic",
43816: "Ethiopic",
43824: "Latin",
43867: "Common",
43868: "Latin",
43872: "Latin",
43877: "Greek",
43878: "Latin",
43881: "Latin",
43882: "Common",
43888: "Cherokee",
43968: "Meetei_Mayek",
44003: "Meetei_Mayek",
44005: "Meetei_Mayek",
44006: "Meetei_Mayek",
44008: "Meetei_Mayek",
44009: "Meetei_Mayek",
44011: "Meetei_Mayek",
44012: "Meetei_Mayek",
44013: "Meetei_Mayek",
44016: "Meetei_Mayek",
44032: "Hangul",
55216: "Hangul",
55243: "Hangul",
63744: "Han",
64112: "Han",
64256: "Latin",
64275: "Armenian",
64285: "Hebrew",
64286: "Hebrew",
64287: "Hebrew",
64297: "Hebrew",
64298: "Hebrew",
64312: "Hebrew",
64318: "Hebrew",
64320: "Hebrew",
64323: "Hebrew",
64326: "Hebrew",
64336: "Arabic",
64434: "Arabic",
64467: "Arabic",
64830: "Common",
64831: "Common",
64848: "Arabic",
64914: "Arabic",
65008: "Arabic",
65020: "Arabic",
65021: "Arabic",
65024: "Inherited",
65040: "Common",
65047: "Common",
65048: "Common",
65049: "Common",
65056: "Inherited",
65070: "Cyrillic",
65072: "Common",
65073: "Common",
65075: "Common",
65077: "Common",
65078: "Common",
65079: "Common",
65080: "Common",
65081: "Common",
65082: "Common",
65083: "Common",
65084: "Common",
65085: "Common",
65086: "Common",
65087: "Common",
65088: "Common",
65089: "Common",
65090: "Common",
65091: "Common",
65092: "Common",
65093: "Common",
65095: "Common",
65096: "Common",
65097: "Common",
65101: "Common",
65104: "Common",
65108: "Common",
65112: "Common",
65113: "Common",
65114: "Common",
65115: "Common",
65116: "Common",
65117: "Common",
65118: "Common",
65119: "Common",
65122: "Common",
65123: "Common",
65124: "Common",
65128: "Common",
65129: "Common",
65130: "Common",
65136: "Arabic",
65142: "Arabic",
65279: "Common",
65281: "Common",
65284: "Common",
65285: "Common",
65288: "Common",
65289: "Common",
65290: "Common",
65291: "Common",
65292: "Common",
65293: "Common",
65294: "Common",
65296: "Common",
65306: "Common",
65308: "Common",
65311: "Common",
65313: "Latin",
65339: "Common",
65340: "Common",
65341: "Common",
65342: "Common",
65343: "Common",
65344: "Common",
65345: "Latin",
65371: "Common",
65372: "Common",
65373: "Common",
65374: "Common",
65375: "Common",
65376: "Common",
65377: "Common",
65378: "Common",
65379: "Common",
65380: "Common",
65382: "Katakana",
65392: "Common",
65393: "Katakana",
65438: "Common",
65440: "Hangul",
65474: "Hangul",
65482: "Hangul",
65490: "Hangul",
65498: "Hangul",
65504: "Common",
65506: "Common",
65507: "Common",
65508: "Common",
65509: "Common",
65512: "Common",
65513: "Common",
65517: "Common",
65529: "Common",
65532: "Common",
65536: "Linear_B",
65549: "Linear_B",
65576: "Linear_B",
65596: "Linear_B",
65599: "Linear_B",
65616: "Linear_B",
65664: "Linear_B",
65792: "Common",
65799: "Common",
65847: "Common",
65856: "Greek",
65909: "Greek",
65913: "Greek",
65930: "Greek",
65932: "Greek",
65936: "Common",
65952: "Greek",
66000: "Common",
66045: "Inherited",
66176: "Lycian",
66208: "Carian",
66272: "Inherited",
66273: "Common",
66304: "Old_Italic",
66336: "Old_Italic",
66349: "Old_Italic",
66352: "Gothic",
66369: "Gothic",
66370: "Gothic",
66378: "Gothic",
66384: "Old_Permic",
66422: "Old_Permic",
66432: "Ugaritic",
66463: "Ugaritic",
66464: "Old_Persian",
66504: "Old_Persian",
66512: "Old_Persian",
66513: "Old_Persian",
66560: "Deseret",
66640: "Shavian",
66688: "Osmanya",
66720: "Osmanya",
66736: "Osage",
66776: "Osage",
66816: "Elbasan",
66864: "Caucasian_Albanian",
66927: "Caucasian_Albanian",
67072: "Linear_A",
67392: "Linear_A",
67424: "Linear_A",
67584: "Cypriot",
67592: "Cypriot",
67594: "Cypriot",
67639: "Cypriot",
67644: "Cypriot",
67647: "Cypriot",
67648: "Imperial_Aramaic",
67671: "Imperial_Aramaic",
67672: "Imperial_Aramaic",
67680: "Palmyrene",
67703: "Palmyrene",
67705: "Palmyrene",
67712: "Nabataean",
67751: "Nabataean",
67808: "Hatran",
67828: "Hatran",
67835: "Hatran",
67840: "Phoenician",
67862: "Phoenician",
67871: "Phoenician",
67872: "Lydian",
67903: "Lydian",
67968: "Meroitic_Hieroglyphs",
68000: "Meroitic_Cursive",
68028: "Meroitic_Cursive",
68030: "Meroitic_Cursive",
68032: "Meroitic_Cursive",
68050: "Meroitic_Cursive",
68096: "Kharoshthi",
68097: "Kharoshthi",
68101: "Kharoshthi",
68108: "Kharoshthi",
68112: "Kharoshthi",
68117: "Kharoshthi",
68121: "Kharoshthi",
68152: "Kharoshthi",
68159: "Kharoshthi",
68160: "Kharoshthi",
68176: "Kharoshthi",
68192: "Old_South_Arabian",
68221: "Old_South_Arabian",
68223: "Old_South_Arabian",
68224: "Old_North_Arabian",
68253: "Old_North_Arabian",
68288: "Manichaean",
68296: "Manichaean",
68297: "Manichaean",
68325: "Manichaean",
68331: "Manichaean",
68336: "Manichaean",
68352: "Avestan",
68409: "Avestan",
68416: "Inscriptional_Parthian",
68440: "Inscriptional_Parthian",
68448: "Inscriptional_Pahlavi",
68472: "Inscriptional_Pahlavi",
68480: "Psalter_Pahlavi",
68505: "Psalter_Pahlavi",
68521: "Psalter_Pahlavi",
68608: "Old_Turkic",
68736: "Old_Hungarian",
68800: "Old_Hungarian",
68858: "Old_Hungarian",
68864: "Hanifi_Rohingya",
68900: "Hanifi_Rohingya",
68912: "Hanifi_Rohingya",
69216: "Arabic",
69248: "Yezidi",
69291: "Yezidi",
69293: "Yezidi",
69296: "Yezidi",
69376: "Old_Sogdian",
69405: "Old_Sogdian",
69415: "Old_Sogdian",
69424: "Sogdian",
69446: "Sogdian",
69457: "Sogdian",
69461: "Sogdian",
69552: "Chorasmian",
69573: "Chorasmian",
69600: "Elymaic",
69632: "Brahmi",
69633: "Brahmi",
69634: "Brahmi",
69635: "Brahmi",
69688: "Brahmi",
69703: "Brahmi",
69714: "Brahmi",
69734: "Brahmi",
69759: "Brahmi",
69760: "Kaithi",
69762: "Kaithi",
69763: "Kaithi",
69808: "Kaithi",
69811: "Kaithi",
69815: "Kaithi",
69817: "Kaithi",
69819: "Kaithi",
69821: "Kaithi",
69822: "Kaithi",
69837: "Kaithi",
69840: "Sora_Sompeng",
69872: "Sora_Sompeng",
69888: "Chakma",
69891: "Chakma",
69927: "Chakma",
69932: "Chakma",
69933: "Chakma",
69942: "Chakma",
69952: "Chakma",
69956: "Chakma",
69957: "Chakma",
69959: "Chakma",
69968: "Mahajani",
70003: "Mahajani",
70004: "Mahajani",
70006: "Mahajani",
70016: "Sharada",
70018: "Sharada",
70019: "Sharada",
70067: "Sharada",
70070: "Sharada",
70079: "Sharada",
70081: "Sharada",
70085: "Sharada",
70089: "Sharada",
70093: "Sharada",
70094: "Sharada",
70095: "Sharada",
70096: "Sharada",
70106: "Sharada",
70107: "Sharada",
70108: "Sharada",
70109: "Sharada",
70113: "Sinhala",
70144: "Khojki",
70163: "Khojki",
70188: "Khojki",
70191: "Khojki",
70194: "Khojki",
70196: "Khojki",
70197: "Khojki",
70198: "Khojki",
70200: "Khojki",
70206: "Khojki",
70272: "Multani",
70280: "Multani",
70282: "Multani",
70287: "Multani",
70303: "Multani",
70313: "Multani",
70320: "Khudawadi",
70367: "Khudawadi",
70368: "Khudawadi",
70371: "Khudawadi",
70384: "Khudawadi",
70400: "Grantha",
70402: "Grantha",
70405: "Grantha",
70415: "Grantha",
70419: "Grantha",
70442: "Grantha",
70450: "Grantha",
70453: "Grantha",
70459: "Inherited",
70460: "Grantha",
70461: "Grantha",
70462: "Grantha",
70464: "Grantha",
70465: "Grantha",
70471: "Grantha",
70475: "Grantha",
70480: "Grantha",
70487: "Grantha",
70493: "Grantha",
70498: "Grantha",
70502: "Grantha",
70512: "Grantha",
70656: "Newa",
70709: "Newa",
70712: "Newa",
70720: "Newa",
70722: "Newa",
70725: "Newa",
70726: "Newa",
70727: "Newa",
70731: "Newa",
70736: "Newa",
70746: "Newa",
70749: "Newa",
70750: "Newa",
70751: "Newa",
70784: "Tirhuta",
70832: "Tirhuta",
70835: "Tirhuta",
70841: "Tirhuta",
70842: "Tirhuta",
70843: "Tirhuta",
70847: "Tirhuta",
70849: "Tirhuta",
70850: "Tirhuta",
70852: "Tirhuta",
70854: "Tirhuta",
70855: "Tirhuta",
70864: "Tirhuta",
71040: "Siddham",
71087: "Siddham",
71090: "Siddham",
71096: "Siddham",
71100: "Siddham",
71102: "Siddham",
71103: "Siddham",
71105: "Siddham",
71128: "Siddham",
71132: "Siddham",
71168: "Modi",
71216: "Modi",
71219: "Modi",
71227: "Modi",
71229: "Modi",
71230: "Modi",
71231: "Modi",
71233: "Modi",
71236: "Modi",
71248: "Modi",
71264: "Mongolian",
71296: "Takri",
71339: "Takri",
71340: "Takri",
71341: "Takri",
71342: "Takri",
71344: "Takri",
71350: "Takri",
71351: "Takri",
71352: "Takri",
71360: "Takri",
71424: "Ahom",
71453: "Ahom",
71456: "Ahom",
71458: "Ahom",
71462: "Ahom",
71463: "Ahom",
71472: "Ahom",
71482: "Ahom",
71484: "Ahom",
71487: "Ahom",
71680: "Dogra",
71724: "Dogra",
71727: "Dogra",
71736: "Dogra",
71737: "Dogra",
71739: "Dogra",
71840: "Warang_Citi",
71904: "Warang_Citi",
71914: "Warang_Citi",
71935: "Warang_Citi",
71936: "Dives_Akuru",
71945: "Dives_Akuru",
71948: "Dives_Akuru",
71957: "Dives_Akuru",
71960: "Dives_Akuru",
71984: "Dives_Akuru",
71991: "Dives_Akuru",
71995: "Dives_Akuru",
71997: "Dives_Akuru",
71998: "Dives_Akuru",
71999: "Dives_Akuru",
72000: "Dives_Akuru",
72001: "Dives_Akuru",
72002: "Dives_Akuru",
72003: "Dives_Akuru",
72004: "Dives_Akuru",
72016: "Dives_Akuru",
72096: "Nandinagari",
72106: "Nandinagari",
72145: "Nandinagari",
72148: "Nandinagari",
72154: "Nandinagari",
72156: "Nandinagari",
72160: "Nandinagari",
72161: "Nandinagari",
72162: "Nandinagari",
72163: "Nandinagari",
72164: "Nandinagari",
72192: "Zanabazar_Square",
72193: "Zanabazar_Square",
72203: "Zanabazar_Square",
72243: "Zanabazar_Square",
72249: "Zanabazar_Square",
72250: "Zanabazar_Square",
72251: "Zanabazar_Square",
72255: "Zanabazar_Square",
72263: "Zanabazar_Square",
72272: "Soyombo",
72273: "Soyombo",
72279: "Soyombo",
72281: "Soyombo",
72284: "Soyombo",
72330: "Soyombo",
72343: "Soyombo",
72344: "Soyombo",
72346: "Soyombo",
72349: "Soyombo",
72350: "Soyombo",
72384: "Pau_Cin_Hau",
72704: "Bhaiksuki",
72714: "Bhaiksuki",
72751: "Bhaiksuki",
72752: "Bhaiksuki",
72760: "Bhaiksuki",
72766: "Bhaiksuki",
72767: "Bhaiksuki",
72768: "Bhaiksuki",
72769: "Bhaiksuki",
72784: "Bhaiksuki",
72794: "Bhaiksuki",
72816: "Marchen",
72818: "Marchen",
72850: "Marchen",
72873: "Marchen",
72874: "Marchen",
72881: "Marchen",
72882: "Marchen",
72884: "Marchen",
72885: "Marchen",
72960: "Masaram_Gondi",
72968: "Masaram_Gondi",
72971: "Masaram_Gondi",
73009: "Masaram_Gondi",
73018: "Masaram_Gondi",
73020: "Masaram_Gondi",
73023: "Masaram_Gondi",
73030: "Masaram_Gondi",
73031: "Masaram_Gondi",
73040: "Masaram_Gondi",
73056: "Gunjala_Gondi",
73063: "Gunjala_Gondi",
73066: "Gunjala_Gondi",
73098: "Gunjala_Gondi",
73104: "Gunjala_Gondi",
73107: "Gunjala_Gondi",
73109: "Gunjala_Gondi",
73110: "Gunjala_Gondi",
73111: "Gunjala_Gondi",
73112: "Gunjala_Gondi",
73120: "Gunjala_Gondi",
73440: "Makasar",
73459: "Makasar",
73461: "Makasar",
73463: "Makasar",
73648: "Lisu",
73664: "Tamil",
73685: "Tamil",
73693: "Tamil",
73697: "Tamil",
73727: "Tamil",
73728: "Cuneiform",
74752: "Cuneiform",
74864: "Cuneiform",
74880: "Cuneiform",
77824: "Egyptian_Hieroglyphs",
78896: "Egyptian_Hieroglyphs",
82944: "Anatolian_Hieroglyphs",
92160: "Bamum",
92736: "Mro",
92768: "Mro",
92782: "Mro",
92880: "Bassa_Vah",
92912: "Bassa_Vah",
92917: "Bassa_Vah",
92928: "Pahawh_Hmong",
92976: "Pahawh_Hmong",
92983: "Pahawh_Hmong",
92988: "Pahawh_Hmong",
92992: "Pahawh_Hmong",
92996: "Pahawh_Hmong",
92997: "Pahawh_Hmong",
93008: "Pahawh_Hmong",
93019: "Pahawh_Hmong",
93027: "Pahawh_Hmong",
93053: "Pahawh_Hmong",
93760: "Medefaidrin",
93824: "Medefaidrin",
93847: "Medefaidrin",
93952: "Miao",
94031: "Miao",
94032: "Miao",
94033: "Miao",
94095: "Miao",
94099: "Miao",
94176: "Tangut",
94177: "Nushu",
94178: "Common",
94179: "Common",
94180: "Khitan_Small_Script",
94192: "Han",
94208: "Tangut",
100352: "Tangut",
101120: "Khitan_Small_Script",
101632: "Tangut",
110592: "Katakana",
110593: "Hiragana",
110928: "Hiragana",
110948: "Katakana",
110960: "Nushu",
113664: "Duployan",
113776: "Duployan",
113792: "Duployan",
113808: "Duployan",
113820: "Duployan",
113821: "Duployan",
113823: "Duployan",
113824: "Common",
118784: "Common",
119040: "Common",
119081: "Common",
119141: "Common",
119143: "Inherited",
119146: "Common",
119149: "Common",
119155: "Common",
119163: "Inherited",
119171: "Common",
119173: "Inherited",
119180: "Common",
119210: "Inherited",
119214: "Common",
119296: "Greek",
119362: "Greek",
119365: "Greek",
119520: "Common",
119552: "Common",
119648: "Common",
119808: "Common",
119894: "Common",
119966: "Common",
119970: "Common",
119973: "Common",
119977: "Common",
119982: "Common",
119995: "Common",
119997: "Common",
120005: "Common",
120071: "Common",
120077: "Common",
120086: "Common",
120094: "Common",
120123: "Common",
120128: "Common",
120134: "Common",
120138: "Common",
120146: "Common",
120488: "Common",
120513: "Common",
120514: "Common",
120539: "Common",
120540: "Common",
120571: "Common",
120572: "Common",
120597: "Common",
120598: "Common",
120629: "Common",
120630: "Common",
120655: "Common",
120656: "Common",
120687: "Common",
120688: "Common",
120713: "Common",
120714: "Common",
120745: "Common",
120746: "Common",
120771: "Common",
120772: "Common",
120782: "Common",
120832: "SignWriting",
121344: "SignWriting",
121399: "SignWriting",
121403: "SignWriting",
121453: "SignWriting",
121461: "SignWriting",
121462: "SignWriting",
121476: "SignWriting",
121477: "SignWriting",
121479: "SignWriting",
121499: "SignWriting",
121505: "SignWriting",
122880: "Glagolitic",
122888: "Glagolitic",
122907: "Glagolitic",
122915: "Glagolitic",
122918: "Glagolitic",
123136: "Nyiakeng_Puachue_Hmong",
123184: "Nyiakeng_Puachue_Hmong",
123191: "Nyiakeng_Puachue_Hmong",
123200: "Nyiakeng_Puachue_Hmong",
123214: "Nyiakeng_Puachue_Hmong",
123215: "Nyiakeng_Puachue_Hmong",
123584: "Wancho",
123628: "Wancho",
123632: "Wancho",
123647: "Wancho",
124928: "Mende_Kikakui",
125127: "Mende_Kikakui",
125136: "Mende_Kikakui",
125184: "Adlam",
125252: "Adlam",
125259: "Adlam",
125264: "Adlam",
125278: "Adlam",
126065: "Common",
126124: "Common",
126125: "Common",
126128: "Common",
126129: "Common",
126209: "Common",
126254: "Common",
126255: "Common",
126464: "Arabic",
126469: "Arabic",
126497: "Arabic",
126500: "Arabic",
126503: "Arabic",
126505: "Arabic",
126516: "Arabic",
126521: "Arabic",
126523: "Arabic",
126530: "Arabic",
126535: "Arabic",
126537: "Arabic",
126539: "Arabic",
126541: "Arabic",
126545: "Arabic",
126548: "Arabic",
126551: "Arabic",
126553: "Arabic",
126555: "Arabic",
126557: "Arabic",
126559: "Arabic",
126561: "Arabic",
126564: "Arabic",
126567: "Arabic",
126572: "Arabic",
126580: "Arabic",
126585: "Arabic",
126590: "Arabic",
126592: "Arabic",
126603: "Arabic",
126625: "Arabic",
126629: "Arabic",
126635: "Arabic",
126704: "Arabic",
126976: "Common",
127024: "Common",
127136: "Common",
127153: "Common",
127169: "Common",
127185: "Common",
127232: "Common",
127245: "Common",
127462: "Common",
127488: "Hiragana",
127489: "Common",
127504: "Common",
127552: "Common",
127568: "Common",
127584: "Common",
127744: "Common",
127995: "Common",
128000: "Common",
128736: "Common",
128752: "Common",
128768: "Common",
128896: "Common",
128992: "Common",
129024: "Common",
129040: "Common",
129104: "Common",
129120: "Common",
129168: "Common",
129200: "Common",
129280: "Common",
129402: "Common",
129485: "Common",
129632: "Common",
129648: "Common",
129656: "Common",
129664: "Common",
129680: "Common",
129712: "Common",
129728: "Common",
129744: "Common",
129792: "Common",
129940: "Common",
130032: "Common",
131072: "Han",
173824: "Han",
177984: "Han",
178208: "Han",
183984: "Han",
194560: "Han",
196608: "Han",
917505: "Common",
917536: "Common",
917760: "Inherited",
}
| scripts_to_script_start = {0: 'Common', 32: 'Common', 33: 'Common', 36: 'Common', 37: 'Common', 40: 'Common', 41: 'Common', 42: 'Common', 43: 'Common', 44: 'Common', 45: 'Common', 46: 'Common', 48: 'Common', 58: 'Common', 60: 'Common', 63: 'Common', 65: 'Latin', 91: 'Common', 92: 'Common', 93: 'Common', 94: 'Common', 95: 'Common', 96: 'Common', 97: 'Latin', 123: 'Common', 124: 'Common', 125: 'Common', 126: 'Common', 127: 'Common', 160: 'Common', 161: 'Common', 162: 'Common', 166: 'Common', 167: 'Common', 168: 'Common', 169: 'Common', 170: 'Latin', 171: 'Common', 172: 'Common', 173: 'Common', 174: 'Common', 175: 'Common', 176: 'Common', 177: 'Common', 178: 'Common', 180: 'Common', 181: 'Common', 182: 'Common', 184: 'Common', 185: 'Common', 186: 'Latin', 187: 'Common', 188: 'Common', 191: 'Common', 192: 'Latin', 215: 'Common', 216: 'Latin', 247: 'Common', 248: 'Latin', 443: 'Latin', 444: 'Latin', 448: 'Latin', 452: 'Latin', 660: 'Latin', 661: 'Latin', 688: 'Latin', 697: 'Common', 706: 'Common', 710: 'Common', 722: 'Common', 736: 'Latin', 741: 'Common', 746: 'Bopomofo', 748: 'Common', 749: 'Common', 750: 'Common', 751: 'Common', 768: 'Inherited', 880: 'Greek', 884: 'Common', 885: 'Greek', 886: 'Greek', 890: 'Greek', 891: 'Greek', 894: 'Common', 895: 'Greek', 900: 'Greek', 901: 'Common', 902: 'Greek', 903: 'Common', 904: 'Greek', 908: 'Greek', 910: 'Greek', 931: 'Greek', 994: 'Coptic', 1008: 'Greek', 1014: 'Greek', 1015: 'Greek', 1024: 'Cyrillic', 1154: 'Cyrillic', 1155: 'Cyrillic', 1157: 'Inherited', 1159: 'Cyrillic', 1160: 'Cyrillic', 1162: 'Cyrillic', 1329: 'Armenian', 1369: 'Armenian', 1370: 'Armenian', 1376: 'Armenian', 1417: 'Armenian', 1418: 'Armenian', 1421: 'Armenian', 1423: 'Armenian', 1425: 'Hebrew', 1470: 'Hebrew', 1471: 'Hebrew', 1472: 'Hebrew', 1473: 'Hebrew', 1475: 'Hebrew', 1476: 'Hebrew', 1478: 'Hebrew', 1479: 'Hebrew', 1488: 'Hebrew', 1519: 'Hebrew', 1523: 'Hebrew', 1536: 'Arabic', 1541: 'Common', 1542: 'Arabic', 1545: 'Arabic', 1547: 'Arabic', 1548: 'Common', 1549: 'Arabic', 1550: 'Arabic', 1552: 'Arabic', 1563: 'Common', 1564: 'Arabic', 1566: 'Arabic', 1567: 'Common', 1568: 'Arabic', 1600: 'Common', 1601: 'Arabic', 1611: 'Inherited', 1622: 'Arabic', 1632: 'Arabic', 1642: 'Arabic', 1646: 'Arabic', 1648: 'Inherited', 1649: 'Arabic', 1748: 'Arabic', 1749: 'Arabic', 1750: 'Arabic', 1757: 'Common', 1758: 'Arabic', 1759: 'Arabic', 1765: 'Arabic', 1767: 'Arabic', 1769: 'Arabic', 1770: 'Arabic', 1774: 'Arabic', 1776: 'Arabic', 1786: 'Arabic', 1789: 'Arabic', 1791: 'Arabic', 1792: 'Syriac', 1807: 'Syriac', 1808: 'Syriac', 1809: 'Syriac', 1810: 'Syriac', 1840: 'Syriac', 1869: 'Syriac', 1872: 'Arabic', 1920: 'Thaana', 1958: 'Thaana', 1969: 'Thaana', 1984: 'Nko', 1994: 'Nko', 2027: 'Nko', 2036: 'Nko', 2038: 'Nko', 2039: 'Nko', 2042: 'Nko', 2045: 'Nko', 2046: 'Nko', 2048: 'Samaritan', 2070: 'Samaritan', 2074: 'Samaritan', 2075: 'Samaritan', 2084: 'Samaritan', 2085: 'Samaritan', 2088: 'Samaritan', 2089: 'Samaritan', 2096: 'Samaritan', 2112: 'Mandaic', 2137: 'Mandaic', 2142: 'Mandaic', 2144: 'Syriac', 2208: 'Arabic', 2230: 'Arabic', 2259: 'Arabic', 2274: 'Common', 2275: 'Arabic', 2304: 'Devanagari', 2307: 'Devanagari', 2308: 'Devanagari', 2362: 'Devanagari', 2363: 'Devanagari', 2364: 'Devanagari', 2365: 'Devanagari', 2366: 'Devanagari', 2369: 'Devanagari', 2377: 'Devanagari', 2381: 'Devanagari', 2382: 'Devanagari', 2384: 'Devanagari', 2385: 'Inherited', 2389: 'Devanagari', 2392: 'Devanagari', 2402: 'Devanagari', 2404: 'Common', 2406: 'Devanagari', 2416: 'Devanagari', 2417: 'Devanagari', 2418: 'Devanagari', 2432: 'Bengali', 2433: 'Bengali', 2434: 'Bengali', 2437: 'Bengali', 2447: 'Bengali', 2451: 'Bengali', 2474: 'Bengali', 2482: 'Bengali', 2486: 'Bengali', 2492: 'Bengali', 2493: 'Bengali', 2494: 'Bengali', 2497: 'Bengali', 2503: 'Bengali', 2507: 'Bengali', 2509: 'Bengali', 2510: 'Bengali', 2519: 'Bengali', 2524: 'Bengali', 2527: 'Bengali', 2530: 'Bengali', 2534: 'Bengali', 2544: 'Bengali', 2546: 'Bengali', 2548: 'Bengali', 2554: 'Bengali', 2555: 'Bengali', 2556: 'Bengali', 2557: 'Bengali', 2558: 'Bengali', 2561: 'Gurmukhi', 2563: 'Gurmukhi', 2565: 'Gurmukhi', 2575: 'Gurmukhi', 2579: 'Gurmukhi', 2602: 'Gurmukhi', 2610: 'Gurmukhi', 2613: 'Gurmukhi', 2616: 'Gurmukhi', 2620: 'Gurmukhi', 2622: 'Gurmukhi', 2625: 'Gurmukhi', 2631: 'Gurmukhi', 2635: 'Gurmukhi', 2641: 'Gurmukhi', 2649: 'Gurmukhi', 2654: 'Gurmukhi', 2662: 'Gurmukhi', 2672: 'Gurmukhi', 2674: 'Gurmukhi', 2677: 'Gurmukhi', 2678: 'Gurmukhi', 2689: 'Gujarati', 2691: 'Gujarati', 2693: 'Gujarati', 2703: 'Gujarati', 2707: 'Gujarati', 2730: 'Gujarati', 2738: 'Gujarati', 2741: 'Gujarati', 2748: 'Gujarati', 2749: 'Gujarati', 2750: 'Gujarati', 2753: 'Gujarati', 2759: 'Gujarati', 2761: 'Gujarati', 2763: 'Gujarati', 2765: 'Gujarati', 2768: 'Gujarati', 2784: 'Gujarati', 2786: 'Gujarati', 2790: 'Gujarati', 2800: 'Gujarati', 2801: 'Gujarati', 2809: 'Gujarati', 2810: 'Gujarati', 2817: 'Oriya', 2818: 'Oriya', 2821: 'Oriya', 2831: 'Oriya', 2835: 'Oriya', 2858: 'Oriya', 2866: 'Oriya', 2869: 'Oriya', 2876: 'Oriya', 2877: 'Oriya', 2878: 'Oriya', 2879: 'Oriya', 2880: 'Oriya', 2881: 'Oriya', 2887: 'Oriya', 2891: 'Oriya', 2893: 'Oriya', 2901: 'Oriya', 2903: 'Oriya', 2908: 'Oriya', 2911: 'Oriya', 2914: 'Oriya', 2918: 'Oriya', 2928: 'Oriya', 2929: 'Oriya', 2930: 'Oriya', 2946: 'Tamil', 2947: 'Tamil', 2949: 'Tamil', 2958: 'Tamil', 2962: 'Tamil', 2969: 'Tamil', 2972: 'Tamil', 2974: 'Tamil', 2979: 'Tamil', 2984: 'Tamil', 2990: 'Tamil', 3006: 'Tamil', 3008: 'Tamil', 3009: 'Tamil', 3014: 'Tamil', 3018: 'Tamil', 3021: 'Tamil', 3024: 'Tamil', 3031: 'Tamil', 3046: 'Tamil', 3056: 'Tamil', 3059: 'Tamil', 3065: 'Tamil', 3066: 'Tamil', 3072: 'Telugu', 3073: 'Telugu', 3076: 'Telugu', 3077: 'Telugu', 3086: 'Telugu', 3090: 'Telugu', 3114: 'Telugu', 3133: 'Telugu', 3134: 'Telugu', 3137: 'Telugu', 3142: 'Telugu', 3146: 'Telugu', 3157: 'Telugu', 3160: 'Telugu', 3168: 'Telugu', 3170: 'Telugu', 3174: 'Telugu', 3191: 'Telugu', 3192: 'Telugu', 3199: 'Telugu', 3200: 'Kannada', 3201: 'Kannada', 3202: 'Kannada', 3204: 'Kannada', 3205: 'Kannada', 3214: 'Kannada', 3218: 'Kannada', 3242: 'Kannada', 3253: 'Kannada', 3260: 'Kannada', 3261: 'Kannada', 3262: 'Kannada', 3263: 'Kannada', 3264: 'Kannada', 3270: 'Kannada', 3271: 'Kannada', 3274: 'Kannada', 3276: 'Kannada', 3285: 'Kannada', 3294: 'Kannada', 3296: 'Kannada', 3298: 'Kannada', 3302: 'Kannada', 3313: 'Kannada', 3328: 'Malayalam', 3330: 'Malayalam', 3332: 'Malayalam', 3342: 'Malayalam', 3346: 'Malayalam', 3387: 'Malayalam', 3389: 'Malayalam', 3390: 'Malayalam', 3393: 'Malayalam', 3398: 'Malayalam', 3402: 'Malayalam', 3405: 'Malayalam', 3406: 'Malayalam', 3407: 'Malayalam', 3412: 'Malayalam', 3415: 'Malayalam', 3416: 'Malayalam', 3423: 'Malayalam', 3426: 'Malayalam', 3430: 'Malayalam', 3440: 'Malayalam', 3449: 'Malayalam', 3450: 'Malayalam', 3457: 'Sinhala', 3458: 'Sinhala', 3461: 'Sinhala', 3482: 'Sinhala', 3507: 'Sinhala', 3517: 'Sinhala', 3520: 'Sinhala', 3530: 'Sinhala', 3535: 'Sinhala', 3538: 'Sinhala', 3542: 'Sinhala', 3544: 'Sinhala', 3558: 'Sinhala', 3570: 'Sinhala', 3572: 'Sinhala', 3585: 'Thai', 3633: 'Thai', 3634: 'Thai', 3636: 'Thai', 3647: 'Common', 3648: 'Thai', 3654: 'Thai', 3655: 'Thai', 3663: 'Thai', 3664: 'Thai', 3674: 'Thai', 3713: 'Lao', 3716: 'Lao', 3718: 'Lao', 3724: 'Lao', 3749: 'Lao', 3751: 'Lao', 3761: 'Lao', 3762: 'Lao', 3764: 'Lao', 3773: 'Lao', 3776: 'Lao', 3782: 'Lao', 3784: 'Lao', 3792: 'Lao', 3804: 'Lao', 3840: 'Tibetan', 3841: 'Tibetan', 3844: 'Tibetan', 3859: 'Tibetan', 3860: 'Tibetan', 3861: 'Tibetan', 3864: 'Tibetan', 3866: 'Tibetan', 3872: 'Tibetan', 3882: 'Tibetan', 3892: 'Tibetan', 3893: 'Tibetan', 3894: 'Tibetan', 3895: 'Tibetan', 3896: 'Tibetan', 3897: 'Tibetan', 3898: 'Tibetan', 3899: 'Tibetan', 3900: 'Tibetan', 3901: 'Tibetan', 3902: 'Tibetan', 3904: 'Tibetan', 3913: 'Tibetan', 3953: 'Tibetan', 3967: 'Tibetan', 3968: 'Tibetan', 3973: 'Tibetan', 3974: 'Tibetan', 3976: 'Tibetan', 3981: 'Tibetan', 3993: 'Tibetan', 4030: 'Tibetan', 4038: 'Tibetan', 4039: 'Tibetan', 4046: 'Tibetan', 4048: 'Tibetan', 4053: 'Common', 4057: 'Tibetan', 4096: 'Myanmar', 4139: 'Myanmar', 4141: 'Myanmar', 4145: 'Myanmar', 4146: 'Myanmar', 4152: 'Myanmar', 4153: 'Myanmar', 4155: 'Myanmar', 4157: 'Myanmar', 4159: 'Myanmar', 4160: 'Myanmar', 4170: 'Myanmar', 4176: 'Myanmar', 4182: 'Myanmar', 4184: 'Myanmar', 4186: 'Myanmar', 4190: 'Myanmar', 4193: 'Myanmar', 4194: 'Myanmar', 4197: 'Myanmar', 4199: 'Myanmar', 4206: 'Myanmar', 4209: 'Myanmar', 4213: 'Myanmar', 4226: 'Myanmar', 4227: 'Myanmar', 4229: 'Myanmar', 4231: 'Myanmar', 4237: 'Myanmar', 4238: 'Myanmar', 4239: 'Myanmar', 4240: 'Myanmar', 4250: 'Myanmar', 4253: 'Myanmar', 4254: 'Myanmar', 4256: 'Georgian', 4295: 'Georgian', 4301: 'Georgian', 4304: 'Georgian', 4347: 'Common', 4348: 'Georgian', 4349: 'Georgian', 4352: 'Hangul', 4608: 'Ethiopic', 4682: 'Ethiopic', 4688: 'Ethiopic', 4696: 'Ethiopic', 4698: 'Ethiopic', 4704: 'Ethiopic', 4746: 'Ethiopic', 4752: 'Ethiopic', 4786: 'Ethiopic', 4792: 'Ethiopic', 4800: 'Ethiopic', 4802: 'Ethiopic', 4808: 'Ethiopic', 4824: 'Ethiopic', 4882: 'Ethiopic', 4888: 'Ethiopic', 4957: 'Ethiopic', 4960: 'Ethiopic', 4969: 'Ethiopic', 4992: 'Ethiopic', 5008: 'Ethiopic', 5024: 'Cherokee', 5112: 'Cherokee', 5120: 'Canadian_Aboriginal', 5121: 'Canadian_Aboriginal', 5741: 'Canadian_Aboriginal', 5742: 'Canadian_Aboriginal', 5743: 'Canadian_Aboriginal', 5760: 'Ogham', 5761: 'Ogham', 5787: 'Ogham', 5788: 'Ogham', 5792: 'Runic', 5867: 'Common', 5870: 'Runic', 5873: 'Runic', 5888: 'Tagalog', 5902: 'Tagalog', 5906: 'Tagalog', 5920: 'Hanunoo', 5938: 'Hanunoo', 5941: 'Common', 5952: 'Buhid', 5970: 'Buhid', 5984: 'Tagbanwa', 5998: 'Tagbanwa', 6002: 'Tagbanwa', 6016: 'Khmer', 6068: 'Khmer', 6070: 'Khmer', 6071: 'Khmer', 6078: 'Khmer', 6086: 'Khmer', 6087: 'Khmer', 6089: 'Khmer', 6100: 'Khmer', 6103: 'Khmer', 6104: 'Khmer', 6107: 'Khmer', 6108: 'Khmer', 6109: 'Khmer', 6112: 'Khmer', 6128: 'Khmer', 6144: 'Mongolian', 6146: 'Common', 6148: 'Mongolian', 6149: 'Common', 6150: 'Mongolian', 6151: 'Mongolian', 6155: 'Mongolian', 6158: 'Mongolian', 6160: 'Mongolian', 6176: 'Mongolian', 6211: 'Mongolian', 6212: 'Mongolian', 6272: 'Mongolian', 6277: 'Mongolian', 6279: 'Mongolian', 6313: 'Mongolian', 6314: 'Mongolian', 6320: 'Canadian_Aboriginal', 6400: 'Limbu', 6432: 'Limbu', 6435: 'Limbu', 6439: 'Limbu', 6441: 'Limbu', 6448: 'Limbu', 6450: 'Limbu', 6451: 'Limbu', 6457: 'Limbu', 6464: 'Limbu', 6468: 'Limbu', 6470: 'Limbu', 6480: 'Tai_Le', 6512: 'Tai_Le', 6528: 'New_Tai_Lue', 6576: 'New_Tai_Lue', 6608: 'New_Tai_Lue', 6618: 'New_Tai_Lue', 6622: 'New_Tai_Lue', 6624: 'Khmer', 6656: 'Buginese', 6679: 'Buginese', 6681: 'Buginese', 6683: 'Buginese', 6686: 'Buginese', 6688: 'Tai_Tham', 6741: 'Tai_Tham', 6742: 'Tai_Tham', 6743: 'Tai_Tham', 6744: 'Tai_Tham', 6752: 'Tai_Tham', 6753: 'Tai_Tham', 6754: 'Tai_Tham', 6755: 'Tai_Tham', 6757: 'Tai_Tham', 6765: 'Tai_Tham', 6771: 'Tai_Tham', 6783: 'Tai_Tham', 6784: 'Tai_Tham', 6800: 'Tai_Tham', 6816: 'Tai_Tham', 6823: 'Tai_Tham', 6824: 'Tai_Tham', 6832: 'Inherited', 6846: 'Inherited', 6847: 'Inherited', 6912: 'Balinese', 6916: 'Balinese', 6917: 'Balinese', 6964: 'Balinese', 6965: 'Balinese', 6966: 'Balinese', 6971: 'Balinese', 6972: 'Balinese', 6973: 'Balinese', 6978: 'Balinese', 6979: 'Balinese', 6981: 'Balinese', 6992: 'Balinese', 7002: 'Balinese', 7009: 'Balinese', 7019: 'Balinese', 7028: 'Balinese', 7040: 'Sundanese', 7042: 'Sundanese', 7043: 'Sundanese', 7073: 'Sundanese', 7074: 'Sundanese', 7078: 'Sundanese', 7080: 'Sundanese', 7082: 'Sundanese', 7083: 'Sundanese', 7086: 'Sundanese', 7088: 'Sundanese', 7098: 'Sundanese', 7104: 'Batak', 7142: 'Batak', 7143: 'Batak', 7144: 'Batak', 7146: 'Batak', 7149: 'Batak', 7150: 'Batak', 7151: 'Batak', 7154: 'Batak', 7164: 'Batak', 7168: 'Lepcha', 7204: 'Lepcha', 7212: 'Lepcha', 7220: 'Lepcha', 7222: 'Lepcha', 7227: 'Lepcha', 7232: 'Lepcha', 7245: 'Lepcha', 7248: 'Ol_Chiki', 7258: 'Ol_Chiki', 7288: 'Ol_Chiki', 7294: 'Ol_Chiki', 7296: 'Cyrillic', 7312: 'Georgian', 7357: 'Georgian', 7360: 'Sundanese', 7376: 'Inherited', 7379: 'Common', 7380: 'Inherited', 7393: 'Common', 7394: 'Inherited', 7401: 'Common', 7405: 'Inherited', 7406: 'Common', 7412: 'Inherited', 7413: 'Common', 7415: 'Common', 7416: 'Inherited', 7418: 'Common', 7424: 'Latin', 7462: 'Greek', 7467: 'Cyrillic', 7468: 'Latin', 7517: 'Greek', 7522: 'Latin', 7526: 'Greek', 7531: 'Latin', 7544: 'Cyrillic', 7545: 'Latin', 7579: 'Latin', 7615: 'Greek', 7616: 'Inherited', 7675: 'Inherited', 7680: 'Latin', 7936: 'Greek', 7960: 'Greek', 7968: 'Greek', 8008: 'Greek', 8016: 'Greek', 8025: 'Greek', 8027: 'Greek', 8029: 'Greek', 8031: 'Greek', 8064: 'Greek', 8118: 'Greek', 8125: 'Greek', 8126: 'Greek', 8127: 'Greek', 8130: 'Greek', 8134: 'Greek', 8141: 'Greek', 8144: 'Greek', 8150: 'Greek', 8157: 'Greek', 8160: 'Greek', 8173: 'Greek', 8178: 'Greek', 8182: 'Greek', 8189: 'Greek', 8192: 'Common', 8203: 'Common', 8204: 'Inherited', 8206: 'Common', 8208: 'Common', 8214: 'Common', 8216: 'Common', 8217: 'Common', 8218: 'Common', 8219: 'Common', 8221: 'Common', 8222: 'Common', 8223: 'Common', 8224: 'Common', 8232: 'Common', 8233: 'Common', 8234: 'Common', 8239: 'Common', 8240: 'Common', 8249: 'Common', 8250: 'Common', 8251: 'Common', 8255: 'Common', 8257: 'Common', 8260: 'Common', 8261: 'Common', 8262: 'Common', 8263: 'Common', 8274: 'Common', 8275: 'Common', 8276: 'Common', 8277: 'Common', 8287: 'Common', 8288: 'Common', 8294: 'Common', 8304: 'Common', 8305: 'Latin', 8308: 'Common', 8314: 'Common', 8317: 'Common', 8318: 'Common', 8319: 'Latin', 8320: 'Common', 8330: 'Common', 8333: 'Common', 8334: 'Common', 8336: 'Latin', 8352: 'Common', 8400: 'Inherited', 8413: 'Inherited', 8417: 'Inherited', 8418: 'Inherited', 8421: 'Inherited', 8448: 'Common', 8450: 'Common', 8451: 'Common', 8455: 'Common', 8456: 'Common', 8458: 'Common', 8468: 'Common', 8469: 'Common', 8470: 'Common', 8472: 'Common', 8473: 'Common', 8478: 'Common', 8484: 'Common', 8485: 'Common', 8486: 'Greek', 8487: 'Common', 8488: 'Common', 8489: 'Common', 8490: 'Latin', 8492: 'Common', 8494: 'Common', 8495: 'Common', 8498: 'Latin', 8499: 'Common', 8501: 'Common', 8505: 'Common', 8506: 'Common', 8508: 'Common', 8512: 'Common', 8517: 'Common', 8522: 'Common', 8523: 'Common', 8524: 'Common', 8526: 'Latin', 8527: 'Common', 8528: 'Common', 8544: 'Latin', 8579: 'Latin', 8581: 'Latin', 8585: 'Common', 8586: 'Common', 8592: 'Common', 8597: 'Common', 8602: 'Common', 8604: 'Common', 8608: 'Common', 8609: 'Common', 8611: 'Common', 8612: 'Common', 8614: 'Common', 8615: 'Common', 8622: 'Common', 8623: 'Common', 8654: 'Common', 8656: 'Common', 8658: 'Common', 8659: 'Common', 8660: 'Common', 8661: 'Common', 8692: 'Common', 8960: 'Common', 8968: 'Common', 8969: 'Common', 8970: 'Common', 8971: 'Common', 8972: 'Common', 8992: 'Common', 8994: 'Common', 9001: 'Common', 9002: 'Common', 9003: 'Common', 9084: 'Common', 9085: 'Common', 9115: 'Common', 9140: 'Common', 9180: 'Common', 9186: 'Common', 9280: 'Common', 9312: 'Common', 9372: 'Common', 9450: 'Common', 9472: 'Common', 9655: 'Common', 9656: 'Common', 9665: 'Common', 9666: 'Common', 9720: 'Common', 9728: 'Common', 9839: 'Common', 9840: 'Common', 10088: 'Common', 10089: 'Common', 10090: 'Common', 10091: 'Common', 10092: 'Common', 10093: 'Common', 10094: 'Common', 10095: 'Common', 10096: 'Common', 10097: 'Common', 10098: 'Common', 10099: 'Common', 10100: 'Common', 10101: 'Common', 10102: 'Common', 10132: 'Common', 10176: 'Common', 10181: 'Common', 10182: 'Common', 10183: 'Common', 10214: 'Common', 10215: 'Common', 10216: 'Common', 10217: 'Common', 10218: 'Common', 10219: 'Common', 10220: 'Common', 10221: 'Common', 10222: 'Common', 10223: 'Common', 10224: 'Common', 10240: 'Braille', 10496: 'Common', 10627: 'Common', 10628: 'Common', 10629: 'Common', 10630: 'Common', 10631: 'Common', 10632: 'Common', 10633: 'Common', 10634: 'Common', 10635: 'Common', 10636: 'Common', 10637: 'Common', 10638: 'Common', 10639: 'Common', 10640: 'Common', 10641: 'Common', 10642: 'Common', 10643: 'Common', 10644: 'Common', 10645: 'Common', 10646: 'Common', 10647: 'Common', 10648: 'Common', 10649: 'Common', 10712: 'Common', 10713: 'Common', 10714: 'Common', 10715: 'Common', 10716: 'Common', 10748: 'Common', 10749: 'Common', 10750: 'Common', 11008: 'Common', 11056: 'Common', 11077: 'Common', 11079: 'Common', 11085: 'Common', 11126: 'Common', 11159: 'Common', 11264: 'Glagolitic', 11312: 'Glagolitic', 11360: 'Latin', 11388: 'Latin', 11390: 'Latin', 11392: 'Coptic', 11493: 'Coptic', 11499: 'Coptic', 11503: 'Coptic', 11506: 'Coptic', 11513: 'Coptic', 11517: 'Coptic', 11518: 'Coptic', 11520: 'Georgian', 11559: 'Georgian', 11565: 'Georgian', 11568: 'Tifinagh', 11631: 'Tifinagh', 11632: 'Tifinagh', 11647: 'Tifinagh', 11648: 'Ethiopic', 11680: 'Ethiopic', 11688: 'Ethiopic', 11696: 'Ethiopic', 11704: 'Ethiopic', 11712: 'Ethiopic', 11720: 'Ethiopic', 11728: 'Ethiopic', 11736: 'Ethiopic', 11744: 'Cyrillic', 11776: 'Common', 11778: 'Common', 11779: 'Common', 11780: 'Common', 11781: 'Common', 11782: 'Common', 11785: 'Common', 11786: 'Common', 11787: 'Common', 11788: 'Common', 11789: 'Common', 11790: 'Common', 11799: 'Common', 11800: 'Common', 11802: 'Common', 11803: 'Common', 11804: 'Common', 11805: 'Common', 11806: 'Common', 11808: 'Common', 11809: 'Common', 11810: 'Common', 11811: 'Common', 11812: 'Common', 11813: 'Common', 11814: 'Common', 11815: 'Common', 11816: 'Common', 11817: 'Common', 11818: 'Common', 11823: 'Common', 11824: 'Common', 11834: 'Common', 11836: 'Common', 11840: 'Common', 11841: 'Common', 11842: 'Common', 11843: 'Common', 11856: 'Common', 11858: 'Common', 11904: 'Han', 11931: 'Han', 12032: 'Han', 12272: 'Common', 12288: 'Common', 12289: 'Common', 12292: 'Common', 12293: 'Han', 12294: 'Common', 12295: 'Han', 12296: 'Common', 12297: 'Common', 12298: 'Common', 12299: 'Common', 12300: 'Common', 12301: 'Common', 12302: 'Common', 12303: 'Common', 12304: 'Common', 12305: 'Common', 12306: 'Common', 12308: 'Common', 12309: 'Common', 12310: 'Common', 12311: 'Common', 12312: 'Common', 12313: 'Common', 12314: 'Common', 12315: 'Common', 12316: 'Common', 12317: 'Common', 12318: 'Common', 12320: 'Common', 12321: 'Han', 12330: 'Inherited', 12334: 'Hangul', 12336: 'Common', 12337: 'Common', 12342: 'Common', 12344: 'Han', 12347: 'Han', 12348: 'Common', 12349: 'Common', 12350: 'Common', 12353: 'Hiragana', 12441: 'Inherited', 12443: 'Common', 12445: 'Hiragana', 12447: 'Hiragana', 12448: 'Common', 12449: 'Katakana', 12539: 'Common', 12540: 'Common', 12541: 'Katakana', 12543: 'Katakana', 12549: 'Bopomofo', 12593: 'Hangul', 12688: 'Common', 12690: 'Common', 12694: 'Common', 12704: 'Bopomofo', 12736: 'Common', 12784: 'Katakana', 12800: 'Hangul', 12832: 'Common', 12842: 'Common', 12872: 'Common', 12880: 'Common', 12881: 'Common', 12896: 'Hangul', 12927: 'Common', 12928: 'Common', 12938: 'Common', 12977: 'Common', 12992: 'Common', 13008: 'Katakana', 13055: 'Common', 13056: 'Katakana', 13144: 'Common', 13312: 'Han', 19904: 'Common', 19968: 'Han', 40960: 'Yi', 40981: 'Yi', 40982: 'Yi', 42128: 'Yi', 42192: 'Lisu', 42232: 'Lisu', 42238: 'Lisu', 42240: 'Vai', 42508: 'Vai', 42509: 'Vai', 42512: 'Vai', 42528: 'Vai', 42538: 'Vai', 42560: 'Cyrillic', 42606: 'Cyrillic', 42607: 'Cyrillic', 42608: 'Cyrillic', 42611: 'Cyrillic', 42612: 'Cyrillic', 42622: 'Cyrillic', 42623: 'Cyrillic', 42624: 'Cyrillic', 42652: 'Cyrillic', 42654: 'Cyrillic', 42656: 'Bamum', 42726: 'Bamum', 42736: 'Bamum', 42738: 'Bamum', 42752: 'Common', 42775: 'Common', 42784: 'Common', 42786: 'Latin', 42864: 'Latin', 42865: 'Latin', 42888: 'Common', 42889: 'Common', 42891: 'Latin', 42895: 'Latin', 42896: 'Latin', 42946: 'Latin', 42997: 'Latin', 42999: 'Latin', 43000: 'Latin', 43002: 'Latin', 43003: 'Latin', 43008: 'Syloti_Nagri', 43010: 'Syloti_Nagri', 43011: 'Syloti_Nagri', 43014: 'Syloti_Nagri', 43015: 'Syloti_Nagri', 43019: 'Syloti_Nagri', 43020: 'Syloti_Nagri', 43043: 'Syloti_Nagri', 43045: 'Syloti_Nagri', 43047: 'Syloti_Nagri', 43048: 'Syloti_Nagri', 43052: 'Syloti_Nagri', 43056: 'Common', 43062: 'Common', 43064: 'Common', 43065: 'Common', 43072: 'Phags_Pa', 43124: 'Phags_Pa', 43136: 'Saurashtra', 43138: 'Saurashtra', 43188: 'Saurashtra', 43204: 'Saurashtra', 43214: 'Saurashtra', 43216: 'Saurashtra', 43232: 'Devanagari', 43250: 'Devanagari', 43256: 'Devanagari', 43259: 'Devanagari', 43260: 'Devanagari', 43261: 'Devanagari', 43263: 'Devanagari', 43264: 'Kayah_Li', 43274: 'Kayah_Li', 43302: 'Kayah_Li', 43310: 'Common', 43311: 'Kayah_Li', 43312: 'Rejang', 43335: 'Rejang', 43346: 'Rejang', 43359: 'Rejang', 43360: 'Hangul', 43392: 'Javanese', 43395: 'Javanese', 43396: 'Javanese', 43443: 'Javanese', 43444: 'Javanese', 43446: 'Javanese', 43450: 'Javanese', 43452: 'Javanese', 43454: 'Javanese', 43457: 'Javanese', 43471: 'Common', 43472: 'Javanese', 43486: 'Javanese', 43488: 'Myanmar', 43493: 'Myanmar', 43494: 'Myanmar', 43495: 'Myanmar', 43504: 'Myanmar', 43514: 'Myanmar', 43520: 'Cham', 43561: 'Cham', 43567: 'Cham', 43569: 'Cham', 43571: 'Cham', 43573: 'Cham', 43584: 'Cham', 43587: 'Cham', 43588: 'Cham', 43596: 'Cham', 43597: 'Cham', 43600: 'Cham', 43612: 'Cham', 43616: 'Myanmar', 43632: 'Myanmar', 43633: 'Myanmar', 43639: 'Myanmar', 43642: 'Myanmar', 43643: 'Myanmar', 43644: 'Myanmar', 43645: 'Myanmar', 43646: 'Myanmar', 43648: 'Tai_Viet', 43696: 'Tai_Viet', 43697: 'Tai_Viet', 43698: 'Tai_Viet', 43701: 'Tai_Viet', 43703: 'Tai_Viet', 43705: 'Tai_Viet', 43710: 'Tai_Viet', 43712: 'Tai_Viet', 43713: 'Tai_Viet', 43714: 'Tai_Viet', 43739: 'Tai_Viet', 43741: 'Tai_Viet', 43742: 'Tai_Viet', 43744: 'Meetei_Mayek', 43755: 'Meetei_Mayek', 43756: 'Meetei_Mayek', 43758: 'Meetei_Mayek', 43760: 'Meetei_Mayek', 43762: 'Meetei_Mayek', 43763: 'Meetei_Mayek', 43765: 'Meetei_Mayek', 43766: 'Meetei_Mayek', 43777: 'Ethiopic', 43785: 'Ethiopic', 43793: 'Ethiopic', 43808: 'Ethiopic', 43816: 'Ethiopic', 43824: 'Latin', 43867: 'Common', 43868: 'Latin', 43872: 'Latin', 43877: 'Greek', 43878: 'Latin', 43881: 'Latin', 43882: 'Common', 43888: 'Cherokee', 43968: 'Meetei_Mayek', 44003: 'Meetei_Mayek', 44005: 'Meetei_Mayek', 44006: 'Meetei_Mayek', 44008: 'Meetei_Mayek', 44009: 'Meetei_Mayek', 44011: 'Meetei_Mayek', 44012: 'Meetei_Mayek', 44013: 'Meetei_Mayek', 44016: 'Meetei_Mayek', 44032: 'Hangul', 55216: 'Hangul', 55243: 'Hangul', 63744: 'Han', 64112: 'Han', 64256: 'Latin', 64275: 'Armenian', 64285: 'Hebrew', 64286: 'Hebrew', 64287: 'Hebrew', 64297: 'Hebrew', 64298: 'Hebrew', 64312: 'Hebrew', 64318: 'Hebrew', 64320: 'Hebrew', 64323: 'Hebrew', 64326: 'Hebrew', 64336: 'Arabic', 64434: 'Arabic', 64467: 'Arabic', 64830: 'Common', 64831: 'Common', 64848: 'Arabic', 64914: 'Arabic', 65008: 'Arabic', 65020: 'Arabic', 65021: 'Arabic', 65024: 'Inherited', 65040: 'Common', 65047: 'Common', 65048: 'Common', 65049: 'Common', 65056: 'Inherited', 65070: 'Cyrillic', 65072: 'Common', 65073: 'Common', 65075: 'Common', 65077: 'Common', 65078: 'Common', 65079: 'Common', 65080: 'Common', 65081: 'Common', 65082: 'Common', 65083: 'Common', 65084: 'Common', 65085: 'Common', 65086: 'Common', 65087: 'Common', 65088: 'Common', 65089: 'Common', 65090: 'Common', 65091: 'Common', 65092: 'Common', 65093: 'Common', 65095: 'Common', 65096: 'Common', 65097: 'Common', 65101: 'Common', 65104: 'Common', 65108: 'Common', 65112: 'Common', 65113: 'Common', 65114: 'Common', 65115: 'Common', 65116: 'Common', 65117: 'Common', 65118: 'Common', 65119: 'Common', 65122: 'Common', 65123: 'Common', 65124: 'Common', 65128: 'Common', 65129: 'Common', 65130: 'Common', 65136: 'Arabic', 65142: 'Arabic', 65279: 'Common', 65281: 'Common', 65284: 'Common', 65285: 'Common', 65288: 'Common', 65289: 'Common', 65290: 'Common', 65291: 'Common', 65292: 'Common', 65293: 'Common', 65294: 'Common', 65296: 'Common', 65306: 'Common', 65308: 'Common', 65311: 'Common', 65313: 'Latin', 65339: 'Common', 65340: 'Common', 65341: 'Common', 65342: 'Common', 65343: 'Common', 65344: 'Common', 65345: 'Latin', 65371: 'Common', 65372: 'Common', 65373: 'Common', 65374: 'Common', 65375: 'Common', 65376: 'Common', 65377: 'Common', 65378: 'Common', 65379: 'Common', 65380: 'Common', 65382: 'Katakana', 65392: 'Common', 65393: 'Katakana', 65438: 'Common', 65440: 'Hangul', 65474: 'Hangul', 65482: 'Hangul', 65490: 'Hangul', 65498: 'Hangul', 65504: 'Common', 65506: 'Common', 65507: 'Common', 65508: 'Common', 65509: 'Common', 65512: 'Common', 65513: 'Common', 65517: 'Common', 65529: 'Common', 65532: 'Common', 65536: 'Linear_B', 65549: 'Linear_B', 65576: 'Linear_B', 65596: 'Linear_B', 65599: 'Linear_B', 65616: 'Linear_B', 65664: 'Linear_B', 65792: 'Common', 65799: 'Common', 65847: 'Common', 65856: 'Greek', 65909: 'Greek', 65913: 'Greek', 65930: 'Greek', 65932: 'Greek', 65936: 'Common', 65952: 'Greek', 66000: 'Common', 66045: 'Inherited', 66176: 'Lycian', 66208: 'Carian', 66272: 'Inherited', 66273: 'Common', 66304: 'Old_Italic', 66336: 'Old_Italic', 66349: 'Old_Italic', 66352: 'Gothic', 66369: 'Gothic', 66370: 'Gothic', 66378: 'Gothic', 66384: 'Old_Permic', 66422: 'Old_Permic', 66432: 'Ugaritic', 66463: 'Ugaritic', 66464: 'Old_Persian', 66504: 'Old_Persian', 66512: 'Old_Persian', 66513: 'Old_Persian', 66560: 'Deseret', 66640: 'Shavian', 66688: 'Osmanya', 66720: 'Osmanya', 66736: 'Osage', 66776: 'Osage', 66816: 'Elbasan', 66864: 'Caucasian_Albanian', 66927: 'Caucasian_Albanian', 67072: 'Linear_A', 67392: 'Linear_A', 67424: 'Linear_A', 67584: 'Cypriot', 67592: 'Cypriot', 67594: 'Cypriot', 67639: 'Cypriot', 67644: 'Cypriot', 67647: 'Cypriot', 67648: 'Imperial_Aramaic', 67671: 'Imperial_Aramaic', 67672: 'Imperial_Aramaic', 67680: 'Palmyrene', 67703: 'Palmyrene', 67705: 'Palmyrene', 67712: 'Nabataean', 67751: 'Nabataean', 67808: 'Hatran', 67828: 'Hatran', 67835: 'Hatran', 67840: 'Phoenician', 67862: 'Phoenician', 67871: 'Phoenician', 67872: 'Lydian', 67903: 'Lydian', 67968: 'Meroitic_Hieroglyphs', 68000: 'Meroitic_Cursive', 68028: 'Meroitic_Cursive', 68030: 'Meroitic_Cursive', 68032: 'Meroitic_Cursive', 68050: 'Meroitic_Cursive', 68096: 'Kharoshthi', 68097: 'Kharoshthi', 68101: 'Kharoshthi', 68108: 'Kharoshthi', 68112: 'Kharoshthi', 68117: 'Kharoshthi', 68121: 'Kharoshthi', 68152: 'Kharoshthi', 68159: 'Kharoshthi', 68160: 'Kharoshthi', 68176: 'Kharoshthi', 68192: 'Old_South_Arabian', 68221: 'Old_South_Arabian', 68223: 'Old_South_Arabian', 68224: 'Old_North_Arabian', 68253: 'Old_North_Arabian', 68288: 'Manichaean', 68296: 'Manichaean', 68297: 'Manichaean', 68325: 'Manichaean', 68331: 'Manichaean', 68336: 'Manichaean', 68352: 'Avestan', 68409: 'Avestan', 68416: 'Inscriptional_Parthian', 68440: 'Inscriptional_Parthian', 68448: 'Inscriptional_Pahlavi', 68472: 'Inscriptional_Pahlavi', 68480: 'Psalter_Pahlavi', 68505: 'Psalter_Pahlavi', 68521: 'Psalter_Pahlavi', 68608: 'Old_Turkic', 68736: 'Old_Hungarian', 68800: 'Old_Hungarian', 68858: 'Old_Hungarian', 68864: 'Hanifi_Rohingya', 68900: 'Hanifi_Rohingya', 68912: 'Hanifi_Rohingya', 69216: 'Arabic', 69248: 'Yezidi', 69291: 'Yezidi', 69293: 'Yezidi', 69296: 'Yezidi', 69376: 'Old_Sogdian', 69405: 'Old_Sogdian', 69415: 'Old_Sogdian', 69424: 'Sogdian', 69446: 'Sogdian', 69457: 'Sogdian', 69461: 'Sogdian', 69552: 'Chorasmian', 69573: 'Chorasmian', 69600: 'Elymaic', 69632: 'Brahmi', 69633: 'Brahmi', 69634: 'Brahmi', 69635: 'Brahmi', 69688: 'Brahmi', 69703: 'Brahmi', 69714: 'Brahmi', 69734: 'Brahmi', 69759: 'Brahmi', 69760: 'Kaithi', 69762: 'Kaithi', 69763: 'Kaithi', 69808: 'Kaithi', 69811: 'Kaithi', 69815: 'Kaithi', 69817: 'Kaithi', 69819: 'Kaithi', 69821: 'Kaithi', 69822: 'Kaithi', 69837: 'Kaithi', 69840: 'Sora_Sompeng', 69872: 'Sora_Sompeng', 69888: 'Chakma', 69891: 'Chakma', 69927: 'Chakma', 69932: 'Chakma', 69933: 'Chakma', 69942: 'Chakma', 69952: 'Chakma', 69956: 'Chakma', 69957: 'Chakma', 69959: 'Chakma', 69968: 'Mahajani', 70003: 'Mahajani', 70004: 'Mahajani', 70006: 'Mahajani', 70016: 'Sharada', 70018: 'Sharada', 70019: 'Sharada', 70067: 'Sharada', 70070: 'Sharada', 70079: 'Sharada', 70081: 'Sharada', 70085: 'Sharada', 70089: 'Sharada', 70093: 'Sharada', 70094: 'Sharada', 70095: 'Sharada', 70096: 'Sharada', 70106: 'Sharada', 70107: 'Sharada', 70108: 'Sharada', 70109: 'Sharada', 70113: 'Sinhala', 70144: 'Khojki', 70163: 'Khojki', 70188: 'Khojki', 70191: 'Khojki', 70194: 'Khojki', 70196: 'Khojki', 70197: 'Khojki', 70198: 'Khojki', 70200: 'Khojki', 70206: 'Khojki', 70272: 'Multani', 70280: 'Multani', 70282: 'Multani', 70287: 'Multani', 70303: 'Multani', 70313: 'Multani', 70320: 'Khudawadi', 70367: 'Khudawadi', 70368: 'Khudawadi', 70371: 'Khudawadi', 70384: 'Khudawadi', 70400: 'Grantha', 70402: 'Grantha', 70405: 'Grantha', 70415: 'Grantha', 70419: 'Grantha', 70442: 'Grantha', 70450: 'Grantha', 70453: 'Grantha', 70459: 'Inherited', 70460: 'Grantha', 70461: 'Grantha', 70462: 'Grantha', 70464: 'Grantha', 70465: 'Grantha', 70471: 'Grantha', 70475: 'Grantha', 70480: 'Grantha', 70487: 'Grantha', 70493: 'Grantha', 70498: 'Grantha', 70502: 'Grantha', 70512: 'Grantha', 70656: 'Newa', 70709: 'Newa', 70712: 'Newa', 70720: 'Newa', 70722: 'Newa', 70725: 'Newa', 70726: 'Newa', 70727: 'Newa', 70731: 'Newa', 70736: 'Newa', 70746: 'Newa', 70749: 'Newa', 70750: 'Newa', 70751: 'Newa', 70784: 'Tirhuta', 70832: 'Tirhuta', 70835: 'Tirhuta', 70841: 'Tirhuta', 70842: 'Tirhuta', 70843: 'Tirhuta', 70847: 'Tirhuta', 70849: 'Tirhuta', 70850: 'Tirhuta', 70852: 'Tirhuta', 70854: 'Tirhuta', 70855: 'Tirhuta', 70864: 'Tirhuta', 71040: 'Siddham', 71087: 'Siddham', 71090: 'Siddham', 71096: 'Siddham', 71100: 'Siddham', 71102: 'Siddham', 71103: 'Siddham', 71105: 'Siddham', 71128: 'Siddham', 71132: 'Siddham', 71168: 'Modi', 71216: 'Modi', 71219: 'Modi', 71227: 'Modi', 71229: 'Modi', 71230: 'Modi', 71231: 'Modi', 71233: 'Modi', 71236: 'Modi', 71248: 'Modi', 71264: 'Mongolian', 71296: 'Takri', 71339: 'Takri', 71340: 'Takri', 71341: 'Takri', 71342: 'Takri', 71344: 'Takri', 71350: 'Takri', 71351: 'Takri', 71352: 'Takri', 71360: 'Takri', 71424: 'Ahom', 71453: 'Ahom', 71456: 'Ahom', 71458: 'Ahom', 71462: 'Ahom', 71463: 'Ahom', 71472: 'Ahom', 71482: 'Ahom', 71484: 'Ahom', 71487: 'Ahom', 71680: 'Dogra', 71724: 'Dogra', 71727: 'Dogra', 71736: 'Dogra', 71737: 'Dogra', 71739: 'Dogra', 71840: 'Warang_Citi', 71904: 'Warang_Citi', 71914: 'Warang_Citi', 71935: 'Warang_Citi', 71936: 'Dives_Akuru', 71945: 'Dives_Akuru', 71948: 'Dives_Akuru', 71957: 'Dives_Akuru', 71960: 'Dives_Akuru', 71984: 'Dives_Akuru', 71991: 'Dives_Akuru', 71995: 'Dives_Akuru', 71997: 'Dives_Akuru', 71998: 'Dives_Akuru', 71999: 'Dives_Akuru', 72000: 'Dives_Akuru', 72001: 'Dives_Akuru', 72002: 'Dives_Akuru', 72003: 'Dives_Akuru', 72004: 'Dives_Akuru', 72016: 'Dives_Akuru', 72096: 'Nandinagari', 72106: 'Nandinagari', 72145: 'Nandinagari', 72148: 'Nandinagari', 72154: 'Nandinagari', 72156: 'Nandinagari', 72160: 'Nandinagari', 72161: 'Nandinagari', 72162: 'Nandinagari', 72163: 'Nandinagari', 72164: 'Nandinagari', 72192: 'Zanabazar_Square', 72193: 'Zanabazar_Square', 72203: 'Zanabazar_Square', 72243: 'Zanabazar_Square', 72249: 'Zanabazar_Square', 72250: 'Zanabazar_Square', 72251: 'Zanabazar_Square', 72255: 'Zanabazar_Square', 72263: 'Zanabazar_Square', 72272: 'Soyombo', 72273: 'Soyombo', 72279: 'Soyombo', 72281: 'Soyombo', 72284: 'Soyombo', 72330: 'Soyombo', 72343: 'Soyombo', 72344: 'Soyombo', 72346: 'Soyombo', 72349: 'Soyombo', 72350: 'Soyombo', 72384: 'Pau_Cin_Hau', 72704: 'Bhaiksuki', 72714: 'Bhaiksuki', 72751: 'Bhaiksuki', 72752: 'Bhaiksuki', 72760: 'Bhaiksuki', 72766: 'Bhaiksuki', 72767: 'Bhaiksuki', 72768: 'Bhaiksuki', 72769: 'Bhaiksuki', 72784: 'Bhaiksuki', 72794: 'Bhaiksuki', 72816: 'Marchen', 72818: 'Marchen', 72850: 'Marchen', 72873: 'Marchen', 72874: 'Marchen', 72881: 'Marchen', 72882: 'Marchen', 72884: 'Marchen', 72885: 'Marchen', 72960: 'Masaram_Gondi', 72968: 'Masaram_Gondi', 72971: 'Masaram_Gondi', 73009: 'Masaram_Gondi', 73018: 'Masaram_Gondi', 73020: 'Masaram_Gondi', 73023: 'Masaram_Gondi', 73030: 'Masaram_Gondi', 73031: 'Masaram_Gondi', 73040: 'Masaram_Gondi', 73056: 'Gunjala_Gondi', 73063: 'Gunjala_Gondi', 73066: 'Gunjala_Gondi', 73098: 'Gunjala_Gondi', 73104: 'Gunjala_Gondi', 73107: 'Gunjala_Gondi', 73109: 'Gunjala_Gondi', 73110: 'Gunjala_Gondi', 73111: 'Gunjala_Gondi', 73112: 'Gunjala_Gondi', 73120: 'Gunjala_Gondi', 73440: 'Makasar', 73459: 'Makasar', 73461: 'Makasar', 73463: 'Makasar', 73648: 'Lisu', 73664: 'Tamil', 73685: 'Tamil', 73693: 'Tamil', 73697: 'Tamil', 73727: 'Tamil', 73728: 'Cuneiform', 74752: 'Cuneiform', 74864: 'Cuneiform', 74880: 'Cuneiform', 77824: 'Egyptian_Hieroglyphs', 78896: 'Egyptian_Hieroglyphs', 82944: 'Anatolian_Hieroglyphs', 92160: 'Bamum', 92736: 'Mro', 92768: 'Mro', 92782: 'Mro', 92880: 'Bassa_Vah', 92912: 'Bassa_Vah', 92917: 'Bassa_Vah', 92928: 'Pahawh_Hmong', 92976: 'Pahawh_Hmong', 92983: 'Pahawh_Hmong', 92988: 'Pahawh_Hmong', 92992: 'Pahawh_Hmong', 92996: 'Pahawh_Hmong', 92997: 'Pahawh_Hmong', 93008: 'Pahawh_Hmong', 93019: 'Pahawh_Hmong', 93027: 'Pahawh_Hmong', 93053: 'Pahawh_Hmong', 93760: 'Medefaidrin', 93824: 'Medefaidrin', 93847: 'Medefaidrin', 93952: 'Miao', 94031: 'Miao', 94032: 'Miao', 94033: 'Miao', 94095: 'Miao', 94099: 'Miao', 94176: 'Tangut', 94177: 'Nushu', 94178: 'Common', 94179: 'Common', 94180: 'Khitan_Small_Script', 94192: 'Han', 94208: 'Tangut', 100352: 'Tangut', 101120: 'Khitan_Small_Script', 101632: 'Tangut', 110592: 'Katakana', 110593: 'Hiragana', 110928: 'Hiragana', 110948: 'Katakana', 110960: 'Nushu', 113664: 'Duployan', 113776: 'Duployan', 113792: 'Duployan', 113808: 'Duployan', 113820: 'Duployan', 113821: 'Duployan', 113823: 'Duployan', 113824: 'Common', 118784: 'Common', 119040: 'Common', 119081: 'Common', 119141: 'Common', 119143: 'Inherited', 119146: 'Common', 119149: 'Common', 119155: 'Common', 119163: 'Inherited', 119171: 'Common', 119173: 'Inherited', 119180: 'Common', 119210: 'Inherited', 119214: 'Common', 119296: 'Greek', 119362: 'Greek', 119365: 'Greek', 119520: 'Common', 119552: 'Common', 119648: 'Common', 119808: 'Common', 119894: 'Common', 119966: 'Common', 119970: 'Common', 119973: 'Common', 119977: 'Common', 119982: 'Common', 119995: 'Common', 119997: 'Common', 120005: 'Common', 120071: 'Common', 120077: 'Common', 120086: 'Common', 120094: 'Common', 120123: 'Common', 120128: 'Common', 120134: 'Common', 120138: 'Common', 120146: 'Common', 120488: 'Common', 120513: 'Common', 120514: 'Common', 120539: 'Common', 120540: 'Common', 120571: 'Common', 120572: 'Common', 120597: 'Common', 120598: 'Common', 120629: 'Common', 120630: 'Common', 120655: 'Common', 120656: 'Common', 120687: 'Common', 120688: 'Common', 120713: 'Common', 120714: 'Common', 120745: 'Common', 120746: 'Common', 120771: 'Common', 120772: 'Common', 120782: 'Common', 120832: 'SignWriting', 121344: 'SignWriting', 121399: 'SignWriting', 121403: 'SignWriting', 121453: 'SignWriting', 121461: 'SignWriting', 121462: 'SignWriting', 121476: 'SignWriting', 121477: 'SignWriting', 121479: 'SignWriting', 121499: 'SignWriting', 121505: 'SignWriting', 122880: 'Glagolitic', 122888: 'Glagolitic', 122907: 'Glagolitic', 122915: 'Glagolitic', 122918: 'Glagolitic', 123136: 'Nyiakeng_Puachue_Hmong', 123184: 'Nyiakeng_Puachue_Hmong', 123191: 'Nyiakeng_Puachue_Hmong', 123200: 'Nyiakeng_Puachue_Hmong', 123214: 'Nyiakeng_Puachue_Hmong', 123215: 'Nyiakeng_Puachue_Hmong', 123584: 'Wancho', 123628: 'Wancho', 123632: 'Wancho', 123647: 'Wancho', 124928: 'Mende_Kikakui', 125127: 'Mende_Kikakui', 125136: 'Mende_Kikakui', 125184: 'Adlam', 125252: 'Adlam', 125259: 'Adlam', 125264: 'Adlam', 125278: 'Adlam', 126065: 'Common', 126124: 'Common', 126125: 'Common', 126128: 'Common', 126129: 'Common', 126209: 'Common', 126254: 'Common', 126255: 'Common', 126464: 'Arabic', 126469: 'Arabic', 126497: 'Arabic', 126500: 'Arabic', 126503: 'Arabic', 126505: 'Arabic', 126516: 'Arabic', 126521: 'Arabic', 126523: 'Arabic', 126530: 'Arabic', 126535: 'Arabic', 126537: 'Arabic', 126539: 'Arabic', 126541: 'Arabic', 126545: 'Arabic', 126548: 'Arabic', 126551: 'Arabic', 126553: 'Arabic', 126555: 'Arabic', 126557: 'Arabic', 126559: 'Arabic', 126561: 'Arabic', 126564: 'Arabic', 126567: 'Arabic', 126572: 'Arabic', 126580: 'Arabic', 126585: 'Arabic', 126590: 'Arabic', 126592: 'Arabic', 126603: 'Arabic', 126625: 'Arabic', 126629: 'Arabic', 126635: 'Arabic', 126704: 'Arabic', 126976: 'Common', 127024: 'Common', 127136: 'Common', 127153: 'Common', 127169: 'Common', 127185: 'Common', 127232: 'Common', 127245: 'Common', 127462: 'Common', 127488: 'Hiragana', 127489: 'Common', 127504: 'Common', 127552: 'Common', 127568: 'Common', 127584: 'Common', 127744: 'Common', 127995: 'Common', 128000: 'Common', 128736: 'Common', 128752: 'Common', 128768: 'Common', 128896: 'Common', 128992: 'Common', 129024: 'Common', 129040: 'Common', 129104: 'Common', 129120: 'Common', 129168: 'Common', 129200: 'Common', 129280: 'Common', 129402: 'Common', 129485: 'Common', 129632: 'Common', 129648: 'Common', 129656: 'Common', 129664: 'Common', 129680: 'Common', 129712: 'Common', 129728: 'Common', 129744: 'Common', 129792: 'Common', 129940: 'Common', 130032: 'Common', 131072: 'Han', 173824: 'Han', 177984: 'Han', 178208: 'Han', 183984: 'Han', 194560: 'Han', 196608: 'Han', 917505: 'Common', 917536: 'Common', 917760: 'Inherited'} |
def on_on_chat():
builder.move(LEFT, 5)
builder.mark()
for index in range(4):
builder.move(FORWARD, 10)
builder.turn(LEFT_TURN)
builder.trace_path(SPRUCE_FENCE)
player.on_chat("fenceBoundary", on_on_chat)
| def on_on_chat():
builder.move(LEFT, 5)
builder.mark()
for index in range(4):
builder.move(FORWARD, 10)
builder.turn(LEFT_TURN)
builder.trace_path(SPRUCE_FENCE)
player.on_chat('fenceBoundary', on_on_chat) |
class Node:
def __init__(self, key):
self.data = key
self.left = None
self.right = None
def printLevelOrder(root):
h = height(root)
for i in range(1, h + 1):
printCurrentLevel(root, i)
def printCurrentLevel(root, level):
if(root == None):
return
if(level == 1):
print(root.data, end=" ")
elif(level > 1):
printCurrentLevel(root.left, level-1)
printCurrentLevel(root.right, level-1)
def height(node):
if(node == None):
return 0
else:
leftHeight = height(node.left)
rightHeight = height(node.right)
if(leftHeight > rightHeight):
return leftHeight + 1
else:
return rightHeight + 1
root = Node(1)
root.left = Node(2)
root.right = Node(3)
root.left.left = Node(4)
root.left.right = Node(5)
print("Level order traversal of binary tree is:")
printLevelOrder(root) | class Node:
def __init__(self, key):
self.data = key
self.left = None
self.right = None
def print_level_order(root):
h = height(root)
for i in range(1, h + 1):
print_current_level(root, i)
def print_current_level(root, level):
if root == None:
return
if level == 1:
print(root.data, end=' ')
elif level > 1:
print_current_level(root.left, level - 1)
print_current_level(root.right, level - 1)
def height(node):
if node == None:
return 0
else:
left_height = height(node.left)
right_height = height(node.right)
if leftHeight > rightHeight:
return leftHeight + 1
else:
return rightHeight + 1
root = node(1)
root.left = node(2)
root.right = node(3)
root.left.left = node(4)
root.left.right = node(5)
print('Level order traversal of binary tree is:')
print_level_order(root) |
def computeCI(principal, roi, time):
ci = (principal*pow((1+(roi/100)), time))-principal
return round(ci, 2)
| def compute_ci(principal, roi, time):
ci = principal * pow(1 + roi / 100, time) - principal
return round(ci, 2) |
def prime(n):
k=0
if n==1:
return False
for i in range(2,n):
if n%i==0:
k=1
if k==0:
return True
else:
return False
r=1000
y=0
c=0
d=0
for a in range(-r,r):
for b in range(r):
if prime(b) and (b<y or b<-1600-40*a):
t,n=1,1
while prime((n**2)+(a*n)+b) and ((n**2)+(a*n)+b)>0:
print(t,n,a,b,(n**2)+(a*n)+b)
t+=1
n+=1
if t>y:
y=t
c=a
d=b
print(y,c,d,"-",c*d)
| def prime(n):
k = 0
if n == 1:
return False
for i in range(2, n):
if n % i == 0:
k = 1
if k == 0:
return True
else:
return False
r = 1000
y = 0
c = 0
d = 0
for a in range(-r, r):
for b in range(r):
if prime(b) and (b < y or b < -1600 - 40 * a):
(t, n) = (1, 1)
while prime(n ** 2 + a * n + b) and n ** 2 + a * n + b > 0:
print(t, n, a, b, n ** 2 + a * n + b)
t += 1
n += 1
if t > y:
y = t
c = a
d = b
print(y, c, d, '-', c * d) |
def my_decorator(func):
def wrap_func(*args, **kwargs):
print('*'*10) #Before
func(*args, **kwargs) # not function yet
print('*'*10) #After
return wrap_func
# find_all('div', attrs = {'class':'dfddfddf'})
# OOP
@my_decorator
def hello(name, emoji = ':)'):
print(f'hello {name}', emoji)
# @my_decorator
# def bye():
# print('bye')
hello(name = 'niz')
# bye()
# from time import time
# def performance(fn):
# def wrapper(*args, **kwargs):
# t1 = time()
# result = fn(*args, **kwargs)
# t2 = time()
# print(f'took {t2-t1} ms')
# return result
# return wrapper
# @performance
# def long_time():
# for i in range(100000):
# i*5
# long_time()
| def my_decorator(func):
def wrap_func(*args, **kwargs):
print('*' * 10)
func(*args, **kwargs)
print('*' * 10)
return wrap_func
@my_decorator
def hello(name, emoji=':)'):
print(f'hello {name}', emoji)
hello(name='niz') |
PDF_EXT = ".pdf"
HD5_EXT = ".hd5"
XML_EXT = ".xml"
MUSE_ECG_XML_MRN_COLUMN = "PatientID"
ECG_PREFIX = "ecg"
ECG_DATE_FORMAT = "%m-%d-%Y"
ECG_TIME_FORMAT = "%H:%M:%S"
ECG_DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S"
| pdf_ext = '.pdf'
hd5_ext = '.hd5'
xml_ext = '.xml'
muse_ecg_xml_mrn_column = 'PatientID'
ecg_prefix = 'ecg'
ecg_date_format = '%m-%d-%Y'
ecg_time_format = '%H:%M:%S'
ecg_datetime_format = '%Y-%m-%dT%H:%M:%S' |
# The tile index was made by navigating to ftp://ftp.kymartian.ky.gov/kyaped/LAZ
# and then (in firefox) right click -> view page source. This produces a text
# file with all lots of information, but primarily there is a column with all
# the tile names. This can be used to setup a parallel download which can
# drastically speed up aquisition time.
# There is, however, tons of garbage data that can be removed, making this
# more efficient to store. This is a short script that pares this file down.
index_file_name = "list.txt"
new_name = "list_new.txt"
files = []
with open(index_file_name, "r") as f:
lines = f.readlines()
for l in lines:
s = l.split(" ")
if s[1][-4:-1] == "laz":
filename = s[1].split("\"")[1]
files.append(filename)
with open(new_name, "w") as f:
for laz_filename in files:
f.write(laz_filename)
f.write("\n")
| index_file_name = 'list.txt'
new_name = 'list_new.txt'
files = []
with open(index_file_name, 'r') as f:
lines = f.readlines()
for l in lines:
s = l.split(' ')
if s[1][-4:-1] == 'laz':
filename = s[1].split('"')[1]
files.append(filename)
with open(new_name, 'w') as f:
for laz_filename in files:
f.write(laz_filename)
f.write('\n') |
class ansi_breakpoint:
def __init__(self, sync_obj, label):
self.sync_obj = sync_obj
self.label = label
def stop(self):
self.sync_obj.continue_runner_with_stop(self.label) | class Ansi_Breakpoint:
def __init__(self, sync_obj, label):
self.sync_obj = sync_obj
self.label = label
def stop(self):
self.sync_obj.continue_runner_with_stop(self.label) |
class Node:
def __init__(self):
self.data = None
self.next = None
def setData(self,data):
self.data = data
def getData(self):
return self.data
def setNext(self,next):
self.next = next
def getNext(self):
return self.next
class LinkedList:
def __init__(self):
self.length = 0
self.head = None
def insertAtBeginning(self,node):
node.next = self.head
self.head = node
self.length += 1
def insertAtEnd(self,node):
currentnode = self.head
while currentnode.next != None:
currentnode = currentnode.next
currentnode.next = node
self.length += 1
def insertAtPos(self,node,pos):
count = 0
currentnode = self.head
previousnode = self.head
if pos > self.length or pos < 0:
print("position does not exists..")
else:
while currentnode.next != None or count < pos:
count += 1
if pos == count:
previousnode.next = node
node.next = currentnode
self.length += 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
def print_list(self):
nodeList = []
currentnode = self.head
while currentnode != None:
nodeList.append(currentnode.data)
currentnode = currentnode.next
print(nodeList)
def insertAfterValue(self,data,node):
if self.length == 0:
print("List is Empty..")
else:
currentnode = self.head
while currentnode.next != None or currentnode.data == data:
if currentnode.data == data:
node.next = currentnode.next
currentnode.next = node
self.length += 1
return
else:
currentnode = currentnode.next
print("The data provided in not present")
def deleteAtBeginning(self):
if self.length == 0:
print("List is Empty..")
else:
self.head = self.head.next
self.length -= 1
return
def deleteAtEnd(self):
if self.length == 0:
print("List is Empty..")
else:
currentnode = self.head
previousnode = self.head
while currentnode.next != None:
previousnode = currentnode
currentnode = currentnode.next
previousnode.next = None
def deleteAtPos(self,pos):
count = 0
currentnode = self.head
previousnode = self.head
if pos < self.length or pos < 0:
print("Position does not exists..")
else:
while currentnode.next != None or count < pos:
count += 1
if pos == count:
previousnode.next = currentnode.next
self.length -= 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
def deleteValue(self,data):
currentnode = self.head
previousnode = self.head
while currentnode.next != None or currentnode.data == data:
if currentnode.data == data:
previousnode.next = currentnode.next
self.length -= 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
print("Data with value {} not found".format(data))
node1 = Node()
node1.setData(1)
node2 = Node()
node2.setData(2)
node3 = Node()
node3.setData(3)
node4 = Node()
node4.setData(4)
node5 = Node()
node5.setData(5)
node6 = Node()
node6.setData(6)
l1 = LinkedList()
l1.insertAtBeginning(node1)
l1.print_list()
l1.insertAtEnd(node2)
l1.print_list()
l1.insertAtPos(node3,2)
l1.print_list()
l1.insertAtEnd(node6)
l1.print_list()
l1.insertAfterValue(6,node5)
l1.print_list()
| class Node:
def __init__(self):
self.data = None
self.next = None
def set_data(self, data):
self.data = data
def get_data(self):
return self.data
def set_next(self, next):
self.next = next
def get_next(self):
return self.next
class Linkedlist:
def __init__(self):
self.length = 0
self.head = None
def insert_at_beginning(self, node):
node.next = self.head
self.head = node
self.length += 1
def insert_at_end(self, node):
currentnode = self.head
while currentnode.next != None:
currentnode = currentnode.next
currentnode.next = node
self.length += 1
def insert_at_pos(self, node, pos):
count = 0
currentnode = self.head
previousnode = self.head
if pos > self.length or pos < 0:
print('position does not exists..')
else:
while currentnode.next != None or count < pos:
count += 1
if pos == count:
previousnode.next = node
node.next = currentnode
self.length += 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
def print_list(self):
node_list = []
currentnode = self.head
while currentnode != None:
nodeList.append(currentnode.data)
currentnode = currentnode.next
print(nodeList)
def insert_after_value(self, data, node):
if self.length == 0:
print('List is Empty..')
else:
currentnode = self.head
while currentnode.next != None or currentnode.data == data:
if currentnode.data == data:
node.next = currentnode.next
currentnode.next = node
self.length += 1
return
else:
currentnode = currentnode.next
print('The data provided in not present')
def delete_at_beginning(self):
if self.length == 0:
print('List is Empty..')
else:
self.head = self.head.next
self.length -= 1
return
def delete_at_end(self):
if self.length == 0:
print('List is Empty..')
else:
currentnode = self.head
previousnode = self.head
while currentnode.next != None:
previousnode = currentnode
currentnode = currentnode.next
previousnode.next = None
def delete_at_pos(self, pos):
count = 0
currentnode = self.head
previousnode = self.head
if pos < self.length or pos < 0:
print('Position does not exists..')
else:
while currentnode.next != None or count < pos:
count += 1
if pos == count:
previousnode.next = currentnode.next
self.length -= 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
def delete_value(self, data):
currentnode = self.head
previousnode = self.head
while currentnode.next != None or currentnode.data == data:
if currentnode.data == data:
previousnode.next = currentnode.next
self.length -= 1
return
else:
previousnode = currentnode
currentnode = currentnode.next
print('Data with value {} not found'.format(data))
node1 = node()
node1.setData(1)
node2 = node()
node2.setData(2)
node3 = node()
node3.setData(3)
node4 = node()
node4.setData(4)
node5 = node()
node5.setData(5)
node6 = node()
node6.setData(6)
l1 = linked_list()
l1.insertAtBeginning(node1)
l1.print_list()
l1.insertAtEnd(node2)
l1.print_list()
l1.insertAtPos(node3, 2)
l1.print_list()
l1.insertAtEnd(node6)
l1.print_list()
l1.insertAfterValue(6, node5)
l1.print_list() |
year_input = int(input())
def is_leap_year(year):
if year % 4 == 0:
return True
else:
return False
if is_leap_year(year_input):
print('%.f is a leap year' % year_input)
else:
print('%.f is not a leap year' % year_input)
| year_input = int(input())
def is_leap_year(year):
if year % 4 == 0:
return True
else:
return False
if is_leap_year(year_input):
print('%.f is a leap year' % year_input)
else:
print('%.f is not a leap year' % year_input) |
class Restaurant:
def __init__(self, name, cuisine_type):
self.name = name
self.cuisine_type = cuisine_type
self.number_served = 0
def describe_restaurant(self):
print('The name of the Restaurant is {} and it makes {}'.format(self.name, self.cuisine_type))
def open_restaurant(self):
print('The Restaurant is open')
def customer_numbers(self):
print('This restaurant has {} customers right now'.format(self.number_served))
def set_number_served(self, served):
self.number_served = served
def increment_number_served(self, customers):
self. number_served += customers
restaurant = Restaurant('Chinese food', 'Hot Noodles')
print(restaurant.name)
print(restaurant.cuisine_type)
restaurant.describe_restaurant()
restaurant.open_restaurant()
restaurant.customer_numbers()
restaurant.set_number_served(15)
restaurant.customer_numbers()
restaurant.increment_number_served(5)
restaurant.customer_numbers() | class Restaurant:
def __init__(self, name, cuisine_type):
self.name = name
self.cuisine_type = cuisine_type
self.number_served = 0
def describe_restaurant(self):
print('The name of the Restaurant is {} and it makes {}'.format(self.name, self.cuisine_type))
def open_restaurant(self):
print('The Restaurant is open')
def customer_numbers(self):
print('This restaurant has {} customers right now'.format(self.number_served))
def set_number_served(self, served):
self.number_served = served
def increment_number_served(self, customers):
self.number_served += customers
restaurant = restaurant('Chinese food', 'Hot Noodles')
print(restaurant.name)
print(restaurant.cuisine_type)
restaurant.describe_restaurant()
restaurant.open_restaurant()
restaurant.customer_numbers()
restaurant.set_number_served(15)
restaurant.customer_numbers()
restaurant.increment_number_served(5)
restaurant.customer_numbers() |
__all__ = [
'confirm_delivery_reports_as_received_request_1',
'confirm_delivery_reports_as_received_request',
'check_delivery_reports_response',
'confirm_replies_as_received_request_1',
'confirm_replies_as_received_request',
'vendor_account_id',
'check_replies_response',
'cancel_scheduled_message_request',
'send_messages_request',
'reply',
'delivery_report',
'get_message_status_response',
'message',
'send_messages_response',
'source_number_type_enum',
'status_2_enum',
'status_enum',
'format_1_enum',
'format_enum',
] | __all__ = ['confirm_delivery_reports_as_received_request_1', 'confirm_delivery_reports_as_received_request', 'check_delivery_reports_response', 'confirm_replies_as_received_request_1', 'confirm_replies_as_received_request', 'vendor_account_id', 'check_replies_response', 'cancel_scheduled_message_request', 'send_messages_request', 'reply', 'delivery_report', 'get_message_status_response', 'message', 'send_messages_response', 'source_number_type_enum', 'status_2_enum', 'status_enum', 'format_1_enum', 'format_enum'] |
class ServiceError(Exception):
def __init__(self, service, message=""):
self.service = service
self.message = message
def __str__(self):
return f"ServiceError has been raised in {self.service}\n{self.message}"
class ValidationError(Exception):
def __init__(self, message=""):
self.message = message
def __str__(self):
return f"ValidationError has been raised, {self.message}"
class InvalidCepLength(Exception):
def __init__(self, message=""):
self.message = message
def __str__(self):
return f"InvalidCepLength has been raised, {self.message}"
| class Serviceerror(Exception):
def __init__(self, service, message=''):
self.service = service
self.message = message
def __str__(self):
return f'ServiceError has been raised in {self.service}\n{self.message}'
class Validationerror(Exception):
def __init__(self, message=''):
self.message = message
def __str__(self):
return f'ValidationError has been raised, {self.message}'
class Invalidceplength(Exception):
def __init__(self, message=''):
self.message = message
def __str__(self):
return f'InvalidCepLength has been raised, {self.message}' |
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
'javascript_engine': 0
},
'targets': [
{
'target_name': 'net_base',
'type': '<(library)',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../sdch/sdch.gyp:sdch',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/zlib/zlib.gyp:zlib',
'net_resources',
'ssl_false_start_blacklist_process#host',
],
'sources': [
'base/address_family.h',
'base/address_list.cc',
'base/address_list.h',
'base/address_list_net_log_param.cc',
'base/address_list_net_log_param.h',
'base/auth.cc',
'base/auth.h',
'base/bandwidth_metrics.cc',
'base/bandwidth_metrics.h',
'base/cache_type.h',
'base/capturing_net_log.cc',
'base/capturing_net_log.h',
'base/cert_database.cc',
'base/cert_database.h',
'base/cert_database_mac.cc',
'base/cert_database_nss.cc',
'base/cert_database_openssl.cc',
'base/cert_database_win.cc',
'base/cert_status_flags.cc',
'base/cert_status_flags.h',
'base/cert_verifier.cc',
'base/cert_verifier.h',
'base/cert_verify_result.h',
'base/completion_callback.h',
'base/connection_type_histograms.cc',
'base/connection_type_histograms.h',
'base/cookie_monster.cc',
'base/cookie_monster.h',
'base/cookie_options.h',
'base/cookie_policy.h',
'base/cookie_store.cc',
'base/cookie_store.h',
'base/data_url.cc',
'base/data_url.h',
'base/directory_lister.cc',
'base/directory_lister.h',
'base/dns_reload_timer.cc',
'base/dns_reload_timer.h',
'base/dnssec_chain_verifier.cc',
'base/dnssec_chain_verifier.h',
'base/dnssec_keyset.cc',
'base/dnssec_keyset.h',
'base/dnssec_proto.h',
'base/dns_util.cc',
'base/dns_util.h',
'base/dnsrr_resolver.cc',
'base/dnsrr_resolver.h',
'base/escape.cc',
'base/escape.h',
'base/ev_root_ca_metadata.cc',
'base/ev_root_ca_metadata.h',
'base/file_stream.h',
'base/file_stream_posix.cc',
'base/file_stream_win.cc',
'base/filter.cc',
'base/filter.h',
'base/gzip_filter.cc',
'base/gzip_filter.h',
'base/gzip_header.cc',
'base/gzip_header.h',
'base/host_cache.cc',
'base/host_cache.h',
'base/host_mapping_rules.cc',
'base/host_mapping_rules.h',
'base/host_port_pair.cc',
'base/host_port_pair.h',
'base/host_resolver.cc',
'base/host_resolver.h',
'base/host_resolver_impl.cc',
'base/host_resolver_impl.h',
'base/host_resolver_proc.cc',
'base/host_resolver_proc.h',
'base/io_buffer.cc',
'base/io_buffer.h',
'base/keygen_handler.h',
'base/keygen_handler_mac.cc',
'base/keygen_handler_nss.cc',
'base/keygen_handler_openssl.cc',
'base/keygen_handler_win.cc',
'base/listen_socket.cc',
'base/listen_socket.h',
'base/load_flags.h',
'base/load_flags_list.h',
'base/load_states.h',
'base/mapped_host_resolver.cc',
'base/mapped_host_resolver.h',
'base/mime_sniffer.cc',
'base/mime_sniffer.h',
'base/mime_util.cc',
'base/mime_util.h',
# TODO(eroman): move this into its own test-support target.
'base/mock_host_resolver.cc',
'base/mock_host_resolver.h',
'base/net_error_list.h',
'base/net_errors.cc',
'base/net_errors.h',
'base/net_log.cc',
'base/net_log.h',
'base/net_log_event_type_list.h',
'base/net_log_source_type_list.h',
'base/net_module.cc',
'base/net_module.h',
'base/net_util.cc',
'base/net_util.h',
'base/net_util_posix.cc',
'base/net_util_win.cc',
'base/network_change_notifier.cc',
'base/network_change_notifier.h',
'base/network_change_notifier_linux.cc',
'base/network_change_notifier_linux.h',
'base/network_change_notifier_mac.cc',
'base/network_change_notifier_mac.h',
'base/network_change_notifier_netlink_linux.cc',
'base/network_change_notifier_netlink_linux.h',
'base/network_change_notifier_win.cc',
'base/network_change_notifier_win.h',
'base/network_config_watcher_mac.cc',
'base/network_config_watcher_mac.h',
'base/nss_memio.c',
'base/nss_memio.h',
'base/openssl_memory_private_key_store.cc',
'base/openssl_private_key_store.h',
'base/pem_tokenizer.cc',
'base/pem_tokenizer.h',
'base/platform_mime_util.h',
# TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
'base/platform_mime_util_linux.cc',
'base/platform_mime_util_mac.cc',
'base/platform_mime_util_win.cc',
'base/registry_controlled_domain.cc',
'base/registry_controlled_domain.h',
'base/scoped_cert_chain_context.h',
'base/sdch_filter.cc',
'base/sdch_filter.h',
'base/sdch_manager.cc',
'base/sdch_manager.h',
'base/ssl_cert_request_info.cc',
'base/ssl_cert_request_info.h',
'base/ssl_cipher_suite_names.cc',
'base/ssl_cipher_suite_names.h',
'base/ssl_client_auth_cache.cc',
'base/ssl_client_auth_cache.h',
'base/ssl_config_service.cc',
'base/ssl_config_service.h',
'base/ssl_config_service_defaults.cc',
'base/ssl_config_service_defaults.h',
'base/ssl_config_service_mac.cc',
'base/ssl_config_service_mac.h',
'base/ssl_config_service_win.cc',
'base/ssl_config_service_win.h',
'base/ssl_false_start_blacklist.cc',
'base/ssl_info.cc',
'base/ssl_info.h',
'base/static_cookie_policy.cc',
'base/static_cookie_policy.h',
'base/test_root_certs.cc',
'base/test_root_certs.h',
'base/test_root_certs_mac.cc',
'base/test_root_certs_nss.cc',
'base/test_root_certs_openssl.cc',
'base/test_root_certs_win.cc',
'base/transport_security_state.cc',
'base/transport_security_state.h',
'base/sys_addrinfo.h',
'base/test_completion_callback.h',
'base/upload_data.cc',
'base/upload_data.h',
'base/upload_data_stream.cc',
'base/upload_data_stream.h',
'base/winsock_init.cc',
'base/winsock_init.h',
'base/x509_certificate.cc',
'base/x509_certificate.h',
'base/x509_certificate_mac.cc',
'base/x509_certificate_nss.cc',
'base/x509_certificate_openssl.cc',
'base/x509_certificate_win.cc',
'base/x509_cert_types.cc',
'base/x509_cert_types.h',
'base/x509_cert_types_mac.cc',
'base/x509_openssl_util.cc',
'base/x509_openssl_util.h',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
'third_party/mozilla_security_manager/nsNSSCertTrust.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
'export_dependent_settings': [
'../base/base.gyp:base',
],
'actions': [
{
'action_name': 'ssl_false_start_blacklist',
'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)',
'base/ssl_false_start_blacklist.txt',
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc',
],
'action':
['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)',
'base/ssl_false_start_blacklist.txt',
'<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc',
],
'message': 'Generating SSL False Start blacklist',
'process_outputs_as_sources': 1,
},
],
'conditions': [
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
'dependencies': [
'../build/linux/system.gyp:gconf',
'../build/linux/system.gyp:gdk',
'../build/linux/system.gyp:libresolv',
],
'conditions': [
['use_openssl==1', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
}, { # else: not using openssl. Use NSS.
'dependencies': [
'../build/linux/system.gyp:nss',
],
}],
],
},
{ # else: OS is not in the above list
'sources!': [
'base/cert_database_nss.cc',
'base/keygen_handler_nss.cc',
'base/test_root_certs_nss.cc',
'base/x509_certificate_nss.cc',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
'third_party/mozilla_security_manager/nsNSSCertTrust.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
},
],
[ 'use_openssl==1', {
'sources!': [
'base/cert_database_nss.cc',
'base/dnssec_keyset.cc',
'base/dnssec_keyset.h',
'base/keygen_handler_nss.cc',
'base/nss_memio.c',
'base/nss_memio.h',
'base/test_root_certs_nss.cc',
'base/x509_certificate_nss.cc',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
'third_party/mozilla_security_manager/nsNSSCertTrust.h',
'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
},
{ # else: not using openssl.
'sources!': [
'base/cert_database_openssl.cc',
'base/keygen_handler_openssl.cc',
'base/openssl_memory_private_key_store.cc',
'base/openssl_private_key_store.h',
'base/test_root_certs_openssl.cc',
'base/x509_certificate_openssl.cc',
'base/x509_openssl_util.cc',
'base/x509_openssl_util.h',
],
},
],
[ 'OS == "win"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
'tld_cleanup',
],
},
{ # else: OS != "win"
'dependencies': [
'../third_party/libevent/libevent.gyp:libevent',
],
'sources!': [
'base/winsock_init.cc',
],
},
],
[ 'OS == "mac"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
'$(SDKROOT)/usr/lib/libresolv.dylib',
]
},
},
],
],
},
{
'target_name': 'net',
'type': '<(library)',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../build/temp_gyp/googleurl.gyp:googleurl',
'../sdch/sdch.gyp:sdch',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/zlib/zlib.gyp:zlib',
'net_base',
'net_resources',
],
'sources': [
'disk_cache/addr.cc',
'disk_cache/addr.h',
'disk_cache/backend_impl.cc',
'disk_cache/backend_impl.h',
'disk_cache/bitmap.cc',
'disk_cache/bitmap.h',
'disk_cache/block_files.cc',
'disk_cache/block_files.h',
'disk_cache/cache_util.h',
'disk_cache/cache_util_posix.cc',
'disk_cache/cache_util_win.cc',
'disk_cache/disk_cache.h',
'disk_cache/disk_format.cc',
'disk_cache/disk_format.h',
'disk_cache/entry_impl.cc',
'disk_cache/entry_impl.h',
'disk_cache/errors.h',
'disk_cache/eviction.cc',
'disk_cache/eviction.h',
'disk_cache/experiments.h',
'disk_cache/file.cc',
'disk_cache/file.h',
'disk_cache/file_block.h',
'disk_cache/file_lock.cc',
'disk_cache/file_lock.h',
'disk_cache/file_posix.cc',
'disk_cache/file_win.cc',
'disk_cache/hash.cc',
'disk_cache/hash.h',
'disk_cache/histogram_macros.h',
'disk_cache/in_flight_backend_io.cc',
'disk_cache/in_flight_backend_io.h',
'disk_cache/in_flight_io.cc',
'disk_cache/in_flight_io.h',
'disk_cache/mapped_file.h',
'disk_cache/mapped_file_posix.cc',
'disk_cache/mapped_file_win.cc',
'disk_cache/mem_backend_impl.cc',
'disk_cache/mem_backend_impl.h',
'disk_cache/mem_entry_impl.cc',
'disk_cache/mem_entry_impl.h',
'disk_cache/mem_rankings.cc',
'disk_cache/mem_rankings.h',
'disk_cache/rankings.cc',
'disk_cache/rankings.h',
'disk_cache/sparse_control.cc',
'disk_cache/sparse_control.h',
'disk_cache/stats.cc',
'disk_cache/stats.h',
'disk_cache/stats_histogram.cc',
'disk_cache/stats_histogram.h',
'disk_cache/storage_block-inl.h',
'disk_cache/storage_block.h',
'disk_cache/trace.cc',
'disk_cache/trace.h',
'ftp/ftp_auth_cache.cc',
'ftp/ftp_auth_cache.h',
'ftp/ftp_ctrl_response_buffer.cc',
'ftp/ftp_ctrl_response_buffer.h',
'ftp/ftp_directory_listing_buffer.cc',
'ftp/ftp_directory_listing_buffer.h',
'ftp/ftp_directory_listing_parser.cc',
'ftp/ftp_directory_listing_parser.h',
'ftp/ftp_directory_listing_parser_ls.cc',
'ftp/ftp_directory_listing_parser_ls.h',
'ftp/ftp_directory_listing_parser_netware.cc',
'ftp/ftp_directory_listing_parser_netware.h',
'ftp/ftp_directory_listing_parser_vms.cc',
'ftp/ftp_directory_listing_parser_vms.h',
'ftp/ftp_directory_listing_parser_windows.cc',
'ftp/ftp_directory_listing_parser_windows.h',
'ftp/ftp_network_layer.cc',
'ftp/ftp_network_layer.h',
'ftp/ftp_network_session.cc',
'ftp/ftp_network_session.h',
'ftp/ftp_network_transaction.cc',
'ftp/ftp_network_transaction.h',
'ftp/ftp_request_info.h',
'ftp/ftp_response_info.h',
'ftp/ftp_server_type_histograms.cc',
'ftp/ftp_server_type_histograms.h',
'ftp/ftp_transaction.h',
'ftp/ftp_transaction_factory.h',
'ftp/ftp_util.cc',
'ftp/ftp_util.h',
'http/des.cc',
'http/des.h',
'http/disk_cache_based_ssl_host_info.cc',
'http/disk_cache_based_ssl_host_info.h',
'http/http_alternate_protocols.cc',
'http/http_alternate_protocols.h',
'http/http_atom_list.h',
'http/http_auth.cc',
'http/http_auth.h',
'http/http_auth_cache.cc',
'http/http_auth_cache.h',
'http/http_auth_controller.cc',
'http/http_auth_controller.h',
'http/http_auth_filter.cc',
'http/http_auth_filter.h',
'http/http_auth_filter_win.h',
'http/http_auth_gssapi_posix.cc',
'http/http_auth_gssapi_posix.h',
'http/http_auth_handler.cc',
'http/http_auth_handler.h',
'http/http_auth_handler_basic.cc',
'http/http_auth_handler_basic.h',
'http/http_auth_handler_digest.cc',
'http/http_auth_handler_digest.h',
'http/http_auth_handler_factory.cc',
'http/http_auth_handler_factory.h',
'http/http_auth_handler_negotiate.h',
'http/http_auth_handler_negotiate.cc',
'http/http_auth_handler_ntlm.cc',
'http/http_auth_handler_ntlm.h',
'http/http_auth_handler_ntlm_portable.cc',
'http/http_auth_handler_ntlm_win.cc',
'http/http_auth_sspi_win.cc',
'http/http_auth_sspi_win.h',
'http/http_basic_stream.cc',
'http/http_basic_stream.h',
'http/http_byte_range.cc',
'http/http_byte_range.h',
'http/http_cache.cc',
'http/http_cache.h',
'http/http_cache_transaction.cc',
'http/http_cache_transaction.h',
'http/http_chunked_decoder.cc',
'http/http_chunked_decoder.h',
'http/http_net_log_params.cc',
'http/http_net_log_params.h',
'http/http_network_delegate.h',
'http/http_network_layer.cc',
'http/http_network_layer.h',
'http/http_network_session.cc',
'http/http_network_session.h',
'http/http_network_session_peer.h',
'http/http_network_transaction.cc',
'http/http_network_transaction.h',
'http/http_request_headers.cc',
'http/http_request_headers.h',
'http/http_request_info.cc',
'http/http_request_info.h',
'http/http_response_body_drainer.cc',
'http/http_response_body_drainer.h',
'http/http_response_headers.cc',
'http/http_response_headers.h',
'http/http_response_info.cc',
'http/http_response_info.h',
'http/http_stream.h',
'http/http_stream_factory.cc',
'http/http_stream_factory.h',
'http/http_stream_parser.cc',
'http/http_stream_parser.h',
'http/http_stream_request.cc',
'http/http_stream_request.h',
'http/http_transaction.h',
'http/http_transaction_factory.h',
'http/url_security_manager.h',
'http/url_security_manager.cc',
'http/url_security_manager_posix.cc',
'http/url_security_manager_win.cc',
'http/http_proxy_client_socket.cc',
'http/http_proxy_client_socket.h',
'http/http_proxy_client_socket_pool.cc',
'http/http_proxy_client_socket_pool.h',
'http/http_proxy_utils.cc',
'http/http_proxy_utils.h',
'http/http_util.cc',
'http/http_util_icu.cc',
'http/http_util.h',
'http/http_vary_data.cc',
'http/http_vary_data.h',
'http/http_version.h',
'http/md4.cc',
'http/md4.h',
'http/partial_data.cc',
'http/partial_data.h',
'http/proxy_client_socket.h',
'http/stream_factory.h',
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
'proxy/init_proxy_resolver.cc',
'proxy/init_proxy_resolver.h',
'proxy/multi_threaded_proxy_resolver.cc',
'proxy/multi_threaded_proxy_resolver.h',
'proxy/polling_proxy_config_service.cc',
'proxy/polling_proxy_config_service.h',
'proxy/proxy_bypass_rules.cc',
'proxy/proxy_bypass_rules.h',
'proxy/proxy_config.cc',
'proxy/proxy_config.h',
'proxy/proxy_config_service.h',
'proxy/proxy_config_service_fixed.cc',
'proxy/proxy_config_service_fixed.h',
'proxy/proxy_config_service_linux.cc',
'proxy/proxy_config_service_linux.h',
'proxy/proxy_config_service_mac.cc',
'proxy/proxy_config_service_mac.h',
'proxy/proxy_config_service_win.cc',
'proxy/proxy_config_service_win.h',
'proxy/proxy_info.cc',
'proxy/proxy_info.h',
'proxy/proxy_list.cc',
'proxy/proxy_list.h',
'proxy/proxy_resolver.h',
'proxy/proxy_resolver_js_bindings.cc',
'proxy/proxy_resolver_js_bindings.h',
'proxy/proxy_resolver_mac.cc',
'proxy/proxy_resolver_mac.h',
'proxy/proxy_resolver_request_context.h',
'proxy/proxy_resolver_script.h',
'proxy/proxy_resolver_script_data.cc',
'proxy/proxy_resolver_script_data.h',
# 'proxy/proxy_resolver_v8.cc',
'proxy/proxy_resolver_v8.h',
'proxy/proxy_resolver_winhttp.cc',
'proxy/proxy_resolver_winhttp.h',
'proxy/proxy_retry_info.h',
'proxy/proxy_script_fetcher.h',
'proxy/proxy_script_fetcher_impl.cc',
'proxy/proxy_script_fetcher_impl.h',
'proxy/proxy_server.cc',
'proxy/proxy_server_mac.cc',
'proxy/proxy_server.h',
'proxy/proxy_service.cc',
'proxy/proxy_service.h',
'proxy/sync_host_resolver_bridge.cc',
'proxy/sync_host_resolver_bridge.h',
'socket/client_socket.cc',
'socket/client_socket.h',
'socket/client_socket_factory.cc',
'socket/client_socket_factory.h',
'socket/client_socket_handle.cc',
'socket/client_socket_handle.h',
'socket/client_socket_pool.h',
'socket/client_socket_pool.cc',
'socket/client_socket_pool_base.cc',
'socket/client_socket_pool_base.h',
'socket/client_socket_pool_histograms.cc',
'socket/client_socket_pool_histograms.h',
'socket/client_socket_pool_manager.cc',
'socket/client_socket_pool_manager.h',
'socket/dns_cert_provenance_checker.cc',
'socket/dns_cert_provenance_checker.h',
'socket/socket.h',
'socket/socks5_client_socket.cc',
'socket/socks5_client_socket.h',
'socket/socks_client_socket.cc',
'socket/socks_client_socket.h',
'socket/socks_client_socket_pool.cc',
'socket/socks_client_socket_pool.h',
'socket/ssl_client_socket.cc',
'socket/ssl_client_socket.h',
'socket/ssl_client_socket_mac.cc',
'socket/ssl_client_socket_mac.h',
'socket/ssl_client_socket_mac_factory.cc',
'socket/ssl_client_socket_mac_factory.h',
'socket/ssl_client_socket_nss.cc',
'socket/ssl_client_socket_nss.h',
'socket/ssl_client_socket_nss_factory.cc',
'socket/ssl_client_socket_nss_factory.h',
'socket/ssl_client_socket_openssl.cc',
'socket/ssl_client_socket_openssl.h',
'socket/ssl_client_socket_pool.cc',
'socket/ssl_client_socket_pool.h',
'socket/ssl_client_socket_win.cc',
'socket/ssl_client_socket_win.h',
'socket/ssl_error_params.cc',
'socket/ssl_error_params.h',
'socket/ssl_host_info.cc',
'socket/ssl_host_info.h',
'socket/tcp_client_socket.cc',
'socket/tcp_client_socket.h',
'socket/tcp_client_socket_libevent.cc',
'socket/tcp_client_socket_libevent.h',
'socket/tcp_client_socket_pool.cc',
'socket/tcp_client_socket_pool.h',
'socket/tcp_client_socket_win.cc',
'socket/tcp_client_socket_win.h',
'socket_stream/socket_stream.cc',
'socket_stream/socket_stream.h',
'socket_stream/socket_stream_job.cc',
'socket_stream/socket_stream_job.h',
'socket_stream/socket_stream_job_manager.cc',
'socket_stream/socket_stream_job_manager.h',
'socket_stream/socket_stream_metrics.cc',
'socket_stream/socket_stream_metrics.h',
'spdy/spdy_bitmasks.h',
'spdy/spdy_frame_builder.cc',
'spdy/spdy_frame_builder.h',
'spdy/spdy_framer.cc',
'spdy/spdy_framer.h',
'spdy/spdy_http_stream.cc',
'spdy/spdy_http_stream.h',
'spdy/spdy_http_utils.cc',
'spdy/spdy_http_utils.h',
'spdy/spdy_io_buffer.cc',
'spdy/spdy_io_buffer.h',
'spdy/spdy_protocol.h',
'spdy/spdy_proxy_client_socket.cc',
'spdy/spdy_proxy_client_socket.h',
'spdy/spdy_session.cc',
'spdy/spdy_session.h',
'spdy/spdy_session_pool.cc',
'spdy/spdy_session_pool.h',
'spdy/spdy_settings_storage.cc',
'spdy/spdy_settings_storage.h',
'spdy/spdy_stream.cc',
'spdy/spdy_stream.h',
'url_request/https_prober.h',
'url_request/https_prober.cc',
'url_request/url_request.cc',
'url_request/url_request.h',
'url_request/url_request_about_job.cc',
'url_request/url_request_about_job.h',
'url_request/url_request_context.cc',
'url_request/url_request_context.h',
'url_request/url_request_data_job.cc',
'url_request/url_request_data_job.h',
'url_request/url_request_error_job.cc',
'url_request/url_request_error_job.h',
'url_request/url_request_file_dir_job.cc',
'url_request/url_request_file_dir_job.h',
'url_request/url_request_file_job.cc',
'url_request/url_request_file_job.h',
'url_request/url_request_filter.cc',
'url_request/url_request_filter.h',
'url_request/url_request_ftp_job.cc',
'url_request/url_request_ftp_job.h',
'url_request/url_request_http_job.cc',
'url_request/url_request_http_job.h',
'url_request/url_request_job.cc',
'url_request/url_request_job.h',
'url_request/url_request_job_manager.cc',
'url_request/url_request_job_manager.h',
'url_request/url_request_job_metrics.cc',
'url_request/url_request_job_metrics.h',
'url_request/url_request_job_tracker.cc',
'url_request/url_request_job_tracker.h',
'url_request/url_request_netlog_params.cc',
'url_request/url_request_netlog_params.h',
'url_request/url_request_redirect_job.cc',
'url_request/url_request_redirect_job.h',
'url_request/url_request_simple_job.cc',
'url_request/url_request_simple_job.h',
'url_request/url_request_status.h',
'url_request/url_request_test_job.cc',
'url_request/url_request_test_job.h',
'url_request/url_request_throttler_entry.cc',
'url_request/url_request_throttler_entry.h',
'url_request/url_request_throttler_entry_interface.h',
'url_request/url_request_throttler_header_adapter.h',
'url_request/url_request_throttler_header_adapter.cc',
'url_request/url_request_throttler_header_interface.h',
'url_request/url_request_throttler_manager.cc',
'url_request/url_request_throttler_manager.h',
'url_request/view_cache_helper.cc',
'url_request/view_cache_helper.h',
'websockets/websocket.cc',
'websockets/websocket.h',
'websockets/websocket_frame_handler.cc',
'websockets/websocket_frame_handler.h',
'websockets/websocket_handshake.cc',
'websockets/websocket_handshake.h',
'websockets/websocket_handshake_draft75.cc',
'websockets/websocket_handshake_draft75.h',
'websockets/websocket_handshake_handler.cc',
'websockets/websocket_handshake_handler.h',
'websockets/websocket_job.cc',
'websockets/websocket_job.h',
'websockets/websocket_net_log_params.cc',
'websockets/websocket_net_log_params.h',
'websockets/websocket_throttle.cc',
'websockets/websocket_throttle.h',
],
'export_dependent_settings': [
'../base/base.gyp:base',
],
'conditions': [
['javascript_engine=="v8"', {
'dependencies': [
# '../v8/tools/gyp/v8.gyp:v8',
],
}],
['chromeos==1', {
'sources!': [
'proxy/proxy_config_service_linux.cc',
'proxy/proxy_config_service_linux.h',
],
}],
['use_openssl==1', {
'sources!': [
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
'socket/dns_cert_provenance_check.cc',
'socket/dns_cert_provenance_check.h',
'socket/ssl_client_socket_nss.cc',
'socket/ssl_client_socket_nss.h',
'socket/ssl_client_socket_nss_factory.cc',
'socket/ssl_client_socket_nss_factory.h',
],
},
{ # else !use_openssl: remove the unneeded files
'sources!': [
'socket/ssl_client_socket_openssl.cc',
'socket/ssl_client_socket_openssl.h',
],
},
],
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
'dependencies': [
'../build/linux/system.gyp:gconf',
'../build/linux/system.gyp:gdk',
],
'conditions': [
['use_openssl==1', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
},
{ # else use_openssl==0, use NSS
'dependencies': [
'../build/linux/system.gyp:nss',
],
}],
],
},
{ # else: OS is not in the above list
'sources!': [
'ocsp/nss_ocsp.cc',
'ocsp/nss_ocsp.h',
],
},
],
[ 'OS == "win"', {
'sources!': [
'http/http_auth_handler_ntlm_portable.cc',
'socket/tcp_client_socket_libevent.cc',
],
'dependencies': [
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:ssl',
'tld_cleanup',
],
},
{ # else: OS != "win"
'dependencies': [
'../third_party/libevent/libevent.gyp:libevent',
],
'sources!': [
'proxy/proxy_resolver_winhttp.cc',
'socket/ssl_client_socket_nss_factory.cc',
'socket/ssl_client_socket_nss_factory.h',
],
},
],
[ 'OS == "mac"', {
'dependencies': [
'../third_party/nss/nss.gyp:nss',
'third_party/nss/ssl.gyp:ssl',
],
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/Security.framework',
'$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
]
},
},
{ # else: OS != "mac"
'sources!': [
'socket/ssl_client_socket_mac_factory.cc',
'socket/ssl_client_socket_mac_factory.h',
],
},
],
],
},
{
'target_name': 'net_unittests',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/zlib/zlib.gyp:zlib',
],
'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
'sources': [
'base/address_list_unittest.cc',
'base/cert_database_nss_unittest.cc',
'base/cert_verifier_unittest.cc',
'base/cookie_monster_unittest.cc',
'base/data_url_unittest.cc',
'base/directory_lister_unittest.cc',
'base/dnssec_unittest.cc',
'base/dns_util_unittest.cc',
'base/dnsrr_resolver_unittest.cc',
'base/escape_unittest.cc',
'base/file_stream_unittest.cc',
'base/filter_unittest.cc',
'base/filter_unittest.h',
'base/gzip_filter_unittest.cc',
'base/host_cache_unittest.cc',
'base/host_mapping_rules_unittest.cc',
'base/host_resolver_impl_unittest.cc',
'base/keygen_handler_unittest.cc',
'base/leak_annotations.h',
'base/listen_socket_unittest.cc',
'base/listen_socket_unittest.h',
'base/mapped_host_resolver_unittest.cc',
'base/mime_sniffer_unittest.cc',
'base/mime_util_unittest.cc',
'base/net_log_unittest.cc',
'base/net_log_unittest.h',
'base/net_test_suite.h',
'base/net_util_unittest.cc',
'base/pem_tokenizer_unittest.cc',
'base/registry_controlled_domain_unittest.cc',
'base/run_all_unittests.cc',
'base/sdch_filter_unittest.cc',
'base/ssl_cipher_suite_names_unittest.cc',
'base/ssl_client_auth_cache_unittest.cc',
'base/ssl_config_service_mac_unittest.cc',
'base/ssl_config_service_unittest.cc',
'base/ssl_config_service_win_unittest.cc',
'base/ssl_false_start_blacklist_unittest.cc',
'base/static_cookie_policy_unittest.cc',
'base/transport_security_state_unittest.cc',
'base/test_certificate_data.h',
'base/test_completion_callback_unittest.cc',
'base/upload_data_stream_unittest.cc',
'base/x509_certificate_unittest.cc',
'base/x509_cert_types_mac_unittest.cc',
'base/x509_openssl_util_unittest.cc',
'disk_cache/addr_unittest.cc',
'disk_cache/backend_unittest.cc',
'disk_cache/bitmap_unittest.cc',
'disk_cache/block_files_unittest.cc',
'disk_cache/cache_util_unittest.cc',
'disk_cache/disk_cache_test_base.cc',
'disk_cache/disk_cache_test_base.h',
'disk_cache/entry_unittest.cc',
'disk_cache/mapped_file_unittest.cc',
'disk_cache/storage_block_unittest.cc',
'ftp/ftp_auth_cache_unittest.cc',
'ftp/ftp_ctrl_response_buffer_unittest.cc',
'ftp/ftp_directory_listing_buffer_unittest.cc',
'ftp/ftp_directory_listing_parser_ls_unittest.cc',
'ftp/ftp_directory_listing_parser_netware_unittest.cc',
'ftp/ftp_directory_listing_parser_vms_unittest.cc',
'ftp/ftp_directory_listing_parser_windows_unittest.cc',
'ftp/ftp_network_transaction_unittest.cc',
'ftp/ftp_util_unittest.cc',
'http/des_unittest.cc',
'http/http_alternate_protocols_unittest.cc',
'http/http_auth_cache_unittest.cc',
'http/http_auth_filter_unittest.cc',
'http/http_auth_gssapi_posix_unittest.cc',
'http/http_auth_handler_basic_unittest.cc',
'http/http_auth_handler_digest_unittest.cc',
'http/http_auth_handler_factory_unittest.cc',
'http/http_auth_handler_mock.cc',
'http/http_auth_handler_mock.h',
'http/http_auth_handler_negotiate_unittest.cc',
'http/http_auth_handler_unittest.cc',
'http/http_auth_sspi_win_unittest.cc',
'http/http_auth_unittest.cc',
'http/http_byte_range_unittest.cc',
'http/http_cache_unittest.cc',
'http/http_chunked_decoder_unittest.cc',
'http/http_network_layer_unittest.cc',
'http/http_network_transaction_unittest.cc',
'http/http_proxy_client_socket_pool_unittest.cc',
'http/http_request_headers_unittest.cc',
'http/http_response_body_drainer_unittest.cc',
'http/http_response_headers_unittest.cc',
'http/http_stream_factory_unittest.cc',
'http/http_transaction_unittest.cc',
'http/http_transaction_unittest.h',
'http/http_util_unittest.cc',
'http/http_vary_data_unittest.cc',
'http/mock_gssapi_library_posix.cc',
'http/mock_gssapi_library_posix.h',
'http/mock_sspi_library_win.h',
'http/mock_sspi_library_win.cc',
'http/url_security_manager_unittest.cc',
'proxy/init_proxy_resolver_unittest.cc',
'proxy/mock_proxy_resolver.h',
'proxy/multi_threaded_proxy_resolver_unittest.cc',
'proxy/proxy_bypass_rules_unittest.cc',
'proxy/proxy_config_service_linux_unittest.cc',
'proxy/proxy_config_service_win_unittest.cc',
'proxy/proxy_config_unittest.cc',
'proxy/proxy_list_unittest.cc',
'proxy/proxy_resolver_js_bindings_unittest.cc',
'proxy/proxy_resolver_v8_unittest.cc',
'proxy/proxy_script_fetcher_impl_unittest.cc',
'proxy/proxy_server_unittest.cc',
'proxy/proxy_service_unittest.cc',
'proxy/sync_host_resolver_bridge_unittest.cc',
'socket/client_socket_pool_base_unittest.cc',
'socket/deterministic_socket_data_unittest.cc',
'socket/socks5_client_socket_unittest.cc',
'socket/socks_client_socket_pool_unittest.cc',
'socket/socks_client_socket_unittest.cc',
'socket/ssl_client_socket_unittest.cc',
'socket/ssl_client_socket_pool_unittest.cc',
'socket/tcp_client_socket_pool_unittest.cc',
'socket/tcp_client_socket_unittest.cc',
'socket_stream/socket_stream_metrics_unittest.cc',
'socket_stream/socket_stream_unittest.cc',
'spdy/spdy_framer_test.cc',
'spdy/spdy_http_stream_unittest.cc',
'spdy/spdy_network_transaction_unittest.cc',
'spdy/spdy_protocol_test.cc',
'spdy/spdy_proxy_client_socket_unittest.cc',
'spdy/spdy_session_unittest.cc',
'spdy/spdy_stream_unittest.cc',
'spdy/spdy_test_util.cc',
'spdy/spdy_test_util.h',
'test/python_utils_unittest.cc',
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_to_filename_encoder_unittest.cc',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
'tools/dump_cache/url_utilities_unittest.cc',
'url_request/url_request_job_tracker_unittest.cc',
'url_request/url_request_throttler_unittest.cc',
'url_request/url_request_unittest.cc',
'url_request/url_request_unittest.h',
'url_request/view_cache_helper_unittest.cc',
'websockets/websocket_frame_handler_unittest.cc',
'websockets/websocket_handshake_draft75_unittest.cc',
'websockets/websocket_handshake_handler_unittest.cc',
'websockets/websocket_handshake_unittest.cc',
'websockets/websocket_job_unittest.cc',
'websockets/websocket_net_log_params_unittest.cc',
'websockets/websocket_throttle_unittest.cc',
'websockets/websocket_unittest.cc',
],
'conditions': [
['chromeos==1', {
'sources!': [
'proxy/proxy_config_service_linux_unittest.cc',
],
}],
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
'dependencies': [
'../build/linux/system.gyp:gtk',
'../build/linux/system.gyp:nss',
],
'sources!': [
'base/sdch_filter_unittest.cc',
],
},
{ # else: OS is not in the above list
'sources!': [
'base/cert_database_nss_unittest.cc',
],
}
],
[ 'OS == "linux"', {
'conditions': [
['linux_use_tcmalloc==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
],
}],
],
}],
[ 'use_openssl==1', {
# When building for OpenSSL, we need to exclude NSS specific tests.
# TODO(bulach): Add equivalent tests when the underlying
# functionality is ported to OpenSSL.
'sources!': [
'base/cert_database_nss_unittest.cc',
'base/dnssec_unittest.cc',
],
},
{ # else, remove openssl specific tests
'sources!': [
'base/x509_openssl_util_unittest.cc',
],
}
],
[ 'OS == "win"', {
'sources!': [
'http/http_auth_gssapi_posix_unittest.cc',
],
# This is needed to trigger the dll copy step on windows.
# TODO(mark): Specifying this here shouldn't be necessary.
'dependencies': [
'../third_party/icu/icu.gyp:icudata',
],
},
],
],
},
{
'target_name': 'net_perftests',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../base/base.gyp:test_support_perf',
'../testing/gtest.gyp:gtest',
],
'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
'sources': [
'base/cookie_monster_perftest.cc',
'disk_cache/disk_cache_perftest.cc',
'proxy/proxy_resolver_perftest.cc',
],
'conditions': [
# This is needed to trigger the dll copy step on windows.
# TODO(mark): Specifying this here shouldn't be necessary.
[ 'OS == "win"', {
'dependencies': [
'../third_party/icu/icu.gyp:icudata',
],
},
],
],
},
{
'target_name': 'stress_cache',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'../base/base.gyp:base',
],
'sources': [
'disk_cache/stress_cache.cc',
],
},
{
'target_name': 'tld_cleanup',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
'../build/temp_gyp/googleurl.gyp:googleurl',
],
'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
'sources': [
'tools/tld_cleanup/tld_cleanup.cc',
],
},
{
'target_name': 'crash_cache',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'../base/base.gyp:base',
],
'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
'sources': [
'tools/crash_cache/crash_cache.cc',
],
},
{
'target_name': 'run_testserver',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
'msvs_guid': '506F2468-6B1D-48E2-A67C-9D9C6BAC0EC5',
'sources': [
'tools/testserver/run_testserver.cc',
],
},
{
'target_name': 'net_test_support',
'type': '<(library)',
'dependencies': [
'net',
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
],
'sources': [
'base/cert_test_util.cc',
'base/cert_test_util.h',
'disk_cache/disk_cache_test_util.cc',
'disk_cache/disk_cache_test_util.h',
'proxy/proxy_config_service_common_unittest.cc',
'proxy/proxy_config_service_common_unittest.h',
'socket/socket_test_util.cc',
'socket/socket_test_util.h',
'test/python_utils.cc',
'test/python_utils.h',
'test/test_server.cc',
'test/test_server_posix.cc',
'test/test_server_win.cc',
'test/test_server.h',
],
'conditions': [
['inside_chromium_build==1', {
'dependencies': [
'../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto',
'../chrome/browser/policy/proto/device_management_proto.gyp:device_management_proto',
'../third_party/protobuf/protobuf.gyp:py_proto',
],
}],
['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
'conditions': [
['use_openssl==1', {
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
}, {
'dependencies': [
'../build/linux/system.gyp:nss',
],
}],
],
}],
['OS == "linux"', {
'conditions': [
['linux_use_tcmalloc==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
],
}],
],
}],
],
},
{
'target_name': 'net_resources',
'type': 'none',
'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
'variables': {
'grit_cmd': ['python', '../tools/grit/grit.py'],
'grit_info_cmd': ['python', '../tools/grit/grit_info.py'],
'input_paths': [
'base/net_resources.grd',
],
},
'rules': [
{
'rule_name': 'grit',
'extension': 'grd',
'inputs': [
'<!@(<(grit_info_cmd) --inputs <(input_paths))',
],
'outputs': [
'<!@(<(grit_info_cmd) '
'--outputs \'<(SHARED_INTERMEDIATE_DIR)/net\' <(input_paths))',
],
'action':
['<@(grit_cmd)',
'-i', '<(RULE_INPUT_PATH)', 'build',
'-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
'message': 'Generating resources from <(RULE_INPUT_PATH)',
},
],
'sources': [
'<@(input_paths)',
],
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/net',
],
},
'conditions': [
['OS=="win"', {
'dependencies': ['../build/win/system.gyp:cygwin'],
}],
],
},
{
'target_name': 'fetch_client',
'type': 'executable',
'dependencies': [
'net',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
'sources': [
'tools/fetch/fetch_client.cc',
],
},
{
'target_name': 'fetch_server',
'type': 'executable',
'dependencies': [
'net',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
'sources': [
'tools/fetch/fetch_server.cc',
'tools/fetch/http_listen_socket.cc',
'tools/fetch/http_listen_socket.h',
'tools/fetch/http_server.cc',
'tools/fetch/http_server.h',
'tools/fetch/http_server_request_info.h',
'tools/fetch/http_server_response_info.h',
'tools/fetch/http_session.cc',
'tools/fetch/http_session.h',
],
},
{
'target_name': 'http_listen_socket',
'type': '<(library)',
'dependencies': [
'net',
'../base/base.gyp:base',
'../testing/gtest.gyp:gtest',
],
'msvs_guid': 'FCB894A4-CC6C-48C2-B495-52C80527E9BE',
'sources': [
'server/http_listen_socket.cc',
'server/http_listen_socket.h',
'server/http_server_request_info.cc',
'server/http_server_request_info.h',
],
},
{
'target_name': 'hresolv',
'type': 'executable',
'dependencies': [
'net_base',
],
'msvs_guid': 'FF1BAC48-D326-4CB4-96DA-8B03DE23ED6E',
'sources': [
'tools/hresolv/hresolv.cc',
],
},
{
'target_name': 'dnssec_chain_verify',
'type': 'executable',
'dependencies': [
'net_base',
],
'sources': [
'tools/dnssec_chain_verify/dnssec_chain_verify.cc',
]
},
{
'target_name': 'ssl_false_start_blacklist_process',
'type': 'executable',
'toolsets': ['host'],
'include_dirs': [
'..',
],
'sources': [
'base/ssl_false_start_blacklist_process.cc',
],
},
],
'conditions': [
['OS=="linux"', {
'targets': [
{
'target_name': 'flip_in_mem_edsm_server',
'type': 'executable',
'cflags': [
'-Wno-deprecated',
],
'dependencies': [
'../base/base.gyp:base',
'net.gyp:net',
'../third_party/openssl/openssl.gyp:openssl',
],
'sources': [
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
'tools/flip_server/balsa_enums.h',
'tools/flip_server/balsa_frame.cc',
'tools/flip_server/balsa_frame.h',
'tools/flip_server/balsa_headers.cc',
'tools/flip_server/balsa_headers.h',
'tools/flip_server/balsa_headers_token_utils.cc',
'tools/flip_server/balsa_headers_token_utils.h',
'tools/flip_server/balsa_visitor_interface.h',
'tools/flip_server/buffer_interface.h',
'tools/flip_server/create_listener.cc',
'tools/flip_server/create_listener.h',
'tools/flip_server/epoll_server.cc',
'tools/flip_server/epoll_server.h',
'tools/flip_server/flip_in_mem_edsm_server.cc',
'tools/flip_server/http_message_constants.cc',
'tools/flip_server/http_message_constants.h',
'tools/flip_server/loadtime_measurement.h',
'tools/flip_server/porting.txt',
'tools/flip_server/ring_buffer.cc',
'tools/flip_server/ring_buffer.h',
'tools/flip_server/simple_buffer.cc',
'tools/flip_server/simple_buffer.h',
'tools/flip_server/split.h',
'tools/flip_server/split.cc',
'tools/flip_server/string_piece_utils.h',
'tools/flip_server/thread.h',
'tools/flip_server/url_to_filename_encoder.h',
'tools/flip_server/url_utilities.h',
],
},
]
}],
['OS=="linux"', {
'targets': [
{
'target_name': 'snap_start_unittests',
'type': 'executable',
'dependencies': [
'net',
'net_test_support',
'openssl_helper',
'../build/linux/system.gyp:nss',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
],
'sources': [
'base/run_all_unittests.cc',
'socket/ssl_client_socket_snapstart_unittest.cc',
]
},
{
'target_name': 'openssl_helper',
'type': 'executable',
'dependencies': [
'../third_party/openssl/openssl.gyp:openssl',
],
'sources': [
'test/openssl_helper.cc',
],
},
],
}],
['OS=="win"', {
'targets': [
{
# TODO(port): dump_cache is still Windows-specific.
'target_name': 'dump_cache',
'type': 'executable',
'dependencies': [
'net',
'../base/base.gyp:base',
],
'sources': [
'tools/dump_cache/cache_dumper.cc',
'tools/dump_cache/cache_dumper.h',
'tools/dump_cache/dump_cache.cc',
'tools/dump_cache/dump_files.cc',
'tools/dump_cache/upgrade.cc',
'tools/dump_cache/url_to_filename_encoder.cc',
'tools/dump_cache/url_to_filename_encoder.h',
'tools/dump_cache/url_utilities.h',
'tools/dump_cache/url_utilities.cc',
],
},
],
}],
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2:
| {'variables': {'chromium_code': 1, 'javascript_engine': 0}, 'targets': [{'target_name': 'net_base', 'type': '<(library)', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_resources', 'ssl_false_start_blacklist_process#host'], 'sources': ['base/address_family.h', 'base/address_list.cc', 'base/address_list.h', 'base/address_list_net_log_param.cc', 'base/address_list_net_log_param.h', 'base/auth.cc', 'base/auth.h', 'base/bandwidth_metrics.cc', 'base/bandwidth_metrics.h', 'base/cache_type.h', 'base/capturing_net_log.cc', 'base/capturing_net_log.h', 'base/cert_database.cc', 'base/cert_database.h', 'base/cert_database_mac.cc', 'base/cert_database_nss.cc', 'base/cert_database_openssl.cc', 'base/cert_database_win.cc', 'base/cert_status_flags.cc', 'base/cert_status_flags.h', 'base/cert_verifier.cc', 'base/cert_verifier.h', 'base/cert_verify_result.h', 'base/completion_callback.h', 'base/connection_type_histograms.cc', 'base/connection_type_histograms.h', 'base/cookie_monster.cc', 'base/cookie_monster.h', 'base/cookie_options.h', 'base/cookie_policy.h', 'base/cookie_store.cc', 'base/cookie_store.h', 'base/data_url.cc', 'base/data_url.h', 'base/directory_lister.cc', 'base/directory_lister.h', 'base/dns_reload_timer.cc', 'base/dns_reload_timer.h', 'base/dnssec_chain_verifier.cc', 'base/dnssec_chain_verifier.h', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/dnssec_proto.h', 'base/dns_util.cc', 'base/dns_util.h', 'base/dnsrr_resolver.cc', 'base/dnsrr_resolver.h', 'base/escape.cc', 'base/escape.h', 'base/ev_root_ca_metadata.cc', 'base/ev_root_ca_metadata.h', 'base/file_stream.h', 'base/file_stream_posix.cc', 'base/file_stream_win.cc', 'base/filter.cc', 'base/filter.h', 'base/gzip_filter.cc', 'base/gzip_filter.h', 'base/gzip_header.cc', 'base/gzip_header.h', 'base/host_cache.cc', 'base/host_cache.h', 'base/host_mapping_rules.cc', 'base/host_mapping_rules.h', 'base/host_port_pair.cc', 'base/host_port_pair.h', 'base/host_resolver.cc', 'base/host_resolver.h', 'base/host_resolver_impl.cc', 'base/host_resolver_impl.h', 'base/host_resolver_proc.cc', 'base/host_resolver_proc.h', 'base/io_buffer.cc', 'base/io_buffer.h', 'base/keygen_handler.h', 'base/keygen_handler_mac.cc', 'base/keygen_handler_nss.cc', 'base/keygen_handler_openssl.cc', 'base/keygen_handler_win.cc', 'base/listen_socket.cc', 'base/listen_socket.h', 'base/load_flags.h', 'base/load_flags_list.h', 'base/load_states.h', 'base/mapped_host_resolver.cc', 'base/mapped_host_resolver.h', 'base/mime_sniffer.cc', 'base/mime_sniffer.h', 'base/mime_util.cc', 'base/mime_util.h', 'base/mock_host_resolver.cc', 'base/mock_host_resolver.h', 'base/net_error_list.h', 'base/net_errors.cc', 'base/net_errors.h', 'base/net_log.cc', 'base/net_log.h', 'base/net_log_event_type_list.h', 'base/net_log_source_type_list.h', 'base/net_module.cc', 'base/net_module.h', 'base/net_util.cc', 'base/net_util.h', 'base/net_util_posix.cc', 'base/net_util_win.cc', 'base/network_change_notifier.cc', 'base/network_change_notifier.h', 'base/network_change_notifier_linux.cc', 'base/network_change_notifier_linux.h', 'base/network_change_notifier_mac.cc', 'base/network_change_notifier_mac.h', 'base/network_change_notifier_netlink_linux.cc', 'base/network_change_notifier_netlink_linux.h', 'base/network_change_notifier_win.cc', 'base/network_change_notifier_win.h', 'base/network_config_watcher_mac.cc', 'base/network_config_watcher_mac.h', 'base/nss_memio.c', 'base/nss_memio.h', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/pem_tokenizer.cc', 'base/pem_tokenizer.h', 'base/platform_mime_util.h', 'base/platform_mime_util_linux.cc', 'base/platform_mime_util_mac.cc', 'base/platform_mime_util_win.cc', 'base/registry_controlled_domain.cc', 'base/registry_controlled_domain.h', 'base/scoped_cert_chain_context.h', 'base/sdch_filter.cc', 'base/sdch_filter.h', 'base/sdch_manager.cc', 'base/sdch_manager.h', 'base/ssl_cert_request_info.cc', 'base/ssl_cert_request_info.h', 'base/ssl_cipher_suite_names.cc', 'base/ssl_cipher_suite_names.h', 'base/ssl_client_auth_cache.cc', 'base/ssl_client_auth_cache.h', 'base/ssl_config_service.cc', 'base/ssl_config_service.h', 'base/ssl_config_service_defaults.cc', 'base/ssl_config_service_defaults.h', 'base/ssl_config_service_mac.cc', 'base/ssl_config_service_mac.h', 'base/ssl_config_service_win.cc', 'base/ssl_config_service_win.h', 'base/ssl_false_start_blacklist.cc', 'base/ssl_info.cc', 'base/ssl_info.h', 'base/static_cookie_policy.cc', 'base/static_cookie_policy.h', 'base/test_root_certs.cc', 'base/test_root_certs.h', 'base/test_root_certs_mac.cc', 'base/test_root_certs_nss.cc', 'base/test_root_certs_openssl.cc', 'base/test_root_certs_win.cc', 'base/transport_security_state.cc', 'base/transport_security_state.h', 'base/sys_addrinfo.h', 'base/test_completion_callback.h', 'base/upload_data.cc', 'base/upload_data.h', 'base/upload_data_stream.cc', 'base/upload_data_stream.h', 'base/winsock_init.cc', 'base/winsock_init.h', 'base/x509_certificate.cc', 'base/x509_certificate.h', 'base/x509_certificate_mac.cc', 'base/x509_certificate_nss.cc', 'base/x509_certificate_openssl.cc', 'base/x509_certificate_win.cc', 'base/x509_cert_types.cc', 'base/x509_cert_types.h', 'base/x509_cert_types_mac.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h'], 'export_dependent_settings': ['../base/base.gyp:base'], 'actions': [{'action_name': 'ssl_false_start_blacklist', 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc'], 'action': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)', 'base/ssl_false_start_blacklist.txt', '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc'], 'message': 'Generating SSL False Start blacklist', 'process_outputs_as_sources': 1}], 'conditions': [['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk', '../build/linux/system.gyp:libresolv'], 'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}, {'sources!': ['base/cert_database_nss.cc', 'base/keygen_handler_nss.cc', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}], ['use_openssl==1', {'sources!': ['base/cert_database_nss.cc', 'base/dnssec_keyset.cc', 'base/dnssec_keyset.h', 'base/keygen_handler_nss.cc', 'base/nss_memio.c', 'base/nss_memio.h', 'base/test_root_certs_nss.cc', 'base/x509_certificate_nss.cc', 'third_party/mozilla_security_manager/nsKeygenHandler.cpp', 'third_party/mozilla_security_manager/nsKeygenHandler.h', 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', 'third_party/mozilla_security_manager/nsNSSCertTrust.h', 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', 'third_party/mozilla_security_manager/nsPKCS12Blob.h']}, {'sources!': ['base/cert_database_openssl.cc', 'base/keygen_handler_openssl.cc', 'base/openssl_memory_private_key_store.cc', 'base/openssl_private_key_store.h', 'base/test_root_certs_openssl.cc', 'base/x509_certificate_openssl.cc', 'base/x509_openssl_util.cc', 'base/x509_openssl_util.h']}], ['OS == "win"', {'dependencies': ['../third_party/nss/nss.gyp:nss', 'tld_cleanup']}, {'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], 'sources!': ['base/winsock_init.cc']}], ['OS == "mac"', {'dependencies': ['../third_party/nss/nss.gyp:nss'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', '$(SDKROOT)/usr/lib/libresolv.dylib']}}]]}, {'target_name': 'net', 'type': '<(library)', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl', '../sdch/sdch.gyp:sdch', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', '../third_party/zlib/zlib.gyp:zlib', 'net_base', 'net_resources'], 'sources': ['disk_cache/addr.cc', 'disk_cache/addr.h', 'disk_cache/backend_impl.cc', 'disk_cache/backend_impl.h', 'disk_cache/bitmap.cc', 'disk_cache/bitmap.h', 'disk_cache/block_files.cc', 'disk_cache/block_files.h', 'disk_cache/cache_util.h', 'disk_cache/cache_util_posix.cc', 'disk_cache/cache_util_win.cc', 'disk_cache/disk_cache.h', 'disk_cache/disk_format.cc', 'disk_cache/disk_format.h', 'disk_cache/entry_impl.cc', 'disk_cache/entry_impl.h', 'disk_cache/errors.h', 'disk_cache/eviction.cc', 'disk_cache/eviction.h', 'disk_cache/experiments.h', 'disk_cache/file.cc', 'disk_cache/file.h', 'disk_cache/file_block.h', 'disk_cache/file_lock.cc', 'disk_cache/file_lock.h', 'disk_cache/file_posix.cc', 'disk_cache/file_win.cc', 'disk_cache/hash.cc', 'disk_cache/hash.h', 'disk_cache/histogram_macros.h', 'disk_cache/in_flight_backend_io.cc', 'disk_cache/in_flight_backend_io.h', 'disk_cache/in_flight_io.cc', 'disk_cache/in_flight_io.h', 'disk_cache/mapped_file.h', 'disk_cache/mapped_file_posix.cc', 'disk_cache/mapped_file_win.cc', 'disk_cache/mem_backend_impl.cc', 'disk_cache/mem_backend_impl.h', 'disk_cache/mem_entry_impl.cc', 'disk_cache/mem_entry_impl.h', 'disk_cache/mem_rankings.cc', 'disk_cache/mem_rankings.h', 'disk_cache/rankings.cc', 'disk_cache/rankings.h', 'disk_cache/sparse_control.cc', 'disk_cache/sparse_control.h', 'disk_cache/stats.cc', 'disk_cache/stats.h', 'disk_cache/stats_histogram.cc', 'disk_cache/stats_histogram.h', 'disk_cache/storage_block-inl.h', 'disk_cache/storage_block.h', 'disk_cache/trace.cc', 'disk_cache/trace.h', 'ftp/ftp_auth_cache.cc', 'ftp/ftp_auth_cache.h', 'ftp/ftp_ctrl_response_buffer.cc', 'ftp/ftp_ctrl_response_buffer.h', 'ftp/ftp_directory_listing_buffer.cc', 'ftp/ftp_directory_listing_buffer.h', 'ftp/ftp_directory_listing_parser.cc', 'ftp/ftp_directory_listing_parser.h', 'ftp/ftp_directory_listing_parser_ls.cc', 'ftp/ftp_directory_listing_parser_ls.h', 'ftp/ftp_directory_listing_parser_netware.cc', 'ftp/ftp_directory_listing_parser_netware.h', 'ftp/ftp_directory_listing_parser_vms.cc', 'ftp/ftp_directory_listing_parser_vms.h', 'ftp/ftp_directory_listing_parser_windows.cc', 'ftp/ftp_directory_listing_parser_windows.h', 'ftp/ftp_network_layer.cc', 'ftp/ftp_network_layer.h', 'ftp/ftp_network_session.cc', 'ftp/ftp_network_session.h', 'ftp/ftp_network_transaction.cc', 'ftp/ftp_network_transaction.h', 'ftp/ftp_request_info.h', 'ftp/ftp_response_info.h', 'ftp/ftp_server_type_histograms.cc', 'ftp/ftp_server_type_histograms.h', 'ftp/ftp_transaction.h', 'ftp/ftp_transaction_factory.h', 'ftp/ftp_util.cc', 'ftp/ftp_util.h', 'http/des.cc', 'http/des.h', 'http/disk_cache_based_ssl_host_info.cc', 'http/disk_cache_based_ssl_host_info.h', 'http/http_alternate_protocols.cc', 'http/http_alternate_protocols.h', 'http/http_atom_list.h', 'http/http_auth.cc', 'http/http_auth.h', 'http/http_auth_cache.cc', 'http/http_auth_cache.h', 'http/http_auth_controller.cc', 'http/http_auth_controller.h', 'http/http_auth_filter.cc', 'http/http_auth_filter.h', 'http/http_auth_filter_win.h', 'http/http_auth_gssapi_posix.cc', 'http/http_auth_gssapi_posix.h', 'http/http_auth_handler.cc', 'http/http_auth_handler.h', 'http/http_auth_handler_basic.cc', 'http/http_auth_handler_basic.h', 'http/http_auth_handler_digest.cc', 'http/http_auth_handler_digest.h', 'http/http_auth_handler_factory.cc', 'http/http_auth_handler_factory.h', 'http/http_auth_handler_negotiate.h', 'http/http_auth_handler_negotiate.cc', 'http/http_auth_handler_ntlm.cc', 'http/http_auth_handler_ntlm.h', 'http/http_auth_handler_ntlm_portable.cc', 'http/http_auth_handler_ntlm_win.cc', 'http/http_auth_sspi_win.cc', 'http/http_auth_sspi_win.h', 'http/http_basic_stream.cc', 'http/http_basic_stream.h', 'http/http_byte_range.cc', 'http/http_byte_range.h', 'http/http_cache.cc', 'http/http_cache.h', 'http/http_cache_transaction.cc', 'http/http_cache_transaction.h', 'http/http_chunked_decoder.cc', 'http/http_chunked_decoder.h', 'http/http_net_log_params.cc', 'http/http_net_log_params.h', 'http/http_network_delegate.h', 'http/http_network_layer.cc', 'http/http_network_layer.h', 'http/http_network_session.cc', 'http/http_network_session.h', 'http/http_network_session_peer.h', 'http/http_network_transaction.cc', 'http/http_network_transaction.h', 'http/http_request_headers.cc', 'http/http_request_headers.h', 'http/http_request_info.cc', 'http/http_request_info.h', 'http/http_response_body_drainer.cc', 'http/http_response_body_drainer.h', 'http/http_response_headers.cc', 'http/http_response_headers.h', 'http/http_response_info.cc', 'http/http_response_info.h', 'http/http_stream.h', 'http/http_stream_factory.cc', 'http/http_stream_factory.h', 'http/http_stream_parser.cc', 'http/http_stream_parser.h', 'http/http_stream_request.cc', 'http/http_stream_request.h', 'http/http_transaction.h', 'http/http_transaction_factory.h', 'http/url_security_manager.h', 'http/url_security_manager.cc', 'http/url_security_manager_posix.cc', 'http/url_security_manager_win.cc', 'http/http_proxy_client_socket.cc', 'http/http_proxy_client_socket.h', 'http/http_proxy_client_socket_pool.cc', 'http/http_proxy_client_socket_pool.h', 'http/http_proxy_utils.cc', 'http/http_proxy_utils.h', 'http/http_util.cc', 'http/http_util_icu.cc', 'http/http_util.h', 'http/http_vary_data.cc', 'http/http_vary_data.h', 'http/http_version.h', 'http/md4.cc', 'http/md4.h', 'http/partial_data.cc', 'http/partial_data.h', 'http/proxy_client_socket.h', 'http/stream_factory.h', 'ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'proxy/init_proxy_resolver.cc', 'proxy/init_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver.cc', 'proxy/multi_threaded_proxy_resolver.h', 'proxy/polling_proxy_config_service.cc', 'proxy/polling_proxy_config_service.h', 'proxy/proxy_bypass_rules.cc', 'proxy/proxy_bypass_rules.h', 'proxy/proxy_config.cc', 'proxy/proxy_config.h', 'proxy/proxy_config_service.h', 'proxy/proxy_config_service_fixed.cc', 'proxy/proxy_config_service_fixed.h', 'proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h', 'proxy/proxy_config_service_mac.cc', 'proxy/proxy_config_service_mac.h', 'proxy/proxy_config_service_win.cc', 'proxy/proxy_config_service_win.h', 'proxy/proxy_info.cc', 'proxy/proxy_info.h', 'proxy/proxy_list.cc', 'proxy/proxy_list.h', 'proxy/proxy_resolver.h', 'proxy/proxy_resolver_js_bindings.cc', 'proxy/proxy_resolver_js_bindings.h', 'proxy/proxy_resolver_mac.cc', 'proxy/proxy_resolver_mac.h', 'proxy/proxy_resolver_request_context.h', 'proxy/proxy_resolver_script.h', 'proxy/proxy_resolver_script_data.cc', 'proxy/proxy_resolver_script_data.h', 'proxy/proxy_resolver_v8.h', 'proxy/proxy_resolver_winhttp.cc', 'proxy/proxy_resolver_winhttp.h', 'proxy/proxy_retry_info.h', 'proxy/proxy_script_fetcher.h', 'proxy/proxy_script_fetcher_impl.cc', 'proxy/proxy_script_fetcher_impl.h', 'proxy/proxy_server.cc', 'proxy/proxy_server_mac.cc', 'proxy/proxy_server.h', 'proxy/proxy_service.cc', 'proxy/proxy_service.h', 'proxy/sync_host_resolver_bridge.cc', 'proxy/sync_host_resolver_bridge.h', 'socket/client_socket.cc', 'socket/client_socket.h', 'socket/client_socket_factory.cc', 'socket/client_socket_factory.h', 'socket/client_socket_handle.cc', 'socket/client_socket_handle.h', 'socket/client_socket_pool.h', 'socket/client_socket_pool.cc', 'socket/client_socket_pool_base.cc', 'socket/client_socket_pool_base.h', 'socket/client_socket_pool_histograms.cc', 'socket/client_socket_pool_histograms.h', 'socket/client_socket_pool_manager.cc', 'socket/client_socket_pool_manager.h', 'socket/dns_cert_provenance_checker.cc', 'socket/dns_cert_provenance_checker.h', 'socket/socket.h', 'socket/socks5_client_socket.cc', 'socket/socks5_client_socket.h', 'socket/socks_client_socket.cc', 'socket/socks_client_socket.h', 'socket/socks_client_socket_pool.cc', 'socket/socks_client_socket_pool.h', 'socket/ssl_client_socket.cc', 'socket/ssl_client_socket.h', 'socket/ssl_client_socket_mac.cc', 'socket/ssl_client_socket_mac.h', 'socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h', 'socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h', 'socket/ssl_client_socket_pool.cc', 'socket/ssl_client_socket_pool.h', 'socket/ssl_client_socket_win.cc', 'socket/ssl_client_socket_win.h', 'socket/ssl_error_params.cc', 'socket/ssl_error_params.h', 'socket/ssl_host_info.cc', 'socket/ssl_host_info.h', 'socket/tcp_client_socket.cc', 'socket/tcp_client_socket.h', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', 'socket/tcp_client_socket_pool.cc', 'socket/tcp_client_socket_pool.h', 'socket/tcp_client_socket_win.cc', 'socket/tcp_client_socket_win.h', 'socket_stream/socket_stream.cc', 'socket_stream/socket_stream.h', 'socket_stream/socket_stream_job.cc', 'socket_stream/socket_stream_job.h', 'socket_stream/socket_stream_job_manager.cc', 'socket_stream/socket_stream_job_manager.h', 'socket_stream/socket_stream_metrics.cc', 'socket_stream/socket_stream_metrics.h', 'spdy/spdy_bitmasks.h', 'spdy/spdy_frame_builder.cc', 'spdy/spdy_frame_builder.h', 'spdy/spdy_framer.cc', 'spdy/spdy_framer.h', 'spdy/spdy_http_stream.cc', 'spdy/spdy_http_stream.h', 'spdy/spdy_http_utils.cc', 'spdy/spdy_http_utils.h', 'spdy/spdy_io_buffer.cc', 'spdy/spdy_io_buffer.h', 'spdy/spdy_protocol.h', 'spdy/spdy_proxy_client_socket.cc', 'spdy/spdy_proxy_client_socket.h', 'spdy/spdy_session.cc', 'spdy/spdy_session.h', 'spdy/spdy_session_pool.cc', 'spdy/spdy_session_pool.h', 'spdy/spdy_settings_storage.cc', 'spdy/spdy_settings_storage.h', 'spdy/spdy_stream.cc', 'spdy/spdy_stream.h', 'url_request/https_prober.h', 'url_request/https_prober.cc', 'url_request/url_request.cc', 'url_request/url_request.h', 'url_request/url_request_about_job.cc', 'url_request/url_request_about_job.h', 'url_request/url_request_context.cc', 'url_request/url_request_context.h', 'url_request/url_request_data_job.cc', 'url_request/url_request_data_job.h', 'url_request/url_request_error_job.cc', 'url_request/url_request_error_job.h', 'url_request/url_request_file_dir_job.cc', 'url_request/url_request_file_dir_job.h', 'url_request/url_request_file_job.cc', 'url_request/url_request_file_job.h', 'url_request/url_request_filter.cc', 'url_request/url_request_filter.h', 'url_request/url_request_ftp_job.cc', 'url_request/url_request_ftp_job.h', 'url_request/url_request_http_job.cc', 'url_request/url_request_http_job.h', 'url_request/url_request_job.cc', 'url_request/url_request_job.h', 'url_request/url_request_job_manager.cc', 'url_request/url_request_job_manager.h', 'url_request/url_request_job_metrics.cc', 'url_request/url_request_job_metrics.h', 'url_request/url_request_job_tracker.cc', 'url_request/url_request_job_tracker.h', 'url_request/url_request_netlog_params.cc', 'url_request/url_request_netlog_params.h', 'url_request/url_request_redirect_job.cc', 'url_request/url_request_redirect_job.h', 'url_request/url_request_simple_job.cc', 'url_request/url_request_simple_job.h', 'url_request/url_request_status.h', 'url_request/url_request_test_job.cc', 'url_request/url_request_test_job.h', 'url_request/url_request_throttler_entry.cc', 'url_request/url_request_throttler_entry.h', 'url_request/url_request_throttler_entry_interface.h', 'url_request/url_request_throttler_header_adapter.h', 'url_request/url_request_throttler_header_adapter.cc', 'url_request/url_request_throttler_header_interface.h', 'url_request/url_request_throttler_manager.cc', 'url_request/url_request_throttler_manager.h', 'url_request/view_cache_helper.cc', 'url_request/view_cache_helper.h', 'websockets/websocket.cc', 'websockets/websocket.h', 'websockets/websocket_frame_handler.cc', 'websockets/websocket_frame_handler.h', 'websockets/websocket_handshake.cc', 'websockets/websocket_handshake.h', 'websockets/websocket_handshake_draft75.cc', 'websockets/websocket_handshake_draft75.h', 'websockets/websocket_handshake_handler.cc', 'websockets/websocket_handshake_handler.h', 'websockets/websocket_job.cc', 'websockets/websocket_job.h', 'websockets/websocket_net_log_params.cc', 'websockets/websocket_net_log_params.h', 'websockets/websocket_throttle.cc', 'websockets/websocket_throttle.h'], 'export_dependent_settings': ['../base/base.gyp:base'], 'conditions': [['javascript_engine=="v8"', {'dependencies': []}], ['chromeos==1', {'sources!': ['proxy/proxy_config_service_linux.cc', 'proxy/proxy_config_service_linux.h']}], ['use_openssl==1', {'sources!': ['ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h', 'socket/dns_cert_provenance_check.cc', 'socket/dns_cert_provenance_check.h', 'socket/ssl_client_socket_nss.cc', 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h']}, {'sources!': ['socket/ssl_client_socket_openssl.cc', 'socket/ssl_client_socket_openssl.h']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gconf', '../build/linux/system.gyp:gdk'], 'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}, {'sources!': ['ocsp/nss_ocsp.cc', 'ocsp/nss_ocsp.h']}], ['OS == "win"', {'sources!': ['http/http_auth_handler_ntlm_portable.cc', 'socket/tcp_client_socket_libevent.cc'], 'dependencies': ['../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl', 'tld_cleanup']}, {'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], 'sources!': ['proxy/proxy_resolver_winhttp.cc', 'socket/ssl_client_socket_nss_factory.cc', 'socket/ssl_client_socket_nss_factory.h']}], ['OS == "mac"', {'dependencies': ['../third_party/nss/nss.gyp:nss', 'third_party/nss/ssl.gyp:ssl'], 'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/Security.framework', '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework']}}, {'sources!': ['socket/ssl_client_socket_mac_factory.cc', 'socket/ssl_client_socket_mac_factory.h']}]]}, {'target_name': 'net_unittests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/zlib/zlib.gyp:zlib'], 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567', 'sources': ['base/address_list_unittest.cc', 'base/cert_database_nss_unittest.cc', 'base/cert_verifier_unittest.cc', 'base/cookie_monster_unittest.cc', 'base/data_url_unittest.cc', 'base/directory_lister_unittest.cc', 'base/dnssec_unittest.cc', 'base/dns_util_unittest.cc', 'base/dnsrr_resolver_unittest.cc', 'base/escape_unittest.cc', 'base/file_stream_unittest.cc', 'base/filter_unittest.cc', 'base/filter_unittest.h', 'base/gzip_filter_unittest.cc', 'base/host_cache_unittest.cc', 'base/host_mapping_rules_unittest.cc', 'base/host_resolver_impl_unittest.cc', 'base/keygen_handler_unittest.cc', 'base/leak_annotations.h', 'base/listen_socket_unittest.cc', 'base/listen_socket_unittest.h', 'base/mapped_host_resolver_unittest.cc', 'base/mime_sniffer_unittest.cc', 'base/mime_util_unittest.cc', 'base/net_log_unittest.cc', 'base/net_log_unittest.h', 'base/net_test_suite.h', 'base/net_util_unittest.cc', 'base/pem_tokenizer_unittest.cc', 'base/registry_controlled_domain_unittest.cc', 'base/run_all_unittests.cc', 'base/sdch_filter_unittest.cc', 'base/ssl_cipher_suite_names_unittest.cc', 'base/ssl_client_auth_cache_unittest.cc', 'base/ssl_config_service_mac_unittest.cc', 'base/ssl_config_service_unittest.cc', 'base/ssl_config_service_win_unittest.cc', 'base/ssl_false_start_blacklist_unittest.cc', 'base/static_cookie_policy_unittest.cc', 'base/transport_security_state_unittest.cc', 'base/test_certificate_data.h', 'base/test_completion_callback_unittest.cc', 'base/upload_data_stream_unittest.cc', 'base/x509_certificate_unittest.cc', 'base/x509_cert_types_mac_unittest.cc', 'base/x509_openssl_util_unittest.cc', 'disk_cache/addr_unittest.cc', 'disk_cache/backend_unittest.cc', 'disk_cache/bitmap_unittest.cc', 'disk_cache/block_files_unittest.cc', 'disk_cache/cache_util_unittest.cc', 'disk_cache/disk_cache_test_base.cc', 'disk_cache/disk_cache_test_base.h', 'disk_cache/entry_unittest.cc', 'disk_cache/mapped_file_unittest.cc', 'disk_cache/storage_block_unittest.cc', 'ftp/ftp_auth_cache_unittest.cc', 'ftp/ftp_ctrl_response_buffer_unittest.cc', 'ftp/ftp_directory_listing_buffer_unittest.cc', 'ftp/ftp_directory_listing_parser_ls_unittest.cc', 'ftp/ftp_directory_listing_parser_netware_unittest.cc', 'ftp/ftp_directory_listing_parser_vms_unittest.cc', 'ftp/ftp_directory_listing_parser_windows_unittest.cc', 'ftp/ftp_network_transaction_unittest.cc', 'ftp/ftp_util_unittest.cc', 'http/des_unittest.cc', 'http/http_alternate_protocols_unittest.cc', 'http/http_auth_cache_unittest.cc', 'http/http_auth_filter_unittest.cc', 'http/http_auth_gssapi_posix_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', 'http/http_auth_handler_digest_unittest.cc', 'http/http_auth_handler_factory_unittest.cc', 'http/http_auth_handler_mock.cc', 'http/http_auth_handler_mock.h', 'http/http_auth_handler_negotiate_unittest.cc', 'http/http_auth_handler_unittest.cc', 'http/http_auth_sspi_win_unittest.cc', 'http/http_auth_unittest.cc', 'http/http_byte_range_unittest.cc', 'http/http_cache_unittest.cc', 'http/http_chunked_decoder_unittest.cc', 'http/http_network_layer_unittest.cc', 'http/http_network_transaction_unittest.cc', 'http/http_proxy_client_socket_pool_unittest.cc', 'http/http_request_headers_unittest.cc', 'http/http_response_body_drainer_unittest.cc', 'http/http_response_headers_unittest.cc', 'http/http_stream_factory_unittest.cc', 'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.h', 'http/http_util_unittest.cc', 'http/http_vary_data_unittest.cc', 'http/mock_gssapi_library_posix.cc', 'http/mock_gssapi_library_posix.h', 'http/mock_sspi_library_win.h', 'http/mock_sspi_library_win.cc', 'http/url_security_manager_unittest.cc', 'proxy/init_proxy_resolver_unittest.cc', 'proxy/mock_proxy_resolver.h', 'proxy/multi_threaded_proxy_resolver_unittest.cc', 'proxy/proxy_bypass_rules_unittest.cc', 'proxy/proxy_config_service_linux_unittest.cc', 'proxy/proxy_config_service_win_unittest.cc', 'proxy/proxy_config_unittest.cc', 'proxy/proxy_list_unittest.cc', 'proxy/proxy_resolver_js_bindings_unittest.cc', 'proxy/proxy_resolver_v8_unittest.cc', 'proxy/proxy_script_fetcher_impl_unittest.cc', 'proxy/proxy_server_unittest.cc', 'proxy/proxy_service_unittest.cc', 'proxy/sync_host_resolver_bridge_unittest.cc', 'socket/client_socket_pool_base_unittest.cc', 'socket/deterministic_socket_data_unittest.cc', 'socket/socks5_client_socket_unittest.cc', 'socket/socks_client_socket_pool_unittest.cc', 'socket/socks_client_socket_unittest.cc', 'socket/ssl_client_socket_unittest.cc', 'socket/ssl_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_pool_unittest.cc', 'socket/tcp_client_socket_unittest.cc', 'socket_stream/socket_stream_metrics_unittest.cc', 'socket_stream/socket_stream_unittest.cc', 'spdy/spdy_framer_test.cc', 'spdy/spdy_http_stream_unittest.cc', 'spdy/spdy_network_transaction_unittest.cc', 'spdy/spdy_protocol_test.cc', 'spdy/spdy_proxy_client_socket_unittest.cc', 'spdy/spdy_session_unittest.cc', 'spdy/spdy_stream_unittest.cc', 'spdy/spdy_test_util.cc', 'spdy/spdy_test_util.h', 'test/python_utils_unittest.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_to_filename_encoder_unittest.cc', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/dump_cache/url_utilities_unittest.cc', 'url_request/url_request_job_tracker_unittest.cc', 'url_request/url_request_throttler_unittest.cc', 'url_request/url_request_unittest.cc', 'url_request/url_request_unittest.h', 'url_request/view_cache_helper_unittest.cc', 'websockets/websocket_frame_handler_unittest.cc', 'websockets/websocket_handshake_draft75_unittest.cc', 'websockets/websocket_handshake_handler_unittest.cc', 'websockets/websocket_handshake_unittest.cc', 'websockets/websocket_job_unittest.cc', 'websockets/websocket_net_log_params_unittest.cc', 'websockets/websocket_throttle_unittest.cc', 'websockets/websocket_unittest.cc'], 'conditions': [['chromeos==1', {'sources!': ['proxy/proxy_config_service_linux_unittest.cc']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'dependencies': ['../build/linux/system.gyp:gtk', '../build/linux/system.gyp:nss'], 'sources!': ['base/sdch_filter_unittest.cc']}, {'sources!': ['base/cert_database_nss_unittest.cc']}], ['OS == "linux"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}], ['use_openssl==1', {'sources!': ['base/cert_database_nss_unittest.cc', 'base/dnssec_unittest.cc']}, {'sources!': ['base/x509_openssl_util_unittest.cc']}], ['OS == "win"', {'sources!': ['http/http_auth_gssapi_posix_unittest.cc'], 'dependencies': ['../third_party/icu/icu.gyp:icudata']}]]}, {'target_name': 'net_perftests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../base/base.gyp:test_support_perf', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73', 'sources': ['base/cookie_monster_perftest.cc', 'disk_cache/disk_cache_perftest.cc', 'proxy/proxy_resolver_perftest.cc'], 'conditions': [['OS == "win"', {'dependencies': ['../third_party/icu/icu.gyp:icudata']}]]}, {'target_name': 'stress_cache', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base'], 'sources': ['disk_cache/stress_cache.cc']}, {'target_name': 'tld_cleanup', 'type': 'executable', 'dependencies': ['../base/base.gyp:base', '../base/base.gyp:base_i18n', '../build/temp_gyp/googleurl.gyp:googleurl'], 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41', 'sources': ['tools/tld_cleanup/tld_cleanup.cc']}, {'target_name': 'crash_cache', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base'], 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3', 'sources': ['tools/crash_cache/crash_cache.cc']}, {'target_name': 'run_testserver', 'type': 'executable', 'dependencies': ['net', 'net_test_support', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': '506F2468-6B1D-48E2-A67C-9D9C6BAC0EC5', 'sources': ['tools/testserver/run_testserver.cc']}, {'target_name': 'net_test_support', 'type': '<(library)', 'dependencies': ['net', '../base/base.gyp:base', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest'], 'sources': ['base/cert_test_util.cc', 'base/cert_test_util.h', 'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.h', 'proxy/proxy_config_service_common_unittest.cc', 'proxy/proxy_config_service_common_unittest.h', 'socket/socket_test_util.cc', 'socket/socket_test_util.h', 'test/python_utils.cc', 'test/python_utils.h', 'test/test_server.cc', 'test/test_server_posix.cc', 'test/test_server_win.cc', 'test/test_server.h'], 'conditions': [['inside_chromium_build==1', {'dependencies': ['../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto', '../chrome/browser/policy/proto/device_management_proto.gyp:device_management_proto', '../third_party/protobuf/protobuf.gyp:py_proto']}], ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', {'conditions': [['use_openssl==1', {'dependencies': ['../third_party/openssl/openssl.gyp:openssl']}, {'dependencies': ['../build/linux/system.gyp:nss']}]]}], ['OS == "linux"', {'conditions': [['linux_use_tcmalloc==1', {'dependencies': ['../base/allocator/allocator.gyp:allocator']}]]}]]}, {'target_name': 'net_resources', 'type': 'none', 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942', 'variables': {'grit_cmd': ['python', '../tools/grit/grit.py'], 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], 'input_paths': ['base/net_resources.grd']}, 'rules': [{'rule_name': 'grit', 'extension': 'grd', 'inputs': ['<!@(<(grit_info_cmd) --inputs <(input_paths))'], 'outputs': ["<!@(<(grit_info_cmd) --outputs '<(SHARED_INTERMEDIATE_DIR)/net' <(input_paths))"], 'action': ['<@(grit_cmd)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'], 'message': 'Generating resources from <(RULE_INPUT_PATH)'}], 'sources': ['<@(input_paths)'], 'direct_dependent_settings': {'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net']}, 'conditions': [['OS=="win"', {'dependencies': ['../build/win/system.gyp:cygwin']}]]}, {'target_name': 'fetch_client', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123', 'sources': ['tools/fetch/fetch_client.cc']}, {'target_name': 'fetch_server', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', 'sources': ['tools/fetch/fetch_server.cc', 'tools/fetch/http_listen_socket.cc', 'tools/fetch/http_listen_socket.h', 'tools/fetch/http_server.cc', 'tools/fetch/http_server.h', 'tools/fetch/http_server_request_info.h', 'tools/fetch/http_server_response_info.h', 'tools/fetch/http_session.cc', 'tools/fetch/http_session.h']}, {'target_name': 'http_listen_socket', 'type': '<(library)', 'dependencies': ['net', '../base/base.gyp:base', '../testing/gtest.gyp:gtest'], 'msvs_guid': 'FCB894A4-CC6C-48C2-B495-52C80527E9BE', 'sources': ['server/http_listen_socket.cc', 'server/http_listen_socket.h', 'server/http_server_request_info.cc', 'server/http_server_request_info.h']}, {'target_name': 'hresolv', 'type': 'executable', 'dependencies': ['net_base'], 'msvs_guid': 'FF1BAC48-D326-4CB4-96DA-8B03DE23ED6E', 'sources': ['tools/hresolv/hresolv.cc']}, {'target_name': 'dnssec_chain_verify', 'type': 'executable', 'dependencies': ['net_base'], 'sources': ['tools/dnssec_chain_verify/dnssec_chain_verify.cc']}, {'target_name': 'ssl_false_start_blacklist_process', 'type': 'executable', 'toolsets': ['host'], 'include_dirs': ['..'], 'sources': ['base/ssl_false_start_blacklist_process.cc']}], 'conditions': [['OS=="linux"', {'targets': [{'target_name': 'flip_in_mem_edsm_server', 'type': 'executable', 'cflags': ['-Wno-deprecated'], 'dependencies': ['../base/base.gyp:base', 'net.gyp:net', '../third_party/openssl/openssl.gyp:openssl'], 'sources': ['tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc', 'tools/flip_server/balsa_enums.h', 'tools/flip_server/balsa_frame.cc', 'tools/flip_server/balsa_frame.h', 'tools/flip_server/balsa_headers.cc', 'tools/flip_server/balsa_headers.h', 'tools/flip_server/balsa_headers_token_utils.cc', 'tools/flip_server/balsa_headers_token_utils.h', 'tools/flip_server/balsa_visitor_interface.h', 'tools/flip_server/buffer_interface.h', 'tools/flip_server/create_listener.cc', 'tools/flip_server/create_listener.h', 'tools/flip_server/epoll_server.cc', 'tools/flip_server/epoll_server.h', 'tools/flip_server/flip_in_mem_edsm_server.cc', 'tools/flip_server/http_message_constants.cc', 'tools/flip_server/http_message_constants.h', 'tools/flip_server/loadtime_measurement.h', 'tools/flip_server/porting.txt', 'tools/flip_server/ring_buffer.cc', 'tools/flip_server/ring_buffer.h', 'tools/flip_server/simple_buffer.cc', 'tools/flip_server/simple_buffer.h', 'tools/flip_server/split.h', 'tools/flip_server/split.cc', 'tools/flip_server/string_piece_utils.h', 'tools/flip_server/thread.h', 'tools/flip_server/url_to_filename_encoder.h', 'tools/flip_server/url_utilities.h']}]}], ['OS=="linux"', {'targets': [{'target_name': 'snap_start_unittests', 'type': 'executable', 'dependencies': ['net', 'net_test_support', 'openssl_helper', '../build/linux/system.gyp:nss', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest'], 'sources': ['base/run_all_unittests.cc', 'socket/ssl_client_socket_snapstart_unittest.cc']}, {'target_name': 'openssl_helper', 'type': 'executable', 'dependencies': ['../third_party/openssl/openssl.gyp:openssl'], 'sources': ['test/openssl_helper.cc']}]}], ['OS=="win"', {'targets': [{'target_name': 'dump_cache', 'type': 'executable', 'dependencies': ['net', '../base/base.gyp:base'], 'sources': ['tools/dump_cache/cache_dumper.cc', 'tools/dump_cache/cache_dumper.h', 'tools/dump_cache/dump_cache.cc', 'tools/dump_cache/dump_files.cc', 'tools/dump_cache/upgrade.cc', 'tools/dump_cache/url_to_filename_encoder.cc', 'tools/dump_cache/url_to_filename_encoder.h', 'tools/dump_cache/url_utilities.h', 'tools/dump_cache/url_utilities.cc']}]}]]} |
# findsimilarindex: for a given word and a list of words
# return either the index, where the word occurs, e.g. "Apfel" occurs in ["Banane","Kaese","Apfel","Birne"]
# at index 2.
# OR: find the index of the most similar word:
# e.g. most similar word to "Apfel" occurs for given list ["Banane","Apfelsine","Kakao","Birne"] at index 1
# threshold: If the similarity is below the thershold, return index -1
def findsimilarindex(value : str, entries : list, threshold = 0.0):
if value in entries:
return entries.index(value)
else:
return -1 | def findsimilarindex(value: str, entries: list, threshold=0.0):
if value in entries:
return entries.index(value)
else:
return -1 |
# prefix
class Prefix:
w_prefix = "w_"
b_prefix = "b_"
tmp_w_prefix = "tmp_w_"
tmp_b_prefix = "tmp_b_"
w_b_prefix = "w_b_"
tmp_w_b_prefix = "tmp_w_b_"
w_grad_prefix = "w_g_"
b_grad_prefix = "b_g_"
tmp_w_grad_prefix = "tmp_w_g_"
tmp_b_grad_prefix = "tmp_b_g_"
w_b_grad_prefix = "w_b_g_"
tmp_w_b_grad_prefix = "tmp_w_b_g_"
KMeans_Init_Cent = "init_cent_"
KMeans_Cent = "cent_"
class MLModel:
Linear_Models = ["lr", "svm"]
Sparse_Linear_Models = ["sparse_lr", "sparse_svm"]
Cluster_Models = ["kmeans", "sparse_kmeans"]
Deep_Models = ["resnet", "mobilenet"]
class Optimization:
Grad_Avg = "grad_avg"
Model_Avg = "model_avg"
ADMM = "admm"
All = [Grad_Avg, Model_Avg, ADMM]
class Synchronization:
Async = "async"
Reduce = "reduce"
Reduce_Scatter = "reduce_scatter"
All = [Async, Reduce, Reduce_Scatter]
| class Prefix:
w_prefix = 'w_'
b_prefix = 'b_'
tmp_w_prefix = 'tmp_w_'
tmp_b_prefix = 'tmp_b_'
w_b_prefix = 'w_b_'
tmp_w_b_prefix = 'tmp_w_b_'
w_grad_prefix = 'w_g_'
b_grad_prefix = 'b_g_'
tmp_w_grad_prefix = 'tmp_w_g_'
tmp_b_grad_prefix = 'tmp_b_g_'
w_b_grad_prefix = 'w_b_g_'
tmp_w_b_grad_prefix = 'tmp_w_b_g_'
k_means__init__cent = 'init_cent_'
k_means__cent = 'cent_'
class Mlmodel:
linear__models = ['lr', 'svm']
sparse__linear__models = ['sparse_lr', 'sparse_svm']
cluster__models = ['kmeans', 'sparse_kmeans']
deep__models = ['resnet', 'mobilenet']
class Optimization:
grad__avg = 'grad_avg'
model__avg = 'model_avg'
admm = 'admm'
all = [Grad_Avg, Model_Avg, ADMM]
class Synchronization:
async = 'async'
reduce = 'reduce'
reduce__scatter = 'reduce_scatter'
all = [Async, Reduce, Reduce_Scatter] |
file_name = r"Sample compilation -portuguese_char_frequency.txt"
with open(file_name, 'rt', encoding='utf-8') as file:
data_input = file.read()
# get the frebquency (in %) for unique characters
lenght = len(data_input)
freq_chars = sorted([[100 * data_input.count(character)/lenght, character] for character in list(set(data_input))])
print('Frequency for each character:')
print(*[f'{str(round(freq, 5)).ljust(7, "0")}%\t "{char}"' for freq, char in freq_chars], sep='\n')
# compute the groups of characters (leaves) and groups of the nodes combining them (branch) until we get one group with all characters (the trunk)
allgroups = []
while freq_chars:
if len(freq_chars) >= 2:
old0, old1 = [freq_chars.pop(0) for _ in range(2)]
allgroups.extend([old0, old1])
freq_chars = sorted(freq_chars + [[old0[0] + old1[0], old0[1] + old1[1]]])
else:
old = freq_chars.pop(0)
allgroups.append(old)
allgroups = sorted(allgroups, key=lambda x: [-len(x[1]), -x[0]])
# process the bits for each pair (left + right = above node)
left_right = {char: '' for _, char in allgroups}
for freq1, char1 in allgroups:
for freq2, char2 in allgroups:
for freq3, char3 in allgroups:
if char2 + char3 == char1:
if char1.startswith(char2):
if char1 in left_right:
above_bit = left_right[char1]
left_right[char2], left_right[char3] = [above_bit, above_bit]
left_right[char2] += '0'
left_right[char3] += '1'
# sorting bits by lenght, then ascending
left_right = sorted(left_right.items(), key=lambda x: [len(x[1]), x[1]])
# filter the single characters in left_right
conversion_table = {char: binary for char, binary in left_right if len(char) == 1}
print('\nConversion_table: (From the most to the least frequent character')
printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for char, binary in conversion_table.items() if char.isprintable()]
print('\nPrintables')
print(*printables, sep='\n')
non_printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for char, binary in conversion_table.items() if not char.isprintable()]
if non_printables:
print('\nNon printables:\n')
print(*non_printables, sep='\n')
# compute the converted (encripted) and the binary version for data_input
def encrypt_bin(string, conversion_table):
return ''.join([bin(ord(char))[2:].rjust(8, '0') for char in string])
def encrypt_cry(string, conversion_table):
return ''.join([conversion_table[char] for char in string])
# decoding bits
def decrypt(bits, conversion_table):
temp, decrypted = '', [] # temp, decrypted = '', []: 12,0s | temp, decrypted = [], []:15.0s | temp, decrypted = '', '': 21.9s
decode_table = {binary_code: character for character, binary_code in conversion_table.items()}
for bit in bits:
temp = temp + bit
if temp in decode_table:
decrypted.append(decode_table[temp])
temp = ''
return ''.join(decrypted)
print('-' * 100)
# process and finish analysis using data_input
print('Encoding to standard 8 bits...')
binary = encrypt_bin(data_input, conversion_table)
print('Encoding binary tree (encryption)...')
crypto = encrypt_cry(data_input, conversion_table)
print('Decoding encrypted bits...')
decrypted = decrypt(binary, conversion_table)
len_cry, len_bin = len(crypto), len(binary)
print('_' * 100, '\nANALYSIS FOR data_input:')
print(f'\nFile name: {file_name}\n')
print(f'\ndata_input (100 first characters):\n{data_input[:100]}\n')
print(f'data_input type: {type(data_input)}')
print(f'data_input size: {lenght:,}b (bytes or characters)')
print(f'Binary size: {len_bin:,} bits ({round(100 * len_bin / len_bin, 1)}%)\t8.00 bits per character.')
print(f'Cryptography size: {len_cry:,} bits ( {round(100 * len_cry / len_bin, 1)}%)\t{round(len_cry/len(data_input), 2)} bits (average) per character.')
# the real benefit for storage or processing:
print('_' * 100, '\nCONCLUSION:')
print(f'You saved {round((len_bin - len_cry)/8/1024/1024, 5)}MB from {round(len_bin/8/1024/1024, 5)}MB using this encryption method!')
| file_name = 'Sample compilation -portuguese_char_frequency.txt'
with open(file_name, 'rt', encoding='utf-8') as file:
data_input = file.read()
lenght = len(data_input)
freq_chars = sorted([[100 * data_input.count(character) / lenght, character] for character in list(set(data_input))])
print('Frequency for each character:')
print(*[f'''{str(round(freq, 5)).ljust(7, '0')}%\t "{char}"''' for (freq, char) in freq_chars], sep='\n')
allgroups = []
while freq_chars:
if len(freq_chars) >= 2:
(old0, old1) = [freq_chars.pop(0) for _ in range(2)]
allgroups.extend([old0, old1])
freq_chars = sorted(freq_chars + [[old0[0] + old1[0], old0[1] + old1[1]]])
else:
old = freq_chars.pop(0)
allgroups.append(old)
allgroups = sorted(allgroups, key=lambda x: [-len(x[1]), -x[0]])
left_right = {char: '' for (_, char) in allgroups}
for (freq1, char1) in allgroups:
for (freq2, char2) in allgroups:
for (freq3, char3) in allgroups:
if char2 + char3 == char1:
if char1.startswith(char2):
if char1 in left_right:
above_bit = left_right[char1]
(left_right[char2], left_right[char3]) = [above_bit, above_bit]
left_right[char2] += '0'
left_right[char3] += '1'
left_right = sorted(left_right.items(), key=lambda x: [len(x[1]), x[1]])
conversion_table = {char: binary for (char, binary) in left_right if len(char) == 1}
print('\nConversion_table: (From the most to the least frequent character')
printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for (char, binary) in conversion_table.items() if char.isprintable()]
print('\nPrintables')
print(*printables, sep='\n')
non_printables = [f'{binary.ljust(30)}\t{char.ljust(10)}' for (char, binary) in conversion_table.items() if not char.isprintable()]
if non_printables:
print('\nNon printables:\n')
print(*non_printables, sep='\n')
def encrypt_bin(string, conversion_table):
return ''.join([bin(ord(char))[2:].rjust(8, '0') for char in string])
def encrypt_cry(string, conversion_table):
return ''.join([conversion_table[char] for char in string])
def decrypt(bits, conversion_table):
(temp, decrypted) = ('', [])
decode_table = {binary_code: character for (character, binary_code) in conversion_table.items()}
for bit in bits:
temp = temp + bit
if temp in decode_table:
decrypted.append(decode_table[temp])
temp = ''
return ''.join(decrypted)
print('-' * 100)
print('Encoding to standard 8 bits...')
binary = encrypt_bin(data_input, conversion_table)
print('Encoding binary tree (encryption)...')
crypto = encrypt_cry(data_input, conversion_table)
print('Decoding encrypted bits...')
decrypted = decrypt(binary, conversion_table)
(len_cry, len_bin) = (len(crypto), len(binary))
print('_' * 100, '\nANALYSIS FOR data_input:')
print(f'\nFile name: {file_name}\n')
print(f'\ndata_input (100 first characters):\n{data_input[:100]}\n')
print(f'data_input type: {type(data_input)}')
print(f'data_input size: {lenght:,}b (bytes or characters)')
print(f'Binary size: {len_bin:,} bits ({round(100 * len_bin / len_bin, 1)}%)\t8.00 bits per character.')
print(f'Cryptography size: {len_cry:,} bits ( {round(100 * len_cry / len_bin, 1)}%)\t{round(len_cry / len(data_input), 2)} bits (average) per character.')
print('_' * 100, '\nCONCLUSION:')
print(f'You saved {round((len_bin - len_cry) / 8 / 1024 / 1024, 5)}MB from {round(len_bin / 8 / 1024 / 1024, 5)}MB using this encryption method!') |
def sam2fq(sam_in_dir,fq_out_dir):
fi=open(sam_in_dir)
fo=open(fq_out_dir,'w')
for line in fi:
seq=line.rstrip().split('\t')
if line[0] !='@':
# if len(bin(int(seq[1])))>=9 and bin(int(seq[1]))[-7]=='1':
# seq[0]=seq[0][0:-2]+'_1'
# elif len(bin(int(seq[1])))>=10 and bin(int(seq[1]))[-8]=='1':
# seq[0]=seq[0][0:-2]+'_2'
# elif line[-1]=='1':
# seq[0]=seq[0][0:-2]+'_1'
# elif line[-1]=='2':
# seq[0]=seq[0][0:-2]+'_2'
fo.write('@'+seq[0]+'\n'+seq[9]+'\n+\n'+seq[10]+'\n')
fo.close()
fi.close()
| def sam2fq(sam_in_dir, fq_out_dir):
fi = open(sam_in_dir)
fo = open(fq_out_dir, 'w')
for line in fi:
seq = line.rstrip().split('\t')
if line[0] != '@':
fo.write('@' + seq[0] + '\n' + seq[9] + '\n+\n' + seq[10] + '\n')
fo.close()
fi.close() |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def reverseList(self, head: ListNode) -> ListNode:
# base case
if(head == None or head.next == None): return head;
current = head;
next = current.next;
while(next != None):
temp = next.next;
next.next = current;
current = next;
next = temp;
head.next = None;
head = current;
return head;
| class Solution:
def reverse_list(self, head: ListNode) -> ListNode:
if head == None or head.next == None:
return head
current = head
next = current.next
while next != None:
temp = next.next
next.next = current
current = next
next = temp
head.next = None
head = current
return head |
def generate_errors(errors, f):
f.write('_captures = {\n')
for error in errors:
if error.capture_name:
f.write(f" {error.canonical_name!r}: {error.capture_name!r},\n")
f.write('}\n')
f.write('\n\n_descriptions = {\n')
for error in errors:
if error.description:
f.write(f" {error.canonical_name!r}: {error.description!r},\n")
f.write('}\n')
| def generate_errors(errors, f):
f.write('_captures = {\n')
for error in errors:
if error.capture_name:
f.write(f' {error.canonical_name!r}: {error.capture_name!r},\n')
f.write('}\n')
f.write('\n\n_descriptions = {\n')
for error in errors:
if error.description:
f.write(f' {error.canonical_name!r}: {error.description!r},\n')
f.write('}\n') |
listaidademenorde18 = []
listaidademaiorde18 = []
while True:
try:
idade = int(input('Digite a idade da pessoa: '))
break
except ValueError:
pass
if idade < 18:
listaidademenorde18.append(idade)
else:
listaidademaiorde18.append(idade)
print(listaidademenorde18)
print(listaidademaiorde18)
#https://pt.stackoverflow.com/q/456654/101
| listaidademenorde18 = []
listaidademaiorde18 = []
while True:
try:
idade = int(input('Digite a idade da pessoa: '))
break
except ValueError:
pass
if idade < 18:
listaidademenorde18.append(idade)
else:
listaidademaiorde18.append(idade)
print(listaidademenorde18)
print(listaidademaiorde18) |
# model settings
model = dict(
type='SwAV',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(3,), # no conv-1, x-1: stage-x
norm_cfg=dict(type='SyncBN'),
style='pytorch'),
neck=dict(
type='SwAVNeck',
in_channels=2048, hid_channels=2048, out_channels=128,
with_avg_pool=True),
head=dict(
type='SwAVHead',
feat_dim=128, # equal to neck['out_channels']
epsilon=0.05,
temperature=0.1,
num_crops=[2, 6],)
)
| model = dict(type='SwAV', backbone=dict(type='ResNet', depth=50, num_stages=4, out_indices=(3,), norm_cfg=dict(type='SyncBN'), style='pytorch'), neck=dict(type='SwAVNeck', in_channels=2048, hid_channels=2048, out_channels=128, with_avg_pool=True), head=dict(type='SwAVHead', feat_dim=128, epsilon=0.05, temperature=0.1, num_crops=[2, 6])) |
#!/usr/bin/env python3
#this program will write
#Hello World!
print("Hello World!") #prints Hello World!
#homework section of the file
print("My name is Zac (He/Him). If you want to be more formal, you can use Zachary.") #Prints out my name, pronouns, and formalities
| print('Hello World!')
print('My name is Zac (He/Him). If you want to be more formal, you can use Zachary.') |
QUERY_INFO = {
"msmarco-passage-dev-subset-tct_colbert": {
"description": "MS MARCO passage dev set queries encoded by TCT-ColBERT",
"urls": [
"https://www.dropbox.com/s/g7sci7n15mekbut/query-embedding-msmarco-passage-dev-subset-20210115-cd5034.tar.gz?dl=1",
],
"md5": "0e448fda77344e7b892e861f416a8870",
"size (bytes)": 20075071,
"total_queries": 6980,
"downloaded": False
}
}
| query_info = {'msmarco-passage-dev-subset-tct_colbert': {'description': 'MS MARCO passage dev set queries encoded by TCT-ColBERT', 'urls': ['https://www.dropbox.com/s/g7sci7n15mekbut/query-embedding-msmarco-passage-dev-subset-20210115-cd5034.tar.gz?dl=1'], 'md5': '0e448fda77344e7b892e861f416a8870', 'size (bytes)': 20075071, 'total_queries': 6980, 'downloaded': False}} |
a,b,c=[int(x) for x in input().split()]
n=int(input())
k=0
m=(10**9)+7
A=[0]*n
B=[0]*n
A[0]=(a*c)%m
for i in range(1,n):
A[i]=A[i-1]*((((a*b)%m)*c)%m) + A[i-1]*((a*b)%m) + A[i-1]*((a*c)%m)
A[i]=A[i]%m
B[0]=(b*c)%m
for i in range(1,n):
B[i]=B[i-1]*((((a*b)%m)*c)%m) + B[i-1]*((a*b)%m) + B[i-1]*((a*c)%m)
B[i]=B[i]%m
m1=0
m2=1
n1=0
n2=1
for i in range(1,len(A)):
if A[i]<A[m1]:
m2=m1
m1=i
for i in range(1,len(B)):
if B[i]<B[n1]:
n2=n1
n1=i
if m1==n1:
t1=(A[m1]+B[n2])%m
t2=(A[m2]+B[n1])%m
if t1 > t2:
print(t2)
else:
print(t1)
else:
total=A[m1]+B[n1]
print(total%m) | (a, b, c) = [int(x) for x in input().split()]
n = int(input())
k = 0
m = 10 ** 9 + 7
a = [0] * n
b = [0] * n
A[0] = a * c % m
for i in range(1, n):
A[i] = A[i - 1] * (a * b % m * c % m) + A[i - 1] * (a * b % m) + A[i - 1] * (a * c % m)
A[i] = A[i] % m
B[0] = b * c % m
for i in range(1, n):
B[i] = B[i - 1] * (a * b % m * c % m) + B[i - 1] * (a * b % m) + B[i - 1] * (a * c % m)
B[i] = B[i] % m
m1 = 0
m2 = 1
n1 = 0
n2 = 1
for i in range(1, len(A)):
if A[i] < A[m1]:
m2 = m1
m1 = i
for i in range(1, len(B)):
if B[i] < B[n1]:
n2 = n1
n1 = i
if m1 == n1:
t1 = (A[m1] + B[n2]) % m
t2 = (A[m2] + B[n1]) % m
if t1 > t2:
print(t2)
else:
print(t1)
else:
total = A[m1] + B[n1]
print(total % m) |
#
# PySNMP MIB module HUAWEI-WLAN-QOS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-WLAN-QOS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:49:48 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint")
hwWlan, = mibBuilder.importSymbols("HUAWEI-WLAN-MIB", "hwWlan")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
Unsigned32, ModuleIdentity, ObjectIdentity, NotificationType, Counter32, TimeTicks, IpAddress, Integer32, Counter64, Bits, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "ModuleIdentity", "ObjectIdentity", "NotificationType", "Counter32", "TimeTicks", "IpAddress", "Integer32", "Counter64", "Bits", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Gauge32")
TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString")
hwWlanQosManagement = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5))
hwWlanQosManagement.setRevisions(('2010-10-12 10:00', '2010-06-01 10:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: hwWlanQosManagement.setRevisionsDescriptions((' V1.02, for the hwWlanTrafficProfileTable, change the leaf nodes hwWlanClientLimitRate and hwWlanVAPLimitRate to hwWlanClientUpLimitRate and hwWlanVAPUpLimitRate, add leaf nodes hwWlanClientDownLimitRate and hwWlanClientDownLimitRate .', ' V1.00, The first Draft.',))
if mibBuilder.loadTexts: hwWlanQosManagement.setLastUpdated('201011100000Z')
if mibBuilder.loadTexts: hwWlanQosManagement.setOrganization('Huawei Technologies Co.,Ltd.')
if mibBuilder.loadTexts: hwWlanQosManagement.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ")
if mibBuilder.loadTexts: hwWlanQosManagement.setDescription('Wlan QoS management.')
hwWlanWmmProfileTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1), )
if mibBuilder.loadTexts: hwWlanWmmProfileTable.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmProfileTable.setDescription('Wmm profile management table.')
hwWlanWmmProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1), ).setIndexNames((0, "HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileName"))
if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmProfileEntry.setDescription('Wmm profile management entity.')
hwWlanWmmProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31)))
if mibBuilder.loadTexts: hwWlanWmmProfileName.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmProfileName.setDescription('Wmm profile name.')
hwWlanWmmSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanWmmSwitch.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmSwitch.setDescription('The wmm switch.')
hwWlanWmmMandatorySwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmMandatorySwitch.setDescription('The mandatory switch.')
hwWlanWmmProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 4), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmProfileRowStatus.setDescription('Row status. Add or delete a table item.')
hwQAPEDCAVoiceECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VO.')
hwQAPEDCAVoiceECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VO.')
hwQAPEDCAVoiceAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VO.')
hwQAPEDCAVoiceTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(47)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VO.')
hwQAPEDCAVoiceACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVoiceACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VO.')
hwQAPEDCAVideoECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VI.')
hwQAPEDCAVideoECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VI.')
hwQAPEDCAVideoAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VI.')
hwQAPEDCAVideoTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(94)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VI.')
hwQAPEDCAVideoACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCAVideoACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VI.')
hwQAPEDCABEECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BE.')
hwQAPEDCABEECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BE.')
hwQAPEDCABEAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BE.')
hwQAPEDCABETXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BE.')
hwQAPEDCABEACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABEACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BE.')
hwQAPEDCABKECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BK.')
hwQAPEDCABKECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BK.')
hwQAPEDCABKAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BK.')
hwQAPEDCABKTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BK.')
hwQAPEDCABKACKPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("noack", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setStatus('current')
if mibBuilder.loadTexts: hwQAPEDCABKACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BK.')
hwQClientEDCAVoiceECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VO.')
hwQClientEDCAVoiceECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VO.')
hwQClientEDCAVoiceAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VO.')
hwQClientEDCAVoiceTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(47)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VO.')
hwQClientEDCAVideoECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VI.')
hwQClientEDCAVideoECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VI.')
hwQClientEDCAVideoAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VI.')
hwQClientEDCAVideoTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(94)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VI.')
hwQClientEDCABEECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BE.')
hwQClientEDCABEECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BE.')
hwQClientEDCABEAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BE.')
hwQClientEDCABETXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BE.')
hwQClientEDCABKECWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(10)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BK.')
hwQClientEDCABKECWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BK.')
hwQClientEDCABKAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BK.')
hwQClientEDCABKTXOPLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setStatus('current')
if mibBuilder.loadTexts: hwQClientEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BK.')
hwWlanTrafficProfileTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2), )
if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setStatus('current')
if mibBuilder.loadTexts: hwWlanTrafficProfileTable.setDescription('Traffic profile management table.')
hwWlanTrafficProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1), ).setIndexNames((0, "HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileName"))
if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setStatus('current')
if mibBuilder.loadTexts: hwWlanTrafficProfileEntry.setDescription('Traffic profile management entity.')
hwWlanTrafficProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31)))
if mibBuilder.loadTexts: hwWlanTrafficProfileName.setStatus('current')
if mibBuilder.loadTexts: hwWlanTrafficProfileName.setDescription('Traffic profile name.')
hwWlanTrafficProfileRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 2), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts: hwWlanTrafficProfileRowStatus.setDescription('Row status. Add or delete a table item.')
hwWlanClientUpLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 3), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setStatus('current')
if mibBuilder.loadTexts: hwWlanClientUpLimitRate.setDescription('The up limit rate of client.')
hwWlanVAPUpLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 4), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setStatus('current')
if mibBuilder.loadTexts: hwWlanVAPUpLimitRate.setDescription('The up limit rate of VAP.')
hwWlan8021pMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("designate", 1), ("mapping", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021pMapMode.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021pMapMode.setDescription('The mapping mode of user-priority to 802.1p, supporting mapping and designate.')
hwWlan8021pSpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 6), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021pSpecValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021pSpecValue.setDescription('Designate the 802.1p priority value.')
hwWlanUP0Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 7), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP0Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP0Map8021p.setDescription('The mapping 802.1p priority value from user-priority 0.')
hwWlanUP1Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 8), Integer32().clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP1Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP1Map8021p.setDescription('The mapping 802.1p priority value from user-priority 1.')
hwWlanUP2Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 9), Integer32().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP2Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP2Map8021p.setDescription('The mapping 802.1p priority value from user-priority 2.')
hwWlanUP3Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 10), Integer32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP3Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP3Map8021p.setDescription('The mapping 802.1p priority value from user-priority 3.')
hwWlanUP4Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 11), Integer32().clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP4Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP4Map8021p.setDescription('The mapping 802.1p priority value from user-priority 4.')
hwWlanUP5Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 12), Integer32().clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP5Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP5Map8021p.setDescription('The mapping 802.1p priority value from user-priority 5.')
hwWlanUP6Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 13), Integer32().clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP6Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP6Map8021p.setDescription('The mapping 802.1p priority value from user-priority 6.')
hwWlanUP7Map8021p = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 14), Integer32().clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUP7Map8021p.setStatus('current')
if mibBuilder.loadTexts: hwWlanUP7Map8021p.setDescription('The mapping 802.1p priority value from user-priority 7.')
hwWlan8021p0MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p0MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 0.')
hwWlan8021p1MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p1MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 1.')
hwWlan8021p2MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p2MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 2.')
hwWlan8021p3MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p3MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 3.')
hwWlan8021p4MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p4MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 4.')
hwWlan8021p5MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p5MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 5.')
hwWlan8021p6MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p6MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 6.')
hwWlan8021p7MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlan8021p7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.')
hwWlanUpTunnelPriorityMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("specCOS", 1), ("specDSCP", 2), ("cos2cos", 3), ("cos2dscp", 4), ("dscp2cos", 5), ("dscp2dscp", 6))).clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setStatus('current')
if mibBuilder.loadTexts: hwWlanUpTunnelPriorityMapMode.setDescription('The mapping mode to up tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.')
hwWlanUpTunnelPrioritySpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 24), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanUpTunnelPrioritySpecValue.setDescription('Designate the up tunnel priority value.')
hwWlanValue0MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 25), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue0MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 0.')
hwWlanValue1MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 26), Integer32().clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue1MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 1.')
hwWlanValue2MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 27), Integer32().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue2MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 2.')
hwWlanValue3MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 28), Integer32().clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue3MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 3.')
hwWlanValue4MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 29), Integer32().clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue4MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 4.')
hwWlanValue5MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 30), Integer32().clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue5MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 5.')
hwWlanValue6MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 31), Integer32().clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue6MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 6.')
hwWlanValue7MapUpTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 32), Integer32().clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue7MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 7.')
hwWlanDownTunnelPriorityMapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("specCOS", 1), ("specDSCP", 2), ("cos2cos", 3), ("cos2dscp", 4), ("dscp2cos", 5), ("dscp2dscp", 6))).clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setStatus('current')
if mibBuilder.loadTexts: hwWlanDownTunnelPriorityMapMode.setDescription('The mapping mode to down tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.')
hwWlanDownTunnelPrioritySpecValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 34), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanDownTunnelPrioritySpecValue.setDescription('Designate the down tunnel priority value.')
hwWlanValue0MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 35), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue0MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 0.')
hwWlanValue1MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 36), Integer32().clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue1MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 1.')
hwWlanValue2MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 37), Integer32().clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue2MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 2.')
hwWlanValue3MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 38), Integer32().clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue3MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 3.')
hwWlanValue4MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 39), Integer32().clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue4MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 4.')
hwWlanValue5MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 40), Integer32().clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue5MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 5.')
hwWlanValue6MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 41), Integer32().clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue6MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 6.')
hwWlanValue7MapDownTunnelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 42), Integer32().clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts: hwWlanValue7MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 7.')
hwWlanClientDownLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 43), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setStatus('current')
if mibBuilder.loadTexts: hwWlanClientDownLimitRate.setDescription('The down limit rate of client.')
hwWlanVAPDownLimitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 44), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setStatus('current')
if mibBuilder.loadTexts: hwWlanVAPDownLimitRate.setDescription('The down limit rate of VAP.')
hwWlanTos0MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos0MapUPValue.setDescription('The mapping user-priority value from tos priority value 0.')
hwWlanTos1MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos1MapUPValue.setDescription('The mapping user-priority value from tos priority value 1.')
hwWlanTos2MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(2)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos2MapUPValue.setDescription('The mapping user-priority value from tos priority value 2.')
hwWlanTos3MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 48), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos3MapUPValue.setDescription('The mapping user-priority value from tos priority value 3.')
hwWlanTos4MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 49), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(4)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos4MapUPValue.setDescription('The mapping user-priority value from tos priority value 4.')
hwWlanTos5MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(5)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos5MapUPValue.setDescription('The mapping user-priority value from tos priority value 5.')
hwWlanTos6MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(6)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos6MapUPValue.setDescription('The mapping user-priority value from tos priority value 6.')
hwWlanTos7MapUPValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setStatus('current')
if mibBuilder.loadTexts: hwWlanTos7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.')
hwWlanBatchWmmProfileStartNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchWmmProfileStartNumber.setDescription("The wmm-profile start number in batch operation. This node is used with node hwWlanBatchWmmProfileGetNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.")
hwWlanBatchWmmProfileGetNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchWmmProfileGetNumber.setDescription("The wmm-profile number that want to get in batch operation.This node is used with node hwWlanBatchWmmProfileStartNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.")
hwWlanBatchWmmProfileReturnNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchWmmProfileReturnNumber.setDescription('The wmm-profile number get in batch operation.')
hwWlanBatchWmmProfileName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchWmmProfileName.setDescription("The names of wmm-profiles which are determined by node hwWlanBatchWmmProfileStartNumber and node hwWlanBatchWmmProfileGetNumber. each wmm-profile name is divided by '?'.")
hwWlanBatchTrafficProfileStartNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileStartNumber.setDescription("The traffic-profile start number in batch operation. This node is used with node hwWlanBatchTrafficProfileGetNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.")
hwWlanBatchTrafficProfileGetNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileGetNumber.setDescription("The traffic-profile number that want to get in batch operation.This node is used with node hwWlanBatchTrafficProfileStartNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.")
hwWlanBatchTrafficProfileReturnNumber = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileReturnNumber.setDescription('The traffic-profile number get in batch operation.')
hwWlanBatchTrafficProfileName = MibScalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 10), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setStatus('current')
if mibBuilder.loadTexts: hwWlanBatchTrafficProfileName.setDescription("The names of traffic-profiles which are determined by node hwWlanBatchTrafficProfileStartNumber and node hwWlanBatchTrafficProfileGetNumber. each traffic-profile name is divided by '?'.")
hwWlanQosManagementObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 11))
hwWlanQosManagementConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12))
hwWlanQosManagementCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1))
hwWlanQosManagementCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1, 1)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileGroup"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileGroup"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanQosManagementGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwWlanQosManagementCompliance = hwWlanQosManagementCompliance.setStatus('current')
if mibBuilder.loadTexts: hwWlanQosManagementCompliance.setDescription('Description.')
hwWlanQosManagementObjectGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2))
hwWlanWmmProfileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 1)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmSwitch"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmMandatorySwitch"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanWmmProfileRowStatus"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVoiceACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCAVideoACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABETXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABEACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQAPEDCABKACKPolicy"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVoiceTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCAVideoTXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABEAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABETXOPLimit"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKECWmax"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKECWmin"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKAIFSN"), ("HUAWEI-WLAN-QOS-MIB", "hwQClientEDCABKTXOPLimit"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwWlanWmmProfileGroup = hwWlanWmmProfileGroup.setStatus('current')
if mibBuilder.loadTexts: hwWlanWmmProfileGroup.setDescription('Description.')
hwWlanTrafficProfileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 2)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanTrafficProfileRowStatus"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanClientUpLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanVAPUpLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021pMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021pSpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP0Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP1Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP2Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP3Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP4Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP5Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP6Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUP7Map8021p"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p0MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p1MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p2MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p3MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p4MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p5MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p6MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlan8021p7MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUpTunnelPriorityMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanUpTunnelPrioritySpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue0MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue1MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue2MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue3MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue4MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue5MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue6MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue7MapUpTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanDownTunnelPriorityMapMode"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanDownTunnelPrioritySpecValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue0MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue1MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue2MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue3MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue4MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue5MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue6MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanValue7MapDownTunnelPriority"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanClientDownLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanVAPDownLimitRate"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos0MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos1MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos2MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos3MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos4MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos5MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos6MapUPValue"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanTos7MapUPValue"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwWlanTrafficProfileGroup = hwWlanTrafficProfileGroup.setStatus('current')
if mibBuilder.loadTexts: hwWlanTrafficProfileGroup.setDescription('Description.')
hwWlanQosManagementGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 3)).setObjects(("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileStartNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileGetNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileReturnNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchWmmProfileName"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileStartNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileGetNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileReturnNumber"), ("HUAWEI-WLAN-QOS-MIB", "hwWlanBatchTrafficProfileName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwWlanQosManagementGroup = hwWlanQosManagementGroup.setStatus('current')
if mibBuilder.loadTexts: hwWlanQosManagementGroup.setDescription('Description.')
mibBuilder.exportSymbols("HUAWEI-WLAN-QOS-MIB", hwWlanTrafficProfileEntry=hwWlanTrafficProfileEntry, hwWlan8021p3MapUPValue=hwWlan8021p3MapUPValue, hwWlanQosManagementCompliance=hwWlanQosManagementCompliance, hwWlanUP6Map8021p=hwWlanUP6Map8021p, hwWlanBatchWmmProfileGetNumber=hwWlanBatchWmmProfileGetNumber, hwWlanQosManagementObjects=hwWlanQosManagementObjects, hwWlan8021p4MapUPValue=hwWlan8021p4MapUPValue, hwWlanTrafficProfileRowStatus=hwWlanTrafficProfileRowStatus, hwWlanQosManagementGroup=hwWlanQosManagementGroup, hwWlanWmmProfileGroup=hwWlanWmmProfileGroup, hwWlanTos0MapUPValue=hwWlanTos0MapUPValue, hwWlan8021p2MapUPValue=hwWlan8021p2MapUPValue, hwWlanValue0MapDownTunnelPriority=hwWlanValue0MapDownTunnelPriority, hwWlanUP4Map8021p=hwWlanUP4Map8021p, hwWlanTos7MapUPValue=hwWlanTos7MapUPValue, hwQAPEDCABEACKPolicy=hwQAPEDCABEACKPolicy, hwWlanWmmMandatorySwitch=hwWlanWmmMandatorySwitch, hwWlan8021p5MapUPValue=hwWlan8021p5MapUPValue, hwWlanValue3MapUpTunnelPriority=hwWlanValue3MapUpTunnelPriority, hwWlanUP0Map8021p=hwWlanUP0Map8021p, hwWlan8021p0MapUPValue=hwWlan8021p0MapUPValue, hwQClientEDCABKECWmax=hwQClientEDCABKECWmax, hwWlanValue6MapDownTunnelPriority=hwWlanValue6MapDownTunnelPriority, hwQAPEDCAVideoECWmin=hwQAPEDCAVideoECWmin, hwQClientEDCAVoiceECWmin=hwQClientEDCAVoiceECWmin, hwWlanBatchTrafficProfileName=hwWlanBatchTrafficProfileName, hwWlanTos5MapUPValue=hwWlanTos5MapUPValue, hwWlanWmmProfileName=hwWlanWmmProfileName, hwWlanValue4MapUpTunnelPriority=hwWlanValue4MapUpTunnelPriority, hwWlanTos3MapUPValue=hwWlanTos3MapUPValue, hwWlan8021p7MapUPValue=hwWlan8021p7MapUPValue, hwWlanWmmSwitch=hwWlanWmmSwitch, hwWlanUP7Map8021p=hwWlanUP7Map8021p, hwWlanDownTunnelPriorityMapMode=hwWlanDownTunnelPriorityMapMode, hwWlanValue7MapUpTunnelPriority=hwWlanValue7MapUpTunnelPriority, hwWlanWmmProfileEntry=hwWlanWmmProfileEntry, hwQAPEDCABKACKPolicy=hwQAPEDCABKACKPolicy, hwWlanTrafficProfileName=hwWlanTrafficProfileName, hwQClientEDCAVoiceECWmax=hwQClientEDCAVoiceECWmax, hwWlanWmmProfileRowStatus=hwWlanWmmProfileRowStatus, hwQAPEDCAVideoECWmax=hwQAPEDCAVideoECWmax, hwQAPEDCABKECWmin=hwQAPEDCABKECWmin, hwWlanUP1Map8021p=hwWlanUP1Map8021p, hwQClientEDCABEAIFSN=hwQClientEDCABEAIFSN, hwQClientEDCAVoiceTXOPLimit=hwQClientEDCAVoiceTXOPLimit, hwWlanTos2MapUPValue=hwWlanTos2MapUPValue, hwWlanUP3Map8021p=hwWlanUP3Map8021p, hwQAPEDCABKECWmax=hwQAPEDCABKECWmax, hwWlanUP5Map8021p=hwWlanUP5Map8021p, hwWlanClientUpLimitRate=hwWlanClientUpLimitRate, hwQAPEDCAVoiceECWmin=hwQAPEDCAVoiceECWmin, hwWlanVAPDownLimitRate=hwWlanVAPDownLimitRate, hwQAPEDCABKAIFSN=hwQAPEDCABKAIFSN, hwQAPEDCAVideoTXOPLimit=hwQAPEDCAVideoTXOPLimit, hwQAPEDCABEECWmax=hwQAPEDCABEECWmax, hwWlanTrafficProfileTable=hwWlanTrafficProfileTable, hwWlanBatchTrafficProfileStartNumber=hwWlanBatchTrafficProfileStartNumber, hwQClientEDCABKECWmin=hwQClientEDCABKECWmin, hwWlanValue5MapUpTunnelPriority=hwWlanValue5MapUpTunnelPriority, hwWlanUpTunnelPriorityMapMode=hwWlanUpTunnelPriorityMapMode, hwQAPEDCAVoiceTXOPLimit=hwQAPEDCAVoiceTXOPLimit, hwQAPEDCABEECWmin=hwQAPEDCABEECWmin, hwQClientEDCABKTXOPLimit=hwQClientEDCABKTXOPLimit, hwWlanBatchWmmProfileStartNumber=hwWlanBatchWmmProfileStartNumber, hwQAPEDCAVideoACKPolicy=hwQAPEDCAVideoACKPolicy, hwQAPEDCABEAIFSN=hwQAPEDCABEAIFSN, hwQClientEDCAVideoECWmin=hwQClientEDCAVideoECWmin, hwQAPEDCAVideoAIFSN=hwQAPEDCAVideoAIFSN, hwWlanValue2MapDownTunnelPriority=hwWlanValue2MapDownTunnelPriority, hwQClientEDCAVideoAIFSN=hwQClientEDCAVideoAIFSN, hwQClientEDCABKAIFSN=hwQClientEDCABKAIFSN, hwWlanUP2Map8021p=hwWlanUP2Map8021p, hwWlanQosManagementConformance=hwWlanQosManagementConformance, PYSNMP_MODULE_ID=hwWlanQosManagement, hwQClientEDCABEECWmin=hwQClientEDCABEECWmin, hwWlanValue3MapDownTunnelPriority=hwWlanValue3MapDownTunnelPriority, hwWlanValue7MapDownTunnelPriority=hwWlanValue7MapDownTunnelPriority, hwQAPEDCAVoiceACKPolicy=hwQAPEDCAVoiceACKPolicy, hwWlanTos4MapUPValue=hwWlanTos4MapUPValue, hwQClientEDCAVideoECWmax=hwQClientEDCAVideoECWmax, hwWlan8021pSpecValue=hwWlan8021pSpecValue, hwWlanTos6MapUPValue=hwWlanTos6MapUPValue, hwQAPEDCAVoiceECWmax=hwQAPEDCAVoiceECWmax, hwWlanValue0MapUpTunnelPriority=hwWlanValue0MapUpTunnelPriority, hwWlanValue1MapDownTunnelPriority=hwWlanValue1MapDownTunnelPriority, hwWlanUpTunnelPrioritySpecValue=hwWlanUpTunnelPrioritySpecValue, hwWlanValue6MapUpTunnelPriority=hwWlanValue6MapUpTunnelPriority, hwWlanValue1MapUpTunnelPriority=hwWlanValue1MapUpTunnelPriority, hwWlanValue5MapDownTunnelPriority=hwWlanValue5MapDownTunnelPriority, hwQClientEDCABEECWmax=hwQClientEDCABEECWmax, hwQAPEDCABKTXOPLimit=hwQAPEDCABKTXOPLimit, hwWlanQosManagement=hwWlanQosManagement, hwQAPEDCABETXOPLimit=hwQAPEDCABETXOPLimit, hwWlanQosManagementCompliances=hwWlanQosManagementCompliances, hwWlanTos1MapUPValue=hwWlanTos1MapUPValue, hwWlanValue2MapUpTunnelPriority=hwWlanValue2MapUpTunnelPriority, hwWlanBatchWmmProfileReturnNumber=hwWlanBatchWmmProfileReturnNumber, hwWlanWmmProfileTable=hwWlanWmmProfileTable, hwWlanDownTunnelPrioritySpecValue=hwWlanDownTunnelPrioritySpecValue, hwWlanValue4MapDownTunnelPriority=hwWlanValue4MapDownTunnelPriority, hwWlanBatchWmmProfileName=hwWlanBatchWmmProfileName, hwQClientEDCAVideoTXOPLimit=hwQClientEDCAVideoTXOPLimit, hwWlanBatchTrafficProfileGetNumber=hwWlanBatchTrafficProfileGetNumber, hwQClientEDCABETXOPLimit=hwQClientEDCABETXOPLimit, hwWlanQosManagementObjectGroups=hwWlanQosManagementObjectGroups, hwWlanVAPUpLimitRate=hwWlanVAPUpLimitRate, hwWlanClientDownLimitRate=hwWlanClientDownLimitRate, hwQClientEDCAVoiceAIFSN=hwQClientEDCAVoiceAIFSN, hwQAPEDCAVoiceAIFSN=hwQAPEDCAVoiceAIFSN, hwWlan8021p6MapUPValue=hwWlan8021p6MapUPValue, hwWlan8021pMapMode=hwWlan8021pMapMode, hwWlanBatchTrafficProfileReturnNumber=hwWlanBatchTrafficProfileReturnNumber, hwWlan8021p1MapUPValue=hwWlan8021p1MapUPValue, hwWlanTrafficProfileGroup=hwWlanTrafficProfileGroup)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, constraints_union, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint')
(hw_wlan,) = mibBuilder.importSymbols('HUAWEI-WLAN-MIB', 'hwWlan')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(unsigned32, module_identity, object_identity, notification_type, counter32, time_ticks, ip_address, integer32, counter64, bits, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'ModuleIdentity', 'ObjectIdentity', 'NotificationType', 'Counter32', 'TimeTicks', 'IpAddress', 'Integer32', 'Counter64', 'Bits', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Gauge32')
(textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString')
hw_wlan_qos_management = module_identity((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5))
hwWlanQosManagement.setRevisions(('2010-10-12 10:00', '2010-06-01 10:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
hwWlanQosManagement.setRevisionsDescriptions((' V1.02, for the hwWlanTrafficProfileTable, change the leaf nodes hwWlanClientLimitRate and hwWlanVAPLimitRate to hwWlanClientUpLimitRate and hwWlanVAPUpLimitRate, add leaf nodes hwWlanClientDownLimitRate and hwWlanClientDownLimitRate .', ' V1.00, The first Draft.'))
if mibBuilder.loadTexts:
hwWlanQosManagement.setLastUpdated('201011100000Z')
if mibBuilder.loadTexts:
hwWlanQosManagement.setOrganization('Huawei Technologies Co.,Ltd.')
if mibBuilder.loadTexts:
hwWlanQosManagement.setContactInfo("Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com ")
if mibBuilder.loadTexts:
hwWlanQosManagement.setDescription('Wlan QoS management.')
hw_wlan_wmm_profile_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1))
if mibBuilder.loadTexts:
hwWlanWmmProfileTable.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmProfileTable.setDescription('Wmm profile management table.')
hw_wlan_wmm_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1)).setIndexNames((0, 'HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileName'))
if mibBuilder.loadTexts:
hwWlanWmmProfileEntry.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmProfileEntry.setDescription('Wmm profile management entity.')
hw_wlan_wmm_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31)))
if mibBuilder.loadTexts:
hwWlanWmmProfileName.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmProfileName.setDescription('Wmm profile name.')
hw_wlan_wmm_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanWmmSwitch.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmSwitch.setDescription('The wmm switch.')
hw_wlan_wmm_mandatory_switch = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanWmmMandatorySwitch.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmMandatorySwitch.setDescription('The mandatory switch.')
hw_wlan_wmm_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 4), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanWmmProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmProfileRowStatus.setDescription('Row status. Add or delete a table item.')
hw_qapedca_voice_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VO.')
hw_qapedca_voice_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VO.')
hw_qapedca_voice_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VO.')
hw_qapedca_voice_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(47)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VO.')
hw_qapedca_voice_ack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceACKPolicy.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVoiceACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VO.')
hw_qapedca_video_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVideoECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_VI.')
hw_qapedca_video_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVideoECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_VI.')
hw_qapedca_video_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVideoAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_VI.')
hw_qapedca_video_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(94)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVideoTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_VI.')
hw_qapedca_video_ack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCAVideoACKPolicy.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCAVideoACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_VI.')
hw_qapedcabeec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABEECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BE.')
hw_qapedcabeec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABEECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BE.')
hw_qapedcabeaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABEAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BE.')
hw_qapedcabetxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABETXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BE.')
hw_qapedcabeack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABEACKPolicy.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABEACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BE.')
hw_qapedcabkec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABKECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by an AP for AC_BK.')
hw_qapedcabkec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABKECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by an AP for AC_BK.')
hw_qapedcabkaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABKAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by an AP for AC_BK.')
hw_qapedcabktxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABKTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by an AP for AC_BK.')
hw_qapedcabkack_policy = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('noack', 2))).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQAPEDCABKACKPolicy.setStatus('current')
if mibBuilder.loadTexts:
hwQAPEDCABKACKPolicy.setDescription('ACK policy. This attribute shall specify the policy of ACK that shall be used by an AP for AC_BK.')
hw_q_client_edca_voice_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VO.')
hw_q_client_edca_voice_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VO.')
hw_q_client_edca_voice_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VO.')
hw_q_client_edca_voice_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(47)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVoiceTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VO.')
hw_q_client_edca_video_ec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 29), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVideoECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVideoECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_VI.')
hw_q_client_edca_video_ec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVideoECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVideoECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_VI.')
hw_q_client_edca_video_aifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVideoAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVideoAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_VI.')
hw_q_client_edca_video_txop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(94)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCAVideoTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCAVideoTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_VI.')
hw_q_client_edcabeec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABEECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABEECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BE.')
hw_q_client_edcabeec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 34), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABEECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABEECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BE.')
hw_q_client_edcabeaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 35), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABEAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABEAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BE.')
hw_q_client_edcabetxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 36), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABETXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABETXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BE.')
hw_q_client_edcabkec_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 37), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(10)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABKECWmax.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABKECWmax.setDescription('Exponent form of CWmax. This attribute shall specify the value of ECWmax that shall be used by a STA for AC_BK.')
hw_q_client_edcabkec_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 38), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABKECWmin.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABKECWmin.setDescription('Exponent form of CWmin. This attribute shall specify the value of ECWmin that shall be used by a STA for AC_BK.')
hw_q_client_edcabkaifsn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABKAIFSN.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABKAIFSN.setDescription('Arbitration Inter Frame Spacing Number. This attribute shall specify the value of AIFSN that shall be used by a STA for AC_BK.')
hw_q_client_edcabktxop_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 1, 1, 40), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwQClientEDCABKTXOPLimit.setStatus('current')
if mibBuilder.loadTexts:
hwQClientEDCABKTXOPLimit.setDescription('Transmission Opportunity Limit. This attribute shall specify the value of TXOPLimit that shall be used by a STA for AC_BK.')
hw_wlan_traffic_profile_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2))
if mibBuilder.loadTexts:
hwWlanTrafficProfileTable.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTrafficProfileTable.setDescription('Traffic profile management table.')
hw_wlan_traffic_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1)).setIndexNames((0, 'HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileName'))
if mibBuilder.loadTexts:
hwWlanTrafficProfileEntry.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTrafficProfileEntry.setDescription('Traffic profile management entity.')
hw_wlan_traffic_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(1, 31)))
if mibBuilder.loadTexts:
hwWlanTrafficProfileName.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTrafficProfileName.setDescription('Traffic profile name.')
hw_wlan_traffic_profile_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 2), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanTrafficProfileRowStatus.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTrafficProfileRowStatus.setDescription('Row status. Add or delete a table item.')
hw_wlan_client_up_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 3), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanClientUpLimitRate.setStatus('current')
if mibBuilder.loadTexts:
hwWlanClientUpLimitRate.setDescription('The up limit rate of client.')
hw_wlan_vap_up_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 4), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanVAPUpLimitRate.setStatus('current')
if mibBuilder.loadTexts:
hwWlanVAPUpLimitRate.setDescription('The up limit rate of VAP.')
hw_wlan8021p_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('designate', 1), ('mapping', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021pMapMode.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021pMapMode.setDescription('The mapping mode of user-priority to 802.1p, supporting mapping and designate.')
hw_wlan8021p_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 6), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021pSpecValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021pSpecValue.setDescription('Designate the 802.1p priority value.')
hw_wlan_up0_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 7), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP0Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP0Map8021p.setDescription('The mapping 802.1p priority value from user-priority 0.')
hw_wlan_up1_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 8), integer32().clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP1Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP1Map8021p.setDescription('The mapping 802.1p priority value from user-priority 1.')
hw_wlan_up2_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 9), integer32().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP2Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP2Map8021p.setDescription('The mapping 802.1p priority value from user-priority 2.')
hw_wlan_up3_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 10), integer32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP3Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP3Map8021p.setDescription('The mapping 802.1p priority value from user-priority 3.')
hw_wlan_up4_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 11), integer32().clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP4Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP4Map8021p.setDescription('The mapping 802.1p priority value from user-priority 4.')
hw_wlan_up5_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 12), integer32().clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP5Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP5Map8021p.setDescription('The mapping 802.1p priority value from user-priority 5.')
hw_wlan_up6_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 13), integer32().clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP6Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP6Map8021p.setDescription('The mapping 802.1p priority value from user-priority 6.')
hw_wlan_up7_map8021p = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 14), integer32().clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUP7Map8021p.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUP7Map8021p.setDescription('The mapping 802.1p priority value from user-priority 7.')
hw_wlan8021p0_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p0MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p0MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 0.')
hw_wlan8021p1_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p1MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p1MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 1.')
hw_wlan8021p2_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p2MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p2MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 2.')
hw_wlan8021p3_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p3MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p3MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 3.')
hw_wlan8021p4_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p4MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p4MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 4.')
hw_wlan8021p5_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p5MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p5MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 5.')
hw_wlan8021p6_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p6MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p6MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 6.')
hw_wlan8021p7_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlan8021p7MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlan8021p7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.')
hw_wlan_up_tunnel_priority_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('specCOS', 1), ('specDSCP', 2), ('cos2cos', 3), ('cos2dscp', 4), ('dscp2cos', 5), ('dscp2dscp', 6))).clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUpTunnelPriorityMapMode.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUpTunnelPriorityMapMode.setDescription('The mapping mode to up tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.')
hw_wlan_up_tunnel_priority_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 24), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanUpTunnelPrioritySpecValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanUpTunnelPrioritySpecValue.setDescription('Designate the up tunnel priority value.')
hw_wlan_value0_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 25), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue0MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue0MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 0.')
hw_wlan_value1_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 26), integer32().clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue1MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue1MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 1.')
hw_wlan_value2_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 27), integer32().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue2MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue2MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 2.')
hw_wlan_value3_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 28), integer32().clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue3MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue3MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 3.')
hw_wlan_value4_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 29), integer32().clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue4MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue4MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 4.')
hw_wlan_value5_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 30), integer32().clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue5MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue5MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 5.')
hw_wlan_value6_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 31), integer32().clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue6MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue6MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 6.')
hw_wlan_value7_map_up_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 32), integer32().clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue7MapUpTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue7MapUpTunnelPriority.setDescription('The mapping value of the up tunnel priority from priority value 7.')
hw_wlan_down_tunnel_priority_map_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('specCOS', 1), ('specDSCP', 2), ('cos2cos', 3), ('cos2dscp', 4), ('dscp2cos', 5), ('dscp2dscp', 6))).clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanDownTunnelPriorityMapMode.setStatus('current')
if mibBuilder.loadTexts:
hwWlanDownTunnelPriorityMapMode.setDescription('The mapping mode to down tunnel priority, supporting specDSCP and specCOS and dscp2dscp and dscp2cos and cos2cos and cos2dscp.')
hw_wlan_down_tunnel_priority_spec_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 34), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanDownTunnelPrioritySpecValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanDownTunnelPrioritySpecValue.setDescription('Designate the down tunnel priority value.')
hw_wlan_value0_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 35), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue0MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue0MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 0.')
hw_wlan_value1_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 36), integer32().clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue1MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue1MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 1.')
hw_wlan_value2_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 37), integer32().clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue2MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue2MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 2.')
hw_wlan_value3_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 38), integer32().clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue3MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue3MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 3.')
hw_wlan_value4_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 39), integer32().clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue4MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue4MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 4.')
hw_wlan_value5_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 40), integer32().clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue5MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue5MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 5.')
hw_wlan_value6_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 41), integer32().clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue6MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue6MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 6.')
hw_wlan_value7_map_down_tunnel_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 42), integer32().clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanValue7MapDownTunnelPriority.setStatus('current')
if mibBuilder.loadTexts:
hwWlanValue7MapDownTunnelPriority.setDescription('The mapping value of the down tunnel priority from priority value 7.')
hw_wlan_client_down_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 43), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanClientDownLimitRate.setStatus('current')
if mibBuilder.loadTexts:
hwWlanClientDownLimitRate.setDescription('The down limit rate of client.')
hw_wlan_vap_down_limit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 44), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanVAPDownLimitRate.setStatus('current')
if mibBuilder.loadTexts:
hwWlanVAPDownLimitRate.setDescription('The down limit rate of VAP.')
hw_wlan_tos0_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 45), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos0MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos0MapUPValue.setDescription('The mapping user-priority value from tos priority value 0.')
hw_wlan_tos1_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 46), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos1MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos1MapUPValue.setDescription('The mapping user-priority value from tos priority value 1.')
hw_wlan_tos2_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 47), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(2)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos2MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos2MapUPValue.setDescription('The mapping user-priority value from tos priority value 2.')
hw_wlan_tos3_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 48), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos3MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos3MapUPValue.setDescription('The mapping user-priority value from tos priority value 3.')
hw_wlan_tos4_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 49), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(4)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos4MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos4MapUPValue.setDescription('The mapping user-priority value from tos priority value 4.')
hw_wlan_tos5_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 50), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(5)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos5MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos5MapUPValue.setDescription('The mapping user-priority value from tos priority value 5.')
hw_wlan_tos6_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 51), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(6)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos6MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos6MapUPValue.setDescription('The mapping user-priority value from tos priority value 6.')
hw_wlan_tos7_map_up_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 2, 1, 52), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hwWlanTos7MapUPValue.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTos7MapUPValue.setDescription('The mapping user-priority value from 802.1p priority value 7.')
hw_wlan_batch_wmm_profile_start_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileStartNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileStartNumber.setDescription("The wmm-profile start number in batch operation. This node is used with node hwWlanBatchWmmProfileGetNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.")
hw_wlan_batch_wmm_profile_get_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileGetNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileGetNumber.setDescription("The wmm-profile number that want to get in batch operation.This node is used with node hwWlanBatchWmmProfileStartNumber, for example, hwWlanBatchWmmProfileStartNumber is set to one, and hwWlanBatchWmmProfileGetNumber is set to three, then get the node hwWlanBatchWmmProfileReturnNumber, hwWlanBatchWmmProfileName, that means start from the first wmm-profile, get three wmm-profile's name . if it dose not exist three wmm-profile, the hwWlanBatchWmmProfileReturnNumber will be the real wmm-profile number, otherwise, it is equal to hwWlanBatchWmmProfileGetNumber.")
hw_wlan_batch_wmm_profile_return_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileReturnNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileReturnNumber.setDescription('The wmm-profile number get in batch operation.')
hw_wlan_batch_wmm_profile_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 6), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileName.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchWmmProfileName.setDescription("The names of wmm-profiles which are determined by node hwWlanBatchWmmProfileStartNumber and node hwWlanBatchWmmProfileGetNumber. each wmm-profile name is divided by '?'.")
hw_wlan_batch_traffic_profile_start_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileStartNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileStartNumber.setDescription("The traffic-profile start number in batch operation. This node is used with node hwWlanBatchTrafficProfileGetNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.")
hw_wlan_batch_traffic_profile_get_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileGetNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileGetNumber.setDescription("The traffic-profile number that want to get in batch operation.This node is used with node hwWlanBatchTrafficProfileStartNumber, for example, hwWlanBatchTrafficProfileStartNumber is set to one, and hwWlanBatchTrafficProfileGetNumber is set to three, then get the node hwWlanBatchTrafficProfileReturnNumber, hwWlanBatchTrafficProfileName, that means start from the first traffic-profile, get three traffic-profile's name . if it dose not exist three traffic-profile, the hwWlanBatchTrafficProfileReturnNumber will be the real traffic-profile number, otherwise, it is equal to hwWlanBatchTrafficProfileGetNumber.")
hw_wlan_batch_traffic_profile_return_number = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileReturnNumber.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileReturnNumber.setDescription('The traffic-profile number get in batch operation.')
hw_wlan_batch_traffic_profile_name = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 10), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileName.setStatus('current')
if mibBuilder.loadTexts:
hwWlanBatchTrafficProfileName.setDescription("The names of traffic-profiles which are determined by node hwWlanBatchTrafficProfileStartNumber and node hwWlanBatchTrafficProfileGetNumber. each traffic-profile name is divided by '?'.")
hw_wlan_qos_management_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 11))
hw_wlan_qos_management_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12))
hw_wlan_qos_management_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1))
hw_wlan_qos_management_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 1, 1)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileGroup'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileGroup'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanQosManagementGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_wlan_qos_management_compliance = hwWlanQosManagementCompliance.setStatus('current')
if mibBuilder.loadTexts:
hwWlanQosManagementCompliance.setDescription('Description.')
hw_wlan_qos_management_object_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2))
hw_wlan_wmm_profile_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 1)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmSwitch'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmMandatorySwitch'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanWmmProfileRowStatus'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVoiceACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCAVideoACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABETXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABEACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQAPEDCABKACKPolicy'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVoiceTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCAVideoTXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABEAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABETXOPLimit'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKECWmax'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKECWmin'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKAIFSN'), ('HUAWEI-WLAN-QOS-MIB', 'hwQClientEDCABKTXOPLimit'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_wlan_wmm_profile_group = hwWlanWmmProfileGroup.setStatus('current')
if mibBuilder.loadTexts:
hwWlanWmmProfileGroup.setDescription('Description.')
hw_wlan_traffic_profile_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 2)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanTrafficProfileRowStatus'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanClientUpLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanVAPUpLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021pMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021pSpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP0Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP1Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP2Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP3Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP4Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP5Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP6Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUP7Map8021p'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p0MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p1MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p2MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p3MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p4MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p5MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p6MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlan8021p7MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUpTunnelPriorityMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanUpTunnelPrioritySpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue0MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue1MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue2MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue3MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue4MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue5MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue6MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue7MapUpTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanDownTunnelPriorityMapMode'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanDownTunnelPrioritySpecValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue0MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue1MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue2MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue3MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue4MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue5MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue6MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanValue7MapDownTunnelPriority'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanClientDownLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanVAPDownLimitRate'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos0MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos1MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos2MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos3MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos4MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos5MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos6MapUPValue'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanTos7MapUPValue'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_wlan_traffic_profile_group = hwWlanTrafficProfileGroup.setStatus('current')
if mibBuilder.loadTexts:
hwWlanTrafficProfileGroup.setDescription('Description.')
hw_wlan_qos_management_group = object_group((1, 3, 6, 1, 4, 1, 2011, 6, 139, 5, 12, 2, 3)).setObjects(('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileStartNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileGetNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileReturnNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchWmmProfileName'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileStartNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileGetNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileReturnNumber'), ('HUAWEI-WLAN-QOS-MIB', 'hwWlanBatchTrafficProfileName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hw_wlan_qos_management_group = hwWlanQosManagementGroup.setStatus('current')
if mibBuilder.loadTexts:
hwWlanQosManagementGroup.setDescription('Description.')
mibBuilder.exportSymbols('HUAWEI-WLAN-QOS-MIB', hwWlanTrafficProfileEntry=hwWlanTrafficProfileEntry, hwWlan8021p3MapUPValue=hwWlan8021p3MapUPValue, hwWlanQosManagementCompliance=hwWlanQosManagementCompliance, hwWlanUP6Map8021p=hwWlanUP6Map8021p, hwWlanBatchWmmProfileGetNumber=hwWlanBatchWmmProfileGetNumber, hwWlanQosManagementObjects=hwWlanQosManagementObjects, hwWlan8021p4MapUPValue=hwWlan8021p4MapUPValue, hwWlanTrafficProfileRowStatus=hwWlanTrafficProfileRowStatus, hwWlanQosManagementGroup=hwWlanQosManagementGroup, hwWlanWmmProfileGroup=hwWlanWmmProfileGroup, hwWlanTos0MapUPValue=hwWlanTos0MapUPValue, hwWlan8021p2MapUPValue=hwWlan8021p2MapUPValue, hwWlanValue0MapDownTunnelPriority=hwWlanValue0MapDownTunnelPriority, hwWlanUP4Map8021p=hwWlanUP4Map8021p, hwWlanTos7MapUPValue=hwWlanTos7MapUPValue, hwQAPEDCABEACKPolicy=hwQAPEDCABEACKPolicy, hwWlanWmmMandatorySwitch=hwWlanWmmMandatorySwitch, hwWlan8021p5MapUPValue=hwWlan8021p5MapUPValue, hwWlanValue3MapUpTunnelPriority=hwWlanValue3MapUpTunnelPriority, hwWlanUP0Map8021p=hwWlanUP0Map8021p, hwWlan8021p0MapUPValue=hwWlan8021p0MapUPValue, hwQClientEDCABKECWmax=hwQClientEDCABKECWmax, hwWlanValue6MapDownTunnelPriority=hwWlanValue6MapDownTunnelPriority, hwQAPEDCAVideoECWmin=hwQAPEDCAVideoECWmin, hwQClientEDCAVoiceECWmin=hwQClientEDCAVoiceECWmin, hwWlanBatchTrafficProfileName=hwWlanBatchTrafficProfileName, hwWlanTos5MapUPValue=hwWlanTos5MapUPValue, hwWlanWmmProfileName=hwWlanWmmProfileName, hwWlanValue4MapUpTunnelPriority=hwWlanValue4MapUpTunnelPriority, hwWlanTos3MapUPValue=hwWlanTos3MapUPValue, hwWlan8021p7MapUPValue=hwWlan8021p7MapUPValue, hwWlanWmmSwitch=hwWlanWmmSwitch, hwWlanUP7Map8021p=hwWlanUP7Map8021p, hwWlanDownTunnelPriorityMapMode=hwWlanDownTunnelPriorityMapMode, hwWlanValue7MapUpTunnelPriority=hwWlanValue7MapUpTunnelPriority, hwWlanWmmProfileEntry=hwWlanWmmProfileEntry, hwQAPEDCABKACKPolicy=hwQAPEDCABKACKPolicy, hwWlanTrafficProfileName=hwWlanTrafficProfileName, hwQClientEDCAVoiceECWmax=hwQClientEDCAVoiceECWmax, hwWlanWmmProfileRowStatus=hwWlanWmmProfileRowStatus, hwQAPEDCAVideoECWmax=hwQAPEDCAVideoECWmax, hwQAPEDCABKECWmin=hwQAPEDCABKECWmin, hwWlanUP1Map8021p=hwWlanUP1Map8021p, hwQClientEDCABEAIFSN=hwQClientEDCABEAIFSN, hwQClientEDCAVoiceTXOPLimit=hwQClientEDCAVoiceTXOPLimit, hwWlanTos2MapUPValue=hwWlanTos2MapUPValue, hwWlanUP3Map8021p=hwWlanUP3Map8021p, hwQAPEDCABKECWmax=hwQAPEDCABKECWmax, hwWlanUP5Map8021p=hwWlanUP5Map8021p, hwWlanClientUpLimitRate=hwWlanClientUpLimitRate, hwQAPEDCAVoiceECWmin=hwQAPEDCAVoiceECWmin, hwWlanVAPDownLimitRate=hwWlanVAPDownLimitRate, hwQAPEDCABKAIFSN=hwQAPEDCABKAIFSN, hwQAPEDCAVideoTXOPLimit=hwQAPEDCAVideoTXOPLimit, hwQAPEDCABEECWmax=hwQAPEDCABEECWmax, hwWlanTrafficProfileTable=hwWlanTrafficProfileTable, hwWlanBatchTrafficProfileStartNumber=hwWlanBatchTrafficProfileStartNumber, hwQClientEDCABKECWmin=hwQClientEDCABKECWmin, hwWlanValue5MapUpTunnelPriority=hwWlanValue5MapUpTunnelPriority, hwWlanUpTunnelPriorityMapMode=hwWlanUpTunnelPriorityMapMode, hwQAPEDCAVoiceTXOPLimit=hwQAPEDCAVoiceTXOPLimit, hwQAPEDCABEECWmin=hwQAPEDCABEECWmin, hwQClientEDCABKTXOPLimit=hwQClientEDCABKTXOPLimit, hwWlanBatchWmmProfileStartNumber=hwWlanBatchWmmProfileStartNumber, hwQAPEDCAVideoACKPolicy=hwQAPEDCAVideoACKPolicy, hwQAPEDCABEAIFSN=hwQAPEDCABEAIFSN, hwQClientEDCAVideoECWmin=hwQClientEDCAVideoECWmin, hwQAPEDCAVideoAIFSN=hwQAPEDCAVideoAIFSN, hwWlanValue2MapDownTunnelPriority=hwWlanValue2MapDownTunnelPriority, hwQClientEDCAVideoAIFSN=hwQClientEDCAVideoAIFSN, hwQClientEDCABKAIFSN=hwQClientEDCABKAIFSN, hwWlanUP2Map8021p=hwWlanUP2Map8021p, hwWlanQosManagementConformance=hwWlanQosManagementConformance, PYSNMP_MODULE_ID=hwWlanQosManagement, hwQClientEDCABEECWmin=hwQClientEDCABEECWmin, hwWlanValue3MapDownTunnelPriority=hwWlanValue3MapDownTunnelPriority, hwWlanValue7MapDownTunnelPriority=hwWlanValue7MapDownTunnelPriority, hwQAPEDCAVoiceACKPolicy=hwQAPEDCAVoiceACKPolicy, hwWlanTos4MapUPValue=hwWlanTos4MapUPValue, hwQClientEDCAVideoECWmax=hwQClientEDCAVideoECWmax, hwWlan8021pSpecValue=hwWlan8021pSpecValue, hwWlanTos6MapUPValue=hwWlanTos6MapUPValue, hwQAPEDCAVoiceECWmax=hwQAPEDCAVoiceECWmax, hwWlanValue0MapUpTunnelPriority=hwWlanValue0MapUpTunnelPriority, hwWlanValue1MapDownTunnelPriority=hwWlanValue1MapDownTunnelPriority, hwWlanUpTunnelPrioritySpecValue=hwWlanUpTunnelPrioritySpecValue, hwWlanValue6MapUpTunnelPriority=hwWlanValue6MapUpTunnelPriority, hwWlanValue1MapUpTunnelPriority=hwWlanValue1MapUpTunnelPriority, hwWlanValue5MapDownTunnelPriority=hwWlanValue5MapDownTunnelPriority, hwQClientEDCABEECWmax=hwQClientEDCABEECWmax, hwQAPEDCABKTXOPLimit=hwQAPEDCABKTXOPLimit, hwWlanQosManagement=hwWlanQosManagement, hwQAPEDCABETXOPLimit=hwQAPEDCABETXOPLimit, hwWlanQosManagementCompliances=hwWlanQosManagementCompliances, hwWlanTos1MapUPValue=hwWlanTos1MapUPValue, hwWlanValue2MapUpTunnelPriority=hwWlanValue2MapUpTunnelPriority, hwWlanBatchWmmProfileReturnNumber=hwWlanBatchWmmProfileReturnNumber, hwWlanWmmProfileTable=hwWlanWmmProfileTable, hwWlanDownTunnelPrioritySpecValue=hwWlanDownTunnelPrioritySpecValue, hwWlanValue4MapDownTunnelPriority=hwWlanValue4MapDownTunnelPriority, hwWlanBatchWmmProfileName=hwWlanBatchWmmProfileName, hwQClientEDCAVideoTXOPLimit=hwQClientEDCAVideoTXOPLimit, hwWlanBatchTrafficProfileGetNumber=hwWlanBatchTrafficProfileGetNumber, hwQClientEDCABETXOPLimit=hwQClientEDCABETXOPLimit, hwWlanQosManagementObjectGroups=hwWlanQosManagementObjectGroups, hwWlanVAPUpLimitRate=hwWlanVAPUpLimitRate, hwWlanClientDownLimitRate=hwWlanClientDownLimitRate, hwQClientEDCAVoiceAIFSN=hwQClientEDCAVoiceAIFSN, hwQAPEDCAVoiceAIFSN=hwQAPEDCAVoiceAIFSN, hwWlan8021p6MapUPValue=hwWlan8021p6MapUPValue, hwWlan8021pMapMode=hwWlan8021pMapMode, hwWlanBatchTrafficProfileReturnNumber=hwWlanBatchTrafficProfileReturnNumber, hwWlan8021p1MapUPValue=hwWlan8021p1MapUPValue, hwWlanTrafficProfileGroup=hwWlanTrafficProfileGroup) |
def polishNotation(tokens):
def isNumber(stringRepresentation):
return (len(stringRepresentation) > 1 or
'0' <= stringRepresentation[0] and
stringRepresentation[0] <= '9')
stack = []
for i in range(len(tokens)):
stack.append(tokens[i])
while (len(stack) > 2 and isNumber(stack[-1])
and isNumber(stack[-2])):
leftOperand = int(stack[-2])
rightOperand = int(stack[-1])
result = 0
if stack[-3] == '-':
result = leftOperand - rightOperand
if stack[-3] == '+':
result = leftOperand + rightOperand
if stack[-3] == '*':
result = leftOperand * rightOperand
stack = stack[:-3]
stack.append(str(result))
return int(stack[0])
| def polish_notation(tokens):
def is_number(stringRepresentation):
return len(stringRepresentation) > 1 or ('0' <= stringRepresentation[0] and stringRepresentation[0] <= '9')
stack = []
for i in range(len(tokens)):
stack.append(tokens[i])
while len(stack) > 2 and is_number(stack[-1]) and is_number(stack[-2]):
left_operand = int(stack[-2])
right_operand = int(stack[-1])
result = 0
if stack[-3] == '-':
result = leftOperand - rightOperand
if stack[-3] == '+':
result = leftOperand + rightOperand
if stack[-3] == '*':
result = leftOperand * rightOperand
stack = stack[:-3]
stack.append(str(result))
return int(stack[0]) |
__author__ = 'godq'
class BaseDagRepo:
def add_dag(self, dag_name, content):
raise NotImplemented
def update_dag(self, dag_name, content):
raise NotImplemented
def delete_dag(self, dag_name):
raise NotImplemented
def find_dag(self, dag_name):
raise NotImplemented
def list_dags(self, detail=False):
raise NotImplemented
def find_step_def(self, dag_name, step_name):
raise NotImplemented
def add_dag_run(self, dag_name, dag_run_id=None):
raise NotImplemented
def stop_dag_run(self, dag_name, dag_run_id):
raise NotImplemented
def list_dag_runs(self, dag_name):
raise NotImplemented
def find_dag_run(self, dag_name, dag_run_id):
raise NotImplemented
def mark_dag_run_status(self, dag_name, dag_run_id, status):
raise NotImplemented
def add_dag_run_event(self, dag_name, dag_run_id, event):
raise NotImplemented
def find_dag_run_events(self, dag_name, run_id):
raise NotImplemented | __author__ = 'godq'
class Basedagrepo:
def add_dag(self, dag_name, content):
raise NotImplemented
def update_dag(self, dag_name, content):
raise NotImplemented
def delete_dag(self, dag_name):
raise NotImplemented
def find_dag(self, dag_name):
raise NotImplemented
def list_dags(self, detail=False):
raise NotImplemented
def find_step_def(self, dag_name, step_name):
raise NotImplemented
def add_dag_run(self, dag_name, dag_run_id=None):
raise NotImplemented
def stop_dag_run(self, dag_name, dag_run_id):
raise NotImplemented
def list_dag_runs(self, dag_name):
raise NotImplemented
def find_dag_run(self, dag_name, dag_run_id):
raise NotImplemented
def mark_dag_run_status(self, dag_name, dag_run_id, status):
raise NotImplemented
def add_dag_run_event(self, dag_name, dag_run_id, event):
raise NotImplemented
def find_dag_run_events(self, dag_name, run_id):
raise NotImplemented |
load("//flatbuffers/toolchain_defs:toolchain_defs.bzl", "toolchain_target_for_repo")
CC_LANG_REPO = "rules_flatbuffers_cc_toolchain"
CC_LANG_TOOLCHAIN = toolchain_target_for_repo(CC_LANG_REPO)
CC_LANG_SHORTNAME = "cc"
CC_LANG_DEFAULT_RUNTIME = "@com_github_google_flatbuffers//:flatbuffers"
CC_LANG_FLATC_ARGS = [
"--cpp",
# This is necessary to preserve the directory hierarchy for generated headers to be relative to
# the workspace root as bazel expects.
"--keep-prefix",
]
CC_LANG_DEFAULT_EXTRA_FLATC_ARGS = [
"--gen-mutable",
"--gen-name-strings",
"--reflect-names",
]
| load('//flatbuffers/toolchain_defs:toolchain_defs.bzl', 'toolchain_target_for_repo')
cc_lang_repo = 'rules_flatbuffers_cc_toolchain'
cc_lang_toolchain = toolchain_target_for_repo(CC_LANG_REPO)
cc_lang_shortname = 'cc'
cc_lang_default_runtime = '@com_github_google_flatbuffers//:flatbuffers'
cc_lang_flatc_args = ['--cpp', '--keep-prefix']
cc_lang_default_extra_flatc_args = ['--gen-mutable', '--gen-name-strings', '--reflect-names'] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.