blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 3
616
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
112
| license_type
stringclasses 2
values | repo_name
stringlengths 5
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 777
values | visit_date
timestamp[us]date 2015-08-06 10:31:46
2023-09-06 10:44:38
| revision_date
timestamp[us]date 1970-01-01 02:38:32
2037-05-03 13:00:00
| committer_date
timestamp[us]date 1970-01-01 02:38:32
2023-09-06 01:08:06
| github_id
int64 4.92k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 22
values | gha_event_created_at
timestamp[us]date 2012-06-04 01:52:49
2023-09-14 21:59:50
⌀ | gha_created_at
timestamp[us]date 2008-05-22 07:58:19
2023-08-21 12:35:19
⌀ | gha_language
stringclasses 149
values | src_encoding
stringclasses 26
values | language
stringclasses 1
value | is_vendor
bool 2
classes | is_generated
bool 2
classes | length_bytes
int64 3
10.2M
| extension
stringclasses 188
values | content
stringlengths 3
10.2M
| authors
sequencelengths 1
1
| author_id
stringlengths 1
132
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
61123ed7968e1f5e134e1dee7ad3ea79b0ae86d9 | 9f2b8cd46160d935a5f82b6e539e35ae7c115042 | /mitogen/fork.py | f0c2d7e7c74c6a6222eea0f01b945100b07320d0 | [
"BSD-3-Clause"
] | permissive | bbc/mitogen | 55223b8df7149ae23d4b8c851f7b22517305c115 | c00e48d0d92ec8667b782af14fffe26b899c1044 | refs/heads/master | 2023-04-13T20:15:07.514849 | 2019-09-25T12:22:17 | 2020-05-11T13:54:16 | 210,834,629 | 0 | 1 | BSD-3-Clause | 2021-02-18T14:54:01 | 2019-09-25T12:03:22 | Python | UTF-8 | Python | false | false | 8,436 | py | # Copyright 2019, David Wilson
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors
# may be used to endorse or promote products derived from this software without
# specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
# !mitogen: minify_safe
import errno
import logging
import os
import random
import sys
import threading
import traceback
import mitogen.core
import mitogen.parent
from mitogen.core import b
LOG = logging.getLogger(__name__)
# Python 2.4/2.5 cannot support fork+threads whatsoever, it doesn't even fix up
# interpreter state. So 2.4/2.5 interpreters start .local() contexts for
# isolation instead. Since we don't have any crazy memory sharing problems to
# avoid, there is no virginal fork parent either. The child is started directly
# from the login/become process. In future this will be default everywhere,
# fork is brainwrong from the stone age.
FORK_SUPPORTED = sys.version_info >= (2, 6)
class Error(mitogen.core.StreamError):
pass
def fixup_prngs():
"""
Add 256 bits of /dev/urandom to OpenSSL's PRNG in the child, and re-seed
the random package with the same data.
"""
s = os.urandom(256 // 8)
random.seed(s)
if 'ssl' in sys.modules:
sys.modules['ssl'].RAND_add(s, 75.0)
def reset_logging_framework():
"""
After fork, ensure any logging.Handler locks are recreated, as a variety of
threads in the parent may have been using the logging package at the moment
of fork.
It is not possible to solve this problem in general; see :gh:issue:`150`
for a full discussion.
"""
logging._lock = threading.RLock()
# The root logger does not appear in the loggerDict.
logging.Logger.manager.loggerDict = {}
logging.getLogger().handlers = []
def on_fork():
"""
Should be called by any program integrating Mitogen each time the process
is forked, in the context of the new child.
"""
reset_logging_framework() # Must be first!
fixup_prngs()
mitogen.core.Latch._on_fork()
mitogen.core.Side._on_fork()
mitogen.core.ExternalContext.service_stub_lock = threading.Lock()
mitogen__service = sys.modules.get('mitogen.service')
if mitogen__service:
mitogen__service._pool_lock = threading.Lock()
def handle_child_crash():
"""
Respond to _child_main() crashing by ensuring the relevant exception is
logged to /dev/tty.
"""
tty = open('/dev/tty', 'wb')
tty.write('\n\nFORKED CHILD PID %d CRASHED\n%s\n\n' % (
os.getpid(),
traceback.format_exc(),
))
tty.close()
os._exit(1)
def _convert_exit_status(status):
"""
Convert a :func:`os.waitpid`-style exit status to a :mod:`subprocess` style
exit status.
"""
if os.WIFEXITED(status):
return os.WEXITSTATUS(status)
elif os.WIFSIGNALED(status):
return -os.WTERMSIG(status)
elif os.WIFSTOPPED(status):
return -os.WSTOPSIG(status)
class Process(mitogen.parent.Process):
def poll(self):
try:
pid, status = os.waitpid(self.pid, os.WNOHANG)
except OSError:
e = sys.exc_info()[1]
if e.args[0] == errno.ECHILD:
LOG.warn('%r: waitpid(%r) produced ECHILD', self, self.pid)
return
raise
if not pid:
return
return _convert_exit_status(status)
class Options(mitogen.parent.Options):
#: Reference to the importer, if any, recovered from the parent.
importer = None
#: User-supplied function for cleaning up child process state.
on_fork = None
def __init__(self, old_router, max_message_size, on_fork=None, debug=False,
profiling=False, unidirectional=False, on_start=None,
name=None):
if not FORK_SUPPORTED:
raise Error(self.python_version_msg)
# fork method only supports a tiny subset of options.
super(Options, self).__init__(
max_message_size=max_message_size, debug=debug,
profiling=profiling, unidirectional=unidirectional, name=name,
)
self.on_fork = on_fork
self.on_start = on_start
responder = getattr(old_router, 'responder', None)
if isinstance(responder, mitogen.parent.ModuleForwarder):
self.importer = responder.importer
class Connection(mitogen.parent.Connection):
options_class = Options
child_is_immediate_subprocess = True
python_version_msg = (
"The mitogen.fork method is not supported on Python versions "
"prior to 2.6, since those versions made no attempt to repair "
"critical interpreter state following a fork. Please use the "
"local() method instead."
)
name_prefix = u'fork'
def start_child(self):
parentfp, childfp = mitogen.parent.create_socketpair()
pid = os.fork()
if pid:
childfp.close()
return Process(pid, stdin=parentfp, stdout=parentfp)
else:
parentfp.close()
self._wrap_child_main(childfp)
def _wrap_child_main(self, childfp):
try:
self._child_main(childfp)
except BaseException:
handle_child_crash()
def get_econtext_config(self):
config = super(Connection, self).get_econtext_config()
config['core_src_fd'] = None
config['importer'] = self.options.importer
config['send_ec2'] = False
config['setup_package'] = False
if self.options.on_start:
config['on_start'] = self.options.on_start
return config
def _child_main(self, childfp):
on_fork()
if self.options.on_fork:
self.options.on_fork()
mitogen.core.set_block(childfp.fileno())
childfp.send(b('MITO002\n'))
# Expected by the ExternalContext.main().
os.dup2(childfp.fileno(), 1)
os.dup2(childfp.fileno(), 100)
# Overwritten by ExternalContext.main(); we must replace the
# parent-inherited descriptors that were closed by Side._on_fork() to
# avoid ExternalContext.main() accidentally allocating new files over
# the standard handles.
os.dup2(childfp.fileno(), 0)
# Avoid corrupting the stream on fork crash by dupping /dev/null over
# stderr. Instead, handle_child_crash() uses /dev/tty to log errors.
devnull = os.open('/dev/null', os.O_WRONLY)
if devnull != 2:
os.dup2(devnull, 2)
os.close(devnull)
# If we're unlucky, childfp.fileno() may coincidentally be one of our
# desired FDs. In that case closing it breaks ExternalContext.main().
if childfp.fileno() not in (0, 1, 100):
childfp.close()
mitogen.core.IOLOG.setLevel(logging.INFO)
try:
try:
mitogen.core.ExternalContext(self.get_econtext_config()).main()
except Exception:
# TODO: report exception somehow.
os._exit(72)
finally:
# Don't trigger atexit handlers, they were copied from the parent.
os._exit(0)
| [
"[email protected]"
] | |
46d57dcd5a3dd2d3ed7f508c20929ed0f84302ea | 1bd61847ecbaa8394776ebf1c8ccc866d38cf01d | /src/gevent/testing/__init__.py | 98a66a66d387f0b9959edbab873219288c4c6812 | [
"MIT",
"Python-2.0"
] | permissive | sergkot2020/gevent | f9fcbc9a277b063ec024df24cf1e0486a62e59ab | b5e9c638d7e1e6bd9b1e354fff1bffbcefdbcecc | refs/heads/master | 2022-02-01T14:56:06.596018 | 2019-04-25T19:34:15 | 2019-04-25T19:34:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,621 | py | # Copyright (c) 2008-2009 AG Projects
# Copyright 2018 gevent community
# Author: Denis Bilenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
import unittest
# pylint:disable=unused-import
from .sysinfo import VERBOSE
from .sysinfo import WIN
from .sysinfo import LINUX
from .sysinfo import LIBUV
from .sysinfo import CFFI_BACKEND
from .sysinfo import DEBUG
from .sysinfo import RUN_LEAKCHECKS
from .sysinfo import RUN_COVERAGE
from .sysinfo import PY2
from .sysinfo import PY3
from .sysinfo import PY36
from .sysinfo import PY37
from .sysinfo import PYPY
from .sysinfo import PYPY3
from .sysinfo import CPYTHON
from .sysinfo import PLATFORM_SPECIFIC_SUFFIXES
from .sysinfo import NON_APPLICABLE_SUFFIXES
from .sysinfo import SHARED_OBJECT_EXTENSION
from .sysinfo import RUNNING_ON_TRAVIS
from .sysinfo import RUNNING_ON_APPVEYOR
from .sysinfo import RUNNING_ON_CI
from .sysinfo import RESOLVER_NOT_SYSTEM
from .sysinfo import RESOLVER_DNSPYTHON
from .sysinfo import RESOLVER_ARES
from .sysinfo import EXPECT_POOR_TIMER_RESOLUTION
from .sysinfo import CONN_ABORTED_ERRORS
from .skipping import skipOnWindows
from .skipping import skipOnAppVeyor
from .skipping import skipOnCI
from .skipping import skipOnPyPy3OnCI
from .skipping import skipOnPyPy
from .skipping import skipOnPyPyOnCI
from .skipping import skipOnPyPy3
from .skipping import skipIf
from .skipping import skipUnless
from .skipping import skipOnLibev
from .skipping import skipOnLibuv
from .skipping import skipOnLibuvOnWin
from .skipping import skipOnLibuvOnCI
from .skipping import skipOnLibuvOnCIOnPyPy
from .skipping import skipOnLibuvOnPyPyOnWin
from .skipping import skipOnPurePython
from .skipping import skipWithCExtensions
from .skipping import skipOnLibuvOnTravisOnCPython27
from .skipping import skipOnPy37
from .exception import ExpectedException
from .leakcheck import ignores_leakcheck
from .params import LARGE_TIMEOUT
from .params import DEFAULT_LOCAL_HOST_ADDR
from .params import DEFAULT_LOCAL_HOST_ADDR6
from .params import DEFAULT_BIND_ADDR
from .params import DEFAULT_SOCKET_TIMEOUT
from .params import DEFAULT_XPC_SOCKET_TIMEOUT
main = unittest.main
from .hub import QuietHub
import gevent.hub
gevent.hub.set_default_hub_class(QuietHub)
from .sockets import bind_and_listen
from .sockets import tcp_listener
from .openfiles import get_number_open_files
from .openfiles import get_open_files
from .testcase import TestCase
from .modules import walk_modules
BaseTestCase = unittest.TestCase
from .flaky import reraiseFlakyTestTimeout
from .flaky import reraiseFlakyTestRaceCondition
from .flaky import reraises_flaky_timeout
from .flaky import reraises_flaky_race_condition
def gc_collect_if_needed():
"Collect garbage if necessary for destructors to run"
import gc
if PYPY: # pragma: no cover
gc.collect()
# Our usage of mock should be limited to '@mock.patch()'
# and other things that are easily...mocked...here on Python 2
# when mock is not installed.
try:
from unittest import mock
except ImportError: # Python 2
try:
import mock
except ImportError: # pragma: no cover
# Backport not installed
class mock(object):
@staticmethod
def patch(reason):
return unittest.skip(reason)
mock = mock
# zope.interface
try:
from zope.interface import verify
except ImportError:
class verify(object):
@staticmethod
def verifyObject(*_):
import warnings
warnings.warn("zope.interface is not installed; not verifying")
return
verify = verify
| [
"[email protected]"
] | |
47aa60b97ad0cba1736c9940c0c86d678d43b95d | 3784495ba55d26e22302a803861c4ba197fd82c7 | /venv/lib/python3.6/site-packages/networkx/algorithms/centrality/betweenness_subset.py | 3019240aceb4c4b91cdb713ea4e3d3e8b2881440 | [
"MIT"
] | permissive | databill86/HyperFoods | cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789 | 9267937c8c70fd84017c0f153c241d2686a356dd | refs/heads/master | 2021-01-06T17:08:48.736498 | 2020-02-11T05:02:18 | 2020-02-11T05:02:18 | 241,407,659 | 3 | 0 | MIT | 2020-02-18T16:15:48 | 2020-02-18T16:15:47 | null | UTF-8 | Python | false | false | 9,608 | py | # Copyright (C) 2004-2019 by
# Aric Hagberg <[email protected]>
# Dan Schult <[email protected]>
# Pieter Swart <[email protected]>
# All rights reserved.
# BSD license.
#
# Author: Aric Hagberg ([email protected])
"""Betweenness centrality measures for subsets of nodes."""
import networkx as nx
from networkx.algorithms.centrality.betweenness import\
_single_source_dijkstra_path_basic as dijkstra
from networkx.algorithms.centrality.betweenness import\
_single_source_shortest_path_basic as shortest_path
__all__ = ['betweenness_centrality_subset', 'betweenness_centrality_source',
'edge_betweenness_centrality_subset']
def betweenness_centrality_subset(G, sources, targets, normalized=False,
weight=None):
r"""Compute betweenness centrality for a subset of nodes.
.. math::
c_B(v) =\sum_{s\in S, t \in T} \frac{\sigma(s, t|v)}{\sigma(s, t)}
where $S$ is the set of sources, $T$ is the set of targets,
$\sigma(s, t)$ is the number of shortest $(s, t)$-paths,
and $\sigma(s, t|v)$ is the number of those paths
passing through some node $v$ other than $s, t$.
If $s = t$, $\sigma(s, t) = 1$,
and if $v \in {s, t}$, $\sigma(s, t|v) = 0$ [2]_.
Parameters
----------
G : graph
A NetworkX graph.
sources: list of nodes
Nodes to use as sources for shortest paths in betweenness
targets: list of nodes
Nodes to use as targets for shortest paths in betweenness
normalized : bool, optional
If True the betweenness values are normalized by $2/((n-1)(n-2))$
for graphs, and $1/((n-1)(n-2))$ for directed graphs where $n$
is the number of nodes in G.
weight : None or string, optional (default=None)
If None, all edge weights are considered equal.
Otherwise holds the name of the edge attribute used as weight.
Returns
-------
nodes : dictionary
Dictionary of nodes with betweenness centrality as the value.
See Also
--------
edge_betweenness_centrality
load_centrality
Notes
-----
The basic algorithm is from [1]_.
For weighted graphs the edge weights must be greater than zero.
Zero edge weights can produce an infinite number of equal length
paths between pairs of nodes.
The normalization might seem a little strange but it is
designed to make betweenness_centrality(G) be the same as
betweenness_centrality_subset(G,sources=G.nodes(),targets=G.nodes()).
The total number of paths between source and target is counted
differently for directed and undirected graphs. Directed paths
are easy to count. Undirected paths are tricky: should a path
from "u" to "v" count as 1 undirected path or as 2 directed paths?
For betweenness_centrality we report the number of undirected
paths when G is undirected.
For betweenness_centrality_subset the reporting is different.
If the source and target subsets are the same, then we want
to count undirected paths. But if the source and target subsets
differ -- for example, if sources is {0} and targets is {1},
then we are only counting the paths in one direction. They are
undirected paths but we are counting them in a directed way.
To count them as undirected paths, each should count as half a path.
References
----------
.. [1] Ulrik Brandes, A Faster Algorithm for Betweenness Centrality.
Journal of Mathematical Sociology 25(2):163-177, 2001.
http://www.inf.uni-konstanz.de/algo/publications/b-fabc-01.pdf
.. [2] Ulrik Brandes: On Variants of Shortest-Path Betweenness
Centrality and their Generic Computation.
Social Networks 30(2):136-145, 2008.
http://www.inf.uni-konstanz.de/algo/publications/b-vspbc-08.pdf
"""
b = dict.fromkeys(G, 0.0) # b[v]=0 for v in G
for s in sources:
# single source shortest paths
if weight is None: # use BFS
S, P, sigma = shortest_path(G, s)
else: # use Dijkstra's algorithm
S, P, sigma = dijkstra(G, s, weight)
b = _accumulate_subset(b, S, P, sigma, s, targets)
b = _rescale(b, len(G), normalized=normalized, directed=G.is_directed())
return b
def edge_betweenness_centrality_subset(G, sources, targets, normalized=False,
weight=None):
r"""Compute betweenness centrality for edges for a subset of nodes.
.. math::
c_B(v) =\sum_{s\in S,t \in T} \frac{\sigma(s, t|e)}{\sigma(s, t)}
where $S$ is the set of sources, $T$ is the set of targets,
$\sigma(s, t)$ is the number of shortest $(s, t)$-paths,
and $\sigma(s, t|e)$ is the number of those paths
passing through edge $e$ [2]_.
Parameters
----------
G : graph
A networkx graph.
sources: list of nodes
Nodes to use as sources for shortest paths in betweenness
targets: list of nodes
Nodes to use as targets for shortest paths in betweenness
normalized : bool, optional
If True the betweenness values are normalized by `2/(n(n-1))`
for graphs, and `1/(n(n-1))` for directed graphs where `n`
is the number of nodes in G.
weight : None or string, optional (default=None)
If None, all edge weights are considered equal.
Otherwise holds the name of the edge attribute used as weight.
Returns
-------
edges : dictionary
Dictionary of edges with Betweenness centrality as the value.
See Also
--------
betweenness_centrality
edge_load
Notes
-----
The basic algorithm is from [1]_.
For weighted graphs the edge weights must be greater than zero.
Zero edge weights can produce an infinite number of equal length
paths between pairs of nodes.
The normalization might seem a little strange but it is the same
as in edge_betweenness_centrality() and is designed to make
edge_betweenness_centrality(G) be the same as
edge_betweenness_centrality_subset(G,sources=G.nodes(),targets=G.nodes()).
References
----------
.. [1] Ulrik Brandes, A Faster Algorithm for Betweenness Centrality.
Journal of Mathematical Sociology 25(2):163-177, 2001.
http://www.inf.uni-konstanz.de/algo/publications/b-fabc-01.pdf
.. [2] Ulrik Brandes: On Variants of Shortest-Path Betweenness
Centrality and their Generic Computation.
Social Networks 30(2):136-145, 2008.
http://www.inf.uni-konstanz.de/algo/publications/b-vspbc-08.pdf
"""
b = dict.fromkeys(G, 0.0) # b[v]=0 for v in G
b.update(dict.fromkeys(G.edges(), 0.0)) # b[e] for e in G.edges()
for s in sources:
# single source shortest paths
if weight is None: # use BFS
S, P, sigma = shortest_path(G, s)
else: # use Dijkstra's algorithm
S, P, sigma = dijkstra(G, s, weight)
b = _accumulate_edges_subset(b, S, P, sigma, s, targets)
for n in G: # remove nodes to only return edges
del b[n]
b = _rescale_e(b, len(G), normalized=normalized, directed=G.is_directed())
return b
# obsolete name
def betweenness_centrality_source(G, normalized=True, weight=None,
sources=None):
if sources is None:
sources = G.nodes()
targets = list(G)
return betweenness_centrality_subset(G, sources, targets, normalized,
weight)
def _accumulate_subset(betweenness, S, P, sigma, s, targets):
delta = dict.fromkeys(S, 0.0)
target_set = set(targets) - {s}
while S:
w = S.pop()
if w in target_set:
coeff = (delta[w] + 1.0) / sigma[w]
else:
coeff = delta[w] / sigma[w]
for v in P[w]:
delta[v] += sigma[v] * coeff
if w != s:
betweenness[w] += delta[w]
return betweenness
def _accumulate_edges_subset(betweenness, S, P, sigma, s, targets):
"""edge_betweenness_centrality_subset helper."""
delta = dict.fromkeys(S, 0)
target_set = set(targets)
while S:
w = S.pop()
for v in P[w]:
if w in target_set:
c = (sigma[v] / sigma[w]) * (1.0 + delta[w])
else:
c = delta[w] / len(P[w])
if (v, w) not in betweenness:
betweenness[(w, v)] += c
else:
betweenness[(v, w)] += c
delta[v] += c
if w != s:
betweenness[w] += delta[w]
return betweenness
def _rescale(betweenness, n, normalized, directed=False):
"""betweenness_centrality_subset helper."""
if normalized:
if n <= 2:
scale = None # no normalization b=0 for all nodes
else:
scale = 1.0 / ((n - 1) * (n - 2))
else: # rescale by 2 for undirected graphs
if not directed:
scale = 0.5
else:
scale = None
if scale is not None:
for v in betweenness:
betweenness[v] *= scale
return betweenness
def _rescale_e(betweenness, n, normalized, directed=False):
"""edge_betweenness_centrality_subset helper."""
if normalized:
if n <= 1:
scale = None # no normalization b=0 for all nodes
else:
scale = 1.0 / (n * (n - 1))
else: # rescale by 2 for undirected graphs
if not directed:
scale = 0.5
else:
scale = None
if scale is not None:
for v in betweenness:
betweenness[v] *= scale
return betweenness
| [
"[email protected]"
] | |
9921d3365e871fe5795b68e176ff4fa124e9586a | f6290b7b8ffb263b7f0d252a67e2c6320a4c1143 | /Array/element_with_leftSmaller_rightGreater.py | c79aa40176f43b75abb61162f592c37ce7d7de69 | [] | no_license | datAnir/GeekForGeeks-Problems | b45b0ae80053da8a1b47a2af06e688081574ef80 | c71f11d0349ed3850dfaa9c7a078ee70f67e46a1 | refs/heads/master | 2023-05-29T15:21:59.680793 | 2020-12-15T04:55:01 | 2020-12-15T04:55:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,467 | py | '''
https://practice.geeksforgeeks.org/problems/unsorted-array/0
Given an unsorted array of size N. Find the first element in array such that all of its left elements are smaller and all right elements to it are greater than it.
Note: Left and right side elements can be equal to required element. And extreme elements cannot be required element.
Input:
3
4
4 2 5 7
3
11 9 12
6
4 3 2 7 8 9
Output:
5
-1
7
'''
# method - 1
# create left max array and right min storing max/min value before/after current position
# at current position, check (arr[i] >= left_max) and (arr[i] <= right_min)
def getElement(arr, n):
right_min = [float('inf')]*n
for i in range(n-2, -1, -1):
right_min[i] = min(right_min[i+1], arr[i+1])
left_max = float('-inf')
for i in range(1, n-1):
left_max = max(left_max, arr[i-1])
if (arr[i] >= left_max) and (arr[i] <= right_min[i]):
return arr[i]
return -1
# method - 2
def getElement(arr, n):
if n <= 2:
return -1
max_val = arr[0] # left maximum value
element = arr[0] # potential value
idx = -1 # index of potential value
bit = -1 # check whether element is from if condition or else
#check = 0
i = 1
while i < (n-1):
# if current element is less so it is not potential value
if arr[i] < max_val and i < (n-1):
i += 1
bit = 0
else:
# it is potential value
if arr[i] >= max_val:
element = arr[i]
idx = i
max_val = arr[i]
#check = 1
#if check == 1:
i += 1
# update bit state that we found potential value
bit = 1
# process all elements after current element as they are greater
while i < (n-1) and arr[i] >= element:
if arr[i] > max_val:
max_val = arr[i]
i += 1
#check = 0
# it checks element is not from extreme ends and element is not updated after else condition
if element <= arr[n-1] and bit == 1:
return arr[idx]
else:
return -1
t = int(input())
while t:
n = int(input())
arr = list(map(int, input().split()))
ans = getElement(arr, n)
print(ans)
t -= 1 | [
"[email protected]"
] | |
359ae6f1a016aebd6256a4ea3a9b760efbd8ee4a | 0487c30d3d2a26ee62eb9e82c1b1e6edb7cb8b36 | /tests/platform_tests/link_flap/test_link_flap.py | 97062bc66dc6231cbc6a5ba3a328b1db92594d5b | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | gord1306/sonic-mgmt | e4047cbcdb600591816215e765c7f30664cc4543 | 05094321ed58270ac06d1a0ef575a4ab9ea3ddd6 | refs/heads/master | 2022-12-17T08:05:58.944208 | 2022-06-06T02:34:48 | 2022-06-06T02:34:48 | 195,778,851 | 1 | 0 | NOASSERTION | 2019-07-08T09:21:07 | 2019-07-08T09:21:07 | null | UTF-8 | Python | false | false | 4,285 | py | """
Tests the link flap in SONiC.
"""
import logging
import pytest
import random
from tests.platform_tests.link_flap.link_flap_utils import toggle_one_link, check_orch_cpu_utilization
from tests.common.platform.device_utils import fanout_switch_port_lookup
from tests.common.helpers.assertions import pytest_assert
from tests.common.utilities import wait_until
logger = logging.getLogger(__name__)
pytestmark = [
pytest.mark.disable_loganalyzer,
pytest.mark.topology('any'),
]
def get_port_list(duthost, tbinfo):
mg_facts = duthost.get_extended_minigraph_facts(tbinfo)
return mg_facts["minigraph_ports"].keys()
@pytest.mark.usefixtures("bgp_sessions_config")
@pytest.mark.platform('physical')
def test_link_flap(request, duthosts, rand_one_dut_hostname, tbinfo, fanouthosts, get_loop_times):
"""
Validates that link flap works as expected
"""
duthost = duthosts[rand_one_dut_hostname]
orch_cpu_threshold = request.config.getoption("--orch_cpu_threshold")
# Record memory status at start
memory_output = duthost.shell("show system-memory")["stdout"]
logger.info("Memory Status at start: %s", memory_output)
# Record Redis Memory at start
start_time_redis_memory = duthost.shell("redis-cli info memory | grep used_memory_human | sed -e 's/.*:\(.*\)M/\\1/'")["stdout"]
logger.info("Redis Memory: %s M", start_time_redis_memory)
# Make Sure Orch CPU < orch_cpu_threshold before starting test.
logger.info("Make Sure orchagent CPU utilization is less that %d before link flap", orch_cpu_threshold)
pytest_assert(wait_until(100, 2, 0, check_orch_cpu_utilization, duthost, orch_cpu_threshold),
"Orch CPU utilization {} > orch cpu threshold {} before link flap"
.format(duthost.shell("show processes cpu | grep orchagent | awk '{print $9}'")["stdout"], orch_cpu_threshold))
loop_times = get_loop_times
port_lists = get_port_list(duthost, tbinfo)
candidates = []
for port in port_lists:
fanout, fanout_port = fanout_switch_port_lookup(fanouthosts, duthost.hostname, port)
candidates.append((port, fanout, fanout_port))
for loop_time in range(0, loop_times):
watch = False
check_status = False
if loop_time == 0 or loop_time == loop_times - 1:
watch = True
check_status = True
for dut_port, fanout, fanout_port in candidates:
toggle_one_link(duthost, dut_port, fanout, fanout_port, watch=watch, check_status=check_status)
# Record memory status at end
memory_output = duthost.shell("show system-memory")["stdout"]
logger.info("Memory Status at end: %s", memory_output)
# Record orchagent CPU utilization at end
orch_cpu = duthost.shell("show processes cpu | grep orchagent | awk '{print $9}'")["stdout"]
logger.info("Orchagent CPU Util at end: %s", orch_cpu)
# Record Redis Memory at end
end_time_redis_memory = duthost.shell("redis-cli info memory | grep used_memory_human | sed -e 's/.*:\(.*\)M/\\1/'")["stdout"]
logger.info("Redis Memory at start: %s M", start_time_redis_memory)
logger.info("Redis Memory at end: %s M", end_time_redis_memory)
# Calculate diff in Redis memory
incr_redis_memory = float(end_time_redis_memory) - float(start_time_redis_memory)
logger.info("Redis absolute difference: %d", incr_redis_memory)
# Check redis memory only if it is increased else default to pass
if incr_redis_memory > 0.0:
percent_incr_redis_memory = (incr_redis_memory / float(start_time_redis_memory)) * 100
logger.info("Redis Memory percentage Increase: %d", percent_incr_redis_memory)
pytest_assert(percent_incr_redis_memory < 5, "Redis Memory Increase more than expected: {}".format(percent_incr_redis_memory))
# Orchagent CPU should consume < orch_cpu_threshold at last.
logger.info("watch orchagent CPU utilization when it goes below %d", orch_cpu_threshold)
pytest_assert(wait_until(45, 2, 0, check_orch_cpu_utilization, duthost, orch_cpu_threshold),
"Orch CPU utilization {} > orch cpu threshold {} before link flap"
.format(duthost.shell("show processes cpu | grep orchagent | awk '{print $9}'")["stdout"], orch_cpu_threshold))
| [
"[email protected]"
] | |
dd847827652454aacee8c0f58a0ef8bcb3aff680 | a8be4698c0a43edc3622837fbe2a98e92680f48a | /SSAFY알고리즘정규시간 Problem Solving/10월 Problem Solving/1002/1808지희의고장난계산기.py | bfc9012338cbb27387fc9f786b5ac10ed2465b92 | [] | no_license | blueboy1593/algorithm | fa8064241f7738a12b33544413c299e7c1e1a908 | 9d6fdd82b711ba16ad613edcc041cbecadd85e2d | refs/heads/master | 2021-06-23T22:44:06.120932 | 2021-02-21T10:44:16 | 2021-02-21T10:44:16 | 199,543,744 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,573 | py | import sys
sys.stdin = open("1808_input.txt", "r")
T = int(input())
def make_number(num, cnt):
cnt += 1
num_save = num
for su in cal_num:
num = 10*num_save + su
if num <= goal:
if DP_list[num] != 0:
return
DP_list[num] = cnt
number.append([num, cnt])
make_number(num, cnt)
else:
return
for tc in range(1, T + 1):
calculator = list(map(int, input().split()))
cal_num = list()
for i in range(10):
if calculator[i] == 1:
cal_num.append(i)
goal = int(input())
DP_list = [0] * (goal + 1)
number = []
for su in cal_num:
cnt = 1
number.append([su, cnt])
if su <= goal:
DP_list[su] = 1
make_number(su, cnt)
number.sort()
def jaegui(i):
for num in number:
new_num = i * num[0]
if new_num > goal:
return
else:
new_cnt = DP_list[i] + num[1] + 1
if DP_list[new_num] != 0:
if new_cnt < DP_list[new_num]:
DP_list[new_num] = new_cnt
jaegui(new_num)
else:
DP_list[new_num] = new_cnt
jaegui(new_num)
for i in range(len(DP_list)):
if DP_list[i] != 0:
jaegui(i)
result = DP_list[-1] + 1
if result == 1:
result = -1
print("#%d %d" %(tc,result))
| [
"[email protected]"
] | |
a9044163b39517dbd4e6826c4d078add77814b43 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /st8HBr2HMup6mD6z5_23.py | 7dc5cc308716352eb521d10d82a066b06e56d350 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 118 | py |
def profit_margin(cost_price, sales_price):
return "{:00.1f}%".format((sales_price - cost_price)/sales_price*100)
| [
"[email protected]"
] | |
f373373fa28c72bb281a07d685aaab9ccc377505 | 52a7b1bb65c7044138cdcbd14f9d1e8f04e52c8a | /users/migrations/0002_auto_20210502_1502.py | 32752b25b8d547043fe70bc289f7cf3142d2620f | [] | no_license | rds0751/aboota | 74f8ab6d0cf69dcb65b0f805a516c5f94eb8eb35 | 2bde69c575d3ea9928373085b7fc5e5b02908374 | refs/heads/master | 2023-05-03T00:54:36.421952 | 2021-05-22T15:40:48 | 2021-05-22T15:40:48 | 363,398,229 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 373 | py | # Generated by Django 2.2.13 on 2021-05-02 15:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='user',
name='mobile',
field=models.CharField(max_length=255),
),
]
| [
"[email protected]"
] | |
99a3aefd5bdd482ec28d142fc733942e1d628904 | 0ae2bb21d7ca71a691e33cb044a0964d380adda2 | /uber/uber_algo/LC10RegularExpressionMatching2.py | 5205e9dc7e8b16a2a360ee64bef12bb586e857a0 | [] | no_license | xwang322/Coding-Interview | 5d27ec92d6fcbb7b929dd98bb07c968c1e1b2a04 | ee5beb79038675ce73c6d147ba9249d9a5ca346a | refs/heads/master | 2020-03-10T08:18:34.980557 | 2018-06-24T03:37:12 | 2018-06-24T03:37:12 | 129,282,263 | 2 | 6 | null | 2018-04-19T19:31:24 | 2018-04-12T16:41:28 | Python | UTF-8 | Python | false | false | 1,904 | py | /*
* 今天上午刚面的,上来简历聊了5分钟,题就一题 李扣的 第石题,字符匹配。做之前和烙印面试官讨论了一下,做的比较顺利,但是写完代码后
* 因为是dp所以烙印完全不懂,我每行都逐一解释了解释了10分钟最后他表示懂了,所有的test case都是过了,
* 他最后结束的时候说出来他想要的答案其实是recursion。刚收到hr邮件说烙印说技术没问题,但是交流很有问题,要求第二个电话面试重点看交流。这就是烙印啊,什么都挑不到刺的时候就拿交流做文章。第二轮如果还是印度人估计结果也一样,dp这种东西如果对方完全不懂电话里不容易解释的。感觉现在的面试因素非常多,真的是不容易啊
**/
class Solution(object):
def isMatch(self, s, p):
dp = [[False for i in range(len(s)+1)] for j in range(len(p)+1)]
dp[0][0] = True
for i in range(len(p)):
if p[i] == '*':
if i == 0:
dp[i][0] = True
elif dp[i-1][0]:
dp[i+1][0] = True
for i in range(len(p)):
for j in range(len(s)):
if p[i] == s[j]:
dp[i+1][j+1] = dp[i][j]
elif p[i] == '.':
dp[i+1][j+1] = dp[i][j]
elif p[i] == '*':
if p[i-1] != '.' and p[i-1] != s[j]:
dp[i+1][j+1] = dp[i-1][j+1]
else:
dp[i+1][j+1] = dp[i-1][j+1] or dp[i][j+1] or dp[i+1][j]
# dp[i+1][j] is for the case '.*' the '*' is for more of '.'
# dp[i][j+1] is for the case p[i-1] == s[j]
# dp[i+1][j] is for the case '.*' the '*' is for zero of '.'
return dp[-1][-1]
| [
"[email protected]"
] | |
1a756ce91f5c6230811163082385e3e480af2e06 | a4a754bb5d2b92707c5b0a7a669246079ab73633 | /8_kyu/what_is.py | 1e8e194499803d2fcee8f36249e2f828d1625f87 | [] | no_license | halfendt/Codewars | f6e0d81d9b10eb5bc66615eeae082adb093c09b3 | 8fe4ce76824beece0168eb39776a2f9e078f0785 | refs/heads/master | 2023-07-11T13:58:18.069265 | 2021-08-15T18:40:49 | 2021-08-15T18:40:49 | 259,995,259 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 263 | py | def what_is(x):
"""
How do I compare numbers? Kata
https://www.codewars.com/kata/55d8618adfda93c89600012e
"""
if x == 42:
return 'everything'
elif x == 42 * 42:
return 'everything squared'
else:
return 'nothing' | [
"[email protected]"
] | |
f6734e044aee84efb95c26ed091e0a9e9d69b96e | 3d19e1a316de4d6d96471c64332fff7acfaf1308 | /Users/E/Emil/spacescrape.py | aaafcbe2711f3b1f8244f0d8fd4b747f8c29653a | [] | no_license | BerilBBJ/scraperwiki-scraper-vault | 4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc | 65ea6a943cc348a9caf3782b900b36446f7e137d | refs/heads/master | 2021-12-02T23:55:58.481210 | 2013-09-30T17:02:59 | 2013-09-30T17:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,526 | py | #Cant seem to figure out what im doing wrong build this scraper off of Zarino Zappia hyperisland student scraper "https://scraperwiki.com/scrapers/hyper_island_student_profiles/"
#
#
import scraperwiki
import requests
import lxml.html
def scrape_ads():
for i in range(1,10):
r = requests.get('http://airbnb.herokuapp.com/s/Stockholm--Sweden?page=%s' % i) #doubelcheck %s
if r.status_code==200: #what does this mean?
dom = lxml.html.fromstring(r.text)
targetList = dom.cssselect('.search_result')
if len(targetList):
# Great! This page contains people to scrape.
ads = [] #changed from people = []
for results in targetList: #Hey Daniel suspect the problem is somewhere in this loop.
ad = {
'name': get_element_or_none(results, 'a.name'),
'price': get_element_or_none(results, '.price_data'),
'url': get_element_or_none(results, 'a.name', 'href')
}
print ad['name']
# add this person to the list
ads.append(ad)
# we've done all the people on this page… let's save.
print 'saving page %s' % i
scraperwiki.sqlite.save(['url'], ads)
else:
break
# A handy function to get text or attributes out of HTML elements
def get_element_or_none(context, css, attribute=None):
try:
element = context.cssselect(css)[0]
except:
return None
else:
if attribute:
return element.get(attribute)
else:
return element.text_content()
scrape_ads()
#Cant seem to figure out what im doing wrong build this scraper off of Zarino Zappia hyperisland student scraper "https://scraperwiki.com/scrapers/hyper_island_student_profiles/"
#
#
import scraperwiki
import requests
import lxml.html
def scrape_ads():
for i in range(1,10):
r = requests.get('http://airbnb.herokuapp.com/s/Stockholm--Sweden?page=%s' % i) #doubelcheck %s
if r.status_code==200: #what does this mean?
dom = lxml.html.fromstring(r.text)
targetList = dom.cssselect('.search_result')
if len(targetList):
# Great! This page contains people to scrape.
ads = [] #changed from people = []
for results in targetList: #Hey Daniel suspect the problem is somewhere in this loop.
ad = {
'name': get_element_or_none(results, 'a.name'),
'price': get_element_or_none(results, '.price_data'),
'url': get_element_or_none(results, 'a.name', 'href')
}
print ad['name']
# add this person to the list
ads.append(ad)
# we've done all the people on this page… let's save.
print 'saving page %s' % i
scraperwiki.sqlite.save(['url'], ads)
else:
break
# A handy function to get text or attributes out of HTML elements
def get_element_or_none(context, css, attribute=None):
try:
element = context.cssselect(css)[0]
except:
return None
else:
if attribute:
return element.get(attribute)
else:
return element.text_content()
scrape_ads()
| [
"[email protected]"
] | |
d8df5fdc4ab28682df8c64911a380763eb8c27e3 | 2656f92d8329bc1b28188802badc7b3a945fa978 | /src/platform/coldfusion/fingerprints/CF61.py | 45110b4ed05f857c1ab3ddeced6bc60964d73df5 | [
"MIT"
] | permissive | koutto/clusterd | 81828698574bc7301cd4eb0ad87d3115ddf74612 | 93db0a50210dcc6147c3122a539104a36e92f02b | refs/heads/master | 2020-05-03T17:51:55.430955 | 2019-03-31T23:20:22 | 2019-03-31T23:20:22 | 178,751,876 | 2 | 1 | MIT | 2019-03-31T23:04:14 | 2019-03-31T23:04:13 | null | UTF-8 | Python | false | false | 187 | py | from src.platform.coldfusion.interfaces import AdminInterface
class FPrint(AdminInterface):
def __init__(self):
super(FPrint, self).__init__()
self.version = "6.1"
| [
"[email protected]"
] | |
0f68587322ac1bab9e49397d3202590939a5c33a | b54cd22730d4f79c88a89236cd00ccbb54de5a84 | /pyscf/pbc/scf/khf.py | 5207d6eb784d8a9b5a88f7ab4f6204903537080f | [
"Apache-2.0"
] | permissive | y-yao/pyscf_arrow | 1b0643a5a1d55ad7f3cc1d562363daab6710325d | 079088a5d92af1570167004f411207deb104a1bb | refs/heads/master | 2020-03-27T17:03:27.130746 | 2019-07-25T18:41:22 | 2019-07-25T18:41:22 | 146,826,265 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24,260 | py | #!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. All Rights Reserved.
#
# 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.
#
# Authors: Garnet Chan <[email protected]>
# Timothy Berkelbach <[email protected]>
# Qiming Sun <[email protected]>
#
'''
Hartree-Fock for periodic systems with k-point sampling
See Also:
hf.py : Hartree-Fock for periodic systems at a single k-point
'''
import sys
import time
from functools import reduce
import numpy as np
import scipy.linalg
import h5py
from pyscf.pbc.scf import hf as pbchf
from pyscf import lib
from pyscf.scf import hf
from pyscf.lib import logger
from pyscf.pbc.gto import ecp
from pyscf.pbc.scf import addons
from pyscf.pbc.scf import chkfile
from pyscf.pbc import tools
from pyscf.pbc import df
from pyscf import __config__
WITH_META_LOWDIN = getattr(__config__, 'pbc_scf_analyze_with_meta_lowdin', True)
PRE_ORTH_METHOD = getattr(__config__, 'pbc_scf_analyze_pre_orth_method', 'ANO')
CHECK_COULOMB_IMAG = getattr(__config__, 'pbc_scf_check_coulomb_imag', True)
def get_ovlp(mf, cell=None, kpts=None):
'''Get the overlap AO matrices at sampled k-points.
Args:
kpts : (nkpts, 3) ndarray
Returns:
ovlp_kpts : (nkpts, nao, nao) ndarray
'''
if cell is None: cell = mf.cell
if kpts is None: kpts = mf.kpts
# Avoid pbcopt's prescreening in the lattice sum, for better accuracy
s = cell.pbc_intor('int1e_ovlp', hermi=1, kpts=kpts,
pbcopt=lib.c_null_ptr())
cond = np.max(lib.cond(s))
if cond * cell.precision > 1e2:
prec = 1e2 / cond
rmin = max([cell.bas_rcut(ib, prec) for ib in range(cell.nbas)])
if cell.rcut < rmin:
logger.warn(cell, 'Singularity detected in overlap matrix. '
'Integral accuracy may be not enough.\n '
'You can adjust cell.precision or cell.rcut to '
'improve accuracy. Recommended values are\n '
'cell.precision = %.2g or smaller.\n '
'cell.rcut = %.4g or larger.', prec, rmin)
return lib.asarray(s)
def get_hcore(mf, cell=None, kpts=None):
'''Get the core Hamiltonian AO matrices at sampled k-points.
Args:
kpts : (nkpts, 3) ndarray
Returns:
hcore : (nkpts, nao, nao) ndarray
'''
if cell is None: cell = mf.cell
if kpts is None: kpts = mf.kpts
return lib.asarray([pbchf.get_hcore(cell, k) for k in kpts])
def get_j(mf, cell, dm_kpts, kpts, kpts_band=None):
'''Get the Coulomb (J) AO matrix at sampled k-points.
Args:
dm_kpts : (nkpts, nao, nao) ndarray or a list of (nkpts,nao,nao) ndarray
Density matrix at each k-point. If a list of k-point DMs, eg,
UHF alpha and beta DM, the alpha and beta DMs are contracted
separately.
Kwargs:
kpts_band : (k,3) ndarray
A list of arbitrary "band" k-points at which to evalute the matrix.
Returns:
vj : (nkpts, nao, nao) ndarray
or list of vj if the input dm_kpts is a list of DMs
'''
return df.FFTDF(cell).get_jk(dm_kpts, kpts, kpts_band, with_k=False)[0]
def get_jk(mf, cell, dm_kpts, kpts, kpts_band=None):
'''Get the Coulomb (J) and exchange (K) AO matrices at sampled k-points.
Args:
dm_kpts : (nkpts, nao, nao) ndarray
Density matrix at each k-point
Kwargs:
kpts_band : (3,) ndarray
A list of arbitrary "band" k-point at which to evalute the matrix.
Returns:
vj : (nkpts, nao, nao) ndarray
vk : (nkpts, nao, nao) ndarray
or list of vj and vk if the input dm_kpts is a list of DMs
'''
return df.FFTDF(cell).get_jk(dm_kpts, kpts, kpts_band, exxdiv=mf.exxdiv)
def get_fock(mf, h1e=None, s1e=None, vhf=None, dm=None, cycle=-1, diis=None,
diis_start_cycle=None, level_shift_factor=None, damp_factor=None):
h1e_kpts, s_kpts, vhf_kpts, dm_kpts = h1e, s1e, vhf, dm
if h1e_kpts is None: h1e_kpts = mf.get_hcore()
if vhf_kpts is None: vhf_kpts = mf.get_veff(mf.cell, dm_kpts)
f_kpts = h1e_kpts + vhf_kpts
if cycle < 0 and diis is None: # Not inside the SCF iteration
return f_kpts
if diis_start_cycle is None:
diis_start_cycle = mf.diis_start_cycle
if level_shift_factor is None:
level_shift_factor = mf.level_shift
if damp_factor is None:
damp_factor = mf.damp
if s_kpts is None: s_kpts = mf.get_ovlp()
if dm_kpts is None: dm_kpts = mf.make_rdm1()
if diis and cycle >= diis_start_cycle:
f_kpts = diis.update(s_kpts, dm_kpts, f_kpts, mf, h1e_kpts, vhf_kpts)
if abs(level_shift_factor) > 1e-4:
f_kpts = [hf.level_shift(s, dm_kpts[k], f_kpts[k], level_shift_factor)
for k, s in enumerate(s_kpts)]
return lib.asarray(f_kpts)
def get_fermi(mf, mo_energy_kpts=None, mo_occ_kpts=None):
'''Fermi level
'''
if mo_energy_kpts is None: mo_energy_kpts = mf.mo_energy
if mo_occ_kpts is None: mo_occ_kpts = mf.mo_occ
nocc = np.count_nonzero(mo_occ_kpts != 0)
fermi = np.sort(mo_energy_kpts.ravel())[nocc-1]
return fermi
def get_occ(mf, mo_energy_kpts=None, mo_coeff_kpts=None):
'''Label the occupancies for each orbital for sampled k-points.
This is a k-point version of scf.hf.SCF.get_occ
'''
if mo_energy_kpts is None: mo_energy_kpts = mf.mo_energy
nkpts = len(mo_energy_kpts)
nocc = (mf.cell.nelectron * nkpts) // 2
mo_energy = np.sort(np.hstack(mo_energy_kpts))
fermi = mo_energy[nocc-1]
mo_occ_kpts = []
for mo_e in mo_energy_kpts:
mo_occ_kpts.append((mo_e <= fermi).astype(np.double) * 2)
if nocc < mo_energy.size:
logger.info(mf, 'HOMO = %.12g LUMO = %.12g',
mo_energy[nocc-1], mo_energy[nocc])
if mo_energy[nocc-1]+1e-3 > mo_energy[nocc]:
logger.warn(mf, 'HOMO %.12g == LUMO %.12g',
mo_energy[nocc-1], mo_energy[nocc])
else:
logger.info(mf, 'HOMO = %.12g', mo_energy[nocc-1])
if mf.verbose >= logger.DEBUG:
np.set_printoptions(threshold=len(mo_energy))
logger.debug(mf, ' k-point mo_energy')
for k,kpt in enumerate(mf.cell.get_scaled_kpts(mf.kpts)):
logger.debug(mf, ' %2d (%6.3f %6.3f %6.3f) %s %s',
k, kpt[0], kpt[1], kpt[2],
mo_energy_kpts[k][mo_occ_kpts[k]> 0],
mo_energy_kpts[k][mo_occ_kpts[k]==0])
np.set_printoptions(threshold=1000)
return mo_occ_kpts
def get_grad(mo_coeff_kpts, mo_occ_kpts, fock):
'''
returns 1D array of gradients, like non K-pt version
note that occ and virt indices of different k pts now occur
in sequential patches of the 1D array
'''
nkpts = len(mo_occ_kpts)
grad_kpts = [hf.get_grad(mo_coeff_kpts[k], mo_occ_kpts[k], fock[k])
for k in range(nkpts)]
return np.hstack(grad_kpts)
def make_rdm1(mo_coeff_kpts, mo_occ_kpts):
'''One particle density matrices for all k-points.
Returns:
dm_kpts : (nkpts, nao, nao) ndarray
'''
nkpts = len(mo_occ_kpts)
dm_kpts = [hf.make_rdm1(mo_coeff_kpts[k], mo_occ_kpts[k])
for k in range(nkpts)]
return lib.asarray(dm_kpts)
def energy_elec(mf, dm_kpts=None, h1e_kpts=None, vhf_kpts=None):
'''Following pyscf.scf.hf.energy_elec()
'''
if dm_kpts is None: dm_kpts = mf.make_rdm1()
if h1e_kpts is None: h1e_kpts = mf.get_hcore()
if vhf_kpts is None: vhf_kpts = mf.get_veff(mf.cell, dm_kpts)
nkpts = len(dm_kpts)
e1 = 1./nkpts * np.einsum('kij,kji', dm_kpts, h1e_kpts)
e_coul = 1./nkpts * np.einsum('kij,kji', dm_kpts, vhf_kpts) * 0.5
logger.debug(mf, 'E1 = %s E_coul = %s', e1, e_coul)
if CHECK_COULOMB_IMAG and abs(e_coul.imag > mf.cell.precision*10):
logger.warn(mf, "Coulomb energy has imaginary part %s. "
"Coulomb integrals (e-e, e-N) may not converge !",
e_coul.imag)
return (e1+e_coul).real, e_coul.real
def analyze(mf, verbose=logger.DEBUG, with_meta_lowdin=WITH_META_LOWDIN,
**kwargs):
'''Analyze the given SCF object: print orbital energies, occupancies;
print orbital coefficients; Mulliken population analysis; Dipole moment
'''
from pyscf.lo import orth
from pyscf.tools import dump_mat
mo_occ = mf.mo_occ
mo_coeff = mf.mo_coeff
ovlp_ao = mf.get_ovlp()
dm = mf.make_rdm1(mo_coeff, mo_occ)
if with_meta_lowdin:
return mf.mulliken_meta(mf.cell, dm, s=ovlp_ao, verbose=verbose)
else:
raise NotImplementedError
#return mf.mulliken_pop(mf.cell, dm, s=ovlp_ao, verbose=verbose)
def mulliken_meta(cell, dm_ao_kpts, verbose=logger.DEBUG,
pre_orth_method=PRE_ORTH_METHOD, s=None):
'''Mulliken population analysis, based on meta-Lowdin AOs.
Note this function only computes the Mulliken population for the gamma
point density matrix.
'''
from pyscf.lo import orth
if s is None:
s = get_ovlp(cell)
log = logger.new_logger(cell, verbose)
log.note('Analyze output for the gamma point')
log.note("KRHF mulliken_meta")
dm_ao_gamma = dm_ao_kpts[0,:,:].real
s_gamma = s[0,:,:].real
c = orth.restore_ao_character(cell, pre_orth_method)
orth_coeff = orth.orth_ao(cell, 'meta_lowdin', pre_orth_ao=c, s=s_gamma)
c_inv = np.dot(orth_coeff.T, s_gamma)
dm = reduce(np.dot, (c_inv, dm_ao_gamma, c_inv.T.conj()))
log.note(' ** Mulliken pop on meta-lowdin orthogonal AOs **')
return hf.mulliken_pop(cell, dm, np.eye(orth_coeff.shape[0]), log)
def canonicalize(mf, mo_coeff_kpts, mo_occ_kpts, fock=None):
if fock is None:
dm = mf.make_rdm1(mo_coeff_kpts, mo_occ_kpts)
fock = mf.get_hcore() + mf.get_jk(mf.cell, dm)
mo_coeff = []
mo_energy = []
for k, mo in enumerate(mo_coeff_kpts):
mo1 = np.empty_like(mo)
mo_e = np.empty_like(mo_occ_kpts[k])
occidx = mo_occ_kpts[k] == 2
viridx = ~occidx
for idx in (occidx, viridx):
if np.count_nonzero(idx) > 0:
orb = mo[:,idx]
f1 = reduce(np.dot, (orb.T.conj(), fock[k], orb))
e, c = scipy.linalg.eigh(f1)
mo1[:,idx] = np.dot(orb, c)
mo_e[idx] = e
mo_coeff.append(mo1)
mo_energy.append(mo_e)
return mo_energy, mo_coeff
def init_guess_by_chkfile(cell, chkfile_name, project=None, kpts=None):
'''Read the KHF results from checkpoint file, then project it to the
basis defined by ``cell``
Returns:
Density matrix, 3D ndarray
'''
from pyscf.pbc.scf import kuhf
dm = kuhf.init_guess_by_chkfile(cell, chkfile_name, project, kpts)
return dm[0] + dm[1]
class KSCF(pbchf.SCF):
'''SCF base class with k-point sampling.
Compared to molecular SCF, some members such as mo_coeff, mo_occ
now have an additional first dimension for the k-points,
e.g. mo_coeff is (nkpts, nao, nao) ndarray
Attributes:
kpts : (nks,3) ndarray
The sampling k-points in Cartesian coordinates, in units of 1/Bohr.
'''
conv_tol = getattr(__config__, 'pbc_scf_KSCF_conv_tol', 1e-7)
conv_tol_grad = getattr(__config__, 'pbc_scf_KSCF_conv_tol_grad', None)
direct_scf = getattr(__config__, 'pbc_scf_SCF_direct_scf', False)
def __init__(self, cell, kpts=np.zeros((1,3)),
exxdiv=getattr(__config__, 'pbc_scf_SCF_exxdiv', 'ewald')):
if not cell._built:
sys.stderr.write('Warning: cell.build() is not called in input\n')
cell.build()
self.cell = cell
hf.SCF.__init__(self, cell)
self.with_df = df.FFTDF(cell)
self.exxdiv = exxdiv
self.kpts = kpts
self.exx_built = False
self._keys = self._keys.union(['cell', 'exx_built', 'exxdiv', 'with_df'])
@property
def kpts(self):
if 'kpts' in self.__dict__:
# To handle the attribute kpt loaded from chkfile
self.kpt = self.__dict__.pop('kpts')
return self.with_df.kpts
@kpts.setter
def kpts(self, x):
self.with_df.kpts = np.reshape(x, (-1,3))
@property
def mo_energy_kpts(self):
return self.mo_energy
@property
def mo_coeff_kpts(self):
return self.mo_coeff
@property
def mo_occ_kpts(self):
return self.mo_occ
def dump_flags(self):
hf.SCF.dump_flags(self)
logger.info(self, '\n')
logger.info(self, '******** PBC SCF flags ********')
logger.info(self, 'N kpts = %d', len(self.kpts))
logger.debug(self, 'kpts = %s', self.kpts)
logger.info(self, 'Exchange divergence treatment (exxdiv) = %s', self.exxdiv)
#if self.exxdiv == 'vcut_ws':
# if self.exx_built is False:
# self.precompute_exx()
# logger.info(self, 'WS alpha = %s', self.exx_alpha)
if (self.cell.dimension == 3 and
isinstance(self.exxdiv, str) and self.exxdiv.lower() == 'ewald'):
madelung = tools.pbc.madelung(self.cell, [self.kpts])
logger.info(self, ' madelung (= occupied orbital energy shift) = %s', madelung)
logger.info(self, ' Total energy shift due to Ewald probe charge'
' = -1/2 * Nelec*madelung/cell.vol = %.12g',
madelung*self.cell.nelectron * -.5)
logger.info(self, 'DF object = %s', self.with_df)
if not hasattr(self.with_df, 'build'):
# .dump_flags() is called in pbc.df.build function
self.with_df.dump_flags()
return self
def check_sanity(self):
hf.SCF.check_sanity(self)
self.with_df.check_sanity()
if (isinstance(self.exxdiv, str) and self.exxdiv.lower() != 'ewald' and
isinstance(self.with_df, df.df.DF)):
logger.warn(self, 'exxdiv %s is not supported in DF or MDF',
self.exxdiv)
return self
def build(self, cell=None):
#if self.exxdiv == 'vcut_ws':
# self.precompute_exx()
if 'kpts' in self.__dict__:
# To handle the attribute kpts loaded from chkfile
self.kpts = self.__dict__.pop('kpts')
if self.verbose >= logger.WARN:
self.check_sanity()
return self
def get_init_guess(self, cell=None, key='minao'):
if cell is None:
cell = self.cell
dm_kpts = None
key = key.lower()
if key == '1e' or key == 'hcore':
dm_kpts = self.init_guess_by_1e(cell)
elif getattr(cell, 'natm', 0) == 0:
logger.info(self, 'No atom found in cell. Use 1e initial guess')
dm_kpts = self.init_guess_by_1e(cell)
elif key == 'atom':
dm = self.init_guess_by_atom(cell)
elif key[:3] == 'chk':
try:
dm_kpts = self.from_chk()
except (IOError, KeyError):
logger.warn(self, 'Fail to read %s. Use MINAO initial guess',
self.chkfile)
dm = self.init_guess_by_minao(cell)
else:
dm = self.init_guess_by_minao(cell)
if dm_kpts is None:
dm_kpts = lib.asarray([dm]*len(self.kpts))
if cell.dimension < 3:
ne = np.einsum('kij,kji->k', dm_kpts, self.get_ovlp(cell)).real
if np.any(abs(ne - cell.nelectron) > 1e-7):
logger.warn(self, 'Big error detected in the electron number '
'of initial guess density matrix (Ne/cell = %g)!\n'
' This can cause huge error in Fock matrix and '
'lead to instability in SCF for low-dimensional '
'systems.\n DM is normalized to correct number '
'of electrons', ne.mean())
dm_kpts *= cell.nelectron / ne.reshape(-1,1,1)
return dm_kpts
def init_guess_by_1e(self, cell=None):
if cell is None: cell = self.cell
if cell.dimension < 3:
logger.warn(self, 'Hcore initial guess is not recommended in '
'the SCF of low-dimensional systems.')
return hf.SCF.init_guess_by_1e(self, cell)
def get_hcore(self, cell=None, kpts=None):
if cell is None: cell = self.cell
if kpts is None: kpts = self.kpts
if cell.pseudo:
nuc = lib.asarray(self.with_df.get_pp(kpts))
else:
nuc = lib.asarray(self.with_df.get_nuc(kpts))
if len(cell._ecpbas) > 0:
nuc += lib.asarray(ecp.ecp_int(cell, kpts))
t = lib.asarray(cell.pbc_intor('int1e_kin', 1, 1, kpts))
return nuc + t
get_ovlp = get_ovlp
get_fock = get_fock
get_occ = get_occ
energy_elec = energy_elec
get_fermi = get_fermi
def get_j(self, cell=None, dm_kpts=None, hermi=1, kpts=None, kpts_band=None):
if cell is None: cell = self.cell
if kpts is None: kpts = self.kpts
if dm_kpts is None: dm_kpts = self.make_rdm1()
cpu0 = (time.clock(), time.time())
vj = self.with_df.get_jk(dm_kpts, hermi, kpts, kpts_band, with_k=False)[0]
logger.timer(self, 'vj', *cpu0)
return vj
def get_k(self, cell=None, dm_kpts=None, hermi=1, kpts=None, kpts_band=None):
return self.get_jk(cell, dm_kpts, hermi, kpts, kpts_band)[1]
def get_jk(self, cell=None, dm_kpts=None, hermi=1, kpts=None, kpts_band=None):
if cell is None: cell = self.cell
if kpts is None: kpts = self.kpts
if dm_kpts is None: dm_kpts = self.make_rdm1()
cpu0 = (time.clock(), time.time())
vj, vk = self.with_df.get_jk(dm_kpts, hermi, kpts, kpts_band,
exxdiv=self.exxdiv)
logger.timer(self, 'vj and vk', *cpu0)
return vj, vk
def get_veff(self, cell=None, dm_kpts=None, dm_last=0, vhf_last=0, hermi=1,
kpts=None, kpts_band=None):
'''Hartree-Fock potential matrix for the given density matrix.
See :func:`scf.hf.get_veff` and :func:`scf.hf.RHF.get_veff`
'''
vj, vk = self.get_jk(cell, dm_kpts, hermi, kpts, kpts_band)
return vj - vk * .5
def analyze(self, verbose=None, with_meta_lowdin=WITH_META_LOWDIN,
**kwargs):
if verbose is None: verbose = self.verbose
return analyze(self, verbose, with_meta_lowdin, **kwargs)
def get_grad(self, mo_coeff_kpts, mo_occ_kpts, fock=None):
'''
returns 1D array of gradients, like non K-pt version
note that occ and virt indices of different k pts now occur
in sequential patches of the 1D array
'''
if fock is None:
dm1 = self.make_rdm1(mo_coeff_kpts, mo_occ_kpts)
fock = self.get_hcore(self.cell, self.kpts) + self.get_veff(self.cell, dm1)
return get_grad(mo_coeff_kpts, mo_occ_kpts, fock)
def eig(self, h_kpts, s_kpts):
nkpts = len(h_kpts)
eig_kpts = []
mo_coeff_kpts = []
for k in range(nkpts):
e, c = self._eigh(h_kpts[k], s_kpts[k])
eig_kpts.append(e)
mo_coeff_kpts.append(c)
return eig_kpts, mo_coeff_kpts
def make_rdm1(self, mo_coeff_kpts=None, mo_occ_kpts=None):
if mo_coeff_kpts is None:
# Note: this is actually "self.mo_coeff_kpts"
# which is stored in self.mo_coeff of the scf.hf.RHF superclass
mo_coeff_kpts = self.mo_coeff
if mo_occ_kpts is None:
# Note: this is actually "self.mo_occ_kpts"
# which is stored in self.mo_occ of the scf.hf.RHF superclass
mo_occ_kpts = self.mo_occ
return make_rdm1(mo_coeff_kpts, mo_occ_kpts)
def get_bands(self, kpts_band, cell=None, dm_kpts=None, kpts=None):
'''Get energy bands at the given (arbitrary) 'band' k-points.
Returns:
mo_energy : (nmo,) ndarray or a list of (nmo,) ndarray
Bands energies E_n(k)
mo_coeff : (nao, nmo) ndarray or a list of (nao,nmo) ndarray
Band orbitals psi_n(k)
'''
if cell is None: cell = self.cell
if dm_kpts is None: dm_kpts = self.make_rdm1()
if kpts is None: kpts = self.kpts
kpts_band = np.asarray(kpts_band)
single_kpt_band = (kpts_band.ndim == 1)
kpts_band = kpts_band.reshape(-1,3)
fock = self.get_hcore(cell, kpts_band)
fock = fock + self.get_veff(cell, dm_kpts, kpts=kpts, kpts_band=kpts_band)
s1e = self.get_ovlp(cell, kpts_band)
mo_energy, mo_coeff = self.eig(fock, s1e)
if single_kpt_band:
mo_energy = mo_energy[0]
mo_coeff = mo_coeff[0]
return mo_energy, mo_coeff
def init_guess_by_chkfile(self, chk=None, project=None, kpts=None):
if chk is None: chk = self.chkfile
if kpts is None: kpts = self.kpts
return init_guess_by_chkfile(self.cell, chk, project, kpts)
def from_chk(self, chk=None, project=None, kpts=None):
return self.init_guess_by_chkfile(chk, project, kpts)
def dump_chk(self, envs):
if self.chkfile:
hf.SCF.dump_chk(self, envs)
with h5py.File(self.chkfile) as fh5:
fh5['scf/kpts'] = self.kpts
return self
def mulliken_meta(self, cell=None, dm=None, verbose=logger.DEBUG,
pre_orth_method=PRE_ORTH_METHOD, s=None):
if cell is None: cell = self.cell
if dm is None: dm = self.make_rdm1()
if s is None: s = self.get_ovlp(cell)
return mulliken_meta(cell, dm, s=s, verbose=verbose,
pre_orth_method=pre_orth_method)
canonicalize = canonicalize
def density_fit(self, auxbasis=None, with_df=None):
from pyscf.pbc.df import df_jk
return df_jk.density_fit(self, auxbasis, with_df)
def mix_density_fit(self, auxbasis=None, with_df=None):
from pyscf.pbc.df import mdf_jk
return mdf_jk.density_fit(self, auxbasis, with_df)
def stability(self,
internal=getattr(__config__, 'pbc_scf_KSCF_stability_internal', True),
external=getattr(__config__, 'pbc_scf_KSCF_stability_external', False),
verbose=None):
from pyscf.pbc.scf.stability import rhf_stability
return rhf_stability(self, internal, external, verbose)
def newton(self):
from pyscf.pbc.scf import newton_ah
return newton_ah.newton(self)
def sfx2c1e(self):
from pyscf.pbc.x2c import sfx2c1e
return sfx2c1e.sfx2c1e(self)
x2c = x2c1e = sfx2c1e
class KRHF(KSCF, pbchf.RHF):
def sanity_check(self):
cell = self.cell
if cell.spin != 0 and len(self.kpts) % 2 != 0:
logger.warn(self, 'Problematic nelec %s and number of k-points %d '
'found in KRHF method.', cell.nelec, len(self.kpts))
return KSCF.sanity_check(self)
def convert_from_(self, mf):
'''Convert given mean-field object to KRHF'''
addons.convert_to_rhf(mf, self)
return self
del(WITH_META_LOWDIN, PRE_ORTH_METHOD)
if __name__ == '__main__':
from pyscf.pbc import gto
cell = gto.Cell()
cell.atom = '''
He 0 0 1
He 1 0 1
'''
cell.basis = '321g'
cell.a = np.eye(3) * 3
cell.mesh = [11] * 3
cell.verbose = 5
cell.build()
mf = KRHF(cell, [2,1,1])
mf.kernel()
mf.analyze()
| [
"[email protected]"
] | |
3ff95127c22e25708b91f49114442b37354fa34b | 657ed6e579679ba82525f9a4b2021b96e8ea2685 | /src/domain/issue.py | 987346d708e1ee87d97961a9fbc318280addb69f | [
"MIT"
] | permissive | pgecsenyi/jira-report-generator | f2f7c1598ef4e592012f6badab334855383c1a02 | 48d9c7dc8e8bc5e7e9cc69c0c05a644f320c41d2 | refs/heads/master | 2022-12-12T18:19:23.829329 | 2019-09-16T18:38:11 | 2019-09-16T18:38:11 | 208,871,013 | 0 | 0 | MIT | 2022-12-08T06:11:01 | 2019-09-16T18:34:39 | Python | UTF-8 | Python | false | false | 440 | py | class Issue:
def __init__(self, key, summary, url, time_data):
self._key = key
self._summary = summary
self._url = url
self._time_data = time_data
@property
def key(self):
return self._key
@property
def summary(self):
return self._summary
@property
def url(self):
return self._url
@property
def time_data(self):
return self._time_data
| [
"[email protected]"
] | |
61acfb88100c03ba2e7bd2dbd695b46df3d4e4ee | 9cdfe7992090fb91696eec8d0a8ae15ee12efffe | /dp/prob85.py | c8bd310e57fb75fe8dfd3c382c6c5ae90176db5d | [] | no_license | binchen15/leet-python | e62aab19f0c48fd2f20858a6a0d0508706ae21cc | e00cf94c5b86c8cca27e3bee69ad21e727b7679b | refs/heads/master | 2022-09-01T06:56:38.471879 | 2022-08-28T05:15:42 | 2022-08-28T05:15:42 | 243,564,799 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,283 | py | # 85. Maximal Rectangle
class Solution(object):
def maximalRectangle(self, matrix):
"""
:type matrix: List[List[str]]
:rtype: int
"""
m = len(matrix)
if not m:
return 0
n = len(matrix[0])
if not n:
return 0
dp1 = [ [0] * n for _ in range(m)] # 1s to the left of matrix[i][j]
dp3 = [ [0] * n for _ in range(m)] # 1s above matrix[i][j]
dp2 = [ [ [0, 0] for _ in range(n)] for _ in range(m)]
for i in range(m):
dp1[i][0] = int(matrix[i][0])
for j in range(n):
dp3[0][j] = int(matrix[0][j])
for i in range(m):
for j in range(1, n):
if matrix[i][j] == '1':
dp1[i][j] = dp1[i][j-1] + 1
for i in range(1, m):
for j in range(n):
if matrix[i][j] == '1':
dp3[i][j] = dp3[i-1][j] + 1
for j in range(n):
if matrix[0][j] == '1':
dp2[0][j] = [dp1[0][j], 1]
for i in range(1, m):
if matrix[i][0] == '1':
dp2[i][0] = [1, dp3[i][0]]
for i in range(1, m):
for j in range(1, n):
if matrix[i][j] == '1':
l1 = dp1[i][j]
w3 = dp3[i][j]
if l1 >= w3:
pair = [l1, 1]
else:
pair = [1, w3]
if matrix[i-1][j] == '1':
l2, w = dp2[i-1][j]
tmp = [min(l1, l2), w+1]
if tmp[0] * tmp[1] > pair[0]*pair[1]:
pair = tmp
if matrix[i][j-1] == '1':
l2, w = dp2[i][j-1]
tmp = [l2+1, min(w, w3)]
if tmp[0] * tmp[1] > pair[0]*pair[1]:
pair = tmp
dp2[i][j] = pair
ans = 0
for i in range(m):
for j in range(n):
pix = dp2[i][j]
ans = max(ans, pix[0]*pix[1])
return ans
| [
"[email protected]"
] | |
ca423a2221899c04d07db89f0d428d2ed0c60766 | fc1141aabffe60455898b014fd8b4a2e8307ce85 | /chapter6_other_flowables/preformatted_paragraph.py | 66bc96289ad24dfb976a98fd125ed48aac64bf70 | [] | no_license | Karagul/reportlabbookcode | b5bff1609d62fe2bcfb17bfd7b65777121ac175c | e271348d5562f4842b9d1628ef917539a8ebcd5d | refs/heads/master | 2020-09-21T14:58:43.427964 | 2018-12-19T17:40:46 | 2018-12-19T17:40:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 826 | py | # preformatted_paragraph.py
from reportlab.lib.pagesizes import letter
from reportlab.platypus import SimpleDocTemplate, Paragraph
from reportlab.platypus import Preformatted
from reportlab.lib.styles import getSampleStyleSheet
def preformatted_paragraph():
doc = SimpleDocTemplate("preformatted_paragraph.pdf",
pagesize=letter
)
styles = getSampleStyleSheet()
flowables = []
text = "<para align=center>Hello, I'm a Paragraph</para>"
para = Paragraph(text, style=styles["Normal"])
flowables.append(para)
text = "<para align=center>Hello, I'm a Preformatted Paragraph</para>"
para = Preformatted(text, style=styles["Code"])
flowables.append(para)
doc.build(flowables)
if __name__ == '__main__':
preformatted_paragraph() | [
"[email protected]"
] | |
735f1cdb82cf0021cd92e7edd13b73b2b9aab014 | 48a522b031d45193985ba71e313e8560d9b191f1 | /programmers/python/최솟값_만들기.py | a05410d4330c44680abcdf51a31bd1a2a893f064 | [] | no_license | dydwnsekd/coding_test | beabda0d0aeec3256e513e9e0d23b43debff7fb3 | 4b2b4878408558239bae7146bb4f37888cd5b556 | refs/heads/master | 2023-09-04T12:37:03.540461 | 2023-09-03T15:58:33 | 2023-09-03T15:58:33 | 162,253,096 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 213 | py | # https://programmers.co.kr/learn/courses/30/lessons/12941
def solution(A,B):
answer = 0
A.sort()
B.sort(reverse=True)
for i in range(len(A)):
answer += A[i] * B[i]
return answer | [
"[email protected]"
] | |
363abc4b7429936fa87f6e77f0217f5c4ee8c069 | 9d1701a88644663277342f3a12d9795cd55a259c | /CSC148/test1 review/past test1/winter2014/swap.py | 890f0b0ad23947deba362c3189245991f4653e5f | [] | no_license | xxcocoymlxx/Study-Notes | cb05c0e438b0c47b069d6a4c30dd13ab97e4ee6d | c7437d387dc2b9a8039c60d8786373899c2e28bd | refs/heads/master | 2023-01-13T06:09:11.005038 | 2020-05-19T19:37:45 | 2020-05-19T19:37:45 | 252,774,764 | 2 | 0 | null | 2022-12-22T15:29:26 | 2020-04-03T15:44:44 | Jupyter Notebook | UTF-8 | Python | false | false | 542 | py | from stack import Stack
class StackException(Exception):
pass
def swap_top(s: Stack) -> None:
'''Swap the top two elements of s.
If there are fewer than two items on the stack,
the stack is unchanged and a StackException is raised.
>>> s = Stack()
>>> s.push(1)
>>> s.push(2)
>>> swap_top(s)
>>> s.pop()
1
'''
if s.is_empty():
raise StackException
first = s.pop()
if s.is_empty():
s.push(first)
raise StackException
second = s.pop()
s.push(first)
s.push(second)
| [
"[email protected]"
] | |
9cc221a21f3e344d6a27b535cc61fff49468ee85 | 77ab53380f74c33bb3aacee8effc0e186b63c3d6 | /5425_max_area.py | 60293ac4a351d8aa1d4077b088a3c24c602195f0 | [] | no_license | tabletenniser/leetcode | 8e3aa1b4df1b79364eb5ca3a97db57e0371250b6 | d3ebbfe2e4ab87d5b44bc534984dfa453e34efbd | refs/heads/master | 2023-02-23T18:14:31.577455 | 2023-02-06T07:09:54 | 2023-02-06T07:09:54 | 94,496,986 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,282 | py | '''
5425. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
User Accepted:0
User Tried:0
Total Accepted:0
Total Submissions:0
Difficulty:Medium
Given a rectangular cake with height h and width w, and two arrays of integers horizontalCuts and verticalCuts where horizontalCuts[i] is the distance from the top of the rectangular cake to the ith horizontal cut and similarly, verticalCuts[j] is the distance from the left of the rectangular cake to the jth vertical cut.
Return the maximum area of a piece of cake after you cut at each horizontal and vertical position provided in the arrays horizontalCuts and verticalCuts. Since the answer can be a huge number, return this modulo 10^9 + 7.
Input: h = 5, w = 4, horizontalCuts = [1,2,4], verticalCuts = [1,3]
Output: 4
Explanation: The figure above represents the given rectangular cake. Red lines are the horizontal and vertical cuts. After you cut the cake, the green piece of cake has the maximum area.
Example 2:
Input: h = 5, w = 4, horizontalCuts = [3,1], verticalCuts = [1]
Output: 6
Explanation: The figure above represents the given rectangular cake. Red lines are the horizontal and vertical cuts. After you cut the cake, the green and yellow pieces of cake have the maximum area.
Example 3:
Input: h = 5, w = 4, horizontalCuts = [3], verticalCuts = [3]
Output: 9
Constraints:
2 <= h, w <= 10^9
1 <= horizontalCuts.length < min(h, 10^5)
1 <= verticalCuts.length < min(w, 10^5)
1 <= horizontalCuts[i] < h
1 <= verticalCuts[i] < w
It is guaranteed that all elements in horizontalCuts are distinct.
It is guaranteed that all elements in verticalCuts are distinct.
'''
class Solution:
def maxArea(self, h: int, w: int, horizontalCuts, verticalCuts) -> int:
horizontalCuts.append(h)
verticalCuts.append(w)
horizontalCuts.sort()
verticalCuts.sort()
prev = 0
max_h = 0
for hc in horizontalCuts:
max_h = max(hc-prev, max_h)
prev = hc
prev = 0
max_w = 0
for vc in verticalCuts:
max_w = max(vc-prev, max_w)
prev = vc
return max_h*max_w
s = Solution()
h = 5
w = 4
horizontalCuts = [3,1]
verticalCuts = [1]
res = s.maxArea(h, w, horizontalCuts, verticalCuts)
print(res)
| [
"[email protected]"
] | |
720815bcfc208bb72a10ed2e2c9e02dc28cbc1ae | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit_Class198.py | 4c19955e9beffcb7eb0a1dda589b73d1091e19a7 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,322 | py | # qubit number=3
# total number=9
import numpy as np
from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ
import networkx as nx
from qiskit.visualization import plot_histogram
from typing import *
from pprint import pprint
from math import log2
from collections import Counter
from qiskit.test.mock import FakeVigo, FakeYorktown
kernel = 'circuit/bernstein'
def make_circuit(n:int) -> QuantumCircuit:
# circuit begin
input_qubit = QuantumRegister(n,"qc")
prog = QuantumCircuit(input_qubit)
prog.h(input_qubit[0]) # number=1
prog.h(input_qubit[1]) # number=2
prog.h(input_qubit[2]) # number=3
prog.x(input_qubit[1]) # number=8
prog.h(input_qubit[3]) # number=4
prog.y(input_qubit[3]) # number=5
for edge in E:
k = edge[0]
l = edge[1]
prog.cp(-2 * gamma, input_qubit[k-1], input_qubit[l-1])
prog.p(gamma, k)
prog.p(gamma, l)
prog.rx(2 * beta, range(len(V)))
prog.x(input_qubit[3]) # number=7
# circuit end
return prog
if __name__ == '__main__':
n = 4
V = np.arange(0, n, 1)
E = [(0, 1, 1.0), (0, 2, 1.0), (1, 2, 1.0), (3, 2, 1.0), (3, 1, 1.0)]
G = nx.Graph()
G.add_nodes_from(V)
G.add_weighted_edges_from(E)
step_size = 0.1
a_gamma = np.arange(0, np.pi, step_size)
a_beta = np.arange(0, np.pi, step_size)
a_gamma, a_beta = np.meshgrid(a_gamma, a_beta)
F1 = 3 - (np.sin(2 * a_beta) ** 2 * np.sin(2 * a_gamma) ** 2 - 0.5 * np.sin(4 * a_beta) * np.sin(4 * a_gamma)) * (
1 + np.cos(4 * a_gamma) ** 2)
result = np.where(F1 == np.amax(F1))
a = list(zip(result[0], result[1]))[0]
gamma = a[0] * step_size
beta = a[1] * step_size
prog = make_circuit(4)
sample_shot =5600
writefile = open("../data/startQiskit_Class198.csv", "w")
# prog.draw('mpl', filename=(kernel + '.png'))
backend = BasicAer.get_backend('statevector_simulator')
circuit1 = transpile(prog, FakeYorktown())
prog = circuit1
info = execute(prog,backend=backend, shots=sample_shot).result().get_counts()
print(info, file=writefile)
print("results end", file=writefile)
print(circuit1.depth(), file=writefile)
print(circuit1, file=writefile)
writefile.close()
| [
"[email protected]"
] | |
db562c684f9e79cdfd86e2cf62911028da643d8b | cd14295215c9ab48012e2756c842be682ae3bd38 | /med/haodf_doctor/jibing_list_parser.py | ff0e88aced030940b3dfadbb5b5bb31959e4fba9 | [] | no_license | vertigo235/crawlers | bbe3667164b4f65474b9e0e14f484c7add9404f9 | 1911a28803b2e8e1c46061c27c980a985eb703e6 | refs/heads/master | 2021-09-02T19:57:06.094505 | 2017-01-23T02:42:24 | 2017-01-23T02:42:24 | 115,954,916 | 0 | 0 | null | 2018-01-01T23:12:31 | 2018-01-01T23:12:31 | null | UTF-8 | Python | false | false | 1,223 | py | #!/usr/bin/python
# encoding: utf-8
import re
import sys
import requests
from bs4 import BeautifulSoup
from med.haodf_doctor import db
reload(sys)
sys.setdefaultencoding('utf8')
class JibingListParser:
def __init__(self, url, section):
self.url = url
self.section = section
self.headers = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36',
}
def run(self):
if db.get_url(self.url) is not None:
print 'section ' + self.url + ' exists'
return True
content = requests.get(self.url, headers=self.headers).text
soup = BeautifulSoup(content, 'lxml')
results = soup.select('.m_ctt_green a')
if len(results) == 0:
return False
sql = "INSERT INTO jibing (`name`) VALUE (%s)"
for row in results:
href = row.attrs['href']
jibing = re.compile(r'(\w+)\.htm').findall(href)[0]
print jibing
try:
db.execute(sql, [jibing])
except Exception:
continue
db.save_url(self.url)
return True
| [
"[email protected]"
] | |
02436cdd33f146350f128afe1498191a9d91a8ce | 5a45df3d23d5fecc169a8395034cca9e0497fa94 | /scripts/convert_deps.py | 3ff157e0a0d7ba1f23d358b9b7aadeac254ffe84 | [
"BSD-3-Clause"
] | permissive | IHackPy/pandas | 68fe97d687b2bdbd3ad9fb84872c899593d77997 | 0a0c1b4a76f718599346e4aa5c9b88140efa7b9c | refs/heads/master | 2021-09-24T14:44:01.266388 | 2018-10-10T16:57:36 | 2018-10-10T16:57:36 | 124,025,370 | 2 | 0 | BSD-3-Clause | 2018-10-10T16:57:38 | 2018-03-06T05:24:36 | Python | UTF-8 | Python | false | false | 978 | py | """
Convert the conda environment.yaml to a pip requirements.txt
"""
import re
import yaml
exclude = {'python=3'}
rename = {'pytables': 'tables'}
with open("ci/environment-dev.yaml") as f:
dev = yaml.load(f)
with open("ci/requirements-optional-conda.txt") as f:
optional = [x.strip() for x in f.readlines()]
required = dev['dependencies']
required = [rename.get(dep, dep) for dep in required if dep not in exclude]
optional = [rename.get(dep, dep) for dep in optional if dep not in exclude]
optional = [re.sub("(?<=[^<>])=", '==', dep) for dep in optional]
with open("ci/requirements_dev.txt", 'wt') as f:
f.write("# This file was autogenerated by scripts/convert_deps.py\n")
f.write("# Do not modify directly\n")
f.write('\n'.join(required))
with open("ci/requirements-optional-pip.txt", 'wt') as f:
f.write("# This file was autogenerated by scripts/convert_deps.py\n")
f.write("# Do not modify directly\n")
f.write("\n".join(optional))
| [
"[email protected]"
] | |
e188defa551848a68633942fcb633f10abfdf761 | ba694353a3cb1cfd02a6773b40f693386d0dba39 | /sdk/python/pulumi_google_native/compute/alpha/get_instance.py | 46382b4b996b4cc55459891ceeb789214d786550 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | pulumi/pulumi-google-native | cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b | 124d255e5b7f5440d1ef63c9a71e4cc1d661cd10 | refs/heads/master | 2023-08-25T00:18:00.300230 | 2023-07-20T04:25:48 | 2023-07-20T04:25:48 | 323,680,373 | 69 | 16 | Apache-2.0 | 2023-09-13T00:28:04 | 2020-12-22T16:39:01 | Python | UTF-8 | Python | false | false | 38,618 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from . import outputs
__all__ = [
'GetInstanceResult',
'AwaitableGetInstanceResult',
'get_instance',
'get_instance_output',
]
@pulumi.output_type
class GetInstanceResult:
def __init__(__self__, advanced_machine_features=None, can_ip_forward=None, confidential_instance_config=None, cpu_platform=None, creation_timestamp=None, deletion_protection=None, description=None, disks=None, display_device=None, erase_windows_vss_signature=None, fingerprint=None, guest_accelerators=None, hostname=None, instance_encryption_key=None, key_revocation_action_type=None, kind=None, label_fingerprint=None, labels=None, last_start_timestamp=None, last_stop_timestamp=None, last_suspended_timestamp=None, machine_type=None, metadata=None, min_cpu_platform=None, name=None, network_interfaces=None, network_performance_config=None, params=None, post_key_revocation_action_type=None, preserved_state_size_gb=None, private_ipv6_google_access=None, reservation_affinity=None, resource_policies=None, resource_status=None, satisfies_pzs=None, scheduling=None, secure_tags=None, self_link=None, self_link_with_id=None, service_accounts=None, service_integration_specs=None, shielded_instance_config=None, shielded_instance_integrity_policy=None, shielded_vm_config=None, shielded_vm_integrity_policy=None, source_machine_image=None, source_machine_image_encryption_key=None, start_restricted=None, status=None, status_message=None, tags=None, upcoming_maintenance=None, zone=None):
if advanced_machine_features and not isinstance(advanced_machine_features, dict):
raise TypeError("Expected argument 'advanced_machine_features' to be a dict")
pulumi.set(__self__, "advanced_machine_features", advanced_machine_features)
if can_ip_forward and not isinstance(can_ip_forward, bool):
raise TypeError("Expected argument 'can_ip_forward' to be a bool")
pulumi.set(__self__, "can_ip_forward", can_ip_forward)
if confidential_instance_config and not isinstance(confidential_instance_config, dict):
raise TypeError("Expected argument 'confidential_instance_config' to be a dict")
pulumi.set(__self__, "confidential_instance_config", confidential_instance_config)
if cpu_platform and not isinstance(cpu_platform, str):
raise TypeError("Expected argument 'cpu_platform' to be a str")
pulumi.set(__self__, "cpu_platform", cpu_platform)
if creation_timestamp and not isinstance(creation_timestamp, str):
raise TypeError("Expected argument 'creation_timestamp' to be a str")
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
if deletion_protection and not isinstance(deletion_protection, bool):
raise TypeError("Expected argument 'deletion_protection' to be a bool")
pulumi.set(__self__, "deletion_protection", deletion_protection)
if description and not isinstance(description, str):
raise TypeError("Expected argument 'description' to be a str")
pulumi.set(__self__, "description", description)
if disks and not isinstance(disks, list):
raise TypeError("Expected argument 'disks' to be a list")
pulumi.set(__self__, "disks", disks)
if display_device and not isinstance(display_device, dict):
raise TypeError("Expected argument 'display_device' to be a dict")
pulumi.set(__self__, "display_device", display_device)
if erase_windows_vss_signature and not isinstance(erase_windows_vss_signature, bool):
raise TypeError("Expected argument 'erase_windows_vss_signature' to be a bool")
pulumi.set(__self__, "erase_windows_vss_signature", erase_windows_vss_signature)
if fingerprint and not isinstance(fingerprint, str):
raise TypeError("Expected argument 'fingerprint' to be a str")
pulumi.set(__self__, "fingerprint", fingerprint)
if guest_accelerators and not isinstance(guest_accelerators, list):
raise TypeError("Expected argument 'guest_accelerators' to be a list")
pulumi.set(__self__, "guest_accelerators", guest_accelerators)
if hostname and not isinstance(hostname, str):
raise TypeError("Expected argument 'hostname' to be a str")
pulumi.set(__self__, "hostname", hostname)
if instance_encryption_key and not isinstance(instance_encryption_key, dict):
raise TypeError("Expected argument 'instance_encryption_key' to be a dict")
pulumi.set(__self__, "instance_encryption_key", instance_encryption_key)
if key_revocation_action_type and not isinstance(key_revocation_action_type, str):
raise TypeError("Expected argument 'key_revocation_action_type' to be a str")
pulumi.set(__self__, "key_revocation_action_type", key_revocation_action_type)
if kind and not isinstance(kind, str):
raise TypeError("Expected argument 'kind' to be a str")
pulumi.set(__self__, "kind", kind)
if label_fingerprint and not isinstance(label_fingerprint, str):
raise TypeError("Expected argument 'label_fingerprint' to be a str")
pulumi.set(__self__, "label_fingerprint", label_fingerprint)
if labels and not isinstance(labels, dict):
raise TypeError("Expected argument 'labels' to be a dict")
pulumi.set(__self__, "labels", labels)
if last_start_timestamp and not isinstance(last_start_timestamp, str):
raise TypeError("Expected argument 'last_start_timestamp' to be a str")
pulumi.set(__self__, "last_start_timestamp", last_start_timestamp)
if last_stop_timestamp and not isinstance(last_stop_timestamp, str):
raise TypeError("Expected argument 'last_stop_timestamp' to be a str")
pulumi.set(__self__, "last_stop_timestamp", last_stop_timestamp)
if last_suspended_timestamp and not isinstance(last_suspended_timestamp, str):
raise TypeError("Expected argument 'last_suspended_timestamp' to be a str")
pulumi.set(__self__, "last_suspended_timestamp", last_suspended_timestamp)
if machine_type and not isinstance(machine_type, str):
raise TypeError("Expected argument 'machine_type' to be a str")
pulumi.set(__self__, "machine_type", machine_type)
if metadata and not isinstance(metadata, dict):
raise TypeError("Expected argument 'metadata' to be a dict")
pulumi.set(__self__, "metadata", metadata)
if min_cpu_platform and not isinstance(min_cpu_platform, str):
raise TypeError("Expected argument 'min_cpu_platform' to be a str")
pulumi.set(__self__, "min_cpu_platform", min_cpu_platform)
if name and not isinstance(name, str):
raise TypeError("Expected argument 'name' to be a str")
pulumi.set(__self__, "name", name)
if network_interfaces and not isinstance(network_interfaces, list):
raise TypeError("Expected argument 'network_interfaces' to be a list")
pulumi.set(__self__, "network_interfaces", network_interfaces)
if network_performance_config and not isinstance(network_performance_config, dict):
raise TypeError("Expected argument 'network_performance_config' to be a dict")
pulumi.set(__self__, "network_performance_config", network_performance_config)
if params and not isinstance(params, dict):
raise TypeError("Expected argument 'params' to be a dict")
pulumi.set(__self__, "params", params)
if post_key_revocation_action_type and not isinstance(post_key_revocation_action_type, str):
raise TypeError("Expected argument 'post_key_revocation_action_type' to be a str")
pulumi.set(__self__, "post_key_revocation_action_type", post_key_revocation_action_type)
if preserved_state_size_gb and not isinstance(preserved_state_size_gb, str):
raise TypeError("Expected argument 'preserved_state_size_gb' to be a str")
pulumi.set(__self__, "preserved_state_size_gb", preserved_state_size_gb)
if private_ipv6_google_access and not isinstance(private_ipv6_google_access, str):
raise TypeError("Expected argument 'private_ipv6_google_access' to be a str")
pulumi.set(__self__, "private_ipv6_google_access", private_ipv6_google_access)
if reservation_affinity and not isinstance(reservation_affinity, dict):
raise TypeError("Expected argument 'reservation_affinity' to be a dict")
pulumi.set(__self__, "reservation_affinity", reservation_affinity)
if resource_policies and not isinstance(resource_policies, list):
raise TypeError("Expected argument 'resource_policies' to be a list")
pulumi.set(__self__, "resource_policies", resource_policies)
if resource_status and not isinstance(resource_status, dict):
raise TypeError("Expected argument 'resource_status' to be a dict")
pulumi.set(__self__, "resource_status", resource_status)
if satisfies_pzs and not isinstance(satisfies_pzs, bool):
raise TypeError("Expected argument 'satisfies_pzs' to be a bool")
pulumi.set(__self__, "satisfies_pzs", satisfies_pzs)
if scheduling and not isinstance(scheduling, dict):
raise TypeError("Expected argument 'scheduling' to be a dict")
pulumi.set(__self__, "scheduling", scheduling)
if secure_tags and not isinstance(secure_tags, list):
raise TypeError("Expected argument 'secure_tags' to be a list")
pulumi.set(__self__, "secure_tags", secure_tags)
if self_link and not isinstance(self_link, str):
raise TypeError("Expected argument 'self_link' to be a str")
pulumi.set(__self__, "self_link", self_link)
if self_link_with_id and not isinstance(self_link_with_id, str):
raise TypeError("Expected argument 'self_link_with_id' to be a str")
pulumi.set(__self__, "self_link_with_id", self_link_with_id)
if service_accounts and not isinstance(service_accounts, list):
raise TypeError("Expected argument 'service_accounts' to be a list")
pulumi.set(__self__, "service_accounts", service_accounts)
if service_integration_specs and not isinstance(service_integration_specs, dict):
raise TypeError("Expected argument 'service_integration_specs' to be a dict")
pulumi.set(__self__, "service_integration_specs", service_integration_specs)
if shielded_instance_config and not isinstance(shielded_instance_config, dict):
raise TypeError("Expected argument 'shielded_instance_config' to be a dict")
pulumi.set(__self__, "shielded_instance_config", shielded_instance_config)
if shielded_instance_integrity_policy and not isinstance(shielded_instance_integrity_policy, dict):
raise TypeError("Expected argument 'shielded_instance_integrity_policy' to be a dict")
pulumi.set(__self__, "shielded_instance_integrity_policy", shielded_instance_integrity_policy)
if shielded_vm_config and not isinstance(shielded_vm_config, dict):
raise TypeError("Expected argument 'shielded_vm_config' to be a dict")
pulumi.set(__self__, "shielded_vm_config", shielded_vm_config)
if shielded_vm_integrity_policy and not isinstance(shielded_vm_integrity_policy, dict):
raise TypeError("Expected argument 'shielded_vm_integrity_policy' to be a dict")
pulumi.set(__self__, "shielded_vm_integrity_policy", shielded_vm_integrity_policy)
if source_machine_image and not isinstance(source_machine_image, str):
raise TypeError("Expected argument 'source_machine_image' to be a str")
pulumi.set(__self__, "source_machine_image", source_machine_image)
if source_machine_image_encryption_key and not isinstance(source_machine_image_encryption_key, dict):
raise TypeError("Expected argument 'source_machine_image_encryption_key' to be a dict")
pulumi.set(__self__, "source_machine_image_encryption_key", source_machine_image_encryption_key)
if start_restricted and not isinstance(start_restricted, bool):
raise TypeError("Expected argument 'start_restricted' to be a bool")
pulumi.set(__self__, "start_restricted", start_restricted)
if status and not isinstance(status, str):
raise TypeError("Expected argument 'status' to be a str")
pulumi.set(__self__, "status", status)
if status_message and not isinstance(status_message, str):
raise TypeError("Expected argument 'status_message' to be a str")
pulumi.set(__self__, "status_message", status_message)
if tags and not isinstance(tags, dict):
raise TypeError("Expected argument 'tags' to be a dict")
pulumi.set(__self__, "tags", tags)
if upcoming_maintenance and not isinstance(upcoming_maintenance, dict):
raise TypeError("Expected argument 'upcoming_maintenance' to be a dict")
pulumi.set(__self__, "upcoming_maintenance", upcoming_maintenance)
if zone and not isinstance(zone, str):
raise TypeError("Expected argument 'zone' to be a str")
pulumi.set(__self__, "zone", zone)
@property
@pulumi.getter(name="advancedMachineFeatures")
def advanced_machine_features(self) -> 'outputs.AdvancedMachineFeaturesResponse':
"""
Controls for advanced machine-related behavior features.
"""
return pulumi.get(self, "advanced_machine_features")
@property
@pulumi.getter(name="canIpForward")
def can_ip_forward(self) -> bool:
"""
Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .
"""
return pulumi.get(self, "can_ip_forward")
@property
@pulumi.getter(name="confidentialInstanceConfig")
def confidential_instance_config(self) -> 'outputs.ConfidentialInstanceConfigResponse':
return pulumi.get(self, "confidential_instance_config")
@property
@pulumi.getter(name="cpuPlatform")
def cpu_platform(self) -> str:
"""
The CPU platform used by this instance.
"""
return pulumi.get(self, "cpu_platform")
@property
@pulumi.getter(name="creationTimestamp")
def creation_timestamp(self) -> str:
"""
Creation timestamp in RFC3339 text format.
"""
return pulumi.get(self, "creation_timestamp")
@property
@pulumi.getter(name="deletionProtection")
def deletion_protection(self) -> bool:
"""
Whether the resource should be protected against deletion.
"""
return pulumi.get(self, "deletion_protection")
@property
@pulumi.getter
def description(self) -> str:
"""
An optional description of this resource. Provide this property when you create the resource.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter
def disks(self) -> Sequence['outputs.AttachedDiskResponse']:
"""
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
"""
return pulumi.get(self, "disks")
@property
@pulumi.getter(name="displayDevice")
def display_device(self) -> 'outputs.DisplayDeviceResponse':
"""
Enables display device for the instance.
"""
return pulumi.get(self, "display_device")
@property
@pulumi.getter(name="eraseWindowsVssSignature")
def erase_windows_vss_signature(self) -> bool:
"""
Specifies whether the disks restored from source snapshots or source machine image should erase Windows specific VSS signature.
"""
return pulumi.get(self, "erase_windows_vss_signature")
@property
@pulumi.getter
def fingerprint(self) -> str:
"""
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.
"""
return pulumi.get(self, "fingerprint")
@property
@pulumi.getter(name="guestAccelerators")
def guest_accelerators(self) -> Sequence['outputs.AcceleratorConfigResponse']:
"""
A list of the type and count of accelerator cards attached to the instance.
"""
return pulumi.get(self, "guest_accelerators")
@property
@pulumi.getter
def hostname(self) -> str:
"""
Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
"""
return pulumi.get(self, "hostname")
@property
@pulumi.getter(name="instanceEncryptionKey")
def instance_encryption_key(self) -> 'outputs.CustomerEncryptionKeyResponse':
"""
Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation.
"""
return pulumi.get(self, "instance_encryption_key")
@property
@pulumi.getter(name="keyRevocationActionType")
def key_revocation_action_type(self) -> str:
"""
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
"""
return pulumi.get(self, "key_revocation_action_type")
@property
@pulumi.getter
def kind(self) -> str:
"""
Type of the resource. Always compute#instance for instances.
"""
return pulumi.get(self, "kind")
@property
@pulumi.getter(name="labelFingerprint")
def label_fingerprint(self) -> str:
"""
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.
"""
return pulumi.get(self, "label_fingerprint")
@property
@pulumi.getter
def labels(self) -> Mapping[str, str]:
"""
Labels to apply to this instance. These can be later modified by the setLabels method.
"""
return pulumi.get(self, "labels")
@property
@pulumi.getter(name="lastStartTimestamp")
def last_start_timestamp(self) -> str:
"""
Last start timestamp in RFC3339 text format.
"""
return pulumi.get(self, "last_start_timestamp")
@property
@pulumi.getter(name="lastStopTimestamp")
def last_stop_timestamp(self) -> str:
"""
Last stop timestamp in RFC3339 text format.
"""
return pulumi.get(self, "last_stop_timestamp")
@property
@pulumi.getter(name="lastSuspendedTimestamp")
def last_suspended_timestamp(self) -> str:
"""
Last suspended timestamp in RFC3339 text format.
"""
return pulumi.get(self, "last_suspended_timestamp")
@property
@pulumi.getter(name="machineType")
def machine_type(self) -> str:
"""
Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
"""
return pulumi.get(self, "machine_type")
@property
@pulumi.getter
def metadata(self) -> 'outputs.MetadataResponse':
"""
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
"""
return pulumi.get(self, "metadata")
@property
@pulumi.getter(name="minCpuPlatform")
def min_cpu_platform(self) -> str:
"""
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
"""
return pulumi.get(self, "min_cpu_platform")
@property
@pulumi.getter
def name(self) -> str:
"""
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="networkInterfaces")
def network_interfaces(self) -> Sequence['outputs.NetworkInterfaceResponse']:
"""
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
"""
return pulumi.get(self, "network_interfaces")
@property
@pulumi.getter(name="networkPerformanceConfig")
def network_performance_config(self) -> 'outputs.NetworkPerformanceConfigResponse':
return pulumi.get(self, "network_performance_config")
@property
@pulumi.getter
def params(self) -> 'outputs.InstanceParamsResponse':
"""
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
"""
return pulumi.get(self, "params")
@property
@pulumi.getter(name="postKeyRevocationActionType")
def post_key_revocation_action_type(self) -> str:
"""
PostKeyRevocationActionType of the instance.
"""
return pulumi.get(self, "post_key_revocation_action_type")
@property
@pulumi.getter(name="preservedStateSizeGb")
def preserved_state_size_gb(self) -> str:
"""
Total amount of preserved state for SUSPENDED instances. Read-only in the api.
"""
return pulumi.get(self, "preserved_state_size_gb")
@property
@pulumi.getter(name="privateIpv6GoogleAccess")
def private_ipv6_google_access(self) -> str:
"""
The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
"""
return pulumi.get(self, "private_ipv6_google_access")
@property
@pulumi.getter(name="reservationAffinity")
def reservation_affinity(self) -> 'outputs.ReservationAffinityResponse':
"""
Specifies the reservations that this instance can consume from.
"""
return pulumi.get(self, "reservation_affinity")
@property
@pulumi.getter(name="resourcePolicies")
def resource_policies(self) -> Sequence[str]:
"""
Resource policies applied to this instance.
"""
return pulumi.get(self, "resource_policies")
@property
@pulumi.getter(name="resourceStatus")
def resource_status(self) -> 'outputs.ResourceStatusResponse':
"""
Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
"""
return pulumi.get(self, "resource_status")
@property
@pulumi.getter(name="satisfiesPzs")
def satisfies_pzs(self) -> bool:
"""
Reserved for future use.
"""
return pulumi.get(self, "satisfies_pzs")
@property
@pulumi.getter
def scheduling(self) -> 'outputs.SchedulingResponse':
"""
Sets the scheduling options for this instance.
"""
return pulumi.get(self, "scheduling")
@property
@pulumi.getter(name="secureTags")
def secure_tags(self) -> Sequence[str]:
"""
[Input Only] Secure tags to apply to this instance. These can be later modified by the update method. Maximum number of secure tags allowed is 50.
"""
return pulumi.get(self, "secure_tags")
@property
@pulumi.getter(name="selfLink")
def self_link(self) -> str:
"""
Server-defined URL for this resource.
"""
return pulumi.get(self, "self_link")
@property
@pulumi.getter(name="selfLinkWithId")
def self_link_with_id(self) -> str:
"""
Server-defined URL for this resource with the resource id.
"""
return pulumi.get(self, "self_link_with_id")
@property
@pulumi.getter(name="serviceAccounts")
def service_accounts(self) -> Sequence['outputs.ServiceAccountResponse']:
"""
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
"""
return pulumi.get(self, "service_accounts")
@property
@pulumi.getter(name="serviceIntegrationSpecs")
def service_integration_specs(self) -> Mapping[str, str]:
"""
Mapping of user-defined keys to specifications for service integrations. Currently only a single key-value pair is supported.
"""
return pulumi.get(self, "service_integration_specs")
@property
@pulumi.getter(name="shieldedInstanceConfig")
def shielded_instance_config(self) -> 'outputs.ShieldedInstanceConfigResponse':
return pulumi.get(self, "shielded_instance_config")
@property
@pulumi.getter(name="shieldedInstanceIntegrityPolicy")
def shielded_instance_integrity_policy(self) -> 'outputs.ShieldedInstanceIntegrityPolicyResponse':
return pulumi.get(self, "shielded_instance_integrity_policy")
@property
@pulumi.getter(name="shieldedVmConfig")
def shielded_vm_config(self) -> 'outputs.ShieldedVmConfigResponse':
"""
Deprecating, please use shielded_instance_config.
"""
return pulumi.get(self, "shielded_vm_config")
@property
@pulumi.getter(name="shieldedVmIntegrityPolicy")
def shielded_vm_integrity_policy(self) -> 'outputs.ShieldedVmIntegrityPolicyResponse':
"""
Deprecating, please use shielded_instance_integrity_policy.
"""
return pulumi.get(self, "shielded_vm_integrity_policy")
@property
@pulumi.getter(name="sourceMachineImage")
def source_machine_image(self) -> str:
"""
Source machine image
"""
return pulumi.get(self, "source_machine_image")
@property
@pulumi.getter(name="sourceMachineImageEncryptionKey")
def source_machine_image_encryption_key(self) -> 'outputs.CustomerEncryptionKeyResponse':
"""
Source machine image encryption key when creating an instance from a machine image.
"""
return pulumi.get(self, "source_machine_image_encryption_key")
@property
@pulumi.getter(name="startRestricted")
def start_restricted(self) -> bool:
"""
Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
"""
return pulumi.get(self, "start_restricted")
@property
@pulumi.getter
def status(self) -> str:
"""
The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
"""
return pulumi.get(self, "status")
@property
@pulumi.getter(name="statusMessage")
def status_message(self) -> str:
"""
An optional, human-readable explanation of the status.
"""
return pulumi.get(self, "status_message")
@property
@pulumi.getter
def tags(self) -> 'outputs.TagsResponse':
"""
Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
"""
return pulumi.get(self, "tags")
@property
@pulumi.getter(name="upcomingMaintenance")
def upcoming_maintenance(self) -> 'outputs.UpcomingMaintenanceResponse':
"""
Specifies upcoming maintenance for the instance.
"""
return pulumi.get(self, "upcoming_maintenance")
@property
@pulumi.getter
def zone(self) -> str:
"""
URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
"""
return pulumi.get(self, "zone")
class AwaitableGetInstanceResult(GetInstanceResult):
# pylint: disable=using-constant-test
def __await__(self):
if False:
yield self
return GetInstanceResult(
advanced_machine_features=self.advanced_machine_features,
can_ip_forward=self.can_ip_forward,
confidential_instance_config=self.confidential_instance_config,
cpu_platform=self.cpu_platform,
creation_timestamp=self.creation_timestamp,
deletion_protection=self.deletion_protection,
description=self.description,
disks=self.disks,
display_device=self.display_device,
erase_windows_vss_signature=self.erase_windows_vss_signature,
fingerprint=self.fingerprint,
guest_accelerators=self.guest_accelerators,
hostname=self.hostname,
instance_encryption_key=self.instance_encryption_key,
key_revocation_action_type=self.key_revocation_action_type,
kind=self.kind,
label_fingerprint=self.label_fingerprint,
labels=self.labels,
last_start_timestamp=self.last_start_timestamp,
last_stop_timestamp=self.last_stop_timestamp,
last_suspended_timestamp=self.last_suspended_timestamp,
machine_type=self.machine_type,
metadata=self.metadata,
min_cpu_platform=self.min_cpu_platform,
name=self.name,
network_interfaces=self.network_interfaces,
network_performance_config=self.network_performance_config,
params=self.params,
post_key_revocation_action_type=self.post_key_revocation_action_type,
preserved_state_size_gb=self.preserved_state_size_gb,
private_ipv6_google_access=self.private_ipv6_google_access,
reservation_affinity=self.reservation_affinity,
resource_policies=self.resource_policies,
resource_status=self.resource_status,
satisfies_pzs=self.satisfies_pzs,
scheduling=self.scheduling,
secure_tags=self.secure_tags,
self_link=self.self_link,
self_link_with_id=self.self_link_with_id,
service_accounts=self.service_accounts,
service_integration_specs=self.service_integration_specs,
shielded_instance_config=self.shielded_instance_config,
shielded_instance_integrity_policy=self.shielded_instance_integrity_policy,
shielded_vm_config=self.shielded_vm_config,
shielded_vm_integrity_policy=self.shielded_vm_integrity_policy,
source_machine_image=self.source_machine_image,
source_machine_image_encryption_key=self.source_machine_image_encryption_key,
start_restricted=self.start_restricted,
status=self.status,
status_message=self.status_message,
tags=self.tags,
upcoming_maintenance=self.upcoming_maintenance,
zone=self.zone)
def get_instance(instance: Optional[str] = None,
project: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
"""
Returns the specified Instance resource.
"""
__args__ = dict()
__args__['instance'] = instance
__args__['project'] = project
__args__['zone'] = zone
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
__ret__ = pulumi.runtime.invoke('google-native:compute/alpha:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
return AwaitableGetInstanceResult(
advanced_machine_features=pulumi.get(__ret__, 'advanced_machine_features'),
can_ip_forward=pulumi.get(__ret__, 'can_ip_forward'),
confidential_instance_config=pulumi.get(__ret__, 'confidential_instance_config'),
cpu_platform=pulumi.get(__ret__, 'cpu_platform'),
creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
deletion_protection=pulumi.get(__ret__, 'deletion_protection'),
description=pulumi.get(__ret__, 'description'),
disks=pulumi.get(__ret__, 'disks'),
display_device=pulumi.get(__ret__, 'display_device'),
erase_windows_vss_signature=pulumi.get(__ret__, 'erase_windows_vss_signature'),
fingerprint=pulumi.get(__ret__, 'fingerprint'),
guest_accelerators=pulumi.get(__ret__, 'guest_accelerators'),
hostname=pulumi.get(__ret__, 'hostname'),
instance_encryption_key=pulumi.get(__ret__, 'instance_encryption_key'),
key_revocation_action_type=pulumi.get(__ret__, 'key_revocation_action_type'),
kind=pulumi.get(__ret__, 'kind'),
label_fingerprint=pulumi.get(__ret__, 'label_fingerprint'),
labels=pulumi.get(__ret__, 'labels'),
last_start_timestamp=pulumi.get(__ret__, 'last_start_timestamp'),
last_stop_timestamp=pulumi.get(__ret__, 'last_stop_timestamp'),
last_suspended_timestamp=pulumi.get(__ret__, 'last_suspended_timestamp'),
machine_type=pulumi.get(__ret__, 'machine_type'),
metadata=pulumi.get(__ret__, 'metadata'),
min_cpu_platform=pulumi.get(__ret__, 'min_cpu_platform'),
name=pulumi.get(__ret__, 'name'),
network_interfaces=pulumi.get(__ret__, 'network_interfaces'),
network_performance_config=pulumi.get(__ret__, 'network_performance_config'),
params=pulumi.get(__ret__, 'params'),
post_key_revocation_action_type=pulumi.get(__ret__, 'post_key_revocation_action_type'),
preserved_state_size_gb=pulumi.get(__ret__, 'preserved_state_size_gb'),
private_ipv6_google_access=pulumi.get(__ret__, 'private_ipv6_google_access'),
reservation_affinity=pulumi.get(__ret__, 'reservation_affinity'),
resource_policies=pulumi.get(__ret__, 'resource_policies'),
resource_status=pulumi.get(__ret__, 'resource_status'),
satisfies_pzs=pulumi.get(__ret__, 'satisfies_pzs'),
scheduling=pulumi.get(__ret__, 'scheduling'),
secure_tags=pulumi.get(__ret__, 'secure_tags'),
self_link=pulumi.get(__ret__, 'self_link'),
self_link_with_id=pulumi.get(__ret__, 'self_link_with_id'),
service_accounts=pulumi.get(__ret__, 'service_accounts'),
service_integration_specs=pulumi.get(__ret__, 'service_integration_specs'),
shielded_instance_config=pulumi.get(__ret__, 'shielded_instance_config'),
shielded_instance_integrity_policy=pulumi.get(__ret__, 'shielded_instance_integrity_policy'),
shielded_vm_config=pulumi.get(__ret__, 'shielded_vm_config'),
shielded_vm_integrity_policy=pulumi.get(__ret__, 'shielded_vm_integrity_policy'),
source_machine_image=pulumi.get(__ret__, 'source_machine_image'),
source_machine_image_encryption_key=pulumi.get(__ret__, 'source_machine_image_encryption_key'),
start_restricted=pulumi.get(__ret__, 'start_restricted'),
status=pulumi.get(__ret__, 'status'),
status_message=pulumi.get(__ret__, 'status_message'),
tags=pulumi.get(__ret__, 'tags'),
upcoming_maintenance=pulumi.get(__ret__, 'upcoming_maintenance'),
zone=pulumi.get(__ret__, 'zone'))
@_utilities.lift_output_func(get_instance)
def get_instance_output(instance: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[Optional[str]]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]:
"""
Returns the specified Instance resource.
"""
...
| [
"[email protected]"
] | |
08e4b908921454b1ed2984ed5c4493b374a6b7a3 | 338dbd8788b019ab88f3c525cddc792dae45036b | /lib/python3.6/site-packages/statsmodels/sandbox/tsa/fftarma.py | 54db2ea0486db9b01e3be638e96691bc093c941d | [] | permissive | KshitizSharmaV/Quant_Platform_Python | 9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3 | d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39 | refs/heads/master | 2022-12-10T11:37:19.212916 | 2019-07-09T20:05:39 | 2019-07-09T20:05:39 | 196,073,658 | 1 | 2 | BSD-3-Clause | 2022-11-27T18:30:16 | 2019-07-09T19:48:26 | Python | UTF-8 | Python | false | false | 16,335 | py | # -*- coding: utf-8 -*-
"""
Created on Mon Dec 14 19:53:25 2009
Author: josef-pktd
generate arma sample using fft with all the lfilter it looks slow
to get the ma representation first
apply arma filter (in ar representation) to time series to get white noise
but seems slow to be useful for fast estimation for nobs=10000
change/check: instead of using marep, use fft-transform of ar and ma
separately, use ratio check theory is correct and example works
DONE : feels much faster than lfilter
-> use for estimation of ARMA
-> use pade (scipy.misc) approximation to get starting polynomial
from autocorrelation (is autocorrelation of AR(p) related to marep?)
check if pade is fast, not for larger arrays ?
maybe pade doesn't do the right thing for this, not tried yet
scipy.pade([ 1. , 0.6, 0.25, 0.125, 0.0625, 0.1],2)
raises LinAlgError: singular matrix
also doesn't have roots inside unit circle ??
-> even without initialization, it might be fast for estimation
-> how do I enforce stationarity and invertibility,
need helper function
get function drop imag if close to zero from numpy/scipy source, where?
"""
from __future__ import print_function
import numpy as np
import numpy.fft as fft
#import scipy.fftpack as fft
from scipy import signal
#from try_var_convolve import maxabs
from statsmodels.tsa.arima_process import ArmaProcess
#trying to convert old experiments to a class
class ArmaFft(ArmaProcess):
'''fft tools for arma processes
This class contains several methods that are providing the same or similar
returns to try out and test different implementations.
Notes
-----
TODO:
check whether we don't want to fix maxlags, and create new instance if
maxlag changes. usage for different lengths of timeseries ?
or fix frequency and length for fft
check default frequencies w, terminology norw n_or_w
some ffts are currently done without padding with zeros
returns for spectral density methods needs checking, is it always the power
spectrum hw*hw.conj()
normalization of the power spectrum, spectral density: not checked yet, for
example no variance of underlying process is used
'''
def __init__(self, ar, ma, n):
#duplicates now that are subclassing ArmaProcess
super(ArmaFft, self).__init__(ar, ma)
self.ar = np.asarray(ar)
self.ma = np.asarray(ma)
self.nobs = n
#could make the polynomials into cached attributes
self.arpoly = np.polynomial.Polynomial(ar)
self.mapoly = np.polynomial.Polynomial(ma)
self.nar = len(ar) #1d only currently
self.nma = len(ma)
def padarr(self, arr, maxlag, atend=True):
'''pad 1d array with zeros at end to have length maxlag
function that is a method, no self used
Parameters
----------
arr : array_like, 1d
array that will be padded with zeros
maxlag : int
length of array after padding
atend : boolean
If True (default), then the zeros are added to the end, otherwise
to the front of the array
Returns
-------
arrp : ndarray
zero-padded array
Notes
-----
This is mainly written to extend coefficient arrays for the lag-polynomials.
It returns a copy.
'''
if atend:
return np.r_[arr, np.zeros(maxlag-len(arr))]
else:
return np.r_[np.zeros(maxlag-len(arr)), arr]
def pad(self, maxlag):
'''construct AR and MA polynomials that are zero-padded to a common length
Parameters
----------
maxlag : int
new length of lag-polynomials
Returns
-------
ar : ndarray
extended AR polynomial coefficients
ma : ndarray
extended AR polynomial coefficients
'''
arpad = np.r_[self.ar, np.zeros(maxlag-self.nar)]
mapad = np.r_[self.ma, np.zeros(maxlag-self.nma)]
return arpad, mapad
def fftar(self, n=None):
'''Fourier transform of AR polynomial, zero-padded at end to n
Parameters
----------
n : int
length of array after zero-padding
Returns
-------
fftar : ndarray
fft of zero-padded ar polynomial
'''
if n is None:
n = len(self.ar)
return fft.fft(self.padarr(self.ar, n))
def fftma(self, n):
'''Fourier transform of MA polynomial, zero-padded at end to n
Parameters
----------
n : int
length of array after zero-padding
Returns
-------
fftar : ndarray
fft of zero-padded ar polynomial
'''
if n is None:
n = len(self.ar)
return fft.fft(self.padarr(self.ma, n))
def fftarma(self, n=None):
'''Fourier transform of ARMA polynomial, zero-padded at end to n
The Fourier transform of the ARMA process is calculated as the ratio
of the fft of the MA polynomial divided by the fft of the AR polynomial.
Parameters
----------
n : int
length of array after zero-padding
Returns
-------
fftarma : ndarray
fft of zero-padded arma polynomial
'''
if n is None:
n = self.nobs
return (self.fftma(n) / self.fftar(n))
def spd(self, npos):
'''raw spectral density, returns Fourier transform
n is number of points in positive spectrum, the actual number of points
is twice as large. different from other spd methods with fft
'''
n = npos
w = fft.fftfreq(2*n) * 2 * np.pi
hw = self.fftarma(2*n) #not sure, need to check normalization
#return (hw*hw.conj()).real[n//2-1:] * 0.5 / np.pi #doesn't show in plot
return (hw*hw.conj()).real * 0.5 / np.pi, w
def spdshift(self, n):
'''power spectral density using fftshift
currently returns two-sided according to fft frequencies, use first half
'''
#size = s1+s2-1
mapadded = self.padarr(self.ma, n)
arpadded = self.padarr(self.ar, n)
hw = fft.fft(fft.fftshift(mapadded)) / fft.fft(fft.fftshift(arpadded))
#return np.abs(spd)[n//2-1:]
w = fft.fftfreq(n) * 2 * np.pi
wslice = slice(n//2-1, None, None)
#return (hw*hw.conj()).real[wslice], w[wslice]
return (hw*hw.conj()).real, w
def spddirect(self, n):
'''power spectral density using padding to length n done by fft
currently returns two-sided according to fft frequencies, use first half
'''
#size = s1+s2-1
#abs looks wrong
hw = fft.fft(self.ma, n) / fft.fft(self.ar, n)
w = fft.fftfreq(n) * 2 * np.pi
wslice = slice(None, n//2, None)
#return (np.abs(hw)**2)[wslice], w[wslice]
return (np.abs(hw)**2) * 0.5/np.pi, w
def _spddirect2(self, n):
'''this looks bad, maybe with an fftshift
'''
#size = s1+s2-1
hw = (fft.fft(np.r_[self.ma[::-1],self.ma], n)
/ fft.fft(np.r_[self.ar[::-1],self.ar], n))
return (hw*hw.conj()) #.real[n//2-1:]
def spdroots(self, w):
'''spectral density for frequency using polynomial roots
builds two arrays (number of roots, number of frequencies)
'''
return self._spdroots(self.arroots, self.maroots, w)
def _spdroots(self, arroots, maroots, w):
'''spectral density for frequency using polynomial roots
builds two arrays (number of roots, number of frequencies)
Parameters
----------
arroots : ndarray
roots of ar (denominator) lag-polynomial
maroots : ndarray
roots of ma (numerator) lag-polynomial
w : array_like
frequencies for which spd is calculated
Notes
-----
this should go into a function
'''
w = np.atleast_2d(w).T
cosw = np.cos(w)
#Greene 5th edt. p626, section 20.2.7.a.
maroots = 1./maroots
arroots = 1./arroots
num = 1 + maroots**2 - 2* maroots * cosw
den = 1 + arroots**2 - 2* arroots * cosw
#print 'num.shape, den.shape', num.shape, den.shape
hw = 0.5 / np.pi * num.prod(-1) / den.prod(-1) #or use expsumlog
return np.squeeze(hw), w.squeeze()
def spdpoly(self, w, nma=50):
'''spectral density from MA polynomial representation for ARMA process
References
----------
Cochrane, section 8.3.3
'''
mpoly = np.polynomial.Polynomial(self.arma2ma(nma))
hw = mpoly(np.exp(1j * w))
spd = np.real_if_close(hw * hw.conj() * 0.5/np.pi)
return spd, w
def filter(self, x):
'''
filter a timeseries with the ARMA filter
padding with zero is missing, in example I needed the padding to get
initial conditions identical to direct filter
Initial filtered observations differ from filter2 and signal.lfilter, but
at end they are the same.
See Also
--------
tsa.filters.fftconvolve
'''
n = x.shape[0]
if n == self.fftarma:
fftarma = self.fftarma
else:
fftarma = self.fftma(n) / self.fftar(n)
tmpfft = fftarma * fft.fft(x)
return fft.ifft(tmpfft)
def filter2(self, x, pad=0):
'''filter a time series using fftconvolve3 with ARMA filter
padding of x currently works only if x is 1d
in example it produces same observations at beginning as lfilter even
without padding.
TODO: this returns 1 additional observation at the end
'''
from statsmodels.tsa.filters import fftconvolve3
if not pad:
pass
elif pad == 'auto':
#just guessing how much padding
x = self.padarr(x, x.shape[0] + 2*(self.nma+self.nar), atend=False)
else:
x = self.padarr(x, x.shape[0] + int(pad), atend=False)
return fftconvolve3(x, self.ma, self.ar)
def acf2spdfreq(self, acovf, nfreq=100, w=None):
'''
not really a method
just for comparison, not efficient for large n or long acf
this is also similarly use in tsa.stattools.periodogram with window
'''
if w is None:
w = np.linspace(0, np.pi, nfreq)[:, None]
nac = len(acovf)
hw = 0.5 / np.pi * (acovf[0] +
2 * (acovf[1:] * np.cos(w*np.arange(1,nac))).sum(1))
return hw
def invpowerspd(self, n):
'''autocovariance from spectral density
scaling is correct, but n needs to be large for numerical accuracy
maybe padding with zero in fft would be faster
without slicing it returns 2-sided autocovariance with fftshift
>>> ArmaFft([1, -0.5], [1., 0.4], 40).invpowerspd(2**8)[:10]
array([ 2.08 , 1.44 , 0.72 , 0.36 , 0.18 , 0.09 ,
0.045 , 0.0225 , 0.01125 , 0.005625])
>>> ArmaFft([1, -0.5], [1., 0.4], 40).acovf(10)
array([ 2.08 , 1.44 , 0.72 , 0.36 , 0.18 , 0.09 ,
0.045 , 0.0225 , 0.01125 , 0.005625])
'''
hw = self.fftarma(n)
return np.real_if_close(fft.ifft(hw*hw.conj()), tol=200)[:n]
def spdmapoly(self, w, twosided=False):
'''ma only, need division for ar, use LagPolynomial
'''
if w is None:
w = np.linspace(0, np.pi, nfreq)
return 0.5 / np.pi * self.mapoly(np.exp(w*1j))
def plot4(self, fig=None, nobs=100, nacf=20, nfreq=100):
"""Plot results"""
rvs = self.generate_sample(nsample=100, burnin=500)
acf = self.acf(nacf)[:nacf] #TODO: check return length
pacf = self.pacf(nacf)
w = np.linspace(0, np.pi, nfreq)
spdr, wr = self.spdroots(w)
if fig is None:
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(2,2,1)
ax.plot(rvs)
ax.set_title('Random Sample \nar=%s, ma=%s' % (self.ar, self.ma))
ax = fig.add_subplot(2,2,2)
ax.plot(acf)
ax.set_title('Autocorrelation \nar=%s, ma=%rs' % (self.ar, self.ma))
ax = fig.add_subplot(2,2,3)
ax.plot(wr, spdr)
ax.set_title('Power Spectrum \nar=%s, ma=%s' % (self.ar, self.ma))
ax = fig.add_subplot(2,2,4)
ax.plot(pacf)
ax.set_title('Partial Autocorrelation \nar=%s, ma=%s' % (self.ar, self.ma))
return fig
def spdar1(ar, w):
if np.ndim(ar) == 0:
rho = ar
else:
rho = -ar[1]
return 0.5 / np.pi /(1 + rho*rho - 2 * rho * np.cos(w))
if __name__ == '__main__':
def maxabs(x,y):
return np.max(np.abs(x-y))
nobs = 200 #10000
ar = [1, 0.0]
ma = [1, 0.0]
ar2 = np.zeros(nobs)
ar2[:2] = [1, -0.9]
uni = np.zeros(nobs)
uni[0]=1.
#arrep = signal.lfilter(ma, ar, ar2)
#marep = signal.lfilter([1],arrep, uni)
# same faster:
arcomb = np.convolve(ar, ar2, mode='same')
marep = signal.lfilter(ma,arcomb, uni) #[len(ma):]
print(marep[:10])
mafr = fft.fft(marep)
rvs = np.random.normal(size=nobs)
datafr = fft.fft(rvs)
y = fft.ifft(mafr*datafr)
print(np.corrcoef(np.c_[y[2:], y[1:-1], y[:-2]],rowvar=0))
arrep = signal.lfilter([1],marep, uni)
print(arrep[:20]) # roundtrip to ar
arfr = fft.fft(arrep)
yfr = fft.fft(y)
x = fft.ifft(arfr*yfr).real #imag part is e-15
# the next two are equal, roundtrip works
print(x[:5])
print(rvs[:5])
print(np.corrcoef(np.c_[x[2:], x[1:-1], x[:-2]],rowvar=0))
# ARMA filter using fft with ratio of fft of ma/ar lag polynomial
# seems much faster than using lfilter
#padding, note arcomb is already full length
arcombp = np.zeros(nobs)
arcombp[:len(arcomb)] = arcomb
map_ = np.zeros(nobs) #rename: map was shadowing builtin
map_[:len(ma)] = ma
ar0fr = fft.fft(arcombp)
ma0fr = fft.fft(map_)
y2 = fft.ifft(ma0fr/ar0fr*datafr)
#the next two are (almost) equal in real part, almost zero but different in imag
print(y2[:10])
print(y[:10])
print(maxabs(y, y2)) # from chfdiscrete
#1.1282071239631782e-014
ar = [1, -0.4]
ma = [1, 0.2]
arma1 = ArmaFft([1, -0.5,0,0,0,00, -0.7, 0.3], [1, 0.8], nobs)
nfreq = nobs
w = np.linspace(0, np.pi, nfreq)
w2 = np.linspace(0, 2*np.pi, nfreq)
import matplotlib.pyplot as plt
plt.close('all')
plt.figure()
spd1, w1 = arma1.spd(2**10)
print(spd1.shape)
_ = plt.plot(spd1)
plt.title('spd fft complex')
plt.figure()
spd2, w2 = arma1.spdshift(2**10)
print(spd2.shape)
_ = plt.plot(w2, spd2)
plt.title('spd fft shift')
plt.figure()
spd3, w3 = arma1.spddirect(2**10)
print(spd3.shape)
_ = plt.plot(w3, spd3)
plt.title('spd fft direct')
plt.figure()
spd3b = arma1._spddirect2(2**10)
print(spd3b.shape)
_ = plt.plot(spd3b)
plt.title('spd fft direct mirrored')
plt.figure()
spdr, wr = arma1.spdroots(w)
print(spdr.shape)
plt.plot(w, spdr)
plt.title('spd from roots')
plt.figure()
spdar1_ = spdar1(arma1.ar, w)
print(spdar1_.shape)
_ = plt.plot(w, spdar1_)
plt.title('spd ar1')
plt.figure()
wper, spdper = arma1.periodogram(nfreq)
print(spdper.shape)
_ = plt.plot(w, spdper)
plt.title('periodogram')
startup = 1000
rvs = arma1.generate_sample(startup+10000)[startup:]
import matplotlib.mlab as mlb
plt.figure()
sdm, wm = mlb.psd(x)
print('sdm.shape', sdm.shape)
sdm = sdm.ravel()
plt.plot(wm, sdm)
plt.title('matplotlib')
from nitime.algorithms import LD_AR_est
#yule_AR_est(s, order, Nfreqs)
wnt, spdnt = LD_AR_est(rvs, 10, 512)
plt.figure()
print('spdnt.shape', spdnt.shape)
_ = plt.plot(spdnt.ravel())
print(spdnt[:10])
plt.title('nitime')
fig = plt.figure()
arma1.plot4(fig)
#plt.show()
| [
"[email protected]"
] | |
1fd9cb664f5134da8db15234569fa205c72d68cd | 6e43937c521b841595fbe7f59268ffc72dfefa9d | /GSP_WEB/models/Rules_Profile.py | 05a544c4b0aea61d71c641a0c7dd1bae6331d794 | [] | no_license | MiscCoding/gsp_web | a5e50ce7591157510021cae49c6b2994f4eaabbe | a24e319974021ba668c5f8b4000ce96d81d1483e | refs/heads/master | 2020-03-28T15:11:30.301700 | 2019-08-12T04:47:42 | 2019-08-12T04:47:42 | 148,565,440 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,491 | py | import datetime
from GSP_WEB import db
from GSP_WEB.common.encoder.alchemyEncoder import Serializer
from GSP_WEB.models.CommonCode import CommonCode
from GSP_WEB.models.Rules_Profile_Group import Rules_Profile_Group
class Rules_Profile(db.Model, Serializer):
__table_args__ = {"schema": "GSP_WEB"}
__tablename__ = 'Rules_Profile'
# region parameter input
seq = db.Column(db.Integer, primary_key=True, autoincrement=True)
name = db.Column(db.String(500) )
description = db.Column(db.String(2000))
pattern_ui = db.Column(db.String(2000))
pattern_query = db.Column(db.String(2000))
pattern_operation = db.Column(db.String(2000))
cre_dt = db.Column(db.DateTime, default=datetime.datetime.now())
del_yn = db.Column(db.String(1), default='N')
group_code = db.Column(db.Integer )
def __init__(self ):
return
def __repr__(self):
return '<Rules_Profile %r>' % (self.seq)
def serialize(self):
d = Serializer.serialize(self)
d['cre_dt'] = self.cre_dt.strftime("%Y-%m-%d")
if self.group_code is not None:
group = Rules_Profile_Group.query.filter_by(seq = self.group_code).first()
d['group_name'] =group.name
else:
d['group_name'] = ''
#del d['pattern_ui']
return d
@property
def search_tag_list(self):
if (self.search_tag is not None):
return self.search_tag.split(',')
else:
return ''
| [
"[email protected]"
] | |
5675cb3c40ed91aceaa094e02bd0ce9091b25a2b | 3aadc6b71d6ba34b02bf9ec0863e7dbfb9d6b07e | /ThiKetThucHocPhan/On_Thi/OnTrongSlide/Chuong7/7.4.py | 8b312abfe740f8e6f980d8edb2b32473f7d45068 | [] | no_license | quocnguyen5/Co_So_Lap_Trinh_DUE_MIS3001_46K21.3 | cf7131a9bd5eccbbd9fe5731497ad21bf3c3c087 | 7ab03cbd30c67eb6f50a794975fe32b1e7beb123 | refs/heads/main | 2023-07-24T03:16:25.320600 | 2021-08-30T03:43:02 | 2021-08-30T03:43:02 | 400,797,629 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 79 | py | s = input()
s = s.split(',')
s = list(set(s))
s.sort()
print(','.join(s))
| [
"[email protected]"
] | |
098a9bcd210e2cd68504ce525cfb2dde7b1c958b | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03103/s952732705.py | 6cc3a3a2c52754509a032f9bba9419110d4a1551 | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 608 | py | import sys
sys.setrecursionlimit(10 ** 8)
ini = lambda: int(sys.stdin.readline())
inm = lambda: map(int, sys.stdin.readline().split())
inl = lambda: list(inm())
ins = lambda: sys.stdin.readline().rstrip()
debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw))
N, M = inm()
prices = []
for i in range(N):
a, b = inm()
prices.append((a, b))
prices.sort()
def solve():
cnt = 0
amount = 0
for a, b in prices:
x = min(b, M - cnt)
amount += x * a
cnt += x
if cnt >= M:
break
return amount
print(solve())
| [
"[email protected]"
] | |
55425031853ed25baa8a4ce17c10bf59652f7cf1 | 1fcdccf5d651b60bfe906f2ddafd6745f4e29860 | /nufeeb.button/finance/test_paynoteCase.py | 7b0d9c5876534caf09256eb3d4ed432dffe7a1bb | [] | no_license | LimXS/workspace | 6728d6517a764ef2ac8d47fe784c4dba937a1f1d | 9669d653f4a7723947da645de526f4c580ddc88b | refs/heads/master | 2021-01-21T06:39:14.126933 | 2017-04-14T03:24:36 | 2017-04-14T03:24:36 | 83,257,374 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,145 | py | #*-* coding:UTF-8 *-*
import time
import re
import datetime
import unittest
import xml.dom.minidom
import traceback
import requests
import json
from common import browserClass
browser=browserClass.browser()
class paynoteTest(unittest.TestCase):
u'''财务-付款单'''
def setUp(self):
self.driver=browser.startBrowser('chrome')
browser.set_up(self.driver)
cookie = [item["name"] + "=" + item["value"] for item in self.driver.get_cookies()]
#print cookie
self.cookiestr = ';'.join(item for item in cookie)
time.sleep(2)
pass
def tearDown(self):
print "test over"
self.driver.close()
pass
def test_payNote(self):
u'''财务-付款单'''
#零售出库单要在第一个
header={'cookie':self.cookiestr,"Content-Type": "application/json"}
comdom=xml.dom.minidom.parse(r'C:\workspace\nufeeb.button\data\commonlocation')
dom = xml.dom.minidom.parse(r'C:\workspace\nufeeb.button\finance\financelocation')
dom2 = xml.dom.minidom.parse(r'C:\workspace\nufeeb.button\stock\stocklocation')
module=browser.xmlRead(dom,'module',0)
moduledetail=browser.xmlRead(dom,'moduledetail',6)
browser.openModule2(self.driver,module,moduledetail)
#页面id
pageurl=browser.xmlRead(dom,"payurl",0)
pageid=browser.getalertid(pageurl,header)
#print pageid
commid=browser.getallcommonid(comdom)
try:
#付款账户名称
itemgrid=browser.xmlRead(dom2,"itemgrid",0)
payxpath=commid["basetype"]+pageid+itemgrid+str(4)+"]"
browser.findXpath(self.driver,payxpath).click()
paygridid=pageid+commid["grid_fullname"]
whichjs="$(\"div[class=GridBodyCellText]:contains('全部银行存款')\").attr(\"id\",\"allbankacc\")"
browser.nebecompany(self.driver,paygridid,whichjs)
#金额
paymonxpath=commid["basetype"]+pageid+itemgrid+str(5)+"]"
browser.findXpath(self.driver,paymonxpath).click()
pamonid=pageid+commid["grid_total"]
browser.findId(self.driver,pamonid).send_keys("8.88")
#收款单位
payid=pageid+browser.xmlRead(dom2,'edBType',0)
#print payid
browser.delaytime(3,self.driver)
browser.nebecompany(self.driver,payid)
#经手人
peoid=pageid+browser.xmlRead(dom2,'edEType',0)
browser.peoplesel(self.driver,peoid,1)
#部门
depid=pageid+browser.xmlRead(dom2,'edDept',0)
browser.passpeople(self.driver,depid)
#摘要
summid=pageid+browser.xmlRead(dom2,'edSummary',0)
browser.findId(self.driver,summid).send_keys(u"finance paynote summary中文蘩軆饕餮!@#¥%……&*()?; 。.")
#附加说明
commentid=pageid+browser.xmlRead(dom2,'edComment',0)
browser.findId(self.driver,commentid).send_keys(u"中文蘩軆饕餮!@#¥%……&*()?; 。.finance paynote commentid")
#配置>>
configid=pageid+browser.xmlRead(dom2,'btnMore',0)
jsentype="$(\"td[class=MenuCaption]:contains('结算方式配置')\").last().click()"
jsconbil="$(\"td[class=MenuCaption]:contains('录单配置')\").last().click()"
browser.contype(self.driver,configid,jsentype,jsconbil)
#保存退出
saexid=pageid+commid["selclose"]
browser.delaytime(1)
browser.savedraftexit(self.driver,saexid,payxpath,paygridid,1)
browser.openModule2(self.driver,module,moduledetail)
except:
print traceback.format_exc()
filename=browser.xmlRead(dom,'filename',0)
#print filename+u"常用-单据草稿.png"
#browser.getpicture(self.driver,filename+u"notedraft.png")
browser.getpicture(self.driver,filename+u"财务-付款单.png")
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()
| [
"[email protected]"
] | |
084704ff72a4087136cdc26b7ef9452bfde9172a | bfaf64c553eb43684970fb3916eedaafbecf0506 | /Player/set10/odd_sum.py | cac3e4392f920356746d1a76fcc65f7a3dfa9430 | [] | no_license | santhoshbabu4546/GUVI-9 | 879e65df0df6fafcc07166b2eaecf676ba9807a2 | b9bfa4b0fa768e70c8d3f40b11dd1bcc23692a49 | refs/heads/master | 2022-01-24T15:22:34.457564 | 2019-07-21T14:20:35 | 2019-07-21T14:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | a1 = list(map(int,input().split()))
x=a1[0]
if a1[0]%2 == 0:
x=a1[0]+1
a=0
for i in range(x,a1[1],2):
a = a+i
print(a)
| [
"[email protected]"
] | |
34af985ebd1a1b309b782852a6283a23f119881f | 21fec19cb8f74885cf8b59e7b07d1cd659735f6c | /chapter_13/downloadflat_modular.py | d503d2092813c06d23edd5a97edb3ee6bca8861d | [
"MIT"
] | permissive | bimri/programming_python | ec77e875b9393179fdfb6cbc792b3babbdf7efbe | ba52ccd18b9b4e6c5387bf4032f381ae816b5e77 | refs/heads/master | 2023-09-02T12:21:11.898011 | 2021-10-26T22:32:34 | 2021-10-26T22:32:34 | 394,783,307 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,428 | py | "Refactoring Uploads and Downloads for Reuse"
'Refactoring with functions'
#!/usr/bin/env python
"""
##############################################################################
use FTP to copy (download) all files from a remote site and directory
to a directory on the local machine; this version works the same, but has
been refactored to wrap up its code in functions that can be reused by the
uploader, and possibly other programs in the future - else code redundancy,
which may make the two diverge over time, and can double maintenance costs.
##############################################################################
"""
import os, sys, ftplib
from getpass import getpass
from mimetypes import guess_type, add_type
defaultSite = 'home.rmi.net'
defaultRdir = '.'
defaultUser = 'lutz'
def configTransfer(site=defaultSite, rdir=defaultRdir, user=defaultUser):
"""
get upload or download parameters
uses a class due to the large number
"""
class cf: pass
cf.nonpassive = False # passive FTP on by default in 2.1+
cf.remotesite = site # transfer to/from this site
cf.remotedir = rdir # and this dir ('.' means acct root)
cf.remoteuser = user
cf.localdir = (len(sys.argv) > 1 and sys.argv[1]) or '.'
cf.cleanall = input('Clean target directory first? ')[:1] in ['y','Y']
cf.remotepass = getpass(
'Password for %s on %s:' % (cf.remoteuser, cf.remotesite))
return cf
def isTextKind(remotename, trace=True):
"""
use mimetype to guess if filename means text or binary
for 'f.html, guess is ('text/html', None): text
for 'f.jpeg' guess is ('image/jpeg', None): binary
for 'f.txt.gz' guess is ('text/plain', 'gzip'): binary
for unknowns, guess may be (None, None): binary
mimetype can also guess name from type: see PyMailGUI
"""
add_type('text/x-python-win', '.pyw') # not in tables
mimetype, encoding = guess_type(remotename, strict=False) # allow extras
mimetype = mimetype or '?/?' # type unknown?
maintype = mimetype.split('/')[0] # get first part
if trace: print(maintype, encoding or '')
return maintype == 'text' and encoding == None # not compressed
def connectFtp(cf):
print('connecting...')
connection = ftplib.FTP(cf.remotesite) # connect to FTP site
connection.login(cf.remoteuser, cf.remotepass) # log in as user/password
connection.cwd(cf.remotedir) # cd to directory to xfer
if cf.nonpassive: # force active mode FTP
connection.set_pasv(False) # most servers do passive
return connection
def cleanLocals(cf):
"""
try to delete all locals files first to remove garbage
"""
if cf.cleanall:
for localname in os.listdir(cf.localdir): # local dirlisting
try: # local file delete
print('deleting local', localname)
os.remove(os.path.join(cf.localdir, localname))
except:
print('cannot delete local', localname)
def downloadAll(cf, connection):
"""
download all files from remote site/dir per cf config
ftp nlst() gives files list, dir() gives full details
"""
remotefiles = connection.nlst() # nlst is remote listing
for remotename in remotefiles:
if remotename in ('.', '..'): continue
localpath = os.path.join(cf.localdir, remotename)
print('downloading', remotename, 'to', localpath, 'as', end=' ')
if isTextKind(remotename):
# use text mode xfer
localfile = open(localpath, 'w', encoding=connection.encoding)
def callback(line): localfile.write(line + '\n')
connection.retrlines('RETR ' + remotename, callback)
else:
# use binary mode xfer
localfile = open(localpath, 'wb')
connection.retrbinary('RETR ' + remotename, localfile.write)
localfile.close()
connection.quit()
print('Done:', len(remotefiles), 'files downloaded.')
if __name__ == '__main__':
cf = configTransfer()
conn = connectFtp(cf)
cleanLocals(cf) # don't delete if can't connect
downloadAll(cf, conn)
| [
"[email protected]"
] | |
f36324c40758f9f90f0d236308b012e5b49fca9a | 2710355e4f7d3373117b9068c720047820d6f83b | /toucans/settings/storage_backends.py | 5f76be51b68a04842864f4dd1a03638691a4fc94 | [
"MIT"
] | permissive | davidjrichardson/toucans | a28901b62dbfc4a2c8c4edc425ded0174909be3e | 2c6c216a0e8d23a97f55a973bfe01d8f386ed6d1 | refs/heads/main | 2023-08-24T01:02:10.439566 | 2023-06-21T19:48:15 | 2023-06-21T19:48:15 | 156,083,027 | 2 | 0 | MIT | 2023-07-19T22:59:05 | 2018-11-04T13:06:53 | Python | UTF-8 | Python | false | false | 487 | py |
from storages.backends.s3boto3 import S3Boto3Storage
from storages.utils import setting
class StaticStorage(S3Boto3Storage):
location = 'static'
default_acl = 'public-read'
custom_domain=f'{setting("AWS_S3_CUSTOM_DOMAIN")}/{setting("AWS_STORAGE_BUCKET_NAME")}'
class MediaStorage(S3Boto3Storage):
location = 'media'
default_acl = 'public-read'
custom_domain=f'{setting("AWS_S3_CUSTOM_DOMAIN")}/{setting("AWS_STORAGE_BUCKET_NAME")}'
file_overwrite = False
| [
"[email protected]"
] | |
9c6b47bff504e60100554e078d241329bf2401b9 | a3385f7636ceb232e97ae30badee0ba9145138f8 | /egs/yomdle_tamil/v1/local/yomdle/normalized_scoring/utils/insert_empty_hyp.py | fa9e51e38fc8e17241088333d35bf49e3a27dd14 | [
"Apache-2.0"
] | permissive | samsucik/prosodic-lid-globalphone | b6a6ccdcece11d834fc89abaa51031fc9f9e37e1 | ca6a8e855441410ab85326d27b0f0076d48d3f33 | refs/heads/master | 2022-11-29T09:17:24.753115 | 2021-02-03T18:17:16 | 2021-02-03T18:17:16 | 149,014,872 | 3 | 2 | Apache-2.0 | 2022-09-23T22:17:01 | 2018-09-16T16:38:53 | Shell | UTF-8 | Python | false | false | 947 | py | #!/usr/bin/env python3
""" This script adds ids with empty utterance. It is used during scoring
in cases where some of the reference ids are missing in the hypothesis.
Eg. insert_empty_hyp.py <ids-to-insert> <in-hyp-file> <out-hyp-file>
"""
import sys
from snor import SnorIter
if len(sys.argv) != 4:
print("Usage: insert_empty_hyp.py <ids-to-insert> <in-hyp-file> <out-hyp-file>")
sys.exit(1)
ids_file = sys.argv[1]
hyp_in_file = sys.argv[2]
hyp_out_file = sys.argv[3]
def main():
with open(hyp_in_file, 'r', encoding='utf-8') as hyp_in_fh, open(hyp_out_file, 'w', encoding='utf-8') as hyp_out_fh, open(ids_file, 'r') as ids_fh:
# First just copy input hyp file over
for line in hyp_in_fh:
hyp_out_fh.write(line)
# Now add missing ids
for line in ids_fh:
uttid = line.strip()
hyp_out_fh.write("(%s)\n" % uttid)
if __name__ == "__main__":
main()
| [
"[email protected]"
] | |
59afd2d55b472e87a9346c8c4fa47a53e678e473 | bfce2d5ae36e410bfd10fc98c2d6ea594f51cc81 | /tests/test_backup.py | b6f0666dfc29ee49429269d56d9f30388e24d0d5 | [
"Apache-2.0"
] | permissive | simonw/datasette-backup | 1ce4ddba3fd87a03c68064637a72851dba468264 | b69eb953c480a0de189cb532aaf699d7cb831f47 | refs/heads/main | 2022-12-11T14:05:26.501414 | 2020-09-07T02:26:42 | 2020-09-07T02:26:42 | 293,164,447 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,493 | py | from datasette.app import Datasette
import pytest
import sqlite_utils
import sqlite3
import textwrap
import httpx
@pytest.fixture(scope="session")
def ds(tmp_path_factory):
db_directory = tmp_path_factory.mktemp("dbs")
db_path = db_directory / "test.db"
db = sqlite_utils.Database(db_path)
db["dogs"].insert_all(
[{"id": 1, "name": "Cleo", "age": 5}, {"id": 2, "name": "Pancakes", "age": 4}],
pk="id",
)
return Datasette([str(db_path)])
@pytest.mark.asyncio
async def test_plugin_is_installed():
app = Datasette([], memory=True).app()
async with httpx.AsyncClient(app=app) as client:
response = await client.get("http://localhost/-/plugins.json")
assert 200 == response.status_code
installed_plugins = {p["name"] for p in response.json()}
assert "datasette-backup" in installed_plugins
@pytest.mark.asyncio
async def test_backup_sql(ds):
async with httpx.AsyncClient(app=ds.app()) as client:
assert (
await client.get("http://localhost/-/backup/nope.sql")
).status_code == 404
response = await client.get("http://localhost/-/backup/test.sql")
assert response.status_code == 200
assert (
response.text.strip()
== textwrap.dedent(
"""
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS [dogs] (
[id] INTEGER PRIMARY KEY,
[name] TEXT,
[age] INTEGER
);
INSERT INTO "dogs" VALUES(1,'Cleo',5);
INSERT INTO "dogs" VALUES(2,'Pancakes',4);
COMMIT;
"""
).strip()
)
@pytest.mark.asyncio
async def test_backup_sql_fts(tmpdir):
db_path = str(tmpdir / "fts.db")
db = sqlite_utils.Database(db_path)
db["dogs"].insert_all(
[{"id": 1, "name": "Cleo", "age": 5}, {"id": 2, "name": "Pancakes", "age": 4}],
pk="id",
)
db["dogs"].enable_fts(["name"])
ds = Datasette([db_path])
async with httpx.AsyncClient(app=ds.app()) as client:
response = await client.get("http://localhost/-/backup/fts.sql")
assert response.status_code == 200
restore_db_path = str(tmpdir / "restore.db")
sqlite3.connect(restore_db_path).executescript(response.text)
restore_db = sqlite_utils.Database(restore_db_path)
assert restore_db["dogs"].detect_fts() == "dogs_fts"
assert restore_db["dogs_fts"].schema.startswith(
"CREATE VIRTUAL TABLE [dogs_fts] USING FTS"
)
| [
"[email protected]"
] | |
c65555664c118f4f7e9c30a944ba6a89687eec69 | 4ae3b27a1d782ae43bc786c841cafb3ace212d55 | /venv/Scripts/easy_install-3.7-script.py | 4f1e5d2c2ebc9027f6096ed17ba4cb11650561dc | [] | no_license | bopopescu/Py_projects | c9084efa5aa02fd9ff6ed8ac5c7872fedcf53e32 | a2fe4f198e3ca4026cf2e3e429ac09707d5a19de | refs/heads/master | 2022-09-29T20:50:57.354678 | 2020-04-28T05:23:14 | 2020-04-28T05:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 455 | py | #!C:\Users\jsun\Documents\Py_projects\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7'
__requires__ = 'setuptools==39.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==39.1.0', 'console_scripts', 'easy_install-3.7')()
)
| [
"[email protected]"
] | |
5408a1ccd1e327fe36da7283fa3e809507856721 | f80ef3a3cf859b13e8af8433af549b6b1043bf6e | /pyobjc-framework-libdispatch/PyObjCTest/test_base.py | 85cf9ec761ff0b1d92241fae7f27b1101baf4aa2 | [
"MIT"
] | permissive | ronaldoussoren/pyobjc | 29dc9ca0af838a56105a9ddd62fb38ec415f0b86 | 77b98382e52818690449111cd2e23cd469b53cf5 | refs/heads/master | 2023-09-01T05:15:21.814504 | 2023-06-13T20:00:17 | 2023-06-13T20:00:17 | 243,933,900 | 439 | 49 | null | 2023-06-25T02:49:07 | 2020-02-29T08:43:12 | Python | UTF-8 | Python | false | false | 190 | py | import dispatch
from PyObjCTools.TestSupport import TestCase
class TestBase(TestCase):
def test_constants(self):
self.assertFalse(hasattr(dispatch, "DISPATCH_SWIFT3_OVERLAY"))
| [
"[email protected]"
] | |
d2fd77c15781a7970da80298e40848fdeb23cdb0 | ba3231b25c60b73ca504cd788efa40d92cf9c037 | /nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/urlfiltering/urlfilteringparameter.py | e4193fa98c35cacbbe0bd6c2dd0248e9f302d921 | [
"Apache-2.0",
"Python-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zhuweigh/vpx13 | f6d559ae85341e56472e3592cbc67062dac34b93 | b36caa3729d3ca5515fa725f2d91aeaabdb2daa9 | refs/heads/master | 2020-07-04T22:15:16.595728 | 2019-09-20T00:19:56 | 2019-09-20T00:19:56 | 202,435,307 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,010 | py | #
# Copyright (c) 2008-2019 Citrix Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_resource
from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_response
from nssrc.com.citrix.netscaler.nitro.service.options import options
from nssrc.com.citrix.netscaler.nitro.exception.nitro_exception import nitro_exception
from nssrc.com.citrix.netscaler.nitro.util.nitro_util import nitro_util
class urlfilteringparameter(base_resource) :
""" Configuration for URLFILTERING paramter resource. """
def __init__(self) :
self._hoursbetweendbupdates = None
self._timeofdaytoupdatedb = None
self._localdatabasethreads = None
self._cloudhost = None
self._seeddbpath = None
self._maxnumberofcloudthreads = None
self._cloudkeepalivetimeout = None
self._cloudserverconnecttimeout = None
self._clouddblookuptimeout = None
self._proxyhostip = None
self._proxyport = None
self._proxyusername = None
self._proxypassword = None
self._seeddbsizelevel = None
@property
def hoursbetweendbupdates(self) :
r"""URL Filtering hours between DB updates.<br/>Maximum length = 720.
"""
try :
return self._hoursbetweendbupdates
except Exception as e:
raise e
@hoursbetweendbupdates.setter
def hoursbetweendbupdates(self, hoursbetweendbupdates) :
r"""URL Filtering hours between DB updates.<br/>Maximum length = 720
"""
try :
self._hoursbetweendbupdates = hoursbetweendbupdates
except Exception as e:
raise e
@property
def timeofdaytoupdatedb(self) :
r"""URL Filtering time of day to update DB.
"""
try :
return self._timeofdaytoupdatedb
except Exception as e:
raise e
@timeofdaytoupdatedb.setter
def timeofdaytoupdatedb(self, timeofdaytoupdatedb) :
r"""URL Filtering time of day to update DB.
"""
try :
self._timeofdaytoupdatedb = timeofdaytoupdatedb
except Exception as e:
raise e
@property
def localdatabasethreads(self) :
r"""URL Filtering Local DB number of threads.<br/>Minimum length = 1<br/>Maximum length = 4.
"""
try :
return self._localdatabasethreads
except Exception as e:
raise e
@localdatabasethreads.setter
def localdatabasethreads(self, localdatabasethreads) :
r"""URL Filtering Local DB number of threads.<br/>Minimum length = 1<br/>Maximum length = 4
"""
try :
self._localdatabasethreads = localdatabasethreads
except Exception as e:
raise e
@property
def cloudhost(self) :
r"""URL Filtering Cloud host.
"""
try :
return self._cloudhost
except Exception as e:
raise e
@cloudhost.setter
def cloudhost(self, cloudhost) :
r"""URL Filtering Cloud host.
"""
try :
self._cloudhost = cloudhost
except Exception as e:
raise e
@property
def seeddbpath(self) :
r"""URL Filtering Seed DB path.
"""
try :
return self._seeddbpath
except Exception as e:
raise e
@seeddbpath.setter
def seeddbpath(self, seeddbpath) :
r"""URL Filtering Seed DB path.
"""
try :
self._seeddbpath = seeddbpath
except Exception as e:
raise e
@property
def maxnumberofcloudthreads(self) :
r"""URL Filtering hours between DB updates.<br/>Minimum value = 1<br/>Maximum value = 128.
"""
try :
return self._maxnumberofcloudthreads
except Exception as e:
raise e
@property
def cloudkeepalivetimeout(self) :
r"""URL Filtering Cloud keep alive timeout in msec.<br/>Minimum value = 1000<br/>Maximum value = 600000.
"""
try :
return self._cloudkeepalivetimeout
except Exception as e:
raise e
@property
def cloudserverconnecttimeout(self) :
r"""URL Filtering Cloud server connect timeout in msec.<br/>Minimum value = 1000<br/>Maximum value = 600000.
"""
try :
return self._cloudserverconnecttimeout
except Exception as e:
raise e
@property
def clouddblookuptimeout(self) :
r"""URL Filtering CloudDB send/receive timeout in msec.<br/>Minimum value = 1000<br/>Maximum value = 600000.
"""
try :
return self._clouddblookuptimeout
except Exception as e:
raise e
@property
def proxyhostip(self) :
r"""URL Filtering Cloud Proxy HostIp.<br/>Minimum length = 1.
"""
try :
return self._proxyhostip
except Exception as e:
raise e
@property
def proxyport(self) :
r"""URL Filtering Cloud Proxy Port.
"""
try :
return self._proxyport
except Exception as e:
raise e
@property
def proxyusername(self) :
r"""URL Filtering Cloud Proxy Username.<br/>Minimum length = 1.
"""
try :
return self._proxyusername
except Exception as e:
raise e
@property
def proxypassword(self) :
r"""URL Filtering Cloud Proxy Password.<br/>Minimum length = 1.
"""
try :
return self._proxypassword
except Exception as e:
raise e
@property
def seeddbsizelevel(self) :
r"""URL Filtering Seed DB Size Level to get downloaded.<br/>Minimum value = 1<br/>Maximum value = 5.
"""
try :
return self._seeddbsizelevel
except Exception as e:
raise e
def _get_nitro_response(self, service, response) :
r""" converts nitro response into object and returns the object array in case of get request.
"""
try :
result = service.payload_formatter.string_to_resource(urlfilteringparameter_response, response, self.__class__.__name__)
if(result.errorcode != 0) :
if (result.errorcode == 444) :
service.clear_session(self)
if result.severity :
if (result.severity == "ERROR") :
raise nitro_exception(result.errorcode, str(result.message), str(result.severity))
else :
raise nitro_exception(result.errorcode, str(result.message), str(result.severity))
return result.urlfilteringparameter
except Exception as e :
raise e
def _get_object_name(self) :
r""" Returns the value of object identifier argument
"""
try :
return 0
except Exception as e :
raise e
@classmethod
def update(cls, client, resource) :
r""" Use this API to update urlfilteringparameter.
"""
try :
if type(resource) is not list :
updateresource = urlfilteringparameter()
updateresource.hoursbetweendbupdates = resource.hoursbetweendbupdates
updateresource.timeofdaytoupdatedb = resource.timeofdaytoupdatedb
updateresource.localdatabasethreads = resource.localdatabasethreads
updateresource.cloudhost = resource.cloudhost
updateresource.seeddbpath = resource.seeddbpath
return updateresource.update_resource(client)
except Exception as e :
raise e
@classmethod
def unset(cls, client, resource, args) :
r""" Use this API to unset the properties of urlfilteringparameter resource.
Properties that need to be unset are specified in args array.
"""
try :
if type(resource) is not list :
unsetresource = urlfilteringparameter()
return unsetresource.unset_resource(client, args)
except Exception as e :
raise e
@classmethod
def get(cls, client, name="", option_="") :
r""" Use this API to fetch all the urlfilteringparameter resources that are configured on netscaler.
"""
try :
if not name :
obj = urlfilteringparameter()
response = obj.get_resources(client, option_)
return response
except Exception as e :
raise e
class urlfilteringparameter_response(base_response) :
def __init__(self, length=1) :
self.urlfilteringparameter = []
self.errorcode = 0
self.message = ""
self.severity = ""
self.sessionid = ""
self.urlfilteringparameter = [urlfilteringparameter() for _ in range(length)]
| [
"[email protected]"
] | |
08de90ed2af9ceea398e2fbf93aafb1c8362a687 | 668f65c527a3bba0f32b50a6aede364636a0055a | /rotkehlchen/constants/cryptocompare.py | 619a895b945225322167ac7faa40d350fd2ff60d | [
"BSD-3-Clause"
] | permissive | smfang/rotkehlchen | aa8302a3be0beed9e6091837fcbb0c5e57c76290 | 8d506340dde1fc2e7b3e018952add2f6f25bf8a4 | refs/heads/master | 2020-07-10T13:18:08.426658 | 2019-08-24T19:10:53 | 2019-08-24T19:30:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,323 | py | WORLD_TO_CRYPTOCOMPARE = {
'DATAcoin': 'DATA',
'IOTA': 'MIOTA',
'XRB': 'NANO',
'AIR-2': 'AIR*',
# In Rotkehlchen Bitswift is BITS-2 but in cryptocompare it's BITSW
'BITS-2': 'BITSW',
# In Rotkehlchen BTM is Bitmark and BTM-2 is Bytom but in
# Cryptocompare Bytom is BTM and Bitmark is BTMK
'BTM': 'BTMK',
'BTM-2': 'BTM',
# In Rotkehlchen CCN-2 is Cannacoin and CCN is CustomContractNetwork
'CCN-2': 'CCN',
# In Rotkehlchen FAIR-2 is FairGame and FAIR is FairCoin, but in
# cryptocompare FairGame is FAIRG
'FAIR-2': 'FAIRG',
# Almosst 100% certain that GPUC (https://coinmarketcap.com/currencies/gpucoin/)
# is GPU in cryptocompare (https://www.cryptocompare.com/coins/gpu/overview)
'GPUC': 'GPU',
# In Rotkehlchen we got 3 coins with KEY symbol. Cryptocompare does not have
# data for KEY-2
# KEY -> Selfkey
# KEY-2 -> KEY
# KEY-3 -> KeyCoin
'KEY-3': 'KEYC',
# In Rotkehlchen KNC is KyberNetwork and KNC-2 is KingN coin. In cryptocompare
# KNGN is KingN coin
'KNC-2': 'KNGN',
# Liquidity network is LQD in Rotkehlchen but LQDN in Cryptocompare
'LQD': 'LQDN',
# Monetaverde is as MNV in cryptocompare while it should be MCN
# https://www.cryptocompare.com/coins/mnv/overview
'MCN': 'MNV',
# Marscoin is as MRS in cryptocompare
# https://www.cryptocompare.com/coins/mrs/overview
'MARS': 'MRS',
# Marginless is not in cryptocompare. Asking for MRS will return MARScoin
'MRS': None,
# Mazacoin is as MZC in cryptocompare
'MAZA': 'MZC',
# NuBits is NBT in cryptocompare
'USNBT': 'NBT',
# Polymath is POLY in Rotkehlchen and POLYN in cryptocompare
'POLY': 'POLYN',
# Polybit is POLY-2 in Rotkehlchen and POLY in cryptocompare
'POLY-2': 'POLY',
# YacCoin is YAC in cryptocompare
'YACC': 'YAC',
# GoldCoin is GLD in cryptocompare, but GLC in most other places including Rotkehlcen
'GLC': 'GLD',
# In Rotkehlchen we have GlobalCoin as GLC-2. In Cryptocompare it's GLC
'GLC-2': 'GLC',
# In Rotkehlchen and everywhere else Bitbean is BITB but in cryptocompare BEAN
'BITB': 'BEAN',
# For Rotkehlchen RCN is Ripio Credit Network and RCN-2 is Rcoin
# Rcoin is RCOIN in cryptocompare
'RCN-2': 'RCOIN',
# EDR is Endor Protocol in Rotkehlchen and EPT in cryptocompare
'EDR': 'EPT',
# EDR-2 is E-Dinar coin in Rotkehlchen and EDR in cryptocompare
'EDR-2': 'EDR',
# SPC is Spacechain in Rotkehlchen but APCC in cryptocompare.
'SPC': 'APCC',
# Blocktrade is BTT-2 in Rotkehlchen but BKT in cryptocompare.
'BTT-2': 'BKT',
# Ontology gas is ONG in Rotkehlchen but ONGAS in cryptocompare
'ONG': 'ONGAS',
# SoMee.Social is ONG-2 in Rotkehlchen but ONG in cryptocompare
'ONG-2': 'ONG',
# SLT is Smartlands in Rotkehlchen but SLST in cryptocompare
'SLT': 'SLST',
# SLT-2 is Social Lending Network in Rotkehlchen but SLT in cryptocompare
'SLT-2': 'SLT',
# PAI is Project Pai in Rotkehlchen but PPAI in cryptocompare
'PAI': 'PPAI',
# PAI-2 is PCHAIN in Rotkehlchen but PAI in cryptocompare
'PAI-2': 'PAI',
# CMT-2 is CometCoin in Rotkehlchen but CMTC in cryptocompare
'CMT-2': 'CMTC',
# GXChain is GXC in Rotkehlcen and GXS in cryptocompare
'GXC': 'GXS',
# Harvest Masternode Coin is in HC-2 in Rotkehlchen and HMN in cryptocompare
'HC-2': 'HMN',
# For Rotkehlchen HOT is Holochain and HOT-2 is Hydro Protocol
# But for cryptocompare HOT is Hydro Protocol and HOLO is HoloChain
'HOT': 'HOLO',
'HOT-2': 'HOT',
# For Rotkehlchen YOYO is YOYOW but it's YOYOW in cryptocompare
'YOYOW': 'YOYOW',
# For Rotkehlchen 0xBTC is 0xBTC but in cryptocompare it's capitalized
'0xBTC': '0XBTC',
# For Rotkehlchen ACC is AdCoin, ACC-2 is ACChain and ACC-3 is Accelerator network
# In cryptocompare Accelerator Network is ACCN
'ACC-3': 'ACCN',
# For Rotkehlchen ARB is Arbitrage coin and ARB-2 is ARbit but in cryptocompare
# ARBT is arbitrage and ARB is ARbit
'ARB': 'ARBT',
'ARB-2': 'ARB',
# For Rotkehlchen ARC is Advanced Technology Coin (Arctic) and ARC-2 is ArcadeCity
# In Cryptocompare ARC* is ArcadeCity
'ARC-2': 'ARC*',
# For Rotkehlchen ATX is Astoin Coin and ATX-2 is ArtexCoin but in
# cryptocompare ASTO is Astoin Coin and ATX is ArtexCoin
'ATX': 'ASTO',
'ATX-2': 'ATX',
# For Rotkehlchen AVA is Travala and AVA-2 is Avalon but in
# cryptocompare AVALA is Travala and AVA is Avalon
'AVA': 'AVALA',
'AVA-2': 'AVA',
# Symbol for B2BX is B2B is cryptocompare so we need to specify it
'B2BX': 'B2B',
# For Rotkehlchen BBK is BrickBlock and BBK-2 is Bitblocks but in cryptocompare
# BrickBlock is XBB and Bitblocks is BBK
'BBK': 'XBB',
'BBK-2': 'BBK',
# For Rotkehlchen BBN is Banyan Network but in cryptocompare it's BNN
'BBN': 'BNN',
# For Rotkehlchen BET is Dao.Casino and BET-2 is BetaCoin but in cryptocompare
# Dao.Casino is DAOC and BetaCoin is BET
'BET': 'DAOC',
'BET-2': 'BET',
# Bollenum (https://coinmarketcap.com/currencies/bolenum/) is BLN
# in rotkehlchen but BLNM in cryptocompare
'BLN': 'BLNM',
# ContentBox (https://coinmarketcap.com/currencies/contentbox/) is BOX-2
# in rotkehlchen but BOX in cryptocompare
'BOX-2': 'BOX',
# Bytether (https://www.cryptocompare.com/coins/byther/overview) is BTH
# in rotkehlchen but BYTHER in cryptocompare
'BTH': 'BYTHER',
# Bither (https://www.cryptocompare.com/coins/btr/overview) is BTR-2
# in rotkehlchen but BTR in cryptocompare
'BTR-2': 'BTR',
# For Rotkehlchen CAN is CanYaCoin and CAN-2 is Content And Ad Network
# In cryptocompare, it's CAN and CADN
'CAN-2': 'CADN',
# For Rotkehlchen CAT is Bitclave and CAT-2 is BlockCAT but in cryptocompare
# Bitclave is BCAT and BlockCat is not supported
'CAT': 'BCAT',
# For Rotkehlchen CET is CoinEX and CET-2 is DiceMoney but in cryptocompare
# CoinEX is CET and DiceMoney is DICEM
'CET-2': 'DICEM',
# For Rotkehlchen COS is Contentos but in cryptocompare it's CONT
'COS': 'CONT',
# For Rotkehlchen CPC is CPChain and CPC-2 is CapriCoin but in cryptocompare
# CPChain is CPCH and CapriCoin is CPC
'CPC': 'CPCH',
'CPC-2': 'CPC',
# For Rotkehlchen CRC is CryCash and CRC-2 is CrowdCoin but in cryptocompare
# Crycash is CRYC and CrowdCoin is CRC
'CRC': 'CRYC',
'CRC-2': 'CRC',
# For Rotkehlchen CS is Credits but it's CRDTS in cryptocompare
'CS': 'CRDTS',
# For Rotkehlchen CTX-2 is CarTaxi but it's CTX in cryptocompare
'CTX-2': 'CTX',
# For Rotkehlchen DOW is DOW Coin Chain but it's Dow in cryptocompare
'DOW': 'Dow',
# For Rotkehlchen EPY is Emphy Coin but it's EMPH in cryptocompare
'EPY': 'EMPHY',
# For Rotkehlchen ERT is Eristica Coin but it's ERIS in cryptocompare
'ERT': 'ERIS',
# For Rotkehlchen EVN is Envion and EVN-2 is EvenCoin, but in cryptocompare
# Evencoin is EVENC
'EVN-2': 'EVENC',
# For Rotkehlchen EXC is ExcaliburCoin and EXC-2 is EximChain Token but in
# cryptocompare EXC is EximChain Token ans ExcaliburCoin is not supported
'EXC-2': 'EXC',
# For Rotkehlchen FLX is Bitflux but it's FLX* in cryptocompare
'FLX': 'FLX*',
# For Rotkehlchen FORK is ForkCoin and FORK-2 is GastroAdvisor. For
# cryptocompare only GastroAdvisor exists as FORK.
'FORK-2': 'FORK',
# For Rotkehlchen GBX is GoByte and GBX-2 is Globitex but in cryptocompare
# Globitex is GBXT
'GBX-2': 'GBXT',
# For Rotkehlchen GEN is Daostack but it's GENS in cryptocompare
'GEN': 'GENS',
# For Rotkehlchen GENE is ParkGene and GENE-2 is Gene Source Code Chain,
# in cryptocompare GENE-2 is GENE*
'GENE-2': 'GENE*',
# For Rotkehlchen GOT is Go Network Token and GOT-2 is ParkinGo, cryptocompare
# does not have ParkinGO and Go Network Token is GTK
'GOT': 'GTK',
# For Rotkehlchen HMC is Hi Mutual Society and HMC-2 is Harmony Coin, in
# cryptocompare HMC is the same but HMC* is (perhaps) Harmony Coin
'HMC-2': 'HMC*',
# For Rotkehlchen INV is Invacio but it's INVC in cryptocompare
'INV': 'INVC',
# For Rotkehlchen JOY is Joy but it's JOY* in cryptocompare
'JOY': 'JOY*',
# For Rotkehlchen LNC is Blocklancer and LNC-2 is Linker Coin, but for
# cryptocompare linker coin is LNKC
'LNC-2': 'LNKC',
# For Rotkehlchen LOC is LockTrip but in cryptocompare it's LOCK
'LOC': 'LOCK',
# For Rotkehlchen MAN is Matrix AI Network but in cryptocompare it's MXAI
'MAN': 'MXAI',
# For Rotkehlchen MDT is Measurable Data Token but in cryptocompare it's MSDT
'MDT': 'MSDT',
# For Rotkehlchen MNT is Media Network Token but in cryptocompare it's MNT*
'MNT': 'MNT*',
# For Rotkehlchen MRP is MoneyReel but in cryptocompare it's MNRB
'MRP': 'MNRB',
# For Rotkehlchen MTC is doc.com Token and MTC-2 is Mesh Network but in
# cryptocompare Mesh Network is MTCMN
'MTC-2': 'MTCMN',
# For Rotkehlchen MTN is Medical Token but it's MDCL in cryptocompare
'MTN': 'MDCL',
# For Rotkehlchen OCC-2 is Original Cryptocoin but it's OCC in cryptocompare
'OCC-2': 'OCC',
# For Rotkehlchen ORS is OriginSport Token and ORS-2 is ORS group, but in
# cryptocompare OriginSport Token is OGSP and ORS Group is ORS
'ORS': 'OGSP',
'ORS-2': 'ORS',
# For Rotkehlchen PRE is Presearch but it's SRCH in cryptocompare
'PRE': 'SRCH',
# For Rotkehlchen PLA is Plair and PLA-2 is Playchip, but in cryptocompare
# PLA is Playchip and Plair is PLAI
'PLA': 'PLAI',
'PLA-2': 'PLA',
# For Rotkehlchen RDN is Raiden Network but it's RDNN in cryptocompare
'RDN': 'RDNN',
# For Rotkehlchen SKB is SakuraBloom but it's SKRB in cryptocompare
'SKB': 'SKRB',
# For Rotkehlchen SKR is SkrillaToken but it's SKR* in cryptocompare
'SKR': 'SKRT',
# For Rotkehlchen SMART is SmartCash, and SMART-2 is SmartBillions, but in
# cryptocompare SmartBillions is SMART*
'SMART-2': 'SMART*',
# For Rotkehlchen SOUL is Phantasma and SOUL-2 is CryptoSoul. But cryptocompare
# only has Phantasma as GOST
'SOUL': 'GOST',
# For Rotkehlchen SPD is Spindle and SPD-2 is Stipend, but in cryptocompare
# Spindle is SPND and Stipend is SPD
'SPD': 'SPND',
'SPD-2': 'SPD',
# For Rotkehlchen SPX is Sp8de Token but it's SPCIE in cryptocompare
'SPX': 'SPCIE',
# For Rotkehlchen STRC is Star Credits but it's SRC* in cryptocompare
'STRC': 'SRC*',
# For Rotkehlchen TCH is ThoreCash and TCH-2 is TigerCash but cryptocompare
# only has TigerCash as TCH
'TCH-2': 'TCH',
# For Rotkehlchen TEAM is TokenStars Team but cryptocompare has it as TEAMT
'TEAM': 'TEAMT',
# For Rotkehlchen VSF is Verisafe but it's CPLO in cryptocompare (the old name)
'VSF': 'CPLO',
# For Rotkehlchen WEB is Webcoin and WEB-2 Webchain, but in cryptocompare
# Webchain is WEBC
'WEB-2': 'WEBC',
# For Rotkehlchen WIN is Winchain Token and WIN-2 WCoin, but in cryptocompare
# Wcoin is WIN and there is no Winchain Token
'WIN-2': 'WIN',
# For Rotkehlchen BlitzPredict is XBP but it's BPX in cryptocompare
'XBP': 'BPX',
# For Cryptocompare PHX has not been updated to PHB
'PHB': 'PHX',
}
# TODO: For the ones missing from cryptocompare make sure to also
# disallow price queries to cryptocompare for these assets
KNOWN_TO_MISS_FROM_CRYPTOCOMPARE = (
# This is just kraken's internal fee token
'KFEE',
# This is just bittrex's internal credit token
'BTXCRD',
# For us ACH is the Altcoin Herald token. For cryptocompare it's
# Achievecoin
# https://www.cryptocompare.com/coins/ach/overview
'ACH',
# We got APH as Aphelion and APH-2 as a very shortlived Aphrodite coin
# Cryptocompare has no data for Aphrodite coin
'APH-2',
# Atomic coin (https://coinmarketcap.com/currencies/atomic-coin/) is not in
# cryptocompare but is in paprika
'ATOM-2',
# BORA (https://coinmarketcap.com/currencies/bora/)
# is not in cryptocompare but is in paprika
'BORA',
# BOXX (https://coinmarketcap.com/currencies/blockparty-boxx-token/)
# is not in cryptocompare but is in paprika
'BOXX',
# Block.Money is not in cryptocompare but it's in coin paprika
# https://coinmarketcap.com/currencies/bloc-money/
'BLOC-2',
# BTCTalkCoin is not in cryptocompare but it's in coin paprika
# https://api.coinpaprika.com/v1/coins/talk-btctalkcoin and in coinmarketcap
# https://coinmarketcap.com/currencies/btctalkcoin/#charts
'TALK',
# CCN is CustomContractNetwork in Rotkehlchen but Cannacoin in cryptocompare
# and cryptocompare does not have data for CustomContractNetwork
'CCN',
# Dreamcoin (https://coinmarketcap.com/currencies/dreamcoin/#charts) is not
# in cryptocompare.
'DRM',
# KEY (bihu) (https://coinmarketcap.com/currencies/key/) is not in
# cryptocompare. But it's in paprika
'KEY-2',
# MRS (Marginless) is not in cryptocompare. There is a coin with that
# symbol there, but it's the MARScoin
'MRS',
# PRcoin, known as PRC-2 in Rotkehlcen has no data in cryptocompare
'PRC-2',
# Wiki coin/token is not in cryptocompare but is in paprika wiki-wiki-token
'WIKI',
# More token (https://coinmarketcap.com/currencies/more-coin/) is not in
# cryptocompare but is in paprika
'MORE',
# Mithril Ore token (https://coinmarketcap.com/currencies/mithril-ore/) is not in
# cryptocompare but is in paprika
'MORE-2',
# Aidus Token (https://coinmarketcap.com/currencies/aidus-token/) is not in
# cryptocompare but is in paprika
'AID-2',
# Cashbery coin (https://coinmarketcap.com/currencies/cashbery-coin/) is not
# in cryptocompare but is in paprika
'CBC-2',
# Cyber movie chain (https://coinmarketcap.com/currencies/cyber-movie-chain/)
# is not in cryptocompare but is in paprika
'CMCT-2',
# Moss (https://coinmarketcap.com/currencies/moss-coin/)
# is not in cryptocompare but is in paprika
'MOC',
# Solve.care (https://coinmarketcap.com/currencies/solve/) is not
# in cryptocompare but is in paprika
'SOLVE',
# Stronghold USD (https://coinmarketcap.com/currencies/stronghold-usd/)
# is not in cryptocompare but is in paprika
'USDS-2',
# HXRO (https://coinmarketcap.com/currencies/hxro/)
# is not in cryptocompare but is in paprika
'HXRO',
# SERV (https://coinmarketcap.com/currencies/serve/)
# is not in cryptocompare but is in paprika
'SERV',
# TTC (https://coinmarketcap.com/currencies/ttc-protocol/)
# is not in cryptocompare but is in paprika
# There is a "titcoin" as TTC in cryptocompare but that is wrong
# https://www.cryptocompare.com/coins/ttc/overview
'TTC',
# BlazeCoin (https://coinmarketcap.com/currencies/blazecoin/)
# is not in cryptocompare but is in paprika
'BLZ-2',
# Bitgem (https://coinmarketcap.com/currencies/bitgem/)
# is not in cryptocompare but is in paprika
'BTG-2',
# 1SG (https://coinmarketcap.com/currencies/1sg/)
# is not in cryptocompare but is in paprika
'1SG',
# ACChain (https://coinmarketcap.com/currencies/acchain/)
# is not in cryptocompare but is in paprika
'ACC-2',
# PolyAI (https://coinmarketcap.com/currencies/poly-ai/)
# is not in cryptocompare but is in paprika
'AI',
# Akropolis (https://coinmarketcap.com/currencies/akropolis/)
# is not in cryptocompare but is in paprika
'AKRO',
# AiLink token (https://coinmarketcap.com/currencies/ailink-token/)
# is not in cryptocompare but is in paprika
'ALI',
# Bankcoin BCash (https://bankcoinbcash.com/)
# is not in cryptocompare but is in paprika
'BCASH',
# BitcapitalVendor (https://coinmarketcap.com/currencies/bitcapitalvendor/)
# is not in cryptocompare but is in paprika
'BCV',
# BitPark (https://coinmarketcap.com/currencies/bitpark-coin/)
# is not in cryptocompare but is in paprika
'BITPARK',
# BankCoin Cash (https://bankcoin-cash.com/)
# is not in cryptocompare but is in paprika
'BKC',
# Bionic (https://coinmarketcap.com/currencies/bionic/)
# is not in cryptocompare but is in paprika
'BNC',
# BrokerNekoNetwork (https://coinmarketcap.com/currencies/brokernekonetwork/)
# is not in cryptocompare but is in paprika
'BNN',
# BoxToken (https://coinmarketcap.com/currencies/contentbox/)
# is not in cryptocompare but is in paprika
'BOX',
# BitcoinOne (https://coinmarketcap.com/currencies/bitcoin-one/)
# is not in cryptocompare but is in paprika
'BTCONE',
# BitcoinToken (https://coinmarketcap.com/currencies/bitcoin-token/)
# is not in cryptocompare but is in paprika
'BTK',
# Bitether (https://coinmarketcap.com/currencies/bitether/)
# is not in cryptocompare but is in paprika
'BTR',
# Blue whale token (https://coinmarketcap.com/currencies/blue-whale-token/)
# is not in cryptocompare but is in paprika
'BWX',
# Carboneum (https://coinmarketcap.com/currencies/carboneum-c8-token/)
# is not in cryptocompare but is in paprika
'C8',
# Cloudbrid (https://www.cloudbric.io/)
# is not in cryptocompare but is in paprika
'CLB',
# COCOS-BCX (https://coinmarketcap.com/currencies/cocos-bcx/)
# is not in cryptocompare but is in paprika
'COCOS',
# CruiseBit (https://coinmarketcap.com/currencies/cruisebit/)
# is not in cryptocompare but is in paprika
'CRBT',
# Cryptosolartech (https://coinmarketcap.com/currencies/cryptosolartech/)
# is not in cryptocompare but is in paprika
'CST',
# Centauri (https://coinmarketcap.com/currencies/centauri/)
# is not in cryptocompare but is in paprika
'CTX',
# CyberFM (https://coinmarketcap.com/currencies/cyberfm/)
# is not in cryptocompare but is in paprika
'CYFM',
# CyberMusic (https://coinmarketcap.com/currencies/cybermusic/)
# is not in cryptocompare but is in paprika
'CYMT',
# CanonChain (https://coinmarketcap.com/currencies/cononchain/)
# is not in cryptocompare but is in paprika
'CZR',
# DACSEE (https://coinmarketcap.com/currencies/dacsee/)
# is not in cryptocompare but is in paprika
'DACS',
# Dalecoin (https://coinmarketcap.com/currencies/dalecoin/)
# is not in cryptocompare but is in paprika
'DALC',
# Digital Assets Exchange token
# (https://coinmarketcap.com/currencies/digital-asset-exchange-token/)
# is not in cryptocompare but is in paprika
'DAXT',
# Deltachain (https://coinmarketcap.com/currencies/delta-chain/)
# is not in cryptocompare but is in paprika
'DELTA',
# Dew (https://coinmarketcap.com/currencies/dew/)
# is not in cryptocompare but is in paprika
'DEW',
# DEX (https://coinmarketcap.com/currencies/dex/)
# is not in cryptocompare but is in paprika
'DEX',
# DragonGlass (https://coinmarketcap.com/currencies/dragonglass/)
# is not in cryptocompare but is in paprika
'DGS',
# DigitalInsuranceToken (https://coinmarketcap.com/currencies/digital-insurance-token/)
# is not in cryptocompare but is in paprika
'DIT',
# DigitalTicks (https://www.coingecko.com/en/coins/digital-ticks) is not in
# cryptocompate but is in paprika
'DTX-2',
# E4Row (https://coinmarketcap.com/currencies/ether-for-the-rest-of-the-world/) is not in
# cryptocompare but is in paprika
'E4ROW',
# EAGLE (https://coinmarketcap.com/currencies/eaglecoin/) is not in
# cryptocompare but is in paprika
'EAGLE',
# OpenSource university (https://os.university/) is not in
# cryptocompare but is in paprika
'EDU-2',
# ExcaliburCoin (https://coinmarketcap.com/currencies/excaliburcoin/) is not
# in cryptocompare but is in paprika
'EXC',
# Fingerprint (https://fingerprintcoin.org/) is not
# in cryptocompare but is in paprika
'FGP',
# Formosa Fincial Token (https://coinmarketcap.com/currencies/formosa-financial/)
# is not in cryptocompare but is in paprika
'FMF',
# Fcoin token (https://coinmarketcap.com/currencies/ftoken/)
# is not in cryptocompare but is in paprika
'FT-2',
# Futurax (https://coinmarketcap.com/currencies/futurax/)
# is not in cryptocompare but is in paprika
'FTXT',
# FunctionX (https://coinmarketcap.com/currencies/function-x/)
# is not in cryptocompare but is in paprika
'FX',
# Flexacoin (https://coinmarketcap.com/currencies/flexacoin/)
# is not in cryptocompare but is in paprika
'FXC',
# Themis GET (https://coinmarketcap.com/currencies/themis/)
# is not in cryptocompare but is in paprika
'GET-2',
# ParkinGO (https://coinmarketcap.com/currencies/parkingo/)
# is not in cryptocompare but is in paprika
'GOT-2',
# GSENetwork (https://coinmarketcap.com/currencies/gsenetwork/)
# is not in cryptocompare but is in paprika
'GSE',
# Jury.Online Token (https://coinmarketcap.com/currencies/jury-online-token/)
# is not in cryptocompare but is in paprika
'JOT',
# KanadeCoin (https://coinmarketcap.com/currencies/kanadecoin/)
# is not in cryptocompare but is in paprika
'KNDC',
# KoraNetworkToken (https://coinmarketcap.com/currencies/kora-network-token/)
# is not in cryptocompare but is in paprika
'KNT',
# Knekted (https://coinmarketcap.com/currencies/knekted/)
# is not in cryptocompare but is in paprika
'KNT-2',
# 4NEW KWATT (https://coinmarketcap.com/currencies/4new/)
# is not in cryptocompare but is in paprika
'KWATT',
# Liquorchain Token (https://etherscan.io/address/0x4A37A91eec4C97F9090CE66d21D3B3Aadf1aE5aD)
# is not in cryptocompare but is in paprika
'LCT-2',
# LemoChain (https://coinmarketcap.com/currencies/lemochain/)
# is not in cryptocompare but is in paprika
'LEMO',
# Linkey (https://coinmarketcap.com/currencies/linkey/)
# is not in cryptocompare but is in paprika
'LKY',
# Lisk Machine Learning (https://coinmarketcap.com/currencies/lisk-machine-learning/)
# is not in cryptocompare but is in paprika
'LML',
# Locus Chain (https://etherscan.io/address/0xC64500DD7B0f1794807e67802F8Abbf5F8Ffb054)
# is not in cryptocompare but is in paprika
'LOCUS',
# LUNA Terra (https://coinmarketcap.com/currencies/terra/)
# is not in cryptocompare but is in paprika
'LUNA-2',
# Midas Protocol (https://coinmarketcap.com/currencies/midasprotocol/)
# is not in cryptocompare but is in paprika
'MAS',
# Matic (https://coinmarketcap.com/currencies/matic-network/)
# is not in cryptocompare but is in paprika
'MATIC',
# Meshbox (https://coinlib.io/coin/MESH/MeshBox)
# is not in cryptocompare but is in paprika
'MESH',
# Nami ICO (https://etherscan.io/address/0x8d80de8A78198396329dfA769aD54d24bF90E7aa)
# is not in cryptocompate but is in paprika
'NAC',
# For Rotkehlchen NCC is neurochain and NCC-2 is NeedsCoin and neither of them
# is in cryptocompare but they are both in paprika
'NCC',
'NCC-2',
# NDEX (https://coinmarketcap.com/currencies/ndex/)
# is not in cryptocompare but is in paprika
'NDX',
# NetKoin (https://coinmarketcap.com/currencies/netkoin/)
# is not in cryptocompare but is in paprika
'NTK-2',
# Nuggets (https://coinmarketcap.com/currencies/nuggets/)
# is not in cryptocompare but is in paprika
'NUG',
# OCtoin (https://coinmarketcap.com/currencies/octoin-coin/)
# is not in cryptocompare but is in paprika
'OCC',
# OptiToken (https://coinmarketcap.com/currencies/optitoken/)
# is not in cryptocompare but is in paprika
'OPTI',
# Wisepass (https://coinmarketcap.com/currencies/wisepass/)
# is not in cryptocompare but is in paprika
'PASS-2',
# Kleros (https://coinmarketcap.com/currencies/kleros/)
# is not in cryptocompare but is in paprika
# Note: Cryptocompare has SteamPunk as PNK ...
'PNK',
# For Rotkehlchen POP is PopularCoin, and POP-2 is POP Chest Token, but in
# cryptocompare POP Chest appears also as POP so I can only assume it's not
# supported https://www.cryptocompare.com/coins/popc/overview
'POP-2',
# Foresting (https://coinmarketcap.com/currencies/pton/)
# is not in cryptocompare but is in paprika
'PTON',
# Proton (https://coinmarketcap.com/currencies/proton-token/)
# is not in cryptocompare but is in paprika. Cryptocompare has
# Pink Taxi Token as PTT.
'PTT',
# Pixel (https://coinmarketcap.com/currencies/pixel/)
# is not in cryptocompare but is in paprika. Cryptocompare hasattr
# Phalanx as PXL
'PXL',
# Rublix (https://coinmarketcap.com/currencies/rublix/)
# is not in cryptocompare but is in paprika
'RBLX',
# Red Token (https://coinmarketcap.com/currencies/red/)
# is not in cryptocompare but is in paprika
'RED',
# Rusgas (https://coinmarketcap.com/currencies/rusgas/)
# is not in cryptocompare but is in paprika
'RGS',
# RemiCoin (https://coinmarketcap.com/currencies/remicoin/)
# is not in cryptocompare but is in paprika
'RMC',
# Rotharium (https://coinmarketcap.com/currencies/rotharium/)
# is not in cryptocompare but is in paprika
'RTH',
# SmartApplicationChain (https://coinmarketcap.com/currencies/smart-application-chain/)
# is not in cryptocompare but is in paprika
'SAC',
# snowball (https://etherscan.io/address/0x198A87b3114143913d4229Fb0f6D4BCb44aa8AFF)
# is not in cryptocompare but is in paprika
'SNBL',
# Soniq (https://coinmarketcap.com/currencies/soniq/)
# is not in cryptocompare but is in paprika
'SONIQ',
# CryptoSoul (https://coinmarketcap.com/currencies/cryptosoul/)
# is not in cryptocompare but is in paprika
'SOUL-2',
# Spin Protocol (https://coinmarketcap.com/currencies/spin-protocol/)
# is not in cryptocompare but is in paprika
'SPIN',
# Staker (https://coinmarketcap.com/currencies/staker/)
# is not in cryptocompare but is in paprika
'STR',
# TigerCash (https://coinmarketcap.com/currencies/tigercash/)
# is not in cryptocompare but is in paprika
'TCH',
# TercetNetwork (https://etherscan.io/address/0x28d7F432d24ba6020d1cbD4f28BEDc5a82F24320)
# is not in cryptocompare but is in paprika
'TCNX',
# Temco (https://coinmarketcap.com/currencies/temco/)
# is not in cryptocompare but is in paprika
'TEMCO',
# ThingsChain (https://coinmarketcap.com/currencies/thingschain/)
# is not in cryptocompare but is in paprika
'TIC',
# Tokok (https://coinmarketcap.com/currencies/tokok/)
# is not in cryptocompare but is in paprika
'TOK',
# Uchain (https://coinmarketcap.com/currencies/uchain/)
# is not in cryptocompare but is in paprika
'UCN',
# Veriblock (https://coinmarketcap.com/currencies/veriblock/)
# is not in cryptocompare but is in paprika
'VBK',
# Bitcoin Card (https://etherscan.io/address/0x9a9bB9b4b11BF8eccff84B58a6CCCCD4058A7f0D)
# is not in cryptocompare but is in paprika
'VD',
# VeriDocGlobal (https://coinmarketcap.com/currencies/veridocglobal/)
# is not in cryptocompare but is in paprika
'VDG',
# Vikky Token (https://coinmarketcap.com/currencies/vikkytoken/)
# is not in cryptocompare but is in paprika
'VIKKY',
# Wibson (https://coinmarketcap.com/currencies/wibson/)
# is not in cryptocompare but is in paprika
'WIB',
# Winchain Token (https://coinmarketcap.com/currencies/wintoken/)
# is not in cryptocompare but is in paprika
'WIN',
# Yggdrash (https://coinmarketcap.com/currencies/yeed/)
# is not in cryptocompare but is in paprika
'YEED',
# ZeusNetwork (https://coinmarketcap.com/currencies/zeusnetwork/)
# is not in cryptocompare but is in paprika
'ZEUS',
# BlockCat (https://coinmarketcap.com/currencies/blockcat/)
# is not in cryptocompare but is in paprika
'CAT-2',
)
| [
"[email protected]"
] | |
3dd4a01abcbe1d33242f636f2247ecb542da68d2 | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /9YmYQTdPSdr8K8Bnz_16.py | 5054e98348184561ef5da9cb9fe5f8bc0c129f00 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 184 | py |
def unique_lst(lst):
positive_numbers = []
for item in lst:
if item > 0 and item not in positive_numbers:
positive_numbers.append(item)
return list(positive_numbers)
| [
"[email protected]"
] | |
7f6ba4c11f65aa75306fdced215dc9745c1da707 | 08a68e32dc80f99a37a30ddbbf943337546cc3d5 | /.history/count/urls_20200419183106.py | 04b192775edb18286c91a040ee26cc5d6439701c | [] | no_license | Space20001/word-count-project | dff1b4b44d2f7230070eef0d95dd968b655d92f7 | 795b5e8ad5c59109e96bf7a8e9192efaefa7770e | refs/heads/master | 2022-04-20T17:54:05.511449 | 2020-04-20T15:25:46 | 2020-04-20T15:25:46 | 257,327,368 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 163 | py | """
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('', include(count.urls),
path('admin/', admin.site.urls),
| [
"[email protected]"
] | |
4e38b644b6c4d196dd99a26f13133204bb604aa4 | f2ebedd68cca732fba98d0038695972f917b46f5 | /ICP6/ICP6_1_LDA_Model.py | f92313b44a088693f37a25a79f7da7f3280ed85b | [] | no_license | sxb42660/CS5560SivaBuddi | 15cc5bbea7fef096728c9ca27a8d8163e42950b1 | 0827b0af67e037524987ac8da639f6252bdb4626 | refs/heads/master | 2022-07-02T01:55:52.817393 | 2020-05-11T17:57:27 | 2020-05-11T17:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,791 | py | #text processing
import re
import string
import nltk
from gensim import corpora, models, similarities
from nltk.corpus import stopwords
from nltk.stem.porter import PorterStemmer
import pandas as pd
import numpy as np
#read the csv file with amazon reviews
reviews_df=pd.read_csv('/home/sivakumar/Desktop/CS5560SivaBuddi/ICP6/voted-kaggle-dataset.csv',error_bad_lines=False)
reviews_df['Description'] = reviews_df['Description'].astype(str)
print(reviews_df.head(6))
def initial_clean(text):
"""
Function to clean text-remove punctuations, lowercase text etc.
"""
text = re.sub("[^a-zA-Z ]", "", text)
text = text.lower() # lower case text
text = nltk.word_tokenize(text)
return (text)
stop_words = stopwords.words('english')
stop_words.extend(['news', 'say','use', 'not', 'would', 'say', 'could', '_', 'be', 'know', 'good', 'go', 'get', 'do','took','time','year',
'done', 'try', 'many', 'some','nice', 'thank', 'think', 'see', 'rather', 'easy', 'easily', 'lot', 'lack', 'make', 'want', 'seem', 'run', 'need', 'even', 'right', 'line','even', 'also', 'may', 'take', 'come', 'new','said', 'like','people'])
def remove_stop_words(text):
return [word for word in text if word not in stop_words]
stemmer = PorterStemmer()
def stem_words(text):
"""
Function to stem words
"""
try:
text = [stemmer.stem(word) for word in text]
text = [word for word in text if len(word) > 1] # no single letter words
except IndexError:
pass
return text
def apply_all(text):
"""
This function applies all the functions above into one
"""
return stem_words(remove_stop_words(initial_clean(text)))
# clean reviews and create new column "tokenized"
import time
t1 = time.time()
reviews_df['Tokenized_Description'] = reviews_df['Description'].apply(apply_all)
t2 = time.time()
print("Time to clean and tokenize", len(reviews_df), "reviews:", (t2-t1)/60, "min") #Time to clean and tokenize 3209 reviews: 0.21254388093948365 min
print('\n')
print("reviews with their respective tokenize version:" )
print(reviews_df.head(5))
#LDA
import gensim
import pyLDAvis.gensim
#Create a Gensim dictionary from the tokenized data
tokenized = reviews_df['Tokenized_Description']
#Creating term dictionary of corpus, where each unique term is assigned an index.
dictionary = corpora.Dictionary(tokenized)
#Filter terms which occurs in less than 1 review and more than 80% of the reviews.
dictionary.filter_extremes(no_below=1, no_above=0.8)
#convert the dictionary to a bag of words corpus
corpus = [dictionary.doc2bow(tokens) for tokens in tokenized]
print(corpus[:1])
print([[(dictionary[id], freq) for id, freq in cp] for cp in corpus[:1]])
#LDA
ldamodel = gensim.models.ldamodel.LdaModel(corpus, num_topics = 7, id2word=dictionary, passes=15)
#saving the model
ldamodel.save('model_combined_Description.gensim')
topics = ldamodel.print_topics(num_words=4)
print('\n')
print("Now printing the topics and their composition")
print("This output shows the Topic-Words matrix for the 7 topics created and the 4 words within each topic")
for topic in topics:
print(topic)
#finding the similarity of the first review with topics
print('\n')
print("first review is:")
print(reviews_df.Description[0])
get_document_topics = ldamodel.get_document_topics(corpus[0])
print('\n')
print("The similarity of this review with the topics and respective similarity score are ")
print(get_document_topics)
#visualizing topics
lda_viz = gensim.models.ldamodel.LdaModel.load('model_combined_Description.gensim')
lda_display = pyLDAvis.gensim.prepare(lda_viz, corpus, dictionary, sort_topics=True)
pyLDAvis.show(lda_display)
| [
"[email protected]"
] | |
5659de11284dbf2d180b3df0db9aec4a7e450e55 | a9e3f3ad54ade49c19973707d2beb49f64490efd | /Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/contentstore/course_group_config.py | 33ed74f722f264408ee20624f97aa0df6a39c9ca | [
"AGPL-3.0-only",
"AGPL-3.0-or-later",
"MIT"
] | permissive | luque/better-ways-of-thinking-about-software | 8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d | 5809eaca7079a15ee56b0b7fcfea425337046c97 | refs/heads/master | 2021-11-24T15:10:09.785252 | 2021-11-22T12:14:34 | 2021-11-22T12:14:34 | 163,850,454 | 3 | 1 | MIT | 2021-11-22T12:12:31 | 2019-01-02T14:21:30 | JavaScript | UTF-8 | Python | false | false | 15,182 | py | """
Class for manipulating groups configuration on a course object.
"""
import json
import logging
from collections import defaultdict
from django.utils.translation import ugettext as _
from cms.djangoapps.contentstore.utils import reverse_usage_url
from common.djangoapps.util.db import MYSQL_MAX_INT, generate_int_id
from lms.lib.utils import get_parent_unit
from openedx.core.djangoapps.course_groups.partition_scheme import get_cohorted_user_partition
from xmodule.partitions.partitions import MINIMUM_STATIC_PARTITION_ID, ReadOnlyUserPartitionError, UserPartition
from xmodule.partitions.partitions_service import get_all_partitions_for_course
from xmodule.split_test_module import get_split_user_partitions
MINIMUM_GROUP_ID = MINIMUM_STATIC_PARTITION_ID
RANDOM_SCHEME = "random"
COHORT_SCHEME = "cohort"
ENROLLMENT_SCHEME = "enrollment_track"
CONTENT_GROUP_CONFIGURATION_DESCRIPTION = _(
'The groups in this configuration can be mapped to cohorts in the Instructor Dashboard.'
)
CONTENT_GROUP_CONFIGURATION_NAME = _('Content Groups')
log = logging.getLogger(__name__)
class GroupConfigurationsValidationError(Exception):
"""
An error thrown when a group configurations input is invalid.
"""
pass # lint-amnesty, pylint: disable=unnecessary-pass
class GroupConfiguration:
"""
Prepare Group Configuration for the course.
"""
def __init__(self, json_string, course, configuration_id=None):
"""
Receive group configuration as a json (`json_string`), deserialize it
and validate.
"""
self.configuration = GroupConfiguration.parse(json_string)
self.course = course
self.assign_id(configuration_id)
self.assign_group_ids()
self.validate()
@staticmethod
def parse(json_string):
"""
Deserialize given json that represents group configuration.
"""
try:
configuration = json.loads(json_string.decode("utf-8"))
except ValueError:
raise GroupConfigurationsValidationError(_("invalid JSON")) # lint-amnesty, pylint: disable=raise-missing-from
configuration["version"] = UserPartition.VERSION
return configuration
def validate(self):
"""
Validate group configuration representation.
"""
if not self.configuration.get("name"):
raise GroupConfigurationsValidationError(_("must have name of the configuration"))
if len(self.configuration.get('groups', [])) < 1:
raise GroupConfigurationsValidationError(_("must have at least one group"))
def assign_id(self, configuration_id=None):
"""
Assign id for the json representation of group configuration.
"""
if configuration_id:
self.configuration['id'] = int(configuration_id)
else:
self.configuration['id'] = generate_int_id(
MINIMUM_GROUP_ID, MYSQL_MAX_INT, GroupConfiguration.get_used_ids(self.course)
)
def assign_group_ids(self):
"""
Assign ids for the group_configuration's groups.
"""
used_ids = [g.id for p in get_all_partitions_for_course(self.course) for g in p.groups]
# Assign ids to every group in configuration.
for group in self.configuration.get('groups', []):
if group.get('id') is None:
group["id"] = generate_int_id(MINIMUM_GROUP_ID, MYSQL_MAX_INT, used_ids)
used_ids.append(group["id"])
@staticmethod
def get_used_ids(course):
"""
Return a list of IDs that already in use.
"""
return {p.id for p in get_all_partitions_for_course(course)}
def get_user_partition(self):
"""
Get user partition for saving in course.
"""
try:
return UserPartition.from_json(self.configuration)
except ReadOnlyUserPartitionError:
raise GroupConfigurationsValidationError(_("unable to load this type of group configuration")) # lint-amnesty, pylint: disable=raise-missing-from
@staticmethod
def _get_usage_dict(course, unit, item, scheme_name=None):
"""
Get usage info for unit/module.
"""
parent_unit = get_parent_unit(item)
if unit == parent_unit and not item.has_children:
# Display the topmost unit page if
# the item is a child of the topmost unit and doesn't have its own children.
unit_for_url = unit
elif (not parent_unit and unit.get_parent()) or (unit == parent_unit and item.has_children):
# Display the item's page rather than the unit page if
# the item is one level below the topmost unit and has children, or
# the item itself *is* the topmost unit (and thus does not have a parent unit, but is not an orphan).
unit_for_url = item
else:
# If the item is nested deeper than two levels (the topmost unit > vertical > ... > item)
# display the page for the nested vertical element.
parent = item.get_parent()
nested_vertical = item
while parent != parent_unit:
nested_vertical = parent
parent = parent.get_parent()
unit_for_url = nested_vertical
unit_url = reverse_usage_url(
'container_handler',
course.location.course_key.make_usage_key(unit_for_url.location.block_type, unit_for_url.location.block_id)
)
usage_dict = {'label': f"{unit.display_name} / {item.display_name}", 'url': unit_url}
if scheme_name == RANDOM_SCHEME:
validation_summary = item.general_validation_message()
usage_dict.update({'validation': validation_summary.to_json() if validation_summary else None})
return usage_dict
@staticmethod
def get_content_experiment_usage_info(store, course):
"""
Get usage information for all Group Configurations currently referenced by a split_test instance.
"""
split_tests = store.get_items(course.id, qualifiers={'category': 'split_test'})
return GroupConfiguration._get_content_experiment_usage_info(store, course, split_tests)
@staticmethod
def get_split_test_partitions_with_usage(store, course):
"""
Returns json split_test group configurations updated with usage information.
"""
usage_info = GroupConfiguration.get_content_experiment_usage_info(store, course)
configurations = []
for partition in get_split_user_partitions(course.user_partitions):
configuration = partition.to_json()
configuration['usage'] = usage_info.get(partition.id, [])
configurations.append(configuration)
return configurations
@staticmethod
def _get_content_experiment_usage_info(store, course, split_tests): # pylint: disable=unused-argument
"""
Returns all units names, their urls and validation messages.
Returns:
{'user_partition_id':
[
{
'label': 'Unit 1 / Experiment 1',
'url': 'url_to_unit_1',
'validation': {'message': 'a validation message', 'type': 'warning'}
},
{
'label': 'Unit 2 / Experiment 2',
'url': 'url_to_unit_2',
'validation': {'message': 'another validation message', 'type': 'error'}
}
],
}
"""
usage_info = defaultdict(list)
for split_test in split_tests:
unit = split_test.get_parent()
if not unit:
log.warning("Unable to find parent for split_test %s", split_test.location)
# Make sure that this user_partition appears in the output even though it has no content
usage_info[split_test.user_partition_id] = []
continue
usage_info[split_test.user_partition_id].append(GroupConfiguration._get_usage_dict(
course=course,
unit=unit,
item=split_test,
scheme_name=RANDOM_SCHEME,
))
return usage_info
@staticmethod
def get_partitions_usage_info(store, course):
"""
Returns all units names and their urls.
Returns:
{'partition_id':
{'group_id':
[
{
'label': 'Unit 1 / Problem 1',
'url': 'url_to_unit_1'
},
{
'label': 'Unit 2 / Problem 2',
'url': 'url_to_unit_2'
}
],
}
}
"""
items = store.get_items(course.id, settings={'group_access': {'$exists': True}}, include_orphans=False)
usage_info = defaultdict(lambda: defaultdict(list))
for item, partition_id, group_id in GroupConfiguration._iterate_items_and_group_ids(course, items):
unit = item.get_parent()
if not unit:
log.warning("Unable to find parent for component %s", item.location)
continue
usage_info[partition_id][group_id].append(GroupConfiguration._get_usage_dict(
course,
unit=unit,
item=item,
))
return usage_info
@staticmethod
def get_content_groups_items_usage_info(store, course):
"""
Get usage information on items for content groups.
"""
items = store.get_items(course.id, settings={'group_access': {'$exists': True}})
return GroupConfiguration._get_content_groups_items_usage_info(course, items)
@staticmethod
def _get_content_groups_items_usage_info(course, items):
"""
Returns all items names and their urls.
This will return only groups for all non-random partitions.
Returns:
{'partition_id':
{'group_id':
[
{
'label': 'Problem 1 / Problem 1',
'url': 'url_to_item_1'
},
{
'label': 'Problem 2 / Problem 2',
'url': 'url_to_item_2'
}
],
}
}
"""
usage_info = defaultdict(lambda: defaultdict(list))
for item, partition_id, group_id in GroupConfiguration._iterate_items_and_group_ids(course, items):
usage_info[partition_id][group_id].append(GroupConfiguration._get_usage_dict(
course,
unit=item,
item=item,
))
return usage_info
@staticmethod
def _iterate_items_and_group_ids(course, items):
"""
Iterate through items and group IDs in a course.
This will yield group IDs for all user partitions except those with a scheme of random.
Yields: tuple of (item, partition_id, group_id)
"""
all_partitions = get_all_partitions_for_course(course)
for config in all_partitions:
if config is not None and config.scheme.name != RANDOM_SCHEME:
for item in items:
if hasattr(item, 'group_access') and item.group_access:
group_ids = item.group_access.get(config.id, [])
for group_id in group_ids:
yield item, config.id, group_id
@staticmethod
def update_usage_info(store, course, configuration):
"""
Update usage information for particular Group Configuration.
Returns json of particular group configuration updated with usage information.
"""
configuration_json = None
# Get all Experiments that use particular Group Configuration in course.
if configuration.scheme.name == RANDOM_SCHEME:
split_tests = store.get_items(
course.id,
category='split_test',
content={'user_partition_id': configuration.id}
)
configuration_json = configuration.to_json()
usage_information = GroupConfiguration._get_content_experiment_usage_info(store, course, split_tests)
configuration_json['usage'] = usage_information.get(configuration.id, [])
elif configuration.scheme.name == COHORT_SCHEME:
# In case if scheme is "cohort"
configuration_json = GroupConfiguration.update_partition_usage_info(store, course, configuration)
return configuration_json
@staticmethod
def update_partition_usage_info(store, course, configuration):
"""
Update usage information for particular Partition Configuration.
Returns json of particular partition configuration updated with usage information.
"""
usage_info = GroupConfiguration.get_partitions_usage_info(store, course)
partition_configuration = configuration.to_json()
for group in partition_configuration['groups']:
group['usage'] = usage_info[configuration.id].get(group['id'], [])
return partition_configuration
@staticmethod
def get_or_create_content_group(store, course):
"""
Returns the first user partition from the course which uses the
CohortPartitionScheme, or generates one if no such partition is
found. The created partition is not saved to the course until
the client explicitly creates a group within the partition and
POSTs back.
"""
content_group_configuration = get_cohorted_user_partition(course)
if content_group_configuration is None:
content_group_configuration = UserPartition(
id=generate_int_id(MINIMUM_GROUP_ID, MYSQL_MAX_INT, GroupConfiguration.get_used_ids(course)),
name=CONTENT_GROUP_CONFIGURATION_NAME,
description=CONTENT_GROUP_CONFIGURATION_DESCRIPTION,
groups=[],
scheme_id=COHORT_SCHEME
)
return content_group_configuration.to_json()
content_group_configuration = GroupConfiguration.update_partition_usage_info(
store,
course,
content_group_configuration
)
return content_group_configuration
@staticmethod
def get_all_user_partition_details(store, course):
"""
Returns all the available partitions with updated usage information
:return: list of all partitions available with details
"""
all_partitions = get_all_partitions_for_course(course)
all_updated_partitions = []
for partition in all_partitions:
configuration = GroupConfiguration.update_partition_usage_info(
store,
course,
partition
)
all_updated_partitions.append(configuration)
return all_updated_partitions
| [
"[email protected]"
] | |
88dee361384ca062336575c3836ef4710e625363 | efde08c021b7d90d3470573851c4d4e675afe265 | /backend/detector/tests/test_views.py | 942cc839305e7c37d0034148497be589151c5fb2 | [] | no_license | DragonSavA/Soil-State-Tracker-2 | 64141afb11dd244b5765f45cb067a4b7138815aa | 8cf05286bb324119d511add2bbced5e3d1ea9e77 | refs/heads/main | 2023-02-23T20:33:22.010674 | 2021-01-12T14:28:01 | 2021-01-12T14:28:01 | 329,017,856 | 0 | 0 | null | 2021-01-12T14:48:05 | 2021-01-12T14:48:04 | null | UTF-8 | Python | false | false | 1,613 | py | from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APITestCase
from django.conf import settings
from django.test import override_settings
from client.models import Client
from group.models import Cluster
from detector.models import Detector, DetectorData
from backend.service import get_response
class TestViews(APITestCase):
def setUp(self):
self.user1 = Client.objects.create_user(
email='[email protected]',
first_name='admin',
last_name='admin',
password='very_strong_psw'
)
self.free_detector = Detector.objects.create(
user=self.user1,
x=1,
y=2
)
DetectorData.create_random(self.free_detector)
@override_settings(CACHEOPS_ENABLED=False)
def test_free_detectors_unauth(self):
response = get_response('free-detectors', 'get')
self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
def test_free_detectors_auth(self):
response = get_response('free-detectors', 'get', self.user1)
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(len(response.data), 1)
self.assertEqual(response.data[0]['id'], self.free_detector.id)
def test_detector_data_auth(self):
response = get_response('detector-data', 'get', self.user1, kwargs={'pk': self.free_detector.id})
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(len(response.data), self.free_detector.data.count())
| [
"[email protected]"
] | |
c4cfa8d1f515ccd1db8a8bc200b4be3756aa7ee5 | f1738cd603e0b2e31143f4ebf7eba403402aecd6 | /ucs/services/univention-samba4/scripts/mount_extfs_with_user_xattr.py | 2d16e7e0afec9c4bb662d156572961b9fad2799e | [] | no_license | m-narayan/smart | 92f42bf90d7d2b24f61915fac8abab70dd8282bc | 1a6765deafd8679079b64dcc35f91933d37cf2dd | refs/heads/master | 2016-08-05T17:29:30.847382 | 2013-01-04T04:50:26 | 2013-01-04T04:50:26 | 7,079,786 | 8 | 6 | null | 2015-04-29T08:54:12 | 2012-12-09T14:56:27 | Python | UTF-8 | Python | false | false | 3,409 | py | #!/usr/bin/python2.6
#
# Copyright 2011-2012 Univention GmbH
#
# http://www.univention.de/
#
# All rights reserved.
#
# The source code of this program is made available
# under the terms of the GNU Affero General Public License version 3
# (GNU AGPL V3) as published by the Free Software Foundation.
#
# Binary versions of this program provided by Univention to you as
# well as other copyrighted, protected or trademarked materials like
# Logos, graphics, fonts, specific documentations and configurations,
# cryptographic keys etc. are subject to a license agreement between
# you and Univention and not subject to the GNU AGPL V3.
#
# In the case you use this program under the terms of the GNU AGPL V3,
# the program is provided in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License with the Debian GNU/Linux or Univention distribution in file
# /usr/share/common-licenses/AGPL-3; if not, see
# <http://www.gnu.org/licenses/>.
# This script was adjusted from the Tests for ntacls manipulation
# Copyright (C) Matthieu Patou <[email protected]> 2009-2010
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""Set user_xattr option on ext2/ext3/ext4 filesystems, remount if necessary"""
from univention.lib import fstab
import subprocess
def _do_modify_extfs_option(fstab_partition, options=[], activate=True):
fstab_modified = False
for option in options:
if activate:
if not option in fstab_partition.options:
fstab_partition.options.append(option)
fstab_modified = True
else:
# operation successful: nothing to be done
continue
else:
if not option in fstab_partition.options:
continue
else:
fstab_partition.options.remove(option)
fstab_modified = True
return fstab_modified
def _modify_extfs_option(options=[], activate=True, devices=[]):
fs = fstab.File()
target_partitions = []
if devices:
for device in devices:
fstab_partition = fs.find(spec = device)
if fstab_partition and fstab_partition.type in ('ext3', 'ext4'):
target_partitions.append(fstab_partition)
else:
print 'Device could not be found: %s' % device
else:
for fstype in ('ext2', 'ext3', 'ext4'):
for fstab_partition in fs.get(fstype, ignore_root=False):
target_partitions.append(fstab_partition)
for fstab_partition in target_partitions:
if _do_modify_extfs_option(fstab_partition, options, activate):
fs.save()
if subprocess.call(('mount', '-o', 'remount', fstab_partition.spec)):
print 'Remounting partition failed: %s' % fstab_partition.spec
if __name__ == '__main__':
_modify_extfs_option(['user_xattr'])
| [
"[email protected]"
] | |
130a6ac0797c2fcb39322bcead7677bd23919b6f | 18fe3f034f203bc8a22d08f15b29297ebcc7dfaf | /example/py/QFT/qft.py | 3ebbc269eee255154af2fe6f329ce81fc57cf5c1 | [
"Apache-2.0"
] | permissive | katou-boop/qlazy | b8802c48b0cba0ba89cc1e1a69f551e0f4fdcc73 | 6b62fff65939a589603af7ed8be921c9f1669bb3 | refs/heads/master | 2023-02-17T12:30:05.419650 | 2021-01-17T23:20:20 | 2021-01-17T23:20:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,972 | py | import numpy as np
from pprint import pprint
from qlazypy import QState
def swap(self,q0,q1):
self.cx(q0,q1).cx(q1,q0).cx(q0,q1)
return self
def qft2(self,q1,q0):
self.h(q1).cp(q0,q1,phase=0.5)
self.h(q0)
self.swap(q0,q1)
return self
def iqft2(self,q0,q1):
self.h(q0)
self.cp(q0,q1,phase=-0.5).h(q1)
self.swap(q0,q1)
return self
def qft3(self,q2,q1,q0):
self.h(q2).cp(q1,q2,phase=0.5).cp(q0,q2,phase=0.25)
self.h(q1).cp(q0,q1,phase=0.5)
self.h(q0)
self.swap(q0,q2)
return self
def iqft3(self,q0,q1,q2):
self.h(q0)
self.cp(q0,q1,phase=-0.5).h(q1)
self.cp(q0,q2,phase=-0.25).cp(q1,q2,phase=-0.5).h(q2)
self.swap(q0,q2)
return self
def qft(self,id=None):
dim = len(id)
iid = id[::-1]
for i in range(dim):
self.h(iid[dim-i-1])
phase = 1.0
for j in range(dim-i-1):
phase /= 2.0
self.cp(iid[dim-i-j-2],iid[dim-i-1],phase=phase)
i = 0
while i < dim-1-i:
self.swap(iid[i], iid[dim-1-i])
i += 1
return self
def iqft(self,id=None):
dim = len(id)
for i in range(dim):
phase = -1.0/2**i
for j in range(i):
self.cp(id[j],id[i],phase=phase)
phase *= 2.0
self.h(id[i])
i = 0
while i < dim-1-i:
self.swap(id[i], id[dim-1-i])
i += 1
return self
def main():
QState.swap = swap
QState.qft2 = qft2
QState.qft3 = qft3
QState.qft = qft
QState.iqft2 = iqft2
QState.iqft3 = iqft3
QState.iqft = iqft
print("== initial state ==")
qs = QState(3).h(1).h(0)
qs.show()
data_in = qs.amp
print("== QFT ==")
qs.qft([0,1,2])
qs.show()
print("== FFT (numpy) ==")
data_fft = np.fft.ifft(data_in)
norm = np.linalg.norm(data_fft,ord=2)
data_fft /= norm
pprint(data_fft)
qs.free()
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
48c46b8c3bd246ff8dfade058f8405c50c55756f | c795ec7f77219892183a1222fb51b8be2e754944 | /multiverse server/multiverse-server/multiverse/config/common/world_mgr.py | 6976b6861d72f935a7b2bd64a1922079de12e108 | [
"MIT"
] | permissive | radtek/MultiverseClientServer | 89d9a6656953417170e1066ff3bd06782305f071 | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | refs/heads/master | 2023-01-19T04:54:26.163862 | 2020-11-30T04:58:30 | 2020-11-30T04:58:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,330 | py | #
# The Multiverse Platform is made available under the MIT License.
#
# Copyright (c) 2012 The Multiverse Foundation
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify,
# merge, publish, distribute, sublicense, and/or sell copies
# of the Software, and to permit persons to whom the Software
# is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
# OR OTHER DEALINGS IN THE SOFTWARE.
#
#
from multiverse.server.engine import *
Engine.registerPlugin("multiverse.mars.plugins.MarsWorldManagerPlugin")
| [
"[email protected]"
] | |
103205f28504d218bc32fc2208b56de23c9211c2 | dcd49c222f07454dd365d861a87dead23b850a33 | /presentation/demo1.py | 2caa317785922612af8e8fdca94f13f5b1c5bc33 | [] | no_license | sumsted/mempy_20160321 | 40d7c8e0677ed0fea7f68a0680a2c9b9e090c9a9 | 5b82c9bbe3f7a4aa8075ffcd60956b95d99009af | refs/heads/master | 2021-01-10T03:30:13.467656 | 2016-03-22T20:41:51 | 2016-03-22T20:41:51 | 54,350,637 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 705 | py | import ast
def examine(ast_body, class_name=None):
for node in ast_body:
if isinstance(node, ast.ClassDef):
examine(node.body, node.name)
elif isinstance(node, ast.FunctionDef):
arguments = []
for i, arg in enumerate(node.args.args):
if arg.id != 'self':
arguments.append(arg.id)
if class_name is None:
print({'name': node.name, 'arguments': arguments})
else:
print({'class_name': class_name, 'name': node.name, 'arguments': arguments})
if __name__ == '__main__':
ast_body = ast.parse(open('gopigo.py', 'r').read()).body
examine(ast_body, None)
| [
"[email protected]"
] | |
7fc8760bc6854d56b6dcf3df4bd97e8e8cf388b3 | b39d9ef9175077ac6f03b66d97b073d85b6bc4d0 | /Orgalutran_WC500049543.1.py | 8ccad4813de01962249d03398f873386fa412897 | [] | no_license | urudaro/data-ue | 2d840fdce8ba7e759b5551cb3ee277d046464fe0 | 176c57533b66754ee05a96a7429c3e610188e4aa | refs/heads/master | 2021-01-22T12:02:16.931087 | 2013-07-16T14:05:41 | 2013-07-16T14:05:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,427 | py | {'_data': [['Very common',
[['General',
u'Orgalutran kan orsaka lokala hudreaktioner vid injektionsst\xe4llet (framf\xf6r allt rodnad, med eller utan svullnad). I de kliniska studierna var incidensen, rapporterat av patienterna, en timme efter injektionen, av m\xe5ttlig till sv\xe5r lokal hudreaktion vid minst ett tillf\xe4lle per behandlingscykel 12 % hos patienter som behandlats med Orgalutran och 25 % hos patienter som behandlats med en GnRH agonist. De lokala reaktionerna f\xf6rsvinner normalt inom 4 timmar efter administreringen. Mindre']]],
['Common',
[['General',
u'Sjukdomsk\xe4nsla. Andra rapporterade biverkningar \xe4r relaterade till den kontrollerade ovariella hyperstimuleringen ART, i synnerhet b\xe4ckensm\xe4rta, svullen buk, OHSS (se \xe4ven avsnitt 4.4), ektopisk graviditet och missfall.']]],
['Uncommon', [['Nervous system', u'Huvudv\xe4rk.'], ['GI', u'Illam\xe5ende.']]],
['Very rare',
[['Immune system',
u'Det har rappporterats fall av \xf6verk\xe4nslighetsreaktioner (med varierande symtom s\xe5som utslag, svullnad i ansiktet och dyspn\xe9) s\xe5 tidigt som efter den f\xf6rsta dosen, bland patienter som administrerat Orgalutran. F\xf6rs\xe4mring av eksem har rapporterats hos en patient efter den f\xf6rsta Orgalutran-dosen.']]]],
'_pages': [3, 4],
u'_rank': 5,
u'_type': u'LSFU'} | [
"daro@daro-ThinkPad-X220.(none)"
] | daro@daro-ThinkPad-X220.(none) |
6b07facc356d125a46cf27020753a06cbae87c8c | e744ad7d93455843cca5851af610bbfbc3d47b63 | /api/views.py | d71a5acfcaa1df49bc4aca112f41d46a5b68caeb | [] | no_license | danish703/cbvdjango | 08a7706791fbca5c8058ed59888318956127786b | 584413d40a9891ae12e9bc3213b1c340ad6d0b85 | refs/heads/master | 2023-01-24T07:02:57.015535 | 2020-12-05T22:19:44 | 2020-12-05T22:19:44 | 316,874,748 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 644 | py | from .serializers import BookSerializer
from book.models import Book
from django.http import JsonResponse
from rest_framework.parsers import JSONParser
from rest_framework.decorators import api_view
@api_view(['GET','POST'])
def booklist(request):
if request.method=='GET':
bl = Book.objects.all()
s = BookSerializer(bl,many=True)
return JsonResponse(s.data,safe=False)
else:
#data = JSONParser().parse(request)
s = BookSerializer(data=request.data)
if s.is_valid():
s.save()
return JsonResponse(s.data,status=201)
return JsonResponse(s.data,status=400) | [
"[email protected]"
] | |
5d7d56fb4d01484cb44b34a1e7babd11278857fd | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/167/usersdata/353/68772/submittedfiles/jogoDaVelha.py | c7abcd19afe1a0b57a6d183362bce11d1a514024 | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 615 | py | # -*- coding: utf-8 -*-
import math
#ENTRADA
x1 = int(input('Digite x1: '))
x2 = int(input('Digite x2: '))
x3 = int(input('Digite x3: '))
x4 = int(input('Digite x4: '))
x5 = int(input('Digite x5: '))
x6 = int(input('Digite x6: '))
x7 = int(input('Digite x7: '))
x8 = int(input('Digite x8: '))
x9 = int(input('Digite x9: '))
#PROCESSAMENTO
if x1==x5==x9:
print (x1)
elif x3==x5==x7:
print (x3)
elif x1==x4==x7:
print (x1)
elif x2==x5==x8:
print (x2)
elif x3==x6==x9:
print (x3)
elif x1==x2==x3:
print (x1)
elif x4==x5==x6:
print (x4)
elif x7==x8==x9:
print (x7)
else:
print ('E')
| [
"[email protected]"
] | |
74f8fe8858f6e1ff173e06a4f45c4b2199918cb6 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/62/usersdata/233/31358/submittedfiles/ex1.py | da0cf9c7c68161f7900900d0da6ff776a3d9916a | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 311 | py | # -*- coding: utf-8 -*-
from __future__ import division
a=input(float('Digite a:'))
b=input(float('Digite b:'))
c=input(float('Digite c:'))
Delta=(b**2)-(4*a*c)
if Delta>=0:
x1=(-b+Delta**(1/2))/(2*a)
x2=(-b-Delta**(1/2))/(2*a)
print('x1:%.2f'%x1)
print('x2:%.2f'%x2)
else:
print('SRR')
| [
"[email protected]"
] | |
7b48da91b2aeb4b344130b2fc9b3487bb30b87cb | b7483b4bfa9f9feec9d4ec6d96cdabf6b6f0446f | /web_10_jul_dev_7373/urls.py | d389ea52bac75c194054b2040a6e83891c31f38d | [] | no_license | crowdbotics-apps/web-10-jul-dev-7373 | 7f0ed959b477cf2f29e2de23a4bd3e0342a76c70 | 91f0fb64618ee52b5a672ceca97f42e793ed7a4b | refs/heads/master | 2022-11-18T08:20:37.760939 | 2020-07-10T11:31:41 | 2020-07-10T11:31:41 | 278,540,486 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,967 | py | """web_10_jul_dev_7373 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from allauth.account.views import confirm_email
from rest_framework import permissions
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
urlpatterns = [
path("", include("home.urls")),
path("accounts/", include("allauth.urls")),
path("api/v1/", include("home.api.v1.urls")),
path("admin/", admin.site.urls),
path("users/", include("users.urls", namespace="users")),
path("rest-auth/", include("rest_auth.urls")),
# Override email confirm to use allauth's HTML view instead of rest_auth's API view
path("rest-auth/registration/account-confirm-email/<str:key>/", confirm_email),
path("rest-auth/registration/", include("rest_auth.registration.urls")),
path("home/", include("home.urls")),
]
admin.site.site_header = "web 10 jul"
admin.site.site_title = "web 10 jul Admin Portal"
admin.site.index_title = "web 10 jul Admin"
# swagger
api_info = openapi.Info(
title="web 10 jul API",
default_version="v1",
description="API documentation for web 10 jul App",
)
schema_view = get_schema_view(
api_info, public=True, permission_classes=(permissions.IsAuthenticated,),
)
urlpatterns += [
path("api-docs/", schema_view.with_ui("swagger", cache_timeout=0), name="api_docs")
]
| [
"[email protected]"
] | |
0557bddbd415ed9c7add2388c3f9cf3ff71f3edd | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /gaussiana/ch3_2020_04_23_20_09_22_443850.py | 7d98a0f91bc968643c0089af48c18487d99171f2 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | import math
def calcula_gaussiana(x, mi, sigma):
y = (1/ sigma* (2*math.pi)**0.5) * math.exp((-0.5)*((x-mi)/sigma)**2)
return y | [
"[email protected]"
] | |
2923763dc9a5b4c0162c630a3d00c07e6f97fbef | 498474967e1480acf5cc0f25756e1d748c677195 | /mmdetection3d/mmdet3d/core/voxel/voxel_generator.py | 615b7495584f7e24a7c4ecad6b7002e9ef528466 | [
"MIT",
"Apache-2.0"
] | permissive | hustvl/MapTR | adc37f78cbae9d8c909dd8648088a4930bf55377 | feb0664e64684d3207859279f047fa54a1a806f6 | refs/heads/main | 2023-08-25T17:44:47.672149 | 2023-08-14T13:31:17 | 2023-08-14T13:31:17 | 518,672,305 | 643 | 95 | MIT | 2023-09-14T03:30:23 | 2022-07-28T02:20:43 | Python | UTF-8 | Python | false | false | 11,470 | py | # Copyright (c) OpenMMLab. All rights reserved.
import numba
import numpy as np
class VoxelGenerator(object):
"""Voxel generator in numpy implementation.
Args:
voxel_size (list[float]): Size of a single voxel
point_cloud_range (list[float]): Range of points
max_num_points (int): Maximum number of points in a single voxel
max_voxels (int, optional): Maximum number of voxels.
Defaults to 20000.
"""
def __init__(self,
voxel_size,
point_cloud_range,
max_num_points,
max_voxels=20000):
point_cloud_range = np.array(point_cloud_range, dtype=np.float32)
# [0, -40, -3, 70.4, 40, 1]
voxel_size = np.array(voxel_size, dtype=np.float32)
grid_size = (point_cloud_range[3:] -
point_cloud_range[:3]) / voxel_size
grid_size = np.round(grid_size).astype(np.int64)
self._voxel_size = voxel_size
self._point_cloud_range = point_cloud_range
self._max_num_points = max_num_points
self._max_voxels = max_voxels
self._grid_size = grid_size
def generate(self, points):
"""Generate voxels given points."""
return points_to_voxel(points, self._voxel_size,
self._point_cloud_range, self._max_num_points,
True, self._max_voxels)
@property
def voxel_size(self):
"""list[float]: Size of a single voxel."""
return self._voxel_size
@property
def max_num_points_per_voxel(self):
"""int: Maximum number of points per voxel."""
return self._max_num_points
@property
def point_cloud_range(self):
"""list[float]: Range of point cloud."""
return self._point_cloud_range
@property
def grid_size(self):
"""np.ndarray: The size of grids."""
return self._grid_size
def __repr__(self):
"""str: Return a string that describes the module."""
repr_str = self.__class__.__name__
indent = ' ' * (len(repr_str) + 1)
repr_str += f'(voxel_size={self._voxel_size},\n'
repr_str += indent + 'point_cloud_range='
repr_str += f'{self._point_cloud_range.tolist()},\n'
repr_str += indent + f'max_num_points={self._max_num_points},\n'
repr_str += indent + f'max_voxels={self._max_voxels},\n'
repr_str += indent + f'grid_size={self._grid_size.tolist()}'
repr_str += ')'
return repr_str
def points_to_voxel(points,
voxel_size,
coors_range,
max_points=35,
reverse_index=True,
max_voxels=20000):
"""convert kitti points(N, >=3) to voxels.
Args:
points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and \
points[:, 3:] contain other information such as reflectivity.
voxel_size (list, tuple, np.ndarray): [3] xyz, indicate voxel size
coors_range (list[float | tuple[float] | ndarray]): Voxel range. \
format: xyzxyz, minmax
max_points (int): Indicate maximum points contained in a voxel.
reverse_index (bool): Whether return reversed coordinates. \
if points has xyz format and reverse_index is True, output \
coordinates will be zyx format, but points in features always \
xyz format.
max_voxels (int): Maximum number of voxels this function creates. \
For second, 20000 is a good choice. Points should be shuffled for \
randomness before this function because max_voxels drops points.
Returns:
tuple[np.ndarray]:
voxels: [M, max_points, ndim] float tensor. only contain points.
coordinates: [M, 3] int32 tensor.
num_points_per_voxel: [M] int32 tensor.
"""
if not isinstance(voxel_size, np.ndarray):
voxel_size = np.array(voxel_size, dtype=points.dtype)
if not isinstance(coors_range, np.ndarray):
coors_range = np.array(coors_range, dtype=points.dtype)
voxelmap_shape = (coors_range[3:] - coors_range[:3]) / voxel_size
voxelmap_shape = tuple(np.round(voxelmap_shape).astype(np.int32).tolist())
if reverse_index:
voxelmap_shape = voxelmap_shape[::-1]
# don't create large array in jit(nopython=True) code.
num_points_per_voxel = np.zeros(shape=(max_voxels, ), dtype=np.int32)
coor_to_voxelidx = -np.ones(shape=voxelmap_shape, dtype=np.int32)
voxels = np.zeros(
shape=(max_voxels, max_points, points.shape[-1]), dtype=points.dtype)
coors = np.zeros(shape=(max_voxels, 3), dtype=np.int32)
if reverse_index:
voxel_num = _points_to_voxel_reverse_kernel(
points, voxel_size, coors_range, num_points_per_voxel,
coor_to_voxelidx, voxels, coors, max_points, max_voxels)
else:
voxel_num = _points_to_voxel_kernel(points, voxel_size, coors_range,
num_points_per_voxel,
coor_to_voxelidx, voxels, coors,
max_points, max_voxels)
coors = coors[:voxel_num]
voxels = voxels[:voxel_num]
num_points_per_voxel = num_points_per_voxel[:voxel_num]
return voxels, coors, num_points_per_voxel
@numba.jit(nopython=True)
def _points_to_voxel_reverse_kernel(points,
voxel_size,
coors_range,
num_points_per_voxel,
coor_to_voxelidx,
voxels,
coors,
max_points=35,
max_voxels=20000):
"""convert kitti points(N, >=3) to voxels.
Args:
points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and \
points[:, 3:] contain other information such as reflectivity.
voxel_size (list, tuple, np.ndarray): [3] xyz, indicate voxel size \
coors_range (list[float | tuple[float] | ndarray]): Range of voxels. \
format: xyzxyz, minmax
num_points_per_voxel (int): Number of points per voxel.
coor_to_voxel_idx (np.ndarray): A voxel grid of shape (D, H, W), \
which has the same shape as the complete voxel map. It indicates \
the index of each corresponding voxel.
voxels (np.ndarray): Created empty voxels.
coors (np.ndarray): Created coordinates of each voxel.
max_points (int): Indicate maximum points contained in a voxel.
max_voxels (int): Maximum number of voxels this function create. \
for second, 20000 is a good choice. Points should be shuffled for \
randomness before this function because max_voxels drops points.
Returns:
tuple[np.ndarray]:
voxels: Shape [M, max_points, ndim], only contain points.
coordinates: Shape [M, 3].
num_points_per_voxel: Shape [M].
"""
# put all computations to one loop.
# we shouldn't create large array in main jit code, otherwise
# reduce performance
N = points.shape[0]
# ndim = points.shape[1] - 1
ndim = 3
ndim_minus_1 = ndim - 1
grid_size = (coors_range[3:] - coors_range[:3]) / voxel_size
# np.round(grid_size)
# grid_size = np.round(grid_size).astype(np.int64)(np.int32)
grid_size = np.round(grid_size, 0, grid_size).astype(np.int32)
coor = np.zeros(shape=(3, ), dtype=np.int32)
voxel_num = 0
failed = False
for i in range(N):
failed = False
for j in range(ndim):
c = np.floor((points[i, j] - coors_range[j]) / voxel_size[j])
if c < 0 or c >= grid_size[j]:
failed = True
break
coor[ndim_minus_1 - j] = c
if failed:
continue
voxelidx = coor_to_voxelidx[coor[0], coor[1], coor[2]]
if voxelidx == -1:
voxelidx = voxel_num
if voxel_num >= max_voxels:
continue
voxel_num += 1
coor_to_voxelidx[coor[0], coor[1], coor[2]] = voxelidx
coors[voxelidx] = coor
num = num_points_per_voxel[voxelidx]
if num < max_points:
voxels[voxelidx, num] = points[i]
num_points_per_voxel[voxelidx] += 1
return voxel_num
@numba.jit(nopython=True)
def _points_to_voxel_kernel(points,
voxel_size,
coors_range,
num_points_per_voxel,
coor_to_voxelidx,
voxels,
coors,
max_points=35,
max_voxels=20000):
"""convert kitti points(N, >=3) to voxels.
Args:
points (np.ndarray): [N, ndim]. points[:, :3] contain xyz points and \
points[:, 3:] contain other information such as reflectivity.
voxel_size (list, tuple, np.ndarray): [3] xyz, indicate voxel size.
coors_range (list[float | tuple[float] | ndarray]): Range of voxels. \
format: xyzxyz, minmax
num_points_per_voxel (int): Number of points per voxel.
coor_to_voxel_idx (np.ndarray): A voxel grid of shape (D, H, W), \
which has the same shape as the complete voxel map. It indicates \
the index of each corresponding voxel.
voxels (np.ndarray): Created empty voxels.
coors (np.ndarray): Created coordinates of each voxel.
max_points (int): Indicate maximum points contained in a voxel.
max_voxels (int): Maximum number of voxels this function create. \
for second, 20000 is a good choice. Points should be shuffled for \
randomness before this function because max_voxels drops points.
Returns:
tuple[np.ndarray]:
voxels: Shape [M, max_points, ndim], only contain points.
coordinates: Shape [M, 3].
num_points_per_voxel: Shape [M].
"""
N = points.shape[0]
# ndim = points.shape[1] - 1
ndim = 3
grid_size = (coors_range[3:] - coors_range[:3]) / voxel_size
# grid_size = np.round(grid_size).astype(np.int64)(np.int32)
grid_size = np.round(grid_size, 0, grid_size).astype(np.int32)
# lower_bound = coors_range[:3]
# upper_bound = coors_range[3:]
coor = np.zeros(shape=(3, ), dtype=np.int32)
voxel_num = 0
failed = False
for i in range(N):
failed = False
for j in range(ndim):
c = np.floor((points[i, j] - coors_range[j]) / voxel_size[j])
if c < 0 or c >= grid_size[j]:
failed = True
break
coor[j] = c
if failed:
continue
voxelidx = coor_to_voxelidx[coor[0], coor[1], coor[2]]
if voxelidx == -1:
voxelidx = voxel_num
if voxel_num >= max_voxels:
continue
voxel_num += 1
coor_to_voxelidx[coor[0], coor[1], coor[2]] = voxelidx
coors[voxelidx] = coor
num = num_points_per_voxel[voxelidx]
if num < max_points:
voxels[voxelidx, num] = points[i]
num_points_per_voxel[voxelidx] += 1
return voxel_num
| [
"[email protected]"
] | |
abb096ef90bc16ae6e689a662add4b89d5a0eb6c | d3c21f0051e5ca2f45d98381b0372b4cd916b213 | /cgi-bin/module/plugins/hoster/HellshareCz.py | 0add79ed9ef88640919558cbe79f2285005d4b23 | [] | no_license | f3l/shareacc | ca165272f4265180d9178b6a066c69a0b368f8dd | 615c71216317f7ac46b5217f5672cad0c71a1e49 | refs/heads/master | 2020-04-06T06:41:11.278718 | 2013-02-05T15:15:15 | 2013-02-05T15:15:15 | 4,640,503 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,102 | py | # -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License,
or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
@author: zoidberg
"""
import re
import datetime
from math import ceil
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
from module.network.RequestFactory import getURL
class HellshareCz(SimpleHoster):
__name__ = "HellshareCz"
__type__ = "hoster"
__pattern__ = r"(http://(?:.*\.)*hellshare\.(?:cz|com|sk|hu)/[^?]*/\d+).*"
__version__ = "0.77"
__description__ = """Hellshare.cz"""
__author_name__ = ("zoidberg")
FREE_URL_PATTERN = r'<form[^>]*action="(http://free\d*\.helldata[^"]*)"'
PREMIUM_URL_PATTERN = r"launchFullDownload\('([^']*)'\);"
FILE_NAME_PATTERN = r'<h1 id="filename">(?P<N>[^<]+)</h1>'
FILE_SIZE_PATTERN = r'<td><span>Size</span></td>\s*<th><span>(?P<S>[0-9.]*) (?P<U>[kKMG])i?B</span></th>'
FILE_OFFLINE_PATTERN = r'<h1>File not found.</h1>'
CAPTCHA_PATTERN = r'<img class="left" id="captcha-img"src="([^"]*)" />'
#FILE_CREDITS_PATTERN = r'<strong class="filesize">(\d+) MB</strong>'
CREDIT_LEFT_PATTERN = r'<p>After downloading this file you will have (\d+) MB for future downloads.'
DOWNLOAD_AGAIN_PATTERN = r'<p>This file you downloaded already and re-download is for free. </p>'
SHOW_WINDOW_PATTERN = r'<a href="([^?]+/(\d+)/\?do=(fileDownloadButton|relatedFileDownloadButton-\2)-showDownloadWindow)"'
def setup(self):
self.resumeDownload = self.multiDL = True if self.account else False
self.chunkLimit = 1
def process(self, pyfile):
pyfile.url = re.search(self.__pattern__, pyfile.url).group(1)
self.html = self.load(pyfile.url, decode = True)
self.getFileInfo()
found = re.search(self.SHOW_WINDOW_PATTERN, self.html)
if not found: self.parseError('SHOW WINDOW')
self.url = "http://www.hellshare.com" + found.group(1)
self.logDebug("SHOW WINDOW: " + self.url)
self.html = self.load(self.url, decode=True)
if self.account:
self.handlePremium()
else:
self.handleFree()
def handleFree(self):
# hellshare is very generous
if "You exceeded your today's limit for free download. You can download only 1 files per 24 hours." in self.html:
t = datetime.datetime.today().replace(hour=1, minute=0, second=0) + datetime.timedelta(
days=1) - datetime.datetime.today()
self.setWait(t.seconds, True)
self.wait()
self.retry()
# parse free download url
found = re.search(self.FREE_URL_PATTERN, self.html)
if found is None: self.parseError("Free URL)")
parsed_url = found.group(1)
self.logDebug("Free URL: %s" % parsed_url)
# decrypt captcha
found = re.search(self.CAPTCHA_PATTERN, self.html)
if found is None: self.parseError("Captcha")
captcha_url = found.group(1)
captcha = self.decryptCaptcha(captcha_url)
self.logDebug('CAPTCHA_URL:' + captcha_url + ' CAPTCHA:' + captcha)
self.download(parsed_url, post = {"captcha" : captcha, "submit" : "Download"})
# check download
check = self.checkDownload({
"wrong_captcha": re.compile(self.FREE_URL_PATTERN)
})
if check == "wrong_captcha":
self.invalidCaptcha()
self.retry()
def handlePremium(self):
# get premium download url
found = re.search(self.PREMIUM_URL_PATTERN, self.html)
if found is None: self.fail("Parse error (URL)")
download_url = found.group(1)
# check credit
if self.DOWNLOAD_AGAIN_PATTERN in self.html:
self.logInfo("Downloading again for free")
else:
found = re.search(self.CREDIT_LEFT_PATTERN, self.html)
if not found:
self.logError("Not enough credit left: %d (%d needed). Trying to download as free user." % (credits_left, file_credits))
self.resetAccount()
credits_left = int(found.group(1))
file_credits = ceil(self.pyfile.size / 1024 ** 2)
self.logInfo("Downloading file for %d credits, %d credits left" % (file_credits, credits_left))
self.download(download_url)
info = self.account.getAccountInfo(self.user, True)
self.logInfo("User %s has %i credits left" % (self.user, info["trafficleft"] / 1024))
getInfo = create_getInfo(HellshareCz) | [
"[email protected]"
] | |
9e9d6d52dad7d50b577493a4e9f2211b99cd2907 | 463283665d8509e3834caeb9594c8c434c656580 | /backend/metro_go_19413/settings.py | f4a246429304c5a8c170afd586aa8ac185d57d47 | [] | no_license | crowdbotics-apps/metro-go-19413 | da18250b50c338297d96a2bc738ed46e0edd2c3e | ba167f73af28e2109b042fa936f41d04abdb5663 | refs/heads/master | 2022-11-27T05:03:57.107712 | 2020-08-06T01:20:03 | 2020-08-06T01:20:03 | 285,441,509 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,910 | py | """
Django settings for metro_go_19413 project.
Generated by 'django-admin startproject' using Django 2.2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
import environ
env = environ.Env()
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DEBUG", default=False)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = env.str("SECRET_KEY")
ALLOWED_HOSTS = env.list("HOST", default=["*"])
SITE_ID = 1
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SECURE_SSL_REDIRECT = env.bool("SECURE_REDIRECT", default=False)
# Application definition
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.sites",
"taxi_profile",
"booking",
"location",
"vehicle",
"wallet",
]
LOCAL_APPS = [
"home",
"users.apps.UsersConfig",
]
THIRD_PARTY_APPS = [
"rest_framework",
"rest_framework.authtoken",
"rest_auth",
"rest_auth.registration",
"bootstrap4",
"allauth",
"allauth.account",
"allauth.socialaccount",
"allauth.socialaccount.providers.google",
"django_extensions",
"drf_yasg",
# start fcm_django push notifications
"fcm_django",
# end fcm_django push notifications
]
INSTALLED_APPS += LOCAL_APPS + THIRD_PARTY_APPS
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
ROOT_URLCONF = "metro_go_19413.urls"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
],
},
},
]
WSGI_APPLICATION = "metro_go_19413.wsgi.application"
# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
}
}
if env.str("DATABASE_URL", default=None):
DATABASES = {"default": env.db()}
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
},
{"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",},
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",},
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",},
]
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = "en-us"
TIME_ZONE = "UTC"
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = "/static/"
MIDDLEWARE += ["whitenoise.middleware.WhiteNoiseMiddleware"]
AUTHENTICATION_BACKENDS = (
"django.contrib.auth.backends.ModelBackend",
"allauth.account.auth_backends.AuthenticationBackend",
)
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
# allauth / users
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = "email"
ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
ACCOUNT_UNIQUE_EMAIL = True
LOGIN_REDIRECT_URL = "users:redirect"
ACCOUNT_ADAPTER = "users.adapters.AccountAdapter"
SOCIALACCOUNT_ADAPTER = "users.adapters.SocialAccountAdapter"
ACCOUNT_ALLOW_REGISTRATION = env.bool("ACCOUNT_ALLOW_REGISTRATION", True)
SOCIALACCOUNT_ALLOW_REGISTRATION = env.bool("SOCIALACCOUNT_ALLOW_REGISTRATION", True)
REST_AUTH_SERIALIZERS = {
# Replace password reset serializer to fix 500 error
"PASSWORD_RESET_SERIALIZER": "home.api.v1.serializers.PasswordSerializer",
}
REST_AUTH_REGISTER_SERIALIZERS = {
# Use custom serializer that has no username and matches web signup
"REGISTER_SERIALIZER": "home.api.v1.serializers.SignupSerializer",
}
# Custom user model
AUTH_USER_MODEL = "users.User"
EMAIL_HOST = env.str("EMAIL_HOST", "smtp.sendgrid.net")
EMAIL_HOST_USER = env.str("SENDGRID_USERNAME", "")
EMAIL_HOST_PASSWORD = env.str("SENDGRID_PASSWORD", "")
EMAIL_PORT = 587
EMAIL_USE_TLS = True
# start fcm_django push notifications
FCM_DJANGO_SETTINGS = {"FCM_SERVER_KEY": env.str("FCM_SERVER_KEY", "")}
# end fcm_django push notifications
# Swagger settings for api docs
SWAGGER_SETTINGS = {
"DEFAULT_INFO": f"{ROOT_URLCONF}.api_info",
}
if DEBUG:
# output email to console instead of sending
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
| [
"[email protected]"
] | |
c2eaf6be00624cfb9fb07b5c1768c01b8d63085a | e6c65e2e354336a4bea5b6a4ccbccd3682915fe2 | /out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/losses/losses.py | 3194b58efc0d6197a542f514443b69aa30485725 | [
"Apache-2.0"
] | permissive | rasalt/fhir-datalab | c30ab773d84983dd04a37e9d0ddec8bf2824b8a4 | 3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de | refs/heads/master | 2021-10-09T05:51:04.593416 | 2018-12-21T18:11:03 | 2018-12-22T05:38:32 | 162,744,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | /home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/losses/losses.py | [
"[email protected]"
] | |
57eb39120030442c49d75ff10313cc2e7108e3f3 | 91a1519b82a43f4cd9b1a36cfb19e27f6afcbae3 | /src/models/nli.py | 3c07c282476e14a9a7b986f257b62d80cdea0161 | [] | no_license | stanleysie/usc_dae | b45d2a1d47ec7b50408fc1607348155ee6cd7a1e | 9da432971d165b5b2068fa9724a495f88d3ef5f2 | refs/heads/master | 2023-02-16T11:22:46.398444 | 2019-02-09T15:57:45 | 2019-02-09T15:57:45 | 321,680,275 | 0 | 0 | null | 2020-12-15T13:43:47 | 2020-12-15T13:43:46 | null | UTF-8 | Python | false | false | 3,992 | py | import os
import numpy as np
import sys
import torch
import torch.nn
import torch.nn.functional as F
from torch.autograd import Variable
def get_nli_model(
nli_code_path, nli_pickle_path, glove_path, word_list, verbose=True):
assert os.path.exists(nli_code_path)
sys.path += [nli_code_path]
if verbose:
print("Loading NLI..")
nli_net = torch.load(
nli_pickle_path,
map_location=lambda storage, loc: storage
)
sys.path = sys.path[:-1]
nli_net.encoder.set_glove_path(glove_path)
# the argument is word_dict, but it just needs an iterator
nli_net.encoder.word_vec = nli_net.encoder.get_glove(
word_list, verbose=verbose)
nli_net = nli_net.cuda()
for param in nli_net.parameters():
param.requires_grad = False
if verbose:
print("Done Loading NLI")
return nli_net
def get_nli_loss(gs_onehot, gs_lengths, target_ids, target_lengths,
nli_model, encoder, word_embeddings, device):
batch_size = gs_onehot.shape[0]
pred_embeddings = encoder.embed_onehot(
onehot=gs_onehot,
word_embeddings=word_embeddings,
include_special=False,
)
true_embeddings = encoder.embed_ids(
ids=target_ids,
word_embeddings=word_embeddings,
include_special=False,
)
nli_logprobs = nli_model(
(pred_embeddings.transpose(0, 1), np.array(gs_lengths)),
(true_embeddings.transpose(0, 1), np.array(target_lengths)),
)
nli_loss = torch.nn.NLLLoss()(
nli_logprobs,
Variable(device(torch.LongTensor([0]*batch_size)))
)
return nli_loss, nli_logprobs
def resolve_nli_model(nli_code_path, nli_pickle_path, glove_path, word_list,
nli_loss_multiplier, init_decoder_with_nli, device):
if nli_loss_multiplier or init_decoder_with_nli:
return device(get_nli_model(
nli_code_path=nli_code_path,
nli_pickle_path=nli_pickle_path,
glove_path=glove_path,
word_list=word_list,
))
else:
return None
def resolve_nli_mapper(init_decoder_with_nli, nli_model, hidden_size,
nli_mapper_mode, rnn_type):
if init_decoder_with_nli:
if nli_mapper_mode == 0:
if rnn_type == "gru":
mapper_class = NLIMapper
elif rnn_type == "lstm":
mapper_class = LSTMNLIMapper
else:
raise KeyError(f"Rnn type {rnn_type} not handled")
nli_mapper = mapper_class(
nli_model.enc_lstm_dim * 2,
hidden_size,
)
else:
raise KeyError("Mapping mode not implemented/deprecated")
return nli_mapper
else:
return None
class NLIMapper(torch.nn.Module):
def __init__(self, nli_dim, hidden_size):
super(NLIMapper, self).__init__()
self.nli_dim = nli_dim
self.hidden_size = hidden_size
self.nli_output_dim = hidden_size
self.linear = torch.nn.Linear(
self.nli_dim + self.hidden_size,
self.nli_output_dim,
)
def forward(self, encoder_hidden, infersent_input):
infersent_repeated = infersent_input.expand(
encoder_hidden.shape[0], *infersent_input.shape)
nli_output = F.relu(self.linear(
torch.cat([encoder_hidden, infersent_repeated], dim=2))
)
return nli_output
class LSTMNLIMapper(torch.nn.Module):
def __init__(self, nli_dim, hidden_size):
super(LSTMNLIMapper, self).__init__()
self.nli_dim = nli_dim
self.hidden_size = hidden_size
self.h_mapper = NLIMapper(nli_dim, hidden_size)
self.c_mapper = NLIMapper(nli_dim, hidden_size)
def forward(self, encoder_hidden, infersent_input):
h, c = encoder_hidden
return (
self.h_mapper(h, infersent_input),
self.h_mapper(c, infersent_input),
)
| [
"[email protected]"
] | |
941bd6352a9145867cac9e526b61a89c8c16ed7a | 60dc372f5964737b8463db7eda386017098e923d | /assets/pre-commit/setup.py | b6fc2648ccc60273b1f458cd7f0fddf9157666ab | [] | no_license | jambo6/scripts | 612e1debc9a4266dc2680b93927a883cf456e4e2 | cec34d096da924c39bc6a346e7433691b8288f3a | refs/heads/main | 2023-02-27T03:42:37.346527 | 2021-01-31T18:08:12 | 2021-01-31T18:08:12 | 334,722,916 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 427 | py | import setuptools
with open("../requirements.txt") as f:
required = f.read().splitlines()
setuptools.setup(
name="sacredex",
version="0.0.1",
description="Custom functions for working with sacred for ML projects.",
url="https://github.com/jambo6/sacredex",
author="James Morrill",
author_email="[email protected]",
packages=setuptools.find_packages(),
install_requires=required,
)
| [
"[email protected]"
] | |
7810a51ec0777c0f5663369a7489015114f390a0 | 924750bdb72b9a6746fc807acd0ac665aca54b08 | /CH7_User_Input_And_While_Loops/7-5_Movie_Tickets_2.py | e380fe07bd14ca5b96ef8f743ed2a8cdf3538a2b | [] | no_license | jiez1812/Python_Crash_Course | 0a8ad80ddaa6bd14f2ca8d26029b9556584d13b5 | e460d9ccf9610ea3e306137789e36fc1f2e8a5f9 | refs/heads/master | 2021-10-27T06:38:47.185228 | 2019-04-16T17:03:23 | 2019-04-16T17:03:23 | 103,537,248 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 615 | py | prompt = "Please tell us your age for price of ticket."
prompt += "\n(Enter 'quit' to exit)\nAge: "
active = True
while active:
ans = input(prompt)
if ans == 'quit':
active = False
print('Thank you for enquiry.\n')
elif not ans.isdecimal():
print('Please insert valid input.\n')
else:
age = int(ans)
if 0 <= age < 3 :
print('The ticket is free\n')
elif 3 <= age <= 12 :
print('The ticket is $10\n')
elif age >= 12 :
print('The ticket is $15\n')
else:
print('Please enter valid age\n') | [
"[email protected]"
] | |
19709ed76a6566e830d9d2f769db316d2ce51e0c | 0a1f8957a798006deaa53d10d09f733fab1e6b05 | /analysis_tools/ExamplePython/output/scripts/python_sample.py | bd91218667520b112670e9a9b42c185513b831ea | [
"LicenseRef-scancode-other-permissive"
] | permissive | metamorph-inc/meta-core | a89504ccb1ed2f97cc6e792ba52e3a6df349efef | bc7a05e04c7901f477fe553c59e478a837116d92 | refs/heads/master | 2023-03-07T02:52:57.262506 | 2023-03-01T18:49:49 | 2023-03-01T18:49:49 | 40,361,476 | 25 | 15 | NOASSERTION | 2023-01-13T16:54:30 | 2015-08-07T13:21:24 | Python | UTF-8 | Python | false | false | 4,295 | py | import glob
import logging
from optparse import OptionParser
import os
import sys
import json
from lxml import etree
from collections import Counter
# ------------------ setting up logger ------------------------------
# create logger with 'python_sample_analysis_tool'
logger = logging.getLogger('python_sample_analysis_tool')
logger.setLevel(logging.DEBUG)
# create file handler which logs even debug messages
if not os.path.isdir('log'):
os.mkdir('log')
fh = logging.FileHandler(os.path.join('log', 'python_sample_analysis_tool.log'))
fh.setLevel(logging.DEBUG)
# create console handler with a higher log level
ch = logging.StreamHandler()
ch.setLevel(logging.WARNING)
# create formatter and add it to the handlers
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
fh.setFormatter(formatter)
ch.setFormatter(formatter)
# add the handlers to the logger
logger.addHandler(fh)
logger.addHandler(ch)
# ------------------ functionality implementation ------------------
# find adm file/files
def transform_adm(adm_file):
# FIXME: check if file exists
# read adm file
tree = etree.parse(adm_file)
logger.debug("transforming: %s", adm_file)
num_components = 0
component_classes = Counter()
# get all component instances at every level
for component in tree.findall('.//ComponentInstance'):
num_components += 1
component_classes[component.get('ComponentID')] += 1
return {
'count_components': num_components,
'component_classes': component_classes
}
# perform analysis
def count_components(adm_json):
return adm_json['count_components']
def bill_of_materials(adm_json):
return {'number_of_component_classes': len(adm_json['component_classes'].keys())}
# report results
def update_manifest_json(metric_name, value):
with open('testbench_manifest.json', 'r') as f_p:
test_bench_manifest = json.load(f_p)
found = False
for metric in test_bench_manifest['Metrics']:
if metric['Name'] == metric_name:
metric['Value'] = str(value)
found = True
break
if found:
with open('testbench_manifest.json', 'w') as f_p:
json.dump(test_bench_manifest, f_p)
logger.info('Metric was found and updated %s, %s', metric_name, str(value))
return 0
else:
logger.error('Metric was NOT found %s, %s', metric_name, str(value))
return 1
# ------------------ initialize variables --------------------------
def main():
parser = OptionParser()
parser.add_option("-a", "--adm", type='string', action="store",
help='AVM design model file. If it is not defined, runs on the first ADM file in the directory.')
parser.add_option("-b", "--bom", action="store_true", default=False,
help='Exports bill of material component list.')
parser.add_option("-c", "--components", action="store_true", default=False,
help='Counts number of components used in the design.')
(opts, args) = parser.parse_args()
working_dir = os.getcwd()
logger.debug("working directory: %s", working_dir)
if opts.adm:
adm_file = opts.adm
else:
adm_file = glob.glob('*.adm')[0]
logger.debug("given adm file: %s", adm_file)
adm_data = transform_adm(adm_file)
with open('adm_analysis_results.json', 'w') as f_p:
json.dump(adm_data, f_p)
if opts.bom:
logger.info("reporting bill of material")
bom = bill_of_materials(adm_data)
return update_manifest_json('NumberOfComponentClasses', bom['number_of_component_classes'])
if opts.components:
logger.info("reporting number of components")
number_of_components = count_components(adm_data)
return update_manifest_json('NumberOfComponents', number_of_components)
parser.print_help()
parser.error("Incorrect number of arguments --bom or --components has to be defined. BOM has precedence.")
# ------------------ call main -------------------------------------
if __name__ == '__main__':
sys.exit(main()) | [
"[email protected]"
] | |
043fa102e3eab792ac475330290ce4b64af9b2b7 | f3d75509d63297588227b7652462bb95bfed3c52 | /les_9_task_1.py | 34108af3cf38d8839641192ae84634ff579a0c09 | [] | no_license | snlnrush/python-alg-and-data | 220faa912ab1ce7ad53c62aa905d792ef4c5d280 | a4a3d20e46dc48bf394733e7cf6dccabdcf9bed4 | refs/heads/master | 2022-06-17T01:59:26.439289 | 2020-05-08T10:19:08 | 2020-05-08T10:19:08 | 260,943,073 | 0 | 0 | null | 2020-05-07T15:02:13 | 2020-05-03T14:30:07 | Python | UTF-8 | Python | false | false | 2,627 | py | """
1. Определение количества различных подстрок с использованием хеш-функции. Пусть на вход функции дана строка.
Требуется вернуть количество различных подстрок в этой строке.
Примечания:
* в сумму не включаем пустую строку и строку целиком;
* задача считается решённой, если в коде использована функция вычисления хеша (hash(),
sha1() или любая другая из модуля hashlib)
"""
import hashlib
from itertools import combinations
def options(phrase: str) -> set:
"""
Функция вычисляет все возможные уникальные варианты и сочетания подстрок.
"""
assert len(phrase) > 0, 'Пустая строка!'
if len(phrase) == 1:
return set(phrase)
options_set = set()
for i in range(1, len(phrase)):
options_set.update(combinations(phrase, i)) # комбинируем все варианты подстрок, уникализируем их во множестве.
return options_set
def hash_check(phrase: str, subs: set) -> tuple:
"""
Функция проверяет наличие подстроки в строке с помощью хеш-функции и при наличии суммирует.
"""
count = 0
list_subs = []
for sub_item in subs:
sub_item_hash = hashlib.sha1(''.join(sub_item).encode('utf-8')).hexdigest()
for i in range(len(phrase) - len(sub_item) + 1):
if sub_item_hash == hashlib.sha1(phrase[i: i + len(sub_item)].encode('utf-8')).hexdigest():
count += 1
list_subs.append(''.join(sub_item))
break
return count, list_subs
phrase = input('Введите исследуему строку:')
print('\nИсследуемая строка:\n', phrase)
result = hash_check(phrase, options(phrase))
print('\nКоличество различных подстрок в строке:', result[0])
print('\nВсе различные уникальные подстроки в строке:\n', result[1])
"""
Пример работы программы
Исследуемая строка:
papa
Количество различных подстрок в строке: 6
Все различные уникальные подстроки в строке:
['pap', 'p', 'pa', 'apa', 'a', 'ap']
"""
| [
"[email protected]"
] | |
5cbaa3a0c17afdda242c582e4d10e2db771fe03d | 88f7d5eaeb39a5ee83f90a2f55af2c3eb5135147 | /fastai/callback/mixup.py | 64ae6656a6d873c6aca2c1097d09c19233777817 | [
"Apache-2.0"
] | permissive | abcp4/fastai | 7671f488cc6f969a2594e22be94bb6d3d3172504 | 769ba85d789905d68953daba6c3b52d4e9b2359b | refs/heads/main | 2023-02-15T04:47:15.850298 | 2021-01-02T14:42:32 | 2021-01-02T14:42:32 | 321,826,680 | 0 | 0 | Apache-2.0 | 2020-12-16T00:46:10 | 2020-12-16T00:46:09 | null | UTF-8 | Python | false | false | 1,828 | py | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/19_callback.mixup.ipynb (unless otherwise specified).
__all__ = ['reduce_loss', 'MixUp']
# Cell
from ..basics import *
from .progress import *
from ..vision.core import *
from ..vision.models.xresnet import *
from torch.distributions.beta import Beta
# Cell
def reduce_loss(loss, reduction='mean'):
return loss.mean() if reduction=='mean' else loss.sum() if reduction=='sum' else loss
# Cell
class MixUp(Callback):
run_after,run_valid = [Normalize],False
def __init__(self, alpha=0.4): self.distrib = Beta(tensor(alpha), tensor(alpha))
def before_fit(self):
self.stack_y = getattr(self.learn.loss_func, 'y_int', False)
if self.stack_y: self.old_lf,self.learn.loss_func = self.learn.loss_func,self.lf
def after_fit(self):
if self.stack_y: self.learn.loss_func = self.old_lf
def before_batch(self):
lam = self.distrib.sample((self.y.size(0),)).squeeze().to(self.x.device)
lam = torch.stack([lam, 1-lam], 1)
self.lam = lam.max(1)[0]
shuffle = torch.randperm(self.y.size(0)).to(self.x.device)
xb1,self.yb1 = tuple(L(self.xb).itemgot(shuffle)),tuple(L(self.yb).itemgot(shuffle))
nx_dims = len(self.x.size())
self.learn.xb = tuple(L(xb1,self.xb).map_zip(torch.lerp,weight=unsqueeze(self.lam, n=nx_dims-1)))
if not self.stack_y:
ny_dims = len(self.y.size())
self.learn.yb = tuple(L(self.yb1,self.yb).map_zip(torch.lerp,weight=unsqueeze(self.lam, n=ny_dims-1)))
def lf(self, pred, *yb):
if not self.training: return self.old_lf(pred, *yb)
with NoneReduce(self.old_lf) as lf:
loss = torch.lerp(lf(pred,*self.yb1), lf(pred,*yb), self.lam)
return reduce_loss(loss, getattr(self.old_lf, 'reduction', 'mean')) | [
"[email protected]"
] | |
976bdff97c1361b41eb3808f0f6cb9e95a95cfab | f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b | /controller/src/vnsw/agent/uve/cpuinfo.py | 80d92022e419afb85b9029f67a97f308f6fec132 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | pan2za/ctrl | 8f808fb4da117fce346ff3d54f80b4e3d6b86b52 | 1d49df03ec4577b014b7d7ef2557d76e795f6a1c | refs/heads/master | 2021-01-22T23:16:48.002959 | 2015-06-17T06:13:36 | 2015-06-17T06:13:36 | 37,454,161 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,930 | py | #
# Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
#
import os
import psutil
from vrouter.cpuinfo.ttypes import *
class CpuInfoData(object):
def __init__(self):
self._process = psutil.Process(os.getpid())
self._num_cpu = 0
#end __init__
def _get_num_cpu(self):
return psutil.NUM_CPUS
#end _get_num_cpu
def _get_sys_mem_info(self):
phymem_info = psutil.phymem_usage()
sys_mem_info = SysMemInfo()
sys_mem_info.total = phymem_info[0]/1024
sys_mem_info.used = phymem_info[1]/1024
sys_mem_info.free = phymem_info[2]/1024
return sys_mem_info
#end _get_sys_mem_info
def _get_mem_info(self):
mem_info = MemInfo()
mem_info.virt = self._process.get_memory_info().vms/1024
mem_info.peakvirt = mem_info.virt
mem_info.res = self._process.get_memory_info().rss/1024
return mem_info
#end _get_mem_info
def _get_cpu_load_avg(self):
load_avg = os.getloadavg()
cpu_load_avg = CpuLoadAvg()
cpu_load_avg.one_min_avg = load_avg[0]
cpu_load_avg.five_min_avg = load_avg[1]
cpu_load_avg.fifteen_min_avg = load_avg[2]
#end _get_cpu_load_avg
def _get_cpu_share(self):
cpu_percent = self._process.get_cpu_percent(interval=0.1)
return cpu_percent/self._get_num_cpu()
#end _get_cpu_share
def get_cpu_info(self, system=True):
cpu_info = CpuLoadInfo()
num_cpu = self._get_num_cpu()
if self._num_cpu != num_cpu:
self._num_cpu = num_cpu
cpu_info.num_cpu = num_cpu
if system:
cpu_info.sys_mem_info = self._get_sys_mem_info()
cpu_info.cpuload = self._get_cpu_load_avg()
cpu_info.meminfo = self._get_mem_info()
cpu_info.cpu_share = self._get_cpu_share()
return cpu_info
#end get_cpu_info
#end class CpuInfoData
| [
"[email protected]"
] | |
743856619a6a9fc5acc3233b6ab7ab96997f0904 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/103/usersdata/162/50409/submittedfiles/av1_3.py | 5aa313f32026797e5c578a1fe5530ca39d1c1606 | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 270 | py | # -*- coding: utf-8 -*-
import math
a=int(input('Digite o primeiro número:'))
b=int(input('Digite o segundo número:'))
ant=a
atual=b
cont=1
resto=ant%atual
while resto!=0:
post=atual
atual=resto
cont=cont+1
if post%atual==0:
print(atual)
| [
"[email protected]"
] | |
10130ff786d81789a85eb06a31e9cd1149eae79c | 2bdedcda705f6dcf45a1e9a090377f892bcb58bb | /src/main/output/problem/party/php.py | 95b563f2a716c46065800645e6ab63e4b5ad8439 | [] | no_license | matkosoric/GenericNameTesting | 860a22af1098dda9ea9e24a1fc681bb728aa2d69 | 03f4a38229c28bc6d83258e5a84fce4b189d5f00 | refs/heads/master | 2021-01-08T22:35:20.022350 | 2020-02-21T11:28:21 | 2020-02-21T11:28:21 | 242,123,053 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,092 | py | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Translator.API;
namespace CSharp_TranslateSample
{
public class Program
{
private const string SubscriptionKey = "efc1a84836c7f3db9a730df44241ab30"; //Enter here the Key from your Microsoft Translator Text subscription on http://portal.azure.com
public static string traducida;
public static void Main(string[] args)
{
//TranslateAsync().Wait();
//Console.ReadKey();
}
public static void iniciar() {
TranslateAsync().Wait();
Console.ReadKey();
}
/// Demonstrates getting an access token and using the token to translate.
private static async Task TranslateAsync()
{
var translatorService = new TranslatorService.LanguageServiceClient();
var authTokenSource = new AzureAuthToken(SubscriptionKey);
var token = string.Empty;
try
{
token = await authTokenSource.GetAccessTokenAsync();
}
catch (HttpRequestException)
{
switch (authTokenSource.RequestStatusCode)
{
case HttpStatusCode.Unauthorized:
Console.WriteLine("Request to token service is not authorized (401). Check that the Azure subscription key is valid.");
break;
case HttpStatusCode.Forbidden:
Console.WriteLine("Request to token service is not authorized (403). For accounts in the free-tier, check that the account quota is not exceeded.");
break;
}
throw;
}
traducida = translatorService.Translate(token, "Hello World", "en", "fr", "text/plain", "general", string.Empty);
//Console.WriteLine("Translated to French: {0}", translatorService.Translate(token, "Hello World", "en", "fr", "text/plain", "general", string.Empty));
}
}
}
| [
"[email protected]"
] | |
76ed5acab4d05e27f6421542aa707aaf3fd5d882 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /140_gui/pyqt_pyside/examples/PyQt5_From_A-Z/grid_layout_finished.py | 85447004de92d82364cad5e37cd54c06fd797271 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 1,473 | py | import sys
from PyQt5.QtWidgets import *
class DlgMain(QDialog):
def __init__(self):
super().__init__()
self.setWindowTitle("My GUI")
###### Create Widgets
self.btn0 = QPushButton("0")
self.btn1 = QPushButton("1")
self.btn2 = QPushButton("2")
self.btn3 = QPushButton("3")
self.btn4 = QPushButton("4")
self.btn5 = QPushButton("5")
self.btn6 = QPushButton("6")
self.btn7 = QPushButton("7")
self.btn8 = QPushButton("8")
self.btn9 = QPushButton("9")
self.btnCalc = QPushButton("Calculate")
self.setupLayout()
def setupLayout(self):
###### Setup Layout
self.mainLayout = QGridLayout()
self.mainLayout.addWidget(self.btn1, 4, 0)
self.mainLayout.addWidget(self.btn2, 4, 1)
self.mainLayout.addWidget(self.btn3, 4, 2)
self.mainLayout.addWidget(self.btn4, 3, 0)
self.mainLayout.addWidget(self.btn5, 3, 1)
self.mainLayout.addWidget(self.btn6, 3, 2)
self.mainLayout.addWidget(self.btn7, 2, 0)
self.mainLayout.addWidget(self.btn8, 2, 1)
self.mainLayout.addWidget(self.btn9, 2, 2)
self.mainLayout.addWidget(self.btn0, 5, 1)
self.mainLayout.addWidget(self.btnCalc, 0, 0, 1, 3)
self.setLayout(self.mainLayout)
if __name__ == "__main__":
app = QApplication(sys.argv)
dlgMain = DlgMain()
dlgMain.show()
sys.exit(app.exec_())
| [
"[email protected]"
] | |
4f66a53c65fec5b4196f05e07ca1ccfc1d230bdd | b31eceb853c456a65bf69a2768746e452080e52b | /models.py | 6191e81c9607e37c9acb37b4ef1e1cfec22569c2 | [] | no_license | 100ballovby/RegistrationLoginProject | aa3c4c7e78e9051baa6fe5ee3a7caa582b7cee17 | 0326e60ef12b454b85ef53db600626d28e620264 | refs/heads/master | 2023-04-25T03:38:13.488835 | 2021-05-07T10:49:05 | 2021-05-07T10:49:05 | 356,241,390 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 536 | py | from werkzeug.security import generate_password_hash, check_password_hash
from app import db
from flask_login import UserMixin
class User(UserMixin, db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(100), unique=True)
password = db.Column(db.String(100))
def set_password(self, password):
self.password = generate_password_hash(password)
def check_password(self, password):
return check_password_hash(self.password, password)
| [
"[email protected]"
] | |
ea5917e4dd2b9701d10da7dc10ae66cfa3d2c422 | f4b60f5e49baf60976987946c20a8ebca4880602 | /lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/action/extxmlapisubj.py | b10b2e80a6bfe20baebec87a3e59f170decf214a | [] | no_license | cqbomb/qytang_aci | 12e508d54d9f774b537c33563762e694783d6ba8 | a7fab9d6cda7fadcc995672e55c0ef7e7187696e | refs/heads/master | 2022-12-21T13:30:05.240231 | 2018-12-04T01:46:53 | 2018-12-04T01:46:53 | 159,911,666 | 0 | 0 | null | 2022-12-07T23:53:02 | 2018-12-01T05:17:50 | Python | UTF-8 | Python | false | false | 426,565 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.mit.meta import StatsClassMeta
from cobra.mit.meta import CounterMeta
from cobra.mit.meta import PropMeta
from cobra.mit.meta import Category
from cobra.mit.meta import SourceRelationMeta
from cobra.mit.meta import NamedSourceRelationMeta
from cobra.mit.meta import TargetRelationMeta
from cobra.mit.meta import DeploymentPathMeta, DeploymentCategory
from cobra.model.category import MoCategory, PropCategory, CounterCategory
from cobra.mit.mo import Mo
# ##################################################
class ExtXMLApiSubj(Mo):
"""
The external XML API subject.
"""
meta = ClassMeta("cobra.model.action.ExtXMLApiSubj")
meta.moClassName = "actionExtXMLApiSubj"
meta.rnFormat = "extXMLApisubj-[%(oDn)s]"
meta.category = MoCategory.REGULAR
meta.label = "None"
meta.writeAccessMask = 0x1
meta.readAccessMask = 0x79ffffffffffffff
meta.isDomainable = False
meta.isReadOnly = True
meta.isConfigurable = False
meta.isDeletable = False
meta.isContextRoot = False
meta.childClasses.add("cobra.model.fv.EPgTask")
meta.childClasses.add("cobra.model.fv.CtxSharedServiceUpdateTask")
meta.childClasses.add("cobra.model.fv.ARsToRemoteFCTask")
meta.childClasses.add("cobra.model.infra.EpPDTask")
meta.childClasses.add("cobra.model.mgmt.CollectionContTask")
meta.childClasses.add("cobra.model.synthetic.ContextTask")
meta.childClasses.add("cobra.model.hvs.ExtPolTask")
meta.childClasses.add("cobra.model.ident.ReleaseContTask")
meta.childClasses.add("cobra.model.fabric.NodeInfoTask")
meta.childClasses.add("cobra.model.dbgac.TenantSpaceCmnTask")
meta.childClasses.add("cobra.model.fabric.NodePEpTask")
meta.childClasses.add("cobra.model.hvs.FwSvcTask")
meta.childClasses.add("cobra.model.dhcp.RsProvTask")
meta.childClasses.add("cobra.model.recovery.ReconcileNodeTask")
meta.childClasses.add("cobra.model.fv.RtToEpIpForEpgToEpTask")
meta.childClasses.add("cobra.model.synthetic.ContextFsm")
meta.childClasses.add("cobra.model.fabric.PathEpCleanupShardTask")
meta.childClasses.add("cobra.model.callhome.InvPTask")
meta.childClasses.add("cobra.model.lldp.CtrlrAdjEpTask")
meta.childClasses.add("cobra.model.fv.RtAcExtPolToContextTask")
meta.childClasses.add("cobra.model.firmware.SourceTask")
meta.childClasses.add("cobra.model.mgmt.OoBTask")
meta.childClasses.add("cobra.model.callhome.InvTaskTask")
meta.childClasses.add("cobra.model.vmm.RsAEPTask")
meta.childClasses.add("cobra.model.hvs.RsRFltAttTask")
meta.childClasses.add("cobra.model.mgmt.InBZoneTask")
meta.childClasses.add("cobra.model.vns.EPpInfoTask")
meta.childClasses.add("cobra.model.infrazone.TriggeredDeplModeTask")
meta.childClasses.add("cobra.model.vz.FilterTask")
meta.childClasses.add("cobra.model.comp.RsCtrlrPTask")
meta.childClasses.add("cobra.model.fabric.NodeTask")
meta.childClasses.add("cobra.model.infra.NodeCfgTask")
meta.childClasses.add("cobra.model.maint.NodeInMaintTask")
meta.childClasses.add("cobra.model.dbgexp.TechSupPTask")
meta.childClasses.add("cobra.model.fv.ModEpTaskAggrTask")
meta.childClasses.add("cobra.model.throttler.InProgressContTask")
meta.childClasses.add("cobra.model.ident.SegReleaseContTask")
meta.childClasses.add("cobra.model.vz.TabooTask")
meta.childClasses.add("cobra.model.vns.SHEPpInfoTask")
meta.childClasses.add("cobra.model.vns.CtrlrEpTask")
meta.childClasses.add("cobra.model.vns.CMgmtTask")
meta.childClasses.add("cobra.model.tag.AliasInstTask")
meta.childClasses.add("cobra.model.comp.HvTask")
meta.childClasses.add("cobra.model.dbgac.EpgSummaryTask")
meta.childClasses.add("cobra.model.sysdebug.LogControlEpFsm")
meta.childClasses.add("cobra.model.fv.RtProvTask")
meta.childClasses.add("cobra.model.vns.CDevTask")
meta.childClasses.add("cobra.model.pres.DltNodeRegsTask")
meta.childClasses.add("cobra.model.reln.RelTaskContTask")
meta.childClasses.add("cobra.model.fv.RsDomAttTask")
meta.childClasses.add("cobra.model.fv.RsHyperTask")
meta.childClasses.add("cobra.model.fv.AEPgTask")
meta.childClasses.add("cobra.model.sysdebug.TechSupportFsm")
meta.childClasses.add("cobra.model.fabric.ProtGEpTask")
meta.childClasses.add("cobra.model.fabric.VpcResourceTask")
meta.childClasses.add("cobra.model.vns.ScriptRTInfoTask")
meta.childClasses.add("cobra.model.fv.RtToEpIpForEpToEpTask")
meta.childClasses.add("cobra.model.ident.LocalImportStatusTask")
meta.childClasses.add("cobra.model.fv.TabooCtxDefContTask")
meta.childClasses.add("cobra.model.comp.CtrlrTask")
meta.childClasses.add("cobra.model.vpc.IfTask")
meta.childClasses.add("cobra.model.leqpt.LooseNodeTask")
meta.childClasses.add("cobra.model.vns.SHSEPpInfoTask")
meta.childClasses.add("cobra.model.aaa.PartialRbacRuleTask")
meta.childClasses.add("cobra.model.lldp.IfSendTaskTask")
meta.childClasses.add("cobra.model.fv.EpTaskAggrTask")
meta.childClasses.add("cobra.model.hvs.EpCPTask")
meta.childClasses.add("cobra.model.nw.PathEpTask")
meta.childClasses.add("cobra.model.comp.StatsPolTask")
meta.childClasses.add("cobra.model.res.ConsumerTask")
meta.childClasses.add("cobra.model.vz.CollectionContTask")
meta.childClasses.add("cobra.model.vns.LDevInstTask")
meta.childClasses.add("cobra.model.pcons.ResolverTask")
meta.childClasses.add("cobra.model.fvns.McastAddrInstDefTask")
meta.childClasses.add("cobra.model.vns.REPpInfoTask")
meta.childClasses.add("cobra.model.comp.RsUsegEpPDTask")
meta.childClasses.add("cobra.model.l3ext.RtLIfCtxToOutTask")
meta.childClasses.add("cobra.model.hvs.IpSetTask")
meta.childClasses.add("cobra.model.sysdebug.CoreFsm")
meta.childClasses.add("cobra.model.l3ext.CtxUpdaterTask")
meta.childClasses.add("cobra.model.pol.LCountContTask")
meta.childClasses.add("cobra.model.aaa.IDomainRefTask")
meta.childClasses.add("cobra.model.tag.RefTask")
meta.childClasses.add("cobra.model.vz.ACollectionTask")
meta.childClasses.add("cobra.model.recovery.RecStatusShardTask")
meta.childClasses.add("cobra.model.hvs.RFltETask")
meta.childClasses.add("cobra.model.dbgexp.TechSupODevTask")
meta.childClasses.add("cobra.model.dbgexp.TechSupOnDTask")
meta.childClasses.add("cobra.model.frmwrk.EMgrDeliveryDestTask")
meta.childClasses.add("cobra.model.dbg.RemotePortTask")
meta.childClasses.add("cobra.model.opflexp.PolicyConsumerTask")
meta.childClasses.add("cobra.model.fabric.NodeIdentPTask")
meta.childClasses.add("cobra.model.fv.DelEpTaskAggrTask")
meta.childClasses.add("cobra.model.frmwrk.PEDeliveryDestTask")
meta.childClasses.add("cobra.model.vns.LDevCtxTask")
meta.childClasses.add("cobra.model.tag.InstTask")
meta.childClasses.add("cobra.model.vz.CtrctEPgContTask")
meta.childClasses.add("cobra.model.ident.SegmentTask")
meta.childClasses.add("cobra.model.span.SrcTask")
meta.childClasses.add("cobra.model.fv.RtDestEpgTask")
meta.childClasses.add("cobra.model.lldp.IfTask")
meta.childClasses.add("cobra.model.aaa.UserTask")
meta.childClasses.add("cobra.model.comp.PolContTask")
meta.childClasses.add("cobra.model.tag.AliasDelInstTask")
meta.childClasses.add("cobra.model.hvs.MacSetTask")
meta.childClasses.add("cobra.model.dlgt.DelegateTask")
meta.childClasses.add("cobra.model.ident.ConsumerTask")
meta.childClasses.add("cobra.model.comp.MgmtNicTask")
meta.childClasses.add("cobra.model.dbgexp.NodeStatusTask")
meta.childClasses.add("cobra.model.top.SystemTask")
meta.childClasses.add("cobra.model.infra.RsDomPTask")
meta.childClasses.add("cobra.model.hvs.FwRuleTask")
meta.childClasses.add("cobra.model.vns.RsTermToEPgTask")
meta.childClasses.add("cobra.model.vz.BrCPTask")
meta.childClasses.add("cobra.model.ident.AllocContTask")
meta.childClasses.add("cobra.model.vz.GlobalPcTagRequestTask")
meta.childClasses.add("cobra.model.aaa.ADomainRefTask")
meta.childClasses.add("cobra.model.fv.RtToEpIpTask")
meta.childClasses.add("cobra.model.vns.SDEPpInfoTask")
meta.childClasses.add("cobra.model.comp.RsCtrlrTask")
meta.childClasses.add("cobra.model.testinfralab.FreebiesTask")
meta.childClasses.add("cobra.model.fabric.ShardTaskHolderTask")
meta.childClasses.add("cobra.model.vns.SvcVipUpdateTask")
meta.childClasses.add("cobra.model.pcons.RefTask")
meta.childClasses.add("cobra.model.fv.RtToEpTask")
meta.childClasses.add("cobra.model.vns.SLDevInstTask")
meta.childClasses.add("cobra.model.comp.VNicPDDefTask")
meta.childClasses.add("cobra.model.vns.RsLDevInstTask")
meta.childClasses.add("cobra.model.fv.CtrctCtxDefContTask")
meta.childClasses.add("cobra.model.recovery.RecStatusLocalContTask")
meta.childClasses.add("cobra.model.hvs.RtNicAdjTask")
meta.childClasses.add("cobra.model.fv.VDEpTask")
meta.childClasses.add("cobra.model.pcons.ResolveCompleteRefTask")
meta.childClasses.add("cobra.model.fabric.DecommissionJobTask")
meta.childClasses.add("cobra.model.mgmt.InstPTask")
meta.childClasses.add("cobra.model.ident.ContextTask")
meta.childClasses.add("cobra.model.lldp.InstSendTaskTask")
meta.childClasses.add("cobra.model.fv.VipUpdateTask")
meta.childClasses.add("cobra.model.span.TaskParamTask")
meta.childClasses.add("cobra.model.ident.SegAllocContTask")
meta.childClasses.add("cobra.model.pres.ResolverTask")
meta.childClasses.add("cobra.model.fabric.RsDecommissionNodeTask")
meta.childClasses.add("cobra.model.svccore.NodeTask")
meta.childClasses.add("cobra.model.fv.EpDefTask")
meta.childClasses.add("cobra.model.vmm.CtrlrPTask")
meta.childClasses.add("cobra.model.mgmt.OoBZoneTask")
meta.childClasses.add("cobra.model.vz.FltTaskAggrTask")
meta.childClasses.add("cobra.model.firmware.FirmwareTask")
meta.childClasses.add("cobra.model.lacp.LagPolDefTask")
meta.childClasses.add("cobra.model.comp.EpPDTask")
meta.childClasses.add("cobra.model.vns.EPgDefTask")
meta.childClasses.add("cobra.model.vns.EPgDefConsTask")
meta.childClasses.add("cobra.model.frmwrk.DeliveryDestTask")
meta.childClasses.add("cobra.model.fv.CollectionContTask")
meta.childClasses.add("cobra.model.fv.AAREpPRequestorTask")
meta.childClasses.add("cobra.model.comp.PvlanContTask")
meta.childClasses.add("cobra.model.comp.HpNicTask")
meta.childClasses.add("cobra.model.vns.RsTermToAnyTask")
meta.childClasses.add("cobra.model.fvcap.ScopeRegTask")
meta.childClasses.add("cobra.model.comp.EpPConnTask")
meta.childClasses.add("cobra.model.fabric.PmPathEpCleanupTask")
meta.childClasses.add("cobra.model.ident.ElementTask")
meta.childClasses.add("cobra.model.firmware.CtrlrFwStatusContTask")
meta.childClasses.add("cobra.model.vns.SLDevInstConsTask")
meta.childClasses.add("cobra.model.comp.MbrMacTask")
meta.childClasses.add("cobra.model.fabric.AProtGEpTask")
meta.childClasses.add("cobra.model.reln.ReleaseRefTask")
meta.childClasses.add("cobra.model.dhcp.ClientTask")
meta.childClasses.add("cobra.model.ident.ShardImportStatusTask")
meta.childClasses.add("cobra.model.fvns.VxlanInstDefTask")
meta.childClasses.add("cobra.model.infra.RsFuncToEpgTask")
meta.childClasses.add("cobra.model.config.SubJobTask")
meta.childClasses.add("cobra.model.svccore.ACoreTask")
meta.childClasses.add("cobra.model.hvs.RFltPTask")
meta.childClasses.add("cobra.model.fabric.NodeTaskHolderTask")
meta.childClasses.add("cobra.model.hvs.LNodeTask")
meta.childClasses.add("cobra.model.dbgexp.ExportPTask")
meta.childClasses.add("cobra.model.comp.CtrlrFsm")
meta.childClasses.add("cobra.model.fv.InBEpPTask")
meta.childClasses.add("cobra.model.fv.RtToEpForEpToEpTask")
meta.childClasses.add("cobra.model.pcons.ResolverContTask")
meta.childClasses.add("cobra.model.fv.SubnetBDDefContTask")
meta.childClasses.add("cobra.model.fv.AEpDefTask")
meta.childClasses.add("cobra.model.dhcp.DiscNodeTask")
meta.childClasses.add("cobra.model.fv.RtToEpForEpgToEpTask")
meta.childClasses.add("cobra.model.firmware.DownloadTask")
meta.childClasses.add("cobra.model.recovery.ReconcileLocTask")
meta.childClasses.add("cobra.model.ident.SourceTask")
meta.childClasses.add("cobra.model.frmwrk.OEDeliveryDestTask")
meta.childClasses.add("cobra.model.vz.ProvDefTask")
meta.childClasses.add("cobra.model.pki.FabricNodeSSLCertificateTask")
meta.childClasses.add("cobra.model.fv.ImplicitStaleEpTask")
meta.childClasses.add("cobra.model.pcons.LocationTask")
meta.childNamesAndRnPrefix.append(("cobra.model.pki.FabricNodeSSLCertificateTask", "pkiFabricNodeSSLCertificateTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.infrazone.TriggeredDeplModeTask", "infrazoneTriggeredDeplModeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.recovery.RecStatusLocalContTask", "recoveryRecStatusLocalContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.firmware.CtrlrFwStatusContTask", "firmwareCtrlrFwStatusContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.CtxSharedServiceUpdateTask", "fvCtxSharedServiceUpdateTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.PathEpCleanupShardTask", "fabricPathEpCleanupShardTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.RsDecommissionNodeTask", "fabricRsDecommissionNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.throttler.InProgressContTask", "throttlerInProgressContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pcons.ResolveCompleteRefTask", "pconsResolveCompleteRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.LocalImportStatusTask", "identLocalImportStatusTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.recovery.RecStatusShardTask", "recoveryRecStatusShardTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.frmwrk.EMgrDeliveryDestTask", "frmwrkEMgrDeliveryDestTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.ShardImportStatusTask", "identShardImportStatusTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.recovery.ReconcileNodeTask", "recoveryReconcileNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtAcExtPolToContextTask", "fvRtAcExtPolToContextTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.opflexp.PolicyConsumerTask", "opflexpPolicyConsumerTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.ShardTaskHolderTask", "fabricShardTaskHolderTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.DecommissionJobTask", "fabricDecommissionJobTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.PmPathEpCleanupTask", "fabricPmPathEpCleanupTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpIpForEpgToEpTask", "fvRtToEpIpForEpgToEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fvns.McastAddrInstDefTask", "fvnsMcastAddrInstDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.frmwrk.PEDeliveryDestTask", "frmwrkPEDeliveryDestTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.GlobalPcTagRequestTask", "vzGlobalPcTagRequestTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.testinfralab.FreebiesTask", "testinfralabFreebiesTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.NodeTaskHolderTask", "fabricNodeTaskHolderTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.recovery.ReconcileLocTask", "recoveryReconcileLocTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.frmwrk.OEDeliveryDestTask", "frmwrkOEDeliveryDestTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgac.TenantSpaceCmnTask", "dbgacTenantSpaceCmnTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.SegReleaseContTask", "identSegReleaseContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.sysdebug.LogControlEpFsm", "sysdebugLogControlEpFsm-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpIpForEpToEpTask", "fvRtToEpIpForEpToEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.mgmt.CollectionContTask", "mgmtCollectionContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.sysdebug.TechSupportFsm", "sysdebugTechSupportFsm-"))
meta.childNamesAndRnPrefix.append(("cobra.model.aaa.PartialRbacRuleTask", "aaaPartialRbacRuleTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.l3ext.RtLIfCtxToOutTask", "l3extRtLIfCtxToOutTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.frmwrk.DeliveryDestTask", "frmwrkDeliveryDestTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpForEpgToEpTask", "fvRtToEpForEpgToEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.VpcResourceTask", "fabricVpcResourceTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.TabooCtxDefContTask", "fvTabooCtxDefContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgexp.TechSupODevTask", "dbgexpTechSupODevTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.CtrctCtxDefContTask", "fvCtrctCtxDefContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.SegAllocContTask", "identSegAllocContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.AAREpPRequestorTask", "fvAAREpPRequestorTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpForEpToEpTask", "fvRtToEpForEpToEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pcons.ResolverContTask", "pconsResolverContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.SubnetBDDefContTask", "fvSubnetBDDefContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.ImplicitStaleEpTask", "fvImplicitStaleEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.synthetic.ContextTask", "syntheticContextTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.ReleaseContTask", "identReleaseContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.maint.NodeInMaintTask", "maintNodeInMaintTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.CollectionContTask", "vzCollectionContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgexp.TechSupOnDTask", "dbgexpTechSupOnDTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.NodeIdentPTask", "fabricNodeIdentPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgexp.NodeStatusTask", "dbgexpNodeStatusTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.lldp.InstSendTaskTask", "lldpInstSendTaskTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.firmware.FirmwareTask", "firmwareFirmwareTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.CollectionContTask", "fvCollectionContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SLDevInstConsTask", "vnsSLDevInstConsTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fvns.VxlanInstDefTask", "fvnsVxlanInstDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.infra.RsFuncToEpgTask", "infraRsFuncToEpgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.firmware.DownloadTask", "firmwareDownloadTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.ARsToRemoteFCTask", "fvARsToRemoteFCTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.synthetic.ContextFsm", "syntheticContextFsm-"))
meta.childNamesAndRnPrefix.append(("cobra.model.callhome.InvTaskTask", "callhomeInvTaskTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.ModEpTaskAggrTask", "fvModEpTaskAggrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgac.EpgSummaryTask", "dbgacEpgSummaryTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pres.DltNodeRegsTask", "presDltNodeRegsTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.reln.RelTaskContTask", "relnRelTaskContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.ScriptRTInfoTask", "vnsScriptRTInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.l3ext.CtxUpdaterTask", "l3extCtxUpdaterTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.DelEpTaskAggrTask", "fvDelEpTaskAggrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.tag.AliasDelInstTask", "tagAliasDelInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SvcVipUpdateTask", "vnsSvcVipUpdateTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.NodeInfoTask", "fabricNodeInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.lldp.CtrlrAdjEpTask", "lldpCtrlrAdjEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.firmware.SourceTask", "firmwareSourceTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgexp.TechSupPTask", "dbgexpTechSupPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.leqpt.LooseNodeTask", "leqptLooseNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.lldp.IfSendTaskTask", "lldpIfSendTaskTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.RsUsegEpPDTask", "compRsUsegEpPDTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.CtrctEPgContTask", "vzCtrctEPgContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.RsTermToEPgTask", "vnsRsTermToEPgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.AllocContTask", "identAllocContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.RsTermToAnyTask", "vnsRsTermToAnyTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.AProtGEpTask", "fabricAProtGEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.reln.ReleaseRefTask", "relnReleaseRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.NodePEpTask", "fabricNodePEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.ProtGEpTask", "fabricProtGEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SHSEPpInfoTask", "vnsSHSEPpInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pcons.ResolverTask", "pconsResolverTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pol.LCountContTask", "polLCountContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.aaa.IDomainRefTask", "aaaIDomainRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.ACollectionTask", "vzACollectionTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbg.RemotePortTask", "dbgRemotePortTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.ConsumerTask", "identConsumerTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.aaa.ADomainRefTask", "aaaADomainRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.VNicPDDefTask", "compVNicPDDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.RsLDevInstTask", "vnsRsLDevInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.span.TaskParamTask", "spanTaskParamTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.FltTaskAggrTask", "vzFltTaskAggrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.lacp.LagPolDefTask", "lacpLagPolDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.EPgDefConsTask", "vnsEPgDefConsTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.PvlanContTask", "compPvlanContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fvcap.ScopeRegTask", "fvcapScopeRegTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dbgexp.ExportPTask", "dbgexpExportPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pcons.LocationTask", "pconsLocationTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.callhome.InvPTask", "callhomeInvPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.RsRFltAttTask", "hvsRsRFltAttTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.RsCtrlrPTask", "compRsCtrlrPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.infra.NodeCfgTask", "infraNodeCfgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SHEPpInfoTask", "vnsSHEPpInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.tag.AliasInstTask", "tagAliasInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.EpTaskAggrTask", "fvEpTaskAggrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.StatsPolTask", "compStatsPolTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.SegmentTask", "identSegmentTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dlgt.DelegateTask", "dlgtDelegateTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SDEPpInfoTask", "vnsSDEPpInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.SLDevInstTask", "vnsSLDevInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.ContextTask", "identContextTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pres.ResolverTask", "presResolverTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.ElementTask", "identElementTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.config.SubJobTask", "configSubJobTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.svccore.ACoreTask", "svccoreACoreTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dhcp.DiscNodeTask", "dhcpDiscNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.mgmt.InBZoneTask", "mgmtInBZoneTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.res.ConsumerTask", "resConsumerTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.LDevInstTask", "vnsLDevInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.REPpInfoTask", "vnsREPpInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.sysdebug.CoreFsm", "sysdebugCoreFsm-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtDestEpgTask", "fvRtDestEpgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.PolContTask", "compPolContTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.MgmtNicTask", "compMgmtNicTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.infra.RsDomPTask", "infraRsDomPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.RsCtrlrTask", "compRsCtrlrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.RtNicAdjTask", "hvsRtNicAdjTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.VipUpdateTask", "fvVipUpdateTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.svccore.NodeTask", "svccoreNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.mgmt.OoBZoneTask", "mgmtOoBZoneTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.EpPConnTask", "compEpPConnTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.ident.SourceTask", "identSourceTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dhcp.RsProvTask", "dhcpRsProvTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.EPpInfoTask", "vnsEPpInfoTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fabric.NodeTask", "fabricNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.CtrlrEpTask", "vnsCtrlrEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RsDomAttTask", "fvRsDomAttTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.LDevCtxTask", "vnsLDevCtxTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpIpTask", "fvRtToEpIpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.MbrMacTask", "compMbrMacTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.dhcp.ClientTask", "dhcpClientTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.infra.EpPDTask", "infraEpPDTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.ExtPolTask", "hvsExtPolTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RsHyperTask", "fvRsHyperTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.CtrlrTask", "compCtrlrTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.MacSetTask", "hvsMacSetTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.top.SystemTask", "topSystemTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.FwRuleTask", "hvsFwRuleTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.mgmt.InstPTask", "mgmtInstPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vmm.CtrlrPTask", "vmmCtrlrPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.EPgDefTask", "vnsEPgDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.HpNicTask", "compHpNicTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.ProvDefTask", "vzProvDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.FwSvcTask", "hvsFwSvcTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vmm.RsAEPTask", "vmmRsAEPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.FilterTask", "vzFilterTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.CMgmtTask", "vnsCMgmtTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtProvTask", "fvRtProvTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.nw.PathEpTask", "nwPathEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.IpSetTask", "hvsIpSetTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.RFltETask", "hvsRFltETask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.pcons.RefTask", "pconsRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.RtToEpTask", "fvRtToEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.EpPDTask", "compEpPDTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.RFltPTask", "hvsRFltPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.LNodeTask", "hvsLNodeTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.CtrlrFsm", "compCtrlrFsm-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.InBEpPTask", "fvInBEpPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.AEpDefTask", "fvAEpDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.mgmt.OoBTask", "mgmtOoBTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.TabooTask", "vzTabooTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vns.CDevTask", "vnsCDevTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.hvs.EpCPTask", "hvsEpCPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.tag.InstTask", "tagInstTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.span.SrcTask", "spanSrcTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.aaa.UserTask", "aaaUserTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.EpDefTask", "fvEpDefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.comp.HvTask", "compHvTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.AEPgTask", "fvAEPgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.tag.RefTask", "tagRefTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.lldp.IfTask", "lldpIfTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vz.BrCPTask", "vzBrCPTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.VDEpTask", "fvVDEpTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.fv.EPgTask", "fvEPgTask-"))
meta.childNamesAndRnPrefix.append(("cobra.model.vpc.IfTask", "vpcIfTask-"))
meta.parentClasses.add("cobra.model.action.Cont")
meta.superClasses.add("cobra.model.pol.Compl")
meta.superClasses.add("cobra.model.mo.ASubj")
meta.superClasses.add("cobra.model.action.Subj")
meta.rnPrefixes = [
('extXMLApisubj-', True),
]
prop = PropMeta("str", "childAction", "childAction", 4, PropCategory.CHILD_ACTION)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop._addConstant("deleteAll", "deleteall", 16384)
prop._addConstant("deleteNonPresent", "deletenonpresent", 8192)
prop._addConstant("ignore", "ignore", 4096)
meta.props.add("childAction", prop)
prop = PropMeta("str", "dn", "dn", 1, PropCategory.DN)
prop.label = "None"
prop.isDn = True
prop.isImplicit = True
prop.isAdmin = True
prop.isCreateOnly = True
meta.props.add("dn", prop)
prop = PropMeta("str", "lcOwn", "lcOwn", 9, PropCategory.REGULAR)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop.defaultValue = 0
prop.defaultValueStr = "local"
prop._addConstant("implicit", "implicit", 4)
prop._addConstant("local", "local", 0)
prop._addConstant("policy", "policy", 1)
prop._addConstant("replica", "replica", 2)
prop._addConstant("resolveOnBehalf", "resolvedonbehalf", 3)
meta.props.add("lcOwn", prop)
prop = PropMeta("str", "modTs", "modTs", 7, PropCategory.REGULAR)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop.defaultValue = 0
prop.defaultValueStr = "never"
prop._addConstant("never", "never", 0)
meta.props.add("modTs", prop)
prop = PropMeta("str", "oCl", "oCl", 11, PropCategory.REGULAR)
prop.label = "Subject Class"
prop.isImplicit = True
prop.isAdmin = True
prop.defaultValue = 0
prop.defaultValueStr = "unspecified"
prop._addConstant("aaaADomainRef", None, 5293)
prop._addConstant("aaaADomainRefTask", None, 5477)
prop._addConstant("aaaAProvider", None, 1600)
prop._addConstant("aaaARbacRule", None, 5474)
prop._addConstant("aaaARetP", None, 1567)
prop._addConstant("aaaAuthMethod", None, 1589)
prop._addConstant("aaaAuthRealm", None, 1594)
prop._addConstant("aaaBanner", None, 1493)
prop._addConstant("aaaChangePassword", None, 1506)
prop._addConstant("aaaChangeSshKey", None, 1507)
prop._addConstant("aaaChangeX509Cert", None, 1508)
prop._addConstant("aaaConfig", None, 1588)
prop._addConstant("aaaConsoleAuth", None, 1591)
prop._addConstant("aaaCtrlrRetP", None, 1569)
prop._addConstant("aaaDefaultAuth", None, 1590)
prop._addConstant("aaaDefinition", None, 1488)
prop._addConstant("aaaDomain", None, 1502)
prop._addConstant("aaaDomainAuth", None, 1592)
prop._addConstant("aaaDomainRef", None, 1562)
prop._addConstant("aaaDomainRolesTuple", None, 1505)
prop._addConstant("aaaEp", None, 1595)
prop._addConstant("aaaFabricNodeRelnHolder", None, 5650)
prop._addConstant("aaaFactoryRole", None, 5911)
prop._addConstant("aaaIDomainRef", None, 5294)
prop._addConstant("aaaIDomainRefTask", None, 5717)
prop._addConstant("aaaIPRbacRule", None, 6800)
prop._addConstant("aaaIRbacRule", None, 5476)
prop._addConstant("aaaKeyringRelnHolder", None, 5556)
prop._addConstant("aaaLdapEp", None, 1597)
prop._addConstant("aaaLdapProvider", None, 1606)
prop._addConstant("aaaLdapProviderGroup", None, 1609)
prop._addConstant("aaaLoginDomain", None, 1593)
prop._addConstant("aaaModLR", None, 1565)
prop._addConstant("aaaPartialRbacRule", None, 6801)
prop._addConstant("aaaPartialRbacRuleTask", None, 6842)
prop._addConstant("aaaPreLoginBanner", None, 1494)
prop._addConstant("aaaProviderGroup", None, 1608)
prop._addConstant("aaaProviderRef", None, 1612)
prop._addConstant("aaaPwdProfile", None, 1503)
prop._addConstant("aaaRadiusEp", None, 1596)
prop._addConstant("aaaRadiusProvider", None, 1605)
prop._addConstant("aaaRadiusProviderGroup", None, 1610)
prop._addConstant("aaaRbacEp", None, 5473)
prop._addConstant("aaaRbacEpRelnHolder", None, 5470)
prop._addConstant("aaaRbacRule", None, 5475)
prop._addConstant("aaaRealm", None, 1587)
prop._addConstant("aaaRemoteUser", None, 1495)
prop._addConstant("aaaRole", None, 1500)
prop._addConstant("aaaRsCertificateEp", None, 7605)
prop._addConstant("aaaRsDomainRef", None, 1533)
prop._addConstant("aaaRsFvEppInband", None, 1522)
prop._addConstant("aaaRsFvEppOob", None, 1526)
prop._addConstant("aaaRsKeyringRef", None, 5557)
prop._addConstant("aaaRsLoginDomain", None, 1537)
prop._addConstant("aaaRsNginxFabricNode", None, 5651)
prop._addConstant("aaaRsNginxIPRbacRule", None, 6798)
prop._addConstant("aaaRsNginxIRbacRule", None, 6796)
prop._addConstant("aaaRsNginxRbacRule", None, 6794)
prop._addConstant("aaaRsPol", None, 1529)
prop._addConstant("aaaRsPreLoginBanner", None, 1541)
prop._addConstant("aaaRsProvToEpp", None, 8685)
prop._addConstant("aaaRsRbacEp", None, 5471)
prop._addConstant("aaaRsSecProvToEpg", None, 1603)
prop._addConstant("aaaRsToUserEp", None, 7478)
prop._addConstant("aaaRsUserEp", None, 1518)
prop._addConstant("aaaRtAaaCtrlrRetP", None, 1571)
prop._addConstant("aaaRtDomainRef", None, 1535)
prop._addConstant("aaaRtLSubjToDomainRef", None, 5571)
prop._addConstant("aaaRtLoginDomain", None, 1538)
prop._addConstant("aaaRtNginxIPRbacRule", None, 6799)
prop._addConstant("aaaRtNginxIRbacRule", None, 6797)
prop._addConstant("aaaRtNginxRbacRule", None, 6795)
prop._addConstant("aaaRtNodeAaaRecRetP", None, 1730)
prop._addConstant("aaaRtPreLoginBanner", None, 1542)
prop._addConstant("aaaRtRbacEp", None, 5472)
prop._addConstant("aaaRtResAuditSwRetP", None, 764)
prop._addConstant("aaaRtResAuthRealm", None, 779)
prop._addConstant("aaaRtResLdapEp", None, 775)
prop._addConstant("aaaRtResRadiusEp", None, 773)
prop._addConstant("aaaRtResTacacsPlusEp", None, 777)
prop._addConstant("aaaRtResUserEp", None, 781)
prop._addConstant("aaaRtScriptHandlerStateToDomainRef", None, 5323)
prop._addConstant("aaaRtSessionToDomainRef", None, 5634)
prop._addConstant("aaaRtTenantToDomainRef", None, 5561)
prop._addConstant("aaaRtToUserEp", None, 7479)
prop._addConstant("aaaRtUserEp", None, 1520)
prop._addConstant("aaaRtVDevDomainRefContToDomainRef", None, 6072)
prop._addConstant("aaaRtVDevToDomainRef", None, 5296)
prop._addConstant("aaaSSLCertificateEpRelnHolder", None, 7604)
prop._addConstant("aaaSecRelnHolder", None, 1515)
prop._addConstant("aaaSessionLR", None, 1566)
prop._addConstant("aaaSshAuth", None, 1497)
prop._addConstant("aaaSwRetP", None, 1568)
prop._addConstant("aaaSystemUser", None, 1492)
prop._addConstant("aaaTacacsPlusEp", None, 1598)
prop._addConstant("aaaTacacsPlusProvider", None, 1607)
prop._addConstant("aaaTacacsPlusProviderGroup", None, 1611)
prop._addConstant("aaaUser", None, 1496)
prop._addConstant("aaaUserAction", None, 1564)
prop._addConstant("aaaUserCert", None, 1498)
prop._addConstant("aaaUserData", None, 1504)
prop._addConstant("aaaUserDomain", None, 1501)
prop._addConstant("aaaUserEp", None, 1491)
prop._addConstant("aaaUserRole", None, 1499)
prop._addConstant("aaaUserTask", None, 5064)
prop._addConstant("aaaVMMCertificateRule", None, 7446)
prop._addConstant("acBank", None, 2522)
prop._addConstant("acEgrHit", None, 2517)
prop._addConstant("acEntity", None, 2523)
prop._addConstant("acIngrHit", None, 2516)
prop._addConstant("acRule", None, 2518)
prop._addConstant("acRuleArp", None, 2521)
prop._addConstant("acRuleIp", None, 2519)
prop._addConstant("acRuleMac", None, 2520)
prop._addConstant("acllogCont", None, 8592)
prop._addConstant("acllogCtx", None, 8594)
prop._addConstant("acllogDropL2Flow", None, 8605)
prop._addConstant("acllogDropL2Pkt", None, 8609)
prop._addConstant("acllogDropL2Record", None, 8598)
prop._addConstant("acllogDropL3Flow", None, 8603)
prop._addConstant("acllogDropL3Pkt", None, 8607)
prop._addConstant("acllogDropL3Record", None, 8599)
prop._addConstant("acllogDropRecord", None, 8596)
prop._addConstant("acllogFlowCounter", None, 8610)
prop._addConstant("acllogFlowCounter15min", None, 8614)
prop._addConstant("acllogFlowCounter1d", None, 8618)
prop._addConstant("acllogFlowCounter1h", None, 8616)
prop._addConstant("acllogFlowCounter1mo", None, 8622)
prop._addConstant("acllogFlowCounter1qtr", None, 8624)
prop._addConstant("acllogFlowCounter1w", None, 8620)
prop._addConstant("acllogFlowCounter1year", None, 8626)
prop._addConstant("acllogFlowCounter5min", None, 8612)
prop._addConstant("acllogFlowCounterAg", None, 8628)
prop._addConstant("acllogFlowCounterAg15min", None, 8632)
prop._addConstant("acllogFlowCounterAg1d", None, 8636)
prop._addConstant("acllogFlowCounterAg1h", None, 8634)
prop._addConstant("acllogFlowCounterAg1mo", None, 8640)
prop._addConstant("acllogFlowCounterAg1qtr", None, 8642)
prop._addConstant("acllogFlowCounterAg1w", None, 8638)
prop._addConstant("acllogFlowCounterAg1year", None, 8644)
prop._addConstant("acllogFlowCounterAg5min", None, 8630)
prop._addConstant("acllogFlowCounterAgHist", None, 8629)
prop._addConstant("acllogFlowCounterAgHist15min", None, 8633)
prop._addConstant("acllogFlowCounterAgHist1d", None, 8637)
prop._addConstant("acllogFlowCounterAgHist1h", None, 8635)
prop._addConstant("acllogFlowCounterAgHist1mo", None, 8641)
prop._addConstant("acllogFlowCounterAgHist1qtr", None, 8643)
prop._addConstant("acllogFlowCounterAgHist1w", None, 8639)
prop._addConstant("acllogFlowCounterAgHist1year", None, 8645)
prop._addConstant("acllogFlowCounterAgHist5min", None, 8631)
prop._addConstant("acllogFlowCounterHist", None, 8611)
prop._addConstant("acllogFlowCounterHist15min", None, 8615)
prop._addConstant("acllogFlowCounterHist1d", None, 8619)
prop._addConstant("acllogFlowCounterHist1h", None, 8617)
prop._addConstant("acllogFlowCounterHist1mo", None, 8623)
prop._addConstant("acllogFlowCounterHist1qtr", None, 8625)
prop._addConstant("acllogFlowCounterHist1w", None, 8621)
prop._addConstant("acllogFlowCounterHist1year", None, 8627)
prop._addConstant("acllogFlowCounterHist5min", None, 8613)
prop._addConstant("acllogPermitL2Flow", None, 8604)
prop._addConstant("acllogPermitL2Pkt", None, 8608)
prop._addConstant("acllogPermitL2Record", None, 8600)
prop._addConstant("acllogPermitL3Flow", None, 8602)
prop._addConstant("acllogPermitL3Pkt", None, 8606)
prop._addConstant("acllogPermitL3Record", None, 8601)
prop._addConstant("acllogPermitRecord", None, 8597)
prop._addConstant("acllogRecord", None, 8595)
prop._addConstant("acllogTenant", None, 8593)
prop._addConstant("actionACont", None, 20)
prop._addConstant("actionAeSubj", None, 63)
prop._addConstant("actionAppliancedirectorSubj", None, 72)
prop._addConstant("actionBootmgrSubj", None, 71)
prop._addConstant("actionConfelemSubj", None, 5210)
prop._addConstant("actionCont", None, 21)
prop._addConstant("actionDbgrSubj", None, 66)
prop._addConstant("actionDbgrelemSubj", None, 68)
prop._addConstant("actionDhcpdSubj", None, 74)
prop._addConstant("actionEventmgrSubj", None, 59)
prop._addConstant("actionExtXMLApiSubj", None, 60)
prop._addConstant("actionIdmgrSubj", None, 76)
prop._addConstant("actionInst", None, 26)
prop._addConstant("actionLCont", None, 22)
prop._addConstant("actionLInst", None, 27)
prop._addConstant("actionLSubj", None, 25)
prop._addConstant("actionMoContext", None, 23)
prop._addConstant("actionNxosmockSubj", None, 70)
prop._addConstant("actionObserverSubj", None, 65)
prop._addConstant("actionObserverelemSubj", None, 67)
prop._addConstant("actionOpflexelemSubj", None, 79)
prop._addConstant("actionOpflexpSubj", None, 7491)
prop._addConstant("actionOshSubj", None, 78)
prop._addConstant("actionOspaelemSubj", None, 77)
prop._addConstant("actionPolicyelemSubj", None, 61)
prop._addConstant("actionPolicymgrSubj", None, 62)
prop._addConstant("actionRInst", None, 28)
prop._addConstant("actionRsLSubjToDomainRef", None, 5570)
prop._addConstant("actionScripthandlerSubj", None, 75)
prop._addConstant("actionSnmpdSubj", None, 6898)
prop._addConstant("actionSubj", None, 24)
prop._addConstant("actionTopomgrSubj", None, 64)
prop._addConstant("actionVleafelemSubj", None, 73)
prop._addConstant("actionVmmmgrSubj", None, 69)
prop._addConstant("actionVtapSubj", None, 5596)
prop._addConstant("actrlARule", None, 2474)
prop._addConstant("actrlAuxEntry", None, 2467)
prop._addConstant("actrlAuxFlt", None, 2466)
prop._addConstant("actrlAuxRule", None, 2465)
prop._addConstant("actrlAuxScope", None, 2464)
prop._addConstant("actrlAuxSt", None, 2463)
prop._addConstant("actrlEntity", None, 2485)
prop._addConstant("actrlEntry", None, 2493)
prop._addConstant("actrlFlt", None, 2490)
prop._addConstant("actrlInst", None, 2486)
prop._addConstant("actrlMgmtAuxFlt", None, 2469)
prop._addConstant("actrlMgmtAuxRule", None, 2468)
prop._addConstant("actrlMgmtRule", None, 2483)
prop._addConstant("actrlPfxEntry", None, 2470)
prop._addConstant("actrlRsAuxRule", None, 2479)
prop._addConstant("actrlRsRfltpConn", None, 2491)
prop._addConstant("actrlRsTenConn", None, 2488)
prop._addConstant("actrlRsToEpgConn", None, 2475)
prop._addConstant("actrlRsToEpgProt", None, 5291)
prop._addConstant("actrlRsToStsVNode", None, 2477)
prop._addConstant("actrlRsToVlanCkt", None, 9081)
prop._addConstant("actrlRtAuxRule", None, 2480)
prop._addConstant("actrlRule", None, 2481)
prop._addConstant("actrlRuleHit", None, 2408)
prop._addConstant("actrlRuleHit15min", None, 2420)
prop._addConstant("actrlRuleHit1d", None, 2432)
prop._addConstant("actrlRuleHit1h", None, 2426)
prop._addConstant("actrlRuleHit1mo", None, 2444)
prop._addConstant("actrlRuleHit1qtr", None, 2450)
prop._addConstant("actrlRuleHit1w", None, 2438)
prop._addConstant("actrlRuleHit1year", None, 2456)
prop._addConstant("actrlRuleHit5min", None, 2414)
prop._addConstant("actrlRuleHitAg", None, 2412)
prop._addConstant("actrlRuleHitAg15min", None, 2424)
prop._addConstant("actrlRuleHitAg1d", None, 2436)
prop._addConstant("actrlRuleHitAg1h", None, 2430)
prop._addConstant("actrlRuleHitAg1mo", None, 2448)
prop._addConstant("actrlRuleHitAg1qtr", None, 2454)
prop._addConstant("actrlRuleHitAg1w", None, 2442)
prop._addConstant("actrlRuleHitAg1year", None, 2460)
prop._addConstant("actrlRuleHitAg5min", None, 2418)
prop._addConstant("actrlRuleHitAgHist", None, 2413)
prop._addConstant("actrlRuleHitAgHist15min", None, 2425)
prop._addConstant("actrlRuleHitAgHist1d", None, 2437)
prop._addConstant("actrlRuleHitAgHist1h", None, 2431)
prop._addConstant("actrlRuleHitAgHist1mo", None, 2449)
prop._addConstant("actrlRuleHitAgHist1qtr", None, 2455)
prop._addConstant("actrlRuleHitAgHist1w", None, 2443)
prop._addConstant("actrlRuleHitAgHist1year", None, 2461)
prop._addConstant("actrlRuleHitAgHist5min", None, 2419)
prop._addConstant("actrlRuleHitHist", None, 2409)
prop._addConstant("actrlRuleHitHist15min", None, 2421)
prop._addConstant("actrlRuleHitHist1d", None, 2433)
prop._addConstant("actrlRuleHitHist1h", None, 2427)
prop._addConstant("actrlRuleHitHist1mo", None, 2445)
prop._addConstant("actrlRuleHitHist1qtr", None, 2451)
prop._addConstant("actrlRuleHitHist1w", None, 2439)
prop._addConstant("actrlRuleHitHist1year", None, 2457)
prop._addConstant("actrlRuleHitHist5min", None, 2415)
prop._addConstant("actrlRuleHitPart", None, 2410)
prop._addConstant("actrlRuleHitPart15min", None, 2422)
prop._addConstant("actrlRuleHitPart1d", None, 2434)
prop._addConstant("actrlRuleHitPart1h", None, 2428)
prop._addConstant("actrlRuleHitPart1mo", None, 2446)
prop._addConstant("actrlRuleHitPart1qtr", None, 2452)
prop._addConstant("actrlRuleHitPart1w", None, 2440)
prop._addConstant("actrlRuleHitPart1year", None, 2458)
prop._addConstant("actrlRuleHitPart5min", None, 2416)
prop._addConstant("actrlRuleHitPartHist", None, 2411)
prop._addConstant("actrlRuleHitPartHist15min", None, 2423)
prop._addConstant("actrlRuleHitPartHist1d", None, 2435)
prop._addConstant("actrlRuleHitPartHist1h", None, 2429)
prop._addConstant("actrlRuleHitPartHist1mo", None, 2447)
prop._addConstant("actrlRuleHitPartHist1qtr", None, 2453)
prop._addConstant("actrlRuleHitPartHist1w", None, 2441)
prop._addConstant("actrlRuleHitPartHist1year", None, 2459)
prop._addConstant("actrlRuleHitPartHist5min", None, 2417)
prop._addConstant("actrlScope", None, 2487)
prop._addConstant("actrlSnmpRule", None, 2484)
prop._addConstant("actrlStats", None, 7019)
prop._addConstant("actrlcapProv", None, 2471)
prop._addConstant("actrlcapRule", None, 2472)
prop._addConstant("adcomARwi", None, 1627)
prop._addConstant("adcomARwiAdvanced", None, 6155)
prop._addConstant("adcomATsInfoUnit", None, 1615)
prop._addConstant("adcomAcap", None, 5716)
prop._addConstant("adcomAwi", None, 1599)
prop._addConstant("adcomAwiCont", None, 1602)
prop._addConstant("adcomCtrlrHlth", None, 1623)
prop._addConstant("adcomDiffTime", None, 5324)
prop._addConstant("adcomFnwi", None, 1585)
prop._addConstant("adcomFnwiCont", None, 1586)
prop._addConstant("adcomFormat", None, 1634)
prop._addConstant("adcomHlthMon", None, 1624)
prop._addConstant("adcomMsg", None, 1614)
prop._addConstant("adcomNetIdent", None, 1613)
prop._addConstant("adcomRwiAp", None, 1628)
prop._addConstant("adcomRwiApAdvanced", None, 6156)
prop._addConstant("adcomRwiCont", None, 1633)
prop._addConstant("adcomRwiContAp", None, 1631)
prop._addConstant("adcomRwiContFn", None, 1632)
prop._addConstant("adcomRwiFn", None, 1629)
prop._addConstant("adcomRwiFnAdvanced", None, 6157)
prop._addConstant("adcomSrc", None, 1563)
prop._addConstant("adcomSvcHlth", None, 1622)
prop._addConstant("adcomSvcHlthAdvanced", None, 6154)
prop._addConstant("adcomTime", None, 1635)
prop._addConstant("adcomTsClusterSize", None, 1601)
prop._addConstant("aibAdj", None, 3550)
prop._addConstant("aibAdjOwner", None, 3551)
prop._addConstant("aibDb", None, 3554)
prop._addConstant("aibDom", None, 3553)
prop._addConstant("aibEntity", None, 3552)
prop._addConstant("apPlugin", None, 8929)
prop._addConstant("apPluginContr", None, 8927)
prop._addConstant("apPluginName", None, 8928)
prop._addConstant("apUiInfo", None, 8930)
prop._addConstant("arpAAdjEp", None, 2540)
prop._addConstant("arpAdjEp", None, 2542)
prop._addConstant("arpDb", None, 2552)
prop._addConstant("arpDbRec", None, 2553)
prop._addConstant("arpDom", None, 2556)
prop._addConstant("arpDomStatsAdj", None, 2550)
prop._addConstant("arpDomStatsMisc", None, 2551)
prop._addConstant("arpDomStatsRx", None, 2549)
prop._addConstant("arpDomStatsTx", None, 2548)
prop._addConstant("arpEntity", None, 2554)
prop._addConstant("arpIf", None, 2547)
prop._addConstant("arpIfStatsAdj", None, 2545)
prop._addConstant("arpIfStatsMisc", None, 2546)
prop._addConstant("arpIfStatsRx", None, 2544)
prop._addConstant("arpIfStatsTx", None, 2543)
prop._addConstant("arpInst", None, 2555)
prop._addConstant("arpRtCtrlrAdjEpToStAdjEp", None, 5495)
prop._addConstant("arpRtEpDefRefToStAdjEp", None, 5493)
prop._addConstant("arpStAdjEp", None, 2541)
prop._addConstant("bfdAIfDef", None, 7760)
prop._addConstant("bfdAIfP", None, 7696)
prop._addConstant("bfdAIfPol", None, 7693)
prop._addConstant("bfdAInstPol", None, 7690)
prop._addConstant("bfdAf", None, 5766)
prop._addConstant("bfdAuthP", None, 5773)
prop._addConstant("bfdEntity", None, 5776)
prop._addConstant("bfdIf", None, 5774)
prop._addConstant("bfdIfAf", None, 5775)
prop._addConstant("bfdIfDef", None, 8231)
prop._addConstant("bfdIfP", None, 8228)
prop._addConstant("bfdIfPol", None, 8227)
prop._addConstant("bfdInst", None, 5777)
prop._addConstant("bfdInstAf", None, 5779)
prop._addConstant("bfdInstHaCtx", None, 5778)
prop._addConstant("bfdIpv4InstPol", None, 7691)
prop._addConstant("bfdIpv6InstPol", None, 7692)
prop._addConstant("bfdKaP", None, 5780)
prop._addConstant("bfdPeerV", None, 5771)
prop._addConstant("bfdRsIfPol", None, 8229)
prop._addConstant("bfdRsMbrSess", None, 5768)
prop._addConstant("bfdRtBfdIpv4InstPol", None, 7729)
prop._addConstant("bfdRtBfdIpv6InstPol", None, 7731)
prop._addConstant("bfdRtIfPol", None, 8230)
prop._addConstant("bfdRtMbrSess", None, 5769)
prop._addConstant("bfdRtToBfdIpv4InstPol", None, 8688)
prop._addConstant("bfdRtToBfdIpv6InstPol", None, 8690)
prop._addConstant("bfdSess", None, 5767)
prop._addConstant("bfdSessApp", None, 5772)
prop._addConstant("bfdSessStats", None, 5770)
prop._addConstant("bgpAAsP", None, 636)
prop._addConstant("bgpACtxAfPol", None, 5890)
prop._addConstant("bgpACtxPol", None, 642)
prop._addConstant("bgpAExtP", None, 652)
prop._addConstant("bgpALocalAsnP", None, 5887)
prop._addConstant("bgpAPeerP", None, 647)
prop._addConstant("bgpAPeerPfxPol", None, 645)
prop._addConstant("bgpARoute", None, 2616)
prop._addConstant("bgpARtSummPol", None, 7687)
prop._addConstant("bgpAdminDist", None, 5764)
prop._addConstant("bgpAf", None, 2604)
prop._addConstant("bgpAsDef", None, 638)
prop._addConstant("bgpAsItem", None, 2624)
prop._addConstant("bgpAsP", None, 637)
prop._addConstant("bgpAsSeg", None, 2623)
prop._addConstant("bgpAttNextHop", None, 2620)
prop._addConstant("bgpComm", None, 2625)
prop._addConstant("bgpCtxAfDef", None, 5892)
prop._addConstant("bgpCtxAfPol", None, 5891)
prop._addConstant("bgpCtxDef", None, 644)
prop._addConstant("bgpCtxPol", None, 643)
prop._addConstant("bgpDampeningCtrl", None, 7650)
prop._addConstant("bgpDefRtLeakP", None, 2630)
prop._addConstant("bgpDom", None, 2605)
prop._addConstant("bgpDomAf", None, 2606)
prop._addConstant("bgpDomClearDomLTask", None, 5303)
prop._addConstant("bgpDomClearDomRslt", None, 5304)
prop._addConstant("bgpEntity", None, 2628)
prop._addConstant("bgpExtComm", None, 2627)
prop._addConstant("bgpExtDef", None, 654)
prop._addConstant("bgpExtP", None, 653)
prop._addConstant("bgpGr", None, 2614)
prop._addConstant("bgpGrSt", None, 2615)
prop._addConstant("bgpInst", None, 2629)
prop._addConstant("bgpInstPol", None, 635)
prop._addConstant("bgpInterLeakP", None, 2631)
prop._addConstant("bgpInvalidRREp", None, 641)
prop._addConstant("bgpLocalAsn", None, 5765)
prop._addConstant("bgpLocalAsnDef", None, 5889)
prop._addConstant("bgpLocalAsnP", None, 5888)
prop._addConstant("bgpMaxPfxP", None, 2613)
prop._addConstant("bgpNextHop", None, 2619)
prop._addConstant("bgpPath", None, 2622)
prop._addConstant("bgpPeer", None, 2608)
prop._addConstant("bgpPeerAf", None, 2611)
prop._addConstant("bgpPeerAfEntry", None, 2612)
prop._addConstant("bgpPeerDef", None, 651)
prop._addConstant("bgpPeerEntry", None, 2609)
prop._addConstant("bgpPeerEntryClearPeerLTask", None, 4979)
prop._addConstant("bgpPeerEntryClearPeerRslt", None, 4980)
prop._addConstant("bgpPeerEntryStats", None, 2607)
prop._addConstant("bgpPeerEvents", None, 2610)
prop._addConstant("bgpPeerP", None, 648)
prop._addConstant("bgpPeerPfxPol", None, 646)
prop._addConstant("bgpRRNodePEp", None, 640)
prop._addConstant("bgpRRP", None, 639)
prop._addConstant("bgpRegComm", None, 2626)
prop._addConstant("bgpRibLeakP", None, 6223)
prop._addConstant("bgpRoute", None, 2617)
prop._addConstant("bgpRsPeerPfxPol", None, 649)
prop._addConstant("bgpRtBgpAsP", None, 6272)
prop._addConstant("bgpRtBgpCtxPol", None, 2005)
prop._addConstant("bgpRtCtrlMapP", None, 6869)
prop._addConstant("bgpRtCtrlP", None, 2621)
prop._addConstant("bgpRtCtxToBgpCtxAfPol", None, 5906)
prop._addConstant("bgpRtEppBgpCtxAfPol", None, 5900)
prop._addConstant("bgpRtEppBgpCtxPol", None, 1931)
prop._addConstant("bgpRtPeerPfxPol", None, 650)
prop._addConstant("bgpRtPodPGrpBGPRRP", None, 905)
prop._addConstant("bgpRtSum", None, 7640)
prop._addConstant("bgpRtSummPol", None, 7688)
prop._addConstant("bgpRtSummPolDef", None, 7689)
prop._addConstant("bgpRttEntry", None, 2603)
prop._addConstant("bgpRttP", None, 2602)
prop._addConstant("bgpVpnRoute", None, 2618)
prop._addConstant("callhomeDest", None, 1699)
prop._addConstant("callhomeDestState", None, 5317)
prop._addConstant("callhomeGroup", None, 1700)
prop._addConstant("callhomeInvP", None, 1702)
prop._addConstant("callhomeInvPTask", None, 5264)
prop._addConstant("callhomeInvTask", None, 5609)
prop._addConstant("callhomeInvTaskTask", None, 5626)
prop._addConstant("callhomeInvTrig", None, 1707)
prop._addConstant("callhomeProf", None, 1693)
prop._addConstant("callhomeQuery", None, 1708)
prop._addConstant("callhomeQueryGroup", None, 1709)
prop._addConstant("callhomeRsDestGroup", None, 1695)
prop._addConstant("callhomeRsDestGroupRel", None, 1705)
prop._addConstant("callhomeRsInvScheduler", None, 1703)
prop._addConstant("callhomeRsQueryGroupRel", None, 1697)
prop._addConstant("callhomeRtCallhomeInvPol", None, 924)
prop._addConstant("callhomeRtDestGroup", None, 1696)
prop._addConstant("callhomeRtDestGroupRel", None, 1706)
prop._addConstant("callhomeRtInvPRef", None, 1711)
prop._addConstant("callhomeRtInvPRefEvent", None, 5522)
prop._addConstant("callhomeRtQueryGroupRel", None, 1698)
prop._addConstant("callhomeRtToRemoteQueryGroup", None, 7875)
prop._addConstant("callhomeRtToRemoteQueryGroupRefEvent", None, 8070)
prop._addConstant("callhomeSmtpServer", None, 1701)
prop._addConstant("callhomeSrc", None, 1694)
prop._addConstant("capCat", None, 114)
prop._addConstant("capDef", None, 116)
prop._addConstant("capItem", None, 117)
prop._addConstant("capProv", None, 118)
prop._addConstant("capProvider", None, 115)
prop._addConstant("capRule", None, 119)
prop._addConstant("cdpAIfPol", None, 683)
prop._addConstant("cdpAddr", None, 2634)
prop._addConstant("cdpAdjEp", None, 2632)
prop._addConstant("cdpAdjStats", None, 2638)
prop._addConstant("cdpEntity", None, 2639)
prop._addConstant("cdpIf", None, 2637)
prop._addConstant("cdpIfClearIfLTask", None, 4981)
prop._addConstant("cdpIfClearIfRslt", None, 4982)
prop._addConstant("cdpIfPol", None, 684)
prop._addConstant("cdpIfPolDef", None, 685)
prop._addConstant("cdpIfStats", None, 2633)
prop._addConstant("cdpInst", None, 2640)
prop._addConstant("cdpInstPol", None, 682)
prop._addConstant("cdpIntfAddr", None, 2636)
prop._addConstant("cdpMgmtAddr", None, 2635)
prop._addConstant("cdpRtCdpIfPol", None, 4393)
prop._addConstant("cdpRtCdpIfPolCons", None, 3618)
prop._addConstant("cdpRtDefaultCdpIfPol", None, 2142)
prop._addConstant("cdpRtOverrideCdpIfPol", None, 4457)
prop._addConstant("cdpRtResCdpIfPol", None, 4428)
prop._addConstant("cdpRtVswitchOverrideCdpIfPol", None, 7784)
prop._addConstant("cnwAggrIf", None, 396)
prop._addConstant("cnwPhysIf", None, 401)
prop._addConstant("cnwRsActiveIf", None, 399)
prop._addConstant("cnwRsMbrIfs", None, 397)
prop._addConstant("cnwRtActiveIf", None, 400)
prop._addConstant("cnwRtMbrIfs", None, 398)
prop._addConstant("commCipher", None, 8220)
prop._addConstant("commComp", None, 1574)
prop._addConstant("commDefinition", None, 1489)
prop._addConstant("commHttp", None, 1577)
prop._addConstant("commHttps", None, 1578)
prop._addConstant("commPol", None, 1572)
prop._addConstant("commRequestCont", None, 6619)
prop._addConstant("commRequestStatus", None, 6620)
prop._addConstant("commRsKeyRing", None, 5530)
prop._addConstant("commRsWebCommDefault", None, 6988)
prop._addConstant("commRsWebCommPolRel", None, 6929)
prop._addConstant("commRtCommPol", None, 909)
prop._addConstant("commRtPol", None, 1531)
prop._addConstant("commRtResPol", None, 785)
prop._addConstant("commRtWebCommDefault", None, 6989)
prop._addConstant("commRtWebCommPolRel", None, 6930)
prop._addConstant("commRtWebPolRel", None, 6932)
prop._addConstant("commSetup", None, 1573)
prop._addConstant("commShell", None, 1581)
prop._addConstant("commShellinabox", None, 7669)
prop._addConstant("commSsh", None, 1583)
prop._addConstant("commTelnet", None, 1582)
prop._addConstant("commWeb", None, 1575)
prop._addConstant("commWebConn", None, 6499)
prop._addConstant("commWebConn15min", None, 6511)
prop._addConstant("commWebConn1d", None, 6523)
prop._addConstant("commWebConn1h", None, 6517)
prop._addConstant("commWebConn1mo", None, 6535)
prop._addConstant("commWebConn1qtr", None, 6541)
prop._addConstant("commWebConn1w", None, 6529)
prop._addConstant("commWebConn1year", None, 6547)
prop._addConstant("commWebConn5min", None, 6505)
prop._addConstant("commWebConnAg", None, 6503)
prop._addConstant("commWebConnAg15min", None, 6515)
prop._addConstant("commWebConnAg1d", None, 6527)
prop._addConstant("commWebConnAg1h", None, 6521)
prop._addConstant("commWebConnAg1mo", None, 6539)
prop._addConstant("commWebConnAg1qtr", None, 6545)
prop._addConstant("commWebConnAg1w", None, 6533)
prop._addConstant("commWebConnAg1year", None, 6551)
prop._addConstant("commWebConnAg5min", None, 6509)
prop._addConstant("commWebConnAgHist", None, 6504)
prop._addConstant("commWebConnAgHist15min", None, 6516)
prop._addConstant("commWebConnAgHist1d", None, 6528)
prop._addConstant("commWebConnAgHist1h", None, 6522)
prop._addConstant("commWebConnAgHist1mo", None, 6540)
prop._addConstant("commWebConnAgHist1qtr", None, 6546)
prop._addConstant("commWebConnAgHist1w", None, 6534)
prop._addConstant("commWebConnAgHist1year", None, 6552)
prop._addConstant("commWebConnAgHist5min", None, 6510)
prop._addConstant("commWebConnHist", None, 6500)
prop._addConstant("commWebConnHist15min", None, 6512)
prop._addConstant("commWebConnHist1d", None, 6524)
prop._addConstant("commWebConnHist1h", None, 6518)
prop._addConstant("commWebConnHist1mo", None, 6536)
prop._addConstant("commWebConnHist1qtr", None, 6542)
prop._addConstant("commWebConnHist1w", None, 6530)
prop._addConstant("commWebConnHist1year", None, 6548)
prop._addConstant("commWebConnHist5min", None, 6506)
prop._addConstant("commWebConnStates", None, 6553)
prop._addConstant("commWebConnStates15min", None, 6565)
prop._addConstant("commWebConnStates1d", None, 6577)
prop._addConstant("commWebConnStates1h", None, 6571)
prop._addConstant("commWebConnStates1mo", None, 6589)
prop._addConstant("commWebConnStates1qtr", None, 6595)
prop._addConstant("commWebConnStates1w", None, 6583)
prop._addConstant("commWebConnStates1year", None, 6601)
prop._addConstant("commWebConnStates5min", None, 6559)
prop._addConstant("commWebConnStatesAg", None, 6557)
prop._addConstant("commWebConnStatesAg15min", None, 6569)
prop._addConstant("commWebConnStatesAg1d", None, 6581)
prop._addConstant("commWebConnStatesAg1h", None, 6575)
prop._addConstant("commWebConnStatesAg1mo", None, 6593)
prop._addConstant("commWebConnStatesAg1qtr", None, 6599)
prop._addConstant("commWebConnStatesAg1w", None, 6587)
prop._addConstant("commWebConnStatesAg1year", None, 6605)
prop._addConstant("commWebConnStatesAg5min", None, 6563)
prop._addConstant("commWebConnStatesAgHist", None, 6558)
prop._addConstant("commWebConnStatesAgHist15min", None, 6570)
prop._addConstant("commWebConnStatesAgHist1d", None, 6582)
prop._addConstant("commWebConnStatesAgHist1h", None, 6576)
prop._addConstant("commWebConnStatesAgHist1mo", None, 6594)
prop._addConstant("commWebConnStatesAgHist1qtr", None, 6600)
prop._addConstant("commWebConnStatesAgHist1w", None, 6588)
prop._addConstant("commWebConnStatesAgHist1year", None, 6606)
prop._addConstant("commWebConnStatesAgHist5min", None, 6564)
prop._addConstant("commWebConnStatesHist", None, 6554)
prop._addConstant("commWebConnStatesHist15min", None, 6566)
prop._addConstant("commWebConnStatesHist1d", None, 6578)
prop._addConstant("commWebConnStatesHist1h", None, 6572)
prop._addConstant("commWebConnStatesHist1mo", None, 6590)
prop._addConstant("commWebConnStatesHist1qtr", None, 6596)
prop._addConstant("commWebConnStatesHist1w", None, 6584)
prop._addConstant("commWebConnStatesHist1year", None, 6602)
prop._addConstant("commWebConnStatesHist5min", None, 6560)
prop._addConstant("commWebPolCont", None, 6928)
prop._addConstant("commWebProxy", None, 1576)
prop._addConstant("commWebReq", None, 6445)
prop._addConstant("commWebReq15min", None, 6457)
prop._addConstant("commWebReq1d", None, 6469)
prop._addConstant("commWebReq1h", None, 6463)
prop._addConstant("commWebReq1mo", None, 6481)
prop._addConstant("commWebReq1qtr", None, 6487)
prop._addConstant("commWebReq1w", None, 6475)
prop._addConstant("commWebReq1year", None, 6493)
prop._addConstant("commWebReq5min", None, 6451)
prop._addConstant("commWebReqAg", None, 6449)
prop._addConstant("commWebReqAg15min", None, 6461)
prop._addConstant("commWebReqAg1d", None, 6473)
prop._addConstant("commWebReqAg1h", None, 6467)
prop._addConstant("commWebReqAg1mo", None, 6485)
prop._addConstant("commWebReqAg1qtr", None, 6491)
prop._addConstant("commWebReqAg1w", None, 6479)
prop._addConstant("commWebReqAg1year", None, 6497)
prop._addConstant("commWebReqAg5min", None, 6455)
prop._addConstant("commWebReqAgHist", None, 6450)
prop._addConstant("commWebReqAgHist15min", None, 6462)
prop._addConstant("commWebReqAgHist1d", None, 6474)
prop._addConstant("commWebReqAgHist1h", None, 6468)
prop._addConstant("commWebReqAgHist1mo", None, 6486)
prop._addConstant("commWebReqAgHist1qtr", None, 6492)
prop._addConstant("commWebReqAgHist1w", None, 6480)
prop._addConstant("commWebReqAgHist1year", None, 6498)
prop._addConstant("commWebReqAgHist5min", None, 6456)
prop._addConstant("commWebReqHist", None, 6446)
prop._addConstant("commWebReqHist15min", None, 6458)
prop._addConstant("commWebReqHist1d", None, 6470)
prop._addConstant("commWebReqHist1h", None, 6464)
prop._addConstant("commWebReqHist1mo", None, 6482)
prop._addConstant("commWebReqHist1qtr", None, 6488)
prop._addConstant("commWebReqHist1w", None, 6476)
prop._addConstant("commWebReqHist1year", None, 6494)
prop._addConstant("commWebReqHist5min", None, 6452)
prop._addConstant("commWebServer", None, 6444)
prop._addConstant("compAAppEpPD", None, 1261)
prop._addConstant("compAEpPD", None, 1258)
prop._addConstant("compALabel", None, 6612)
prop._addConstant("compAPltfmP", None, 7191)
prop._addConstant("compAPvlanP", None, 7985)
prop._addConstant("compASvcVM", None, 1111)
prop._addConstant("compAVNicPD", None, 1113)
prop._addConstant("compAVmmPltfmP", None, 7192)
prop._addConstant("compAVmmSecP", None, 7193)
prop._addConstant("compAccessP", None, 1286)
prop._addConstant("compCont", None, 1282)
prop._addConstant("compContE", None, 1266)
prop._addConstant("compCtrctCont", None, 7979)
prop._addConstant("compCtrlr", None, 1275)
prop._addConstant("compCtrlrContext", None, 5160)
prop._addConstant("compCtrlrFsm", None, 5143)
prop._addConstant("compCtrlrP", None, 1285)
prop._addConstant("compCtrlrTask", None, 5144)
prop._addConstant("compDNic", None, 1128)
prop._addConstant("compDom", None, 1271)
prop._addConstant("compDomP", None, 1284)
prop._addConstant("compElement", None, 1265)
prop._addConstant("compEntity", None, 1264)
prop._addConstant("compEpPConn", None, 1263)
prop._addConstant("compEpPConnContext", None, 5161)
prop._addConstant("compEpPConnTask", None, 5145)
prop._addConstant("compEpPD", None, 1262)
prop._addConstant("compEpPDTask", None, 5146)
prop._addConstant("compHost", None, 1288)
prop._addConstant("compHostStats", None, 1132)
prop._addConstant("compHostStats15min", None, 1136)
prop._addConstant("compHostStats1d", None, 1140)
prop._addConstant("compHostStats1h", None, 1138)
prop._addConstant("compHostStats1mo", None, 1144)
prop._addConstant("compHostStats1qtr", None, 1146)
prop._addConstant("compHostStats1w", None, 1142)
prop._addConstant("compHostStats1year", None, 1148)
prop._addConstant("compHostStats5min", None, 1134)
prop._addConstant("compHostStatsHist", None, 1133)
prop._addConstant("compHostStatsHist15min", None, 1137)
prop._addConstant("compHostStatsHist1d", None, 1141)
prop._addConstant("compHostStatsHist1h", None, 1139)
prop._addConstant("compHostStatsHist1mo", None, 1145)
prop._addConstant("compHostStatsHist1qtr", None, 1147)
prop._addConstant("compHostStatsHist1w", None, 1143)
prop._addConstant("compHostStatsHist1year", None, 1149)
prop._addConstant("compHostStatsHist5min", None, 1135)
prop._addConstant("compHpNic", None, 1120)
prop._addConstant("compHpNicTask", None, 5147)
prop._addConstant("compHv", None, 1291)
prop._addConstant("compHvTask", None, 5148)
prop._addConstant("compIp", None, 6274)
prop._addConstant("compLabelDef", None, 6613)
prop._addConstant("compLabelVal", None, 6614)
prop._addConstant("compMbrCont", None, 7983)
prop._addConstant("compMbrMac", None, 7984)
prop._addConstant("compMbrMacTask", None, 8016)
prop._addConstant("compMgmtNic", None, 1129)
prop._addConstant("compMgmtNicTask", None, 5149)
prop._addConstant("compNic", None, 1115)
prop._addConstant("compObj", None, 1281)
prop._addConstant("compPHost", None, 1289)
prop._addConstant("compPNic", None, 1118)
prop._addConstant("compPhys", None, 1290)
prop._addConstant("compPolCont", None, 1274)
prop._addConstant("compPolContTask", None, 5150)
prop._addConstant("compPpNic", None, 1119)
prop._addConstant("compPrimaryEncapDef", None, 8258)
prop._addConstant("compProv", None, 1268)
prop._addConstant("compProvP", None, 1283)
prop._addConstant("compPvlanCont", None, 7977)
prop._addConstant("compPvlanContTask", None, 8684)
prop._addConstant("compPvlanEntry", None, 7978)
prop._addConstant("compRcvdBytes", None, 1186)
prop._addConstant("compRcvdBytes15min", None, 1190)
prop._addConstant("compRcvdBytes1d", None, 1194)
prop._addConstant("compRcvdBytes1h", None, 1192)
prop._addConstant("compRcvdBytes1mo", None, 1198)
prop._addConstant("compRcvdBytes1qtr", None, 1200)
prop._addConstant("compRcvdBytes1w", None, 1196)
prop._addConstant("compRcvdBytes1year", None, 1202)
prop._addConstant("compRcvdBytes5min", None, 1188)
prop._addConstant("compRcvdBytesHist", None, 1187)
prop._addConstant("compRcvdBytesHist15min", None, 1191)
prop._addConstant("compRcvdBytesHist1d", None, 1195)
prop._addConstant("compRcvdBytesHist1h", None, 1193)
prop._addConstant("compRcvdBytesHist1mo", None, 1199)
prop._addConstant("compRcvdBytesHist1qtr", None, 1201)
prop._addConstant("compRcvdBytesHist1w", None, 1197)
prop._addConstant("compRcvdBytesHist1year", None, 1203)
prop._addConstant("compRcvdBytesHist5min", None, 1189)
prop._addConstant("compRcvdErrPkts", None, 1168)
prop._addConstant("compRcvdErrPkts15min", None, 1172)
prop._addConstant("compRcvdErrPkts1d", None, 1176)
prop._addConstant("compRcvdErrPkts1h", None, 1174)
prop._addConstant("compRcvdErrPkts1mo", None, 1180)
prop._addConstant("compRcvdErrPkts1qtr", None, 1182)
prop._addConstant("compRcvdErrPkts1w", None, 1178)
prop._addConstant("compRcvdErrPkts1year", None, 1184)
prop._addConstant("compRcvdErrPkts5min", None, 1170)
prop._addConstant("compRcvdErrPktsHist", None, 1169)
prop._addConstant("compRcvdErrPktsHist15min", None, 1173)
prop._addConstant("compRcvdErrPktsHist1d", None, 1177)
prop._addConstant("compRcvdErrPktsHist1h", None, 1175)
prop._addConstant("compRcvdErrPktsHist1mo", None, 1181)
prop._addConstant("compRcvdErrPktsHist1qtr", None, 1183)
prop._addConstant("compRcvdErrPktsHist1w", None, 1179)
prop._addConstant("compRcvdErrPktsHist1year", None, 1185)
prop._addConstant("compRcvdErrPktsHist5min", None, 1171)
prop._addConstant("compRcvdPkts", None, 1150)
prop._addConstant("compRcvdPkts15min", None, 1154)
prop._addConstant("compRcvdPkts1d", None, 1158)
prop._addConstant("compRcvdPkts1h", None, 1156)
prop._addConstant("compRcvdPkts1mo", None, 1162)
prop._addConstant("compRcvdPkts1qtr", None, 1164)
prop._addConstant("compRcvdPkts1w", None, 1160)
prop._addConstant("compRcvdPkts1year", None, 1166)
prop._addConstant("compRcvdPkts5min", None, 1152)
prop._addConstant("compRcvdPktsHist", None, 1151)
prop._addConstant("compRcvdPktsHist15min", None, 1155)
prop._addConstant("compRcvdPktsHist1d", None, 1159)
prop._addConstant("compRcvdPktsHist1h", None, 1157)
prop._addConstant("compRcvdPktsHist1mo", None, 1163)
prop._addConstant("compRcvdPktsHist1qtr", None, 1165)
prop._addConstant("compRcvdPktsHist1w", None, 1161)
prop._addConstant("compRcvdPktsHist1year", None, 1167)
prop._addConstant("compRcvdPktsHist5min", None, 1153)
prop._addConstant("compRsCtrlr", None, 1278)
prop._addConstant("compRsCtrlrP", None, 1259)
prop._addConstant("compRsCtrlrPTask", None, 5080)
prop._addConstant("compRsCtrlrTask", None, 5151)
prop._addConstant("compRsDef", None, 6615)
prop._addConstant("compRsDlPol", None, 1126)
prop._addConstant("compRsDom", None, 1276)
prop._addConstant("compRsDomP", None, 1272)
prop._addConstant("compRsHv", None, 1295)
prop._addConstant("compRsLocalEpCP", None, 6252)
prop._addConstant("compRsMgmtPol", None, 1130)
prop._addConstant("compRsNicAdj", None, 1116)
prop._addConstant("compRsODevKeys", None, 9036)
prop._addConstant("compRsPhys", None, 1292)
prop._addConstant("compRsPpNic", None, 1121)
prop._addConstant("compRsProvP", None, 1269)
prop._addConstant("compRsPvlan", None, 7975)
prop._addConstant("compRsToEPg", None, 7981)
prop._addConstant("compRsUlPol", None, 1123)
prop._addConstant("compRsUsegEpPD", None, 7973)
prop._addConstant("compRsUsegEpPDTask", None, 8018)
prop._addConstant("compRtBaseCtrlr", None, 6369)
prop._addConstant("compRtCtrlr", None, 1279)
prop._addConstant("compRtDef", None, 6616)
prop._addConstant("compRtDom", None, 1277)
prop._addConstant("compRtEpPD", None, 107)
prop._addConstant("compRtHv", None, 1296)
prop._addConstant("compRtHyper", None, 2032)
prop._addConstant("compRtNic", None, 2037)
prop._addConstant("compRtOpflexHv", None, 7293)
prop._addConstant("compRtPhys", None, 1293)
prop._addConstant("compRtPpNic", None, 1122)
prop._addConstant("compRtPvlan", None, 7976)
prop._addConstant("compRtPvlanEntry", None, 8683)
prop._addConstant("compRtToEPg", None, 7982)
prop._addConstant("compRtUsegEpPD", None, 7974)
prop._addConstant("compRtVm", None, 2039)
prop._addConstant("compStatsPol", None, 1280)
prop._addConstant("compStatsPolTask", None, 5152)
prop._addConstant("compSvcVMDef", None, 1112)
prop._addConstant("compToEPg", None, 7980)
prop._addConstant("compTrnsmtdBytes", None, 1240)
prop._addConstant("compTrnsmtdBytes15min", None, 1244)
prop._addConstant("compTrnsmtdBytes1d", None, 1248)
prop._addConstant("compTrnsmtdBytes1h", None, 1246)
prop._addConstant("compTrnsmtdBytes1mo", None, 1252)
prop._addConstant("compTrnsmtdBytes1qtr", None, 1254)
prop._addConstant("compTrnsmtdBytes1w", None, 1250)
prop._addConstant("compTrnsmtdBytes1year", None, 1256)
prop._addConstant("compTrnsmtdBytes5min", None, 1242)
prop._addConstant("compTrnsmtdBytesHist", None, 1241)
prop._addConstant("compTrnsmtdBytesHist15min", None, 1245)
prop._addConstant("compTrnsmtdBytesHist1d", None, 1249)
prop._addConstant("compTrnsmtdBytesHist1h", None, 1247)
prop._addConstant("compTrnsmtdBytesHist1mo", None, 1253)
prop._addConstant("compTrnsmtdBytesHist1qtr", None, 1255)
prop._addConstant("compTrnsmtdBytesHist1w", None, 1251)
prop._addConstant("compTrnsmtdBytesHist1year", None, 1257)
prop._addConstant("compTrnsmtdBytesHist5min", None, 1243)
prop._addConstant("compTrnsmtdErrPkts", None, 1222)
prop._addConstant("compTrnsmtdErrPkts15min", None, 1226)
prop._addConstant("compTrnsmtdErrPkts1d", None, 1230)
prop._addConstant("compTrnsmtdErrPkts1h", None, 1228)
prop._addConstant("compTrnsmtdErrPkts1mo", None, 1234)
prop._addConstant("compTrnsmtdErrPkts1qtr", None, 1236)
prop._addConstant("compTrnsmtdErrPkts1w", None, 1232)
prop._addConstant("compTrnsmtdErrPkts1year", None, 1238)
prop._addConstant("compTrnsmtdErrPkts5min", None, 1224)
prop._addConstant("compTrnsmtdErrPktsHist", None, 1223)
prop._addConstant("compTrnsmtdErrPktsHist15min", None, 1227)
prop._addConstant("compTrnsmtdErrPktsHist1d", None, 1231)
prop._addConstant("compTrnsmtdErrPktsHist1h", None, 1229)
prop._addConstant("compTrnsmtdErrPktsHist1mo", None, 1235)
prop._addConstant("compTrnsmtdErrPktsHist1qtr", None, 1237)
prop._addConstant("compTrnsmtdErrPktsHist1w", None, 1233)
prop._addConstant("compTrnsmtdErrPktsHist1year", None, 1239)
prop._addConstant("compTrnsmtdErrPktsHist5min", None, 1225)
prop._addConstant("compTrnsmtdPkts", None, 1204)
prop._addConstant("compTrnsmtdPkts15min", None, 1208)
prop._addConstant("compTrnsmtdPkts1d", None, 1212)
prop._addConstant("compTrnsmtdPkts1h", None, 1210)
prop._addConstant("compTrnsmtdPkts1mo", None, 1216)
prop._addConstant("compTrnsmtdPkts1qtr", None, 1218)
prop._addConstant("compTrnsmtdPkts1w", None, 1214)
prop._addConstant("compTrnsmtdPkts1year", None, 1220)
prop._addConstant("compTrnsmtdPkts5min", None, 1206)
prop._addConstant("compTrnsmtdPktsHist", None, 1205)
prop._addConstant("compTrnsmtdPktsHist15min", None, 1209)
prop._addConstant("compTrnsmtdPktsHist1d", None, 1213)
prop._addConstant("compTrnsmtdPktsHist1h", None, 1211)
prop._addConstant("compTrnsmtdPktsHist1mo", None, 1217)
prop._addConstant("compTrnsmtdPktsHist1qtr", None, 1219)
prop._addConstant("compTrnsmtdPktsHist1w", None, 1215)
prop._addConstant("compTrnsmtdPktsHist1year", None, 1221)
prop._addConstant("compTrnsmtdPktsHist5min", None, 1207)
prop._addConstant("compUni", None, 1267)
prop._addConstant("compUsrAccP", None, 1287)
prop._addConstant("compVNic", None, 1125)
prop._addConstant("compVNicPDDef", None, 1114)
prop._addConstant("compVNicPDDefTask", None, 5153)
prop._addConstant("compVm", None, 1294)
prop._addConstant("compatCat", None, 529)
prop._addConstant("compatCompFilter", None, 543)
prop._addConstant("compatCtlrFw", None, 533)
prop._addConstant("compatCtlrHw", None, 540)
prop._addConstant("compatExclusion", None, 5209)
prop._addConstant("compatFexFw", None, 535)
prop._addConstant("compatFexHw", None, 539)
prop._addConstant("compatFilter", None, 541)
prop._addConstant("compatFvSw", None, 6609)
prop._addConstant("compatFw", None, 530)
prop._addConstant("compatHw", None, 536)
prop._addConstant("compatLcFw", None, 534)
prop._addConstant("compatLcHw", None, 538)
prop._addConstant("compatLfFilter", None, 542)
prop._addConstant("compatRsFabRel", None, 551)
prop._addConstant("compatRsNeighRel", None, 549)
prop._addConstant("compatRsProtGRel", None, 547)
prop._addConstant("compatRsSuppHw", None, 545)
prop._addConstant("compatRsUpgRel", None, 553)
prop._addConstant("compatRsVmmCtrlrVerRel", None, 562)
prop._addConstant("compatRtCatRel", None, 2133)
prop._addConstant("compatRtCatalog", None, 1023)
prop._addConstant("compatRtFabFw", None, 556)
prop._addConstant("compatRtFabRel", None, 552)
prop._addConstant("compatRtNeighFw", None, 558)
prop._addConstant("compatRtNeighRel", None, 550)
prop._addConstant("compatRtProtGFw", None, 560)
prop._addConstant("compatRtProtGRel", None, 548)
prop._addConstant("compatRtResCtrlrCompatCat", None, 666)
prop._addConstant("compatRtSuppHw", None, 546)
prop._addConstant("compatRtUpgRel", None, 554)
prop._addConstant("compatRtVmmCtrlrVerRel", None, 563)
prop._addConstant("compatSuppFw", None, 544)
prop._addConstant("compatSw", None, 6608)
prop._addConstant("compatSwitchFw", None, 531)
prop._addConstant("compatSwitchHw", None, 537)
prop._addConstant("compatVSwitchFw", None, 532)
prop._addConstant("compatVmmCtrlrVer", None, 561)
prop._addConstant("conditionCondP", None, 1735)
prop._addConstant("conditionInfo", None, 36)
prop._addConstant("conditionLoggable", None, 39)
prop._addConstant("conditionNodePolGrp", None, 1724)
prop._addConstant("conditionPodPolGrp", None, 7036)
prop._addConstant("conditionRecord", None, 38)
prop._addConstant("conditionRetP", None, 37)
prop._addConstant("conditionRsNodeAaaRecRetP", None, 1729)
prop._addConstant("conditionRsNodeEventRecRetP", None, 1727)
prop._addConstant("conditionRsNodeFaultRecRetP", None, 1725)
prop._addConstant("conditionRsNodeHealthRecRetP", None, 1731)
prop._addConstant("conditionRsToNodePolGrp", None, 7037)
prop._addConstant("conditionRtToNodePolGrp", None, 7038)
prop._addConstant("conditionSevAsnP", None, 5184)
prop._addConstant("conditionSubj", None, 35)
prop._addConstant("conditionSummary", None, 6666)
prop._addConstant("configABackupP", None, 257)
prop._addConstant("configBackupStatusCont", None, 259)
prop._addConstant("configExportJobTrig", None, 267)
prop._addConstant("configExportP", None, 258)
prop._addConstant("configImportIdJobTrig", None, 7310)
prop._addConstant("configImportIdP", None, 7309)
prop._addConstant("configImportJobTrig", None, 272)
prop._addConstant("configImportP", None, 269)
prop._addConstant("configJob", None, 261)
prop._addConstant("configJobCont", None, 260)
prop._addConstant("configRollbackJobTrig", None, 6791)
prop._addConstant("configRollbackP", None, 6790)
prop._addConstant("configRsExportDestination", None, 265)
prop._addConstant("configRsExportScheduler", None, 263)
prop._addConstant("configRsImportSource", None, 270)
prop._addConstant("configRsRemotePath", None, 6212)
prop._addConstant("configRtAeConfigJobCont", None, 8042)
prop._addConstant("configRtAeConfigSnapshotCont", None, 7833)
prop._addConstant("configRtDbgrConfigExportP", None, 274)
prop._addConstant("configRtDbgrConfigImportIdP", None, 7312)
prop._addConstant("configRtDbgrConfigImportP", None, 276)
prop._addConstant("configRtDbgrConfigRollbackP", None, 6789)
prop._addConstant("configRtDbgrConfigSnapshotMgrP", None, 6889)
prop._addConstant("configShardLocator", None, 7282)
prop._addConstant("configSnapshot", None, 6793)
prop._addConstant("configSnapshotCont", None, 6792)
prop._addConstant("configSnapshotMgrJobTrig", None, 6891)
prop._addConstant("configSnapshotMgrP", None, 6890)
prop._addConstant("configSort", None, 268)
prop._addConstant("configSubJob", None, 262)
prop._addConstant("configSubJobTask", None, 6841)
prop._addConstant("coopAdjEp", None, 2571)
prop._addConstant("coopCitizenAdj", None, 2573)
prop._addConstant("coopCitizenAdjClearLTask", None, 4983)
prop._addConstant("coopCitizenAdjClearRslt", None, 4984)
prop._addConstant("coopCoopRec", None, 5213)
prop._addConstant("coopCtxRec", None, 2590)
prop._addConstant("coopDb", None, 2588)
prop._addConstant("coopDom", None, 2575)
prop._addConstant("coopEntity", None, 2598)
prop._addConstant("coopEp", None, 2576)
prop._addConstant("coopEpRec", None, 2582)
prop._addConstant("coopEpRecBase", None, 5746)
prop._addConstant("coopEpVpcRec", None, 2586)
prop._addConstant("coopGrp", None, 632)
prop._addConstant("coopInst", None, 2599)
prop._addConstant("coopIpAddr", None, 2577)
prop._addConstant("coopIpOnlyRec", None, 5747)
prop._addConstant("coopIpRec", None, 2583)
prop._addConstant("coopIpv4Rec", None, 2584)
prop._addConstant("coopIpv6Rec", None, 2585)
prop._addConstant("coopLeafRec", None, 2578)
prop._addConstant("coopMcGrpRec", None, 2593)
prop._addConstant("coopMcGrpv4Rec", None, 2596)
prop._addConstant("coopMcGrpv6Rec", None, 2597)
prop._addConstant("coopMrtrRec", None, 2579)
prop._addConstant("coopNodePEp", None, 633)
prop._addConstant("coopOracleAdj", None, 2572)
prop._addConstant("coopOracleAdjClearLTask", None, 4985)
prop._addConstant("coopOracleAdjClearRslt", None, 4986)
prop._addConstant("coopPol", None, 631)
prop._addConstant("coopRec", None, 2589)
prop._addConstant("coopRep", None, 634)
prop._addConstant("coopRepP", None, 2587)
prop._addConstant("coopRsCtx2Leaf", None, 2591)
prop._addConstant("coopRsMcgrp2Leaf", None, 2594)
prop._addConstant("coopRsMrtr2Leaf", None, 2580)
prop._addConstant("coopRtCtx2Leaf", None, 2592)
prop._addConstant("coopRtMcgrp2Leaf", None, 2595)
prop._addConstant("coopRtMrtr2Leaf", None, 2581)
prop._addConstant("coopRtPodPGrpCoopP", None, 911)
prop._addConstant("coopRtResCoopPol", None, 718)
prop._addConstant("coopShardSt", None, 2574)
prop._addConstant("coopVpcNodeRec", None, 2601)
prop._addConstant("coopVpcRec", None, 2600)
prop._addConstant("coppAllow", None, 5659)
prop._addConstant("coppAllow15min", None, 5663)
prop._addConstant("coppAllow1d", None, 5667)
prop._addConstant("coppAllow1h", None, 5665)
prop._addConstant("coppAllow1mo", None, 5671)
prop._addConstant("coppAllow1qtr", None, 5673)
prop._addConstant("coppAllow1w", None, 5669)
prop._addConstant("coppAllow1year", None, 5675)
prop._addConstant("coppAllow5min", None, 5661)
prop._addConstant("coppAllowHist", None, 5660)
prop._addConstant("coppAllowHist15min", None, 5664)
prop._addConstant("coppAllowHist1d", None, 5668)
prop._addConstant("coppAllowHist1h", None, 5666)
prop._addConstant("coppAllowHist1mo", None, 5672)
prop._addConstant("coppAllowHist1qtr", None, 5674)
prop._addConstant("coppAllowHist1w", None, 5670)
prop._addConstant("coppAllowHist1year", None, 5676)
prop._addConstant("coppAllowHist5min", None, 5662)
prop._addConstant("coppClass", None, 2503)
prop._addConstant("coppDrop", None, 5677)
prop._addConstant("coppDrop15min", None, 5681)
prop._addConstant("coppDrop1d", None, 5685)
prop._addConstant("coppDrop1h", None, 5683)
prop._addConstant("coppDrop1mo", None, 5689)
prop._addConstant("coppDrop1qtr", None, 5691)
prop._addConstant("coppDrop1w", None, 5687)
prop._addConstant("coppDrop1year", None, 5693)
prop._addConstant("coppDrop5min", None, 5679)
prop._addConstant("coppDropHist", None, 5678)
prop._addConstant("coppDropHist15min", None, 5682)
prop._addConstant("coppDropHist1d", None, 5686)
prop._addConstant("coppDropHist1h", None, 5684)
prop._addConstant("coppDropHist1mo", None, 5690)
prop._addConstant("coppDropHist1qtr", None, 5692)
prop._addConstant("coppDropHist1w", None, 5688)
prop._addConstant("coppDropHist1year", None, 5694)
prop._addConstant("coppDropHist5min", None, 5680)
prop._addConstant("coppEntity", None, 2506)
prop._addConstant("coppMatch", None, 2504)
prop._addConstant("coppMatchProto", None, 2505)
prop._addConstant("ctrlrDom", None, 1736)
prop._addConstant("ctrlrInst", None, 1737)
prop._addConstant("ctxApplication", None, 245)
prop._addConstant("ctxClassCnt", None, 7519)
prop._addConstant("ctxData", None, 243)
prop._addConstant("ctxLocal", None, 244)
prop._addConstant("ctxMultiData", None, 242)
prop._addConstant("ctxNotification", None, 247)
prop._addConstant("ctxSubjHolder", None, 246)
prop._addConstant("datetimeANtpAuthKey", None, 4526)
prop._addConstant("datetimeANtpProv", None, 4528)
prop._addConstant("datetimeAPol", None, 4524)
prop._addConstant("datetimeClkPol", None, 3955)
prop._addConstant("datetimeConfIssues", None, 5275)
prop._addConstant("datetimeFormat", None, 4534)
prop._addConstant("datetimeNtpAuth", None, 3956)
prop._addConstant("datetimeNtpAuthKey", None, 4527)
prop._addConstant("datetimeNtpProv", None, 4529)
prop._addConstant("datetimeNtpProvider", None, 3957)
prop._addConstant("datetimeNtpProviderStatus", None, 3960)
prop._addConstant("datetimeNtpq", None, 6011)
prop._addConstant("datetimePol", None, 4525)
prop._addConstant("datetimeRsNtpProvToEpg", None, 4530)
prop._addConstant("datetimeRsNtpProvToEpp", None, 5201)
prop._addConstant("datetimeRsNtpProvToNtpAuthKey", None, 4532)
prop._addConstant("datetimeRsNtpProviderToNtpAuth", None, 3958)
prop._addConstant("datetimeRtCtrlrDatetimeFormat", None, 668)
prop._addConstant("datetimeRtFormatPol", None, 4619)
prop._addConstant("datetimeRtNtpProvToNtpAuthKey", None, 4533)
prop._addConstant("datetimeRtNtpProviderToNtpAuth", None, 3959)
prop._addConstant("datetimeRtResDatetimeFormat", None, 5315)
prop._addConstant("datetimeRtTimePol", None, 907)
prop._addConstant("datetimeStatistics", None, 3961)
prop._addConstant("dbgAC", None, 3983)
prop._addConstant("dbgACA", None, 3986)
prop._addConstant("dbgACBankA", None, 3988)
prop._addConstant("dbgACPbPathStats", None, 4056)
prop._addConstant("dbgACPbStats", None, 4054)
prop._addConstant("dbgACProbe", None, 4053)
prop._addConstant("dbgACProbes", None, 4037)
prop._addConstant("dbgACRuleIp", None, 4007)
prop._addConstant("dbgACRulePCommon", None, 4006)
prop._addConstant("dbgAcFsmNodeSt", None, 4064)
prop._addConstant("dbgAcFsmSt", None, 4063)
prop._addConstant("dbgAcLinkA", None, 4031)
prop._addConstant("dbgAcLinkS2T", None, 4061)
prop._addConstant("dbgAcLinkS2TRx", None, 4033)
prop._addConstant("dbgAcLinkS2TTx", None, 4032)
prop._addConstant("dbgAcLinkT2D", None, 4062)
prop._addConstant("dbgAcLinkT2DRx", None, 4035)
prop._addConstant("dbgAcLinkT2DTx", None, 4034)
prop._addConstant("dbgAcOdE", None, 3991)
prop._addConstant("dbgAcOgE", None, 4024)
prop._addConstant("dbgAcPath", None, 4058)
prop._addConstant("dbgAcPathA", None, 4057)
prop._addConstant("dbgAcPathRx", None, 4026)
prop._addConstant("dbgAcPathTx", None, 4025)
prop._addConstant("dbgAcPbDataA", None, 4055)
prop._addConstant("dbgAcTrail", None, 4060)
prop._addConstant("dbgAcTrailA", None, 4059)
prop._addConstant("dbgAcTrailRx", None, 4030)
prop._addConstant("dbgAcTrailTx", None, 4029)
prop._addConstant("dbgAnyToEp", None, 3996)
prop._addConstant("dbgAnyToEpRslt", None, 4045)
prop._addConstant("dbgAtomicCntrP", None, 4005)
prop._addConstant("dbgCont", None, 3982)
prop._addConstant("dbgCores", None, 3984)
prop._addConstant("dbgDVPCPath", None, 5458)
prop._addConstant("dbgDVPCPathRx", None, 5455)
prop._addConstant("dbgDVPCPathTx", None, 5452)
prop._addConstant("dbgDebugP", None, 4004)
prop._addConstant("dbgEpToAny", None, 3995)
prop._addConstant("dbgEpToAnyRslt", None, 4044)
prop._addConstant("dbgEpToEp", None, 3992)
prop._addConstant("dbgEpToEpRslt", None, 4041)
prop._addConstant("dbgEpToEpg", None, 3997)
prop._addConstant("dbgEpToEpgRslt", None, 4046)
prop._addConstant("dbgEpToIp", None, 3993)
prop._addConstant("dbgEpToIpRslt", None, 4042)
prop._addConstant("dbgEpgToEp", None, 3998)
prop._addConstant("dbgEpgToEpRslt", None, 4047)
prop._addConstant("dbgEpgToEpg", None, 4001)
prop._addConstant("dbgEpgToEpgRslt", None, 4050)
prop._addConstant("dbgEpgToIp", None, 3999)
prop._addConstant("dbgEpgToIpRslt", None, 4048)
prop._addConstant("dbgExpert", None, 4002)
prop._addConstant("dbgExpertRslt", None, 4051)
prop._addConstant("dbgFiveTuple", None, 4003)
prop._addConstant("dbgFiveTupleRslt", None, 4052)
prop._addConstant("dbgIpToEp", None, 3994)
prop._addConstant("dbgIpToEpRslt", None, 4043)
prop._addConstant("dbgIpToEpg", None, 4000)
prop._addConstant("dbgIpToEpgRslt", None, 4049)
prop._addConstant("dbgIpToIp", None, 7826)
prop._addConstant("dbgIpToIpRslt", None, 7822)
prop._addConstant("dbgNDbgs", None, 3981)
prop._addConstant("dbgNode", None, 4036)
prop._addConstant("dbgODAC", None, 3987)
prop._addConstant("dbgODACB0", None, 3989)
prop._addConstant("dbgODACB1", None, 3990)
prop._addConstant("dbgOGAC", None, 4021)
prop._addConstant("dbgOGACB0", None, 4022)
prop._addConstant("dbgOGACB1", None, 4023)
prop._addConstant("dbgOdAggRslt", None, 4040)
prop._addConstant("dbgOngoingAcMode", None, 5632)
prop._addConstant("dbgProfile", None, 4039)
prop._addConstant("dbgRelnHolder", None, 6006)
prop._addConstant("dbgRemotePort", None, 3985)
prop._addConstant("dbgRemotePortTask", None, 5067)
prop._addConstant("dbgRsOgAcMode", None, 6007)
prop._addConstant("dbgRsTenantToDomainRef", None, 5560)
prop._addConstant("dbgRtAcLinkS2T", None, 506)
prop._addConstant("dbgRtAcLinkT2D", None, 508)
prop._addConstant("dbgRtAcPath", None, 485)
prop._addConstant("dbgRtAcTrail", None, 488)
prop._addConstant("dbgRtOgAcMode", None, 6008)
prop._addConstant("dbgRtResOngoingAcMode", None, 5631)
prop._addConstant("dbgSDVPCPath", None, 5456)
prop._addConstant("dbgSVPCPath", None, 5457)
prop._addConstant("dbgSVPCPathRx", None, 5454)
prop._addConstant("dbgSVPCPathTx", None, 5451)
prop._addConstant("dbgTenant", None, 4038)
prop._addConstant("dbgacAFilter", None, 4018)
prop._addConstant("dbgacAcEpNode", None, 8191)
prop._addConstant("dbgacAnyToEp", None, 4094)
prop._addConstant("dbgacCEpSummary", None, 8192)
prop._addConstant("dbgacEpSummary", None, 4012)
prop._addConstant("dbgacEpToAny", None, 4093)
prop._addConstant("dbgacEpToEp", None, 4095)
prop._addConstant("dbgacEpToEpg", None, 4081)
prop._addConstant("dbgacEpToExt", None, 4098)
prop._addConstant("dbgacEpgCmn", None, 4065)
prop._addConstant("dbgacEpgSummary", None, 4015)
prop._addConstant("dbgacEpgSummaryTask", None, 5082)
prop._addConstant("dbgacEpgToEp", None, 4084)
prop._addConstant("dbgacEpgToEpg", None, 4072)
prop._addConstant("dbgacEpgToIp", None, 4075)
prop._addConstant("dbgacExtToEp", None, 4101)
prop._addConstant("dbgacFilter", None, 4019)
prop._addConstant("dbgacFilterSummary", None, 4020)
prop._addConstant("dbgacFromEpCmn", None, 4087)
prop._addConstant("dbgacFromEpSummary", None, 4013)
prop._addConstant("dbgacFromEpgCmn", None, 4066)
prop._addConstant("dbgacFromEpgSummary", None, 4016)
prop._addConstant("dbgacIpToEpg", None, 4078)
prop._addConstant("dbgacIpToIp", None, 7823)
prop._addConstant("dbgacL3OutCont", None, 7901)
prop._addConstant("dbgacRsAcExtPolToContext", None, 7899)
prop._addConstant("dbgacRsContext", None, 7824)
prop._addConstant("dbgacRsFromAbsEpg", None, 6262)
prop._addConstant("dbgacRsFromEp", None, 4088)
prop._addConstant("dbgacRsFromEpForEpToEpg", None, 4082)
prop._addConstant("dbgacRsFromEpIp", None, 5344)
prop._addConstant("dbgacRsFromEpIpForEpToEpg", None, 5340)
prop._addConstant("dbgacRsFromEpg", None, 4067)
prop._addConstant("dbgacRsFromLDevForExtToEp", None, 4102)
prop._addConstant("dbgacRsFromLDevForIpToEpg", None, 4079)
prop._addConstant("dbgacRsToAbsEpg", None, 6264)
prop._addConstant("dbgacRsToEp", None, 4091)
prop._addConstant("dbgacRsToEpForEpToEp", None, 4096)
prop._addConstant("dbgacRsToEpForEpgToEp", None, 4085)
prop._addConstant("dbgacRsToEpIp", None, 5346)
prop._addConstant("dbgacRsToEpIpForEpToEp", None, 5348)
prop._addConstant("dbgacRsToEpIpForEpgToEp", None, 5342)
prop._addConstant("dbgacRsToEpg", None, 4070)
prop._addConstant("dbgacRsToEpgForEpgToEpg", None, 4073)
prop._addConstant("dbgacRsToLDevForEpToExt", None, 4099)
prop._addConstant("dbgacRsToLDevForEpgToIp", None, 4076)
prop._addConstant("dbgacTenantSpaceCmn", None, 4008)
prop._addConstant("dbgacTenantSpaceCmnDef", None, 4011)
prop._addConstant("dbgacTenantSpaceCmnTask", None, 5288)
prop._addConstant("dbgacToEpCmn", None, 4090)
prop._addConstant("dbgacToEpSummary", None, 4014)
prop._addConstant("dbgacToEpgCmn", None, 4069)
prop._addConstant("dbgacToEpgSummary", None, 4017)
prop._addConstant("dbgexpCoreP", None, 4111)
prop._addConstant("dbgexpCoreStatus", None, 4129)
prop._addConstant("dbgexpDbgrCont", None, 4119)
prop._addConstant("dbgexpExportP", None, 4104)
prop._addConstant("dbgexpExportPTask", None, 5083)
prop._addConstant("dbgexpExportStatusCont", None, 4124)
prop._addConstant("dbgexpNodeStatus", None, 4127)
prop._addConstant("dbgexpNodeStatusTask", None, 5061)
prop._addConstant("dbgexpPolicyStatus", None, 4125)
prop._addConstant("dbgexpPolicyStatusInstance", None, 4126)
prop._addConstant("dbgexpRsData", None, 4107)
prop._addConstant("dbgexpRsExportDest", None, 4105)
prop._addConstant("dbgexpRsExportPol", None, 4120)
prop._addConstant("dbgexpRsSnmpPRel", None, 6068)
prop._addConstant("dbgexpRsTSScheduler", None, 4113)
prop._addConstant("dbgexpRsTsODev", None, 7619)
prop._addConstant("dbgexpRsTsSrc", None, 4116)
prop._addConstant("dbgexpRsUserCtx", None, 4109)
prop._addConstant("dbgexpRtApplCoreP", None, 898)
prop._addConstant("dbgexpRtApplTechSupOnD", None, 5208)
prop._addConstant("dbgexpRtApplTechSupP", None, 896)
prop._addConstant("dbgexpRtData", None, 4108)
prop._addConstant("dbgexpRtDbgrPolRel", None, 4207)
prop._addConstant("dbgexpRtDbgrTechSupDataContRel", None, 4211)
prop._addConstant("dbgexpRtExportPRel", None, 4205)
prop._addConstant("dbgexpRtExportPol", None, 4121)
prop._addConstant("dbgexpRtNodeCoreP", None, 918)
prop._addConstant("dbgexpRtNodeTechSupP", None, 916)
prop._addConstant("dbgexpRtResCoreP", None, 789)
prop._addConstant("dbgexpRtResTechSupP", None, 787)
prop._addConstant("dbgexpTSDomain", None, 7617)
prop._addConstant("dbgexpTSTaskCont", None, 7621)
prop._addConstant("dbgexpTSVmmRslt", None, 7623)
prop._addConstant("dbgexpTSVmmTask", None, 7622)
prop._addConstant("dbgexpTechSupCollect", None, 4214)
prop._addConstant("dbgexpTechSupData", None, 4213)
prop._addConstant("dbgexpTechSupDataCont", None, 4212)
prop._addConstant("dbgexpTechSupODev", None, 7618)
prop._addConstant("dbgexpTechSupODevTask", None, 7625)
prop._addConstant("dbgexpTechSupOnD", None, 4115)
prop._addConstant("dbgexpTechSupOnDBase", None, 7624)
prop._addConstant("dbgexpTechSupOnDTask", None, 5084)
prop._addConstant("dbgexpTechSupP", None, 4112)
prop._addConstant("dbgexpTechSupPTask", None, 5085)
prop._addConstant("dbgexpTechSupStatus", None, 4128)
prop._addConstant("dbgexpTechSupTrig", None, 4118)
prop._addConstant("dbgexpTechSupTrigCollectLTask", None, 4987)
prop._addConstant("dbgexpTechSupTrigCollectRslt", None, 4988)
prop._addConstant("dbgexpTechSupVmm", None, 7616)
prop._addConstant("dhcpAInfraProvP", None, 1440)
prop._addConstant("dhcpALbl", None, 1433)
prop._addConstant("dhcpAOption", None, 1444)
prop._addConstant("dhcpARelayP", None, 1429)
prop._addConstant("dhcpAddr", None, 2675)
prop._addConstant("dhcpCEp", None, 1469)
prop._addConstant("dhcpCRelPg", None, 1467)
prop._addConstant("dhcpClient", None, 1463)
prop._addConstant("dhcpClientAddr", None, 2676)
prop._addConstant("dhcpClientClass", None, 1460)
prop._addConstant("dhcpClientIf", None, 2687)
prop._addConstant("dhcpClientResp", None, 2707)
prop._addConstant("dhcpClientTask", None, 5526)
prop._addConstant("dhcpConsLbl", None, 1471)
prop._addConstant("dhcpDiscNode", None, 2705)
prop._addConstant("dhcpDiscNodeTask", None, 5068)
prop._addConstant("dhcpEntity", None, 2708)
prop._addConstant("dhcpEp", None, 1447)
prop._addConstant("dhcpGwDef", None, 5358)
prop._addConstant("dhcpIf", None, 2686)
prop._addConstant("dhcpInfraProvP", None, 1441)
prop._addConstant("dhcpInfraProvPDef", None, 1442)
prop._addConstant("dhcpInst", None, 2709)
prop._addConstant("dhcpLbl", None, 1434)
prop._addConstant("dhcpLblDef", None, 1437)
prop._addConstant("dhcpLease", None, 1452)
prop._addConstant("dhcpLeaseDb", None, 1451)
prop._addConstant("dhcpMsgStats", None, 2693)
prop._addConstant("dhcpMsgStatsv6", None, 6617)
prop._addConstant("dhcpNode", None, 2704)
prop._addConstant("dhcpNodeGrp", None, 1448)
prop._addConstant("dhcpOption", None, 1445)
prop._addConstant("dhcpOptionDef", None, 1446)
prop._addConstant("dhcpOptionPol", None, 1443)
prop._addConstant("dhcpPEp", None, 1468)
prop._addConstant("dhcpPRelPg", None, 1466)
prop._addConstant("dhcpPodGrp", None, 7033)
prop._addConstant("dhcpPool", None, 1459)
prop._addConstant("dhcpProvAddrDef", None, 1465)
prop._addConstant("dhcpProvDhcp", None, 1464)
prop._addConstant("dhcpProvLbl", None, 1470)
prop._addConstant("dhcpProvider", None, 1455)
prop._addConstant("dhcpPseudoIf", None, 2691)
prop._addConstant("dhcpRelayAddr", None, 2677)
prop._addConstant("dhcpRelayAddrStats", None, 2695)
prop._addConstant("dhcpRelayGw", None, 5359)
prop._addConstant("dhcpRelayIf", None, 2690)
prop._addConstant("dhcpRelayIfStats", None, 2694)
prop._addConstant("dhcpRelayIfStatsv6", None, 6618)
prop._addConstant("dhcpRelayP", None, 1430)
prop._addConstant("dhcpResp", None, 2706)
prop._addConstant("dhcpRsAllowedPools", None, 1461)
prop._addConstant("dhcpRsClient", None, 1453)
prop._addConstant("dhcpRsDhcpOptionPol", None, 1435)
prop._addConstant("dhcpRsLblDefToRelayP", None, 1438)
prop._addConstant("dhcpRsLeaseDb", None, 1456)
prop._addConstant("dhcpRsProv", None, 1431)
prop._addConstant("dhcpRsProvTask", None, 5086)
prop._addConstant("dhcpRsPseudoIf", None, 2688)
prop._addConstant("dhcpRsRelayAddrToProv", None, 6028)
prop._addConstant("dhcpRsRelayP", None, 1449)
prop._addConstant("dhcpRsToNodeGrp", None, 7034)
prop._addConstant("dhcpRtAllowedPools", None, 1462)
prop._addConstant("dhcpRtBDToRelayP", None, 1886)
prop._addConstant("dhcpRtClient", None, 1454)
prop._addConstant("dhcpRtClientRel", None, 1019)
prop._addConstant("dhcpRtDhcpOptionPol", None, 1436)
prop._addConstant("dhcpRtLblDefToRelayP", None, 1439)
prop._addConstant("dhcpRtLeaseDb", None, 1457)
prop._addConstant("dhcpRtRelayAddrToProv", None, 6029)
prop._addConstant("dhcpRtRelayP", None, 1450)
prop._addConstant("dhcpRtToNodeGrp", None, 7035)
prop._addConstant("dhcpServerIf", None, 2692)
prop._addConstant("dhcpSubnet", None, 1458)
prop._addConstant("dhcptlvComplex", None, 2696)
prop._addConstant("dhcptlvIp", None, 2699)
prop._addConstant("dhcptlvMac", None, 2698)
prop._addConstant("dhcptlvText", None, 2697)
prop._addConstant("dhcptlvUByte", None, 2703)
prop._addConstant("dhcptlvUInt16", None, 2702)
prop._addConstant("dhcptlvUInt32", None, 2701)
prop._addConstant("dhcptlvUInt64", None, 2700)
prop._addConstant("dhcptlvpolComplex", None, 2678)
prop._addConstant("dhcptlvpolIp", None, 2681)
prop._addConstant("dhcptlvpolMac", None, 2680)
prop._addConstant("dhcptlvpolText", None, 2679)
prop._addConstant("dhcptlvpolUByte", None, 2685)
prop._addConstant("dhcptlvpolUInt16", None, 2684)
prop._addConstant("dhcptlvpolUInt32", None, 2683)
prop._addConstant("dhcptlvpolUInt64", None, 2682)
prop._addConstant("dlgtDefUpdUtil", None, 7529)
prop._addConstant("dlgtDelegate", None, 6866)
prop._addConstant("dlgtDelegateTask", None, 7171)
prop._addConstant("dlgtPostponed", None, 7528)
prop._addConstant("dlgtPostponedCont", None, 7527)
prop._addConstant("dlgtPostponedFunc", None, 7829)
prop._addConstant("dnsADomain", None, 283)
prop._addConstant("dnsALbl", None, 285)
prop._addConstant("dnsAProfile", None, 277)
prop._addConstant("dnsAProv", None, 281)
prop._addConstant("dnsDom", None, 2274)
prop._addConstant("dnsDomain", None, 284)
prop._addConstant("dnsEntity", None, 2271)
prop._addConstant("dnsLbl", None, 286)
prop._addConstant("dnsLblDef", None, 287)
prop._addConstant("dnsProf", None, 2272)
prop._addConstant("dnsProfile", None, 278)
prop._addConstant("dnsProv", None, 282)
prop._addConstant("dnsProvider", None, 2273)
prop._addConstant("dnsRsDnsProfile", None, 288)
prop._addConstant("dnsRsProfileToEpg", None, 279)
prop._addConstant("dnsRsProfileToEpp", None, 5490)
prop._addConstant("dnsRtCtrlrDnsProfile", None, 670)
prop._addConstant("dnsRtDnsProfile", None, 289)
prop._addConstant("dppClass", None, 7544)
prop._addConstant("dppEgrAllow", None, 8111)
prop._addConstant("dppEgrAllow15min", None, 8115)
prop._addConstant("dppEgrAllow1d", None, 8119)
prop._addConstant("dppEgrAllow1h", None, 8117)
prop._addConstant("dppEgrAllow1mo", None, 8123)
prop._addConstant("dppEgrAllow1qtr", None, 8125)
prop._addConstant("dppEgrAllow1w", None, 8121)
prop._addConstant("dppEgrAllow1year", None, 8127)
prop._addConstant("dppEgrAllow5min", None, 8113)
prop._addConstant("dppEgrAllowHist", None, 8112)
prop._addConstant("dppEgrAllowHist15min", None, 8116)
prop._addConstant("dppEgrAllowHist1d", None, 8120)
prop._addConstant("dppEgrAllowHist1h", None, 8118)
prop._addConstant("dppEgrAllowHist1mo", None, 8124)
prop._addConstant("dppEgrAllowHist1qtr", None, 8126)
prop._addConstant("dppEgrAllowHist1w", None, 8122)
prop._addConstant("dppEgrAllowHist1year", None, 8128)
prop._addConstant("dppEgrAllowHist5min", None, 8114)
prop._addConstant("dppEgrDrop", None, 8129)
prop._addConstant("dppEgrDrop15min", None, 8133)
prop._addConstant("dppEgrDrop1d", None, 8137)
prop._addConstant("dppEgrDrop1h", None, 8135)
prop._addConstant("dppEgrDrop1mo", None, 8141)
prop._addConstant("dppEgrDrop1qtr", None, 8143)
prop._addConstant("dppEgrDrop1w", None, 8139)
prop._addConstant("dppEgrDrop1year", None, 8145)
prop._addConstant("dppEgrDrop5min", None, 8131)
prop._addConstant("dppEgrDropHist", None, 8130)
prop._addConstant("dppEgrDropHist15min", None, 8134)
prop._addConstant("dppEgrDropHist1d", None, 8138)
prop._addConstant("dppEgrDropHist1h", None, 8136)
prop._addConstant("dppEgrDropHist1mo", None, 8142)
prop._addConstant("dppEgrDropHist1qtr", None, 8144)
prop._addConstant("dppEgrDropHist1w", None, 8140)
prop._addConstant("dppEgrDropHist1year", None, 8146)
prop._addConstant("dppEgrDropHist5min", None, 8132)
prop._addConstant("dppEntity", None, 7543)
prop._addConstant("dppIf", None, 7545)
prop._addConstant("dppIngrAllow", None, 8075)
prop._addConstant("dppIngrAllow15min", None, 8079)
prop._addConstant("dppIngrAllow1d", None, 8083)
prop._addConstant("dppIngrAllow1h", None, 8081)
prop._addConstant("dppIngrAllow1mo", None, 8087)
prop._addConstant("dppIngrAllow1qtr", None, 8089)
prop._addConstant("dppIngrAllow1w", None, 8085)
prop._addConstant("dppIngrAllow1year", None, 8091)
prop._addConstant("dppIngrAllow5min", None, 8077)
prop._addConstant("dppIngrAllowHist", None, 8076)
prop._addConstant("dppIngrAllowHist15min", None, 8080)
prop._addConstant("dppIngrAllowHist1d", None, 8084)
prop._addConstant("dppIngrAllowHist1h", None, 8082)
prop._addConstant("dppIngrAllowHist1mo", None, 8088)
prop._addConstant("dppIngrAllowHist1qtr", None, 8090)
prop._addConstant("dppIngrAllowHist1w", None, 8086)
prop._addConstant("dppIngrAllowHist1year", None, 8092)
prop._addConstant("dppIngrAllowHist5min", None, 8078)
prop._addConstant("dppIngrDrop", None, 8093)
prop._addConstant("dppIngrDrop15min", None, 8097)
prop._addConstant("dppIngrDrop1d", None, 8101)
prop._addConstant("dppIngrDrop1h", None, 8099)
prop._addConstant("dppIngrDrop1mo", None, 8105)
prop._addConstant("dppIngrDrop1qtr", None, 8107)
prop._addConstant("dppIngrDrop1w", None, 8103)
prop._addConstant("dppIngrDrop1year", None, 8109)
prop._addConstant("dppIngrDrop5min", None, 8095)
prop._addConstant("dppIngrDropHist", None, 8094)
prop._addConstant("dppIngrDropHist15min", None, 8098)
prop._addConstant("dppIngrDropHist1d", None, 8102)
prop._addConstant("dppIngrDropHist1h", None, 8100)
prop._addConstant("dppIngrDropHist1mo", None, 8106)
prop._addConstant("dppIngrDropHist1qtr", None, 8108)
prop._addConstant("dppIngrDropHist1w", None, 8104)
prop._addConstant("dppIngrDropHist1year", None, 8110)
prop._addConstant("dppIngrDropHist5min", None, 8096)
prop._addConstant("dppPolicer", None, 7839)
prop._addConstant("drawCont", None, 4954)
prop._addConstant("drawInst", None, 4953)
prop._addConstant("edrErrDisRecoverPol", None, 6123)
prop._addConstant("edrEventP", None, 6124)
prop._addConstant("edrRtErrDisRecoverPolCons", None, 6127)
prop._addConstant("edrRtResErrDisRecoverPol", None, 6130)
prop._addConstant("edrRtToErrDisRecoverPol", None, 6886)
prop._addConstant("eigrpACtxAfPol", None, 6036)
prop._addConstant("eigrpAExtP", None, 6053)
prop._addConstant("eigrpAIfP", None, 6043)
prop._addConstant("eigrpARtSummPol", None, 7711)
prop._addConstant("eigrpAStubP", None, 6039)
prop._addConstant("eigrpASummP", None, 6050)
prop._addConstant("eigrpAdjEp", None, 5845)
prop._addConstant("eigrpAdjStats", None, 5863)
prop._addConstant("eigrpAf", None, 5846)
prop._addConstant("eigrpCtxAfDef", None, 6038)
prop._addConstant("eigrpCtxAfPol", None, 6037)
prop._addConstant("eigrpDb", None, 5861)
prop._addConstant("eigrpDbRec", None, 5862)
prop._addConstant("eigrpDefRtLeakP", None, 6063)
prop._addConstant("eigrpDom", None, 5851)
prop._addConstant("eigrpDomAf", None, 5852)
prop._addConstant("eigrpDomAfStats", None, 5850)
prop._addConstant("eigrpEntity", None, 5848)
prop._addConstant("eigrpExtCommNhRec", None, 5858)
prop._addConstant("eigrpExtDef", None, 6055)
prop._addConstant("eigrpExtP", None, 6054)
prop._addConstant("eigrpExtProtNhRec", None, 5859)
prop._addConstant("eigrpGr", None, 6233)
prop._addConstant("eigrpIf", None, 5854)
prop._addConstant("eigrpIfAf", None, 5855)
prop._addConstant("eigrpIfAfStats", None, 5847)
prop._addConstant("eigrpIfDef", None, 6047)
prop._addConstant("eigrpIfP", None, 6044)
prop._addConstant("eigrpIfPol", None, 6042)
prop._addConstant("eigrpInst", None, 5849)
prop._addConstant("eigrpInterLeakP", None, 5864)
prop._addConstant("eigrpNexthop", None, 5857)
prop._addConstant("eigrpRibLeakP", None, 6227)
prop._addConstant("eigrpRoute", None, 5856)
prop._addConstant("eigrpRsEppEigrpCtxDefaultPol", None, 6275)
prop._addConstant("eigrpRsIfDefToEigrpIf", None, 6048)
prop._addConstant("eigrpRsIfPol", None, 6045)
prop._addConstant("eigrpRtCtrlP", None, 6062)
prop._addConstant("eigrpRtCtxToEigrpCtxAfPol", None, 6061)
prop._addConstant("eigrpRtEppEigrpCtxAfPol", None, 6057)
prop._addConstant("eigrpRtEppEigrpCtxDefaultPol", None, 6276)
prop._addConstant("eigrpRtEppEigrpIfPol", None, 6059)
prop._addConstant("eigrpRtIfDefToEigrpIf", None, 6049)
prop._addConstant("eigrpRtIfPol", None, 6046)
prop._addConstant("eigrpRtMetricAlterP", None, 7882)
prop._addConstant("eigrpRtSum", None, 7601)
prop._addConstant("eigrpRtSummPol", None, 7712)
prop._addConstant("eigrpRtSummPolDef", None, 7713)
prop._addConstant("eigrpStubDef", None, 6041)
prop._addConstant("eigrpStubP", None, 5853)
prop._addConstant("eigrpStubPol", None, 6040)
prop._addConstant("eigrpSummDef", None, 6052)
prop._addConstant("eigrpSummPol", None, 6051)
prop._addConstant("epControlP", None, 7308)
prop._addConstant("epLoopProtectP", None, 6079)
prop._addConstant("epRecord", None, 7305)
prop._addConstant("epRtEpLoopProtectPolCons", None, 6076)
prop._addConstant("epRtResLoopProtectPol", None, 6078)
prop._addConstant("epRtToEpControlP", None, 7307)
prop._addConstant("epRtToEpLoopProtectP", None, 7097)
prop._addConstant("epmDb", None, 2269)
prop._addConstant("epmDynEpgPolicyTrig", None, 6644)
prop._addConstant("epmEpRec", None, 2264)
prop._addConstant("epmIpEp", None, 2265)
prop._addConstant("epmMacEp", None, 2266)
prop._addConstant("epmRec", None, 2270)
prop._addConstant("epmRsMacEpToIpEpAtt", None, 2267)
prop._addConstant("epmRtMacEpToIpEpAtt", None, 2268)
prop._addConstant("eptrkCompInfo", None, 6132)
prop._addConstant("eptrkEpRslt", None, 5703)
prop._addConstant("eptrkIpEpExec", None, 5701)
prop._addConstant("eptrkIpEpRslt", None, 5706)
prop._addConstant("eptrkKVInfo", None, 6133)
prop._addConstant("eptrkMacEpExec", None, 5702)
prop._addConstant("eptrkMacEpRslt", None, 5709)
prop._addConstant("eqptACPU", None, 3348)
prop._addConstant("eqptACore", None, 3351)
prop._addConstant("eqptALPort", None, 3008)
prop._addConstant("eqptALocLed", None, 3355)
prop._addConstant("eqptAsic", None, 3361)
prop._addConstant("eqptBSlot", None, 515)
prop._addConstant("eqptBoard", None, 512)
prop._addConstant("eqptBpSpLic", None, 3240)
prop._addConstant("eqptBpSpSSN", None, 3241)
prop._addConstant("eqptBpSpWWN", None, 3239)
prop._addConstant("eqptCPU", None, 3349)
prop._addConstant("eqptCard", None, 3200)
prop._addConstant("eqptCh", None, 3337)
prop._addConstant("eqptChLocateLTask", None, 4989)
prop._addConstant("eqptChLocateRslt", None, 4990)
prop._addConstant("eqptChOutOfServiceLTask", None, 4991)
prop._addConstant("eqptChOutOfServiceRslt", None, 4992)
prop._addConstant("eqptChReloadLTask", None, 4993)
prop._addConstant("eqptChReloadRslt", None, 4994)
prop._addConstant("eqptComp", None, 3275)
prop._addConstant("eqptConsP", None, 3000)
prop._addConstant("eqptConsoleP", None, 3232)
prop._addConstant("eqptCont", None, 3360)
prop._addConstant("eqptCore", None, 3352)
prop._addConstant("eqptCpuP", None, 2996)
prop._addConstant("eqptDimm", None, 3229)
prop._addConstant("eqptEgrBytes", None, 3124)
prop._addConstant("eqptEgrBytes15min", None, 3128)
prop._addConstant("eqptEgrBytes1d", None, 3132)
prop._addConstant("eqptEgrBytes1h", None, 3130)
prop._addConstant("eqptEgrBytes1mo", None, 3136)
prop._addConstant("eqptEgrBytes1qtr", None, 3138)
prop._addConstant("eqptEgrBytes1w", None, 3134)
prop._addConstant("eqptEgrBytes1year", None, 3140)
prop._addConstant("eqptEgrBytes5min", None, 3126)
prop._addConstant("eqptEgrBytesHist", None, 3125)
prop._addConstant("eqptEgrBytesHist15min", None, 3129)
prop._addConstant("eqptEgrBytesHist1d", None, 3133)
prop._addConstant("eqptEgrBytesHist1h", None, 3131)
prop._addConstant("eqptEgrBytesHist1mo", None, 3137)
prop._addConstant("eqptEgrBytesHist1qtr", None, 3139)
prop._addConstant("eqptEgrBytesHist1w", None, 3135)
prop._addConstant("eqptEgrBytesHist1year", None, 3141)
prop._addConstant("eqptEgrBytesHist5min", None, 3127)
prop._addConstant("eqptEgrDropPkts", None, 3143)
prop._addConstant("eqptEgrDropPkts15min", None, 3147)
prop._addConstant("eqptEgrDropPkts1d", None, 3151)
prop._addConstant("eqptEgrDropPkts1h", None, 3149)
prop._addConstant("eqptEgrDropPkts1mo", None, 3155)
prop._addConstant("eqptEgrDropPkts1qtr", None, 3157)
prop._addConstant("eqptEgrDropPkts1w", None, 3153)
prop._addConstant("eqptEgrDropPkts1year", None, 3159)
prop._addConstant("eqptEgrDropPkts5min", None, 3145)
prop._addConstant("eqptEgrDropPktsHist", None, 3144)
prop._addConstant("eqptEgrDropPktsHist15min", None, 3148)
prop._addConstant("eqptEgrDropPktsHist1d", None, 3152)
prop._addConstant("eqptEgrDropPktsHist1h", None, 3150)
prop._addConstant("eqptEgrDropPktsHist1mo", None, 3156)
prop._addConstant("eqptEgrDropPktsHist1qtr", None, 3158)
prop._addConstant("eqptEgrDropPktsHist1w", None, 3154)
prop._addConstant("eqptEgrDropPktsHist1year", None, 3160)
prop._addConstant("eqptEgrDropPktsHist5min", None, 3146)
prop._addConstant("eqptEgrPkts", None, 3105)
prop._addConstant("eqptEgrPkts15min", None, 3109)
prop._addConstant("eqptEgrPkts1d", None, 3113)
prop._addConstant("eqptEgrPkts1h", None, 3111)
prop._addConstant("eqptEgrPkts1mo", None, 3117)
prop._addConstant("eqptEgrPkts1qtr", None, 3119)
prop._addConstant("eqptEgrPkts1w", None, 3115)
prop._addConstant("eqptEgrPkts1year", None, 3121)
prop._addConstant("eqptEgrPkts5min", None, 3107)
prop._addConstant("eqptEgrPktsHist", None, 3106)
prop._addConstant("eqptEgrPktsHist15min", None, 3110)
prop._addConstant("eqptEgrPktsHist1d", None, 3114)
prop._addConstant("eqptEgrPktsHist1h", None, 3112)
prop._addConstant("eqptEgrPktsHist1mo", None, 3118)
prop._addConstant("eqptEgrPktsHist1qtr", None, 3120)
prop._addConstant("eqptEgrPktsHist1w", None, 3116)
prop._addConstant("eqptEgrPktsHist1year", None, 3122)
prop._addConstant("eqptEgrPktsHist5min", None, 3108)
prop._addConstant("eqptEgrTotal", None, 3181)
prop._addConstant("eqptEgrTotal15min", None, 3185)
prop._addConstant("eqptEgrTotal1d", None, 3189)
prop._addConstant("eqptEgrTotal1h", None, 3187)
prop._addConstant("eqptEgrTotal1mo", None, 3193)
prop._addConstant("eqptEgrTotal1qtr", None, 3195)
prop._addConstant("eqptEgrTotal1w", None, 3191)
prop._addConstant("eqptEgrTotal1year", None, 3197)
prop._addConstant("eqptEgrTotal5min", None, 3183)
prop._addConstant("eqptEgrTotalHist", None, 3182)
prop._addConstant("eqptEgrTotalHist15min", None, 3186)
prop._addConstant("eqptEgrTotalHist1d", None, 3190)
prop._addConstant("eqptEgrTotalHist1h", None, 3188)
prop._addConstant("eqptEgrTotalHist1mo", None, 3194)
prop._addConstant("eqptEgrTotalHist1qtr", None, 3196)
prop._addConstant("eqptEgrTotalHist1w", None, 3192)
prop._addConstant("eqptEgrTotalHist1year", None, 3198)
prop._addConstant("eqptEgrTotalHist5min", None, 3184)
prop._addConstant("eqptEjPol", None, 3233)
prop._addConstant("eqptEjec", None, 3234)
prop._addConstant("eqptEntity", None, 3359)
prop._addConstant("eqptEobcP", None, 2997)
prop._addConstant("eqptEpcP", None, 2998)
prop._addConstant("eqptExtAP", None, 514)
prop._addConstant("eqptExtCh", None, 3338)
prop._addConstant("eqptExtChCPU", None, 3350)
prop._addConstant("eqptExtChCard", None, 3207)
prop._addConstant("eqptExtChCardSlot", None, 3344)
prop._addConstant("eqptExtChFP", None, 3007)
prop._addConstant("eqptExtChHP", None, 3006)
prop._addConstant("eqptExtChLocLed", None, 3357)
prop._addConstant("eqptExtChLocateLTask", None, 4995)
prop._addConstant("eqptExtChLocateRslt", None, 4996)
prop._addConstant("eqptExtChReloadLTask", None, 4997)
prop._addConstant("eqptExtChReloadRslt", None, 4998)
prop._addConstant("eqptExtP", None, 2994)
prop._addConstant("eqptFC", None, 3205)
prop._addConstant("eqptFCLocateLTask", None, 4999)
prop._addConstant("eqptFCLocateRslt", None, 5000)
prop._addConstant("eqptFCReloadLTask", None, 5001)
prop._addConstant("eqptFCReloadRslt", None, 5002)
prop._addConstant("eqptFCSlot", None, 3342)
prop._addConstant("eqptFabP", None, 3004)
prop._addConstant("eqptFan", None, 3279)
prop._addConstant("eqptFanStats", None, 3318)
prop._addConstant("eqptFanStats15min", None, 3322)
prop._addConstant("eqptFanStats1d", None, 3326)
prop._addConstant("eqptFanStats1h", None, 3324)
prop._addConstant("eqptFanStats1mo", None, 3330)
prop._addConstant("eqptFanStats1qtr", None, 3332)
prop._addConstant("eqptFanStats1w", None, 3328)
prop._addConstant("eqptFanStats1year", None, 3334)
prop._addConstant("eqptFanStats5min", None, 3320)
prop._addConstant("eqptFanStatsHist", None, 3319)
prop._addConstant("eqptFanStatsHist15min", None, 3323)
prop._addConstant("eqptFanStatsHist1d", None, 3327)
prop._addConstant("eqptFanStatsHist1h", None, 3325)
prop._addConstant("eqptFanStatsHist1mo", None, 3331)
prop._addConstant("eqptFanStatsHist1qtr", None, 3333)
prop._addConstant("eqptFanStatsHist1w", None, 3329)
prop._addConstant("eqptFanStatsHist1year", None, 3335)
prop._addConstant("eqptFanStatsHist5min", None, 3321)
prop._addConstant("eqptFlash", None, 3230)
prop._addConstant("eqptFpga", None, 3231)
prop._addConstant("eqptFru", None, 3276)
prop._addConstant("eqptFruPower", None, 3280)
prop._addConstant("eqptFruPower15min", None, 3284)
prop._addConstant("eqptFruPower1d", None, 3288)
prop._addConstant("eqptFruPower1h", None, 3286)
prop._addConstant("eqptFruPower1mo", None, 3292)
prop._addConstant("eqptFruPower1qtr", None, 3294)
prop._addConstant("eqptFruPower1w", None, 3290)
prop._addConstant("eqptFruPower1year", None, 3296)
prop._addConstant("eqptFruPower5min", None, 3282)
prop._addConstant("eqptFruPowerHist", None, 3281)
prop._addConstant("eqptFruPowerHist15min", None, 3285)
prop._addConstant("eqptFruPowerHist1d", None, 3289)
prop._addConstant("eqptFruPowerHist1h", None, 3287)
prop._addConstant("eqptFruPowerHist1mo", None, 3293)
prop._addConstant("eqptFruPowerHist1qtr", None, 3295)
prop._addConstant("eqptFruPowerHist1w", None, 3291)
prop._addConstant("eqptFruPowerHist1year", None, 3297)
prop._addConstant("eqptFruPowerHist5min", None, 3283)
prop._addConstant("eqptFt", None, 3278)
prop._addConstant("eqptFtLocateLTask", None, 5003)
prop._addConstant("eqptFtLocateRslt", None, 5004)
prop._addConstant("eqptFtSlot", None, 3346)
prop._addConstant("eqptIndLed", None, 3354)
prop._addConstant("eqptIngrBytes", None, 3048)
prop._addConstant("eqptIngrBytes15min", None, 3052)
prop._addConstant("eqptIngrBytes1d", None, 3056)
prop._addConstant("eqptIngrBytes1h", None, 3054)
prop._addConstant("eqptIngrBytes1mo", None, 3060)
prop._addConstant("eqptIngrBytes1qtr", None, 3062)
prop._addConstant("eqptIngrBytes1w", None, 3058)
prop._addConstant("eqptIngrBytes1year", None, 3064)
prop._addConstant("eqptIngrBytes5min", None, 3050)
prop._addConstant("eqptIngrBytesHist", None, 3049)
prop._addConstant("eqptIngrBytesHist15min", None, 3053)
prop._addConstant("eqptIngrBytesHist1d", None, 3057)
prop._addConstant("eqptIngrBytesHist1h", None, 3055)
prop._addConstant("eqptIngrBytesHist1mo", None, 3061)
prop._addConstant("eqptIngrBytesHist1qtr", None, 3063)
prop._addConstant("eqptIngrBytesHist1w", None, 3059)
prop._addConstant("eqptIngrBytesHist1year", None, 3065)
prop._addConstant("eqptIngrBytesHist5min", None, 3051)
prop._addConstant("eqptIngrDropPkts", None, 3086)
prop._addConstant("eqptIngrDropPkts15min", None, 3090)
prop._addConstant("eqptIngrDropPkts1d", None, 3094)
prop._addConstant("eqptIngrDropPkts1h", None, 3092)
prop._addConstant("eqptIngrDropPkts1mo", None, 3098)
prop._addConstant("eqptIngrDropPkts1qtr", None, 3100)
prop._addConstant("eqptIngrDropPkts1w", None, 3096)
prop._addConstant("eqptIngrDropPkts1year", None, 3102)
prop._addConstant("eqptIngrDropPkts5min", None, 3088)
prop._addConstant("eqptIngrDropPktsHist", None, 3087)
prop._addConstant("eqptIngrDropPktsHist15min", None, 3091)
prop._addConstant("eqptIngrDropPktsHist1d", None, 3095)
prop._addConstant("eqptIngrDropPktsHist1h", None, 3093)
prop._addConstant("eqptIngrDropPktsHist1mo", None, 3099)
prop._addConstant("eqptIngrDropPktsHist1qtr", None, 3101)
prop._addConstant("eqptIngrDropPktsHist1w", None, 3097)
prop._addConstant("eqptIngrDropPktsHist1year", None, 3103)
prop._addConstant("eqptIngrDropPktsHist5min", None, 3089)
prop._addConstant("eqptIngrPkts", None, 3010)
prop._addConstant("eqptIngrPkts15min", None, 3014)
prop._addConstant("eqptIngrPkts1d", None, 3018)
prop._addConstant("eqptIngrPkts1h", None, 3016)
prop._addConstant("eqptIngrPkts1mo", None, 3022)
prop._addConstant("eqptIngrPkts1qtr", None, 3024)
prop._addConstant("eqptIngrPkts1w", None, 3020)
prop._addConstant("eqptIngrPkts1year", None, 3026)
prop._addConstant("eqptIngrPkts5min", None, 3012)
prop._addConstant("eqptIngrPktsHist", None, 3011)
prop._addConstant("eqptIngrPktsHist15min", None, 3015)
prop._addConstant("eqptIngrPktsHist1d", None, 3019)
prop._addConstant("eqptIngrPktsHist1h", None, 3017)
prop._addConstant("eqptIngrPktsHist1mo", None, 3023)
prop._addConstant("eqptIngrPktsHist1qtr", None, 3025)
prop._addConstant("eqptIngrPktsHist1w", None, 3021)
prop._addConstant("eqptIngrPktsHist1year", None, 3027)
prop._addConstant("eqptIngrPktsHist5min", None, 3013)
prop._addConstant("eqptIngrStorm", None, 5937)
prop._addConstant("eqptIngrStorm15min", None, 5941)
prop._addConstant("eqptIngrStorm1d", None, 5945)
prop._addConstant("eqptIngrStorm1h", None, 5943)
prop._addConstant("eqptIngrStorm1mo", None, 5949)
prop._addConstant("eqptIngrStorm1qtr", None, 5951)
prop._addConstant("eqptIngrStorm1w", None, 5947)
prop._addConstant("eqptIngrStorm1year", None, 5953)
prop._addConstant("eqptIngrStorm5min", None, 5939)
prop._addConstant("eqptIngrStormHist", None, 5938)
prop._addConstant("eqptIngrStormHist15min", None, 5942)
prop._addConstant("eqptIngrStormHist1d", None, 5946)
prop._addConstant("eqptIngrStormHist1h", None, 5944)
prop._addConstant("eqptIngrStormHist1mo", None, 5950)
prop._addConstant("eqptIngrStormHist1qtr", None, 5952)
prop._addConstant("eqptIngrStormHist1w", None, 5948)
prop._addConstant("eqptIngrStormHist1year", None, 5954)
prop._addConstant("eqptIngrStormHist5min", None, 5940)
prop._addConstant("eqptIngrTotal", None, 3162)
prop._addConstant("eqptIngrTotal15min", None, 3166)
prop._addConstant("eqptIngrTotal1d", None, 3170)
prop._addConstant("eqptIngrTotal1h", None, 3168)
prop._addConstant("eqptIngrTotal1mo", None, 3174)
prop._addConstant("eqptIngrTotal1qtr", None, 3176)
prop._addConstant("eqptIngrTotal1w", None, 3172)
prop._addConstant("eqptIngrTotal1year", None, 3178)
prop._addConstant("eqptIngrTotal5min", None, 3164)
prop._addConstant("eqptIngrTotalHist", None, 3163)
prop._addConstant("eqptIngrTotalHist15min", None, 3167)
prop._addConstant("eqptIngrTotalHist1d", None, 3171)
prop._addConstant("eqptIngrTotalHist1h", None, 3169)
prop._addConstant("eqptIngrTotalHist1mo", None, 3175)
prop._addConstant("eqptIngrTotalHist1qtr", None, 3177)
prop._addConstant("eqptIngrTotalHist1w", None, 3173)
prop._addConstant("eqptIngrTotalHist1year", None, 3179)
prop._addConstant("eqptIngrTotalHist5min", None, 3165)
prop._addConstant("eqptIngrUnkBytes", None, 3067)
prop._addConstant("eqptIngrUnkBytes15min", None, 3071)
prop._addConstant("eqptIngrUnkBytes1d", None, 3075)
prop._addConstant("eqptIngrUnkBytes1h", None, 3073)
prop._addConstant("eqptIngrUnkBytes1mo", None, 3079)
prop._addConstant("eqptIngrUnkBytes1qtr", None, 3081)
prop._addConstant("eqptIngrUnkBytes1w", None, 3077)
prop._addConstant("eqptIngrUnkBytes1year", None, 3083)
prop._addConstant("eqptIngrUnkBytes5min", None, 3069)
prop._addConstant("eqptIngrUnkBytesHist", None, 3068)
prop._addConstant("eqptIngrUnkBytesHist15min", None, 3072)
prop._addConstant("eqptIngrUnkBytesHist1d", None, 3076)
prop._addConstant("eqptIngrUnkBytesHist1h", None, 3074)
prop._addConstant("eqptIngrUnkBytesHist1mo", None, 3080)
prop._addConstant("eqptIngrUnkBytesHist1qtr", None, 3082)
prop._addConstant("eqptIngrUnkBytesHist1w", None, 3078)
prop._addConstant("eqptIngrUnkBytesHist1year", None, 3084)
prop._addConstant("eqptIngrUnkBytesHist5min", None, 3070)
prop._addConstant("eqptIngrUnkPkts", None, 3029)
prop._addConstant("eqptIngrUnkPkts15min", None, 3033)
prop._addConstant("eqptIngrUnkPkts1d", None, 3037)
prop._addConstant("eqptIngrUnkPkts1h", None, 3035)
prop._addConstant("eqptIngrUnkPkts1mo", None, 3041)
prop._addConstant("eqptIngrUnkPkts1qtr", None, 3043)
prop._addConstant("eqptIngrUnkPkts1w", None, 3039)
prop._addConstant("eqptIngrUnkPkts1year", None, 3045)
prop._addConstant("eqptIngrUnkPkts5min", None, 3031)
prop._addConstant("eqptIngrUnkPktsHist", None, 3030)
prop._addConstant("eqptIngrUnkPktsHist15min", None, 3034)
prop._addConstant("eqptIngrUnkPktsHist1d", None, 3038)
prop._addConstant("eqptIngrUnkPktsHist1h", None, 3036)
prop._addConstant("eqptIngrUnkPktsHist1mo", None, 3042)
prop._addConstant("eqptIngrUnkPktsHist1qtr", None, 3044)
prop._addConstant("eqptIngrUnkPktsHist1w", None, 3040)
prop._addConstant("eqptIngrUnkPktsHist1year", None, 3046)
prop._addConstant("eqptIngrUnkPktsHist5min", None, 3032)
prop._addConstant("eqptIntP", None, 2995)
prop._addConstant("eqptIoP", None, 3001)
prop._addConstant("eqptItem", None, 3358)
prop._addConstant("eqptLC", None, 3204)
prop._addConstant("eqptLCLocateLTask", None, 5005)
prop._addConstant("eqptLCLocateRslt", None, 5006)
prop._addConstant("eqptLCReloadLTask", None, 5007)
prop._addConstant("eqptLCReloadRslt", None, 5008)
prop._addConstant("eqptLCSlot", None, 3341)
prop._addConstant("eqptLPort", None, 3009)
prop._addConstant("eqptLeafP", None, 3005)
prop._addConstant("eqptLed", None, 3353)
prop._addConstant("eqptLocLed", None, 3356)
prop._addConstant("eqptMem", None, 3228)
prop._addConstant("eqptMgmtP", None, 2999)
prop._addConstant("eqptNSlot", None, 516)
prop._addConstant("eqptNic", None, 513)
prop._addConstant("eqptObfl", None, 3208)
prop._addConstant("eqptPort", None, 2993)
prop._addConstant("eqptPsPower", None, 3299)
prop._addConstant("eqptPsPower15min", None, 3303)
prop._addConstant("eqptPsPower1d", None, 3307)
prop._addConstant("eqptPsPower1h", None, 3305)
prop._addConstant("eqptPsPower1mo", None, 3311)
prop._addConstant("eqptPsPower1qtr", None, 3313)
prop._addConstant("eqptPsPower1w", None, 3309)
prop._addConstant("eqptPsPower1year", None, 3315)
prop._addConstant("eqptPsPower5min", None, 3301)
prop._addConstant("eqptPsPowerHist", None, 3300)
prop._addConstant("eqptPsPowerHist15min", None, 3304)
prop._addConstant("eqptPsPowerHist1d", None, 3308)
prop._addConstant("eqptPsPowerHist1h", None, 3306)
prop._addConstant("eqptPsPowerHist1mo", None, 3312)
prop._addConstant("eqptPsPowerHist1qtr", None, 3314)
prop._addConstant("eqptPsPowerHist1w", None, 3310)
prop._addConstant("eqptPsPowerHist1year", None, 3316)
prop._addConstant("eqptPsPowerHist5min", None, 3302)
prop._addConstant("eqptPsgP", None, 2990)
prop._addConstant("eqptPsu", None, 2989)
prop._addConstant("eqptPsuSlot", None, 3345)
prop._addConstant("eqptRsIoPPhysConf", None, 3002)
prop._addConstant("eqptRsMonPolModulePolCons", None, 3201)
prop._addConstant("eqptRsPsuInstPolCons", None, 2991)
prop._addConstant("eqptRtCcepConn", None, 2049)
prop._addConstant("eqptRtExtChCardOdDiag", None, 2250)
prop._addConstant("eqptRtFcOdDiag", None, 2244)
prop._addConstant("eqptRtFpOdDiag", None, 2234)
prop._addConstant("eqptRtLcOdDiag", None, 2247)
prop._addConstant("eqptRtLpOdDiag", None, 2231)
prop._addConstant("eqptRtOosSlot", None, 5551)
prop._addConstant("eqptRtSupCOdDiag", None, 2238)
prop._addConstant("eqptRtSysCOdDiag", None, 2241)
prop._addConstant("eqptSensor", None, 3255)
prop._addConstant("eqptSilicon", None, 3277)
prop._addConstant("eqptSlot", None, 3339)
prop._addConstant("eqptSlotP", None, 3347)
prop._addConstant("eqptSlotSetInServiceLTask", None, 5552)
prop._addConstant("eqptSlotSetInServiceRslt", None, 5553)
prop._addConstant("eqptSpBlkHdr", None, 3235)
prop._addConstant("eqptSpCmnBlk", None, 3236)
prop._addConstant("eqptSpPd", None, 3237)
prop._addConstant("eqptSpSd", None, 3238)
prop._addConstant("eqptSpSensorBlk", None, 3248)
prop._addConstant("eqptSprom", None, 3249)
prop._addConstant("eqptSpromBP", None, 3252)
prop._addConstant("eqptSpromBPBlk", None, 3245)
prop._addConstant("eqptSpromFan", None, 3250)
prop._addConstant("eqptSpromFanBlk", None, 3242)
prop._addConstant("eqptSpromFanSN", None, 3243)
prop._addConstant("eqptSpromLc", None, 3254)
prop._addConstant("eqptSpromLcBlk", None, 3247)
prop._addConstant("eqptSpromPsu", None, 3251)
prop._addConstant("eqptSpromPsuBlk", None, 3244)
prop._addConstant("eqptSpromSup", None, 3253)
prop._addConstant("eqptSpromSupBlk", None, 3246)
prop._addConstant("eqptStorage", None, 517)
prop._addConstant("eqptSupC", None, 3203)
prop._addConstant("eqptSupCLocateLTask", None, 5009)
prop._addConstant("eqptSupCLocateRslt", None, 5010)
prop._addConstant("eqptSupCReloadLTask", None, 5011)
prop._addConstant("eqptSupCReloadRslt", None, 5012)
prop._addConstant("eqptSupCSlot", None, 3340)
prop._addConstant("eqptSysC", None, 3206)
prop._addConstant("eqptSysCLocateLTask", None, 5013)
prop._addConstant("eqptSysCLocateRslt", None, 5014)
prop._addConstant("eqptSysCReloadLTask", None, 5015)
prop._addConstant("eqptSysCReloadRslt", None, 5016)
prop._addConstant("eqptSysCSlot", None, 3343)
prop._addConstant("eqptTemp", None, 3256)
prop._addConstant("eqptTemp15min", None, 3260)
prop._addConstant("eqptTemp1d", None, 3264)
prop._addConstant("eqptTemp1h", None, 3262)
prop._addConstant("eqptTemp1mo", None, 3268)
prop._addConstant("eqptTemp1qtr", None, 3270)
prop._addConstant("eqptTemp1w", None, 3266)
prop._addConstant("eqptTemp1year", None, 3272)
prop._addConstant("eqptTemp5min", None, 3258)
prop._addConstant("eqptTempHist", None, 3257)
prop._addConstant("eqptTempHist15min", None, 3261)
prop._addConstant("eqptTempHist1d", None, 3265)
prop._addConstant("eqptTempHist1h", None, 3263)
prop._addConstant("eqptTempHist1mo", None, 3269)
prop._addConstant("eqptTempHist1qtr", None, 3271)
prop._addConstant("eqptTempHist1w", None, 3267)
prop._addConstant("eqptTempHist1year", None, 3273)
prop._addConstant("eqptTempHist5min", None, 3259)
prop._addConstant("eqptcapAMfgDef", None, 800)
prop._addConstant("eqptcapCard", None, 795)
prop._addConstant("eqptcapFan", None, 798)
prop._addConstant("eqptcapHolderCapProvider", None, 793)
prop._addConstant("eqptcapHwCapProvider", None, 792)
prop._addConstant("eqptcapMfgDef", None, 801)
prop._addConstant("eqptcapPhysicalDef", None, 803)
prop._addConstant("eqptcapPort", None, 796)
prop._addConstant("eqptcapPsu", None, 797)
prop._addConstant("eqptcapSfp", None, 799)
prop._addConstant("eqptcapSfpMfgDef", None, 802)
prop._addConstant("eqptcapSystem", None, 794)
prop._addConstant("eqptcapacityBDEntry", None, 2870)
prop._addConstant("eqptcapacityBDEntry15min", None, 2874)
prop._addConstant("eqptcapacityBDEntry1d", None, 2878)
prop._addConstant("eqptcapacityBDEntry1h", None, 2876)
prop._addConstant("eqptcapacityBDEntry1mo", None, 2882)
prop._addConstant("eqptcapacityBDEntry1qtr", None, 2884)
prop._addConstant("eqptcapacityBDEntry1w", None, 2880)
prop._addConstant("eqptcapacityBDEntry1year", None, 2886)
prop._addConstant("eqptcapacityBDEntry5min", None, 2872)
prop._addConstant("eqptcapacityBDEntryHist", None, 2871)
prop._addConstant("eqptcapacityBDEntryHist15min", None, 2875)
prop._addConstant("eqptcapacityBDEntryHist1d", None, 2879)
prop._addConstant("eqptcapacityBDEntryHist1h", None, 2877)
prop._addConstant("eqptcapacityBDEntryHist1mo", None, 2883)
prop._addConstant("eqptcapacityBDEntryHist1qtr", None, 2885)
prop._addConstant("eqptcapacityBDEntryHist1w", None, 2881)
prop._addConstant("eqptcapacityBDEntryHist1year", None, 2887)
prop._addConstant("eqptcapacityBDEntryHist5min", None, 2873)
prop._addConstant("eqptcapacityEntity", None, 2908)
prop._addConstant("eqptcapacityFSPartition", None, 7016)
prop._addConstant("eqptcapacityL2Entry", None, 2889)
prop._addConstant("eqptcapacityL2Entry15min", None, 2893)
prop._addConstant("eqptcapacityL2Entry1d", None, 2897)
prop._addConstant("eqptcapacityL2Entry1h", None, 2895)
prop._addConstant("eqptcapacityL2Entry1mo", None, 2901)
prop._addConstant("eqptcapacityL2Entry1qtr", None, 2903)
prop._addConstant("eqptcapacityL2Entry1w", None, 2899)
prop._addConstant("eqptcapacityL2Entry1year", None, 2905)
prop._addConstant("eqptcapacityL2Entry5min", None, 2891)
prop._addConstant("eqptcapacityL2EntryHist", None, 2890)
prop._addConstant("eqptcapacityL2EntryHist15min", None, 2894)
prop._addConstant("eqptcapacityL2EntryHist1d", None, 2898)
prop._addConstant("eqptcapacityL2EntryHist1h", None, 2896)
prop._addConstant("eqptcapacityL2EntryHist1mo", None, 2902)
prop._addConstant("eqptcapacityL2EntryHist1qtr", None, 2904)
prop._addConstant("eqptcapacityL2EntryHist1w", None, 2900)
prop._addConstant("eqptcapacityL2EntryHist1year", None, 2906)
prop._addConstant("eqptcapacityL2EntryHist5min", None, 2892)
prop._addConstant("eqptcapacityL2Usage", None, 6689)
prop._addConstant("eqptcapacityL2Usage15min", None, 6693)
prop._addConstant("eqptcapacityL2Usage1d", None, 6697)
prop._addConstant("eqptcapacityL2Usage1h", None, 6695)
prop._addConstant("eqptcapacityL2Usage1mo", None, 6701)
prop._addConstant("eqptcapacityL2Usage1qtr", None, 6703)
prop._addConstant("eqptcapacityL2Usage1w", None, 6699)
prop._addConstant("eqptcapacityL2Usage1year", None, 6705)
prop._addConstant("eqptcapacityL2Usage5min", None, 6691)
prop._addConstant("eqptcapacityL2UsageHist", None, 6690)
prop._addConstant("eqptcapacityL2UsageHist15min", None, 6694)
prop._addConstant("eqptcapacityL2UsageHist1d", None, 6698)
prop._addConstant("eqptcapacityL2UsageHist1h", None, 6696)
prop._addConstant("eqptcapacityL2UsageHist1mo", None, 6702)
prop._addConstant("eqptcapacityL2UsageHist1qtr", None, 6704)
prop._addConstant("eqptcapacityL2UsageHist1w", None, 6700)
prop._addConstant("eqptcapacityL2UsageHist1year", None, 6706)
prop._addConstant("eqptcapacityL2UsageHist5min", None, 6692)
prop._addConstant("eqptcapacityL3Entry", None, 2909)
prop._addConstant("eqptcapacityL3Entry15min", None, 2913)
prop._addConstant("eqptcapacityL3Entry1d", None, 2917)
prop._addConstant("eqptcapacityL3Entry1h", None, 2915)
prop._addConstant("eqptcapacityL3Entry1mo", None, 2921)
prop._addConstant("eqptcapacityL3Entry1qtr", None, 2923)
prop._addConstant("eqptcapacityL3Entry1w", None, 2919)
prop._addConstant("eqptcapacityL3Entry1year", None, 2925)
prop._addConstant("eqptcapacityL3Entry5min", None, 2911)
prop._addConstant("eqptcapacityL3EntryHist", None, 2910)
prop._addConstant("eqptcapacityL3EntryHist15min", None, 2914)
prop._addConstant("eqptcapacityL3EntryHist1d", None, 2918)
prop._addConstant("eqptcapacityL3EntryHist1h", None, 2916)
prop._addConstant("eqptcapacityL3EntryHist1mo", None, 2922)
prop._addConstant("eqptcapacityL3EntryHist1qtr", None, 2924)
prop._addConstant("eqptcapacityL3EntryHist1w", None, 2920)
prop._addConstant("eqptcapacityL3EntryHist1year", None, 2926)
prop._addConstant("eqptcapacityL3EntryHist5min", None, 2912)
prop._addConstant("eqptcapacityL3Usage", None, 6725)
prop._addConstant("eqptcapacityL3Usage15min", None, 6729)
prop._addConstant("eqptcapacityL3Usage1d", None, 6733)
prop._addConstant("eqptcapacityL3Usage1h", None, 6731)
prop._addConstant("eqptcapacityL3Usage1mo", None, 6737)
prop._addConstant("eqptcapacityL3Usage1qtr", None, 6739)
prop._addConstant("eqptcapacityL3Usage1w", None, 6735)
prop._addConstant("eqptcapacityL3Usage1year", None, 6741)
prop._addConstant("eqptcapacityL3Usage5min", None, 6727)
prop._addConstant("eqptcapacityL3UsageCap", None, 6907)
prop._addConstant("eqptcapacityL3UsageCap15min", None, 6911)
prop._addConstant("eqptcapacityL3UsageCap1d", None, 6915)
prop._addConstant("eqptcapacityL3UsageCap1h", None, 6913)
prop._addConstant("eqptcapacityL3UsageCap1mo", None, 6919)
prop._addConstant("eqptcapacityL3UsageCap1qtr", None, 6921)
prop._addConstant("eqptcapacityL3UsageCap1w", None, 6917)
prop._addConstant("eqptcapacityL3UsageCap1year", None, 6923)
prop._addConstant("eqptcapacityL3UsageCap5min", None, 6909)
prop._addConstant("eqptcapacityL3UsageCapHist", None, 6908)
prop._addConstant("eqptcapacityL3UsageCapHist15min", None, 6912)
prop._addConstant("eqptcapacityL3UsageCapHist1d", None, 6916)
prop._addConstant("eqptcapacityL3UsageCapHist1h", None, 6914)
prop._addConstant("eqptcapacityL3UsageCapHist1mo", None, 6920)
prop._addConstant("eqptcapacityL3UsageCapHist1qtr", None, 6922)
prop._addConstant("eqptcapacityL3UsageCapHist1w", None, 6918)
prop._addConstant("eqptcapacityL3UsageCapHist1year", None, 6924)
prop._addConstant("eqptcapacityL3UsageCapHist5min", None, 6910)
prop._addConstant("eqptcapacityL3UsageHist", None, 6726)
prop._addConstant("eqptcapacityL3UsageHist15min", None, 6730)
prop._addConstant("eqptcapacityL3UsageHist1d", None, 6734)
prop._addConstant("eqptcapacityL3UsageHist1h", None, 6732)
prop._addConstant("eqptcapacityL3UsageHist1mo", None, 6738)
prop._addConstant("eqptcapacityL3UsageHist1qtr", None, 6740)
prop._addConstant("eqptcapacityL3UsageHist1w", None, 6736)
prop._addConstant("eqptcapacityL3UsageHist1year", None, 6742)
prop._addConstant("eqptcapacityL3UsageHist5min", None, 6728)
prop._addConstant("eqptcapacityMcastEntry", None, 2947)
prop._addConstant("eqptcapacityMcastEntry15min", None, 2951)
prop._addConstant("eqptcapacityMcastEntry1d", None, 2955)
prop._addConstant("eqptcapacityMcastEntry1h", None, 2953)
prop._addConstant("eqptcapacityMcastEntry1mo", None, 2959)
prop._addConstant("eqptcapacityMcastEntry1qtr", None, 2961)
prop._addConstant("eqptcapacityMcastEntry1w", None, 2957)
prop._addConstant("eqptcapacityMcastEntry1year", None, 2963)
prop._addConstant("eqptcapacityMcastEntry5min", None, 2949)
prop._addConstant("eqptcapacityMcastEntryHist", None, 2948)
prop._addConstant("eqptcapacityMcastEntryHist15min", None, 2952)
prop._addConstant("eqptcapacityMcastEntryHist1d", None, 2956)
prop._addConstant("eqptcapacityMcastEntryHist1h", None, 2954)
prop._addConstant("eqptcapacityMcastEntryHist1mo", None, 2960)
prop._addConstant("eqptcapacityMcastEntryHist1qtr", None, 2962)
prop._addConstant("eqptcapacityMcastEntryHist1w", None, 2958)
prop._addConstant("eqptcapacityMcastEntryHist1year", None, 2964)
prop._addConstant("eqptcapacityMcastEntryHist5min", None, 2950)
prop._addConstant("eqptcapacityMcastUsage", None, 6671)
prop._addConstant("eqptcapacityMcastUsage15min", None, 6675)
prop._addConstant("eqptcapacityMcastUsage1d", None, 6679)
prop._addConstant("eqptcapacityMcastUsage1h", None, 6677)
prop._addConstant("eqptcapacityMcastUsage1mo", None, 6683)
prop._addConstant("eqptcapacityMcastUsage1qtr", None, 6685)
prop._addConstant("eqptcapacityMcastUsage1w", None, 6681)
prop._addConstant("eqptcapacityMcastUsage1year", None, 6687)
prop._addConstant("eqptcapacityMcastUsage5min", None, 6673)
prop._addConstant("eqptcapacityMcastUsageHist", None, 6672)
prop._addConstant("eqptcapacityMcastUsageHist15min", None, 6676)
prop._addConstant("eqptcapacityMcastUsageHist1d", None, 6680)
prop._addConstant("eqptcapacityMcastUsageHist1h", None, 6678)
prop._addConstant("eqptcapacityMcastUsageHist1mo", None, 6684)
prop._addConstant("eqptcapacityMcastUsageHist1qtr", None, 6686)
prop._addConstant("eqptcapacityMcastUsageHist1w", None, 6682)
prop._addConstant("eqptcapacityMcastUsageHist1year", None, 6688)
prop._addConstant("eqptcapacityMcastUsageHist5min", None, 6674)
prop._addConstant("eqptcapacityPolEntry", None, 2928)
prop._addConstant("eqptcapacityPolEntry15min", None, 2932)
prop._addConstant("eqptcapacityPolEntry1d", None, 2936)
prop._addConstant("eqptcapacityPolEntry1h", None, 2934)
prop._addConstant("eqptcapacityPolEntry1mo", None, 2940)
prop._addConstant("eqptcapacityPolEntry1qtr", None, 2942)
prop._addConstant("eqptcapacityPolEntry1w", None, 2938)
prop._addConstant("eqptcapacityPolEntry1year", None, 2944)
prop._addConstant("eqptcapacityPolEntry5min", None, 2930)
prop._addConstant("eqptcapacityPolEntryHist", None, 2929)
prop._addConstant("eqptcapacityPolEntryHist15min", None, 2933)
prop._addConstant("eqptcapacityPolEntryHist1d", None, 2937)
prop._addConstant("eqptcapacityPolEntryHist1h", None, 2935)
prop._addConstant("eqptcapacityPolEntryHist1mo", None, 2941)
prop._addConstant("eqptcapacityPolEntryHist1qtr", None, 2943)
prop._addConstant("eqptcapacityPolEntryHist1w", None, 2939)
prop._addConstant("eqptcapacityPolEntryHist1year", None, 2945)
prop._addConstant("eqptcapacityPolEntryHist5min", None, 2931)
prop._addConstant("eqptcapacityPolUsage", None, 6707)
prop._addConstant("eqptcapacityPolUsage15min", None, 6711)
prop._addConstant("eqptcapacityPolUsage1d", None, 6715)
prop._addConstant("eqptcapacityPolUsage1h", None, 6713)
prop._addConstant("eqptcapacityPolUsage1mo", None, 6719)
prop._addConstant("eqptcapacityPolUsage1qtr", None, 6721)
prop._addConstant("eqptcapacityPolUsage1w", None, 6717)
prop._addConstant("eqptcapacityPolUsage1year", None, 6723)
prop._addConstant("eqptcapacityPolUsage5min", None, 6709)
prop._addConstant("eqptcapacityPolUsageHist", None, 6708)
prop._addConstant("eqptcapacityPolUsageHist15min", None, 6712)
prop._addConstant("eqptcapacityPolUsageHist1d", None, 6716)
prop._addConstant("eqptcapacityPolUsageHist1h", None, 6714)
prop._addConstant("eqptcapacityPolUsageHist1mo", None, 6720)
prop._addConstant("eqptcapacityPolUsageHist1qtr", None, 6722)
prop._addConstant("eqptcapacityPolUsageHist1w", None, 6718)
prop._addConstant("eqptcapacityPolUsageHist1year", None, 6724)
prop._addConstant("eqptcapacityPolUsageHist5min", None, 6710)
prop._addConstant("eqptcapacityPrefixEntries", None, 6626)
prop._addConstant("eqptcapacityPrefixEntries15min", None, 6630)
prop._addConstant("eqptcapacityPrefixEntries1d", None, 6634)
prop._addConstant("eqptcapacityPrefixEntries1h", None, 6632)
prop._addConstant("eqptcapacityPrefixEntries1mo", None, 6638)
prop._addConstant("eqptcapacityPrefixEntries1qtr", None, 6640)
prop._addConstant("eqptcapacityPrefixEntries1w", None, 6636)
prop._addConstant("eqptcapacityPrefixEntries1year", None, 6642)
prop._addConstant("eqptcapacityPrefixEntries5min", None, 6628)
prop._addConstant("eqptcapacityPrefixEntriesHist", None, 6627)
prop._addConstant("eqptcapacityPrefixEntriesHist15min", None, 6631)
prop._addConstant("eqptcapacityPrefixEntriesHist1d", None, 6635)
prop._addConstant("eqptcapacityPrefixEntriesHist1h", None, 6633)
prop._addConstant("eqptcapacityPrefixEntriesHist1mo", None, 6639)
prop._addConstant("eqptcapacityPrefixEntriesHist1qtr", None, 6641)
prop._addConstant("eqptcapacityPrefixEntriesHist1w", None, 6637)
prop._addConstant("eqptcapacityPrefixEntriesHist1year", None, 6643)
prop._addConstant("eqptcapacityPrefixEntriesHist5min", None, 6629)
prop._addConstant("eqptcapacityRouterIpEntries", None, 6761)
prop._addConstant("eqptcapacityRouterIpEntries15min", None, 6765)
prop._addConstant("eqptcapacityRouterIpEntries1d", None, 6769)
prop._addConstant("eqptcapacityRouterIpEntries1h", None, 6767)
prop._addConstant("eqptcapacityRouterIpEntries1mo", None, 6773)
prop._addConstant("eqptcapacityRouterIpEntries1qtr", None, 6775)
prop._addConstant("eqptcapacityRouterIpEntries1w", None, 6771)
prop._addConstant("eqptcapacityRouterIpEntries1year", None, 6777)
prop._addConstant("eqptcapacityRouterIpEntries5min", None, 6763)
prop._addConstant("eqptcapacityRouterIpEntriesHist", None, 6762)
prop._addConstant("eqptcapacityRouterIpEntriesHist15min", None, 6766)
prop._addConstant("eqptcapacityRouterIpEntriesHist1d", None, 6770)
prop._addConstant("eqptcapacityRouterIpEntriesHist1h", None, 6768)
prop._addConstant("eqptcapacityRouterIpEntriesHist1mo", None, 6774)
prop._addConstant("eqptcapacityRouterIpEntriesHist1qtr", None, 6776)
prop._addConstant("eqptcapacityRouterIpEntriesHist1w", None, 6772)
prop._addConstant("eqptcapacityRouterIpEntriesHist1year", None, 6778)
prop._addConstant("eqptcapacityRouterIpEntriesHist5min", None, 6764)
prop._addConstant("eqptcapacityVlanUsage", None, 6743)
prop._addConstant("eqptcapacityVlanUsage15min", None, 6747)
prop._addConstant("eqptcapacityVlanUsage1d", None, 6751)
prop._addConstant("eqptcapacityVlanUsage1h", None, 6749)
prop._addConstant("eqptcapacityVlanUsage1mo", None, 6755)
prop._addConstant("eqptcapacityVlanUsage1qtr", None, 6757)
prop._addConstant("eqptcapacityVlanUsage1w", None, 6753)
prop._addConstant("eqptcapacityVlanUsage1year", None, 6759)
prop._addConstant("eqptcapacityVlanUsage5min", None, 6745)
prop._addConstant("eqptcapacityVlanUsageHist", None, 6744)
prop._addConstant("eqptcapacityVlanUsageHist15min", None, 6748)
prop._addConstant("eqptcapacityVlanUsageHist1d", None, 6752)
prop._addConstant("eqptcapacityVlanUsageHist1h", None, 6750)
prop._addConstant("eqptcapacityVlanUsageHist1mo", None, 6756)
prop._addConstant("eqptcapacityVlanUsageHist1qtr", None, 6758)
prop._addConstant("eqptcapacityVlanUsageHist1w", None, 6754)
prop._addConstant("eqptcapacityVlanUsageHist1year", None, 6760)
prop._addConstant("eqptcapacityVlanUsageHist5min", None, 6746)
prop._addConstant("eqptcapacityVlanXlateEntries", None, 7052)
prop._addConstant("eqptcapacityVlanXlateEntries15min", None, 7056)
prop._addConstant("eqptcapacityVlanXlateEntries1d", None, 7060)
prop._addConstant("eqptcapacityVlanXlateEntries1h", None, 7058)
prop._addConstant("eqptcapacityVlanXlateEntries1mo", None, 7064)
prop._addConstant("eqptcapacityVlanXlateEntries1qtr", None, 7066)
prop._addConstant("eqptcapacityVlanXlateEntries1w", None, 7062)
prop._addConstant("eqptcapacityVlanXlateEntries1year", None, 7068)
prop._addConstant("eqptcapacityVlanXlateEntries5min", None, 7054)
prop._addConstant("eqptcapacityVlanXlateEntriesHist", None, 7053)
prop._addConstant("eqptcapacityVlanXlateEntriesHist15min", None, 7057)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1d", None, 7061)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1h", None, 7059)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1mo", None, 7065)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1qtr", None, 7067)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1w", None, 7063)
prop._addConstant("eqptcapacityVlanXlateEntriesHist1year", None, 7069)
prop._addConstant("eqptcapacityVlanXlateEntriesHist5min", None, 7055)
prop._addConstant("eqptdiagARule", None, 2967)
prop._addConstant("eqptdiagASubj", None, 2970)
prop._addConstant("eqptdiagEntity", None, 2966)
prop._addConstant("eqptdiagOnDRule", None, 2969)
prop._addConstant("eqptdiagOnDSubj", None, 2972)
prop._addConstant("eqptdiagPortTestStats", None, 2974)
prop._addConstant("eqptdiagRslt", None, 2973)
prop._addConstant("eqptdiagRule", None, 2968)
prop._addConstant("eqptdiagSubj", None, 2971)
prop._addConstant("eqptdiagSubjTestLTask", None, 5017)
prop._addConstant("eqptdiagSubjTestRslt", None, 5018)
prop._addConstant("eqptdiagpASynthObj", None, 2263)
prop._addConstant("eqptdiagpBootPol", None, 2258)
prop._addConstant("eqptdiagpCardHealthPol", None, 2261)
prop._addConstant("eqptdiagpCardTestSetOd", None, 2235)
prop._addConstant("eqptdiagpExtChCardTsOd", None, 2248)
prop._addConstant("eqptdiagpFcTsOd", None, 2242)
prop._addConstant("eqptdiagpFpTsOd", None, 2232)
prop._addConstant("eqptdiagpGrpTests", None, 2209)
prop._addConstant("eqptdiagpHealthPol", None, 2259)
prop._addConstant("eqptdiagpLcTsOd", None, 2245)
prop._addConstant("eqptdiagpLeTsBtEcc", None, 2202)
prop._addConstant("eqptdiagpLeTsBtLc", None, 2201)
prop._addConstant("eqptdiagpLeTsBtSc", None, 2200)
prop._addConstant("eqptdiagpLeTsHlEcc", None, 2205)
prop._addConstant("eqptdiagpLeTsHlLc", None, 2204)
prop._addConstant("eqptdiagpLeTsHlSc", None, 2203)
prop._addConstant("eqptdiagpLeTsOdEcc", None, 2208)
prop._addConstant("eqptdiagpLeTsOdLc", None, 2207)
prop._addConstant("eqptdiagpLeTsOdSc", None, 2206)
prop._addConstant("eqptdiagpLpTsOd", None, 2229)
prop._addConstant("eqptdiagpNodeHealthPol", None, 2260)
prop._addConstant("eqptdiagpPol", None, 2257)
prop._addConstant("eqptdiagpPortHealthPol", None, 2262)
prop._addConstant("eqptdiagpPortTestSetBt", None, 2227)
prop._addConstant("eqptdiagpPortTestSetHl", None, 2228)
prop._addConstant("eqptdiagpPortTestSetOd", None, 2226)
prop._addConstant("eqptdiagpRsExtChCardOdDiag", None, 2249)
prop._addConstant("eqptdiagpRsFcOdDiag", None, 2243)
prop._addConstant("eqptdiagpRsFpOdDiag", None, 2233)
prop._addConstant("eqptdiagpRsLcOdDiag", None, 2246)
prop._addConstant("eqptdiagpRsLpOdDiag", None, 2230)
prop._addConstant("eqptdiagpRsSupCOdDiag", None, 2237)
prop._addConstant("eqptdiagpRsSysCOdDiag", None, 2240)
prop._addConstant("eqptdiagpSpTsBtFc", None, 2211)
prop._addConstant("eqptdiagpSpTsBtLc", None, 2210)
prop._addConstant("eqptdiagpSpTsBtSc", None, 2212)
prop._addConstant("eqptdiagpSpTsBtScc", None, 2213)
prop._addConstant("eqptdiagpSpTsHlFc", None, 2215)
prop._addConstant("eqptdiagpSpTsHlLc", None, 2214)
prop._addConstant("eqptdiagpSpTsHlSc", None, 2216)
prop._addConstant("eqptdiagpSpTsHlScc", None, 2217)
prop._addConstant("eqptdiagpSpTsOdFc", None, 2219)
prop._addConstant("eqptdiagpSpTsOdLc", None, 2218)
prop._addConstant("eqptdiagpSpTsOdSc", None, 2220)
prop._addConstant("eqptdiagpSpTsOdScc", None, 2221)
prop._addConstant("eqptdiagpSupCTsOd", None, 2236)
prop._addConstant("eqptdiagpSysCTsOd", None, 2239)
prop._addConstant("eqptdiagpTestSet", None, 2222)
prop._addConstant("eqptdiagpTestSetBoot", None, 2223)
prop._addConstant("eqptdiagpTestSetHealth", None, 2224)
prop._addConstant("eqptdiagpTestSetOd", None, 2225)
prop._addConstant("eqptdiagpTsBtExtChFP", None, 5226)
prop._addConstant("eqptdiagpTsBtExtChHP", None, 5223)
prop._addConstant("eqptdiagpTsBtFabP", None, 2254)
prop._addConstant("eqptdiagpTsBtLeafP", None, 2251)
prop._addConstant("eqptdiagpTsHlExtChFP", None, 5227)
prop._addConstant("eqptdiagpTsHlExtChHP", None, 5224)
prop._addConstant("eqptdiagpTsHlFabP", None, 2255)
prop._addConstant("eqptdiagpTsHlLeafP", None, 2252)
prop._addConstant("eqptdiagpTsOdFabP", None, 2256)
prop._addConstant("eqptdiagpTsOdLeafP", None, 2253)
prop._addConstant("ethpmAFcot", None, 3647)
prop._addConstant("ethpmAFcotX2", None, 3649)
prop._addConstant("ethpmAggrIf", None, 3642)
prop._addConstant("ethpmEncRtdIf", None, 3643)
prop._addConstant("ethpmEntity", None, 3634)
prop._addConstant("ethpmErrDisRecover", None, 3637)
prop._addConstant("ethpmEvent", None, 6128)
prop._addConstant("ethpmFcot", None, 3648)
prop._addConstant("ethpmFcotBase", None, 3646)
prop._addConstant("ethpmFcotX2", None, 3650)
prop._addConstant("ethpmIf", None, 3640)
prop._addConstant("ethpmInst", None, 3635)
prop._addConstant("ethpmInstRuntime", None, 3636)
prop._addConstant("ethpmLbRtdIf", None, 3644)
prop._addConstant("ethpmModule", None, 3639)
prop._addConstant("ethpmPhysIf", None, 3641)
prop._addConstant("ethpmPortCap", None, 3645)
prop._addConstant("ethpmRsErrDisRecoverPolCons", None, 6126)
prop._addConstant("ethpmVlan", None, 3638)
prop._addConstant("eventARetP", None, 224)
prop._addConstant("eventAclDropRecord", None, 6785)
prop._addConstant("eventAclL2DropRecord", None, 6786)
prop._addConstant("eventAclL3DropRecord", None, 6787)
prop._addConstant("eventCtrlrRetP", None, 226)
prop._addConstant("eventProcessEventLogPayload", None, 5430)
prop._addConstant("eventRecord", None, 223)
prop._addConstant("eventRtEventCtrlrRetP", None, 228)
prop._addConstant("eventRtNodeEventRecRetP", None, 1728)
prop._addConstant("eventRtResEventSwRetP", None, 762)
prop._addConstant("eventSevAsnP", None, 1684)
prop._addConstant("eventSwRetP", None, 225)
prop._addConstant("extnwAInstPSubnet", None, 1765)
prop._addConstant("extnwALIfP", None, 1767)
prop._addConstant("extnwALNodeP", None, 1766)
prop._addConstant("extnwAccGrpCont", None, 1769)
prop._addConstant("extnwDomP", None, 1762)
prop._addConstant("extnwEPg", None, 1760)
prop._addConstant("extnwLblCont", None, 1768)
prop._addConstant("extnwOut", None, 1761)
prop._addConstant("extnwRsOut", None, 1763)
prop._addConstant("extnwRtL3DomAtt", None, 1774)
prop._addConstant("extnwRtL3InstPToDomP", None, 1777)
prop._addConstant("fabricACardPGrp", None, 927)
prop._addConstant("fabricACardS", None, 830)
prop._addConstant("fabricAConfIssues", None, 804)
prop._addConstant("fabricACreatedBy", None, 7028)
prop._addConstant("fabricALink", None, 497)
prop._addConstant("fabricALinkCont", None, 502)
prop._addConstant("fabricALocale", None, 1007)
prop._addConstant("fabricALooseLink", None, 5297)
prop._addConstant("fabricANode", None, 496)
prop._addConstant("fabricANodeBlk", None, 811)
prop._addConstant("fabricANodePEp", None, 994)
prop._addConstant("fabricANodePGrp", None, 914)
prop._addConstant("fabricANodeS", None, 822)
prop._addConstant("fabricAOOSReln", None, 5585)
prop._addConstant("fabricAPathEp", None, 492)
prop._addConstant("fabricAPathIssues", None, 5183)
prop._addConstant("fabricAPathS", None, 6090)
prop._addConstant("fabricAPodBlk", None, 809)
prop._addConstant("fabricAPodS", None, 7027)
prop._addConstant("fabricAPolGrp", None, 1006)
prop._addConstant("fabricAPortBlk", None, 813)
prop._addConstant("fabricAPortPGrp", None, 891)
prop._addConstant("fabricAPortS", None, 838)
prop._addConstant("fabricAProfile", None, 868)
prop._addConstant("fabricAProtGEp", None, 979)
prop._addConstant("fabricAProtGEpTask", None, 5087)
prop._addConstant("fabricAProtPol", None, 974)
prop._addConstant("fabricASelectorIssues", None, 805)
prop._addConstant("fabricAcDropExcess", None, 423)
prop._addConstant("fabricAcDropExcess15min", None, 427)
prop._addConstant("fabricAcDropExcess1d", None, 431)
prop._addConstant("fabricAcDropExcess1h", None, 429)
prop._addConstant("fabricAcDropExcess1mo", None, 435)
prop._addConstant("fabricAcDropExcess1qtr", None, 437)
prop._addConstant("fabricAcDropExcess1w", None, 433)
prop._addConstant("fabricAcDropExcess1year", None, 439)
prop._addConstant("fabricAcDropExcess5min", None, 425)
prop._addConstant("fabricAcDropExcessHist", None, 424)
prop._addConstant("fabricAcDropExcessHist15min", None, 428)
prop._addConstant("fabricAcDropExcessHist1d", None, 432)
prop._addConstant("fabricAcDropExcessHist1h", None, 430)
prop._addConstant("fabricAcDropExcessHist1mo", None, 436)
prop._addConstant("fabricAcDropExcessHist1qtr", None, 438)
prop._addConstant("fabricAcDropExcessHist1w", None, 434)
prop._addConstant("fabricAcDropExcessHist1year", None, 440)
prop._addConstant("fabricAcDropExcessHist5min", None, 426)
prop._addConstant("fabricAcTxRx", None, 404)
prop._addConstant("fabricAcTxRx15min", None, 408)
prop._addConstant("fabricAcTxRx1d", None, 412)
prop._addConstant("fabricAcTxRx1h", None, 410)
prop._addConstant("fabricAcTxRx1mo", None, 416)
prop._addConstant("fabricAcTxRx1qtr", None, 418)
prop._addConstant("fabricAcTxRx1w", None, 414)
prop._addConstant("fabricAcTxRx1year", None, 420)
prop._addConstant("fabricAcTxRx5min", None, 406)
prop._addConstant("fabricAcTxRxHist", None, 405)
prop._addConstant("fabricAcTxRxHist15min", None, 409)
prop._addConstant("fabricAcTxRxHist1d", None, 413)
prop._addConstant("fabricAcTxRxHist1h", None, 411)
prop._addConstant("fabricAcTxRxHist1mo", None, 417)
prop._addConstant("fabricAcTxRxHist1qtr", None, 419)
prop._addConstant("fabricAcTxRxHist1w", None, 415)
prop._addConstant("fabricAcTxRxHist1year", None, 421)
prop._addConstant("fabricAcTxRxHist5min", None, 407)
prop._addConstant("fabricAutoGEp", None, 986)
prop._addConstant("fabricBlacklistPol", None, 709)
prop._addConstant("fabricCardGEp", None, 1013)
prop._addConstant("fabricCardP", None, 884)
prop._addConstant("fabricCardS", None, 831)
prop._addConstant("fabricChainCtxP", None, 998)
prop._addConstant("fabricComp", None, 495)
prop._addConstant("fabricConnGEp", None, 1009)
prop._addConstant("fabricCreatedBy", None, 867)
prop._addConstant("fabricCtrlr", None, 482)
prop._addConstant("fabricCtrlrAdjEp", None, 5483)
prop._addConstant("fabricCtrlrCont", None, 481)
prop._addConstant("fabricCtrlrIdentP", None, 7632)
prop._addConstant("fabricCtrlrP", None, 871)
prop._addConstant("fabricCtrlrPGrp", None, 894)
prop._addConstant("fabricCtrlrS", None, 816)
prop._addConstant("fabricDecommission", None, 680)
prop._addConstant("fabricDecommissionJob", None, 681)
prop._addConstant("fabricDecommissionJobTask", None, 5088)
prop._addConstant("fabricDef", None, 1005)
prop._addConstant("fabricDeployPol", None, 7612)
prop._addConstant("fabricDom", None, 1003)
prop._addConstant("fabricExplicitGEp", None, 990)
prop._addConstant("fabricExtLinkCont", None, 510)
prop._addConstant("fabricExtPathEpCont", None, 491)
prop._addConstant("fabricExtPol", None, 848)
prop._addConstant("fabricExtProtPathEpCont", None, 6024)
prop._addConstant("fabricFuncP", None, 890)
prop._addConstant("fabricGroupRef", None, 501)
prop._addConstant("fabricHIfPol", None, 847)
prop._addConstant("fabricHealthTotal", None, 403)
prop._addConstant("fabricHeartbeat", None, 5241)
prop._addConstant("fabricIPV4AutoG", None, 988)
prop._addConstant("fabricIPV4ExpG", None, 992)
prop._addConstant("fabricIPV4ProtG", None, 984)
prop._addConstant("fabricIPV4ProtPol", None, 977)
prop._addConstant("fabricIPV6AutoG", None, 989)
prop._addConstant("fabricIPV6ExpG", None, 993)
prop._addConstant("fabricIPV6ProtG", None, 985)
prop._addConstant("fabricIPV6ProtPol", None, 978)
prop._addConstant("fabricInfrExP", None, 1001)
prop._addConstant("fabricInfrFP", None, 1002)
prop._addConstant("fabricInfrP", None, 1000)
prop._addConstant("fabricInst", None, 1004)
prop._addConstant("fabricIntfPol", None, 846)
prop._addConstant("fabricL1IfPol", None, 5601)
prop._addConstant("fabricL2DomPol", None, 706)
prop._addConstant("fabricL2IfPol", None, 687)
prop._addConstant("fabricL2InstPol", None, 703)
prop._addConstant("fabricL2ProtoComp", None, 699)
prop._addConstant("fabricL2ProtoPol", None, 697)
prop._addConstant("fabricL3CtxPol", None, 708)
prop._addConstant("fabricL3DomPol", None, 707)
prop._addConstant("fabricL3IfPol", None, 688)
prop._addConstant("fabricL3InstPol", None, 704)
prop._addConstant("fabricL3ProtoComp", None, 700)
prop._addConstant("fabricL3ProtoPol", None, 698)
prop._addConstant("fabricL4IfPol", None, 6381)
prop._addConstant("fabricLFPathS", None, 6091)
prop._addConstant("fabricLFPortS", None, 840)
prop._addConstant("fabricLagId", None, 996)
prop._addConstant("fabricLeAPortPGrp", None, 963)
prop._addConstant("fabricLeCardP", None, 885)
prop._addConstant("fabricLeCardPGrp", None, 930)
prop._addConstant("fabricLeCardS", None, 832)
prop._addConstant("fabricLeNodePGrp", None, 926)
prop._addConstant("fabricLePortP", None, 888)
prop._addConstant("fabricLePortPGrp", None, 964)
prop._addConstant("fabricLeafP", None, 874)
prop._addConstant("fabricLeafS", None, 824)
prop._addConstant("fabricLink", None, 504)
prop._addConstant("fabricLinkCont", None, 503)
prop._addConstant("fabricLocale", None, 1008)
prop._addConstant("fabricLocaleContext", None, 5162)
prop._addConstant("fabricLooseAttLink", None, 500)
prop._addConstant("fabricLooseLink", None, 499)
prop._addConstant("fabricLooseNode", None, 498)
prop._addConstant("fabricMACProtG", None, 983)
prop._addConstant("fabricMACProtPol", None, 976)
prop._addConstant("fabricMacAutoG", None, 987)
prop._addConstant("fabricMacExpG", None, 991)
prop._addConstant("fabricMaintPol", None, 807)
prop._addConstant("fabricNode", None, 443)
prop._addConstant("fabricNodeBlk", None, 812)
prop._addConstant("fabricNodeCfg", None, 852)
prop._addConstant("fabricNodeCfgCont", None, 851)
prop._addConstant("fabricNodeGEp", None, 1011)
prop._addConstant("fabricNodeGroupPolicy", None, 5280)
prop._addConstant("fabricNodeGrp", None, 808)
prop._addConstant("fabricNodeHealth", None, 462)
prop._addConstant("fabricNodeHealth15min", None, 466)
prop._addConstant("fabricNodeHealth1d", None, 470)
prop._addConstant("fabricNodeHealth1h", None, 468)
prop._addConstant("fabricNodeHealth1mo", None, 474)
prop._addConstant("fabricNodeHealth1qtr", None, 476)
prop._addConstant("fabricNodeHealth1w", None, 472)
prop._addConstant("fabricNodeHealth1year", None, 478)
prop._addConstant("fabricNodeHealth5min", None, 464)
prop._addConstant("fabricNodeHealthHist", None, 463)
prop._addConstant("fabricNodeHealthHist15min", None, 467)
prop._addConstant("fabricNodeHealthHist1d", None, 471)
prop._addConstant("fabricNodeHealthHist1h", None, 469)
prop._addConstant("fabricNodeHealthHist1mo", None, 475)
prop._addConstant("fabricNodeHealthHist1qtr", None, 477)
prop._addConstant("fabricNodeHealthHist1w", None, 473)
prop._addConstant("fabricNodeHealthHist1year", None, 479)
prop._addConstant("fabricNodeHealthHist5min", None, 465)
prop._addConstant("fabricNodeIdentP", None, 791)
prop._addConstant("fabricNodeIdentPTask", None, 5357)
prop._addConstant("fabricNodeIdentPol", None, 790)
prop._addConstant("fabricNodeIdentPolRelnHolder", None, 7757)
prop._addConstant("fabricNodeInfo", None, 5270)
prop._addConstant("fabricNodeInfoTask", None, 5273)
prop._addConstant("fabricNodeP", None, 873)
prop._addConstant("fabricNodePEp", None, 995)
prop._addConstant("fabricNodePEpTask", None, 5089)
prop._addConstant("fabricNodeS", None, 823)
prop._addConstant("fabricNodeTask", None, 5142)
prop._addConstant("fabricNodeTaskHolder", None, 5271)
prop._addConstant("fabricNodeTaskHolderTask", None, 5565)
prop._addConstant("fabricNodeToPathOverridePolicy", None, 6110)
prop._addConstant("fabricNodeToPolicy", None, 5277)
prop._addConstant("fabricOOServicePol", None, 671)
prop._addConstant("fabricOosPathIssues", None, 5182)
prop._addConstant("fabricOverallHealth", None, 444)
prop._addConstant("fabricOverallHealth15min", None, 448)
prop._addConstant("fabricOverallHealth1d", None, 452)
prop._addConstant("fabricOverallHealth1h", None, 450)
prop._addConstant("fabricOverallHealth1mo", None, 456)
prop._addConstant("fabricOverallHealth1qtr", None, 458)
prop._addConstant("fabricOverallHealth1w", None, 454)
prop._addConstant("fabricOverallHealth1year", None, 460)
prop._addConstant("fabricOverallHealth5min", None, 446)
prop._addConstant("fabricOverallHealthHist", None, 445)
prop._addConstant("fabricOverallHealthHist15min", None, 449)
prop._addConstant("fabricOverallHealthHist1d", None, 453)
prop._addConstant("fabricOverallHealthHist1h", None, 451)
prop._addConstant("fabricOverallHealthHist1mo", None, 457)
prop._addConstant("fabricOverallHealthHist1qtr", None, 459)
prop._addConstant("fabricOverallHealthHist1w", None, 455)
prop._addConstant("fabricOverallHealthHist1year", None, 461)
prop._addConstant("fabricOverallHealthHist5min", None, 447)
prop._addConstant("fabricPath", None, 483)
prop._addConstant("fabricPathEp", None, 493)
prop._addConstant("fabricPathEpCleanup", None, 7186)
prop._addConstant("fabricPathEpCleanupShard", None, 7188)
prop._addConstant("fabricPathEpCleanupShardTask", None, 7190)
prop._addConstant("fabricPathEpCont", None, 489)
prop._addConstant("fabricPathGrp", None, 494)
prop._addConstant("fabricPmPathEpCleanup", None, 7187)
prop._addConstant("fabricPmPathEpCleanupTask", None, 7189)
prop._addConstant("fabricPod", None, 442)
prop._addConstant("fabricPodBlk", None, 810)
prop._addConstant("fabricPodGEp", None, 1010)
prop._addConstant("fabricPodGrp", None, 7026)
prop._addConstant("fabricPodP", None, 872)
prop._addConstant("fabricPodPGrp", None, 901)
prop._addConstant("fabricPodS", None, 819)
prop._addConstant("fabricPol", None, 999)
prop._addConstant("fabricPolGrp", None, 870)
prop._addConstant("fabricPolicyGrpToMonitoring", None, 7106)
prop._addConstant("fabricPortBlk", None, 814)
prop._addConstant("fabricPortGEp", None, 1012)
prop._addConstant("fabricPortP", None, 887)
prop._addConstant("fabricPortS", None, 839)
prop._addConstant("fabricProfile", None, 869)
prop._addConstant("fabricProtChainP", None, 997)
prop._addConstant("fabricProtGEp", None, 980)
prop._addConstant("fabricProtGEpTask", None, 5594)
prop._addConstant("fabricProtLink", None, 511)
prop._addConstant("fabricProtLinkCont", None, 509)
prop._addConstant("fabricProtLooseLink", None, 5300)
prop._addConstant("fabricProtPathEpCont", None, 490)
prop._addConstant("fabricProtPol", None, 975)
prop._addConstant("fabricProtoComp", None, 696)
prop._addConstant("fabricProtoConsFrom", None, 6085)
prop._addConstant("fabricProtoConsTo", None, 6086)
prop._addConstant("fabricProtoDomPol", None, 705)
prop._addConstant("fabricProtoIfPol", None, 686)
prop._addConstant("fabricProtoInstPol", None, 701)
prop._addConstant("fabricProtoPol", None, 695)
prop._addConstant("fabricRsAcLinkS2T", None, 505)
prop._addConstant("fabricRsAcLinkT2D", None, 507)
prop._addConstant("fabricRsAcPath", None, 484)
prop._addConstant("fabricRsAcTrail", None, 487)
prop._addConstant("fabricRsApplCoreP", None, 897)
prop._addConstant("fabricRsApplMonPol", None, 899)
prop._addConstant("fabricRsApplTechSupOnD", None, 5207)
prop._addConstant("fabricRsApplTechSupP", None, 895)
prop._addConstant("fabricRsCallhomeInvPol", None, 923)
prop._addConstant("fabricRsCommPol", None, 908)
prop._addConstant("fabricRsCtrlrPGrp", None, 817)
prop._addConstant("fabricRsCtrlrPolGroup", None, 857)
prop._addConstant("fabricRsDecommissionNode", None, 678)
prop._addConstant("fabricRsDecommissionNodeTask", None, 5090)
prop._addConstant("fabricRsExtLeaves", None, 849)
prop._addConstant("fabricRsFabFw", None, 555)
prop._addConstant("fabricRsInterfacePolProfile", None, 865)
prop._addConstant("fabricRsLFPathAtt", None, 6092)
prop._addConstant("fabricRsLeCardP", None, 875)
prop._addConstant("fabricRsLeCardPGrp", None, 833)
prop._addConstant("fabricRsLeNodeP", None, 7029)
prop._addConstant("fabricRsLeNodePGrp", None, 825)
prop._addConstant("fabricRsLePortP", None, 877)
prop._addConstant("fabricRsLePortPGrp", None, 841)
prop._addConstant("fabricRsModulePolProfile", None, 863)
prop._addConstant("fabricRsMonIfFabricPol", None, 892)
prop._addConstant("fabricRsMonInstFabricPol", None, 919)
prop._addConstant("fabricRsMonModuleFabricPol", None, 928)
prop._addConstant("fabricRsNodeCoreP", None, 917)
prop._addConstant("fabricRsNodeGroup", None, 5278)
prop._addConstant("fabricRsNodeIdentPol", None, 7758)
prop._addConstant("fabricRsNodePolGroup", None, 861)
prop._addConstant("fabricRsNodeTechSupP", None, 915)
prop._addConstant("fabricRsOosPath", None, 674)
prop._addConstant("fabricRsOosSlot", None, 5550)
prop._addConstant("fabricRsPathToLePortPGrp", None, 6094)
prop._addConstant("fabricRsPathToSpPortPGrp", None, 6099)
prop._addConstant("fabricRsPodPGrp", None, 820)
prop._addConstant("fabricRsPodPGrpBGPRRP", None, 904)
prop._addConstant("fabricRsPodPGrpCoopP", None, 910)
prop._addConstant("fabricRsPodPGrpIsisDomP", None, 902)
prop._addConstant("fabricRsPodPolGroup", None, 859)
prop._addConstant("fabricRsProtGrp", None, 853)
prop._addConstant("fabricRsPsuInstPol", None, 921)
prop._addConstant("fabricRsResAuditSwRetP", None, 763)
prop._addConstant("fabricRsResAuthRealm", None, 778)
prop._addConstant("fabricRsResCatFwP", None, 725)
prop._addConstant("fabricRsResCoopPol", None, 717)
prop._addConstant("fabricRsResCoreP", None, 788)
prop._addConstant("fabricRsResEventSwRetP", None, 761)
prop._addConstant("fabricRsResFabricIPV4ProtPol", None, 721)
prop._addConstant("fabricRsResFabricIPV6ProtPol", None, 5722)
prop._addConstant("fabricRsResFabricMACProtPol", None, 719)
prop._addConstant("fabricRsResFabricProtChainP", None, 723)
prop._addConstant("fabricRsResFaultSwRetP", None, 759)
prop._addConstant("fabricRsResHealthPols", None, 767)
prop._addConstant("fabricRsResHealthSwRetP", None, 765)
prop._addConstant("fabricRsResL2InstPol", None, 769)
prop._addConstant("fabricRsResLbPol", None, 715)
prop._addConstant("fabricRsResLdapEp", None, 774)
prop._addConstant("fabricRsResLldpInstPol", None, 713)
prop._addConstant("fabricRsResMonCommonPol", None, 733)
prop._addConstant("fabricRsResMonFabricPol", None, 729)
prop._addConstant("fabricRsResNodeIdentP", None, 727)
prop._addConstant("fabricRsResOngoingAcMode", None, 5630)
prop._addConstant("fabricRsResPkiEp", None, 782)
prop._addConstant("fabricRsResPol", None, 784)
prop._addConstant("fabricRsResPsuInstPol", None, 5211)
prop._addConstant("fabricRsResRadiusEp", None, 772)
prop._addConstant("fabricRsResTacacsPlusEp", None, 776)
prop._addConstant("fabricRsResTechSupP", None, 786)
prop._addConstant("fabricRsResUserEp", None, 780)
prop._addConstant("fabricRsSFPathAtt", None, 6097)
prop._addConstant("fabricRsSnmpPol", None, 912)
prop._addConstant("fabricRsSpCardP", None, 880)
prop._addConstant("fabricRsSpCardPGrp", None, 836)
prop._addConstant("fabricRsSpNodeP", None, 7031)
prop._addConstant("fabricRsSpNodePGrp", None, 828)
prop._addConstant("fabricRsSpPortP", None, 882)
prop._addConstant("fabricRsSpPortPGrp", None, 844)
prop._addConstant("fabricRsTimePol", None, 906)
prop._addConstant("fabricRsToFabricIPV6ProtPol", None, 6881)
prop._addConstant("fabricRsToFabricPathS", None, 6111)
prop._addConstant("fabricRsToGrpRef", None, 5298)
prop._addConstant("fabricRsToPeerNodeCfg", None, 6025)
prop._addConstant("fabricRsVpcInstPol", None, 981)
prop._addConstant("fabricRtCEpToPathEp", None, 2035)
prop._addConstant("fabricRtCIfPathAtt", None, 4933)
prop._addConstant("fabricRtCtrlrPGrp", None, 818)
prop._addConstant("fabricRtCtrlrPolGroup", None, 858)
prop._addConstant("fabricRtCtrlrSRel", None, 4621)
prop._addConstant("fabricRtDecommissionNode", None, 5337)
prop._addConstant("fabricRtDestApic", None, 6231)
prop._addConstant("fabricRtDestPathEp", None, 4165)
prop._addConstant("fabricRtExtLeaves", None, 850)
prop._addConstant("fabricRtFabricNode", None, 5245)
prop._addConstant("fabricRtFabricNodeRef", None, 298)
prop._addConstant("fabricRtFabricipv4expg", None, 4721)
prop._addConstant("fabricRtFabricmacexpg", None, 4723)
prop._addConstant("fabricRtHIfPol", None, 4399)
prop._addConstant("fabricRtHIfPolCons", None, 3616)
prop._addConstant("fabricRtHPathAtt", None, 6107)
prop._addConstant("fabricRtHealthFabricNode", None, 5658)
prop._addConstant("fabricRtInBStNode", None, 5622)
prop._addConstant("fabricRtInterfacePolProfile", None, 866)
prop._addConstant("fabricRtLFPathAtt", None, 6093)
prop._addConstant("fabricRtLeCardP", None, 876)
prop._addConstant("fabricRtLeCardPGrp", None, 834)
prop._addConstant("fabricRtLeNodeP", None, 7030)
prop._addConstant("fabricRtLeNodePGrp", None, 826)
prop._addConstant("fabricRtLePortP", None, 878)
prop._addConstant("fabricRtLePortPGrp", None, 842)
prop._addConstant("fabricRtLsAttLink", None, 3366)
prop._addConstant("fabricRtLsNode", None, 113)
prop._addConstant("fabricRtModulePolProfile", None, 864)
prop._addConstant("fabricRtNexthopToProtG", None, 3815)
prop._addConstant("fabricRtNginxFabricNode", None, 5652)
prop._addConstant("fabricRtNodeAtt", None, 1983)
prop._addConstant("fabricRtNodeDefL3OutAtt", None, 1787)
prop._addConstant("fabricRtNodeGroup", None, 5279)
prop._addConstant("fabricRtNodeIdentPol", None, 7759)
prop._addConstant("fabricRtNodeL3OutAtt", None, 1784)
prop._addConstant("fabricRtNodeLocation", None, 524)
prop._addConstant("fabricRtNodePolGroup", None, 862)
prop._addConstant("fabricRtNodeident", None, 1021)
prop._addConstant("fabricRtObsCtrlrSRel", None, 5312)
prop._addConstant("fabricRtOoBStNode", None, 5620)
prop._addConstant("fabricRtOosPath", None, 675)
prop._addConstant("fabricRtPathAtt", None, 1985)
prop._addConstant("fabricRtPathDefL2OutAtt", None, 1758)
prop._addConstant("fabricRtPathDefL3OutAtt", None, 1794)
prop._addConstant("fabricRtPathL2OutAtt", None, 1755)
prop._addConstant("fabricRtPathL3OutAtt", None, 1791)
prop._addConstant("fabricRtPathToLePortPGrp", None, 6095)
prop._addConstant("fabricRtPathToSpPortPGrp", None, 6100)
prop._addConstant("fabricRtPodPGrp", None, 821)
prop._addConstant("fabricRtPodPolGroup", None, 860)
prop._addConstant("fabricRtProtGroup", None, 4338)
prop._addConstant("fabricRtProtGrp", None, 854)
prop._addConstant("fabricRtProtLbIf", None, 3789)
prop._addConstant("fabricRtProtectionGrp", None, 4335)
prop._addConstant("fabricRtResFabricIPV4ProtPol", None, 722)
prop._addConstant("fabricRtResFabricIPV6ProtPol", None, 5723)
prop._addConstant("fabricRtResFabricMACProtPol", None, 720)
prop._addConstant("fabricRtResFabricProtChainP", None, 724)
prop._addConstant("fabricRtResHIfPol", None, 4432)
prop._addConstant("fabricRtResNodeIdentP", None, 728)
prop._addConstant("fabricRtSFPathAtt", None, 6098)
prop._addConstant("fabricRtScriptHandlerLock", None, 7445)
prop._addConstant("fabricRtSpCardP", None, 881)
prop._addConstant("fabricRtSpCardPGrp", None, 837)
prop._addConstant("fabricRtSpNodeP", None, 7032)
prop._addConstant("fabricRtSpNodePGrp", None, 829)
prop._addConstant("fabricRtSpPortP", None, 883)
prop._addConstant("fabricRtSpPortPGrp", None, 845)
prop._addConstant("fabricRtSrcToPathEp", None, 4138)
prop._addConstant("fabricRtStCEpDefToNode", None, 5192)
prop._addConstant("fabricRtStCEpDefToPathEp", None, 2045)
prop._addConstant("fabricRtStCEpToNode", None, 5190)
prop._addConstant("fabricRtStCEpToPathEp", None, 2042)
prop._addConstant("fabricRtToFabricIPV6ProtPol", None, 6882)
prop._addConstant("fabricRtToFabricPathS", None, 6112)
prop._addConstant("fabricRtToGrpRef", None, 5299)
prop._addConstant("fabricRtToInfraPathS", None, 6114)
prop._addConstant("fabricSFPathS", None, 6096)
prop._addConstant("fabricSFPortS", None, 843)
prop._addConstant("fabricScriptHandlerDeployLock", None, 7443)
prop._addConstant("fabricSecRelnHolder", None, 771)
prop._addConstant("fabricSelector", None, 815)
prop._addConstant("fabricSelectorIssues", None, 806)
prop._addConstant("fabricShardTaskHolder", None, 5272)
prop._addConstant("fabricShardTaskHolderTask", None, 5274)
prop._addConstant("fabricSpAPortPGrp", None, 962)
prop._addConstant("fabricSpCardP", None, 886)
prop._addConstant("fabricSpCardPGrp", None, 937)
prop._addConstant("fabricSpCardS", None, 835)
prop._addConstant("fabricSpNodePGrp", None, 925)
prop._addConstant("fabricSpPortP", None, 889)
prop._addConstant("fabricSpPortPGrp", None, 969)
prop._addConstant("fabricSpineP", None, 879)
prop._addConstant("fabricSpineS", None, 827)
prop._addConstant("fabricSubsDfltPolicy", None, 6880)
prop._addConstant("fabricSubscribeToPMAction", None, 5578)
prop._addConstant("fabricSystemInfo", None, 6371)
prop._addConstant("fabricTopology", None, 402)
prop._addConstant("fabricTrail", None, 486)
prop._addConstant("fabricUtilInstPol", None, 702)
prop._addConstant("fabricVpcConsumer", None, 6015)
prop._addConstant("fabricVpcRT", None, 6013)
prop._addConstant("fabricVpcRTContainer", None, 6012)
prop._addConstant("fabricVpcResource", None, 6014)
prop._addConstant("fabricVpcResourceTask", None, 6016)
prop._addConstant("fabricVxlanInstPol", None, 5600)
prop._addConstant("faultACounts", None, 232)
prop._addConstant("faultARetP", None, 237)
prop._addConstant("faultARsToRemote", None, 8066)
prop._addConstant("faultAThrValue", None, 231)
prop._addConstant("faultConfMoPayload", None, 5434)
prop._addConstant("faultCont", None, 229)
prop._addConstant("faultCounts", None, 233)
prop._addConstant("faultCountsWithDelta", None, 5604)
prop._addConstant("faultCountsWithDetails", None, 5605)
prop._addConstant("faultCtrlrRetP", None, 239)
prop._addConstant("faultDelegate", None, 42)
prop._addConstant("faultDomainCounts", None, 235)
prop._addConstant("faultEventMgrCont", None, 7905)
prop._addConstant("faultInfo", None, 40)
prop._addConstant("faultInst", None, 41)
prop._addConstant("faultLcP", None, 1734)
prop._addConstant("faultProcessCleanupPayload", None, 5433)
prop._addConstant("faultProcessFaultPayload", None, 5431)
prop._addConstant("faultRecord", None, 236)
prop._addConstant("faultRelnHolder", None, 5512)
prop._addConstant("faultRsAaaCtrlrRetP", None, 5524)
prop._addConstant("faultRsEventCtrlrRetP", None, 5511)
prop._addConstant("faultRsEventMgrSnmpPol", None, 7906)
prop._addConstant("faultRsFaultCtrlrRetP", None, 5523)
prop._addConstant("faultRsHealthCtrlrRetP", None, 5525)
prop._addConstant("faultRsHealthFabricNode", None, 5657)
prop._addConstant("faultRsHealthLevelP", None, 5541)
prop._addConstant("faultRsInvPRefEvent", None, 5521)
prop._addConstant("faultRsMonPolRefEvent", None, 5513)
prop._addConstant("faultRsMonToFvEppInbandEvent", None, 5517)
prop._addConstant("faultRsMonToFvEppOobEvent", None, 5519)
prop._addConstant("faultRsSynPolicyEvent", None, 5515)
prop._addConstant("faultRsToRemoteMonGrpRefEvent", None, 8067)
prop._addConstant("faultRsToRemoteQueryGroupRefEvent", None, 8069)
prop._addConstant("faultRtEventMgrPolRel", None, 7909)
prop._addConstant("faultRtFaultCtrlrRetP", None, 241)
prop._addConstant("faultRtNodeFaultRecRetP", None, 1726)
prop._addConstant("faultRtResFaultSwRetP", None, 760)
prop._addConstant("faultSevAsnP", None, 1733)
prop._addConstant("faultSubj", None, 230)
prop._addConstant("faultSummary", None, 6667)
prop._addConstant("faultSwRetP", None, 238)
prop._addConstant("faultThrValueDouble", None, 4973)
prop._addConstant("faultThrValueFloat", None, 4975)
prop._addConstant("faultThrValueSByte", None, 4970)
prop._addConstant("faultThrValueSint16", None, 4967)
prop._addConstant("faultThrValueSint32", None, 4968)
prop._addConstant("faultThrValueSint64", None, 4974)
prop._addConstant("faultThrValueTrigger", None, 4966)
prop._addConstant("faultThrValueUByte", None, 4972)
prop._addConstant("faultThrValueUint16", None, 4969)
prop._addConstant("faultThrValueUint32", None, 4971)
prop._addConstant("faultThrValueUint64", None, 4976)
prop._addConstant("faultTypeCounts", None, 234)
prop._addConstant("faultUpdateDelegatePayload", None, 5432)
prop._addConstant("faultUpdateRecordPayload", None, 5506)
prop._addConstant("faultUpdateTcaFaultMaskPayload", None, 5435)
prop._addConstant("fcprAFlowCtrlManager", None, 7584)
prop._addConstant("fcprARs", None, 7585)
prop._addConstant("fcprConsumer", None, 7599)
prop._addConstant("fcprCtrctEPgContManager", None, 7589)
prop._addConstant("fcprEpCPManager", None, 7595)
prop._addConstant("fcprHolder", None, 7583)
prop._addConstant("fcprPostponedRequest", None, 7598)
prop._addConstant("fcprREpPContManager", None, 7586)
prop._addConstant("fcprRFltPManager", None, 7592)
prop._addConstant("fcprRsToCtrctEPgCont", None, 7590)
prop._addConstant("fcprRsToEpCP", None, 7596)
prop._addConstant("fcprRsToREpPCont", None, 7587)
prop._addConstant("fcprRsToRFltP", None, 7593)
prop._addConstant("fileARemoteHost", None, 1670)
prop._addConstant("fileARemotePath", None, 1673)
prop._addConstant("fileRemotePath", None, 1674)
prop._addConstant("fileRsARemoteHostToEpg", None, 1671)
prop._addConstant("fileRsARemoteHostToEpp", None, 5360)
prop._addConstant("fileRtExportDest", None, 4106)
prop._addConstant("fileRtExportDestination", None, 266)
prop._addConstant("fileRtImportSource", None, 271)
prop._addConstant("fileRtRemotePath", None, 6213)
prop._addConstant("firmwareAFwP", None, 362)
prop._addConstant("firmwareAFwStatusCont", None, 356)
prop._addConstant("firmwareARunning", None, 360)
prop._addConstant("firmwareCardRunning", None, 2983)
prop._addConstant("firmwareCatFwP", None, 364)
prop._addConstant("firmwareCatFwStatusCont", None, 359)
prop._addConstant("firmwareCcoSource", None, 347)
prop._addConstant("firmwareCompRunning", None, 2984)
prop._addConstant("firmwareCtrlrFwP", None, 365)
prop._addConstant("firmwareCtrlrFwStatusCont", None, 358)
prop._addConstant("firmwareCtrlrFwStatusContTask", None, 5053)
prop._addConstant("firmwareCtrlrRunning", None, 361)
prop._addConstant("firmwareDownload", None, 346)
prop._addConstant("firmwareDownloadTask", None, 5059)
prop._addConstant("firmwareExtChRunning", None, 2982)
prop._addConstant("firmwareFirmware", None, 351)
prop._addConstant("firmwareFirmwareTask", None, 5054)
prop._addConstant("firmwareFwGrp", None, 353)
prop._addConstant("firmwareFwLocal", None, 352)
prop._addConstant("firmwareFwP", None, 363)
prop._addConstant("firmwareFwStatusCont", None, 357)
prop._addConstant("firmwareInternalSource", None, 349)
prop._addConstant("firmwareOSource", None, 348)
prop._addConstant("firmwarePodFwGrp", None, 7020)
prop._addConstant("firmwareRepo", None, 350)
prop._addConstant("firmwareRepoLocal", None, 8036)
prop._addConstant("firmwareRepoP", None, 344)
prop._addConstant("firmwareRsFwgrpp", None, 354)
prop._addConstant("firmwareRsToFwGrp", None, 7021)
prop._addConstant("firmwareRtAecatfirmwarep", None, 660)
prop._addConstant("firmwareRtAectrlrfirmwarep", None, 656)
prop._addConstant("firmwareRtBootmgrcatfirmwarep", None, 5243)
prop._addConstant("firmwareRtFirmware", None, 1617)
prop._addConstant("firmwareRtFirmwareRepoP", None, 1025)
prop._addConstant("firmwareRtFirmwarep", None, 8038)
prop._addConstant("firmwareRtFwFw", None, 6147)
prop._addConstant("firmwareRtFwGrp", None, 5282)
prop._addConstant("firmwareRtFwgrpp", None, 355)
prop._addConstant("firmwareRtIsrc", None, 1621)
prop._addConstant("firmwareRtPlgnFirmware", None, 8932)
prop._addConstant("firmwareRtRepo", None, 1619)
prop._addConstant("firmwareRtResCatFwP", None, 726)
prop._addConstant("firmwareRtToFwGrp", None, 7022)
prop._addConstant("firmwareRunning", None, 2981)
prop._addConstant("firmwareSource", None, 345)
prop._addConstant("firmwareSourceTask", None, 5060)
prop._addConstant("fmcastGrp", None, 3602)
prop._addConstant("fmcastNodePEp", None, 2122)
prop._addConstant("fmcastNumTree", None, 2124)
prop._addConstant("fmcastTree", None, 3603)
prop._addConstant("fmcastTreeEp", None, 2123)
prop._addConstant("fmcastTreePol", None, 2121)
prop._addConstant("frmwrkARelDelCont", None, 5444)
prop._addConstant("frmwrkARelDelControl", None, 5614)
prop._addConstant("frmwrkCtrlrDeliveryCont", None, 5438)
prop._addConstant("frmwrkCtrlrDeliveryDest", None, 5439)
prop._addConstant("frmwrkDeliveryCont", None, 5436)
prop._addConstant("frmwrkDeliveryDest", None, 5437)
prop._addConstant("frmwrkDeliveryDestTask", None, 5447)
prop._addConstant("frmwrkEMgrDeliveryCont", None, 5440)
prop._addConstant("frmwrkEMgrDeliveryDest", None, 5441)
prop._addConstant("frmwrkEMgrDeliveryDestTask", None, 5448)
prop._addConstant("frmwrkOEDeliveryCont", None, 5562)
prop._addConstant("frmwrkOEDeliveryDest", None, 5563)
prop._addConstant("frmwrkOEDeliveryDestTask", None, 5564)
prop._addConstant("frmwrkPEDeliveryCont", None, 5442)
prop._addConstant("frmwrkPEDeliveryDest", None, 5443)
prop._addConstant("frmwrkPEDeliveryDestTask", None, 5449)
prop._addConstant("frmwrkReliableDeliveryResp", None, 5445)
prop._addConstant("fsmInst", None, 32)
prop._addConstant("fvAAREpPRequestor", None, 8072)
prop._addConstant("fvAAREpPRequestorTask", None, 8074)
prop._addConstant("fvAAREpPUpdate", None, 6662)
prop._addConstant("fvABD", None, 1868)
prop._addConstant("fvABDDefCont", None, 5497)
prop._addConstant("fvABDPol", None, 1872)
prop._addConstant("fvAClassifier", None, 6189)
prop._addConstant("fvAConfIssues", None, 2111)
prop._addConstant("fvACont", None, 1837)
prop._addConstant("fvACrRule", None, 6853)
prop._addConstant("fvACrtrn", None, 6190)
prop._addConstant("fvACtx", None, 1996)
prop._addConstant("fvACtxDefCont", None, 5499)
prop._addConstant("fvADeplCont", None, 1838)
prop._addConstant("fvADomP", None, 1898)
prop._addConstant("fvADyAttr", None, 7996)
prop._addConstant("fvAEPg", None, 1981)
prop._addConstant("fvAEPgCont", None, 2081)
prop._addConstant("fvAEPgDef", None, 2077)
prop._addConstant("fvAEPgTask", None, 5091)
prop._addConstant("fvAEpDef", None, 2050)
prop._addConstant("fvAEpDefTask", None, 5092)
prop._addConstant("fvAEpP", None, 1923)
prop._addConstant("fvAEpPConfIssues", None, 2112)
prop._addConstant("fvAEpRetPol", None, 1891)
prop._addConstant("fvAEpTaskAggr", None, 5307)
prop._addConstant("fvAIpAttr", None, 6195)
prop._addConstant("fvAMacAttr", None, 6197)
prop._addConstant("fvAMgmtEpP", None, 1939)
prop._addConstant("fvAPathAtt", None, 1952)
prop._addConstant("fvAPathEpDef", None, 1846)
prop._addConstant("fvAPndg", None, 5648)
prop._addConstant("fvAPndgCont", None, 5643)
prop._addConstant("fvAProtoAttr", None, 6199)
prop._addConstant("fvAREpP", None, 1924)
prop._addConstant("fvAREpPBootStrap", None, 7164)
prop._addConstant("fvAREpPCtrct", None, 1945)
prop._addConstant("fvAREpPRequestorCont", None, 7635)
prop._addConstant("fvAREpPUpd", None, 6656)
prop._addConstant("fvARsToRemote", None, 7530)
prop._addConstant("fvARsToRemoteFC", None, 7776)
prop._addConstant("fvARsToRemoteFCTask", None, 7779)
prop._addConstant("fvASCrtrn", None, 6854)
prop._addConstant("fvAStAttr", None, 7994)
prop._addConstant("fvAStCEp", None, 5188)
prop._addConstant("fvAStIp", None, 5908)
prop._addConstant("fvATg", None, 1895)
prop._addConstant("fvAToBD", None, 5339)
prop._addConstant("fvATp", None, 2029)
prop._addConstant("fvATunDef", None, 2061)
prop._addConstant("fvAVip", None, 6621)
prop._addConstant("fvAVmAttr", None, 6193)
prop._addConstant("fvAccGrpCont", None, 1845)
prop._addConstant("fvAccP", None, 5185)
prop._addConstant("fvAp", None, 1978)
prop._addConstant("fvAppCtxRef", None, 7675)
prop._addConstant("fvAppCtxRefCont", None, 7674)
prop._addConstant("fvAppEpGCons", None, 7643)
prop._addConstant("fvAppEpGPol", None, 7676)
prop._addConstant("fvAppEpGRef", None, 7642)
prop._addConstant("fvAssocBDDefCont", None, 5547)
prop._addConstant("fvAttEntPDepl", None, 1844)
prop._addConstant("fvAttEntityPathAtt", None, 1957)
prop._addConstant("fvAttr", None, 6192)
prop._addConstant("fvAttrDefCont", None, 7995)
prop._addConstant("fvBD", None, 1887)
prop._addConstant("fvBDConfigIssues", None, 2118)
prop._addConstant("fvBDDef", None, 1871)
prop._addConstant("fvBDHolder", None, 5546)
prop._addConstant("fvBDPublicSubnetHolder", None, 6846)
prop._addConstant("fvBDSubnet", None, 6857)
prop._addConstant("fvBrEpP", None, 1928)
prop._addConstant("fvByDom", None, 7999)
prop._addConstant("fvByHv", None, 9063)
prop._addConstant("fvCCEp", None, 2047)
prop._addConstant("fvCCg", None, 1920)
prop._addConstant("fvCEPg", None, 1918)
prop._addConstant("fvCEp", None, 2033)
prop._addConstant("fvCepNetCfgPol", None, 8063)
prop._addConstant("fvCollectionCont", None, 2083)
prop._addConstant("fvCollectionContTask", None, 5094)
prop._addConstant("fvComp", None, 1894)
prop._addConstant("fvCompIssues", None, 2114)
prop._addConstant("fvConfigLocale", None, 1943)
prop._addConstant("fvConfigState", None, 2116)
prop._addConstant("fvConnDef", None, 1922)
prop._addConstant("fvConnInstrPol", None, 2106)
prop._addConstant("fvCons", None, 2098)
prop._addConstant("fvCrtrn", None, 6191)
prop._addConstant("fvCrtrnDef", None, 6203)
prop._addConstant("fvCtrctCtxDefCont", None, 5501)
prop._addConstant("fvCtrctCtxDefContTask", None, 5502)
prop._addConstant("fvCtx", None, 1997)
prop._addConstant("fvCtxConfigIssues", None, 2117)
prop._addConstant("fvCtxDef", None, 2008)
prop._addConstant("fvCtxSharedServiceUpdate", None, 7215)
prop._addConstant("fvCtxSharedServiceUpdateTask", None, 7219)
prop._addConstant("fvCustomRtDomIfConn", None, 6248)
prop._addConstant("fvDEp", None, 2066)
prop._addConstant("fvDef", None, 4589)
prop._addConstant("fvDelEpDef", None, 5309)
prop._addConstant("fvDelEpTaskAggr", None, 5308)
prop._addConstant("fvDelEpTaskAggrTask", None, 5310)
prop._addConstant("fvDom", None, 1994)
prop._addConstant("fvDomCont", None, 1851)
prop._addConstant("fvDomDef", None, 1852)
prop._addConstant("fvDomWithLearnedEps", None, 7070)
prop._addConstant("fvDomainRqst", None, 8071)
prop._addConstant("fvDyMacAttrDef", None, 7997)
prop._addConstant("fvDyPathAtt", None, 1962)
prop._addConstant("fvEPg", None, 1899)
prop._addConstant("fvEPgCont", None, 2075)
prop._addConstant("fvEPgDef", None, 2076)
prop._addConstant("fvEPgTask", None, 5096)
prop._addConstant("fvEPgToCollection", None, 1897)
prop._addConstant("fvEPgToInterface", None, 7012)
prop._addConstant("fvEncap", None, 2109)
prop._addConstant("fvEncapDef", None, 1849)
prop._addConstant("fvEp", None, 2030)
prop._addConstant("fvEpCP", None, 6202)
prop._addConstant("fvEpCPCont", None, 6201)
prop._addConstant("fvEpCont", None, 2027)
prop._addConstant("fvEpDef", None, 2051)
prop._addConstant("fvEpDefContext", None, 5163)
prop._addConstant("fvEpDefRef", None, 2056)
prop._addConstant("fvEpDefTask", None, 5070)
prop._addConstant("fvEpNs", None, 2073)
prop._addConstant("fvEpP", None, 1936)
prop._addConstant("fvEpPCont", None, 1921)
prop._addConstant("fvEpPCtrctInfo", None, 7777)
prop._addConstant("fvEpRetDef", None, 1892)
prop._addConstant("fvEpRetPol", None, 1893)
prop._addConstant("fvEpTaskAggr", None, 2100)
prop._addConstant("fvEpTaskAggrCont", None, 2099)
prop._addConstant("fvEpTaskAggrTask", None, 5071)
prop._addConstant("fvExtConnTrack", None, 6780)
prop._addConstant("fvExtEpP", None, 1927)
prop._addConstant("fvExtLocale", None, 1972)
prop._addConstant("fvExtLocaleCont", None, 1971)
prop._addConstant("fvExtLocaleContext", None, 5164)
prop._addConstant("fvExtNwDepl", None, 1839)
prop._addConstant("fvExtPathEpDef", None, 1848)
prop._addConstant("fvExtStPathAtt", None, 1961)
prop._addConstant("fvFailedEpP", None, 2120)
prop._addConstant("fvFailedEpPCont", None, 2119)
prop._addConstant("fvFrom", None, 2108)
prop._addConstant("fvIfConn", None, 1949)
prop._addConstant("fvImplSubnet", None, 5335)
prop._addConstant("fvImplicitStaleEp", None, 7863)
prop._addConstant("fvImplicitStaleEpCont", None, 7864)
prop._addConstant("fvImplicitStaleEpTask", None, 7865)
prop._addConstant("fvInBEpP", None, 1941)
prop._addConstant("fvInBEpPTask", None, 5538)
prop._addConstant("fvInProgressUpd", None, 6663)
prop._addConstant("fvInProgressUpdCont", None, 6660)
prop._addConstant("fvInfraDepl", None, 1841)
prop._addConstant("fvInstPEpP", None, 5268)
prop._addConstant("fvIp", None, 5205)
prop._addConstant("fvIpAttr", None, 6196)
prop._addConstant("fvIpAttrDef", None, 6205)
prop._addConstant("fvL2Dom", None, 1867)
prop._addConstant("fvL3Dom", None, 1995)
prop._addConstant("fvLCtxDef", None, 7531)
prop._addConstant("fvLEpP", None, 1970)
prop._addConstant("fvLocale", None, 1967)
prop._addConstant("fvLocaleContext", None, 5165)
prop._addConstant("fvLocaleDomCont", None, 1973)
prop._addConstant("fvLocaleDomDef", None, 1974)
prop._addConstant("fvMac", None, 2110)
prop._addConstant("fvMacAttr", None, 6198)
prop._addConstant("fvMacAttrDef", None, 6206)
prop._addConstant("fvMgmtDepl", None, 1842)
prop._addConstant("fvModEpDef", None, 6010)
prop._addConstant("fvModEpTaskAggr", None, 5974)
prop._addConstant("fvModEpTaskAggrTask", None, 5975)
prop._addConstant("fvNodeAREpPUpd", None, 6659)
prop._addConstant("fvNodeAREpPUpdContext", None, 6665)
prop._addConstant("fvNodeCont", None, 1850)
prop._addConstant("fvNodeReqDepl", None, 7634)
prop._addConstant("fvNp", None, 4590)
prop._addConstant("fvNwEp", None, 2028)
prop._addConstant("fvNwIssues", None, 2113)
prop._addConstant("fvOoBEpP", None, 1940)
prop._addConstant("fvOptedPlanSrvc", None, 5635)
prop._addConstant("fvOrchsInfo", None, 5566)
prop._addConstant("fvOrchsLBCfg", None, 5567)
prop._addConstant("fvOutCont", None, 5338)
prop._addConstant("fvOverallHealth", None, 2009)
prop._addConstant("fvOverallHealth15min", None, 2013)
prop._addConstant("fvOverallHealth1d", None, 2017)
prop._addConstant("fvOverallHealth1h", None, 2015)
prop._addConstant("fvOverallHealth1mo", None, 2021)
prop._addConstant("fvOverallHealth1qtr", None, 2023)
prop._addConstant("fvOverallHealth1w", None, 2019)
prop._addConstant("fvOverallHealth1year", None, 2025)
prop._addConstant("fvOverallHealth5min", None, 2011)
prop._addConstant("fvOverallHealthHist", None, 2010)
prop._addConstant("fvOverallHealthHist15min", None, 2014)
prop._addConstant("fvOverallHealthHist1d", None, 2018)
prop._addConstant("fvOverallHealthHist1h", None, 2016)
prop._addConstant("fvOverallHealthHist1mo", None, 2022)
prop._addConstant("fvOverallHealthHist1qtr", None, 2024)
prop._addConstant("fvOverallHealthHist1w", None, 2020)
prop._addConstant("fvOverallHealthHist1year", None, 2026)
prop._addConstant("fvOverallHealthHist5min", None, 2012)
prop._addConstant("fvPEp", None, 2046)
prop._addConstant("fvPathEp", None, 2074)
prop._addConstant("fvPathEpDef", None, 1847)
prop._addConstant("fvPndgAnyDef", None, 5649)
prop._addConstant("fvPndgAnyDefCont", None, 5645)
prop._addConstant("fvPndgCont", None, 5586)
prop._addConstant("fvPndgCtrct", None, 5589)
prop._addConstant("fvPndgCtrctCont", None, 5644)
prop._addConstant("fvPndgCtrctEpgCont", None, 5700)
prop._addConstant("fvPndgEpCP", None, 6257)
prop._addConstant("fvPndgEpCPCont", None, 6254)
prop._addConstant("fvPndgEpPCtrctInfo", None, 7775)
prop._addConstant("fvPndgEpPCtrctInfoCont", None, 7772)
prop._addConstant("fvPndgRFltP", None, 5933)
prop._addConstant("fvPndgRFltPCont", None, 5930)
prop._addConstant("fvPolDeliveryStatus", None, 5283)
prop._addConstant("fvPolMod", None, 1869)
prop._addConstant("fvPolResolver", None, 5246)
prop._addConstant("fvPostponedUpd", None, 6664)
prop._addConstant("fvPostponedUpdCont", None, 6661)
prop._addConstant("fvPrimaryEncap", None, 8004)
prop._addConstant("fvPrimaryEncapDef", None, 7815)
prop._addConstant("fvProtEPg", None, 2078)
prop._addConstant("fvProtoAttr", None, 6200)
prop._addConstant("fvProtoAttrDef", None, 6207)
prop._addConstant("fvPullREpPCont", None, 6899)
prop._addConstant("fvPullRecover", None, 7670)
prop._addConstant("fvPulledPolicy", None, 7673)
prop._addConstant("fvREpPCont", None, 1944)
prop._addConstant("fvREpPCtrct", None, 1948)
prop._addConstant("fvRInfoHolder", None, 1896)
prop._addConstant("fvRemotePolHolder", None, 2085)
prop._addConstant("fvReportingNode", None, 2059)
prop._addConstant("fvReportingNodeContext", None, 5166)
prop._addConstant("fvRsABDPolMonPol", None, 1865)
prop._addConstant("fvRsAEPgMonPol", None, 1861)
prop._addConstant("fvRsAeToCtrct", None, 5602)
prop._addConstant("fvRsApMonPol", None, 1859)
prop._addConstant("fvRsBDSubnetToOut", None, 1835)
prop._addConstant("fvRsBDSubnetToProfile", None, 1833)
prop._addConstant("fvRsBDToNdP", None, 5984)
prop._addConstant("fvRsBDToOut", None, 1883)
prop._addConstant("fvRsBDToProfile", None, 1881)
prop._addConstant("fvRsBDToProfileDef", None, 6855)
prop._addConstant("fvRsBDToRelayP", None, 1885)
prop._addConstant("fvRsBd", None, 1988)
prop._addConstant("fvRsBdFloodTo", None, 1879)
prop._addConstant("fvRsBdToEpRet", None, 1877)
prop._addConstant("fvRsBgpCtxPol", None, 2004)
prop._addConstant("fvRsCEpToPathEp", None, 2034)
prop._addConstant("fvRsCcepConn", None, 2048)
prop._addConstant("fvRsCons", None, 1904)
prop._addConstant("fvRsConsIf", None, 1906)
prop._addConstant("fvRsCtx", None, 1873)
prop._addConstant("fvRsCtxMcastTo", None, 2002)
prop._addConstant("fvRsCtxMonPol", None, 1863)
prop._addConstant("fvRsCtxToBgpCtxAfPol", None, 5905)
prop._addConstant("fvRsCtxToEigrpCtxAfPol", None, 6060)
prop._addConstant("fvRsCtxToEpRet", None, 1998)
prop._addConstant("fvRsCtxToExtRouteTagPol", None, 6250)
prop._addConstant("fvRsCtxToOspfCtxPol", None, 5903)
prop._addConstant("fvRsCustQosPol", None, 1900)
prop._addConstant("fvRsDomAtt", None, 1986)
prop._addConstant("fvRsDomAttTask", None, 5097)
prop._addConstant("fvRsDomDefNs", None, 1853)
prop._addConstant("fvRsDomDefNsLocal", None, 1855)
prop._addConstant("fvRsDomIfConn", None, 5186)
prop._addConstant("fvRsDyPathAtt", None, 1963)
prop._addConstant("fvRsEPgDefToL2Dom", None, 5195)
prop._addConstant("fvRsEPgDefToL3Dom", None, 5193)
prop._addConstant("fvRsEpDefRefToL2MacEp", None, 5544)
prop._addConstant("fvRsEpDefRefToPathEp", None, 6783)
prop._addConstant("fvRsEpDefRefToStAdjEp", None, 5492)
prop._addConstant("fvRsEpDefRefToStAdjEpV6", None, 5724)
prop._addConstant("fvRsEpDefToLooseNode", None, 5301)
prop._addConstant("fvRsEpDefToPathEp", None, 2054)
prop._addConstant("fvRsEppBgpCtxAfPol", None, 5899)
prop._addConstant("fvRsEppBgpCtxPol", None, 1930)
prop._addConstant("fvRsEppEigrpCtxAfPol", None, 6056)
prop._addConstant("fvRsEppEigrpIfPol", None, 6058)
prop._addConstant("fvRsEppExtRouteTagPol", None, 6237)
prop._addConstant("fvRsEppOspfAfCtxPol", None, 5901)
prop._addConstant("fvRsEppOspfCtxPol", None, 1932)
prop._addConstant("fvRsEppOspfIfPol", None, 1934)
prop._addConstant("fvRsEppToEpCP", None, 7073)
prop._addConstant("fvRsEppToMonPol", None, 1925)
prop._addConstant("fvRsGraphDef", None, 1990)
prop._addConstant("fvRsHyper", None, 2031)
prop._addConstant("fvRsHyperTask", None, 7866)
prop._addConstant("fvRsIgmpsn", None, 1875)
prop._addConstant("fvRsLNode", None, 2071)
prop._addConstant("fvRsLocale", None, 5247)
prop._addConstant("fvRsLocaleToObservedEthIf", None, 7090)
prop._addConstant("fvRsLsNodeAtt", None, 1965)
prop._addConstant("fvRsNdPfxPol", None, 6121)
prop._addConstant("fvRsNic", None, 2036)
prop._addConstant("fvRsNodeAtt", None, 1982)
prop._addConstant("fvRsNodePortAtt", None, 1968)
prop._addConstant("fvRsOpflexHv", None, 7292)
prop._addConstant("fvRsOspfCtxPol", None, 2006)
prop._addConstant("fvRsPathAtt", None, 1984)
prop._addConstant("fvRsProtBy", None, 1916)
prop._addConstant("fvRsProv", None, 1902)
prop._addConstant("fvRsProvDef", None, 1992)
prop._addConstant("fvRsRegisterAREpPBootStrap", None, 7162)
prop._addConstant("fvRsRegisterUpdates", None, 6657)
prop._addConstant("fvRsRtdEpPToNatMappingEPg", None, 7492)
prop._addConstant("fvRsShardedRegisterAREpPBootStrap", None, 7870)
prop._addConstant("fvRsShardedRegisterUpdates", None, 7868)
prop._addConstant("fvRsStAttEntPAtt", None, 1958)
prop._addConstant("fvRsStCEpDefToNode", None, 5191)
prop._addConstant("fvRsStCEpDefToPathEp", None, 2044)
prop._addConstant("fvRsStCEpToNode", None, 5189)
prop._addConstant("fvRsStCEpToPathEp", None, 2041)
prop._addConstant("fvRsStGrpAtt", None, 1955)
prop._addConstant("fvRsStPathAtt", None, 1953)
prop._addConstant("fvRsSvcBDToBDAtt", None, 1889)
prop._addConstant("fvRsTenantMonPol", None, 1857)
prop._addConstant("fvRsTnDenyRule", None, 1976)
prop._addConstant("fvRsToCtrct", None, 1946)
prop._addConstant("fvRsToDomDef", None, 1950)
prop._addConstant("fvRsToEpDef", None, 2057)
prop._addConstant("fvRsToFvDomDef", None, 8000)
prop._addConstant("fvRsToFvPrimaryEncapDef", None, 8002)
prop._addConstant("fvRsToRemoteAnyDef", None, 5646)
prop._addConstant("fvRsToRemoteBDDef", None, 2086)
prop._addConstant("fvRsToRemoteBDHolder", None, 5548)
prop._addConstant("fvRsToRemoteConnInstrPol", None, 2096)
prop._addConstant("fvRsToRemoteCtrct", None, 5698)
prop._addConstant("fvRsToRemoteCtrctEPgCont", None, 5587)
prop._addConstant("fvRsToRemoteCtxDef", None, 2090)
prop._addConstant("fvRsToRemoteEpCP", None, 6255)
prop._addConstant("fvRsToRemoteEpPCtrctInfo", None, 7773)
prop._addConstant("fvRsToRemoteMonGrp", None, 7872)
prop._addConstant("fvRsToRemoteMonPol", None, 2092)
prop._addConstant("fvRsToRemoteQosDppPolDef", None, 7724)
prop._addConstant("fvRsToRemoteQueryGroup", None, 7874)
prop._addConstant("fvRsToRemoteREpPCont", None, 6900)
prop._addConstant("fvRsToRemoteRFltAtt", None, 2088)
prop._addConstant("fvRsToRemoteRFltP", None, 5931)
prop._addConstant("fvRsToRemoteRtdEpPInfoHolder", None, 6031)
prop._addConstant("fvRsToRemoteSyslogGroup", None, 7449)
prop._addConstant("fvRsToRemoteTabooDef", None, 2094)
prop._addConstant("fvRsToResolver", None, 7671)
prop._addConstant("fvRsToTabooDef", None, 2079)
prop._addConstant("fvRsToTunDef", None, 2064)
prop._addConstant("fvRsVNode", None, 2068)
prop._addConstant("fvRsVm", None, 2038)
prop._addConstant("fvRtARemoteHostToEpg", None, 1672)
prop._addConstant("fvRtARemoteHostToEpp", None, 5361)
prop._addConstant("fvRtAcExtPolToContext", None, 7900)
prop._addConstant("fvRtAcExtPolToContextTask", None, 7902)
prop._addConstant("fvRtBDDefToBD", None, 4823)
prop._addConstant("fvRtBd", None, 1989)
prop._addConstant("fvRtBdToEpRet", None, 1878)
prop._addConstant("fvRtChassisEpg", None, 6171)
prop._addConstant("fvRtClientGrpToEpp", None, 5479)
prop._addConstant("fvRtContext", None, 7825)
prop._addConstant("fvRtCtx", None, 1874)
prop._addConstant("fvRtCtxToEpP", None, 3752)
prop._addConstant("fvRtCtxToEpRet", None, 1999)
prop._addConstant("fvRtDefInfraBd", None, 6004)
prop._addConstant("fvRtDependencyToFailedEpP", None, 6186)
prop._addConstant("fvRtDestEpg", None, 4161)
prop._addConstant("fvRtDestEpgTask", None, 5098)
prop._addConstant("fvRtDestToVPort", None, 4190)
prop._addConstant("fvRtDevEpg", None, 4884)
prop._addConstant("fvRtDevMgrEpg", None, 6176)
prop._addConstant("fvRtEBd", None, 1742)
prop._addConstant("fvRtEPpInfoToBD", None, 5489)
prop._addConstant("fvRtEctx", None, 1772)
prop._addConstant("fvRtEpCP", None, 7948)
prop._addConstant("fvRtEpg", None, 4581)
prop._addConstant("fvRtEppToEpCP", None, 7074)
prop._addConstant("fvRtExtBD", None, 3381)
prop._addConstant("fvRtFromAbsEpg", None, 6263)
prop._addConstant("fvRtFromEp", None, 4089)
prop._addConstant("fvRtFromEpForEpToEpg", None, 4083)
prop._addConstant("fvRtFromEpIp", None, 5345)
prop._addConstant("fvRtFromEpIpForEpToEpg", None, 5341)
prop._addConstant("fvRtFromEpg", None, 4068)
prop._addConstant("fvRtFuncToEpg", None, 4446)
prop._addConstant("fvRtFvEppInband", None, 1524)
prop._addConstant("fvRtFvEppOob", None, 1527)
prop._addConstant("fvRtInfraBD", None, 4322)
prop._addConstant("fvRtInstPCtx", None, 5533)
prop._addConstant("fvRtInstPToNatMappingEPg", None, 7495)
prop._addConstant("fvRtIpAddr", None, 3801)
prop._addConstant("fvRtIpEppAtt", None, 7076)
prop._addConstant("fvRtL3If", None, 3760)
prop._addConstant("fvRtLIfCtxToBD", None, 5487)
prop._addConstant("fvRtLIfCtxToInstP", None, 6074)
prop._addConstant("fvRtLbIfToLocale", None, 3791)
prop._addConstant("fvRtLocalEpCP", None, 6253)
prop._addConstant("fvRtLocale", None, 5248)
prop._addConstant("fvRtMacBaseEppAtt", None, 8013)
prop._addConstant("fvRtMacEppAtt", None, 8011)
prop._addConstant("fvRtMgmtBD", None, 2196)
prop._addConstant("fvRtMgmtEPg", None, 2160)
prop._addConstant("fvRtMonToFvEppInband", None, 1681)
prop._addConstant("fvRtMonToFvEppInbandEvent", None, 5518)
prop._addConstant("fvRtMonToFvEppOob", None, 1683)
prop._addConstant("fvRtMonToFvEppOobEvent", None, 5520)
prop._addConstant("fvRtNtpProvToEpg", None, 4531)
prop._addConstant("fvRtNtpProvToEpp", None, 5202)
prop._addConstant("fvRtOoBCtx", None, 5529)
prop._addConstant("fvRtOutToBDPublicSubnetHolder", None, 6845)
prop._addConstant("fvRtPolModAtt", None, 4842)
prop._addConstant("fvRtPrToBDSubnetHolder", None, 6850)
prop._addConstant("fvRtProfileToEpg", None, 280)
prop._addConstant("fvRtProfileToEpp", None, 5491)
prop._addConstant("fvRtProv", None, 1432)
prop._addConstant("fvRtProvTask", None, 5099)
prop._addConstant("fvRtProvToEpp", None, 8686)
prop._addConstant("fvRtRegisterAREpPBootStrap", None, 7163)
prop._addConstant("fvRtRegisterUpdates", None, 6658)
prop._addConstant("fvRtRouteToIfConn", None, 3810)
prop._addConstant("fvRtRtdEpPToNatMappingEPg", None, 7493)
prop._addConstant("fvRtSecProvToEpg", None, 1604)
prop._addConstant("fvRtShardedRegisterAREpPBootStrap", None, 7871)
prop._addConstant("fvRtShardedRegisterUpdates", None, 7869)
prop._addConstant("fvRtSrcToBD", None, 4147)
prop._addConstant("fvRtSrcToBDDef", None, 4149)
prop._addConstant("fvRtSrcToCtx", None, 4151)
prop._addConstant("fvRtSrcToCtxDef", None, 4153)
prop._addConstant("fvRtSrcToEpP", None, 4145)
prop._addConstant("fvRtSrcToEpg", None, 4142)
prop._addConstant("fvRtSrcToVPort", None, 4177)
prop._addConstant("fvRtSvcBDToBDAtt", None, 1890)
prop._addConstant("fvRtSvcMgmtEpg", None, 4729)
prop._addConstant("fvRtTenant", None, 6117)
prop._addConstant("fvRtTermToEPg", None, 4654)
prop._addConstant("fvRtToAbsEpg", None, 6265)
prop._addConstant("fvRtToDomDef", None, 1951)
prop._addConstant("fvRtToEp", None, 4092)
prop._addConstant("fvRtToEpCP", None, 7597)
prop._addConstant("fvRtToEpDef", None, 2058)
prop._addConstant("fvRtToEpForEpToEp", None, 4097)
prop._addConstant("fvRtToEpForEpToEpTask", None, 8194)
prop._addConstant("fvRtToEpForEpgToEp", None, 4086)
prop._addConstant("fvRtToEpForEpgToEpTask", None, 8195)
prop._addConstant("fvRtToEpIp", None, 5347)
prop._addConstant("fvRtToEpIpForEpToEp", None, 5349)
prop._addConstant("fvRtToEpIpForEpToEpTask", None, 8197)
prop._addConstant("fvRtToEpIpForEpgToEp", None, 5343)
prop._addConstant("fvRtToEpIpForEpgToEpTask", None, 8198)
prop._addConstant("fvRtToEpIpTask", None, 8196)
prop._addConstant("fvRtToEpTask", None, 8193)
prop._addConstant("fvRtToEpg", None, 4071)
prop._addConstant("fvRtToEpgForEpgToEpg", None, 4074)
prop._addConstant("fvRtToEpgProt", None, 5292)
prop._addConstant("fvRtToFvDomDef", None, 8001)
prop._addConstant("fvRtToFvPrimaryEncapDef", None, 8003)
prop._addConstant("fvRtToREpPCont", None, 7588)
prop._addConstant("fvRtToRemoteBDDef", None, 2087)
prop._addConstant("fvRtToRemoteBDHolder", None, 5549)
prop._addConstant("fvRtToRemoteConnInstrPol", None, 2097)
prop._addConstant("fvRtToRemoteCtxDef", None, 2091)
prop._addConstant("fvRtToRemoteEpCP", None, 6256)
prop._addConstant("fvRtToRemoteEpPCtrctInfo", None, 7774)
prop._addConstant("fvRtToRemoteREpPCont", None, 6901)
prop._addConstant("fvRtToRemoteRtdEpPInfoHolder", None, 6032)
prop._addConstant("fvRtToTunDef", None, 2065)
prop._addConstant("fvRtTrEpDst", None, 4222)
prop._addConstant("fvRtTrEpExtIpSrc", None, 6374)
prop._addConstant("fvRtTrEpIpDst", None, 5353)
prop._addConstant("fvRtTrEpIpSrc", None, 5351)
prop._addConstant("fvRtTrEpSrc", None, 4218)
prop._addConstant("fvRtUnkMacActModAtt", None, 4844)
prop._addConstant("fvRtVConnToEpgEp", None, 4913)
prop._addConstant("fvRtVConnToEpgSubnet", None, 4911)
prop._addConstant("fvRtVNode", None, 2069)
prop._addConstant("fvRtVlanEppAtt", None, 3392)
prop._addConstant("fvRtVsrcToEpg", None, 4181)
prop._addConstant("fvRtVxlanEppAtt", None, 3395)
prop._addConstant("fvRtdEpP", None, 1929)
prop._addConstant("fvRtdEpPInfoCont", None, 6033)
prop._addConstant("fvRtdEpPInfoHolder", None, 6034)
prop._addConstant("fvSCrtrn", None, 6867)
prop._addConstant("fvSCrtrnDef", None, 6868)
prop._addConstant("fvShardedAREpPUpd", None, 7867)
prop._addConstant("fvSharedService", None, 5306)
prop._addConstant("fvStCEp", None, 2040)
prop._addConstant("fvStCEpDef", None, 2043)
prop._addConstant("fvStDepl", None, 1840)
prop._addConstant("fvStIp", None, 5909)
prop._addConstant("fvStIpDef", None, 5910)
prop._addConstant("fvStPathAtt", None, 1960)
prop._addConstant("fvStorageIssues", None, 2115)
prop._addConstant("fvSubnet", None, 1832)
prop._addConstant("fvSubnetBDDefCont", None, 5498)
prop._addConstant("fvSubnetBDDefContTask", None, 5503)
prop._addConstant("fvSvcBD", None, 1888)
prop._addConstant("fvSvcDepl", None, 1843)
prop._addConstant("fvSvcEpP", None, 1942)
prop._addConstant("fvTabooCtxDefCont", None, 5500)
prop._addConstant("fvTabooCtxDefContTask", None, 5504)
prop._addConstant("fvTenant", None, 1975)
prop._addConstant("fvTo", None, 2107)
prop._addConstant("fvTunDef", None, 2062)
prop._addConstant("fvTunDefRef", None, 2063)
prop._addConstant("fvUnkMacUcastActMod", None, 1870)
prop._addConstant("fvUp", None, 4591)
prop._addConstant("fvUpdateContract", None, 7613)
prop._addConstant("fvUsegEpPRequestor", None, 8073)
prop._addConstant("fvUsegSrc", None, 7998)
prop._addConstant("fvUtilizedCtrct", None, 7778)
prop._addConstant("fvVDEp", None, 2067)
prop._addConstant("fvVDEpContext", None, 7166)
prop._addConstant("fvVDEpTask", None, 5072)
prop._addConstant("fvVNode", None, 2070)
prop._addConstant("fvVNodeContext", None, 5167)
prop._addConstant("fvVip", None, 6622)
prop._addConstant("fvVipDef", None, 6623)
prop._addConstant("fvVipUpdate", None, 6624)
prop._addConstant("fvVipUpdateTask", None, 6625)
prop._addConstant("fvVmAttr", None, 6194)
prop._addConstant("fvVmAttrDef", None, 6204)
prop._addConstant("fvcapProv", None, 6611)
prop._addConstant("fvcapRule", None, 6610)
prop._addConstant("fvcapScopeReg", None, 7217)
prop._addConstant("fvcapScopeRegTask", None, 7220)
prop._addConstant("fvcapScopeRule", None, 7216)
prop._addConstant("fvnsAAddrBlk", None, 4549)
prop._addConstant("fvnsAAddrInstP", None, 4564)
prop._addConstant("fvnsAEncapBlk", None, 4551)
prop._addConstant("fvnsAInstP", None, 4558)
prop._addConstant("fvnsAVlanInstP", None, 6871)
prop._addConstant("fvnsAVxlanInstP", None, 4560)
prop._addConstant("fvnsAddrInst", None, 4548)
prop._addConstant("fvnsEncapBlk", None, 4552)
prop._addConstant("fvnsEncapBlkDef", None, 4553)
prop._addConstant("fvnsMcastAddrBlk", None, 4554)
prop._addConstant("fvnsMcastAddrBlkDef", None, 4555)
prop._addConstant("fvnsMcastAddrInstDef", None, 4563)
prop._addConstant("fvnsMcastAddrInstDefTask", None, 5154)
prop._addConstant("fvnsMcastAddrInstP", None, 4565)
prop._addConstant("fvnsRtALDevToVlanInstP", None, 4882)
prop._addConstant("fvnsRtALDevToVxlanInstP", None, 4880)
prop._addConstant("fvnsRtAddrInst", None, 2172)
prop._addConstant("fvnsRtDomDefNs", None, 1854)
prop._addConstant("fvnsRtDomDefNsLocal", None, 1856)
prop._addConstant("fvnsRtDomMcastAddrNs", None, 5198)
prop._addConstant("fvnsRtDomVxlanNsDef", None, 5460)
prop._addConstant("fvnsRtMcastAddrNs", None, 2158)
prop._addConstant("fvnsRtVipAddrNs", None, 5569)
prop._addConstant("fvnsRtVlanInstP", None, 7304)
prop._addConstant("fvnsRtVlanNs", None, 4516)
prop._addConstant("fvnsRtVlanNsDef", None, 5466)
prop._addConstant("fvnsRtVxlanNs", None, 2156)
prop._addConstant("fvnsRtVxlanNsDef", None, 5462)
prop._addConstant("fvnsUcastAddrBlk", None, 4550)
prop._addConstant("fvnsVlanInstDef", None, 6872)
prop._addConstant("fvnsVlanInstP", None, 4559)
prop._addConstant("fvnsVxlanInstDef", None, 4562)
prop._addConstant("fvnsVxlanInstDefTask", None, 5155)
prop._addConstant("fvnsVxlanInstP", None, 4561)
prop._addConstant("fvtopoEp", None, 2105)
prop._addConstant("fvtopoEpCont", None, 2101)
prop._addConstant("fvtopoPort", None, 2102)
prop._addConstant("fvtopoRsEp", None, 2103)
prop._addConstant("fvtopoRtEp", None, 2104)
prop._addConstant("geoBuilding", None, 519)
prop._addConstant("geoFloor", None, 520)
prop._addConstant("geoRack", None, 522)
prop._addConstant("geoRoom", None, 521)
prop._addConstant("geoRow", None, 6210)
prop._addConstant("geoRsNodeLocation", None, 523)
prop._addConstant("geoRtSystemRack", None, 16)
prop._addConstant("geoSite", None, 518)
prop._addConstant("gleanBD", None, 2404)
prop._addConstant("gleanDom", None, 2403)
prop._addConstant("gleanEntity", None, 2406)
prop._addConstant("gleanGateway", None, 2405)
prop._addConstant("gleanInst", None, 2407)
prop._addConstant("haHaTest", None, 578)
prop._addConstant("healthAInst", None, 1646)
prop._addConstant("healthARetP", None, 1641)
prop._addConstant("healthCont", None, 1649)
prop._addConstant("healthCtrlrRetP", None, 1643)
prop._addConstant("healthEvalP", None, 1652)
prop._addConstant("healthInst", None, 1647)
prop._addConstant("healthLevelP", None, 1625)
prop._addConstant("healthLevelsP", None, 1626)
prop._addConstant("healthNodeInst", None, 1648)
prop._addConstant("healthPol", None, 1636)
prop._addConstant("healthPolCont", None, 1650)
prop._addConstant("healthRecord", None, 1640)
prop._addConstant("healthRtHealthCtrlrRetP", None, 1645)
prop._addConstant("healthRtHealthLevelP", None, 5542)
prop._addConstant("healthRtNodeHealthRecRetP", None, 1732)
prop._addConstant("healthRtResHealthPols", None, 768)
prop._addConstant("healthRtResHealthSwRetP", None, 766)
prop._addConstant("healthSubj", None, 1651)
prop._addConstant("healthSwRetP", None, 1642)
prop._addConstant("healthUpdateDelegateHealthPayload", None, 5446)
prop._addConstant("healthUpdateDelegateWeightPayload", None, 5577)
prop._addConstant("hvsAdj", None, 111)
prop._addConstant("hvsContE", None, 7945)
prop._addConstant("hvsEncap", None, 110)
prop._addConstant("hvsEpCP", None, 7946)
prop._addConstant("hvsEpCPTask", None, 8019)
prop._addConstant("hvsExtPol", None, 105)
prop._addConstant("hvsExtPolTask", None, 5156)
prop._addConstant("hvsFwRule", None, 7951)
prop._addConstant("hvsFwRuleTask", None, 8020)
prop._addConstant("hvsFwSvc", None, 7952)
prop._addConstant("hvsFwSvcTask", None, 8021)
prop._addConstant("hvsIp", None, 7964)
prop._addConstant("hvsIpSet", None, 7949)
prop._addConstant("hvsIpSetTask", None, 8022)
prop._addConstant("hvsLNode", None, 103)
prop._addConstant("hvsLNodeTask", None, 5157)
prop._addConstant("hvsMac", None, 7965)
prop._addConstant("hvsMacSet", None, 7950)
prop._addConstant("hvsMacSetTask", None, 8023)
prop._addConstant("hvsNode", None, 99)
prop._addConstant("hvsPvlanCont", None, 7969)
prop._addConstant("hvsPvlanEntry", None, 7970)
prop._addConstant("hvsRFltE", None, 7958)
prop._addConstant("hvsRFltETask", None, 8024)
prop._addConstant("hvsRFltP", None, 7955)
prop._addConstant("hvsRFltPTask", None, 8025)
prop._addConstant("hvsResCont", None, 6232)
prop._addConstant("hvsRsEpCP", None, 7947)
prop._addConstant("hvsRsEpCPAtt", None, 7962)
prop._addConstant("hvsRsEpPD", None, 106)
prop._addConstant("hvsRsExtPol", None, 108)
prop._addConstant("hvsRsLsNode", None, 112)
prop._addConstant("hvsRsPvlan", None, 7971)
prop._addConstant("hvsRsPvlan2", None, 9072)
prop._addConstant("hvsRsPvlanEntry", None, 8682)
prop._addConstant("hvsRsRFltAtt", None, 7953)
prop._addConstant("hvsRsRFltAttTask", None, 8026)
prop._addConstant("hvsRsRFltP", None, 7956)
prop._addConstant("hvsRtDlPol", None, 1127)
prop._addConstant("hvsRtEpCPAtt", None, 7963)
prop._addConstant("hvsRtExtPol", None, 109)
prop._addConstant("hvsRtLNode", None, 2072)
prop._addConstant("hvsRtMgmtPol", None, 1131)
prop._addConstant("hvsRtNicAdj", None, 1117)
prop._addConstant("hvsRtNicAdjTask", None, 5158)
prop._addConstant("hvsRtPvlan", None, 7972)
prop._addConstant("hvsRtPvlan2", None, 9073)
prop._addConstant("hvsRtRFltAtt", None, 7954)
prop._addConstant("hvsRtUlPol", None, 1124)
prop._addConstant("hvsRule", None, 7966)
prop._addConstant("hvsSecGrp", None, 7961)
prop._addConstant("hvsSvc", None, 7968)
prop._addConstant("hvsSvcGrp", None, 7967)
prop._addConstant("hvsUsegCont", None, 7959)
prop._addConstant("hvsUsegContE", None, 7960)
prop._addConstant("hvsVNode", None, 104)
prop._addConstant("hvsVSpanSession", None, 101)
prop._addConstant("hvsVSpanSessionCont", None, 102)
prop._addConstant("hvsVSpanSessionSrc", None, 100)
prop._addConstant("icmpDom", None, 2868)
prop._addConstant("icmpEntity", None, 2866)
prop._addConstant("icmpIf", None, 2865)
prop._addConstant("icmpInst", None, 2867)
prop._addConstant("icmpv4Dom", None, 2560)
prop._addConstant("icmpv4Entity", None, 2558)
prop._addConstant("icmpv4If", None, 2557)
prop._addConstant("icmpv4Inst", None, 2559)
prop._addConstant("icmpv6Entity", None, 2672)
prop._addConstant("icmpv6If", None, 2671)
prop._addConstant("icmpv6IfStats", None, 5817)
prop._addConstant("icmpv6Inst", None, 2673)
prop._addConstant("identAllocCont", None, 7314)
prop._addConstant("identAllocContTask", None, 7325)
prop._addConstant("identAllocInst", None, 7316)
prop._addConstant("identAllocRule", None, 198)
prop._addConstant("identBlock", None, 193)
prop._addConstant("identBlock16", None, 194)
prop._addConstant("identBlock32", None, 195)
prop._addConstant("identBlock64", None, 196)
prop._addConstant("identBlockIp", None, 197)
prop._addConstant("identCachedElement", None, 216)
prop._addConstant("identConsumer", None, 215)
prop._addConstant("identConsumerTask", None, 5042)
prop._addConstant("identCont", None, 190)
prop._addConstant("identContext", None, 203)
prop._addConstant("identContextElement", None, 204)
prop._addConstant("identContextTask", None, 5065)
prop._addConstant("identElement", None, 210)
prop._addConstant("identElement16", None, 211)
prop._addConstant("identElement32", None, 212)
prop._addConstant("identElement64", None, 213)
prop._addConstant("identElementIp", None, 214)
prop._addConstant("identElementTask", None, 5066)
prop._addConstant("identGlobalImportStatusCont", None, 7913)
prop._addConstant("identInst", None, 218)
prop._addConstant("identInst16", None, 219)
prop._addConstant("identInst32", None, 220)
prop._addConstant("identInst64", None, 221)
prop._addConstant("identInstIp", None, 222)
prop._addConstant("identLocalImportStatus", None, 7912)
prop._addConstant("identLocalImportStatusTask", None, 7920)
prop._addConstant("identMulti", None, 199)
prop._addConstant("identNs", None, 192)
prop._addConstant("identRUni", None, 202)
prop._addConstant("identReleaseCont", None, 7315)
prop._addConstant("identReleaseContTask", None, 7326)
prop._addConstant("identReleaseInst", None, 7317)
prop._addConstant("identSUni", None, 201)
prop._addConstant("identSegAllocCont", None, 7795)
prop._addConstant("identSegAllocContTask", None, 7799)
prop._addConstant("identSegAllocInst", None, 7798)
prop._addConstant("identSegReleaseCont", None, 7796)
prop._addConstant("identSegReleaseContTask", None, 7800)
prop._addConstant("identSegReleaseInst", None, 7797)
prop._addConstant("identSegment", None, 205)
prop._addConstant("identSegment16", None, 206)
prop._addConstant("identSegment16Context", None, 5168)
prop._addConstant("identSegment32", None, 207)
prop._addConstant("identSegment32Context", None, 5169)
prop._addConstant("identSegment64", None, 208)
prop._addConstant("identSegment64Context", None, 5170)
prop._addConstant("identSegmentIp", None, 209)
prop._addConstant("identSegmentIpContext", None, 5171)
prop._addConstant("identSegmentTask", None, 5100)
prop._addConstant("identShardCont", None, 7313)
prop._addConstant("identShardImportStatus", None, 7914)
prop._addConstant("identShardImportStatusTask", None, 7921)
prop._addConstant("identSource", None, 217)
prop._addConstant("identSourceContext", None, 5172)
prop._addConstant("identSourceTask", None, 5043)
prop._addConstant("identSubj", None, 191)
prop._addConstant("identUni", None, 200)
prop._addConstant("igmpASnoopPol", None, 1661)
prop._addConstant("igmpRtIgmpsn", None, 1876)
prop._addConstant("igmpSnoopDef", None, 1663)
prop._addConstant("igmpSnoopPol", None, 1662)
prop._addConstant("igmpsnoopDb", None, 2718)
prop._addConstant("igmpsnoopDom", None, 2710)
prop._addConstant("igmpsnoopDomStats", None, 2717)
prop._addConstant("igmpsnoopEntity", None, 2725)
prop._addConstant("igmpsnoopEpgRec", None, 2721)
prop._addConstant("igmpsnoopHostRec", None, 2724)
prop._addConstant("igmpsnoopInst", None, 2726)
prop._addConstant("igmpsnoopInstStats", None, 2727)
prop._addConstant("igmpsnoopMcGrpRec", None, 2720)
prop._addConstant("igmpsnoopOIFRec", None, 2723)
prop._addConstant("igmpsnoopQuerierP", None, 2712)
prop._addConstant("igmpsnoopQuerierSt", None, 2713)
prop._addConstant("igmpsnoopRec", None, 2719)
prop._addConstant("igmpsnoopReportRec", None, 2722)
prop._addConstant("igmpsnoopRtrIf", None, 2716)
prop._addConstant("igmpsnoopStRtrIf", None, 2715)
prop._addConstant("imCapability", None, 3655)
prop._addConstant("imEntity", None, 3653)
prop._addConstant("imInst", None, 3654)
prop._addConstant("imMgmtIf", None, 3651)
prop._addConstant("imModule", None, 3656)
prop._addConstant("imPhysIf", None, 3652)
prop._addConstant("imPortInfo", None, 3657)
prop._addConstant("imginstallRslt", None, 2869)
prop._addConstant("infraAAccBndlGrp", None, 6101)
prop._addConstant("infraACEPg", None, 4323)
prop._addConstant("infraACEp", None, 4439)
prop._addConstant("infraAConfIssues", None, 4521)
prop._addConstant("infraADomP", None, 4514)
prop._addConstant("infraAEpPD", None, 4460)
prop._addConstant("infraAFunc", None, 4444)
prop._addConstant("infraAIpP", None, 4331)
prop._addConstant("infraANode", None, 4327)
prop._addConstant("infraANodeS", None, 4305)
prop._addConstant("infraAPEPg", None, 4324)
prop._addConstant("infraAPEp", None, 4437)
prop._addConstant("infraAccBaseGrp", None, 4384)
prop._addConstant("infraAccBndlGrp", None, 4406)
prop._addConstant("infraAccBndlPolGrp", None, 6102)
prop._addConstant("infraAccBndlSubgrp", None, 4416)
prop._addConstant("infraAccCardP", None, 4366)
prop._addConstant("infraAccCardPGrp", None, 4375)
prop._addConstant("infraAccGrp", None, 4387)
prop._addConstant("infraAccGrpCfg", None, 6027)
prop._addConstant("infraAccNodePGrp", None, 4370)
prop._addConstant("infraAccPortGrp", None, 4409)
prop._addConstant("infraAccPortP", None, 4367)
prop._addConstant("infraAssocDomP", None, 6183)
prop._addConstant("infraAttEntityP", None, 4441)
prop._addConstant("infraAttPolicyGroup", None, 4453)
prop._addConstant("infraBoot", None, 4448)
prop._addConstant("infraCEPg", None, 4326)
prop._addConstant("infraCardS", None, 4310)
prop._addConstant("infraClP", None, 4520)
prop._addConstant("infraClSzEqObst", None, 5535)
prop._addConstant("infraClusterPol", None, 4463)
prop._addConstant("infraClusterStats", None, 4469)
prop._addConstant("infraClusterStats15min", None, 4473)
prop._addConstant("infraClusterStats1d", None, 4477)
prop._addConstant("infraClusterStats1h", None, 4475)
prop._addConstant("infraClusterStats1mo", None, 4481)
prop._addConstant("infraClusterStats1qtr", None, 4483)
prop._addConstant("infraClusterStats1w", None, 4479)
prop._addConstant("infraClusterStats1year", None, 4485)
prop._addConstant("infraClusterStats5min", None, 4471)
prop._addConstant("infraClusterStatsHist", None, 4470)
prop._addConstant("infraClusterStatsHist15min", None, 4474)
prop._addConstant("infraClusterStatsHist1d", None, 4478)
prop._addConstant("infraClusterStatsHist1h", None, 4476)
prop._addConstant("infraClusterStatsHist1mo", None, 4482)
prop._addConstant("infraClusterStatsHist1qtr", None, 4484)
prop._addConstant("infraClusterStatsHist1w", None, 4480)
prop._addConstant("infraClusterStatsHist1year", None, 4486)
prop._addConstant("infraClusterStatsHist5min", None, 4472)
prop._addConstant("infraConnFexBlk", None, 4302)
prop._addConstant("infraConnFexS", None, 4298)
prop._addConstant("infraConnNodeBlk", None, 4301)
prop._addConstant("infraConnNodeS", None, 4293)
prop._addConstant("infraConnPortBlk", None, 4300)
prop._addConstant("infraCont", None, 4466)
prop._addConstant("infraContDomP", None, 6182)
prop._addConstant("infraContNS", None, 4356)
prop._addConstant("infraDomInfo", None, 5326)
prop._addConstant("infraDomInfoCont", None, 5325)
prop._addConstant("infraDomP", None, 4517)
prop._addConstant("infraDomainToNs", None, 5463)
prop._addConstant("infraEPg", None, 4320)
prop._addConstant("infraEncap", None, 4422)
prop._addConstant("infraEncapDef", None, 4330)
prop._addConstant("infraEpPD", None, 4461)
prop._addConstant("infraEpPDDef", None, 4462)
prop._addConstant("infraEpPDTask", None, 5101)
prop._addConstant("infraExP", None, 4518)
prop._addConstant("infraFabricRecovery", None, 7214)
prop._addConstant("infraFexBlk", None, 4304)
prop._addConstant("infraFexBndlGrp", None, 4386)
prop._addConstant("infraFexCfg", None, 4349)
prop._addConstant("infraFexGrp", None, 4385)
prop._addConstant("infraFexP", None, 4369)
prop._addConstant("infraFuncP", None, 4368)
prop._addConstant("infraGeNode", None, 4464)
prop._addConstant("infraGeSnNode", None, 7626)
prop._addConstant("infraGeneric", None, 4452)
prop._addConstant("infraHConnPortS", None, 4299)
prop._addConstant("infraHPathS", None, 6105)
prop._addConstant("infraHPortS", None, 4314)
prop._addConstant("infraHPortSInfo", None, 7045)
prop._addConstant("infraHostCfg", None, 4352)
prop._addConstant("infraIDDef", None, 4512)
prop._addConstant("infraIfLblDef", None, 4421)
prop._addConstant("infraIlClMsgSrc", None, 5336)
prop._addConstant("infraImage", None, 4451)
prop._addConstant("infraIncmptblClsPeer", None, 7105)
prop._addConstant("infraIncorrectCntrlSbstState", None, 7611)
prop._addConstant("infraInfra", None, 4513)
prop._addConstant("infraIpP", None, 4332)
prop._addConstant("infraLbl", None, 4419)
prop._addConstant("infraLeafS", None, 4307)
prop._addConstant("infraLoNode", None, 4467)
prop._addConstant("infraLocation", None, 4510)
prop._addConstant("infraMgmt", None, 4449)
prop._addConstant("infraModeDef", None, 4511)
prop._addConstant("infraNode", None, 4328)
prop._addConstant("infraNodeBlk", None, 4303)
prop._addConstant("infraNodeCfg", None, 4336)
prop._addConstant("infraNodeCfgCont", None, 4333)
prop._addConstant("infraNodeCfgTask", None, 5102)
prop._addConstant("infraNodeDef", None, 4329)
prop._addConstant("infraNodeGrp", None, 4306)
prop._addConstant("infraNodeLblDef", None, 4420)
prop._addConstant("infraNodeP", None, 4361)
prop._addConstant("infraNsIssues", None, 4523)
prop._addConstant("infraPEPg", None, 4325)
prop._addConstant("infraPeNode", None, 4468)
prop._addConstant("infraPeReplica", None, 4509)
prop._addConstant("infraPodBlk", None, 7042)
prop._addConstant("infraPodGrp", None, 7044)
prop._addConstant("infraPodP", None, 7048)
prop._addConstant("infraPodS", None, 7043)
prop._addConstant("infraPolGrp", None, 4360)
prop._addConstant("infraPortBlk", None, 4317)
prop._addConstant("infraPortS", None, 4313)
prop._addConstant("infraPortTrackPol", None, 7656)
prop._addConstant("infraPreProv", None, 6160)
prop._addConstant("infraProfile", None, 4359)
prop._addConstant("infraProfileIssues", None, 5249)
prop._addConstant("infraProvAcc", None, 4447)
prop._addConstant("infraProvP", None, 4519)
prop._addConstant("infraReplica", None, 4489)
prop._addConstant("infraReplicaStats", None, 4490)
prop._addConstant("infraReplicaStats15min", None, 4494)
prop._addConstant("infraReplicaStats1d", None, 4498)
prop._addConstant("infraReplicaStats1h", None, 4496)
prop._addConstant("infraReplicaStats1mo", None, 4502)
prop._addConstant("infraReplicaStats1qtr", None, 4504)
prop._addConstant("infraReplicaStats1w", None, 4500)
prop._addConstant("infraReplicaStats1year", None, 4506)
prop._addConstant("infraReplicaStats5min", None, 4492)
prop._addConstant("infraReplicaStatsHist", None, 4491)
prop._addConstant("infraReplicaStatsHist15min", None, 4495)
prop._addConstant("infraReplicaStatsHist1d", None, 4499)
prop._addConstant("infraReplicaStatsHist1h", None, 4497)
prop._addConstant("infraReplicaStatsHist1mo", None, 4503)
prop._addConstant("infraReplicaStatsHist1qtr", None, 4505)
prop._addConstant("infraReplicaStatsHist1w", None, 4501)
prop._addConstant("infraReplicaStatsHist1year", None, 4507)
prop._addConstant("infraReplicaStatsHist5min", None, 4493)
prop._addConstant("infraRsAccBaseGrp", None, 4315)
prop._addConstant("infraRsAccBndlGrpToAggrIf", None, 5239)
prop._addConstant("infraRsAccBndlSubgrp", None, 4318)
prop._addConstant("infraRsAccCardP", None, 4362)
prop._addConstant("infraRsAccNodePGrp", None, 4308)
prop._addConstant("infraRsAccPortP", None, 4364)
prop._addConstant("infraRsAttEntP", None, 4404)
prop._addConstant("infraRsBfdIpv4InstPol", None, 7728)
prop._addConstant("infraRsBfdIpv6InstPol", None, 7730)
prop._addConstant("infraRsBndlGrp", None, 7046)
prop._addConstant("infraRsCardPGrp", None, 4311)
prop._addConstant("infraRsCdpIfPol", None, 4392)
prop._addConstant("infraRsConnFexS", None, 4296)
prop._addConstant("infraRsConnPortS", None, 4294)
prop._addConstant("infraRsConnectivityProfile", None, 4353)
prop._addConstant("infraRsDomP", None, 4442)
prop._addConstant("infraRsDomPTask", None, 5103)
prop._addConstant("infraRsDomVxlanNsDef", None, 5934)
prop._addConstant("infraRsFabricNode", None, 5244)
prop._addConstant("infraRsFexBndlGrpToAggrIf", None, 5237)
prop._addConstant("infraRsFexGrp", None, 4350)
prop._addConstant("infraRsFexp", None, 4341)
prop._addConstant("infraRsFuncToEpg", None, 4445)
prop._addConstant("infraRsFuncToEpgTask", None, 5104)
prop._addConstant("infraRsHIfPol", None, 4398)
prop._addConstant("infraRsHPathAtt", None, 6106)
prop._addConstant("infraRsInfraBD", None, 4321)
prop._addConstant("infraRsInterfacePolProfile", None, 4347)
prop._addConstant("infraRsL2IfPol", None, 6141)
prop._addConstant("infraRsL2InstPol", None, 4388)
prop._addConstant("infraRsLacpIfPol", None, 4417)
prop._addConstant("infraRsLacpInterfacePol", None, 7473)
prop._addConstant("infraRsLacpPol", None, 4407)
prop._addConstant("infraRsLldpIfPol", None, 4390)
prop._addConstant("infraRsMcpIfPol", None, 5878)
prop._addConstant("infraRsModulePolProfile", None, 4345)
prop._addConstant("infraRsMonFexInfraPol", None, 5199)
prop._addConstant("infraRsMonIfInfraPol", None, 4400)
prop._addConstant("infraRsMonModuleInfraPol", None, 4382)
prop._addConstant("infraRsMonNodeInfraPol", None, 4373)
prop._addConstant("infraRsMstInstPol", None, 4371)
prop._addConstant("infraRsNodeP", None, 7049)
prop._addConstant("infraRsNodePolGroup", None, 4343)
prop._addConstant("infraRsOverrideCdpIfPol", None, 4456)
prop._addConstant("infraRsOverrideFwPol", None, 6388)
prop._addConstant("infraRsOverrideLacpPol", None, 4458)
prop._addConstant("infraRsOverrideLldpIfPol", None, 4454)
prop._addConstant("infraRsOverrideMcpIfPol", None, 5882)
prop._addConstant("infraRsOverrideStpPol", None, 6781)
prop._addConstant("infraRsPathToAccBaseGrp", None, 6108)
prop._addConstant("infraRsProtGroup", None, 4337)
prop._addConstant("infraRsProtectionGrp", None, 4334)
prop._addConstant("infraRsQosEgressDppIfPol", None, 7861)
prop._addConstant("infraRsQosIngressDppIfPol", None, 7859)
prop._addConstant("infraRsResCdpIfPol", None, 4427)
prop._addConstant("infraRsResDatetimeFormat", None, 5314)
prop._addConstant("infraRsResErrDisRecoverPol", None, 6129)
prop._addConstant("infraRsResHIfPol", None, 4431)
prop._addConstant("infraRsResLacpIfPol", None, 4425)
prop._addConstant("infraRsResLacpLagPol", None, 4429)
prop._addConstant("infraRsResLldpIfPol", None, 4423)
prop._addConstant("infraRsResLoopProtectPol", None, 6077)
prop._addConstant("infraRsResMcpIfPol", None, 5880)
prop._addConstant("infraRsResMcpInstPol", None, 6066)
prop._addConstant("infraRsResMonInfraPol", None, 731)
prop._addConstant("infraRsResNwsFwPol", None, 6386)
prop._addConstant("infraRsResQoSPol", None, 4433)
prop._addConstant("infraRsResQosInstPol", None, 4435)
prop._addConstant("infraRsSpanVDestGrp", None, 4396)
prop._addConstant("infraRsSpanVSrcGrp", None, 4394)
prop._addConstant("infraRsStormctrlIfPol", None, 5607)
prop._addConstant("infraRsStpIfPol", None, 4402)
prop._addConstant("infraRsToBfdIpv4InstPol", None, 8687)
prop._addConstant("infraRsToBfdIpv6InstPol", None, 8689)
prop._addConstant("infraRsToEncapInstDef", None, 4357)
prop._addConstant("infraRsToEpControlP", None, 7306)
prop._addConstant("infraRsToEpLoopProtectP", None, 7096)
prop._addConstant("infraRsToErrDisRecoverPol", None, 6885)
prop._addConstant("infraRsToInfraPathS", None, 6113)
prop._addConstant("infraRsToInterfacePolProfile", None, 7475)
prop._addConstant("infraRsToMcpIfPol", None, 7092)
prop._addConstant("infraRsToMcpInstPol", None, 7094)
prop._addConstant("infraRsToPortTrackPol", None, 7657)
prop._addConstant("infraRsVipAddrNs", None, 5568)
prop._addConstant("infraRsVlanNs", None, 4515)
prop._addConstant("infraRsVlanNsDef", None, 5465)
prop._addConstant("infraRsVpcBndlGrp", None, 4339)
prop._addConstant("infraRtAEP", None, 6159)
prop._addConstant("infraRtAccBaseGrp", None, 4316)
prop._addConstant("infraRtAccBndlSubgrp", None, 4319)
prop._addConstant("infraRtAccCardP", None, 4363)
prop._addConstant("infraRtAccNodePGrp", None, 4309)
prop._addConstant("infraRtAccPortP", None, 4365)
prop._addConstant("infraRtAttEntP", None, 4405)
prop._addConstant("infraRtAttEntityPCons", None, 6149)
prop._addConstant("infraRtBndlGrp", None, 7047)
prop._addConstant("infraRtCardPGrp", None, 4312)
prop._addConstant("infraRtClusterPol", None, 6906)
prop._addConstant("infraRtClusterPolRel", None, 4617)
prop._addConstant("infraRtConnFexS", None, 4297)
prop._addConstant("infraRtConnPortS", None, 4295)
prop._addConstant("infraRtConnectivityProfile", None, 4354)
prop._addConstant("infraRtDomAtt", None, 1987)
prop._addConstant("infraRtDomP", None, 4443)
prop._addConstant("infraRtFexGrp", None, 4351)
prop._addConstant("infraRtFexp", None, 4342)
prop._addConstant("infraRtInterfacePolProfile", None, 4348)
prop._addConstant("infraRtLDevDomP", None, 7895)
prop._addConstant("infraRtModulePolProfile", None, 4346)
prop._addConstant("infraRtNodeP", None, 7050)
prop._addConstant("infraRtNodePolGroup", None, 4344)
prop._addConstant("infraRtOut", None, 1764)
prop._addConstant("infraRtPathToAccBaseGrp", None, 6109)
prop._addConstant("infraRtStAttEntPAtt", None, 1959)
prop._addConstant("infraRtStGrpAtt", None, 1956)
prop._addConstant("infraRtToInterfacePolProfile", None, 7476)
prop._addConstant("infraRtToPeerNodeCfg", None, 6026)
prop._addConstant("infraRtToPortTrackPol", None, 7658)
prop._addConstant("infraRtVpcBndlGrp", None, 4340)
prop._addConstant("infraSelectorIssues", None, 4522)
prop._addConstant("infraService", None, 4488)
prop._addConstant("infraSnNode", None, 7627)
prop._addConstant("infraStorage", None, 4450)
prop._addConstant("infraSubsDfltPolicy", None, 6884)
prop._addConstant("infraToAInstP", None, 5464)
prop._addConstant("infraUsedByEpP", None, 5327)
prop._addConstant("infraWiNode", None, 4465)
prop._addConstant("infrazoneCreatedBy", None, 7740)
prop._addConstant("infrazoneNode", None, 7739)
prop._addConstant("infrazoneNodeGrp", None, 7734)
prop._addConstant("infrazonePodGrp", None, 7735)
prop._addConstant("infrazoneRsToNodeGrp", None, 7736)
prop._addConstant("infrazoneRtToNodeGrp", None, 7737)
prop._addConstant("infrazoneRtZoneConfig", None, 7727)
prop._addConstant("infrazoneTriggeredDeplMode", None, 7768)
prop._addConstant("infrazoneTriggeredDeplModeTask", None, 7769)
prop._addConstant("infrazoneZone", None, 7733)
prop._addConstant("infrazoneZoneCont", None, 7738)
prop._addConstant("infrazoneZoneP", None, 7732)
prop._addConstant("ipANexthopP", None, 4281)
prop._addConstant("ipARouteP", None, 4278)
prop._addConstant("ipAddr", None, 3799)
prop._addConstant("ipCons", None, 5276)
prop._addConstant("ipDom", None, 3804)
prop._addConstant("ipEntity", None, 3816)
prop._addConstant("ipIf", None, 3805)
prop._addConstant("ipInst", None, 3817)
prop._addConstant("ipNexthop", None, 3811)
prop._addConstant("ipNexthopDef", None, 4283)
prop._addConstant("ipNexthopP", None, 4282)
prop._addConstant("ipRoute", None, 3806)
prop._addConstant("ipRouteDef", None, 4280)
prop._addConstant("ipRouteP", None, 4279)
prop._addConstant("ipRsAddrToIpDef", None, 6080)
prop._addConstant("ipRsIpAddr", None, 3800)
prop._addConstant("ipRsNexthopToNexthopDef", None, 3812)
prop._addConstant("ipRsNexthopToProtG", None, 3814)
prop._addConstant("ipRsRouteToIfConn", None, 3809)
prop._addConstant("ipRsRouteToRouteDef", None, 3807)
prop._addConstant("ipRsRtDefIpAddr", None, 3802)
prop._addConstant("ipRtNexthopToNexthopDef", None, 3813)
prop._addConstant("ipRtRouteToRouteDef", None, 3808)
prop._addConstant("ipRtRtDefIpAddr", None, 3803)
prop._addConstant("ipmcsnoopDb", None, 5736)
prop._addConstant("ipmcsnoopDom", None, 5728)
prop._addConstant("ipmcsnoopDomStats", None, 5735)
prop._addConstant("ipmcsnoopEntity", None, 5743)
prop._addConstant("ipmcsnoopEpgRec", None, 5739)
prop._addConstant("ipmcsnoopHostRec", None, 5742)
prop._addConstant("ipmcsnoopIf", None, 5732)
prop._addConstant("ipmcsnoopInst", None, 5744)
prop._addConstant("ipmcsnoopInstStats", None, 5745)
prop._addConstant("ipmcsnoopMcGrpRec", None, 5738)
prop._addConstant("ipmcsnoopOIFRec", None, 5741)
prop._addConstant("ipmcsnoopQuerier", None, 5729)
prop._addConstant("ipmcsnoopQuerierP", None, 5730)
prop._addConstant("ipmcsnoopQuerierSt", None, 5731)
prop._addConstant("ipmcsnoopRec", None, 5737)
prop._addConstant("ipmcsnoopReportRec", None, 5740)
prop._addConstant("ipmcsnoopRtrIf", None, 5734)
prop._addConstant("ipmcsnoopStRtrIf", None, 5733)
prop._addConstant("ipv4Addr", None, 3792)
prop._addConstant("ipv4Dom", None, 3793)
prop._addConstant("ipv4Entity", None, 3797)
prop._addConstant("ipv4If", None, 3794)
prop._addConstant("ipv4Inst", None, 3798)
prop._addConstant("ipv4Nexthop", None, 3796)
prop._addConstant("ipv4NexthopStub", None, 5527)
prop._addConstant("ipv4Route", None, 3795)
prop._addConstant("ipv6Addr", None, 3591)
prop._addConstant("ipv6Dom", None, 3592)
prop._addConstant("ipv6Entity", None, 3596)
prop._addConstant("ipv6If", None, 3593)
prop._addConstant("ipv6Inst", None, 3597)
prop._addConstant("ipv6LLaddr", None, 5865)
prop._addConstant("ipv6Nexthop", None, 3595)
prop._addConstant("ipv6NexthopStub", None, 5866)
prop._addConstant("ipv6Route", None, 3594)
prop._addConstant("isisAdjEp", None, 2758)
prop._addConstant("isisAdjEpClearLTask", None, 5019)
prop._addConstant("isisAdjEpClearRslt", None, 5020)
prop._addConstant("isisAf", None, 2764)
prop._addConstant("isisBdIdRec", None, 2763)
prop._addConstant("isisDTEp", None, 2765)
prop._addConstant("isisDb", None, 2851)
prop._addConstant("isisDbRec", None, 2852)
prop._addConstant("isisDefRtLeakP", None, 2861)
prop._addConstant("isisDom", None, 2826)
prop._addConstant("isisDomAf", None, 2831)
prop._addConstant("isisDomLvl", None, 2828)
prop._addConstant("isisDomPol", None, 4275)
prop._addConstant("isisEntity", None, 2855)
prop._addConstant("isisExtIsRec", None, 2858)
prop._addConstant("isisFmcastTree", None, 2766)
prop._addConstant("isisFtagOifRec", None, 2761)
prop._addConstant("isisFtagTreeStats", None, 2807)
prop._addConstant("isisFtagTreeStats15min", None, 2811)
prop._addConstant("isisFtagTreeStats1d", None, 2815)
prop._addConstant("isisFtagTreeStats1h", None, 2813)
prop._addConstant("isisFtagTreeStats1mo", None, 2819)
prop._addConstant("isisFtagTreeStats1qtr", None, 2821)
prop._addConstant("isisFtagTreeStats1w", None, 2817)
prop._addConstant("isisFtagTreeStats1year", None, 2823)
prop._addConstant("isisFtagTreeStats5min", None, 2809)
prop._addConstant("isisFtagTreeStatsHist", None, 2808)
prop._addConstant("isisFtagTreeStatsHist15min", None, 2812)
prop._addConstant("isisFtagTreeStatsHist1d", None, 2816)
prop._addConstant("isisFtagTreeStatsHist1h", None, 2814)
prop._addConstant("isisFtagTreeStatsHist1mo", None, 2820)
prop._addConstant("isisFtagTreeStatsHist1qtr", None, 2822)
prop._addConstant("isisFtagTreeStatsHist1w", None, 2818)
prop._addConstant("isisFtagTreeStatsHist1year", None, 2824)
prop._addConstant("isisFtagTreeStatsHist5min", None, 2810)
prop._addConstant("isisGr", None, 2833)
prop._addConstant("isisGrpIdRec", None, 2762)
prop._addConstant("isisGrpRec", None, 2760)
prop._addConstant("isisIf", None, 2834)
prop._addConstant("isisIfLvl", None, 2836)
prop._addConstant("isisIfTraffic", None, 2837)
prop._addConstant("isisInst", None, 2856)
prop._addConstant("isisInterLeakP", None, 2863)
prop._addConstant("isisInterLeakPClearLTask", None, 5021)
prop._addConstant("isisInterLeakPClearRslt", None, 5022)
prop._addConstant("isisIntraLeakP", None, 2862)
prop._addConstant("isisIpRec", None, 2860)
prop._addConstant("isisLeakCtrlP", None, 2864)
prop._addConstant("isisLspGen", None, 2829)
prop._addConstant("isisLspRec", None, 2857)
prop._addConstant("isisLvl", None, 2832)
prop._addConstant("isisLvlComp", None, 4276)
prop._addConstant("isisMeshGrp", None, 2835)
prop._addConstant("isisNexthop", None, 2849)
prop._addConstant("isisNodeIdRec", None, 2854)
prop._addConstant("isisNodeRec", None, 2853)
prop._addConstant("isisOifListLeaf", None, 2767)
prop._addConstant("isisOifListSpine", None, 2768)
prop._addConstant("isisOverload", None, 2827)
prop._addConstant("isisPeerIpAddr", None, 2759)
prop._addConstant("isisRoute", None, 2838)
prop._addConstant("isisRsNhAtt", None, 2839)
prop._addConstant("isisRtNhAtt", None, 2840)
prop._addConstant("isisRtPodPGrpIsisDomP", None, 903)
prop._addConstant("isisRtSum", None, 2850)
prop._addConstant("isisSpfComp", None, 2830)
prop._addConstant("isisTlvRec", None, 2859)
prop._addConstant("isisTreeCalcNodeStats", None, 2788)
prop._addConstant("isisTreeCalcNodeStats15min", None, 2792)
prop._addConstant("isisTreeCalcNodeStats1d", None, 2796)
prop._addConstant("isisTreeCalcNodeStats1h", None, 2794)
prop._addConstant("isisTreeCalcNodeStats1mo", None, 2800)
prop._addConstant("isisTreeCalcNodeStats1qtr", None, 2802)
prop._addConstant("isisTreeCalcNodeStats1w", None, 2798)
prop._addConstant("isisTreeCalcNodeStats1year", None, 2804)
prop._addConstant("isisTreeCalcNodeStats5min", None, 2790)
prop._addConstant("isisTreeCalcNodeStatsHist", None, 2789)
prop._addConstant("isisTreeCalcNodeStatsHist15min", None, 2793)
prop._addConstant("isisTreeCalcNodeStatsHist1d", None, 2797)
prop._addConstant("isisTreeCalcNodeStatsHist1h", None, 2795)
prop._addConstant("isisTreeCalcNodeStatsHist1mo", None, 2801)
prop._addConstant("isisTreeCalcNodeStatsHist1qtr", None, 2803)
prop._addConstant("isisTreeCalcNodeStatsHist1w", None, 2799)
prop._addConstant("isisTreeCalcNodeStatsHist1year", None, 2805)
prop._addConstant("isisTreeCalcNodeStatsHist5min", None, 2791)
prop._addConstant("isisTreeCalcStats", None, 2769)
prop._addConstant("isisTreeCalcStats15min", None, 2773)
prop._addConstant("isisTreeCalcStats1d", None, 2777)
prop._addConstant("isisTreeCalcStats1h", None, 2775)
prop._addConstant("isisTreeCalcStats1mo", None, 2781)
prop._addConstant("isisTreeCalcStats1qtr", None, 2783)
prop._addConstant("isisTreeCalcStats1w", None, 2779)
prop._addConstant("isisTreeCalcStats1year", None, 2785)
prop._addConstant("isisTreeCalcStats5min", None, 2771)
prop._addConstant("isisTreeCalcStatsHist", None, 2770)
prop._addConstant("isisTreeCalcStatsHist15min", None, 2774)
prop._addConstant("isisTreeCalcStatsHist1d", None, 2778)
prop._addConstant("isisTreeCalcStatsHist1h", None, 2776)
prop._addConstant("isisTreeCalcStatsHist1mo", None, 2782)
prop._addConstant("isisTreeCalcStatsHist1qtr", None, 2784)
prop._addConstant("isisTreeCalcStatsHist1w", None, 2780)
prop._addConstant("isisTreeCalcStatsHist1year", None, 2786)
prop._addConstant("isisTreeCalcStatsHist5min", None, 2772)
prop._addConstant("isistlvComplex", None, 2841)
prop._addConstant("isistlvIp", None, 2844)
prop._addConstant("isistlvMac", None, 2843)
prop._addConstant("isistlvText", None, 2842)
prop._addConstant("isistlvUByte", None, 2848)
prop._addConstant("isistlvUInt16", None, 2847)
prop._addConstant("isistlvUInt32", None, 2846)
prop._addConstant("isistlvUInt64", None, 2845)
prop._addConstant("l1EeeP", None, 3628)
prop._addConstant("l1EthIf", None, 3614)
prop._addConstant("l1EthIfSetInServiceLTask", None, 5023)
prop._addConstant("l1EthIfSetInServiceRslt", None, 5024)
prop._addConstant("l1If", None, 3613)
prop._addConstant("l1LoadP", None, 3629)
prop._addConstant("l1ObservedEthIf", None, 7099)
prop._addConstant("l1PhysIf", None, 3627)
prop._addConstant("l1PhysIfClearCountersLTask", None, 5250)
prop._addConstant("l1PhysIfClearCountersRslt", None, 5251)
prop._addConstant("l1PhysIfLocateLTask", None, 5025)
prop._addConstant("l1PhysIfLocateRslt", None, 5026)
prop._addConstant("l1PhysIfResetLTask", None, 5027)
prop._addConstant("l1PhysIfResetRslt", None, 5028)
prop._addConstant("l1ProcessNodeAtt", None, 7098)
prop._addConstant("l1ProtAdjEp", None, 3612)
prop._addConstant("l1ProtEntity", None, 3609)
prop._addConstant("l1ProtIf", None, 3611)
prop._addConstant("l1ProtInst", None, 3610)
prop._addConstant("l1RsAttEntityPCons", None, 6148)
prop._addConstant("l1RsCdpIfPolCons", None, 3617)
prop._addConstant("l1RsHIfPolCons", None, 3615)
prop._addConstant("l1RsL2IfPolCons", None, 6144)
prop._addConstant("l1RsLacpIfPolCons", None, 3619)
prop._addConstant("l1RsLldpIfPolCons", None, 3621)
prop._addConstant("l1RsMcpIfPolCons", None, 5955)
prop._addConstant("l1RsMonPolIfPolCons", None, 3623)
prop._addConstant("l1RsQosEgressDppIfPolCons", None, 7857)
prop._addConstant("l1RsQosIngressDppIfPolCons", None, 7855)
prop._addConstant("l1RsStormctrlIfPolCons", None, 5610)
prop._addConstant("l1RsStpIfPolCons", None, 3625)
prop._addConstant("l1RsToObservedEthIf", None, 7100)
prop._addConstant("l1RtBrConf", None, 3405)
prop._addConstant("l1RtEncPhysRtdConf", None, 3769)
prop._addConstant("l1RtEthIf", None, 3388)
prop._addConstant("l1RtExtConf", None, 3402)
prop._addConstant("l1RtInbandConf", None, 3399)
prop._addConstant("l1RtIoPPhysConf", None, 3003)
prop._addConstant("l1RtLocaleToObservedEthIf", None, 7091)
prop._addConstant("l1RtLsNodeToIf", None, 3364)
prop._addConstant("l1RtMbrIfs", None, 3661)
prop._addConstant("l1RtNodePortAtt", None, 1969)
prop._addConstant("l1RtPhysIf", None, 4241)
prop._addConstant("l1RtPhysRtdConf", None, 3763)
prop._addConstant("l1RtSpanSrcToL1IfAtt", None, 2326)
prop._addConstant("l1RtToObservedEthIf", None, 7101)
prop._addConstant("l1RtTunnelMbrIfs", None, 3679)
prop._addConstant("l1StormCtrlP", None, 5612)
prop._addConstant("l1capProv", None, 3630)
prop._addConstant("l1capRule", None, 3631)
prop._addConstant("l2AInstPol", None, 710)
prop._addConstant("l2BD", None, 3377)
prop._addConstant("l2BDClearEpLTask", None, 5029)
prop._addConstant("l2BDClearEpRslt", None, 5030)
prop._addConstant("l2BrIf", None, 3403)
prop._addConstant("l2CktEp", None, 3422)
prop._addConstant("l2Cons", None, 3427)
prop._addConstant("l2Dom", None, 3411)
prop._addConstant("l2DomMbrIf", None, 3406)
prop._addConstant("l2EgrBytes", None, 7382)
prop._addConstant("l2EgrBytes15min", None, 7394)
prop._addConstant("l2EgrBytes1d", None, 7406)
prop._addConstant("l2EgrBytes1h", None, 7400)
prop._addConstant("l2EgrBytes1mo", None, 7418)
prop._addConstant("l2EgrBytes1qtr", None, 7424)
prop._addConstant("l2EgrBytes1w", None, 7412)
prop._addConstant("l2EgrBytes1year", None, 7430)
prop._addConstant("l2EgrBytes5min", None, 7388)
prop._addConstant("l2EgrBytesAg", None, 7386)
prop._addConstant("l2EgrBytesAg15min", None, 7398)
prop._addConstant("l2EgrBytesAg1d", None, 7410)
prop._addConstant("l2EgrBytesAg1h", None, 7404)
prop._addConstant("l2EgrBytesAg1mo", None, 7422)
prop._addConstant("l2EgrBytesAg1qtr", None, 7428)
prop._addConstant("l2EgrBytesAg1w", None, 7416)
prop._addConstant("l2EgrBytesAg1year", None, 7434)
prop._addConstant("l2EgrBytesAg5min", None, 7392)
prop._addConstant("l2EgrBytesAgHist", None, 7387)
prop._addConstant("l2EgrBytesAgHist15min", None, 7399)
prop._addConstant("l2EgrBytesAgHist1d", None, 7411)
prop._addConstant("l2EgrBytesAgHist1h", None, 7405)
prop._addConstant("l2EgrBytesAgHist1mo", None, 7423)
prop._addConstant("l2EgrBytesAgHist1qtr", None, 7429)
prop._addConstant("l2EgrBytesAgHist1w", None, 7417)
prop._addConstant("l2EgrBytesAgHist1year", None, 7435)
prop._addConstant("l2EgrBytesAgHist5min", None, 7393)
prop._addConstant("l2EgrBytesHist", None, 7383)
prop._addConstant("l2EgrBytesHist15min", None, 7395)
prop._addConstant("l2EgrBytesHist1d", None, 7407)
prop._addConstant("l2EgrBytesHist1h", None, 7401)
prop._addConstant("l2EgrBytesHist1mo", None, 7419)
prop._addConstant("l2EgrBytesHist1qtr", None, 7425)
prop._addConstant("l2EgrBytesHist1w", None, 7413)
prop._addConstant("l2EgrBytesHist1year", None, 7431)
prop._addConstant("l2EgrBytesHist5min", None, 7389)
prop._addConstant("l2EgrBytesPart", None, 7384)
prop._addConstant("l2EgrBytesPart15min", None, 7396)
prop._addConstant("l2EgrBytesPart1d", None, 7408)
prop._addConstant("l2EgrBytesPart1h", None, 7402)
prop._addConstant("l2EgrBytesPart1mo", None, 7420)
prop._addConstant("l2EgrBytesPart1qtr", None, 7426)
prop._addConstant("l2EgrBytesPart1w", None, 7414)
prop._addConstant("l2EgrBytesPart1year", None, 7432)
prop._addConstant("l2EgrBytesPart5min", None, 7390)
prop._addConstant("l2EgrBytesPartHist", None, 7385)
prop._addConstant("l2EgrBytesPartHist15min", None, 7397)
prop._addConstant("l2EgrBytesPartHist1d", None, 7409)
prop._addConstant("l2EgrBytesPartHist1h", None, 7403)
prop._addConstant("l2EgrBytesPartHist1mo", None, 7421)
prop._addConstant("l2EgrBytesPartHist1qtr", None, 7427)
prop._addConstant("l2EgrBytesPartHist1w", None, 7415)
prop._addConstant("l2EgrBytesPartHist1year", None, 7433)
prop._addConstant("l2EgrBytesPartHist5min", None, 7391)
prop._addConstant("l2EgrPkts", None, 7328)
prop._addConstant("l2EgrPkts15min", None, 7340)
prop._addConstant("l2EgrPkts1d", None, 7352)
prop._addConstant("l2EgrPkts1h", None, 7346)
prop._addConstant("l2EgrPkts1mo", None, 7364)
prop._addConstant("l2EgrPkts1qtr", None, 7370)
prop._addConstant("l2EgrPkts1w", None, 7358)
prop._addConstant("l2EgrPkts1year", None, 7376)
prop._addConstant("l2EgrPkts5min", None, 7334)
prop._addConstant("l2EgrPktsAg", None, 7332)
prop._addConstant("l2EgrPktsAg15min", None, 7344)
prop._addConstant("l2EgrPktsAg1d", None, 7356)
prop._addConstant("l2EgrPktsAg1h", None, 7350)
prop._addConstant("l2EgrPktsAg1mo", None, 7368)
prop._addConstant("l2EgrPktsAg1qtr", None, 7374)
prop._addConstant("l2EgrPktsAg1w", None, 7362)
prop._addConstant("l2EgrPktsAg1year", None, 7380)
prop._addConstant("l2EgrPktsAg5min", None, 7338)
prop._addConstant("l2EgrPktsAgHist", None, 7333)
prop._addConstant("l2EgrPktsAgHist15min", None, 7345)
prop._addConstant("l2EgrPktsAgHist1d", None, 7357)
prop._addConstant("l2EgrPktsAgHist1h", None, 7351)
prop._addConstant("l2EgrPktsAgHist1mo", None, 7369)
prop._addConstant("l2EgrPktsAgHist1qtr", None, 7375)
prop._addConstant("l2EgrPktsAgHist1w", None, 7363)
prop._addConstant("l2EgrPktsAgHist1year", None, 7381)
prop._addConstant("l2EgrPktsAgHist5min", None, 7339)
prop._addConstant("l2EgrPktsHist", None, 7329)
prop._addConstant("l2EgrPktsHist15min", None, 7341)
prop._addConstant("l2EgrPktsHist1d", None, 7353)
prop._addConstant("l2EgrPktsHist1h", None, 7347)
prop._addConstant("l2EgrPktsHist1mo", None, 7365)
prop._addConstant("l2EgrPktsHist1qtr", None, 7371)
prop._addConstant("l2EgrPktsHist1w", None, 7359)
prop._addConstant("l2EgrPktsHist1year", None, 7377)
prop._addConstant("l2EgrPktsHist5min", None, 7335)
prop._addConstant("l2EgrPktsPart", None, 7330)
prop._addConstant("l2EgrPktsPart15min", None, 7342)
prop._addConstant("l2EgrPktsPart1d", None, 7354)
prop._addConstant("l2EgrPktsPart1h", None, 7348)
prop._addConstant("l2EgrPktsPart1mo", None, 7366)
prop._addConstant("l2EgrPktsPart1qtr", None, 7372)
prop._addConstant("l2EgrPktsPart1w", None, 7360)
prop._addConstant("l2EgrPktsPart1year", None, 7378)
prop._addConstant("l2EgrPktsPart5min", None, 7336)
prop._addConstant("l2EgrPktsPartHist", None, 7331)
prop._addConstant("l2EgrPktsPartHist15min", None, 7343)
prop._addConstant("l2EgrPktsPartHist1d", None, 7355)
prop._addConstant("l2EgrPktsPartHist1h", None, 7349)
prop._addConstant("l2EgrPktsPartHist1mo", None, 7367)
prop._addConstant("l2EgrPktsPartHist1qtr", None, 7373)
prop._addConstant("l2EgrPktsPartHist1w", None, 7361)
prop._addConstant("l2EgrPktsPartHist1year", None, 7379)
prop._addConstant("l2EgrPktsPartHist5min", None, 7337)
prop._addConstant("l2EncapCons", None, 6220)
prop._addConstant("l2EncapRef", None, 3419)
prop._addConstant("l2EncapUni", None, 3418)
prop._addConstant("l2EpRetPol", None, 3382)
prop._addConstant("l2EpScanInfo", None, 7472)
prop._addConstant("l2ExtIf", None, 3400)
prop._addConstant("l2If", None, 3396)
prop._addConstant("l2IfPol", None, 6140)
prop._addConstant("l2InbandIf", None, 3397)
prop._addConstant("l2IngrBytes", None, 3494)
prop._addConstant("l2IngrBytes15min", None, 3506)
prop._addConstant("l2IngrBytes1d", None, 3518)
prop._addConstant("l2IngrBytes1h", None, 3512)
prop._addConstant("l2IngrBytes1mo", None, 3530)
prop._addConstant("l2IngrBytes1qtr", None, 3536)
prop._addConstant("l2IngrBytes1w", None, 3524)
prop._addConstant("l2IngrBytes1year", None, 3542)
prop._addConstant("l2IngrBytes5min", None, 3500)
prop._addConstant("l2IngrBytesAg", None, 3498)
prop._addConstant("l2IngrBytesAg15min", None, 3510)
prop._addConstant("l2IngrBytesAg1d", None, 3522)
prop._addConstant("l2IngrBytesAg1h", None, 3516)
prop._addConstant("l2IngrBytesAg1mo", None, 3534)
prop._addConstant("l2IngrBytesAg1qtr", None, 3540)
prop._addConstant("l2IngrBytesAg1w", None, 3528)
prop._addConstant("l2IngrBytesAg1year", None, 3546)
prop._addConstant("l2IngrBytesAg5min", None, 3504)
prop._addConstant("l2IngrBytesAgHist", None, 3499)
prop._addConstant("l2IngrBytesAgHist15min", None, 3511)
prop._addConstant("l2IngrBytesAgHist1d", None, 3523)
prop._addConstant("l2IngrBytesAgHist1h", None, 3517)
prop._addConstant("l2IngrBytesAgHist1mo", None, 3535)
prop._addConstant("l2IngrBytesAgHist1qtr", None, 3541)
prop._addConstant("l2IngrBytesAgHist1w", None, 3529)
prop._addConstant("l2IngrBytesAgHist1year", None, 3547)
prop._addConstant("l2IngrBytesAgHist5min", None, 3505)
prop._addConstant("l2IngrBytesHist", None, 3495)
prop._addConstant("l2IngrBytesHist15min", None, 3507)
prop._addConstant("l2IngrBytesHist1d", None, 3519)
prop._addConstant("l2IngrBytesHist1h", None, 3513)
prop._addConstant("l2IngrBytesHist1mo", None, 3531)
prop._addConstant("l2IngrBytesHist1qtr", None, 3537)
prop._addConstant("l2IngrBytesHist1w", None, 3525)
prop._addConstant("l2IngrBytesHist1year", None, 3543)
prop._addConstant("l2IngrBytesHist5min", None, 3501)
prop._addConstant("l2IngrBytesPart", None, 3496)
prop._addConstant("l2IngrBytesPart15min", None, 3508)
prop._addConstant("l2IngrBytesPart1d", None, 3520)
prop._addConstant("l2IngrBytesPart1h", None, 3514)
prop._addConstant("l2IngrBytesPart1mo", None, 3532)
prop._addConstant("l2IngrBytesPart1qtr", None, 3538)
prop._addConstant("l2IngrBytesPart1w", None, 3526)
prop._addConstant("l2IngrBytesPart1year", None, 3544)
prop._addConstant("l2IngrBytesPart5min", None, 3502)
prop._addConstant("l2IngrBytesPartHist", None, 3497)
prop._addConstant("l2IngrBytesPartHist15min", None, 3509)
prop._addConstant("l2IngrBytesPartHist1d", None, 3521)
prop._addConstant("l2IngrBytesPartHist1h", None, 3515)
prop._addConstant("l2IngrBytesPartHist1mo", None, 3533)
prop._addConstant("l2IngrBytesPartHist1qtr", None, 3539)
prop._addConstant("l2IngrBytesPartHist1w", None, 3527)
prop._addConstant("l2IngrBytesPartHist1year", None, 3545)
prop._addConstant("l2IngrBytesPartHist5min", None, 3503)
prop._addConstant("l2IngrPkts", None, 3439)
prop._addConstant("l2IngrPkts15min", None, 3451)
prop._addConstant("l2IngrPkts1d", None, 3463)
prop._addConstant("l2IngrPkts1h", None, 3457)
prop._addConstant("l2IngrPkts1mo", None, 3475)
prop._addConstant("l2IngrPkts1qtr", None, 3481)
prop._addConstant("l2IngrPkts1w", None, 3469)
prop._addConstant("l2IngrPkts1year", None, 3487)
prop._addConstant("l2IngrPkts5min", None, 3445)
prop._addConstant("l2IngrPktsAg", None, 3443)
prop._addConstant("l2IngrPktsAg15min", None, 3455)
prop._addConstant("l2IngrPktsAg1d", None, 3467)
prop._addConstant("l2IngrPktsAg1h", None, 3461)
prop._addConstant("l2IngrPktsAg1mo", None, 3479)
prop._addConstant("l2IngrPktsAg1qtr", None, 3485)
prop._addConstant("l2IngrPktsAg1w", None, 3473)
prop._addConstant("l2IngrPktsAg1year", None, 3491)
prop._addConstant("l2IngrPktsAg5min", None, 3449)
prop._addConstant("l2IngrPktsAgHist", None, 3444)
prop._addConstant("l2IngrPktsAgHist15min", None, 3456)
prop._addConstant("l2IngrPktsAgHist1d", None, 3468)
prop._addConstant("l2IngrPktsAgHist1h", None, 3462)
prop._addConstant("l2IngrPktsAgHist1mo", None, 3480)
prop._addConstant("l2IngrPktsAgHist1qtr", None, 3486)
prop._addConstant("l2IngrPktsAgHist1w", None, 3474)
prop._addConstant("l2IngrPktsAgHist1year", None, 3492)
prop._addConstant("l2IngrPktsAgHist5min", None, 3450)
prop._addConstant("l2IngrPktsHist", None, 3440)
prop._addConstant("l2IngrPktsHist15min", None, 3452)
prop._addConstant("l2IngrPktsHist1d", None, 3464)
prop._addConstant("l2IngrPktsHist1h", None, 3458)
prop._addConstant("l2IngrPktsHist1mo", None, 3476)
prop._addConstant("l2IngrPktsHist1qtr", None, 3482)
prop._addConstant("l2IngrPktsHist1w", None, 3470)
prop._addConstant("l2IngrPktsHist1year", None, 3488)
prop._addConstant("l2IngrPktsHist5min", None, 3446)
prop._addConstant("l2IngrPktsPart", None, 3441)
prop._addConstant("l2IngrPktsPart15min", None, 3453)
prop._addConstant("l2IngrPktsPart1d", None, 3465)
prop._addConstant("l2IngrPktsPart1h", None, 3459)
prop._addConstant("l2IngrPktsPart1mo", None, 3477)
prop._addConstant("l2IngrPktsPart1qtr", None, 3483)
prop._addConstant("l2IngrPktsPart1w", None, 3471)
prop._addConstant("l2IngrPktsPart1year", None, 3489)
prop._addConstant("l2IngrPktsPart5min", None, 3447)
prop._addConstant("l2IngrPktsPartHist", None, 3442)
prop._addConstant("l2IngrPktsPartHist15min", None, 3454)
prop._addConstant("l2IngrPktsPartHist1d", None, 3466)
prop._addConstant("l2IngrPktsPartHist1h", None, 3460)
prop._addConstant("l2IngrPktsPartHist1mo", None, 3478)
prop._addConstant("l2IngrPktsPartHist1qtr", None, 3484)
prop._addConstant("l2IngrPktsPartHist1w", None, 3472)
prop._addConstant("l2IngrPktsPartHist1year", None, 3490)
prop._addConstant("l2IngrPktsPartHist5min", None, 3448)
prop._addConstant("l2InstPol", None, 711)
prop._addConstant("l2InstPolDef", None, 712)
prop._addConstant("l2LPort", None, 3410)
prop._addConstant("l2MacCktEp", None, 6903)
prop._addConstant("l2MacEp", None, 3409)
prop._addConstant("l2ProtAdjEp", None, 3389)
prop._addConstant("l2ProtDom", None, 3385)
prop._addConstant("l2ProtEntity", None, 3383)
prop._addConstant("l2ProtIf", None, 3386)
prop._addConstant("l2ProtInst", None, 3384)
prop._addConstant("l2RsBrConf", None, 3404)
prop._addConstant("l2RsDot1pRuleAtt", None, 3425)
prop._addConstant("l2RsDscpRuleAtt", None, 3423)
prop._addConstant("l2RsEthIf", None, 3387)
prop._addConstant("l2RsExtBD", None, 3380)
prop._addConstant("l2RsExtConf", None, 3401)
prop._addConstant("l2RsInbandConf", None, 3398)
prop._addConstant("l2RsMacBaseEppAtt", None, 8012)
prop._addConstant("l2RsMacEppAtt", None, 8010)
prop._addConstant("l2RsPathDomAtt", None, 3412)
prop._addConstant("l2RtAeCtrlrL2InstPol", None, 664)
prop._addConstant("l2RtDefaultL2InstPol", None, 2144)
prop._addConstant("l2RtDomIfConn", None, 5187)
prop._addConstant("l2RtEPgDefToL2Dom", None, 5196)
prop._addConstant("l2RtEpDefRefToL2MacEp", None, 5545)
prop._addConstant("l2RtL2IfPol", None, 6142)
prop._addConstant("l2RtL2IfPolCons", None, 6145)
prop._addConstant("l2RtL2InstPol", None, 4389)
prop._addConstant("l2RtResL2InstPol", None, 770)
prop._addConstant("l2RtSpanSrcToL2CktEpAtt", None, 2329)
prop._addConstant("l2capProv", None, 3408)
prop._addConstant("l2capRule", None, 3407)
prop._addConstant("l2extADomP", None, 1743)
prop._addConstant("l2extAIfP", None, 1752)
prop._addConstant("l2extAInstPSubnet", None, 1759)
prop._addConstant("l2extALNodeP", None, 1749)
prop._addConstant("l2extDomDef", None, 1745)
prop._addConstant("l2extDomP", None, 1744)
prop._addConstant("l2extInstP", None, 1746)
prop._addConstant("l2extLIfP", None, 1753)
prop._addConstant("l2extLIfPDef", None, 1756)
prop._addConstant("l2extLNodeP", None, 1750)
prop._addConstant("l2extLNodePDef", None, 1751)
prop._addConstant("l2extOut", None, 1738)
prop._addConstant("l2extRsEBd", None, 1741)
prop._addConstant("l2extRsL2DomAtt", None, 1739)
prop._addConstant("l2extRsL2InstPToDomP", None, 1747)
prop._addConstant("l2extRsPathDefL2OutAtt", None, 1757)
prop._addConstant("l2extRsPathL2OutAtt", None, 1754)
prop._addConstant("l2extRtL2DomAtt", None, 1740)
prop._addConstant("l2extRtL2InstPToDomP", None, 1748)
prop._addConstant("l3Cons", None, 7648)
prop._addConstant("l3Ctx", None, 3750)
prop._addConstant("l3CtxClearEpLTask", None, 5031)
prop._addConstant("l3CtxClearEpRslt", None, 5032)
prop._addConstant("l3Db", None, 3746)
prop._addConstant("l3DbRec", None, 3748)
prop._addConstant("l3Dom", None, 3770)
prop._addConstant("l3DomMbrIf", None, 3764)
prop._addConstant("l3EncRtdIf", None, 3767)
prop._addConstant("l3EncRtdIfClearCountersLTask", None, 5252)
prop._addConstant("l3EncRtdIfClearCountersRslt", None, 5253)
prop._addConstant("l3FwdCtx", None, 5926)
prop._addConstant("l3If", None, 3758)
prop._addConstant("l3Inst", None, 3753)
prop._addConstant("l3InstClearEpLTask", None, 5033)
prop._addConstant("l3InstClearEpRslt", None, 5034)
prop._addConstant("l3IpCktEp", None, 6904)
prop._addConstant("l3IpEp", None, 6607)
prop._addConstant("l3LbRtdIf", None, 3787)
prop._addConstant("l3LbRtdIfClearCountersLTask", None, 5254)
prop._addConstant("l3LbRtdIfClearCountersRslt", None, 5255)
prop._addConstant("l3ProtAdjEp", None, 3745)
prop._addConstant("l3ProtDb", None, 3747)
prop._addConstant("l3ProtDbRec", None, 3749)
prop._addConstant("l3ProtDom", None, 3742)
prop._addConstant("l3ProtEntity", None, 3740)
prop._addConstant("l3ProtIf", None, 3744)
prop._addConstant("l3ProtInst", None, 3741)
prop._addConstant("l3ProtNode", None, 3743)
prop._addConstant("l3RsCtxToEpP", None, 3751)
prop._addConstant("l3RsEncPhysRtdConf", None, 3768)
prop._addConstant("l3RsIpEppAtt", None, 7075)
prop._addConstant("l3RsL3If", None, 3759)
prop._addConstant("l3RsLbIfToLocale", None, 3790)
prop._addConstant("l3RsLbIfToOutRef", None, 5333)
prop._addConstant("l3RsPhysRtdConf", None, 3762)
prop._addConstant("l3RsProtLbIf", None, 3788)
prop._addConstant("l3RtEPgDefToL3Dom", None, 5194)
prop._addConstant("l3RtPseudoIf", None, 2689)
prop._addConstant("l3RtTenConn", None, 2489)
prop._addConstant("l3RtUserCtx", None, 4110)
prop._addConstant("l3RtdIf", None, 3761)
prop._addConstant("l3capProv", None, 3766)
prop._addConstant("l3capRule", None, 3765)
prop._addConstant("l3extADefaultRouteLeakP", None, 5896)
prop._addConstant("l3extADomP", None, 1778)
prop._addConstant("l3extAExtEncapAllocator", None, 1804)
prop._addConstant("l3extAIfP", None, 1788)
prop._addConstant("l3extAInstPSubnet", None, 1798)
prop._addConstant("l3extAIp", None, 6082)
prop._addConstant("l3extALNodeP", None, 1781)
prop._addConstant("l3extAMember", None, 1795)
prop._addConstant("l3extAOutRefSrc", None, 7927)
prop._addConstant("l3extAOutRefSrcCont", None, 7926)
prop._addConstant("l3extARouteTagPol", None, 6234)
prop._addConstant("l3extBgpPeerSrc", None, 7933)
prop._addConstant("l3extBgpPeerSrcCont", None, 7932)
prop._addConstant("l3extConfigOutDef", None, 6139)
prop._addConstant("l3extCons", None, 5332)
prop._addConstant("l3extCtxExtEncapAllocator", None, 7532)
prop._addConstant("l3extCtxRef", None, 7477)
prop._addConstant("l3extCtxUpdater", None, 7534)
prop._addConstant("l3extCtxUpdaterTask", None, 7535)
prop._addConstant("l3extDampeningPolSrc", None, 8692)
prop._addConstant("l3extDampeningPolSrcCont", None, 8691)
prop._addConstant("l3extDefRtLeakCriteriaSrc", None, 7939)
prop._addConstant("l3extDefRtLeakCriteriaSrcCont", None, 7938)
prop._addConstant("l3extDefRtLeakScopeSrc", None, 7937)
prop._addConstant("l3extDefRtLeakScopeSrcCont", None, 7936)
prop._addConstant("l3extDefaultRouteLeakDef", None, 5898)
prop._addConstant("l3extDefaultRouteLeakP", None, 5897)
prop._addConstant("l3extDepPolState", None, 7925)
prop._addConstant("l3extDomDef", None, 1780)
prop._addConstant("l3extDomP", None, 1779)
prop._addConstant("l3extEigrpPolSrc", None, 7941)
prop._addConstant("l3extEigrpPolSrcCont", None, 7940)
prop._addConstant("l3extEncapLocale", None, 1807)
prop._addConstant("l3extEncapLocaleContext", None, 5173)
prop._addConstant("l3extEncapRequestor", None, 7533)
prop._addConstant("l3extException", None, 1803)
prop._addConstant("l3extExtEncapAllocator", None, 1805)
prop._addConstant("l3extExtEncapDef", None, 1806)
prop._addConstant("l3extInstP", None, 1775)
prop._addConstant("l3extInstPDef", None, 5987)
prop._addConstant("l3extInterleakPolSrc", None, 8031)
prop._addConstant("l3extInterleakPolSrcCont", None, 8030)
prop._addConstant("l3extIp", None, 6083)
prop._addConstant("l3extIpDef", None, 6084)
prop._addConstant("l3extLIfP", None, 1789)
prop._addConstant("l3extLIfPDef", None, 1792)
prop._addConstant("l3extLNodeP", None, 1782)
prop._addConstant("l3extLNodePDef", None, 1785)
prop._addConstant("l3extLoopBackIfP", None, 5988)
prop._addConstant("l3extLoopBackIfPDef", None, 6370)
prop._addConstant("l3extMember", None, 1796)
prop._addConstant("l3extMemberDef", None, 1797)
prop._addConstant("l3extOspfAreaIdSrc", None, 7931)
prop._addConstant("l3extOspfAreaIdSrcCont", None, 7930)
prop._addConstant("l3extOspfRoleSrc", None, 7929)
prop._addConstant("l3extOspfRoleSrcCont", None, 7928)
prop._addConstant("l3extOut", None, 1770)
prop._addConstant("l3extOutDef", None, 5986)
prop._addConstant("l3extOutRef", None, 5331)
prop._addConstant("l3extPolRefCont", None, 5330)
prop._addConstant("l3extRequestedBy", None, 7910)
prop._addConstant("l3extRouteTagDef", None, 6236)
prop._addConstant("l3extRouteTagPol", None, 6235)
prop._addConstant("l3extRouterIdSrc", None, 7935)
prop._addConstant("l3extRouterIdSrcCont", None, 7934)
prop._addConstant("l3extRsBgpAsP", None, 6271)
prop._addConstant("l3extRsDampeningPol", None, 8043)
prop._addConstant("l3extRsEctx", None, 1771)
prop._addConstant("l3extRsEgressQosDppPol", None, 7849)
prop._addConstant("l3extRsIngressQosDppPol", None, 7847)
prop._addConstant("l3extRsInstPToNatMappingEPg", None, 7494)
prop._addConstant("l3extRsInstPToProfile", None, 5935)
prop._addConstant("l3extRsInterleakPol", None, 8032)
prop._addConstant("l3extRsL3DomAtt", None, 1773)
prop._addConstant("l3extRsL3InstPToDomP", None, 1776)
prop._addConstant("l3extRsNdIfPol", None, 6119)
prop._addConstant("l3extRsNodeDefL3OutAtt", None, 1786)
prop._addConstant("l3extRsNodeL3OutAtt", None, 1783)
prop._addConstant("l3extRsOutToBDPublicSubnetHolder", None, 6844)
prop._addConstant("l3extRsPathDefL3OutAtt", None, 1793)
prop._addConstant("l3extRsPathL3OutAtt", None, 1790)
prop._addConstant("l3extRsSubnetToProfile", None, 1799)
prop._addConstant("l3extRsSubnetToRtSumm", None, 8039)
prop._addConstant("l3extRtAddrToIpDef", None, 6081)
prop._addConstant("l3extRtBDSubnetToOut", None, 1836)
prop._addConstant("l3extRtBDToOut", None, 1884)
prop._addConstant("l3extRtCtxToExtRouteTagPol", None, 6251)
prop._addConstant("l3extRtEppExtRouteTagPol", None, 6238)
prop._addConstant("l3extRtLIfCtxToOut", None, 5990)
prop._addConstant("l3extRtLIfCtxToOutTask", None, 6002)
prop._addConstant("l3extRtLbIfToOutRef", None, 5334)
prop._addConstant("l3extSubnet", None, 1801)
prop._addConstant("l3extSubnetDef", None, 1802)
prop._addConstant("l3vmEntity", None, 3754)
prop._addConstant("l3vmInst", None, 3755)
prop._addConstant("l3vmTbl", None, 3756)
prop._addConstant("l4AVxlanInstPol", None, 5597)
prop._addConstant("l4VxlanInstPol", None, 5598)
prop._addConstant("l4VxlanInstPolDef", None, 5599)
prop._addConstant("lacpALagPol", None, 151)
prop._addConstant("lacpAdjEp", None, 2535)
prop._addConstant("lacpEntity", None, 2538)
prop._addConstant("lacpIf", None, 2537)
prop._addConstant("lacpIfPol", None, 154)
prop._addConstant("lacpIfStats", None, 2536)
prop._addConstant("lacpInst", None, 2539)
prop._addConstant("lacpLagPol", None, 152)
prop._addConstant("lacpLagPolDef", None, 153)
prop._addConstant("lacpLagPolDefTask", None, 5159)
prop._addConstant("lacpRtDefaultLacpLagPol", None, 5267)
prop._addConstant("lacpRtLacpIfPol", None, 4418)
prop._addConstant("lacpRtLacpIfPolCons", None, 3620)
prop._addConstant("lacpRtLacpInterfacePol", None, 7474)
prop._addConstant("lacpRtLacpPol", None, 4408)
prop._addConstant("lacpRtLacpPolCons", None, 3667)
prop._addConstant("lacpRtOverrideLacpPol", None, 4459)
prop._addConstant("lacpRtResLacpIfPol", None, 4426)
prop._addConstant("lacpRtResLacpLagPol", None, 4430)
prop._addConstant("lacpRtVswitchOverrideLacpPol", None, 7788)
prop._addConstant("lbpPol", None, 1808)
prop._addConstant("lbpRtResLbPol", None, 716)
prop._addConstant("leqptLooseNode", None, 3362)
prop._addConstant("leqptLooseNodeTask", None, 5073)
prop._addConstant("leqptRsLsAttLink", None, 3365)
prop._addConstant("leqptRsLsNodeToIf", None, 3363)
prop._addConstant("leqptRtEpDefToLooseNode", None, 5302)
prop._addConstant("leqptRtLsNodeAtt", None, 1966)
prop._addConstant("leqptRtTunnelToLooseNode", None, 3681)
prop._addConstant("lldpAIfPol", None, 690)
prop._addConstant("lldpAddr", None, 2731)
prop._addConstant("lldpAdjEp", None, 2728)
prop._addConstant("lldpAdjStats", None, 2751)
prop._addConstant("lldpCtrlrAdjEp", None, 2729)
prop._addConstant("lldpCtrlrAdjEpTask", None, 7608)
prop._addConstant("lldpEntity", None, 2752)
prop._addConstant("lldpIf", None, 2741)
prop._addConstant("lldpIfPol", None, 691)
prop._addConstant("lldpIfPolDef", None, 692)
prop._addConstant("lldpIfSendTask", None, 2742)
prop._addConstant("lldpIfSendTaskTask", None, 5075)
prop._addConstant("lldpIfStats", None, 2730)
prop._addConstant("lldpIfTask", None, 5074)
prop._addConstant("lldpInst", None, 2753)
prop._addConstant("lldpInstPol", None, 689)
prop._addConstant("lldpInstSendTask", None, 2756)
prop._addConstant("lldpInstSendTaskTask", None, 5540)
prop._addConstant("lldpInstStats", None, 2757)
prop._addConstant("lldpMgmtAddr", None, 2732)
prop._addConstant("lldpRsCtrlrAdjEpToStAdjEp", None, 5494)
prop._addConstant("lldpRsLldpInstPolCons", None, 2754)
prop._addConstant("lldpRtDefaultLldpIfPol", None, 2140)
prop._addConstant("lldpRtLldpIfPol", None, 4391)
prop._addConstant("lldpRtLldpIfPolCons", None, 3622)
prop._addConstant("lldpRtLldpInstPolCons", None, 2755)
prop._addConstant("lldpRtOverrideLldpIfPol", None, 4455)
prop._addConstant("lldpRtResLldpIfPol", None, 4424)
prop._addConstant("lldpRtResLldpInstPol", None, 714)
prop._addConstant("lldpRtVswitchOverrideLldpIfPol", None, 7782)
prop._addConstant("lldptlvComplex", None, 2743)
prop._addConstant("lldptlvIp", None, 2746)
prop._addConstant("lldptlvMac", None, 2745)
prop._addConstant("lldptlvText", None, 2744)
prop._addConstant("lldptlvUByte", None, 2750)
prop._addConstant("lldptlvUInt16", None, 2749)
prop._addConstant("lldptlvUInt32", None, 2748)
prop._addConstant("lldptlvUInt64", None, 2747)
prop._addConstant("lldptlvpolComplex", None, 2733)
prop._addConstant("lldptlvpolIp", None, 2736)
prop._addConstant("lldptlvpolMac", None, 2735)
prop._addConstant("lldptlvpolText", None, 2734)
prop._addConstant("lldptlvpolUByte", None, 2740)
prop._addConstant("lldptlvpolUInt16", None, 2739)
prop._addConstant("lldptlvpolUInt32", None, 2738)
prop._addConstant("lldptlvpolUInt64", None, 2737)
prop._addConstant("maintAMaintP", None, 366)
prop._addConstant("maintCatMaintP", None, 391)
prop._addConstant("maintCatUpgJob", None, 383)
prop._addConstant("maintCtrlrMaintP", None, 390)
prop._addConstant("maintEmailNotif", None, 376)
prop._addConstant("maintLocalInstall", None, 343)
prop._addConstant("maintMaintGrp", None, 378)
prop._addConstant("maintMaintP", None, 367)
prop._addConstant("maintMaintPOnD", None, 368)
prop._addConstant("maintMaintTrig", None, 381)
prop._addConstant("maintNodeInMaint", None, 389)
prop._addConstant("maintNodeInMaintTask", None, 5056)
prop._addConstant("maintPodMaintGrp", None, 7023)
prop._addConstant("maintRsFwinstlsrc", None, 369)
prop._addConstant("maintRsMgrpp", None, 379)
prop._addConstant("maintRsPolCatalogScheduler", None, 394)
prop._addConstant("maintRsPolCtrlrScheduler", None, 392)
prop._addConstant("maintRsPolNotif", None, 373)
prop._addConstant("maintRsPolScheduler", None, 371)
prop._addConstant("maintRsReltomaintp", None, 5575)
prop._addConstant("maintRsToMaintGrp", None, 7024)
prop._addConstant("maintRsWindowStarted", None, 384)
prop._addConstant("maintRtAecatmaintp", None, 662)
prop._addConstant("maintRtAectrlrmaintp", None, 658)
prop._addConstant("maintRtMaintpol", None, 6247)
prop._addConstant("maintRtMgrpp", None, 380)
prop._addConstant("maintRtPolNotif", None, 374)
prop._addConstant("maintRtReltomaintp", None, 5576)
prop._addConstant("maintRtToMaintGrp", None, 7025)
prop._addConstant("maintTextNotif", None, 377)
prop._addConstant("maintUpgJob", None, 382)
prop._addConstant("maintUpgJobFault", None, 5712)
prop._addConstant("maintUpgJobInstallLTask", None, 5035)
prop._addConstant("maintUpgStatus", None, 388)
prop._addConstant("maintUpgStatusCont", None, 386)
prop._addConstant("maintUpgWindowStats", None, 387)
prop._addConstant("maintUserNotif", None, 375)
prop._addConstant("mcastGrp", None, 3733)
prop._addConstant("mcastOif", None, 3735)
prop._addConstant("mcastTree", None, 3734)
prop._addConstant("mcpAIfPol", None, 5719)
prop._addConstant("mcpEntity", None, 2562)
prop._addConstant("mcpIf", None, 2561)
prop._addConstant("mcpIfPol", None, 5720)
prop._addConstant("mcpInst", None, 2563)
prop._addConstant("mcpInstPol", None, 5718)
prop._addConstant("mcpRsMcpInstPolCons", None, 6017)
prop._addConstant("mcpRtMcpIfPol", None, 5879)
prop._addConstant("mcpRtMcpIfPolCons", None, 5956)
prop._addConstant("mcpRtMcpInstPolCons", None, 6018)
prop._addConstant("mcpRtOverrideMcpIfPol", None, 5883)
prop._addConstant("mcpRtResMcpIfPol", None, 5881)
prop._addConstant("mcpRtResMcpInstPol", None, 6067)
prop._addConstant("mcpRtToMcpIfPol", None, 7093)
prop._addConstant("mcpRtToMcpInstPol", None, 7095)
prop._addConstant("mcpRtVswitchOverrideMcpIfPol", None, 7786)
prop._addConstant("mgmtAInstPSubnet", None, 2187)
prop._addConstant("mgmtAIp", None, 8027)
prop._addConstant("mgmtANodeDef", None, 5623)
prop._addConstant("mgmtAZone", None, 2170)
prop._addConstant("mgmtAddrCont", None, 6652)
prop._addConstant("mgmtAddrProv", None, 6654)
prop._addConstant("mgmtCollectionCont", None, 2199)
prop._addConstant("mgmtCollectionContTask", None, 5105)
prop._addConstant("mgmtConfigAddr", None, 6653)
prop._addConstant("mgmtConfigNode", None, 6927)
prop._addConstant("mgmtEffNodeDef", None, 6211)
prop._addConstant("mgmtExtMgmtEntity", None, 2182)
prop._addConstant("mgmtGrp", None, 2169)
prop._addConstant("mgmtInB", None, 2194)
prop._addConstant("mgmtInBZone", None, 2176)
prop._addConstant("mgmtInBZoneTask", None, 5106)
prop._addConstant("mgmtInstP", None, 2183)
prop._addConstant("mgmtInstPDef", None, 2186)
prop._addConstant("mgmtInstPTask", None, 5269)
prop._addConstant("mgmtIp", None, 8028)
prop._addConstant("mgmtIpDef", None, 8029)
prop._addConstant("mgmtMgmtIf", None, 3633)
prop._addConstant("mgmtMgmtIfClearCountersLTask", None, 5256)
prop._addConstant("mgmtMgmtIfClearCountersRslt", None, 5257)
prop._addConstant("mgmtMgmtP", None, 2190)
prop._addConstant("mgmtNodeDef", None, 2198)
prop._addConstant("mgmtNodeGrp", None, 2179)
prop._addConstant("mgmtOoB", None, 2191)
prop._addConstant("mgmtOoBTask", None, 5107)
prop._addConstant("mgmtOoBZone", None, 2173)
prop._addConstant("mgmtOoBZoneTask", None, 5108)
prop._addConstant("mgmtPodGrp", None, 7039)
prop._addConstant("mgmtRsAddrInst", None, 2171)
prop._addConstant("mgmtRsGrp", None, 2180)
prop._addConstant("mgmtRsInB", None, 7666)
prop._addConstant("mgmtRsInBStNode", None, 5621)
prop._addConstant("mgmtRsInbEpg", None, 2177)
prop._addConstant("mgmtRsInstPCtx", None, 5532)
prop._addConstant("mgmtRsMgmtBD", None, 2195)
prop._addConstant("mgmtRsOoB", None, 7664)
prop._addConstant("mgmtRsOoBCons", None, 2184)
prop._addConstant("mgmtRsOoBCtx", None, 5528)
prop._addConstant("mgmtRsOoBProv", None, 2192)
prop._addConstant("mgmtRsOoBStNode", None, 5619)
prop._addConstant("mgmtRsOobEpg", None, 2174)
prop._addConstant("mgmtRsRtdMgmtConf", None, 3785)
prop._addConstant("mgmtRsToNodeGrp", None, 7040)
prop._addConstant("mgmtRtGrp", None, 2181)
prop._addConstant("mgmtRtInB", None, 7667)
prop._addConstant("mgmtRtInbEpg", None, 2178)
prop._addConstant("mgmtRtOoB", None, 7665)
prop._addConstant("mgmtRtOobEpg", None, 2175)
prop._addConstant("mgmtRtRtdMgmtConf", None, 3786)
prop._addConstant("mgmtRtToNodeGrp", None, 7041)
prop._addConstant("mgmtRtdMgmtIf", None, 3784)
prop._addConstant("mgmtStNodeDef", None, 5625)
prop._addConstant("mgmtStNodeDefCont", None, 5624)
prop._addConstant("mgmtSubnet", None, 2188)
prop._addConstant("mgmtSubnetDef", None, 2189)
prop._addConstant("mgmtZoneDef", None, 2197)
prop._addConstant("mldsnoopDb", None, 5754)
prop._addConstant("mldsnoopDom", None, 5748)
prop._addConstant("mldsnoopDomStats", None, 5753)
prop._addConstant("mldsnoopEntity", None, 5761)
prop._addConstant("mldsnoopEpgRec", None, 5757)
prop._addConstant("mldsnoopHostRec", None, 5760)
prop._addConstant("mldsnoopInst", None, 5762)
prop._addConstant("mldsnoopInstStats", None, 5763)
prop._addConstant("mldsnoopMcGrpRec", None, 5756)
prop._addConstant("mldsnoopOIFRec", None, 5759)
prop._addConstant("mldsnoopQuerierP", None, 5749)
prop._addConstant("mldsnoopQuerierSt", None, 5750)
prop._addConstant("mldsnoopRec", None, 5755)
prop._addConstant("mldsnoopReportRec", None, 5758)
prop._addConstant("mldsnoopRtrIf", None, 5752)
prop._addConstant("mldsnoopStRtrIf", None, 5751)
prop._addConstant("moASubj", None, 12)
prop._addConstant("moCount", None, 248)
prop._addConstant("moModifiable", None, 9)
prop._addConstant("moOwnable", None, 10)
prop._addConstant("moResolvable", None, 11)
prop._addConstant("moTopProps", None, 7)
prop._addConstant("moUpdateInfo", None, 256)
prop._addConstant("mockCounter", None, 342)
prop._addConstant("mockMockRoot", None, 339)
prop._addConstant("mockMockSession", None, 340)
prop._addConstant("mockStats", None, 341)
prop._addConstant("monATarget", None, 5)
prop._addConstant("monCommonPol", None, 255)
prop._addConstant("monEPGPol", None, 253)
prop._addConstant("monEPGTarget", None, 254)
prop._addConstant("monExportP", None, 4277)
prop._addConstant("monFabricPol", None, 249)
prop._addConstant("monFabricTarget", None, 250)
prop._addConstant("monGroup", None, 1677)
prop._addConstant("monInfraPol", None, 251)
prop._addConstant("monInfraTarget", None, 252)
prop._addConstant("monMonObjDn", None, 7876)
prop._addConstant("monPol", None, 4)
prop._addConstant("monProtoP", None, 1675)
prop._addConstant("monRtABDPolMonPol", None, 1866)
prop._addConstant("monRtAEPgMonPol", None, 1862)
prop._addConstant("monRtApMonPol", None, 1860)
prop._addConstant("monRtApplMonPol", None, 900)
prop._addConstant("monRtCtrlrPMonPol", None, 2162)
prop._addConstant("monRtCtxMonPol", None, 1864)
prop._addConstant("monRtEppToMonPol", None, 1926)
prop._addConstant("monRtMonFexInfraPol", None, 5200)
prop._addConstant("monRtMonIfFabricPol", None, 893)
prop._addConstant("monRtMonIfInfraPol", None, 4401)
prop._addConstant("monRtMonInstFabricPol", None, 920)
prop._addConstant("monRtMonModuleFabricPol", None, 929)
prop._addConstant("monRtMonModuleInfraPol", None, 4383)
prop._addConstant("monRtMonNodeInfraPol", None, 4374)
prop._addConstant("monRtMonPolIfPolCons", None, 3624)
prop._addConstant("monRtMonPolModulePolCons", None, 3202)
prop._addConstant("monRtMonPolRef", None, 294)
prop._addConstant("monRtMonPolRefEvent", None, 5514)
prop._addConstant("monRtMonPolSystemPolCons", None, 14)
prop._addConstant("monRtResMonCommonPol", None, 734)
prop._addConstant("monRtResMonFabricPol", None, 730)
prop._addConstant("monRtResMonInfraPol", None, 732)
prop._addConstant("monRtTenantMonPol", None, 1858)
prop._addConstant("monRtToRemoteMonGrp", None, 7873)
prop._addConstant("monRtToRemoteMonGrpRefEvent", None, 8068)
prop._addConstant("monRtToRemoteMonPol", None, 2093)
prop._addConstant("monSecAuthP", None, 1676)
prop._addConstant("monSrc", None, 1679)
prop._addConstant("monSubj", None, 1678)
prop._addConstant("monTarget", None, 6)
prop._addConstant("monitorDb", None, 2400)
prop._addConstant("monitorDestination", None, 2396)
prop._addConstant("monitorERDest", None, 2397)
prop._addConstant("monitorEntity", None, 2402)
prop._addConstant("monitorEpRec", None, 2399)
prop._addConstant("monitorLocalDest", None, 2398)
prop._addConstant("monitorRec", None, 2401)
prop._addConstant("monitorSession", None, 2394)
prop._addConstant("monitorSource", None, 2395)
prop._addConstant("namingNamedIdentifiedObject", None, 34)
prop._addConstant("namingNamedObject", None, 33)
prop._addConstant("ndAAdjEp", None, 5781)
prop._addConstant("ndAIfPol", None, 5976)
prop._addConstant("ndAPfxPol", None, 5979)
prop._addConstant("ndAdjEp", None, 5783)
prop._addConstant("ndDb", None, 5786)
prop._addConstant("ndDbRec", None, 5787)
prop._addConstant("ndDom", None, 2644)
prop._addConstant("ndEntity", None, 2642)
prop._addConstant("ndIf", None, 2641)
prop._addConstant("ndIfPol", None, 5977)
prop._addConstant("ndIfPolDef", None, 5978)
prop._addConstant("ndIfStats", None, 5784)
prop._addConstant("ndInst", None, 2643)
prop._addConstant("ndPfx", None, 5785)
prop._addConstant("ndPfxPol", None, 5980)
prop._addConstant("ndPfxPolDef", None, 5981)
prop._addConstant("ndRaSubnet", None, 6258)
prop._addConstant("ndRaSubnetDef", None, 6261)
prop._addConstant("ndRsRaSubnetToNdPfxPol", None, 6259)
prop._addConstant("ndRtBDToNdP", None, 5985)
prop._addConstant("ndRtEpDefRefToStAdjEpV6", None, 5725)
prop._addConstant("ndRtNdIfPol", None, 6120)
prop._addConstant("ndRtNdPfxPol", None, 6122)
prop._addConstant("ndRtRaSubnetToNdPfxPol", None, 6260)
prop._addConstant("ndStAdjEp", None, 5782)
prop._addConstant("nwAdjEp", None, 3555)
prop._addConstant("nwConn", None, 3565)
prop._addConstant("nwConnEp", None, 3567)
prop._addConstant("nwConnGrp", None, 3563)
prop._addConstant("nwCpDom", None, 3570)
prop._addConstant("nwCpEntity", None, 3558)
prop._addConstant("nwCpInst", None, 3582)
prop._addConstant("nwCpSt", None, 3585)
prop._addConstant("nwCpTopo", None, 3572)
prop._addConstant("nwDb", None, 3574)
prop._addConstant("nwDbRec", None, 3576)
prop._addConstant("nwEp", None, 3566)
prop._addConstant("nwFltEntry", None, 3587)
prop._addConstant("nwFltRule", None, 3586)
prop._addConstant("nwFwDom", None, 3569)
prop._addConstant("nwGEp", None, 3568)
prop._addConstant("nwIf", None, 3560)
prop._addConstant("nwItem", None, 3564)
prop._addConstant("nwLogicalIf", None, 3561)
prop._addConstant("nwPathEp", None, 3578)
prop._addConstant("nwPathEpTask", None, 5077)
prop._addConstant("nwProtAdjEp", None, 3556)
prop._addConstant("nwProtDb", None, 3575)
prop._addConstant("nwProtDbRec", None, 3577)
prop._addConstant("nwProtDom", None, 3571)
prop._addConstant("nwProtEntity", None, 3559)
prop._addConstant("nwProtIf", None, 3562)
prop._addConstant("nwProtInst", None, 3583)
prop._addConstant("nwProtNode", None, 3584)
prop._addConstant("nwProtTopo", None, 3573)
prop._addConstant("nwRsPathToIf", None, 3579)
prop._addConstant("nwRtDyPathAtt", None, 1964)
prop._addConstant("nwRtEpDefRefToPathEp", None, 6784)
prop._addConstant("nwRtEpDefToPathEp", None, 2055)
prop._addConstant("nwRtPathDomAtt", None, 3413)
prop._addConstant("nwRtPathToIf", None, 3580)
prop._addConstant("nwRtStPathAtt", None, 1954)
prop._addConstant("nwTree", None, 3581)
prop._addConstant("nwVdc", None, 3557)
prop._addConstant("nwsAFwPol", None, 6378)
prop._addConstant("nwsASrc", None, 7295)
prop._addConstant("nwsASyslogSrc", None, 7296)
prop._addConstant("nwsFwPol", None, 6379)
prop._addConstant("nwsFwPolDef", None, 6380)
prop._addConstant("nwsRsNwsSyslogSrcDefToDestGroup", None, 7301)
prop._addConstant("nwsRsNwsSyslogSrcToDestGroup", None, 7298)
prop._addConstant("nwsRsNwsSyslogSrcToDestGroupInt", None, 7770)
prop._addConstant("nwsRtDefaultFwPol", None, 6383)
prop._addConstant("nwsRtOverrideFwPol", None, 6389)
prop._addConstant("nwsRtResNwsFwPol", None, 6387)
prop._addConstant("nwsRtVswitchOverrideFwPol", None, 7792)
prop._addConstant("nwsSyslogSrc", None, 7297)
prop._addConstant("nwsSyslogSrcDef", None, 7300)
prop._addConstant("oamExec", None, 2319)
prop._addConstant("oamRsSrcEncap", None, 2320)
prop._addConstant("oamRslt", None, 2322)
prop._addConstant("observerNode", None, 292)
prop._addConstant("observerPod", None, 291)
prop._addConstant("observerRsFabricNodeRef", None, 297)
prop._addConstant("observerTopology", None, 290)
prop._addConstant("opflexAODevCmd", None, 1108)
prop._addConstant("opflexAODevRslt", None, 7615)
prop._addConstant("opflexAODevTask", None, 7614)
prop._addConstant("opflexCrtrnDefRef", None, 7516)
prop._addConstant("opflexEncapCont", None, 8921)
prop._addConstant("opflexEpCPDefRef", None, 7515)
prop._addConstant("opflexEpCPDevInfo", None, 6367)
prop._addConstant("opflexEpPDIDEpRef", None, 6991)
prop._addConstant("opflexEpPDIDEpRefCont", None, 6990)
prop._addConstant("opflexEppDevInfo", None, 1106)
prop._addConstant("opflexIDEp", None, 1104)
prop._addConstant("opflexIDEpBcastPkts", None, 5362)
prop._addConstant("opflexIDEpBcastPkts15min", None, 5366)
prop._addConstant("opflexIDEpBcastPkts1d", None, 5370)
prop._addConstant("opflexIDEpBcastPkts1h", None, 5368)
prop._addConstant("opflexIDEpBcastPkts1mo", None, 5374)
prop._addConstant("opflexIDEpBcastPkts1qtr", None, 5376)
prop._addConstant("opflexIDEpBcastPkts1w", None, 5372)
prop._addConstant("opflexIDEpBcastPkts1year", None, 5378)
prop._addConstant("opflexIDEpBcastPkts5min", None, 5364)
prop._addConstant("opflexIDEpBcastPktsHist", None, 5363)
prop._addConstant("opflexIDEpBcastPktsHist15min", None, 5367)
prop._addConstant("opflexIDEpBcastPktsHist1d", None, 5371)
prop._addConstant("opflexIDEpBcastPktsHist1h", None, 5369)
prop._addConstant("opflexIDEpBcastPktsHist1mo", None, 5375)
prop._addConstant("opflexIDEpBcastPktsHist1qtr", None, 5377)
prop._addConstant("opflexIDEpBcastPktsHist1w", None, 5373)
prop._addConstant("opflexIDEpBcastPktsHist1year", None, 5379)
prop._addConstant("opflexIDEpBcastPktsHist5min", None, 5365)
prop._addConstant("opflexIDEpCntr", None, 1102)
prop._addConstant("opflexIDEpDfwConn", None, 6390)
prop._addConstant("opflexIDEpDfwConn15min", None, 6394)
prop._addConstant("opflexIDEpDfwConn1d", None, 6398)
prop._addConstant("opflexIDEpDfwConn1h", None, 6396)
prop._addConstant("opflexIDEpDfwConn1mo", None, 6402)
prop._addConstant("opflexIDEpDfwConn1qtr", None, 6404)
prop._addConstant("opflexIDEpDfwConn1w", None, 6400)
prop._addConstant("opflexIDEpDfwConn1year", None, 6406)
prop._addConstant("opflexIDEpDfwConn5min", None, 6392)
prop._addConstant("opflexIDEpDfwConnDenied", None, 6408)
prop._addConstant("opflexIDEpDfwConnDenied15min", None, 6412)
prop._addConstant("opflexIDEpDfwConnDenied1d", None, 6416)
prop._addConstant("opflexIDEpDfwConnDenied1h", None, 6414)
prop._addConstant("opflexIDEpDfwConnDenied1mo", None, 6420)
prop._addConstant("opflexIDEpDfwConnDenied1qtr", None, 6422)
prop._addConstant("opflexIDEpDfwConnDenied1w", None, 6418)
prop._addConstant("opflexIDEpDfwConnDenied1year", None, 6424)
prop._addConstant("opflexIDEpDfwConnDenied5min", None, 6410)
prop._addConstant("opflexIDEpDfwConnDeniedHist", None, 6409)
prop._addConstant("opflexIDEpDfwConnDeniedHist15min", None, 6413)
prop._addConstant("opflexIDEpDfwConnDeniedHist1d", None, 6417)
prop._addConstant("opflexIDEpDfwConnDeniedHist1h", None, 6415)
prop._addConstant("opflexIDEpDfwConnDeniedHist1mo", None, 6421)
prop._addConstant("opflexIDEpDfwConnDeniedHist1qtr", None, 6423)
prop._addConstant("opflexIDEpDfwConnDeniedHist1w", None, 6419)
prop._addConstant("opflexIDEpDfwConnDeniedHist1year", None, 6425)
prop._addConstant("opflexIDEpDfwConnDeniedHist5min", None, 6411)
prop._addConstant("opflexIDEpDfwConnHist", None, 6391)
prop._addConstant("opflexIDEpDfwConnHist15min", None, 6395)
prop._addConstant("opflexIDEpDfwConnHist1d", None, 6399)
prop._addConstant("opflexIDEpDfwConnHist1h", None, 6397)
prop._addConstant("opflexIDEpDfwConnHist1mo", None, 6403)
prop._addConstant("opflexIDEpDfwConnHist1qtr", None, 6405)
prop._addConstant("opflexIDEpDfwConnHist1w", None, 6401)
prop._addConstant("opflexIDEpDfwConnHist1year", None, 6407)
prop._addConstant("opflexIDEpDfwConnHist5min", None, 6393)
prop._addConstant("opflexIDEpDfwPktDrop", None, 6426)
prop._addConstant("opflexIDEpDfwPktDrop15min", None, 6430)
prop._addConstant("opflexIDEpDfwPktDrop1d", None, 6434)
prop._addConstant("opflexIDEpDfwPktDrop1h", None, 6432)
prop._addConstant("opflexIDEpDfwPktDrop1mo", None, 6438)
prop._addConstant("opflexIDEpDfwPktDrop1qtr", None, 6440)
prop._addConstant("opflexIDEpDfwPktDrop1w", None, 6436)
prop._addConstant("opflexIDEpDfwPktDrop1year", None, 6442)
prop._addConstant("opflexIDEpDfwPktDrop5min", None, 6428)
prop._addConstant("opflexIDEpDfwPktDropHist", None, 6427)
prop._addConstant("opflexIDEpDfwPktDropHist15min", None, 6431)
prop._addConstant("opflexIDEpDfwPktDropHist1d", None, 6435)
prop._addConstant("opflexIDEpDfwPktDropHist1h", None, 6433)
prop._addConstant("opflexIDEpDfwPktDropHist1mo", None, 6439)
prop._addConstant("opflexIDEpDfwPktDropHist1qtr", None, 6441)
prop._addConstant("opflexIDEpDfwPktDropHist1w", None, 6437)
prop._addConstant("opflexIDEpDfwPktDropHist1year", None, 6443)
prop._addConstant("opflexIDEpDfwPktDropHist5min", None, 6429)
prop._addConstant("opflexIDEpEncapRef", None, 6670)
prop._addConstant("opflexIDEpEpPDRef", None, 7878)
prop._addConstant("opflexIDEpPolicyDrop", None, 8044)
prop._addConstant("opflexIDEpPolicyDrop15min", None, 8048)
prop._addConstant("opflexIDEpPolicyDrop1d", None, 8052)
prop._addConstant("opflexIDEpPolicyDrop1h", None, 8050)
prop._addConstant("opflexIDEpPolicyDrop1mo", None, 8056)
prop._addConstant("opflexIDEpPolicyDrop1qtr", None, 8058)
prop._addConstant("opflexIDEpPolicyDrop1w", None, 8054)
prop._addConstant("opflexIDEpPolicyDrop1year", None, 8060)
prop._addConstant("opflexIDEpPolicyDrop5min", None, 8046)
prop._addConstant("opflexIDEpPolicyDropHist", None, 8045)
prop._addConstant("opflexIDEpPolicyDropHist15min", None, 8049)
prop._addConstant("opflexIDEpPolicyDropHist1d", None, 8053)
prop._addConstant("opflexIDEpPolicyDropHist1h", None, 8051)
prop._addConstant("opflexIDEpPolicyDropHist1mo", None, 8057)
prop._addConstant("opflexIDEpPolicyDropHist1qtr", None, 8059)
prop._addConstant("opflexIDEpPolicyDropHist1w", None, 8055)
prop._addConstant("opflexIDEpPolicyDropHist1year", None, 8061)
prop._addConstant("opflexIDEpPolicyDropHist5min", None, 8047)
prop._addConstant("opflexIDEpRef", None, 6669)
prop._addConstant("opflexIDEpRefCont", None, 6668)
prop._addConstant("opflexIDEpRxBytes", None, 1045)
prop._addConstant("opflexIDEpRxBytes15min", None, 1049)
prop._addConstant("opflexIDEpRxBytes1d", None, 1053)
prop._addConstant("opflexIDEpRxBytes1h", None, 1051)
prop._addConstant("opflexIDEpRxBytes1mo", None, 1057)
prop._addConstant("opflexIDEpRxBytes1qtr", None, 1059)
prop._addConstant("opflexIDEpRxBytes1w", None, 1055)
prop._addConstant("opflexIDEpRxBytes1year", None, 1061)
prop._addConstant("opflexIDEpRxBytes5min", None, 1047)
prop._addConstant("opflexIDEpRxBytesHist", None, 1046)
prop._addConstant("opflexIDEpRxBytesHist15min", None, 1050)
prop._addConstant("opflexIDEpRxBytesHist1d", None, 1054)
prop._addConstant("opflexIDEpRxBytesHist1h", None, 1052)
prop._addConstant("opflexIDEpRxBytesHist1mo", None, 1058)
prop._addConstant("opflexIDEpRxBytesHist1qtr", None, 1060)
prop._addConstant("opflexIDEpRxBytesHist1w", None, 1056)
prop._addConstant("opflexIDEpRxBytesHist1year", None, 1062)
prop._addConstant("opflexIDEpRxBytesHist5min", None, 1048)
prop._addConstant("opflexIDEpRxPkts", None, 1026)
prop._addConstant("opflexIDEpRxPkts15min", None, 1030)
prop._addConstant("opflexIDEpRxPkts1d", None, 1034)
prop._addConstant("opflexIDEpRxPkts1h", None, 1032)
prop._addConstant("opflexIDEpRxPkts1mo", None, 1038)
prop._addConstant("opflexIDEpRxPkts1qtr", None, 1040)
prop._addConstant("opflexIDEpRxPkts1w", None, 1036)
prop._addConstant("opflexIDEpRxPkts1year", None, 1042)
prop._addConstant("opflexIDEpRxPkts5min", None, 1028)
prop._addConstant("opflexIDEpRxPktsHist", None, 1027)
prop._addConstant("opflexIDEpRxPktsHist15min", None, 1031)
prop._addConstant("opflexIDEpRxPktsHist1d", None, 1035)
prop._addConstant("opflexIDEpRxPktsHist1h", None, 1033)
prop._addConstant("opflexIDEpRxPktsHist1mo", None, 1039)
prop._addConstant("opflexIDEpRxPktsHist1qtr", None, 1041)
prop._addConstant("opflexIDEpRxPktsHist1w", None, 1037)
prop._addConstant("opflexIDEpRxPktsHist1year", None, 1043)
prop._addConstant("opflexIDEpRxPktsHist5min", None, 1029)
prop._addConstant("opflexIDEpScope", None, 7512)
prop._addConstant("opflexIDEpScopeCont", None, 7511)
prop._addConstant("opflexIDEpTxBytes", None, 1083)
prop._addConstant("opflexIDEpTxBytes15min", None, 1087)
prop._addConstant("opflexIDEpTxBytes1d", None, 1091)
prop._addConstant("opflexIDEpTxBytes1h", None, 1089)
prop._addConstant("opflexIDEpTxBytes1mo", None, 1095)
prop._addConstant("opflexIDEpTxBytes1qtr", None, 1097)
prop._addConstant("opflexIDEpTxBytes1w", None, 1093)
prop._addConstant("opflexIDEpTxBytes1year", None, 1099)
prop._addConstant("opflexIDEpTxBytes5min", None, 1085)
prop._addConstant("opflexIDEpTxBytesHist", None, 1084)
prop._addConstant("opflexIDEpTxBytesHist15min", None, 1088)
prop._addConstant("opflexIDEpTxBytesHist1d", None, 1092)
prop._addConstant("opflexIDEpTxBytesHist1h", None, 1090)
prop._addConstant("opflexIDEpTxBytesHist1mo", None, 1096)
prop._addConstant("opflexIDEpTxBytesHist1qtr", None, 1098)
prop._addConstant("opflexIDEpTxBytesHist1w", None, 1094)
prop._addConstant("opflexIDEpTxBytesHist1year", None, 1100)
prop._addConstant("opflexIDEpTxBytesHist5min", None, 1086)
prop._addConstant("opflexIDEpTxPkts", None, 1064)
prop._addConstant("opflexIDEpTxPkts15min", None, 1068)
prop._addConstant("opflexIDEpTxPkts1d", None, 1072)
prop._addConstant("opflexIDEpTxPkts1h", None, 1070)
prop._addConstant("opflexIDEpTxPkts1mo", None, 1076)
prop._addConstant("opflexIDEpTxPkts1qtr", None, 1078)
prop._addConstant("opflexIDEpTxPkts1w", None, 1074)
prop._addConstant("opflexIDEpTxPkts1year", None, 1080)
prop._addConstant("opflexIDEpTxPkts5min", None, 1066)
prop._addConstant("opflexIDEpTxPktsHist", None, 1065)
prop._addConstant("opflexIDEpTxPktsHist15min", None, 1069)
prop._addConstant("opflexIDEpTxPktsHist1d", None, 1073)
prop._addConstant("opflexIDEpTxPktsHist1h", None, 1071)
prop._addConstant("opflexIDEpTxPktsHist1mo", None, 1077)
prop._addConstant("opflexIDEpTxPktsHist1qtr", None, 1079)
prop._addConstant("opflexIDEpTxPktsHist1w", None, 1075)
prop._addConstant("opflexIDEpTxPktsHist1year", None, 1081)
prop._addConstant("opflexIDEpTxPktsHist5min", None, 1067)
prop._addConstant("opflexIpAttrDefRef", None, 7517)
prop._addConstant("opflexMacAttrDefRef", None, 7518)
prop._addConstant("opflexODev", None, 1105)
prop._addConstant("opflexODevCap", None, 1107)
prop._addConstant("opflexODevCapContext", None, 5175)
prop._addConstant("opflexODevCmdReq", None, 1109)
prop._addConstant("opflexODevCmdResp", None, 1110)
prop._addConstant("opflexODevContext", None, 5174)
prop._addConstant("opflexODevEp", None, 7659)
prop._addConstant("opflexODevKeyRing", None, 7660)
prop._addConstant("opflexODevRef", None, 6894)
prop._addConstant("opflexODevRefCont", None, 6893)
prop._addConstant("opflexONic", None, 6023)
prop._addConstant("opflexOPNic", None, 5595)
prop._addConstant("opflexOVm", None, 6035)
prop._addConstant("opflexOeHupTrigger", None, 7661)
prop._addConstant("opflexPathAtt", None, 7290)
prop._addConstant("opflexRtODevKeys", None, 9037)
prop._addConstant("opflexRtTsODev", None, 7620)
prop._addConstant("opflexScopeCont", None, 7513)
prop._addConstant("opflexSubject", None, 1103)
prop._addConstant("opflexVtepRef", None, 7103)
prop._addConstant("opflexVtepRefCont", None, 7102)
prop._addConstant("opflexpEpReg", None, 7503)
prop._addConstant("opflexpL2Ep", None, 7507)
prop._addConstant("opflexpL2EpReg", None, 7505)
prop._addConstant("opflexpL3Ep", None, 7506)
prop._addConstant("opflexpL3EpReg", None, 7504)
prop._addConstant("opflexpPEp", None, 7498)
prop._addConstant("opflexpPEpReg", None, 7497)
prop._addConstant("opflexpPolicyConsumer", None, 7502)
prop._addConstant("opflexpPolicyConsumerTask", None, 7510)
prop._addConstant("opflexpPolicyDemand", None, 7501)
prop._addConstant("opflexpPolicyReg", None, 7500)
prop._addConstant("opflexpPolicyResolveReq", None, 7508)
prop._addConstant("opflexpReference", None, 7509)
prop._addConstant("opflexpRegistry", None, 7496)
prop._addConstant("opflexpTEp", None, 7499)
prop._addConstant("osAgent", None, 125)
prop._addConstant("osInstance", None, 124)
prop._addConstant("ospfAAdjEp", None, 5788)
prop._addConstant("ospfAAdjStats", None, 5809)
prop._addConstant("ospfAArea", None, 5810)
prop._addConstant("ospfAAreaStats", None, 5792)
prop._addConstant("ospfACtxPol", None, 1415)
prop._addConstant("ospfADb", None, 5807)
prop._addConstant("ospfADbRec", None, 5808)
prop._addConstant("ospfADefRtLeakP", None, 5814)
prop._addConstant("ospfADom", None, 5793)
prop._addConstant("ospfADomStats", None, 5801)
prop._addConstant("ospfAEntity", None, 5811)
prop._addConstant("ospfAExtP", None, 1426)
prop._addConstant("ospfAExtRtSum", None, 5805)
prop._addConstant("ospfAGr", None, 5796)
prop._addConstant("ospfAGrSt", None, 5797)
prop._addConstant("ospfAIf", None, 5798)
prop._addConstant("ospfAIfP", None, 1419)
prop._addConstant("ospfAIfStats", None, 5791)
prop._addConstant("ospfAInst", None, 5812)
prop._addConstant("ospfAInterAreaRtSum", None, 5803)
prop._addConstant("ospfAInterLeakP", None, 5815)
prop._addConstant("ospfALeakCtrlP", None, 5816)
prop._addConstant("ospfALsaCtrl", None, 5795)
prop._addConstant("ospfALsaLeakCtrlP", None, 7879)
prop._addConstant("ospfALsaLeakP", None, 5922)
prop._addConstant("ospfALsaRec", None, 5813)
prop._addConstant("ospfAMaxLsaP", None, 5920)
prop._addConstant("ospfANexthop", None, 5800)
prop._addConstant("ospfARibLeakP", None, 6224)
prop._addConstant("ospfARoute", None, 5799)
prop._addConstant("ospfARtSum", None, 5802)
prop._addConstant("ospfARtSummPol", None, 7922)
prop._addConstant("ospfASpfComp", None, 5794)
prop._addConstant("ospfATrafficStats", None, 5790)
prop._addConstant("ospfAdjEp", None, 2645)
prop._addConstant("ospfAdjStats", None, 2663)
prop._addConstant("ospfAf", None, 5789)
prop._addConstant("ospfArea", None, 2664)
prop._addConstant("ospfAreaStats", None, 2648)
prop._addConstant("ospfAuthP", None, 2654)
prop._addConstant("ospfCtxDef", None, 1417)
prop._addConstant("ospfCtxDefAf", None, 5893)
prop._addConstant("ospfCtxPol", None, 1416)
prop._addConstant("ospfDb", None, 2661)
prop._addConstant("ospfDefRtLeakP", None, 2668)
prop._addConstant("ospfDom", None, 2649)
prop._addConstant("ospfDomStats", None, 2660)
prop._addConstant("ospfEntity", None, 2665)
prop._addConstant("ospfExtDef", None, 1428)
prop._addConstant("ospfExtP", None, 1427)
prop._addConstant("ospfExtRtSum", None, 5806)
prop._addConstant("ospfGr", None, 2652)
prop._addConstant("ospfGrSt", None, 2653)
prop._addConstant("ospfIf", None, 2655)
prop._addConstant("ospfIfDef", None, 1423)
prop._addConstant("ospfIfP", None, 1420)
prop._addConstant("ospfIfPol", None, 1418)
prop._addConstant("ospfIfStats", None, 2647)
prop._addConstant("ospfInst", None, 2666)
prop._addConstant("ospfInterAreaRtSum", None, 5804)
prop._addConstant("ospfInterLeakP", None, 2669)
prop._addConstant("ospfLeakCtrlP", None, 2670)
prop._addConstant("ospfLsaCtrl", None, 2651)
prop._addConstant("ospfLsaLeakCtrlP", None, 7880)
prop._addConstant("ospfLsaLeakP", None, 5923)
prop._addConstant("ospfLsaRec", None, 2667)
prop._addConstant("ospfMaxLsaP", None, 5921)
prop._addConstant("ospfMcNexthop", None, 2659)
prop._addConstant("ospfRibLeakP", None, 6225)
prop._addConstant("ospfRoute", None, 2656)
prop._addConstant("ospfRsIfDefToOspfIf", None, 1424)
prop._addConstant("ospfRsIfDefToOspfv3If", None, 5894)
prop._addConstant("ospfRsIfPol", None, 1421)
prop._addConstant("ospfRtCtxToOspfCtxPol", None, 5904)
prop._addConstant("ospfRtEppOspfAfCtxPol", None, 5902)
prop._addConstant("ospfRtEppOspfCtxPol", None, 1933)
prop._addConstant("ospfRtEppOspfIfPol", None, 1935)
prop._addConstant("ospfRtIfDefToOspfIf", None, 1425)
prop._addConstant("ospfRtIfPol", None, 1422)
prop._addConstant("ospfRtOspfCtxPol", None, 2007)
prop._addConstant("ospfRtSummPol", None, 7923)
prop._addConstant("ospfRtSummPolDef", None, 7924)
prop._addConstant("ospfSpfComp", None, 2650)
prop._addConstant("ospfTrafficStats", None, 2646)
prop._addConstant("ospfUcNexthop", None, 2658)
prop._addConstant("ospfv3AdjEp", None, 5818)
prop._addConstant("ospfv3AdjStats", None, 5836)
prop._addConstant("ospfv3Area", None, 5837)
prop._addConstant("ospfv3AreaAf", None, 5838)
prop._addConstant("ospfv3AreaStats", None, 5821)
prop._addConstant("ospfv3Db", None, 5835)
prop._addConstant("ospfv3DefRtLeakP", None, 5842)
prop._addConstant("ospfv3Dom", None, 5822)
prop._addConstant("ospfv3DomAf", None, 5823)
prop._addConstant("ospfv3DomStats", None, 5832)
prop._addConstant("ospfv3Entity", None, 5839)
prop._addConstant("ospfv3ExtRtSum", None, 5834)
prop._addConstant("ospfv3Gr", None, 5826)
prop._addConstant("ospfv3GrSt", None, 5827)
prop._addConstant("ospfv3If", None, 5828)
prop._addConstant("ospfv3IfStats", None, 5820)
prop._addConstant("ospfv3Inst", None, 5840)
prop._addConstant("ospfv3InterAreaRtSum", None, 5833)
prop._addConstant("ospfv3InterLeakP", None, 5843)
prop._addConstant("ospfv3LeakCtrlP", None, 5844)
prop._addConstant("ospfv3LsaCtrl", None, 5825)
prop._addConstant("ospfv3LsaLeakCtrlP", None, 7881)
prop._addConstant("ospfv3LsaLeakP", None, 5925)
prop._addConstant("ospfv3LsaRec", None, 5841)
prop._addConstant("ospfv3MaxLsaP", None, 5924)
prop._addConstant("ospfv3McNexthop", None, 5831)
prop._addConstant("ospfv3RibLeakP", None, 6226)
prop._addConstant("ospfv3Route", None, 5829)
prop._addConstant("ospfv3RtIfDefToOspfv3If", None, 5895)
prop._addConstant("ospfv3SpfComp", None, 5824)
prop._addConstant("ospfv3TrafficStats", None, 5819)
prop._addConstant("ospfv3UcNexthop", None, 5830)
prop._addConstant("pcAggrIf", None, 3659)
prop._addConstant("pcAggrIfClearCountersLTask", None, 5258)
prop._addConstant("pcAggrIfClearCountersRslt", None, 5259)
prop._addConstant("pcAggrMbrIf", None, 3658)
prop._addConstant("pcEntity", None, 3668)
prop._addConstant("pcInst", None, 3669)
prop._addConstant("pcRsLacpPolCons", None, 3666)
prop._addConstant("pcRsMbrIfs", None, 3660)
prop._addConstant("pcRtAccBndlGrpToAggrIf", None, 5240)
prop._addConstant("pcRtFexBndlGrpToAggrIf", None, 5238)
prop._addConstant("pcRtVpcConf", None, 3430)
prop._addConstant("pconsADependencyCtx", None, 7541)
prop._addConstant("pconsANodeDeployCtx", None, 7609)
prop._addConstant("pconsAPolDep", None, 170)
prop._addConstant("pconsBootStrap", None, 5482)
prop._addConstant("pconsClass", None, 156)
prop._addConstant("pconsConfigCtx", None, 7645)
prop._addConstant("pconsCons", None, 189)
prop._addConstant("pconsCont", None, 176)
prop._addConstant("pconsCtrlrDeployCtx", None, 7610)
prop._addConstant("pconsDelRef", None, 181)
prop._addConstant("pconsDep", None, 161)
prop._addConstant("pconsDepClass", None, 165)
prop._addConstant("pconsDepRegistry", None, 160)
prop._addConstant("pconsDependencyCtx", None, 7537)
prop._addConstant("pconsDeployCons", None, 158)
prop._addConstant("pconsDeployCtx", None, 157)
prop._addConstant("pconsDeploymentCont", None, 7179)
prop._addConstant("pconsInst", None, 185)
prop._addConstant("pconsInstClass", None, 186)
prop._addConstant("pconsInstDn", None, 187)
prop._addConstant("pconsLocation", None, 7157)
prop._addConstant("pconsLocationTask", None, 7160)
prop._addConstant("pconsMinCont", None, 7156)
prop._addConstant("pconsMinPol", None, 7158)
prop._addConstant("pconsModRef", None, 182)
prop._addConstant("pconsNodeDeployCtx", None, 7536)
prop._addConstant("pconsPendingPol", None, 7897)
prop._addConstant("pconsPendingPolCont", None, 7896)
prop._addConstant("pconsPolClOwner", None, 172)
prop._addConstant("pconsPolCtx", None, 7662)
prop._addConstant("pconsPolDep", None, 173)
prop._addConstant("pconsPolOwner", None, 171)
prop._addConstant("pconsPolicy", None, 159)
prop._addConstant("pconsPolicySyncRespArgs", None, 7159)
prop._addConstant("pconsRA", None, 188)
prop._addConstant("pconsRef", None, 178)
prop._addConstant("pconsRefClass", None, 179)
prop._addConstant("pconsRefCont", None, 177)
prop._addConstant("pconsRefDn", None, 180)
prop._addConstant("pconsRefTask", None, 5044)
prop._addConstant("pconsRegistry", None, 155)
prop._addConstant("pconsResolveCompleteRef", None, 5481)
prop._addConstant("pconsResolveCompleteRefTask", None, 5485)
prop._addConstant("pconsResolver", None, 184)
prop._addConstant("pconsResolverCont", None, 183)
prop._addConstant("pconsResolverContTask", None, 5484)
prop._addConstant("pconsResolverTask", None, 5078)
prop._addConstant("pconsResourceCtx", None, 7542)
prop._addConstant("pconsRsClDep", None, 166)
prop._addConstant("pconsRsOwner", None, 174)
prop._addConstant("pconsRsSubtreeClDep", None, 168)
prop._addConstant("pconsRsSubtreeDep", None, 163)
prop._addConstant("pconsRtClDep", None, 167)
prop._addConstant("pconsRtOwner", None, 175)
prop._addConstant("pconsRtSubtreeClDep", None, 169)
prop._addConstant("pconsRtSubtreeDep", None, 164)
prop._addConstant("pconsRtToResolver", None, 7672)
prop._addConstant("pconsSeqDeployTracker", None, 7663)
prop._addConstant("pconsSubtreeDepClass", None, 162)
prop._addConstant("pconsTokenRef", None, 5480)
prop._addConstant("physDomP", None, 1809)
prop._addConstant("physRtALDevToPhysDomP", None, 4878)
prop._addConstant("pingAExec", None, 2346)
prop._addConstant("pingExecFab", None, 2347)
prop._addConstant("pingExecTn", None, 2348)
prop._addConstant("pingRslt", None, 2349)
prop._addConstant("pingRsltFab", None, 2350)
prop._addConstant("pingRsltTn", None, 2351)
prop._addConstant("pkiCertReq", None, 1481)
prop._addConstant("pkiCsyncElement", None, 1486)
prop._addConstant("pkiCsyncPolicy", None, 1485)
prop._addConstant("pkiCsyncSharedKey", None, 1484)
prop._addConstant("pkiDebugPluginChallenge", None, 1487)
prop._addConstant("pkiDefinition", None, 1490)
prop._addConstant("pkiEp", None, 1478)
prop._addConstant("pkiExportEncryptionKey", None, 7286)
prop._addConstant("pkiExportEncryptionKeyRelnHolder", None, 7287)
prop._addConstant("pkiFabricCommunicationEp", None, 7602)
prop._addConstant("pkiFabricNodeSSLCertificate", None, 7603)
prop._addConstant("pkiFabricNodeSSLCertificateRef", None, 7644)
prop._addConstant("pkiFabricNodeSSLCertificateTask", None, 7607)
prop._addConstant("pkiItem", None, 1479)
prop._addConstant("pkiKeyRing", None, 1482)
prop._addConstant("pkiRsExportEncryptionKey", None, 7288)
prop._addConstant("pkiRsToFabricCommunicationEp", None, 7646)
prop._addConstant("pkiRtCertificateEp", None, 7606)
prop._addConstant("pkiRtExportEncryptionKey", None, 7289)
prop._addConstant("pkiRtKeyRing", None, 5531)
prop._addConstant("pkiRtKeyringRef", None, 5558)
prop._addConstant("pkiRtResPkiEp", None, 783)
prop._addConstant("pkiRtToFabricCommunicationEp", None, 7647)
prop._addConstant("pkiRtWebtokenRel", None, 4209)
prop._addConstant("pkiTP", None, 1483)
prop._addConstant("pkiTbkKey", None, 8062)
prop._addConstant("pkiWebTokenData", None, 1480)
prop._addConstant("plannerADomainTmpl", None, 7741)
prop._addConstant("plannerAEpg", None, 7123)
prop._addConstant("plannerAEpgDomain", None, 7748)
prop._addConstant("plannerAObject", None, 7116)
prop._addConstant("plannerATmpl", None, 7291)
prop._addConstant("plannerAzureDomain", None, 7753)
prop._addConstant("plannerAzureDomainTmpl", None, 7745)
prop._addConstant("plannerBdTmpl", None, 7119)
prop._addConstant("plannerConfigTmpl", None, 7108)
prop._addConstant("plannerCont", None, 7107)
prop._addConstant("plannerContractTmpl", None, 7117)
prop._addConstant("plannerDeployment", None, 7174)
prop._addConstant("plannerEPs", None, 7115)
prop._addConstant("plannerEpgPrefixes", None, 7112)
prop._addConstant("plannerEpgTmpl", None, 7128)
prop._addConstant("plannerFexTmpl", None, 7183)
prop._addConstant("plannerGraphNode", None, 7143)
prop._addConstant("plannerGraphTmpl", None, 7140)
prop._addConstant("plannerIPs", None, 7110)
prop._addConstant("plannerL2OutTmpl", None, 7136)
prop._addConstant("plannerL3OutTmpl", None, 7133)
prop._addConstant("plannerL4L7ClusterTmpl", None, 7139)
prop._addConstant("plannerLabel", None, 7200)
prop._addConstant("plannerLeaf", None, 7176)
prop._addConstant("plannerLeafTmpl", None, 7182)
prop._addConstant("plannerLpmRoutes", None, 7113)
prop._addConstant("plannerNode", None, 7175)
prop._addConstant("plannerOptions", None, 7172)
prop._addConstant("plannerPhysDomain", None, 7749)
prop._addConstant("plannerResource", None, 7173)
prop._addConstant("plannerRsAzureDomainLabel", None, 7746)
prop._addConstant("plannerRsAzureDomainTmpl", None, 7754)
prop._addConstant("plannerRsBdVrf", None, 7120)
prop._addConstant("plannerRsClusterLabel", None, 7453)
prop._addConstant("plannerRsConnectedLeaf", None, 7205)
prop._addConstant("plannerRsConnectedSpine", None, 7284)
prop._addConstant("plannerRsConsumedContracts", None, 7126)
prop._addConstant("plannerRsDeployedFex", None, 7184)
prop._addConstant("plannerRsDeployedObject", None, 7177)
prop._addConstant("plannerRsEpgBd", None, 7129)
prop._addConstant("plannerRsEpgLabel", None, 7207)
prop._addConstant("plannerRsFexLabel", None, 7203)
prop._addConstant("plannerRsGraphBd", None, 7144)
prop._addConstant("plannerRsGraphCluster", None, 7455)
prop._addConstant("plannerRsGraphContracts", None, 7141)
prop._addConstant("plannerRsGraphL3Out", None, 7146)
prop._addConstant("plannerRsGraphLabel", None, 7209)
prop._addConstant("plannerRsL2OutBd", None, 7137)
prop._addConstant("plannerRsL3OutVrf", None, 7134)
prop._addConstant("plannerRsLeafLabels", None, 7201)
prop._addConstant("plannerRsNodeLabels", None, 7211)
prop._addConstant("plannerRsProvidedContracts", None, 7124)
prop._addConstant("plannerRsToConsumerBd", None, 7148)
prop._addConstant("plannerRsToConsumerL3Out", None, 7150)
prop._addConstant("plannerRsToProviderBd", None, 7152)
prop._addConstant("plannerRsToProviderL3Out", None, 7154)
prop._addConstant("plannerRsVmwareDomainLabel", None, 7743)
prop._addConstant("plannerRsVmwareDomainTmpl", None, 7751)
prop._addConstant("plannerRtAzureDomainLabel", None, 7747)
prop._addConstant("plannerRtAzureDomainTmpl", None, 7755)
prop._addConstant("plannerRtBdVrf", None, 7121)
prop._addConstant("plannerRtClusterLabel", None, 7454)
prop._addConstant("plannerRtConnectedLeaf", None, 7206)
prop._addConstant("plannerRtConnectedSpine", None, 7285)
prop._addConstant("plannerRtConsumedContracts", None, 7127)
prop._addConstant("plannerRtDeployedFex", None, 7185)
prop._addConstant("plannerRtDeployedObject", None, 7178)
prop._addConstant("plannerRtEpgBd", None, 7130)
prop._addConstant("plannerRtEpgLabel", None, 7208)
prop._addConstant("plannerRtFexLabel", None, 7204)
prop._addConstant("plannerRtGraphBd", None, 7145)
prop._addConstant("plannerRtGraphCluster", None, 7456)
prop._addConstant("plannerRtGraphContracts", None, 7142)
prop._addConstant("plannerRtGraphL3Out", None, 7147)
prop._addConstant("plannerRtGraphLabel", None, 7210)
prop._addConstant("plannerRtL2OutBd", None, 7138)
prop._addConstant("plannerRtL3OutVrf", None, 7135)
prop._addConstant("plannerRtLeafLabels", None, 7202)
prop._addConstant("plannerRtNodeLabels", None, 7212)
prop._addConstant("plannerRtProvidedContracts", None, 7125)
prop._addConstant("plannerRtToConsumerBd", None, 7149)
prop._addConstant("plannerRtToConsumerL3Out", None, 7151)
prop._addConstant("plannerRtToProviderBd", None, 7153)
prop._addConstant("plannerRtToProviderL3Out", None, 7155)
prop._addConstant("plannerRtVmwareDomainLabel", None, 7744)
prop._addConstant("plannerRtVmwareDomainTmpl", None, 7752)
prop._addConstant("plannerSecondaryIPs", None, 7114)
prop._addConstant("plannerSpineTmpl", None, 7283)
prop._addConstant("plannerSubnets", None, 7111)
prop._addConstant("plannerTenantTmpl", None, 7109)
prop._addConstant("plannerViolation", None, 7294)
prop._addConstant("plannerVmwareDomain", None, 7750)
prop._addConstant("plannerVmwareDomainTmpl", None, 7742)
prop._addConstant("plannerVrfTmpl", None, 7118)
prop._addConstant("polAConfIssues", None, 4615)
prop._addConstant("polACount", None, 6994)
prop._addConstant("polADependentOn", None, 6208)
prop._addConstant("polAObjToPolReln", None, 6852)
prop._addConstant("polAPrToPol", None, 6847)
prop._addConstant("polAttTgt", None, 4566)
prop._addConstant("polComp", None, 4597)
prop._addConstant("polCompl", None, 4603)
prop._addConstant("polComplElem", None, 4604)
prop._addConstant("polConsElem", None, 4605)
prop._addConstant("polConsIf", None, 4611)
prop._addConstant("polConsLbl", None, 4608)
prop._addConstant("polConsumer", None, 6851)
prop._addConstant("polCont", None, 4599)
prop._addConstant("polCount", None, 6995)
prop._addConstant("polCountCont", None, 6992)
prop._addConstant("polCtrlr", None, 4601)
prop._addConstant("polDef", None, 4595)
prop._addConstant("polDefRelnHolder", None, 4613)
prop._addConstant("polDefRoot", None, 4596)
prop._addConstant("polDependencyCont", None, 6134)
prop._addConstant("polDependencyExpression", None, 6136)
prop._addConstant("polDependencyState", None, 6184)
prop._addConstant("polDependentOn", None, 6135)
prop._addConstant("polDependentOnClass", None, 6209)
prop._addConstant("polDeploymentRecord", None, 6273)
prop._addConstant("polDom", None, 4600)
prop._addConstant("polEnforcedCount", None, 7168)
prop._addConstant("polGCount", None, 7169)
prop._addConstant("polGCountCont", None, 7167)
prop._addConstant("polHv", None, 4569)
prop._addConstant("polIf", None, 4609)
prop._addConstant("polInstr", None, 4598)
prop._addConstant("polLCount", None, 7170)
prop._addConstant("polLCountCont", None, 6993)
prop._addConstant("polLCountContTask", None, 7180)
prop._addConstant("polLbl", None, 4606)
prop._addConstant("polNFromRef", None, 4593)
prop._addConstant("polNToRef", None, 4592)
prop._addConstant("polNs", None, 4614)
prop._addConstant("polObj", None, 4594)
prop._addConstant("polPhysAttTgt", None, 4568)
prop._addConstant("polProvIf", None, 4610)
prop._addConstant("polProvLbl", None, 4607)
prop._addConstant("polRelnHolder", None, 4612)
prop._addConstant("polResCont", None, 6858)
prop._addConstant("polResPolCont", None, 6030)
prop._addConstant("polResolver", None, 6848)
prop._addConstant("polRsAeConfigJobCont", None, 8041)
prop._addConstant("polRsAeConfigSnapshotCont", None, 7832)
prop._addConstant("polRsAeCtrlrL2InstPol", None, 663)
prop._addConstant("polRsAecatfirmwarep", None, 659)
prop._addConstant("polRsAecatmaintp", None, 661)
prop._addConstant("polRsAectrlrfirmwarep", None, 655)
prop._addConstant("polRsAectrlrmaintp", None, 657)
prop._addConstant("polRsBootmgrcatfirmwarep", None, 5242)
prop._addConstant("polRsCatRel", None, 2132)
prop._addConstant("polRsCatalog", None, 1022)
prop._addConstant("polRsClientRel", None, 1018)
prop._addConstant("polRsClusterPolRel", None, 4616)
prop._addConstant("polRsCtrlrDatetimeFormat", None, 667)
prop._addConstant("polRsCtrlrDnsProfile", None, 669)
prop._addConstant("polRsCtrlrSRel", None, 4620)
prop._addConstant("polRsDbgrConfigExportP", None, 273)
prop._addConstant("polRsDbgrConfigImportIdP", None, 7311)
prop._addConstant("polRsDbgrConfigImportP", None, 275)
prop._addConstant("polRsDbgrConfigRollbackP", None, 6788)
prop._addConstant("polRsDbgrConfigSnapshotMgrP", None, 6888)
prop._addConstant("polRsDbgrPolRel", None, 4206)
prop._addConstant("polRsDbgrTechSupDataContRel", None, 4210)
prop._addConstant("polRsDependencyToFailedEpP", None, 6185)
prop._addConstant("polRsDompRel", None, 2130)
prop._addConstant("polRsEventMgrPolRel", None, 7908)
prop._addConstant("polRsExportPRel", None, 4204)
prop._addConstant("polRsFabricipv4expg", None, 4720)
prop._addConstant("polRsFabricmacexpg", None, 4722)
prop._addConstant("polRsFirmware", None, 1616)
prop._addConstant("polRsFirmwareRepoP", None, 1024)
prop._addConstant("polRsFirmwarep", None, 8037)
prop._addConstant("polRsFormatPol", None, 4618)
prop._addConstant("polRsFwFw", None, 6146)
prop._addConstant("polRsFwGrp", None, 5281)
prop._addConstant("polRsInvPRef", None, 1710)
prop._addConstant("polRsIsrc", None, 1620)
prop._addConstant("polRsMaintpol", None, 6246)
prop._addConstant("polRsMonPolDefRef", None, 295)
prop._addConstant("polRsMonPolRef", None, 293)
prop._addConstant("polRsMonToFvEppInband", None, 1680)
prop._addConstant("polRsMonToFvEppOob", None, 1682)
prop._addConstant("polRsNodeident", None, 1020)
prop._addConstant("polRsObsCtrlrSRel", None, 5311)
prop._addConstant("polRsPlgnFirmware", None, 8931)
prop._addConstant("polRsPrToBDSubnetHolder", None, 6849)
prop._addConstant("polRsRepo", None, 1618)
prop._addConstant("polRsResCtrlrCompatCat", None, 665)
prop._addConstant("polRsScriptHandlerLock", None, 7444)
prop._addConstant("polRsSynpolicy", None, 4264)
prop._addConstant("polRsTroubleshootSessionRel", None, 6266)
prop._addConstant("polRsVnsCtrlrEp", None, 5284)
prop._addConstant("polRsVnschassis", None, 7834)
prop._addConstant("polRsVnsldev", None, 4724)
prop._addConstant("polRsVnsldevctx", None, 4726)
prop._addConstant("polRsVnsmdev", None, 4718)
prop._addConstant("polRsWebPolRel", None, 6931)
prop._addConstant("polRsWebtokenRel", None, 4208)
prop._addConstant("polSCountLimit", None, 7218)
prop._addConstant("polScopedCount", None, 6997)
prop._addConstant("polScopedCountTgt", None, 7051)
prop._addConstant("polUni", None, 4602)
prop._addConstant("polVirtAttTgt", None, 4567)
prop._addConstant("policerClass", None, 2344)
prop._addConstant("policerMatch", None, 2345)
prop._addConstant("poolElement", None, 1474)
prop._addConstant("poolPool", None, 1477)
prop._addConstant("poolPoolMember", None, 1476)
prop._addConstant("poolPoolable", None, 1475)
prop._addConstant("poolSegment", None, 1473)
prop._addConstant("poolUni", None, 1472)
prop._addConstant("presClass", None, 3967)
prop._addConstant("presDltNodeRegs", None, 6883)
prop._addConstant("presDltNodeRegsTask", None, 6887)
prop._addConstant("presIPv6Support", None, 7104)
prop._addConstant("presListener", None, 3968)
prop._addConstant("presPerLeafAggregatedEpUpd", None, 7651)
prop._addConstant("presPodEvntLsn", None, 6875)
prop._addConstant("presRegdNode", None, 6878)
prop._addConstant("presRegdPod", None, 6877)
prop._addConstant("presRegdPodCont", None, 6876)
prop._addConstant("presRegistry", None, 3963)
prop._addConstant("presRegistryCont", None, 3962)
prop._addConstant("presRelnHolder", None, 3964)
prop._addConstant("presResolver", None, 3969)
prop._addConstant("presResolverDef", None, 3970)
prop._addConstant("presResolverTask", None, 5109)
prop._addConstant("presRsDefInfraBd", None, 6003)
prop._addConstant("presRsPresClass", None, 3965)
prop._addConstant("presRsPresRegdPodCont", None, 6873)
prop._addConstant("presRsToDefaultPolicies", None, 8923)
prop._addConstant("presRsZoneConfig", None, 7726)
prop._addConstant("presRtPresClass", None, 3966)
prop._addConstant("presRtPresRegdPodCont", None, 6874)
prop._addConstant("presRtToDefaultPolicies", None, 8924)
prop._addConstant("presUSegSupport", None, 8015)
prop._addConstant("procCPU", None, 3917)
prop._addConstant("procCPU15min", None, 3921)
prop._addConstant("procCPU1d", None, 3925)
prop._addConstant("procCPU1h", None, 3923)
prop._addConstant("procCPU1mo", None, 3929)
prop._addConstant("procCPU1qtr", None, 3931)
prop._addConstant("procCPU1w", None, 3927)
prop._addConstant("procCPU1year", None, 3933)
prop._addConstant("procCPU5min", None, 3919)
prop._addConstant("procCPUHist", None, 3918)
prop._addConstant("procCPUHist15min", None, 3922)
prop._addConstant("procCPUHist1d", None, 3926)
prop._addConstant("procCPUHist1h", None, 3924)
prop._addConstant("procCPUHist1mo", None, 3930)
prop._addConstant("procCPUHist1qtr", None, 3932)
prop._addConstant("procCPUHist1w", None, 3928)
prop._addConstant("procCPUHist1year", None, 3934)
prop._addConstant("procCPUHist5min", None, 3920)
prop._addConstant("procEntity", None, 3915)
prop._addConstant("procEntry", None, 3916)
prop._addConstant("procMem", None, 3936)
prop._addConstant("procMem15min", None, 3940)
prop._addConstant("procMem1d", None, 3944)
prop._addConstant("procMem1h", None, 3942)
prop._addConstant("procMem1mo", None, 3948)
prop._addConstant("procMem1qtr", None, 3950)
prop._addConstant("procMem1w", None, 3946)
prop._addConstant("procMem1year", None, 3952)
prop._addConstant("procMem5min", None, 3938)
prop._addConstant("procMemHist", None, 3937)
prop._addConstant("procMemHist15min", None, 3941)
prop._addConstant("procMemHist1d", None, 3945)
prop._addConstant("procMemHist1h", None, 3943)
prop._addConstant("procMemHist1mo", None, 3949)
prop._addConstant("procMemHist1qtr", None, 3951)
prop._addConstant("procMemHist1w", None, 3947)
prop._addConstant("procMemHist1year", None, 3953)
prop._addConstant("procMemHist5min", None, 3939)
prop._addConstant("procProc", None, 3819)
prop._addConstant("procProcCPU", None, 3877)
prop._addConstant("procProcCPU15min", None, 3881)
prop._addConstant("procProcCPU1d", None, 3885)
prop._addConstant("procProcCPU1h", None, 3883)
prop._addConstant("procProcCPU1mo", None, 3889)
prop._addConstant("procProcCPU1qtr", None, 3891)
prop._addConstant("procProcCPU1w", None, 3887)
prop._addConstant("procProcCPU1year", None, 3893)
prop._addConstant("procProcCPU5min", None, 3879)
prop._addConstant("procProcCPUHist", None, 3878)
prop._addConstant("procProcCPUHist15min", None, 3882)
prop._addConstant("procProcCPUHist1d", None, 3886)
prop._addConstant("procProcCPUHist1h", None, 3884)
prop._addConstant("procProcCPUHist1mo", None, 3890)
prop._addConstant("procProcCPUHist1qtr", None, 3892)
prop._addConstant("procProcCPUHist1w", None, 3888)
prop._addConstant("procProcCPUHist1year", None, 3894)
prop._addConstant("procProcCPUHist5min", None, 3880)
prop._addConstant("procProcMem", None, 3896)
prop._addConstant("procProcMem15min", None, 3900)
prop._addConstant("procProcMem1d", None, 3904)
prop._addConstant("procProcMem1h", None, 3902)
prop._addConstant("procProcMem1mo", None, 3908)
prop._addConstant("procProcMem1qtr", None, 3910)
prop._addConstant("procProcMem1w", None, 3906)
prop._addConstant("procProcMem1year", None, 3912)
prop._addConstant("procProcMem5min", None, 3898)
prop._addConstant("procProcMemHist", None, 3897)
prop._addConstant("procProcMemHist15min", None, 3901)
prop._addConstant("procProcMemHist1d", None, 3905)
prop._addConstant("procProcMemHist1h", None, 3903)
prop._addConstant("procProcMemHist1mo", None, 3909)
prop._addConstant("procProcMemHist1qtr", None, 3911)
prop._addConstant("procProcMemHist1w", None, 3907)
prop._addConstant("procProcMemHist1year", None, 3913)
prop._addConstant("procProcMemHist5min", None, 3899)
prop._addConstant("procSysCPU", None, 3839)
prop._addConstant("procSysCPU15min", None, 3843)
prop._addConstant("procSysCPU1d", None, 3847)
prop._addConstant("procSysCPU1h", None, 3845)
prop._addConstant("procSysCPU1mo", None, 3851)
prop._addConstant("procSysCPU1qtr", None, 3853)
prop._addConstant("procSysCPU1w", None, 3849)
prop._addConstant("procSysCPU1year", None, 3855)
prop._addConstant("procSysCPU5min", None, 3841)
prop._addConstant("procSysCPUHist", None, 3840)
prop._addConstant("procSysCPUHist15min", None, 3844)
prop._addConstant("procSysCPUHist1d", None, 3848)
prop._addConstant("procSysCPUHist1h", None, 3846)
prop._addConstant("procSysCPUHist1mo", None, 3852)
prop._addConstant("procSysCPUHist1qtr", None, 3854)
prop._addConstant("procSysCPUHist1w", None, 3850)
prop._addConstant("procSysCPUHist1year", None, 3856)
prop._addConstant("procSysCPUHist5min", None, 3842)
prop._addConstant("procSysLoad", None, 3820)
prop._addConstant("procSysLoad15min", None, 3824)
prop._addConstant("procSysLoad1d", None, 3828)
prop._addConstant("procSysLoad1h", None, 3826)
prop._addConstant("procSysLoad1mo", None, 3832)
prop._addConstant("procSysLoad1qtr", None, 3834)
prop._addConstant("procSysLoad1w", None, 3830)
prop._addConstant("procSysLoad1year", None, 3836)
prop._addConstant("procSysLoad5min", None, 3822)
prop._addConstant("procSysLoadHist", None, 3821)
prop._addConstant("procSysLoadHist15min", None, 3825)
prop._addConstant("procSysLoadHist1d", None, 3829)
prop._addConstant("procSysLoadHist1h", None, 3827)
prop._addConstant("procSysLoadHist1mo", None, 3833)
prop._addConstant("procSysLoadHist1qtr", None, 3835)
prop._addConstant("procSysLoadHist1w", None, 3831)
prop._addConstant("procSysLoadHist1year", None, 3837)
prop._addConstant("procSysLoadHist5min", None, 3823)
prop._addConstant("procSysMem", None, 3858)
prop._addConstant("procSysMem15min", None, 3862)
prop._addConstant("procSysMem1d", None, 3866)
prop._addConstant("procSysMem1h", None, 3864)
prop._addConstant("procSysMem1mo", None, 3870)
prop._addConstant("procSysMem1qtr", None, 3872)
prop._addConstant("procSysMem1w", None, 3868)
prop._addConstant("procSysMem1year", None, 3874)
prop._addConstant("procSysMem5min", None, 3860)
prop._addConstant("procSysMemHist", None, 3859)
prop._addConstant("procSysMemHist15min", None, 3863)
prop._addConstant("procSysMemHist1d", None, 3867)
prop._addConstant("procSysMemHist1h", None, 3865)
prop._addConstant("procSysMemHist1mo", None, 3871)
prop._addConstant("procSysMemHist1qtr", None, 3873)
prop._addConstant("procSysMemHist1w", None, 3869)
prop._addConstant("procSysMemHist1year", None, 3875)
prop._addConstant("procSysMemHist5min", None, 3861)
prop._addConstant("procSystem", None, 3818)
prop._addConstant("psuInstPol", None, 579)
prop._addConstant("psuRtPsuInstPol", None, 922)
prop._addConstant("psuRtPsuInstPolCons", None, 2992)
prop._addConstant("psuRtResPsuInstPol", None, 5212)
prop._addConstant("qosABuffer", None, 136)
prop._addConstant("qosACong", None, 132)
prop._addConstant("qosADot1PClass", None, 142)
prop._addConstant("qosADppPol", None, 7680)
prop._addConstant("qosADppPolHolder", None, 7840)
prop._addConstant("qosADscpClass", None, 141)
prop._addConstant("qosAQueue", None, 134)
prop._addConstant("qosASched", None, 138)
prop._addConstant("qosBuffer", None, 137)
prop._addConstant("qosClass", None, 127)
prop._addConstant("qosClassification", None, 140)
prop._addConstant("qosCong", None, 133)
prop._addConstant("qosCustomPol", None, 128)
prop._addConstant("qosCustomPolDef", None, 129)
prop._addConstant("qosDot1PClass", None, 150)
prop._addConstant("qosDot1PClassDef", None, 147)
prop._addConstant("qosDppPol", None, 7681)
prop._addConstant("qosDppPolDef", None, 7682)
prop._addConstant("qosDppPolDefCont", None, 7683)
prop._addConstant("qosDscpClass", None, 146)
prop._addConstant("qosDscpClassDef", None, 143)
prop._addConstant("qosEgressDppPolHolder", None, 7842)
prop._addConstant("qosIngressDppPolHolder", None, 7841)
prop._addConstant("qosInstPol", None, 126)
prop._addConstant("qosQueue", None, 135)
prop._addConstant("qosRsDefToCustomPol", None, 130)
prop._addConstant("qosRsDefToDot1PClass", None, 148)
prop._addConstant("qosRsDefToDscpClass", None, 144)
prop._addConstant("qosRtCustQosPol", None, 1901)
prop._addConstant("qosRtDefToCustomPol", None, 131)
prop._addConstant("qosRtDefToDot1PClass", None, 149)
prop._addConstant("qosRtDefToDscpClass", None, 145)
prop._addConstant("qosRtEgressQosDppPol", None, 7850)
prop._addConstant("qosRtIngressQosDppPol", None, 7848)
prop._addConstant("qosRtQosEgressDppIfPol", None, 7862)
prop._addConstant("qosRtQosEgressDppIfPolCons", None, 7858)
prop._addConstant("qosRtQosIngressDppIfPol", None, 7860)
prop._addConstant("qosRtQosIngressDppIfPolCons", None, 7856)
prop._addConstant("qosRtResQoSPol", None, 4434)
prop._addConstant("qosRtResQosInstPol", None, 4436)
prop._addConstant("qosRtToRemoteQosDppPolDef", None, 7725)
prop._addConstant("qosSched", None, 139)
prop._addConstant("qosmClass", None, 2352)
prop._addConstant("qosmEgrPkts", None, 2372)
prop._addConstant("qosmEgrPkts15min", None, 2376)
prop._addConstant("qosmEgrPkts1d", None, 2380)
prop._addConstant("qosmEgrPkts1h", None, 2378)
prop._addConstant("qosmEgrPkts1mo", None, 2384)
prop._addConstant("qosmEgrPkts1qtr", None, 2386)
prop._addConstant("qosmEgrPkts1w", None, 2382)
prop._addConstant("qosmEgrPkts1year", None, 2388)
prop._addConstant("qosmEgrPkts5min", None, 2374)
prop._addConstant("qosmEgrPktsHist", None, 2373)
prop._addConstant("qosmEgrPktsHist15min", None, 2377)
prop._addConstant("qosmEgrPktsHist1d", None, 2381)
prop._addConstant("qosmEgrPktsHist1h", None, 2379)
prop._addConstant("qosmEgrPktsHist1mo", None, 2385)
prop._addConstant("qosmEgrPktsHist1qtr", None, 2387)
prop._addConstant("qosmEgrPktsHist1w", None, 2383)
prop._addConstant("qosmEgrPktsHist1year", None, 2389)
prop._addConstant("qosmEgrPktsHist5min", None, 2375)
prop._addConstant("qosmEntity", None, 2393)
prop._addConstant("qosmIf", None, 2391)
prop._addConstant("qosmIfClass", None, 2392)
prop._addConstant("qosmIngrPkts", None, 2353)
prop._addConstant("qosmIngrPkts15min", None, 2357)
prop._addConstant("qosmIngrPkts1d", None, 2361)
prop._addConstant("qosmIngrPkts1h", None, 2359)
prop._addConstant("qosmIngrPkts1mo", None, 2365)
prop._addConstant("qosmIngrPkts1qtr", None, 2367)
prop._addConstant("qosmIngrPkts1w", None, 2363)
prop._addConstant("qosmIngrPkts1year", None, 2369)
prop._addConstant("qosmIngrPkts5min", None, 2355)
prop._addConstant("qosmIngrPktsHist", None, 2354)
prop._addConstant("qosmIngrPktsHist15min", None, 2358)
prop._addConstant("qosmIngrPktsHist1d", None, 2362)
prop._addConstant("qosmIngrPktsHist1h", None, 2360)
prop._addConstant("qosmIngrPktsHist1mo", None, 2366)
prop._addConstant("qosmIngrPktsHist1qtr", None, 2368)
prop._addConstant("qosmIngrPktsHist1w", None, 2364)
prop._addConstant("qosmIngrPktsHist1year", None, 2370)
prop._addConstant("qosmIngrPktsHist5min", None, 2356)
prop._addConstant("qospBuffer", None, 2497)
prop._addConstant("qospClass", None, 2494)
prop._addConstant("qospClassRule", None, 2499)
prop._addConstant("qospCong", None, 2495)
prop._addConstant("qospDot1pRule", None, 2501)
prop._addConstant("qospDscpRule", None, 2500)
prop._addConstant("qospIpRule", None, 2502)
prop._addConstant("qospQueue", None, 2496)
prop._addConstant("qospRtDot1pRuleAtt", None, 3426)
prop._addConstant("qospRtDscpRuleAtt", None, 3424)
prop._addConstant("qospSched", None, 2498)
prop._addConstant("recoveryRecStatusGlobalCont", None, 7918)
prop._addConstant("recoveryRecStatusLocalCont", None, 7916)
prop._addConstant("recoveryRecStatusLocalContTask", None, 8064)
prop._addConstant("recoveryRecStatusNode", None, 7917)
prop._addConstant("recoveryRecStatusShard", None, 7919)
prop._addConstant("recoveryRecStatusShardTask", None, 8065)
prop._addConstant("recoveryReconcileConfigJobTrig", None, 7319)
prop._addConstant("recoveryReconcileConfigP", None, 7318)
prop._addConstant("recoveryReconcileCont", None, 7320)
prop._addConstant("recoveryReconcileInst", None, 7322)
prop._addConstant("recoveryReconcileLoc", None, 7321)
prop._addConstant("recoveryReconcileLocTask", None, 7324)
prop._addConstant("recoveryReconcileNode", None, 7323)
prop._addConstant("recoveryReconcileNodeTask", None, 7327)
prop._addConstant("recoveryReconcileOutArgs", None, 7633)
prop._addConstant("recoveryRecoveryProgressStatus", None, 7915)
prop._addConstant("recoveryRelTrackerCont", None, 7820)
prop._addConstant("recoveryRelTrackerInst", None, 7821)
prop._addConstant("regressIf", None, 3372)
prop._addConstant("relnFrom", None, 45)
prop._addConstant("relnInst", None, 43)
prop._addConstant("relnPolReleaseArgs", None, 92)
prop._addConstant("relnPolResolveArgs", None, 90)
prop._addConstant("relnRelTaskCont", None, 87)
prop._addConstant("relnRelTaskContTask", None, 5045)
prop._addConstant("relnReleaseCont", None, 80)
prop._addConstant("relnReleaseObj", None, 85)
prop._addConstant("relnReleaseRef", None, 84)
prop._addConstant("relnReleaseRefTask", None, 5046)
prop._addConstant("relnRelnInst", None, 88)
prop._addConstant("relnRelnReleaseArgs", None, 91)
prop._addConstant("relnRelnResolveArgs", None, 89)
prop._addConstant("relnRelnResolveRespArgs", None, 95)
prop._addConstant("relnSvcCont", None, 86)
prop._addConstant("relnTargetClass", None, 46)
prop._addConstant("relnTargetCreateArgs", None, 93)
prop._addConstant("relnTargetDeleteArgs", None, 94)
prop._addConstant("relnTaskRef", None, 81)
prop._addConstant("relnTaskRefClass", None, 82)
prop._addConstant("relnTaskRefDn", None, 83)
prop._addConstant("relnTcCont", None, 96)
prop._addConstant("relnTcPol", None, 97)
prop._addConstant("relnTcPolCons", None, 6143)
prop._addConstant("relnTcPolInst", None, 98)
prop._addConstant("relnTo", None, 44)
prop._addConstant("replCont", None, 120)
prop._addConstant("replDelObj", None, 122)
prop._addConstant("replSenderState", None, 123)
prop._addConstant("replTxCont", None, 121)
prop._addConstant("resACtx", None, 303)
prop._addConstant("resAReqCtx", None, 305)
prop._addConstant("resASubj", None, 300)
prop._addConstant("resConsumer", None, 308)
prop._addConstant("resConsumerContext", None, 5176)
prop._addConstant("resConsumerTask", None, 5047)
prop._addConstant("resCont", None, 299)
prop._addConstant("resCtx", None, 304)
prop._addConstant("resReqCtx", None, 306)
prop._addConstant("resSubj", None, 301)
prop._addConstant("resUReqCtx", None, 307)
prop._addConstant("resUSubj", None, 302)
prop._addConstant("ribDb", None, 3738)
prop._addConstant("ribDbRec", None, 3739)
prop._addConstant("ribDom", None, 3737)
prop._addConstant("ribEntity", None, 3736)
prop._addConstant("ribNexthop", None, 5871)
prop._addConstant("ribRoute", None, 5867)
prop._addConstant("ribRouteOwner", None, 5868)
prop._addConstant("ribRsRouteOwnerToNexthopAtt", None, 5869)
prop._addConstant("ribRtRouteOwnerToNexthopAtt", None, 5870)
prop._addConstant("rmonDot1d", None, 3724)
prop._addConstant("rmonDot3Stats", None, 3726)
prop._addConstant("rmonEtherStats", None, 3725)
prop._addConstant("rmonIfHCIn", None, 3727)
prop._addConstant("rmonIfHCOut", None, 3728)
prop._addConstant("rmonIfIn", None, 3721)
prop._addConstant("rmonIfOut", None, 3722)
prop._addConstant("rmonIfStorm", None, 5907)
prop._addConstant("rmonIpIn", None, 3723)
prop._addConstant("rmonIpv6IfStats", None, 3729)
prop._addConstant("rpmEntity", None, 3549)
prop._addConstant("rtcomEntry", None, 3731)
prop._addConstant("rtcomItem", None, 3732)
prop._addConstant("rtcomRule", None, 3730)
prop._addConstant("rtctrlAAttrP", None, 606)
prop._addConstant("rtctrlAMatchCommFactor", None, 7806)
prop._addConstant("rtctrlAMatchCommRegexTerm", None, 7810)
prop._addConstant("rtctrlAMatchCommTerm", None, 7808)
prop._addConstant("rtctrlAMatchIpRule", None, 583)
prop._addConstant("rtctrlAMatchRtType", None, 589)
prop._addConstant("rtctrlAMatchRule", None, 582)
prop._addConstant("rtctrlASetComm", None, 613)
prop._addConstant("rtctrlASetDamp", None, 7844)
prop._addConstant("rtctrlASetNh", None, 622)
prop._addConstant("rtctrlASetOspfFwdAddr", None, 625)
prop._addConstant("rtctrlASetOspfNssa", None, 628)
prop._addConstant("rtctrlASetPref", None, 619)
prop._addConstant("rtctrlASetRtMetric", None, 616)
prop._addConstant("rtctrlASetRtMetricType", None, 5927)
prop._addConstant("rtctrlASetRule", None, 609)
prop._addConstant("rtctrlASetTag", None, 610)
prop._addConstant("rtctrlASetWeight", None, 7891)
prop._addConstant("rtctrlASubnet", None, 601)
prop._addConstant("rtctrlAttrDef", None, 608)
prop._addConstant("rtctrlAttrP", None, 607)
prop._addConstant("rtctrlConsSubjDefCont", None, 7457)
prop._addConstant("rtctrlCtxP", None, 598)
prop._addConstant("rtctrlDampPolDef", None, 7843)
prop._addConstant("rtctrlEpPRef", None, 7458)
prop._addConstant("rtctrlInterleakPolDef", None, 7805)
prop._addConstant("rtctrlLNodeP", None, 596)
prop._addConstant("rtctrlLNodePDef", None, 597)
prop._addConstant("rtctrlMatchCommFactor", None, 7807)
prop._addConstant("rtctrlMatchCommFactorDef", None, 7814)
prop._addConstant("rtctrlMatchCommRegexTerm", None, 7811)
prop._addConstant("rtctrlMatchCommRegexTermDef", None, 7812)
prop._addConstant("rtctrlMatchCommTerm", None, 7809)
prop._addConstant("rtctrlMatchCommTermDef", None, 7813)
prop._addConstant("rtctrlMatchRtDest", None, 584)
prop._addConstant("rtctrlMatchRtDestDef", None, 585)
prop._addConstant("rtctrlMatchRtNh", None, 592)
prop._addConstant("rtctrlMatchRtNhDef", None, 593)
prop._addConstant("rtctrlMatchRtSrc", None, 594)
prop._addConstant("rtctrlMatchRtSrcDef", None, 595)
prop._addConstant("rtctrlMatchRtType", None, 590)
prop._addConstant("rtctrlMatchRtTypeDef", None, 591)
prop._addConstant("rtctrlProfile", None, 602)
prop._addConstant("rtctrlRsCtxPToSubjP", None, 599)
prop._addConstant("rtctrlRsScopeToAttrP", None, 604)
prop._addConstant("rtctrlRtBDSubnetToProfile", None, 1834)
prop._addConstant("rtctrlRtBDToProfile", None, 1882)
prop._addConstant("rtctrlRtBDToProfileDef", None, 6856)
prop._addConstant("rtctrlRtCtrlP", None, 6064)
prop._addConstant("rtctrlRtCtrlPBase", None, 6870)
prop._addConstant("rtctrlRtCtxPToSubjP", None, 600)
prop._addConstant("rtctrlRtDampeningPol", None, 7854)
prop._addConstant("rtctrlRtInstPToProfile", None, 5936)
prop._addConstant("rtctrlRtInterleakPol", None, 7802)
prop._addConstant("rtctrlRtScopeToAttrP", None, 605)
prop._addConstant("rtctrlRtSubnetToProfile", None, 1800)
prop._addConstant("rtctrlScope", None, 603)
prop._addConstant("rtctrlSetComm", None, 614)
prop._addConstant("rtctrlSetCommDef", None, 615)
prop._addConstant("rtctrlSetDamp", None, 7845)
prop._addConstant("rtctrlSetDampDef", None, 7846)
prop._addConstant("rtctrlSetNh", None, 623)
prop._addConstant("rtctrlSetNhDef", None, 624)
prop._addConstant("rtctrlSetOspfFwdAddr", None, 626)
prop._addConstant("rtctrlSetOspfFwdAddrDef", None, 627)
prop._addConstant("rtctrlSetOspfNssa", None, 629)
prop._addConstant("rtctrlSetOspfNssaDef", None, 630)
prop._addConstant("rtctrlSetPref", None, 620)
prop._addConstant("rtctrlSetPrefDef", None, 621)
prop._addConstant("rtctrlSetRtMetric", None, 617)
prop._addConstant("rtctrlSetRtMetricDef", None, 618)
prop._addConstant("rtctrlSetRtMetricType", None, 5928)
prop._addConstant("rtctrlSetRtMetricTypeDef", None, 5929)
prop._addConstant("rtctrlSetTag", None, 611)
prop._addConstant("rtctrlSetTagDef", None, 612)
prop._addConstant("rtctrlSetWeight", None, 7892)
prop._addConstant("rtctrlSetWeightDef", None, 7893)
prop._addConstant("rtctrlSubjDef", None, 581)
prop._addConstant("rtctrlSubjP", None, 580)
prop._addConstant("rtextcomEntry", None, 3589)
prop._addConstant("rtextcomItem", None, 3590)
prop._addConstant("rtextcomRtExtCommAtt", None, 3693)
prop._addConstant("rtextcomRule", None, 3588)
prop._addConstant("rtfltEntry", None, 3370)
prop._addConstant("rtfltItem", None, 3371)
prop._addConstant("rtfltRule", None, 3369)
prop._addConstant("rtleakDefRtLeakP", None, 3604)
prop._addConstant("rtleakInterLeakP", None, 3608)
prop._addConstant("rtleakIntraLeakP", None, 3605)
prop._addConstant("rtleakLeakCtrlP", None, 3607)
prop._addConstant("rtleakLeakP", None, 3606)
prop._addConstant("rtleakRibLeakP", None, 6228)
prop._addConstant("rtmapEntry", None, 3707)
prop._addConstant("rtmapMatch", None, 3686)
prop._addConstant("rtmapMatchComm", None, 3687)
prop._addConstant("rtmapMatchExtComm", None, 3691)
prop._addConstant("rtmapMatchNhIf", None, 7883)
prop._addConstant("rtmapMatchOspfArea", None, 7884)
prop._addConstant("rtmapMatchRegComm", None, 3688)
prop._addConstant("rtmapMatchRtDst", None, 3694)
prop._addConstant("rtmapMatchRtNh", None, 3697)
prop._addConstant("rtmapMatchRtPervasive", None, 3705)
prop._addConstant("rtmapMatchRtSrc", None, 3700)
prop._addConstant("rtmapMatchRtTag", None, 3704)
prop._addConstant("rtmapMatchRtType", None, 3703)
prop._addConstant("rtmapRsExtCommAtt", None, 3692)
prop._addConstant("rtmapRsRegCommAtt", None, 3689)
prop._addConstant("rtmapRsRtDstAtt", None, 3695)
prop._addConstant("rtmapRsRtNhAtt", None, 3698)
prop._addConstant("rtmapRsRtSrcAtt", None, 3701)
prop._addConstant("rtmapRule", None, 3706)
prop._addConstant("rtmapSet", None, 3708)
prop._addConstant("rtmapSetComm", None, 3709)
prop._addConstant("rtmapSetCommItem", None, 3713)
prop._addConstant("rtmapSetDampeningCtrl", None, 7649)
prop._addConstant("rtmapSetExtComm", None, 3711)
prop._addConstant("rtmapSetMetric", None, 3717)
prop._addConstant("rtmapSetMetricType", None, 5886)
prop._addConstant("rtmapSetNh", None, 3720)
prop._addConstant("rtmapSetOspfFwdAddr", None, 3719)
prop._addConstant("rtmapSetOspfNssa", None, 3718)
prop._addConstant("rtmapSetPref", None, 3716)
prop._addConstant("rtmapSetRegComm", None, 3710)
prop._addConstant("rtmapSetRtDist", None, 6229)
prop._addConstant("rtmapSetRtTag", None, 3714)
prop._addConstant("rtmapSetRttComm", None, 3712)
prop._addConstant("rtmapSetWeight", None, 3715)
prop._addConstant("rtpfxEntry", None, 3368)
prop._addConstant("rtpfxRtRtDstAtt", None, 3696)
prop._addConstant("rtpfxRtRtNhAtt", None, 3699)
prop._addConstant("rtpfxRtRtSrcAtt", None, 3702)
prop._addConstant("rtpfxRule", None, 3367)
prop._addConstant("rtregcomEntry", None, 3374)
prop._addConstant("rtregcomItem", None, 3375)
prop._addConstant("rtregcomRtRegCommAtt", None, 3690)
prop._addConstant("rtregcomRule", None, 3373)
prop._addConstant("rtsumARtSummPol", None, 7685)
prop._addConstant("rtsumARtSummPolDef", None, 7686)
prop._addConstant("rtsumRtSubnetToRtSumm", None, 8040)
prop._addConstant("rtsumRtSum", None, 3376)
prop._addConstant("ruleDefinition", None, 525)
prop._addConstant("ruleItem", None, 526)
prop._addConstant("ruleRequirement", None, 527)
prop._addConstant("ruleSizeRequirement", None, 528)
prop._addConstant("satmDExtCh", None, 2977)
prop._addConstant("satmEntity", None, 2978)
prop._addConstant("satmFabP", None, 2979)
prop._addConstant("satmHostP", None, 2980)
prop._addConstant("satmRemoteFcot", None, 2975)
prop._addConstant("satmRemoteFcotX2", None, 2976)
prop._addConstant("snmpAClientGrpP", None, 4578)
prop._addConstant("snmpAClientP", None, 4584)
prop._addConstant("snmpACommunityP", None, 4572)
prop._addConstant("snmpACtxP", None, 4586)
prop._addConstant("snmpAPol", None, 4570)
prop._addConstant("snmpAUserP", None, 4576)
prop._addConstant("snmpClient", None, 2529)
prop._addConstant("snmpClientGrp", None, 2524)
prop._addConstant("snmpClientGrpP", None, 4579)
prop._addConstant("snmpClientP", None, 4585)
prop._addConstant("snmpCommSecP", None, 2530)
prop._addConstant("snmpCommunityP", None, 4575)
prop._addConstant("snmpConfIssues", None, 5287)
prop._addConstant("snmpCtx", None, 2532)
prop._addConstant("snmpCtxDef", None, 4588)
prop._addConstant("snmpCtxP", None, 4587)
prop._addConstant("snmpEntity", None, 2533)
prop._addConstant("snmpGroup", None, 1692)
prop._addConstant("snmpInst", None, 2534)
prop._addConstant("snmpPol", None, 4571)
prop._addConstant("snmpRsClientGrpToEpp", None, 5478)
prop._addConstant("snmpRsCommSecPClientGrpAtt", None, 2525)
prop._addConstant("snmpRsCommToCtxAtt", None, 4573)
prop._addConstant("snmpRsDestGroup", None, 1689)
prop._addConstant("snmpRsEpg", None, 4580)
prop._addConstant("snmpRtCommSecPClientGrpAtt", None, 2526)
prop._addConstant("snmpRtCommToCtxAtt", None, 4574)
prop._addConstant("snmpRtDestGroup", None, 1690)
prop._addConstant("snmpRtEventMgrSnmpPol", None, 7907)
prop._addConstant("snmpRtSnmpPRel", None, 6069)
prop._addConstant("snmpRtSnmpPol", None, 913)
prop._addConstant("snmpSrc", None, 1688)
prop._addConstant("snmpTrapDest", None, 1691)
prop._addConstant("snmpUserP", None, 4577)
prop._addConstant("snmpUserSecP", None, 2531)
prop._addConstant("spanACEpDef", None, 5617)
prop._addConstant("spanADest", None, 4159)
prop._addConstant("spanADestSummary", None, 4167)
prop._addConstant("spanAEpgSummary", None, 4168)
prop._addConstant("spanASource", None, 2324)
prop._addConstant("spanASpanLbl", None, 4155)
prop._addConstant("spanASrc", None, 4134)
prop._addConstant("spanASrcGrp", None, 4130)
prop._addConstant("spanAToCEp", None, 5579)
prop._addConstant("spanAVDest", None, 4188)
prop._addConstant("spanAVDestGrp", None, 4185)
prop._addConstant("spanAVSrc", None, 4175)
prop._addConstant("spanAVSrcGrp", None, 4182)
prop._addConstant("spanAcct", None, 4173)
prop._addConstant("spanCEpDef", None, 4197)
prop._addConstant("spanCEpDefCont", None, 5580)
prop._addConstant("spanCEpDefRef", None, 5618)
prop._addConstant("spanDb", None, 2335)
prop._addConstant("spanDest", None, 4166)
prop._addConstant("spanDestGrp", None, 4158)
prop._addConstant("spanDestination", None, 2331)
prop._addConstant("spanERDestination", None, 2332)
prop._addConstant("spanEntity", None, 2337)
prop._addConstant("spanEpRec", None, 2334)
prop._addConstant("spanEpgSummary", None, 4169)
prop._addConstant("spanFabSource", None, 2330)
prop._addConstant("spanLDestination", None, 2333)
prop._addConstant("spanRec", None, 2336)
prop._addConstant("spanRetryCont", None, 5354)
prop._addConstant("spanRetrySrc", None, 5355)
prop._addConstant("spanRetryTarget", None, 5356)
prop._addConstant("spanRsDestApic", None, 6230)
prop._addConstant("spanRsDestEpg", None, 4160)
prop._addConstant("spanRsDestPathEp", None, 4164)
prop._addConstant("spanRsDestToVPort", None, 4189)
prop._addConstant("spanRsDestToVPortDef", None, 5583)
prop._addConstant("spanRsProvDestGrp", None, 4171)
prop._addConstant("spanRsProvToVDestGrp", None, 4195)
prop._addConstant("spanRsSessionToDomainRef", None, 5633)
prop._addConstant("spanRsSpanSrcToL1IfAtt", None, 2325)
prop._addConstant("spanRsSpanSrcToL2CktEpAtt", None, 2328)
prop._addConstant("spanRsSrcToBD", None, 4146)
prop._addConstant("spanRsSrcToBDDef", None, 4148)
prop._addConstant("spanRsSrcToCtx", None, 4150)
prop._addConstant("spanRsSrcToCtxDef", None, 4152)
prop._addConstant("spanRsSrcToEpP", None, 4144)
prop._addConstant("spanRsSrcToEpg", None, 4141)
prop._addConstant("spanRsSrcToPathEp", None, 4137)
prop._addConstant("spanRsSrcToVPort", None, 4176)
prop._addConstant("spanRsSrcToVPortDef", None, 5581)
prop._addConstant("spanRsVsrcToEpg", None, 4180)
prop._addConstant("spanRtDestToVPortDef", None, 5584)
prop._addConstant("spanRtProvDestGrp", None, 4172)
prop._addConstant("spanRtProvToVDestGrp", None, 4196)
prop._addConstant("spanRtSpanVDestGrp", None, 4397)
prop._addConstant("spanRtSpanVSrcGrp", None, 4395)
prop._addConstant("spanRtSrcToVPortDef", None, 5582)
prop._addConstant("spanSession", None, 2323)
prop._addConstant("spanSource", None, 2327)
prop._addConstant("spanSpanCont", None, 4133)
prop._addConstant("spanSpanLbl", None, 4156)
prop._addConstant("spanSpanLblDef", None, 4157)
prop._addConstant("spanSpanProv", None, 4170)
prop._addConstant("spanSrc", None, 4143)
prop._addConstant("spanSrcDef", None, 4154)
prop._addConstant("spanSrcGrp", None, 4131)
prop._addConstant("spanSrcGrpDef", None, 4132)
prop._addConstant("spanSrcTargetShadow", None, 5385)
prop._addConstant("spanSrcTargetShadowBD", None, 5467)
prop._addConstant("spanSrcTargetShadowCtx", None, 5468)
prop._addConstant("spanSrcTask", None, 5110)
prop._addConstant("spanTaskParam", None, 4174)
prop._addConstant("spanTaskParamTask", None, 5111)
prop._addConstant("spanVDest", None, 4191)
prop._addConstant("spanVDestDef", None, 4192)
prop._addConstant("spanVDestGrp", None, 4186)
prop._addConstant("spanVDestGrpDef", None, 4187)
prop._addConstant("spanVEpgSummary", None, 5329)
prop._addConstant("spanVEpgSummaryDef", None, 4193)
prop._addConstant("spanVSpanProv", None, 4194)
prop._addConstant("spanVSrc", None, 4178)
prop._addConstant("spanVSrcDef", None, 4179)
prop._addConstant("spanVSrcGrp", None, 4183)
prop._addConstant("spanVSrcGrpDef", None, 4184)
prop._addConstant("statsAColl", None, 55)
prop._addConstant("statsAExportJob", None, 334)
prop._addConstant("statsAThrP", None, 58)
prop._addConstant("statsColl", None, 56)
prop._addConstant("statsCurr", None, 48)
prop._addConstant("statsCurrAgPart", None, 49)
prop._addConstant("statsDebugItem", None, 5505)
prop._addConstant("statsDestP", None, 332)
prop._addConstant("statsExportJob", None, 335)
prop._addConstant("statsExportP", None, 331)
prop._addConstant("statsExportStatusCont", None, 333)
prop._addConstant("statsHierColl", None, 57)
prop._addConstant("statsHist", None, 50)
prop._addConstant("statsHistAgPart", None, 51)
prop._addConstant("statsItem", None, 47)
prop._addConstant("statsMonPolDefCont", None, 338)
prop._addConstant("statsReportable", None, 54)
prop._addConstant("statsRtMonPolDefRef", None, 296)
prop._addConstant("statsShardExportSubJob", None, 336)
prop._addConstant("statsSubj", None, 337)
prop._addConstant("statsThrDoubleP", None, 4962)
prop._addConstant("statsThrFloatP", None, 4964)
prop._addConstant("statsThrSByteP", None, 4959)
prop._addConstant("statsThrSint16P", None, 4956)
prop._addConstant("statsThrSint32P", None, 4957)
prop._addConstant("statsThrSint64P", None, 4963)
prop._addConstant("statsThrTriggerP", None, 4955)
prop._addConstant("statsThrUByteP", None, 4961)
prop._addConstant("statsThrUint16P", None, 4958)
prop._addConstant("statsThrUint32P", None, 4960)
prop._addConstant("statsThrUint64P", None, 4965)
prop._addConstant("statstoreCurrDataHolder", None, 5180)
prop._addConstant("statstoreHistDataHolder", None, 5181)
prop._addConstant("statstoreObsClassHolder", None, 5178)
prop._addConstant("statstoreObsHolder", None, 5179)
prop._addConstant("stormctrlIfPol", None, 5606)
prop._addConstant("stormctrlRtStormctrlIfPol", None, 5608)
prop._addConstant("stormctrlRtStormctrlIfPolCons", None, 5611)
prop._addConstant("stpAEncapBlkDef", None, 571)
prop._addConstant("stpAEncapCont", None, 574)
prop._addConstant("stpAIfPol", None, 567)
prop._addConstant("stpAllocEncapBlkDef", None, 572)
prop._addConstant("stpAllocEncapCont", None, 575)
prop._addConstant("stpDom", None, 2564)
prop._addConstant("stpDomFabCons", None, 9083)
prop._addConstant("stpDomFabEncap", None, 6219)
prop._addConstant("stpEncapInstDef", None, 570)
prop._addConstant("stpEncapSegIdPair", None, 577)
prop._addConstant("stpEntity", None, 2569)
prop._addConstant("stpIf", None, 2567)
prop._addConstant("stpIfPol", None, 568)
prop._addConstant("stpIfPolDef", None, 569)
prop._addConstant("stpInst", None, 2570)
prop._addConstant("stpInstPol", None, 564)
prop._addConstant("stpMstDom", None, 2565)
prop._addConstant("stpMstDomPol", None, 566)
prop._addConstant("stpMstRegionPol", None, 565)
prop._addConstant("stpRegion", None, 2568)
prop._addConstant("stpRtDefaultStpIfPol", None, 2146)
prop._addConstant("stpRtMstInstPol", None, 4372)
prop._addConstant("stpRtOverrideStpPol", None, 6782)
prop._addConstant("stpRtStpIfPol", None, 4403)
prop._addConstant("stpRtStpIfPolCons", None, 3626)
prop._addConstant("stpRtToEncapInstDef", None, 4358)
prop._addConstant("stpRtVswitchOverrideStpPol", None, 7790)
prop._addConstant("stpUnAllocEncapBlkDef", None, 573)
prop._addConstant("stpUnAllocEncapCont", None, 576)
prop._addConstant("stpVlanRange", None, 2566)
prop._addConstant("stsAExtIn", None, 2287)
prop._addConstant("stsAExtOut", None, 2295)
prop._addConstant("stsAFabIn", None, 2276)
prop._addConstant("stsAFabInRev", None, 2281)
prop._addConstant("stsAFabOut", None, 2307)
prop._addConstant("stsAFabOutRev", None, 2312)
prop._addConstant("stsChain", None, 2292)
prop._addConstant("stsEntity", None, 2317)
prop._addConstant("stsExtIn", None, 2290)
prop._addConstant("stsExtInBase", None, 2286)
prop._addConstant("stsExtInDef", None, 2291)
prop._addConstant("stsExtOut", None, 2298)
prop._addConstant("stsExtOutBase", None, 2294)
prop._addConstant("stsExtOutDef", None, 2299)
prop._addConstant("stsFabIn", None, 2279)
prop._addConstant("stsFabInBase", None, 2275)
prop._addConstant("stsFabInDef", None, 2280)
prop._addConstant("stsFabInRev", None, 2284)
prop._addConstant("stsFabInRevDef", None, 2285)
prop._addConstant("stsFabOut", None, 2310)
prop._addConstant("stsFabOutBase", None, 2306)
prop._addConstant("stsFabOutDef", None, 2311)
prop._addConstant("stsFabOutRev", None, 2315)
prop._addConstant("stsFabOutRevDef", None, 2316)
prop._addConstant("stsInst", None, 2318)
prop._addConstant("stsNode", None, 2300)
prop._addConstant("stsPath", None, 2305)
prop._addConstant("stsRsExtInFabOutRevAtt", None, 2288)
prop._addConstant("stsRsExtOutFabOutAtt", None, 2296)
prop._addConstant("stsRsFabInExtInAtt", None, 2277)
prop._addConstant("stsRsFabInRevExtOutAtt", None, 2282)
prop._addConstant("stsRsFabOutNxtExtInAtt", None, 2308)
prop._addConstant("stsRsFabOutRevPrevExtOutAtt", None, 2313)
prop._addConstant("stsRsNodeAtt", None, 2302)
prop._addConstant("stsRtExtInFabOutRevAtt", None, 2289)
prop._addConstant("stsRtExtOutFabOutAtt", None, 2297)
prop._addConstant("stsRtFabInExtInAtt", None, 2278)
prop._addConstant("stsRtFabInRevExtOutAtt", None, 2283)
prop._addConstant("stsRtFabOutNxtExtInAtt", None, 2309)
prop._addConstant("stsRtFabOutRevPrevExtOutAtt", None, 2314)
prop._addConstant("stsRtNodeAtt", None, 2303)
prop._addConstant("stsRtToStsVNode", None, 2478)
prop._addConstant("stsStage", None, 2293)
prop._addConstant("stsTap", None, 2304)
prop._addConstant("stsVNode", None, 2301)
prop._addConstant("svccoreACore", None, 4201)
prop._addConstant("svccoreACoreTask", None, 5062)
prop._addConstant("svccoreCoreState", None, 7213)
prop._addConstant("svccoreCtrlr", None, 4199)
prop._addConstant("svccoreCtrlrPol", None, 4198)
prop._addConstant("svccoreNode", None, 4203)
prop._addConstant("svccoreNodePol", None, 4202)
prop._addConstant("svccoreNodeTask", None, 5063)
prop._addConstant("svccorePol", None, 4200)
prop._addConstant("sviIf", None, 3757)
prop._addConstant("sviIfClearCountersLTask", None, 5260)
prop._addConstant("sviIfClearCountersRslt", None, 5261)
prop._addConstant("syntheticAContext", None, 4239)
prop._addConstant("syntheticATestObj", None, 4266)
prop._addConstant("syntheticAccessPolicyInfo", None, 7442)
prop._addConstant("syntheticAnotherTestObj", None, 4236)
prop._addConstant("syntheticCTestObj", None, 4270)
prop._addConstant("syntheticClusterTest", None, 4228)
prop._addConstant("syntheticClusterTestShardInstance", None, 4232)
prop._addConstant("syntheticContext", None, 4242)
prop._addConstant("syntheticContext2", None, 4243)
prop._addConstant("syntheticContextContext", None, 5177)
prop._addConstant("syntheticContextFsm", None, 5113)
prop._addConstant("syntheticContextTask", None, 5112)
prop._addConstant("syntheticCtAv", None, 4230)
prop._addConstant("syntheticCtSubtree", None, 4229)
prop._addConstant("syntheticCtWiNode", None, 4231)
prop._addConstant("syntheticEp", None, 4252)
prop._addConstant("syntheticEpGroup", None, 4251)
prop._addConstant("syntheticFrameworkTest", None, 4233)
prop._addConstant("syntheticHierarchyObj", None, 4256)
prop._addConstant("syntheticIfcCTestObj", None, 4271)
prop._addConstant("syntheticIfcTLTestObj", None, 4268)
prop._addConstant("syntheticLocalPol", None, 4254)
prop._addConstant("syntheticLooseNodeEPInfo", None, 7195)
prop._addConstant("syntheticObject", None, 4237)
prop._addConstant("syntheticPolicy", None, 4253)
prop._addConstant("syntheticPropFilterTest", None, 4255)
prop._addConstant("syntheticRelETest", None, 4250)
prop._addConstant("syntheticRelNTest", None, 4247)
prop._addConstant("syntheticRelUnenfTest", None, 4244)
prop._addConstant("syntheticRsPhysIf", None, 4240)
prop._addConstant("syntheticRsPolicy", None, 4248)
prop._addConstant("syntheticRsToAObj", None, 6925)
prop._addConstant("syntheticRsToObj", None, 4273)
prop._addConstant("syntheticRsUnenfPolicy", None, 4245)
prop._addConstant("syntheticRtPolicy", None, 4249)
prop._addConstant("syntheticRtSynPolicyEvent", None, 5516)
prop._addConstant("syntheticRtSynpolicy", None, 4265)
prop._addConstant("syntheticRtToAObj", None, 6926)
prop._addConstant("syntheticRtToObj", None, 4274)
prop._addConstant("syntheticRtUnenfPolicy", None, 4246)
prop._addConstant("syntheticSwCTestObj", None, 4272)
prop._addConstant("syntheticSwTLTestObj", None, 4269)
prop._addConstant("syntheticTLTestObj", None, 4267)
prop._addConstant("syntheticTestBigObj", None, 4234)
prop._addConstant("syntheticTestObj", None, 4235)
prop._addConstant("syntheticUniverse", None, 4238)
prop._addConstant("sysdebugBackupBehavior", None, 330)
prop._addConstant("sysdebugCore", None, 317)
prop._addConstant("sysdebugCoreFileRepository", None, 311)
prop._addConstant("sysdebugCoreFsm", None, 5115)
prop._addConstant("sysdebugEp", None, 309)
prop._addConstant("sysdebugFile", None, 316)
prop._addConstant("sysdebugLogBehavior", None, 329)
prop._addConstant("sysdebugLogControlDestinationFile", None, 324)
prop._addConstant("sysdebugLogControlDestinationSyslog", None, 325)
prop._addConstant("sysdebugLogControlDomain", None, 322)
prop._addConstant("sysdebugLogControlEp", None, 321)
prop._addConstant("sysdebugLogControlEpFsm", None, 5116)
prop._addConstant("sysdebugLogControlModule", None, 323)
prop._addConstant("sysdebugRepository", None, 310)
prop._addConstant("sysdebugTechSupFileRepository", None, 318)
prop._addConstant("sysdebugTechSupport", None, 319)
prop._addConstant("sysdebugTechSupportCmdOpt", None, 320)
prop._addConstant("sysdebugTechSupportFsm", None, 5118)
prop._addConstant("sysfileEp", None, 1664)
prop._addConstant("sysfileInstance", None, 1669)
prop._addConstant("sysfileMutation", None, 1668)
prop._addConstant("sysfileRepository", None, 1665)
prop._addConstant("syshistCardRstRec", None, 2986)
prop._addConstant("syshistExtChCardRstRec", None, 2988)
prop._addConstant("syshistRemCardRstRec", None, 2987)
prop._addConstant("syshistRstRec", None, 2985)
prop._addConstant("syslogAcct", None, 5914)
prop._addConstant("syslogConsole", None, 1718)
prop._addConstant("syslogDestState", None, 5543)
prop._addConstant("syslogFacilityFilter", None, 5384)
prop._addConstant("syslogFile", None, 1717)
prop._addConstant("syslogGroup", None, 1719)
prop._addConstant("syslogLogMsg", None, 5913)
prop._addConstant("syslogProf", None, 1712)
prop._addConstant("syslogPseudoTerminal", None, 1720)
prop._addConstant("syslogRemoteDest", None, 1716)
prop._addConstant("syslogRsDestGroup", None, 1714)
prop._addConstant("syslogRtDestGroup", None, 1715)
prop._addConstant("syslogRtNwsSyslogSrcDefToDestGroup", None, 7302)
prop._addConstant("syslogRtNwsSyslogSrcToDestGroup", None, 7299)
prop._addConstant("syslogRtNwsSyslogSrcToDestGroupInt", None, 7771)
prop._addConstant("syslogRtToRemoteSyslogGroup", None, 7450)
prop._addConstant("syslogSrc", None, 1713)
prop._addConstant("syslogSystemMsgP", None, 5383)
prop._addConstant("sysmgrEntity", None, 3598)
prop._addConstant("sysmgrFwSt", None, 3601)
prop._addConstant("sysmgrSupSt", None, 3600)
prop._addConstant("sysmgrSysSt", None, 3599)
prop._addConstant("sysmgrpCores", None, 3674)
prop._addConstant("sysmgrpDef", None, 3673)
prop._addConstant("tagAInst", None, 1657)
prop._addConstant("tagAliasDef", None, 1655)
prop._addConstant("tagAliasDelInst", None, 1660)
prop._addConstant("tagAliasDelInstTask", None, 5048)
prop._addConstant("tagAliasInst", None, 1659)
prop._addConstant("tagAliasInstTask", None, 5049)
prop._addConstant("tagDef", None, 1654)
prop._addConstant("tagInst", None, 1658)
prop._addConstant("tagInstTask", None, 5050)
prop._addConstant("tagObj", None, 1653)
prop._addConstant("tagRef", None, 1656)
prop._addConstant("tagRefTask", None, 5119)
prop._addConstant("taskExec", None, 30)
prop._addConstant("taskInst", None, 29)
prop._addConstant("taskRslt", None, 31)
prop._addConstant("testRslt", None, 3672)
prop._addConstant("testRule", None, 3670)
prop._addConstant("testSubj", None, 3671)
prop._addConstant("testinfralabBudget", None, 4262)
prop._addConstant("testinfralabCont", None, 4257)
prop._addConstant("testinfralabFreebies", None, 4259)
prop._addConstant("testinfralabFreebiesTask", None, 5120)
prop._addConstant("testinfralabRsSnacks", None, 4260)
prop._addConstant("testinfralabRtSnacks", None, 4261)
prop._addConstant("testinfralabSnackC", None, 4263)
prop._addConstant("testinfralabSnackP", None, 4258)
prop._addConstant("throttlerASub", None, 7487)
prop._addConstant("throttlerClassCont", None, 7483)
prop._addConstant("throttlerInProgress", None, 7488)
prop._addConstant("throttlerInProgressCont", None, 7485)
prop._addConstant("throttlerInProgressContTask", None, 7877)
prop._addConstant("throttlerNodeCont", None, 7484)
prop._addConstant("throttlerPostponed", None, 7489)
prop._addConstant("throttlerPostponedCont", None, 7486)
prop._addConstant("throttlerRsToCustomNoTracking", None, 7481)
prop._addConstant("throttlerRtToCustomNoTracking", None, 7482)
prop._addConstant("throttlerSubCont", None, 7480)
prop._addConstant("throttlerSubContContext", None, 7490)
prop._addConstant("tlvBasic", None, 3972)
prop._addConstant("tlvComplex", None, 3973)
prop._addConstant("tlvIp", None, 3976)
prop._addConstant("tlvMac", None, 3975)
prop._addConstant("tlvTLV", None, 3971)
prop._addConstant("tlvText", None, 3974)
prop._addConstant("tlvUByte", None, 3980)
prop._addConstant("tlvUInt16", None, 3979)
prop._addConstant("tlvUInt32", None, 3978)
prop._addConstant("tlvUInt64", None, 3977)
prop._addConstant("topInfo", None, 19)
prop._addConstant("topMetaInf", None, 17)
prop._addConstant("topRoot", None, 2)
prop._addConstant("topRsMonPolSystemPolCons", None, 13)
prop._addConstant("topRsNeighFw", None, 557)
prop._addConstant("topRsProtGFw", None, 559)
prop._addConstant("topRsSystemRack", None, 15)
prop._addConstant("topRtFwinstlsrc", None, 370)
prop._addConstant("topRtTrDst", None, 4227)
prop._addConstant("topRtTrSrc", None, 4225)
prop._addConstant("topRtTsSrc", None, 4117)
prop._addConstant("topSysDefaults", None, 18)
prop._addConstant("topSystem", None, 3)
prop._addConstant("topSystemPingLTask", None, 5036)
prop._addConstant("topSystemPingRslt", None, 5037)
prop._addConstant("topSystemTask", None, 5057)
prop._addConstant("topoctrlEncapBlk", None, 2342)
prop._addConstant("topoctrlEndpointControlP", None, 7161)
prop._addConstant("topoctrlEntity", None, 2338)
prop._addConstant("topoctrlLbP", None, 2343)
prop._addConstant("topoctrlLoopProtectP", None, 6009)
prop._addConstant("topoctrlPortTrackIf", None, 7471)
prop._addConstant("topoctrlRsEpLoopProtectPolCons", None, 6075)
prop._addConstant("topoctrlShardChP", None, 2340)
prop._addConstant("topoctrlShardRdnP", None, 2339)
prop._addConstant("topoctrlTrackEqptFabP", None, 7582)
prop._addConstant("topoctrlVirtDom", None, 2341)
prop._addConstant("topoctrlVxlanP", None, 5613)
prop._addConstant("tracerouteAExec", None, 2507)
prop._addConstant("tracerouteARslt", None, 2510)
prop._addConstant("tracerouteExecFab", None, 2508)
prop._addConstant("tracerouteExecTn", None, 2509)
prop._addConstant("tracerouteNode", None, 2515)
prop._addConstant("traceroutePath", None, 2514)
prop._addConstant("traceroutePathGrp", None, 2513)
prop._addConstant("tracerouteProbe", None, 7010)
prop._addConstant("tracerouteProbeInfo", None, 7009)
prop._addConstant("tracerouteRsltFab", None, 2511)
prop._addConstant("tracerouteRsltTn", None, 2512)
prop._addConstant("traceroutepFromEpExtSummary", None, 9015)
prop._addConstant("traceroutepFromEpSummary", None, 8033)
prop._addConstant("traceroutepRsTrDst", None, 4226)
prop._addConstant("traceroutepRsTrEpDst", None, 4221)
prop._addConstant("traceroutepRsTrEpExtIpSrc", None, 6373)
prop._addConstant("traceroutepRsTrEpIpDst", None, 5352)
prop._addConstant("traceroutepRsTrEpIpSrc", None, 5350)
prop._addConstant("traceroutepRsTrEpSrc", None, 4217)
prop._addConstant("traceroutepRsTrSrc", None, 4224)
prop._addConstant("traceroutepToEpSummary", None, 8034)
prop._addConstant("traceroutepTrEp", None, 4216)
prop._addConstant("traceroutepTrEpExt", None, 6372)
prop._addConstant("traceroutepTrEpNode", None, 6244)
prop._addConstant("traceroutepTrEpSummary", None, 8035)
prop._addConstant("traceroutepTrNode", None, 4223)
prop._addConstant("traceroutepTrP", None, 4215)
prop._addConstant("trigATriggeredWindow", None, 7677)
prop._addConstant("trigAbsWindow", None, 1821)
prop._addConstant("trigAbsWindowP", None, 1812)
prop._addConstant("trigCont", None, 1816)
prop._addConstant("trigExecutable", None, 1825)
prop._addConstant("trigInst", None, 1814)
prop._addConstant("trigMeta", None, 1823)
prop._addConstant("trigPolicy", None, 1817)
prop._addConstant("trigRecurrWindow", None, 1822)
prop._addConstant("trigRecurrWindowP", None, 1813)
prop._addConstant("trigRsTriggerable", None, 1826)
prop._addConstant("trigRtExportScheduler", None, 264)
prop._addConstant("trigRtInvScheduler", None, 1704)
prop._addConstant("trigRtPolCatalogScheduler", None, 395)
prop._addConstant("trigRtPolCtrlrScheduler", None, 393)
prop._addConstant("trigRtPolScheduler", None, 372)
prop._addConstant("trigRtSessionScheduler", None, 6269)
prop._addConstant("trigRtTSScheduler", None, 4114)
prop._addConstant("trigRtTriggerable", None, 1827)
prop._addConstant("trigRtWindowStarted", None, 385)
prop._addConstant("trigSched", None, 1819)
prop._addConstant("trigSchedP", None, 1810)
prop._addConstant("trigSchedWindow", None, 1820)
prop._addConstant("trigSchedWindowP", None, 1811)
prop._addConstant("trigSingleTriggerable", None, 1829)
prop._addConstant("trigState", None, 1818)
prop._addConstant("trigTest", None, 1831)
prop._addConstant("trigTriggerable", None, 1828)
prop._addConstant("trigTriggered", None, 1824)
prop._addConstant("trigTriggeredWindow", None, 1830)
prop._addConstant("trigTriggeredWindowDn", None, 7678)
prop._addConstant("trigWindow", None, 1815)
prop._addConstant("troubleshootEpTransition", None, 6779)
prop._addConstant("troubleshootReportStatus", None, 6153)
prop._addConstant("troubleshootRsSessionScheduler", None, 6268)
prop._addConstant("troubleshootRtTroubleshootSessionRel", None, 6267)
prop._addConstant("troubleshootSession", None, 6241)
prop._addConstant("troubleshootSessionTrigger", None, 6270)
prop._addConstant("troubleshootSpanPktUrl", None, 6243)
prop._addConstant("tunnelBank", None, 3685)
prop._addConstant("tunnelDEp", None, 3683)
prop._addConstant("tunnelEgrTep", None, 3676)
prop._addConstant("tunnelEp", None, 3682)
prop._addConstant("tunnelIf", None, 3677)
prop._addConstant("tunnelIfClearCountersLTask", None, 5262)
prop._addConstant("tunnelIfClearCountersRslt", None, 5263)
prop._addConstant("tunnelIngrTep", None, 3675)
prop._addConstant("tunnelPortIf", None, 3684)
prop._addConstant("tunnelRsTunnelMbrIfs", None, 3678)
prop._addConstant("tunnelRsTunnelToLooseNode", None, 3680)
prop._addConstant("uiSettings", None, 7831)
prop._addConstant("uiSettingsCont", None, 7830)
prop._addConstant("unspecified", None, 0)
prop._addConstant("uribv4Db", None, 3783)
prop._addConstant("uribv4Dom", None, 3777)
prop._addConstant("uribv4Entity", None, 3776)
prop._addConstant("uribv4Nexthop", None, 3782)
prop._addConstant("uribv4Route", None, 3778)
prop._addConstant("uribv4RouteOwner", None, 3779)
prop._addConstant("uribv4RsRouteOwnerToNexthopAtt", None, 3780)
prop._addConstant("uribv4RtRouteOwnerToNexthopAtt", None, 3781)
prop._addConstant("uribv6Db", None, 5877)
prop._addConstant("uribv6Dom", None, 5873)
prop._addConstant("uribv6Entity", None, 5872)
prop._addConstant("uribv6Nexthop", None, 5876)
prop._addConstant("uribv6Route", None, 5874)
prop._addConstant("uribv6RouteOwner", None, 5875)
prop._addConstant("usegAUsegEPg", None, 7990)
prop._addConstant("usegBaseEPg", None, 7989)
prop._addConstant("usegDomainCont", None, 7988)
prop._addConstant("usegUsegEPg", None, 7991)
prop._addConstant("usegUsegEPgDef", None, 7992)
prop._addConstant("usegUsegEPgDefCont", None, 7993)
prop._addConstant("vizCounter", None, 7437)
prop._addConstant("vizSample", None, 7438)
prop._addConstant("vizTimeSeries", None, 7436)
prop._addConstant("vlanCktEp", None, 3390)
prop._addConstant("vlanCktEpClearEpLTask", None, 5038)
prop._addConstant("vlanCktEpClearEpRslt", None, 5039)
prop._addConstant("vlanEppCons", None, 8014)
prop._addConstant("vlanRsVlanEppAtt", None, 3391)
prop._addConstant("vlanRtSrcEncap", None, 2321)
prop._addConstant("vlanRtToVlanCkt", None, 9082)
prop._addConstant("vlanmgrEntity", None, 3420)
prop._addConstant("vlanmgrInst", None, 3421)
prop._addConstant("vmmACapInfo", None, 7762)
prop._addConstant("vmmACapObj", None, 7761)
prop._addConstant("vmmAEncapAllctr", None, 8007)
prop._addConstant("vmmAccGrpCont", None, 2168)
prop._addConstant("vmmAgtStatus", None, 6005)
prop._addConstant("vmmAllocEncap", None, 8009)
prop._addConstant("vmmAttEntityPCont", None, 2167)
prop._addConstant("vmmCapInfo", None, 7763)
prop._addConstant("vmmCtrlrP", None, 2150)
prop._addConstant("vmmCtrlrPDef", None, 2163)
prop._addConstant("vmmCtrlrPTask", None, 5121)
prop._addConstant("vmmCtxt", None, 2129)
prop._addConstant("vmmDomP", None, 2136)
prop._addConstant("vmmDomPDef", None, 2147)
prop._addConstant("vmmEncapAllctr", None, 8008)
prop._addConstant("vmmEpPD", None, 2134)
prop._addConstant("vmmEpValidatorPol", None, 7944)
prop._addConstant("vmmEventRecord", None, 2128)
prop._addConstant("vmmObject", None, 2127)
prop._addConstant("vmmOrchsProv", None, 5572)
prop._addConstant("vmmOrchsProvPlan", None, 5573)
prop._addConstant("vmmOrchsProvPlanFW", None, 7756)
prop._addConstant("vmmOrchsProvPlanLB", None, 5574)
prop._addConstant("vmmOrchsProvPlanSrvc", None, 5636)
prop._addConstant("vmmPlInf", None, 5629)
prop._addConstant("vmmProvP", None, 2135)
prop._addConstant("vmmRsAEP", None, 6158)
prop._addConstant("vmmRsAEPTask", None, 6181)
prop._addConstant("vmmRsAcc", None, 2151)
prop._addConstant("vmmRsBaseCtrlr", None, 6368)
prop._addConstant("vmmRsBaseCtrlrP", None, 2164)
prop._addConstant("vmmRsBaseDomP", None, 2148)
prop._addConstant("vmmRsCtrlrPMonPol", None, 2161)
prop._addConstant("vmmRsDefaultCdpIfPol", None, 2141)
prop._addConstant("vmmRsDefaultFwPol", None, 6382)
prop._addConstant("vmmRsDefaultL2InstPol", None, 2143)
prop._addConstant("vmmRsDefaultLacpLagPol", None, 5266)
prop._addConstant("vmmRsDefaultLldpIfPol", None, 2139)
prop._addConstant("vmmRsDefaultStpIfPol", None, 2145)
prop._addConstant("vmmRsDomMcastAddrNs", None, 5197)
prop._addConstant("vmmRsEncapAllctr", None, 8005)
prop._addConstant("vmmRsMcastAddrNs", None, 2157)
prop._addConstant("vmmRsMgmtEPg", None, 2159)
prop._addConstant("vmmRsVmmCtrlrP", None, 2153)
prop._addConstant("vmmRsVswitchOverrideCdpIfPol", None, 7783)
prop._addConstant("vmmRsVswitchOverrideFwPol", None, 7791)
prop._addConstant("vmmRsVswitchOverrideLacpPol", None, 7787)
prop._addConstant("vmmRsVswitchOverrideLldpIfPol", None, 7781)
prop._addConstant("vmmRsVswitchOverrideMcpIfPol", None, 7785)
prop._addConstant("vmmRsVswitchOverrideStpPol", None, 7789)
prop._addConstant("vmmRsVxlanNs", None, 2155)
prop._addConstant("vmmRsVxlanNsDef", None, 5461)
prop._addConstant("vmmRtALDevToDomP", None, 4876)
prop._addConstant("vmmRtAcc", None, 2152)
prop._addConstant("vmmRtBaseCtrlrP", None, 2165)
prop._addConstant("vmmRtBaseDomP", None, 2149)
prop._addConstant("vmmRtCDevToCtrlrP", None, 6897)
prop._addConstant("vmmRtCtrlrP", None, 1260)
prop._addConstant("vmmRtDomP", None, 1273)
prop._addConstant("vmmRtDompRel", None, 2131)
prop._addConstant("vmmRtEncapAllctr", None, 8006)
prop._addConstant("vmmRtProvP", None, 1270)
prop._addConstant("vmmRtVmmCtrlrP", None, 2154)
prop._addConstant("vmmSecP", None, 7194)
prop._addConstant("vmmSvcVM", None, 2125)
prop._addConstant("vmmUsrAccP", None, 2166)
prop._addConstant("vmmVNicPD", None, 2126)
prop._addConstant("vmmVSwitchPolicyCont", None, 7780)
prop._addConstant("vnsACCfg", None, 4858)
prop._addConstant("vnsACCfgRel", None, 4637)
prop._addConstant("vnsAConn", None, 4675)
prop._addConstant("vnsAConnection", None, 4688)
prop._addConstant("vnsAEPpInfo", None, 5957)
prop._addConstant("vnsAFolder", None, 4634)
prop._addConstant("vnsAFuncConn", None, 4676)
prop._addConstant("vnsAFuncNode", None, 4626)
prop._addConstant("vnsAGraph", None, 4623)
prop._addConstant("vnsAL4L7ServiceFault", None, 4849)
prop._addConstant("vnsALDev", None, 4872)
prop._addConstant("vnsALDevCtx", None, 4659)
prop._addConstant("vnsALDevIf", None, 4868)
prop._addConstant("vnsALDevLIf", None, 4890)
prop._addConstant("vnsALIf", None, 4885)
prop._addConstant("vnsALIfCtx", None, 4660)
prop._addConstant("vnsAMItem", None, 4733)
prop._addConstant("vnsAMName", None, 4732)
prop._addConstant("vnsAMgmt", None, 7077)
prop._addConstant("vnsANode", None, 4625)
prop._addConstant("vnsANodeInst", None, 4779)
prop._addConstant("vnsAParam", None, 4638)
prop._addConstant("vnsAScriptRTInfo", None, 5380)
prop._addConstant("vnsATerm", None, 4652)
prop._addConstant("vnsATermConn", None, 4685)
prop._addConstant("vnsATermNode", None, 4657)
prop._addConstant("vnsAVNode", None, 4808)
prop._addConstant("vnsAVRoutingDeviceCfg", None, 5992)
prop._addConstant("vnsAVRoutingNetworks", None, 6221)
prop._addConstant("vnsAVRoutingVEncapAsc", None, 6150)
prop._addConstant("vnsAbsCfgRel", None, 4641)
prop._addConstant("vnsAbsConnection", None, 4689)
prop._addConstant("vnsAbsDevCfg", None, 4647)
prop._addConstant("vnsAbsFolder", None, 4640)
prop._addConstant("vnsAbsFuncCfg", None, 4651)
prop._addConstant("vnsAbsFuncConn", None, 4686)
prop._addConstant("vnsAbsFuncProf", None, 4644)
prop._addConstant("vnsAbsFuncProfContr", None, 4642)
prop._addConstant("vnsAbsFuncProfGrp", None, 4643)
prop._addConstant("vnsAbsGraph", None, 4624)
prop._addConstant("vnsAbsGrpCfg", None, 4650)
prop._addConstant("vnsAbsNode", None, 4629)
prop._addConstant("vnsAbsParam", None, 4639)
prop._addConstant("vnsAbsTermConn", None, 4687)
prop._addConstant("vnsAbsTermNode", None, 4658)
prop._addConstant("vnsAbsTermNodeCon", None, 5203)
prop._addConstant("vnsAbsTermNodeProv", None, 5204)
prop._addConstant("vnsAddrInst", None, 5507)
prop._addConstant("vnsAssertion", None, 4759)
prop._addConstant("vnsBDDef", None, 4821)
prop._addConstant("vnsCAssertion", None, 4761)
prop._addConstant("vnsCCred", None, 4928)
prop._addConstant("vnsCCredSecret", None, 4929)
prop._addConstant("vnsCDev", None, 4924)
prop._addConstant("vnsCDevInfo", None, 7837)
prop._addConstant("vnsCDevOperInfo", None, 4925)
prop._addConstant("vnsCDevState", None, 4853)
prop._addConstant("vnsCDevTask", None, 7838)
prop._addConstant("vnsCFolder", None, 4863)
prop._addConstant("vnsCIf", None, 4931)
prop._addConstant("vnsCIfAtt", None, 5286)
prop._addConstant("vnsCMgmt", None, 4930)
prop._addConstant("vnsCMgmtProxy", None, 5305)
prop._addConstant("vnsCMgmtTask", None, 5627)
prop._addConstant("vnsCMgmts", None, 7078)
prop._addConstant("vnsCParam", None, 4866)
prop._addConstant("vnsCRel", None, 4867)
prop._addConstant("vnsCapacityUpdate", None, 4697)
prop._addConstant("vnsCapct", None, 4951)
prop._addConstant("vnsCfgDef", None, 4798)
prop._addConstant("vnsCfgRelInst", None, 4797)
prop._addConstant("vnsCfgRoot", None, 4857)
prop._addConstant("vnsChassis", None, 6169)
prop._addConstant("vnsChassisOperInfo", None, 7836)
prop._addConstant("vnsChkr", None, 6902)
prop._addConstant("vnsChkr2", None, 7447)
prop._addConstant("vnsClusterCfg", None, 4749)
prop._addConstant("vnsComparison", None, 4762)
prop._addConstant("vnsComposite", None, 4764)
prop._addConstant("vnsConfIssue", None, 6249)
prop._addConstant("vnsConnectionInst", None, 4846)
prop._addConstant("vnsCons", None, 5962)
prop._addConstant("vnsConsump", None, 4952)
prop._addConstant("vnsConsumptionUpdate", None, 4698)
prop._addConstant("vnsCtrlrEp", None, 4937)
prop._addConstant("vnsCtrlrEpProxy", None, 4855)
prop._addConstant("vnsCtrlrEpTask", None, 5628)
prop._addConstant("vnsCtrlrMgmtPol", None, 4934)
prop._addConstant("vnsDebugLog", None, 5885)
prop._addConstant("vnsDevCfg", None, 4750)
prop._addConstant("vnsDevCfgInst", None, 4799)
prop._addConstant("vnsDevConfIssue", None, 7668)
prop._addConstant("vnsDevCtxLblInfo", None, 4787)
prop._addConstant("vnsDevFolder", None, 4943)
prop._addConstant("vnsDevHealth", None, 4856)
prop._addConstant("vnsDevInt", None, 5918)
prop._addConstant("vnsDevIssues", None, 4947)
prop._addConstant("vnsDevItem", None, 4942)
prop._addConstant("vnsDevMgr", None, 6174)
prop._addConstant("vnsDevMod", None, 4747)
prop._addConstant("vnsDevParam", None, 4946)
prop._addConstant("vnsDevPing", None, 4948)
prop._addConstant("vnsDevProf", None, 5917)
prop._addConstant("vnsDevScript", None, 4746)
prop._addConstant("vnsDevSlot", None, 5919)
prop._addConstant("vnsDeviceScriptBackups", None, 5884)
prop._addConstant("vnsEPgDef", None, 4812)
prop._addConstant("vnsEPgDefCons", None, 5963)
prop._addConstant("vnsEPgDefConsTask", None, 6216)
prop._addConstant("vnsEPgDefTask", None, 5123)
prop._addConstant("vnsEPpContr", None, 4693)
prop._addConstant("vnsEPpInfo", None, 4694)
prop._addConstant("vnsEPpInfoTask", None, 5126)
prop._addConstant("vnsEncapBlkDef", None, 7904)
prop._addConstant("vnsEpInst", None, 4939)
prop._addConstant("vnsFWReq", None, 7540)
prop._addConstant("vnsFaultUpdate", None, 4696)
prop._addConstant("vnsFltInst", None, 4807)
prop._addConstant("vnsFolderInst", None, 4794)
prop._addConstant("vnsFuncCfgInst", None, 4803)
prop._addConstant("vnsFuncConnInst", None, 4830)
prop._addConstant("vnsGFolder", None, 4789)
prop._addConstant("vnsGParam", None, 4788)
prop._addConstant("vnsGRel", None, 4792)
prop._addConstant("vnsGraphIdCntnr", None, 4778)
prop._addConstant("vnsGraphInst", None, 4771)
prop._addConstant("vnsGrpCfgInst", None, 4802)
prop._addConstant("vnsHealthUpdate", None, 4695)
prop._addConstant("vnsInBEpPInfo", None, 5537)
prop._addConstant("vnsInBHolder", None, 5536)
prop._addConstant("vnsInTerm", None, 4655)
prop._addConstant("vnsLDevCtx", None, 4666)
prop._addConstant("vnsLDevCtxTask", None, 5539)
prop._addConstant("vnsLDevHint", None, 4665)
prop._addConstant("vnsLDevIf", None, 4869)
prop._addConstant("vnsLDevIfLIf", None, 4891)
prop._addConstant("vnsLDevInst", None, 4786)
prop._addConstant("vnsLDevInstTask", None, 5128)
prop._addConstant("vnsLDevOperInfo", None, 4895)
prop._addConstant("vnsLDevVip", None, 4894)
prop._addConstant("vnsLIf", None, 4892)
prop._addConstant("vnsLIfCtx", None, 4662)
prop._addConstant("vnsLIfHint", None, 4661)
prop._addConstant("vnsLIfHintInst", None, 5559)
prop._addConstant("vnsLegVNode", None, 4810)
prop._addConstant("vnsMCap", None, 4748)
prop._addConstant("vnsMChassis", None, 6161)
prop._addConstant("vnsMConn", None, 4756)
prop._addConstant("vnsMCred", None, 4744)
prop._addConstant("vnsMCredSecret", None, 4745)
prop._addConstant("vnsMDev", None, 4742)
prop._addConstant("vnsMDevCfg", None, 4751)
prop._addConstant("vnsMDevMgr", None, 6164)
prop._addConstant("vnsMDfct", None, 4768)
prop._addConstant("vnsMDfctCat", None, 4766)
prop._addConstant("vnsMDfctCats", None, 4765)
prop._addConstant("vnsMDfcts", None, 4767)
prop._addConstant("vnsMFeature", None, 5912)
prop._addConstant("vnsMFolder", None, 4736)
prop._addConstant("vnsMFunc", None, 4753)
prop._addConstant("vnsMGrpCfg", None, 4752)
prop._addConstant("vnsMIfLbl", None, 4743)
prop._addConstant("vnsMImage", None, 4754)
prop._addConstant("vnsMParam", None, 4737)
prop._addConstant("vnsMRel", None, 4738)
prop._addConstant("vnsMgmtLIf", None, 4893)
prop._addConstant("vnsNatInst", None, 4938)
prop._addConstant("vnsNodeInst", None, 4780)
prop._addConstant("vnsNodeInstCons", None, 6879)
prop._addConstant("vnsNodeInstDef", None, 4785)
prop._addConstant("vnsNodeInstIdCntnr", None, 5328)
prop._addConstant("vnsOrchReq", None, 7538)
prop._addConstant("vnsOrchResp", None, 7539)
prop._addConstant("vnsOutTerm", None, 4656)
prop._addConstant("vnsParamInst", None, 4793)
prop._addConstant("vnsPrefix", None, 5996)
prop._addConstant("vnsREPpInfo", None, 5959)
prop._addConstant("vnsREPpInfoTask", None, 5970)
prop._addConstant("vnsRLDevInstCons", None, 6892)
prop._addConstant("vnsRTInfo", None, 5381)
prop._addConstant("vnsRange", None, 4763)
prop._addConstant("vnsRelnCons", None, 6118)
prop._addConstant("vnsRelnHolder", None, 6115)
prop._addConstant("vnsRndrInfo", None, 4692)
prop._addConstant("vnsRoutingCfg", None, 5991)
prop._addConstant("vnsRsALDevToDevMgr", None, 6167)
prop._addConstant("vnsRsALDevToDomP", None, 4875)
prop._addConstant("vnsRsALDevToPhysDomP", None, 4877)
prop._addConstant("vnsRsALDevToVlanInstP", None, 4881)
prop._addConstant("vnsRsALDevToVxlanInstP", None, 4879)
prop._addConstant("vnsRsAbsConnectionConns", None, 4690)
prop._addConstant("vnsRsAbsFuncProf", None, 6646)
prop._addConstant("vnsRsAbsGraph", None, 7451)
prop._addConstant("vnsRsBDDefToBD", None, 4822)
prop._addConstant("vnsRsBDDefToConn", None, 4826)
prop._addConstant("vnsRsBDDefToLIf", None, 4824)
prop._addConstant("vnsRsBdConn", None, 4837)
prop._addConstant("vnsRsCDevAtt", None, 4864)
prop._addConstant("vnsRsCDevOperInfoToCDev", None, 4926)
prop._addConstant("vnsRsCDevToChassis", None, 6179)
prop._addConstant("vnsRsCDevToCtrlrP", None, 6896)
prop._addConstant("vnsRsCIfAtt", None, 4888)
prop._addConstant("vnsRsCIfAttN", None, 7468)
prop._addConstant("vnsRsCIfPathAtt", None, 4932)
prop._addConstant("vnsRsCfgToConn", None, 4859)
prop._addConstant("vnsRsCfgToVConn", None, 4861)
prop._addConstant("vnsRsChassisEpg", None, 6170)
prop._addConstant("vnsRsChassisToMChassis", None, 6172)
prop._addConstant("vnsRsClusterPol", None, 6905)
prop._addConstant("vnsRsConnToAConn", None, 6984)
prop._addConstant("vnsRsConnToAConnInst", None, 6986)
prop._addConstant("vnsRsConnToCtxTerm", None, 4681)
prop._addConstant("vnsRsConnToCtxTermInst", None, 4833)
prop._addConstant("vnsRsConnToFlt", None, 4679)
prop._addConstant("vnsRsConnToFltInst", None, 4831)
prop._addConstant("vnsRsConnToLIfInst", None, 4835)
prop._addConstant("vnsRsConnectionInstConns", None, 4847)
prop._addConstant("vnsRsConnector", None, 4734)
prop._addConstant("vnsRsDefaultScopeToTerm", None, 4627)
prop._addConstant("vnsRsDevEpg", None, 4883)
prop._addConstant("vnsRsDevFolderToMFolder", None, 4944)
prop._addConstant("vnsRsDevMgrEpg", None, 6175)
prop._addConstant("vnsRsDevMgrToMDevMgr", None, 6177)
prop._addConstant("vnsRsDevPingToCDev", None, 4949)
prop._addConstant("vnsRsDfctToCat", None, 4769)
prop._addConstant("vnsRsEPgDefToConn", None, 4815)
prop._addConstant("vnsRsEPgDefToLIf", None, 4817)
prop._addConstant("vnsRsEPpInfoAtt", None, 4813)
prop._addConstant("vnsRsEPpInfoToBD", None, 5488)
prop._addConstant("vnsRsEventConn", None, 4839)
prop._addConstant("vnsRsFolderInstAtt", None, 4790)
prop._addConstant("vnsRsFolderInstToMFolder", None, 4795)
prop._addConstant("vnsRsFunction", None, 4904)
prop._addConstant("vnsRsGraphInstToLDevCtx", None, 4800)
prop._addConstant("vnsRsGraphInstanceMeta", None, 4772)
prop._addConstant("vnsRsInterface", None, 4757)
prop._addConstant("vnsRsLDevAtt", None, 4900)
prop._addConstant("vnsRsLDevCtxToLDev", None, 4667)
prop._addConstant("vnsRsLDevCtxToRtrCfg", None, 6649)
prop._addConstant("vnsRsLDevDomP", None, 7894)
prop._addConstant("vnsRsLDevInst", None, 4776)
prop._addConstant("vnsRsLDevInstTask", None, 5265)
prop._addConstant("vnsRsLDevOperInfoToALDev", None, 4896)
prop._addConstant("vnsRsLIfCtxToBD", None, 5486)
prop._addConstant("vnsRsLIfCtxToInstP", None, 6073)
prop._addConstant("vnsRsLIfCtxToLIf", None, 4663)
prop._addConstant("vnsRsLIfCtxToOut", None, 5989)
prop._addConstant("vnsRsLdevIfToLDev", None, 4870)
prop._addConstant("vnsRsMChassis", None, 7818)
prop._addConstant("vnsRsMChassisToMDev", None, 6162)
prop._addConstant("vnsRsMConnAtt", None, 4677)
prop._addConstant("vnsRsMConnAttInst", None, 5289)
prop._addConstant("vnsRsMDev", None, 6376)
prop._addConstant("vnsRsMDevAtt", None, 4873)
prop._addConstant("vnsRsMDevMgr", None, 7816)
prop._addConstant("vnsRsMDevMgrToMDev", None, 6165)
prop._addConstant("vnsRsMetaIf", None, 4886)
prop._addConstant("vnsRsMgmtAddr", None, 4935)
prop._addConstant("vnsRsNodeInstMeta", None, 4783)
prop._addConstant("vnsRsNodeInstToLDevCtx", None, 4781)
prop._addConstant("vnsRsNodeToAbsFuncProf", None, 4632)
prop._addConstant("vnsRsNodeToLDev", None, 7017)
prop._addConstant("vnsRsNodeToMFunc", None, 4630)
prop._addConstant("vnsRsPolModAtt", None, 4841)
prop._addConstant("vnsRsProfToMFunc", None, 4645)
prop._addConstant("vnsRsRLdevInst", None, 5965)
prop._addConstant("vnsRsSEPpInfo", None, 5960)
prop._addConstant("vnsRsSEPpInfoAtt", None, 5968)
prop._addConstant("vnsRsScopeToTerm", None, 4635)
prop._addConstant("vnsRsScriptHandlerStateToDomainRef", None, 5322)
prop._addConstant("vnsRsSvcMgmtEpg", None, 4728)
prop._addConstant("vnsRsTarget", None, 4739)
prop._addConstant("vnsRsTenant", None, 6116)
prop._addConstant("vnsRsTermInstMeta", None, 4805)
prop._addConstant("vnsRsTermToAny", None, 5713)
prop._addConstant("vnsRsTermToAnyTask", None, 5715)
prop._addConstant("vnsRsTermToEPg", None, 4653)
prop._addConstant("vnsRsTermToEPgTask", None, 5130)
prop._addConstant("vnsRsUnkMacActModAtt", None, 4843)
prop._addConstant("vnsRsVConnToEpgEp", None, 4912)
prop._addConstant("vnsRsVConnToEpgSubnet", None, 4910)
prop._addConstant("vnsRsVConnToVConn", None, 4914)
prop._addConstant("vnsRsVDevDomainRefContToDomainRef", None, 6071)
prop._addConstant("vnsRsVDevToDomainRef", None, 5295)
prop._addConstant("vnsRsVlanInstP", None, 7303)
prop._addConstant("vnsRtALDevToDevMgr", None, 6168)
prop._addConstant("vnsRtAbsConnectionConns", None, 4691)
prop._addConstant("vnsRtAbsFuncProf", None, 6647)
prop._addConstant("vnsRtAbsGraph", None, 7452)
prop._addConstant("vnsRtBDDefToConn", None, 4827)
prop._addConstant("vnsRtBDDefToLIf", None, 4825)
prop._addConstant("vnsRtBdConn", None, 4838)
prop._addConstant("vnsRtCDevAtt", None, 4865)
prop._addConstant("vnsRtCDevOperInfoToCDev", None, 4927)
prop._addConstant("vnsRtCDevToChassis", None, 6180)
prop._addConstant("vnsRtCIfAtt", None, 4889)
prop._addConstant("vnsRtCIfAttN", None, 7469)
prop._addConstant("vnsRtCfgToConn", None, 4860)
prop._addConstant("vnsRtCfgToVConn", None, 4862)
prop._addConstant("vnsRtChassisToMChassis", None, 6173)
prop._addConstant("vnsRtConnToAConn", None, 6985)
prop._addConstant("vnsRtConnToAConnInst", None, 6987)
prop._addConstant("vnsRtConnToCtxTerm", None, 4682)
prop._addConstant("vnsRtConnToCtxTermInst", None, 4834)
prop._addConstant("vnsRtConnToLIfInst", None, 4836)
prop._addConstant("vnsRtConnectionInstConns", None, 4848)
prop._addConstant("vnsRtConnector", None, 4735)
prop._addConstant("vnsRtDefaultScopeToTerm", None, 4628)
prop._addConstant("vnsRtDevFolderToMFolder", None, 4945)
prop._addConstant("vnsRtDevMgrToMDevMgr", None, 6178)
prop._addConstant("vnsRtDevPingToCDev", None, 4950)
prop._addConstant("vnsRtDfctToCat", None, 4770)
prop._addConstant("vnsRtEPgDefToConn", None, 4816)
prop._addConstant("vnsRtEPgDefToLIf", None, 4818)
prop._addConstant("vnsRtEPpInfoAtt", None, 4814)
prop._addConstant("vnsRtEventConn", None, 4840)
prop._addConstant("vnsRtFiltGraphAtt", None, 1316)
prop._addConstant("vnsRtFolderInstAtt", None, 4791)
prop._addConstant("vnsRtFolderInstToMFolder", None, 4796)
prop._addConstant("vnsRtFromLDevForExtToEp", None, 4103)
prop._addConstant("vnsRtFromLDevForIpToEpg", None, 4080)
prop._addConstant("vnsRtFunction", None, 4905)
prop._addConstant("vnsRtGraphAtt", None, 1304)
prop._addConstant("vnsRtGraphDefToGraph", None, 1407)
prop._addConstant("vnsRtGraphInstToLDevCtx", None, 4801)
prop._addConstant("vnsRtGraphInstanceMeta", None, 4773)
prop._addConstant("vnsRtInTermGraphAtt", None, 1333)
prop._addConstant("vnsRtInterface", None, 4758)
prop._addConstant("vnsRtLDevAtt", None, 4901)
prop._addConstant("vnsRtLDevCtxToLDev", None, 4668)
prop._addConstant("vnsRtLDevCtxToRtrCfg", None, 6650)
prop._addConstant("vnsRtLDevInst", None, 4777)
prop._addConstant("vnsRtLDevOperInfoToALDev", None, 4897)
prop._addConstant("vnsRtLIfCtxToLIf", None, 4664)
prop._addConstant("vnsRtLdevIfToLDev", None, 4871)
prop._addConstant("vnsRtMChassis", None, 7819)
prop._addConstant("vnsRtMChassisToMDev", None, 6163)
prop._addConstant("vnsRtMConnAtt", None, 4678)
prop._addConstant("vnsRtMConnAttInst", None, 5290)
prop._addConstant("vnsRtMDev", None, 6377)
prop._addConstant("vnsRtMDevAtt", None, 4874)
prop._addConstant("vnsRtMDevMgr", None, 7817)
prop._addConstant("vnsRtMDevMgrToMDev", None, 6166)
prop._addConstant("vnsRtMetaIf", None, 4887)
prop._addConstant("vnsRtMgmtAddr", None, 5510)
prop._addConstant("vnsRtNodeInstMeta", None, 4784)
prop._addConstant("vnsRtNodeInstToLDevCtx", None, 4782)
prop._addConstant("vnsRtNodeToAbsFuncProf", None, 4633)
prop._addConstant("vnsRtNodeToLDev", None, 7018)
prop._addConstant("vnsRtNodeToMFunc", None, 4631)
prop._addConstant("vnsRtOutTermGraphAtt", None, 1336)
prop._addConstant("vnsRtProfToMFunc", None, 4646)
prop._addConstant("vnsRtRLdevInst", None, 5966)
prop._addConstant("vnsRtSEPpInfo", None, 5961)
prop._addConstant("vnsRtSEPpInfoAtt", None, 5969)
prop._addConstant("vnsRtScopeToTerm", None, 4636)
prop._addConstant("vnsRtSubjGraphAtt", None, 1323)
prop._addConstant("vnsRtTarget", None, 4740)
prop._addConstant("vnsRtTermInstMeta", None, 4806)
prop._addConstant("vnsRtToLDevForEpToExt", None, 4100)
prop._addConstant("vnsRtToLDevForEpgToIp", None, 4077)
prop._addConstant("vnsRtVConnToVConn", None, 4915)
prop._addConstant("vnsRtVnsCtrlrEp", None, 5285)
prop._addConstant("vnsRtVnschassis", None, 7835)
prop._addConstant("vnsRtVnsldev", None, 4725)
prop._addConstant("vnsRtVnsldevctx", None, 4727)
prop._addConstant("vnsRtVnsmdev", None, 4719)
prop._addConstant("vnsRtrCfg", None, 6648)
prop._addConstant("vnsRtrIdInfo", None, 6651)
prop._addConstant("vnsRxPkts", None, 1509)
prop._addConstant("vnsRxPkts15min", None, 1513)
prop._addConstant("vnsRxPkts1d", None, 1519)
prop._addConstant("vnsRxPkts1h", None, 1516)
prop._addConstant("vnsRxPkts1mo", None, 1528)
prop._addConstant("vnsRxPkts1qtr", None, 1532)
prop._addConstant("vnsRxPkts1w", None, 1523)
prop._addConstant("vnsRxPkts1year", None, 1536)
prop._addConstant("vnsRxPkts5min", None, 1511)
prop._addConstant("vnsRxPktsHist", None, 1510)
prop._addConstant("vnsRxPktsHist15min", None, 1514)
prop._addConstant("vnsRxPktsHist1d", None, 1521)
prop._addConstant("vnsRxPktsHist1h", None, 1517)
prop._addConstant("vnsRxPktsHist1mo", None, 1530)
prop._addConstant("vnsRxPktsHist1qtr", None, 1534)
prop._addConstant("vnsRxPktsHist1w", None, 1525)
prop._addConstant("vnsRxPktsHist1year", None, 1539)
prop._addConstant("vnsRxPktsHist5min", None, 1512)
prop._addConstant("vnsSAssertion", None, 4760)
prop._addConstant("vnsSDEPpInfo", None, 5958)
prop._addConstant("vnsSDEPpInfoTask", None, 5971)
prop._addConstant("vnsSHEPgDefCons", None, 6215)
prop._addConstant("vnsSHEPpInfo", None, 6131)
prop._addConstant("vnsSHEPpInfoTask", None, 6217)
prop._addConstant("vnsSHSEPpInfo", None, 6214)
prop._addConstant("vnsSHSEPpInfoTask", None, 6218)
prop._addConstant("vnsSLDevInst", None, 5967)
prop._addConstant("vnsSLDevInstCons", None, 5964)
prop._addConstant("vnsSLDevInstConsTask", None, 5972)
prop._addConstant("vnsSLDevInstTask", None, 5973)
prop._addConstant("vnsScriptHandlerState", None, 4850)
prop._addConstant("vnsScriptHandlerUserState", None, 4851)
prop._addConstant("vnsScriptRTInfo", None, 4852)
prop._addConstant("vnsScriptRTInfoTask", None, 5382)
prop._addConstant("vnsStsVNode", None, 4809)
prop._addConstant("vnsSvcEpgCont", None, 6840)
prop._addConstant("vnsSvcGraphVersion", None, 4622)
prop._addConstant("vnsSvcPkgSource", None, 4741)
prop._addConstant("vnsSvcRelnCons", None, 7015)
prop._addConstant("vnsSvcRelnHolder", None, 6645)
prop._addConstant("vnsSvcVip", None, 6836)
prop._addConstant("vnsSvcVipCons", None, 6839)
prop._addConstant("vnsSvcVipDef", None, 6838)
prop._addConstant("vnsSvcVipUpdate", None, 6837)
prop._addConstant("vnsSvcVipUpdateTask", None, 6843)
prop._addConstant("vnsTermConnInst", None, 4845)
prop._addConstant("vnsTermNodeInst", None, 4804)
prop._addConstant("vnsTransactionUpdate", None, 5313)
prop._addConstant("vnsTxId", None, 4898)
prop._addConstant("vnsTxPkts", None, 1543)
prop._addConstant("vnsTxPkts15min", None, 1547)
prop._addConstant("vnsTxPkts1d", None, 1551)
prop._addConstant("vnsTxPkts1h", None, 1549)
prop._addConstant("vnsTxPkts1mo", None, 1555)
prop._addConstant("vnsTxPkts1qtr", None, 1557)
prop._addConstant("vnsTxPkts1w", None, 1553)
prop._addConstant("vnsTxPkts1year", None, 1559)
prop._addConstant("vnsTxPkts5min", None, 1545)
prop._addConstant("vnsTxPktsHist", None, 1544)
prop._addConstant("vnsTxPktsHist15min", None, 1548)
prop._addConstant("vnsTxPktsHist1d", None, 1552)
prop._addConstant("vnsTxPktsHist1h", None, 1550)
prop._addConstant("vnsTxPktsHist1mo", None, 1556)
prop._addConstant("vnsTxPktsHist1qtr", None, 1558)
prop._addConstant("vnsTxPktsHist1w", None, 1554)
prop._addConstant("vnsTxPktsHist1year", None, 1560)
prop._addConstant("vnsTxPktsHist5min", None, 1546)
prop._addConstant("vnsUnit", None, 5509)
prop._addConstant("vnsUnitHolder", None, 5508)
prop._addConstant("vnsVBgpDevCfg", None, 5994)
prop._addConstant("vnsVBgpNetworks", None, 6188)
prop._addConstant("vnsVBgpPeer", None, 6187)
prop._addConstant("vnsVBgpVEncapAsc", None, 6152)
prop._addConstant("vnsVConn", None, 4906)
prop._addConstant("vnsVDev", None, 4899)
prop._addConstant("vnsVDevDomainRefCont", None, 6070)
prop._addConstant("vnsVDevOperInfo", None, 5469)
prop._addConstant("vnsVEncap", None, 4940)
prop._addConstant("vnsVEncapAsc", None, 4919)
prop._addConstant("vnsVEncapRel", None, 4941)
prop._addConstant("vnsVEpg", None, 4909)
prop._addConstant("vnsVFunc", None, 4903)
prop._addConstant("vnsVGrp", None, 4902)
prop._addConstant("vnsVGrpUpdate", None, 6065)
prop._addConstant("vnsVIf", None, 4916)
prop._addConstant("vnsVNodeDef", None, 4811)
prop._addConstant("vnsVOspfDevCfg", None, 5993)
prop._addConstant("vnsVOspfNetworks", None, 6222)
prop._addConstant("vnsVOspfVEncapAsc", None, 6151)
prop._addConstant("vpcAppParamInfo", None, 3438)
prop._addConstant("vpcAppParams", None, 3437)
prop._addConstant("vpcDom", None, 3433)
prop._addConstant("vpcEntity", None, 3431)
prop._addConstant("vpcIf", None, 3428)
prop._addConstant("vpcIfTask", None, 5079)
prop._addConstant("vpcInst", None, 3432)
prop._addConstant("vpcInstPol", None, 693)
prop._addConstant("vpcKAPol", None, 694)
prop._addConstant("vpcKeepalive", None, 3436)
prop._addConstant("vpcRsVpcConf", None, 3429)
prop._addConstant("vpcRsVpcInstPolCons", None, 3434)
prop._addConstant("vpcRtVpcInstPol", None, 982)
prop._addConstant("vpcRtVpcInstPolCons", None, 3435)
prop._addConstant("vsvcAConsLbl", None, 1016)
prop._addConstant("vsvcAProvLbl", None, 1014)
prop._addConstant("vsvcConsLbl", None, 1017)
prop._addConstant("vsvcProvLbl", None, 1015)
prop._addConstant("vtapNatEntry", None, 5616)
prop._addConstant("vtapNatEntryCont", None, 5615)
prop._addConstant("vxlanCktEp", None, 3393)
prop._addConstant("vxlanCktEpClearEpLTask", None, 5040)
prop._addConstant("vxlanCktEpClearEpRslt", None, 5041)
prop._addConstant("vxlanRsVxlanEppAtt", None, 3394)
prop._addConstant("vzABrCP", None, 1299)
prop._addConstant("vzACollection", None, 1297)
prop._addConstant("vzACollectionDef", None, 1373)
prop._addConstant("vzACollectionTask", None, 5131)
prop._addConstant("vzACompLbl", None, 1338)
prop._addConstant("vzACompLblDef", None, 1386)
prop._addConstant("vzAContDef", None, 1394)
prop._addConstant("vzACtrct", None, 1298)
prop._addConstant("vzACtrctEpgDef", None, 1399)
prop._addConstant("vzAFiltEntry", None, 1367)
prop._addConstant("vzAFilter", None, 1361)
prop._addConstant("vzAFilterable", None, 1314)
prop._addConstant("vzAFilterableUnit", None, 1317)
prop._addConstant("vzAIf", None, 1307)
prop._addConstant("vzALbl", None, 1337)
prop._addConstant("vzALblDef", None, 1385)
prop._addConstant("vzASTerm", None, 1328)
prop._addConstant("vzASubj", None, 1318)
prop._addConstant("vzATerm", None, 1327)
prop._addConstant("vzAToEPg", None, 5637)
prop._addConstant("vzAllocateSharedService", None, 5534)
prop._addConstant("vzAny", None, 1346)
prop._addConstant("vzAnyDef", None, 5642)
prop._addConstant("vzAnyDefCont", None, 5641)
prop._addConstant("vzAnyREpPCont", None, 5653)
prop._addConstant("vzAnyREpPCtrct", None, 5654)
prop._addConstant("vzAnyToCollection", None, 1345)
prop._addConstant("vzAnyToInterface", None, 7011)
prop._addConstant("vzBrCP", None, 1300)
prop._addConstant("vzBrCPTask", None, 5132)
prop._addConstant("vzCPIf", None, 1308)
prop._addConstant("vzCollectionCont", None, 1408)
prop._addConstant("vzCollectionContTask", None, 5133)
prop._addConstant("vzCollectionDef", None, 1374)
prop._addConstant("vzConsCtrctLbl", None, 1344)
prop._addConstant("vzConsCtrctLblDef", None, 1393)
prop._addConstant("vzConsDef", None, 1401)
prop._addConstant("vzConsLbl", None, 1340)
prop._addConstant("vzConsLblDef", None, 1389)
prop._addConstant("vzConsSubjLbl", None, 1342)
prop._addConstant("vzConsSubjLblDef", None, 1391)
prop._addConstant("vzCreatedBy", None, 1387)
prop._addConstant("vzCtrctEPgCont", None, 1378)
prop._addConstant("vzCtrctEPgContTask", None, 5134)
prop._addConstant("vzCtrctEntityDef", None, 5496)
prop._addConstant("vzDirAssDef", None, 1395)
prop._addConstant("vzERFltP", None, 5695)
prop._addConstant("vzEntry", None, 1368)
prop._addConstant("vzEpgAnyDef", None, 1396)
prop._addConstant("vzFilter", None, 1362)
prop._addConstant("vzFilterTask", None, 5135)
prop._addConstant("vzFltTaskAggr", None, 1403)
prop._addConstant("vzFltTaskAggrCont", None, 1402)
prop._addConstant("vzFltTaskAggrTask", None, 5136)
prop._addConstant("vzFromEPg", None, 1379)
prop._addConstant("vzGlobalPcTagRequest", None, 7440)
prop._addConstant("vzGlobalPcTagRequestCont", None, 7439)
prop._addConstant("vzGlobalPcTagRequestTask", None, 7441)
prop._addConstant("vzGraphCont", None, 1404)
prop._addConstant("vzGraphDef", None, 1405)
prop._addConstant("vzInTerm", None, 1331)
prop._addConstant("vzIntDef", None, 1397)
prop._addConstant("vzInterfaceToCollection", None, 5555)
prop._addConstant("vzLFromEPg", None, 6022)
prop._addConstant("vzLToEPg", None, 6021)
prop._addConstant("vzOOBBrCP", None, 1305)
prop._addConstant("vzOutTerm", None, 1334)
prop._addConstant("vzPcTagCons", None, 7911)
prop._addConstant("vzProvCtrctLbl", None, 1343)
prop._addConstant("vzProvCtrctLblDef", None, 1392)
prop._addConstant("vzProvDef", None, 1400)
prop._addConstant("vzProvDefTask", None, 5137)
prop._addConstant("vzProvLbl", None, 1339)
prop._addConstant("vzProvLblDef", None, 1388)
prop._addConstant("vzProvSubjLbl", None, 1341)
prop._addConstant("vzProvSubjLblDef", None, 1390)
prop._addConstant("vzRFltE", None, 1372)
prop._addConstant("vzRFltP", None, 1369)
prop._addConstant("vzResPcTag", None, 7987)
prop._addConstant("vzResPcTagCont", None, 7986)
prop._addConstant("vzRsAnyToCons", None, 1349)
prop._addConstant("vzRsAnyToConsIf", None, 1351)
prop._addConstant("vzRsAnyToCtrct", None, 5655)
prop._addConstant("vzRsAnyToProv", None, 1347)
prop._addConstant("vzRsDenyRule", None, 1325)
prop._addConstant("vzRsERFltPOwner", None, 5696)
prop._addConstant("vzRsFiltAtt", None, 1329)
prop._addConstant("vzRsFiltGraphAtt", None, 1315)
prop._addConstant("vzRsFwdRFltPAtt", None, 1363)
prop._addConstant("vzRsGraphAtt", None, 1303)
prop._addConstant("vzRsGraphDefToGraph", None, 1406)
prop._addConstant("vzRsIf", None, 1309)
prop._addConstant("vzRsInTermGraphAtt", None, 1332)
prop._addConstant("vzRsOutTermGraphAtt", None, 1335)
prop._addConstant("vzRsRFltAtt", None, 1383)
prop._addConstant("vzRsRFltPOwner", None, 1370)
prop._addConstant("vzRsRevRFltPAtt", None, 1365)
prop._addConstant("vzRsSubjFiltAtt", None, 1320)
prop._addConstant("vzRsSubjGraphAtt", None, 1322)
prop._addConstant("vzRsTabooRFltAtt", None, 1376)
prop._addConstant("vzRsToAnyDef", None, 5639)
prop._addConstant("vzRtAeToCtrct", None, 5603)
prop._addConstant("vzRtAnyToCons", None, 1350)
prop._addConstant("vzRtAnyToConsIf", None, 1352)
prop._addConstant("vzRtAnyToCtrct", None, 5656)
prop._addConstant("vzRtAnyToProv", None, 1348)
prop._addConstant("vzRtBdFloodTo", None, 1880)
prop._addConstant("vzRtConnToFlt", None, 4680)
prop._addConstant("vzRtConnToFltInst", None, 4832)
prop._addConstant("vzRtCons", None, 1905)
prop._addConstant("vzRtConsIf", None, 1907)
prop._addConstant("vzRtCtxMcastTo", None, 2003)
prop._addConstant("vzRtDenyRule", None, 1326)
prop._addConstant("vzRtERFltPOwner", None, 5697)
prop._addConstant("vzRtFiltAtt", None, 1330)
prop._addConstant("vzRtFwdRFltPAtt", None, 1364)
prop._addConstant("vzRtGraphDef", None, 1991)
prop._addConstant("vzRtIf", None, 1310)
prop._addConstant("vzRtOoBCons", None, 2185)
prop._addConstant("vzRtOoBProv", None, 2193)
prop._addConstant("vzRtProtBy", None, 1917)
prop._addConstant("vzRtProv", None, 1903)
prop._addConstant("vzRtProvDef", None, 1993)
prop._addConstant("vzRtRFltAtt", None, 1384)
prop._addConstant("vzRtRFltP", None, 7957)
prop._addConstant("vzRtRFltPOwner", None, 1371)
prop._addConstant("vzRtRevRFltPAtt", None, 1366)
prop._addConstant("vzRtRfltpConn", None, 2492)
prop._addConstant("vzRtSubjFiltAtt", None, 1321)
prop._addConstant("vzRtTabooRFltAtt", None, 1377)
prop._addConstant("vzRtTermToAny", None, 5714)
prop._addConstant("vzRtTnDenyRule", None, 1977)
prop._addConstant("vzRtToAnyDef", None, 5640)
prop._addConstant("vzRtToCtrct", None, 1947)
prop._addConstant("vzRtToCtrctEPgCont", None, 7591)
prop._addConstant("vzRtToEpgConn", None, 2476)
prop._addConstant("vzRtToRFltP", None, 7594)
prop._addConstant("vzRtToRemoteAnyDef", None, 5647)
prop._addConstant("vzRtToRemoteCtrct", None, 5699)
prop._addConstant("vzRtToRemoteCtrctEPgCont", None, 5588)
prop._addConstant("vzRtToRemoteRFltAtt", None, 2089)
prop._addConstant("vzRtToRemoteRFltP", None, 5932)
prop._addConstant("vzRtToRemoteTabooDef", None, 2095)
prop._addConstant("vzRtToTabooDef", None, 2080)
prop._addConstant("vzSubj", None, 1319)
prop._addConstant("vzSubjDef", None, 1398)
prop._addConstant("vzTSubj", None, 1324)
prop._addConstant("vzTaboo", None, 1306)
prop._addConstant("vzTabooDef", None, 1375)
prop._addConstant("vzTabooTask", None, 5141)
prop._addConstant("vzToEPg", None, 1380)
prop._addConstant("vzToEPgAny", None, 5638)
prop._addConstant("vzToRFltP", None, 5316)
prop._addConstant("vzTrCreatedBy", None, 8922)
prop._addConstant("vzTrigCollectionCont", None, 5554)
meta.props.add("oCl", prop)
prop = PropMeta("str", "oDn", "oDn", 5790, PropCategory.REGULAR)
prop.label = "Subject DN"
prop.isConfig = True
prop.isAdmin = True
prop.isCreateOnly = True
prop.isNaming = True
meta.props.add("oDn", prop)
prop = PropMeta("str", "rn", "rn", 2, PropCategory.RN)
prop.label = "None"
prop.isRn = True
prop.isImplicit = True
prop.isAdmin = True
prop.isCreateOnly = True
meta.props.add("rn", prop)
prop = PropMeta("str", "status", "status", 3, PropCategory.STATUS)
prop.label = "None"
prop.isImplicit = True
prop.isAdmin = True
prop._addConstant("created", "created", 2)
prop._addConstant("deleted", "deleted", 8)
prop._addConstant("modified", "modified", 4)
meta.props.add("status", prop)
meta.namingProps.append(getattr(meta.props, "oDn"))
getattr(meta.props, "oDn").needDelimiter = True
def __init__(self, parentMoOrDn, oDn, markDirty=True, **creationProps):
namingVals = [oDn]
Mo.__init__(self, parentMoOrDn, markDirty, *namingVals, **creationProps)
# End of package file
# ##################################################
| [
"[email protected]"
] | |
ac2af978c046a708f98bd9a243417cce387b618b | d1187000cb4adf677cb255243b25bd78cbf1dbd1 | /bin/netconf.py | ecfd21c256afda2487d8cf38351f00f7783d1c6f | [] | no_license | kgrozis/netconf | f87dadbb3082f69c4bad41f10c64224c135d1958 | 997be27a6b74f3ded5ec9a57fde2d227d1b67a70 | refs/heads/master | 2021-01-09T20:26:44.481551 | 2017-01-03T19:28:40 | 2017-01-03T19:28:40 | 60,799,673 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,416 | py | #!/usr/bin/python
# coding=utf-8
from ncclient import manager
import logging, sys, os
from urlparse import parse_qs
def nc_connect(host, port, user, password):
return manager.connect(host=host,
port=port,
username=user,
password=password,
device_params=None,
allow_agent=False,
look_for_keys=False,
timeout=30
)
def parse_hello(connection):
capabilities = []
for capability in connection.server_capabilities:
if capability.startswith('http'):
for key in parse_qs(capability):
if key.startswith('http'):
capabilities.append(' YANG --> ' + parse_qs(capability)[key][0])
else:
capability = capability.split(':')
if capability[-1].startswith('1.'):
capabilities.append(' ' + capability[1].upper() + ' --> ' + capability[-2] + ' ' + capability[-1])
else:
capabilities.append(' ' + capability[1].upper() + ' --> ' + capability[-1].split('?')[0])
capabilities.sort()
return connection.session_id, capabilities
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger('NETCONF')
#Variables
host = sys.argv[1]
#host = '172.16.159.113'
port = 22
user = os.getenv("USER")
passwd = 'cisco'
port = 830
#Create Connection
connection = nc_connect(host, port, user, passwd)
id, capabilities = parse_hello(connection)
#Session ID
print 'Session ID: ', id
print
#Capabilities
print 'Capabilities: '
for capability in capabilities:
print capability
'''
Optional Base Capabilities (RFC 6241)
url – the URL data store is supported (scheme=http, ftp, file, …)
startup – the startup data store is supported
writable-running – the running data store can be modified directly
Non-base capabilities
notification – Netconf asynchronous event messages (RFC 5277), also with interleave
'''
'''
Config on Router (IOS XR 5.3.0)
ssh server netconf port 830
netconf-yang agent ssh
'''
'''
USE:
./netconfxr.py host
assumes port 830, user same as OS, and password cisco
EXAMPLES:
a)
$ python netconfxr.py 172.16.159.113
Session ID: 4895
Capabilities:
IETF --> base 1.1
IETF --> candidate 1.0
IETF --> ietf-inet-types
IETF --> ietf-netconf-monitoring
IETF --> ietf-yang-types
IETF --> rollback-on-error 1.0
IETF --> validate 1.1
YANG --> Cisco-IOS-XR-cdp-cfg
YANG --> Cisco-IOS-XR-cdp-oper
YANG --> Cisco-IOS-XR-crypto-sam-cfg
YANG --> Cisco-IOS-XR-crypto-sam-oper
YANG --> Cisco-IOS-XR-ha-eem-cfg
YANG --> Cisco-IOS-XR-ha-eem-oper
YANG --> Cisco-IOS-XR-ifmgr-cfg
YANG --> Cisco-IOS-XR-ifmgr-oper
YANG --> Cisco-IOS-XR-infra-infra-cfg
YANG --> Cisco-IOS-XR-ip-domain-cfg
YANG --> Cisco-IOS-XR-ip-domain-oper
YANG --> Cisco-IOS-XR-ip-iarm-datatypes
YANG --> Cisco-IOS-XR-ipv4-io-cfg
YANG --> Cisco-IOS-XR-ipv4-io-oper
YANG --> Cisco-IOS-XR-ipv4-ma-cfg
YANG --> Cisco-IOS-XR-ipv4-ma-oper
YANG --> Cisco-IOS-XR-ipv6-ma-cfg
YANG --> Cisco-IOS-XR-ipv6-ma-oper
YANG --> Cisco-IOS-XR-lib-keychain-cfg
YANG --> Cisco-IOS-XR-lib-keychain-oper
YANG --> Cisco-IOS-XR-man-netconf-cfg
YANG --> Cisco-IOS-XR-man-xml-ttyagent-cfg
YANG --> Cisco-IOS-XR-man-xml-ttyagent-oper
YANG --> Cisco-IOS-XR-parser-cfg
YANG --> Cisco-IOS-XR-qos-ma-oper
YANG --> Cisco-IOS-XR-rgmgr-cfg
YANG --> Cisco-IOS-XR-rgmgr-oper
YANG --> Cisco-IOS-XR-shellutil-cfg
YANG --> Cisco-IOS-XR-shellutil-oper
YANG --> Cisco-IOS-XR-tty-management-cfg
YANG --> Cisco-IOS-XR-tty-management-datatypes
YANG --> Cisco-IOS-XR-tty-management-oper
YANG --> Cisco-IOS-XR-tty-server-cfg
YANG --> Cisco-IOS-XR-tty-server-oper
YANG --> Cisco-IOS-XR-tty-vty-cfg
YANG --> Cisco-IOS-XR-types
$
'''
| [
"[email protected]"
] | |
e4ced65cd0540367a5735317dc5822a679047bd0 | 0cc4eb3cb54f8394c127ace62d3108fdb5230c85 | /.spack-env/view/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/posixpath.pyi | 005362b185219d390a5389a06d94acc74b9774b5 | [] | no_license | jacobmerson/spack-develop-env | 5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8 | 5fca20ca343b1a76f05fc635c87f94ed25417d94 | refs/heads/master | 2022-07-04T02:22:50.264727 | 2020-05-06T05:13:50 | 2020-05-06T05:13:50 | 261,657,112 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 192 | pyi | /lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-jedi-0.17.0-zugnvpgjfmuk5x4rfhhxlsknl2g226yt/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/posixpath.pyi | [
"[email protected]"
] | |
9e7e5d9e60c715860dca0cb062bd1beb0810e9ae | e7ce273f404f82fd8672c97e50b386509c8f9870 | /Web/blog/base/tests/models.py | 6730e6c8a65ccd308f2cb035991a5ace35484805 | [] | no_license | rzlatkov/Softuni | 3edca300f8ecdcfd86e332557712e17552bc91c3 | a494e35bff965b2b9dccc90e1381d5a1a23737a1 | refs/heads/main | 2023-07-02T12:49:59.737043 | 2021-08-13T20:47:07 | 2021-08-13T20:47:07 | 319,088,872 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,801 | py | from django.contrib.auth.models import User
from django.test import TestCase
from base.models import Post, Category, Comment, Profile
class TestPostModel(TestCase):
def test_post_model(self):
user = User.objects.create_user(username='john', password='adidas1234')
category = Category.objects.create(name='Automotive')
post = Post.objects.create(title='BMW', author=user, snippet='vrumvrum')
post.category.add(category)
self.assertEqual(post.author.pk, user.pk)
self.assertEqual(post.author.username, user.username)
class TestCategoryModel(TestCase):
def test_category_model(self):
category = Category.objects.create(name='Automotive')
qs = Category.objects.first()
self.assertEqual(qs.name, category.name)
class TestCommentModel(TestCase):
def test_comment_model(self):
user = User.objects.create_user(username='john', password='adidas1234')
category = Category.objects.create(name='Automotive')
post = Post.objects.create(title='BMW', author=user, snippet='vrumvrum')
post.category.add(category)
comment = Comment.objects.create(author=user, name='asdasd', content='test', post=post)
self.assertEqual(comment.post.pk, post.pk)
self.assertEqual(comment.author.pk, user.pk)
cat = post.category.first()
self.assertEqual(cat.name, category.name)
class TestProfileModel(TestCase):
def test_profile_upon_user_creation(self):
user = User.objects.create_user(username='john', password='adidas1234')
user_profile = user.profile
profile = Profile.objects.first()
self.assertEqual(profile.pk, user.pk)
self.assertEqual(user_profile.pk, profile.pk)
self.assertEqual('john', profile.user.username) | [
"[email protected]"
] | |
a47f5b70b9545ca2cf8a5bd1e460b160ec0f7cec | 033da72a51c76e5510a06be93229a547a538cf28 | /Data Engineer with Python Track/25. Introduction to MongoDB in Python/Chapter/03. Get Only What You Need, and Fast/12-Pages of particle-prized people.py | dcb8dae05b4f7a5f7c7953cd5120b3f5217b52e1 | [] | no_license | ikhwan1366/Datacamp | d5dcd40c1bfeb04248977014260936b1fb1d3065 | 7738614eaebec446842d89177ae2bc30ab0f2551 | refs/heads/master | 2023-03-06T13:41:06.522721 | 2021-02-17T22:41:54 | 2021-02-17T22:41:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,581 | py | '''
Pages of particle-prized people
You and a friend want to set up a website that gives information on Nobel laureates with awards relating to particle phenomena. You want to present these laureates one page at a time, with three laureates per page. You decide to order the laureates chronologically by award year. When there is a "tie" in ordering (i.e. two laureates were awarded prizes in the same year), you want to order them alphabetically by surname.
Instructions
100 XP
- Complete the function get_particle_laureates that, given page_number and page_size, retrieves a given page of prize data on laureates who have the word "particle" (use $regex) in their prize motivations ("prizes.motivation"). Sort laureates first by ascending "prizes.year" and next by ascending "surname".
- Collect and save the first nine pages of laureate data to pages.
'''
from pprint import pprint
# Write a function to retrieve a page of data
def get_particle_laureates(page_number=1, page_size=3):
if page_number < 1 or not isinstance(page_number, int):
raise ValueError("Pages are natural numbers (starting from 1).")
particle_laureates = list(
db.laureates.find(
{'prizes.motivation': {'$regex': "particle"}},
["firstname", "surname", "prizes"])
.sort([('prizes.year', 1), ('surname', 1)])
.skip(page_size * (page_number - 1))
.limit(page_size))
return particle_laureates
# Collect and save the first nine pages
pages = [get_particle_laureates(page_number=page) for page in range(1, 9)]
pprint(pages[0])
| [
"[email protected]"
] | |
f5b79e3925b4be962a38cf717bbb9dd8846ce909 | 945d9e4746b547eea98033d965096d9486e79875 | /plotting.py | 6805411c34402405cd62f21b97f60a59fdebf428 | [] | no_license | VivekVinushanth/flask-website | f0d7d277c51c4500aec6dba4aac119faf9a7a9ab | 763f546e0d539d8db63fd328f2674c39a6385bae | refs/heads/master | 2022-01-25T20:32:27.371569 | 2019-05-30T09:48:26 | 2019-05-30T09:48:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,542 | py |
import pandas as pd
from plotnine import *
def plot(time_stamps,type):
try:
# read data
data = pd.read_csv("OutputDTM.csv")
#time_stamps = ['May']
#type='Month'
value=time_stamps[0]
if(type=="Month"):
nudege_x=[0,0,-0.4,0.5,-0.4,0,0.2,0.7,0.2,0.5,0.5,0.9,0.9]
else:
nudege_x = [0 for i in time_stamps]
fig=(
ggplot(data,aes(x=type,y='Word'))
+ geom_tile(aes(fill = 'Probability'), colour="black",stat = "identity")
+ scale_fill_gradient(low="white", high="blue")
+ facet_wrap('~ TopicID',scales="free_y", ncol=5)
+ geom_text(data.loc[data.loc[:,type]==value],aes(label='Word'), size=9,nudge_x=nudege_x[len(time_stamps)])
+ theme_bw()
+ theme(panel_spacing=.75)
+ theme(panel_grid_major =element_blank(), legend_position="bottom", panel_grid_minor = element_blank())
+ theme(axis_ticks= element_blank(), axis_text_y = element_blank(), axis_title_x = element_blank(), axis_title_y = element_blank(), axis_text_x = element_text(angle=60, vjust=0.1, hjust=0.1, size=5), strip_background = element_blank(), strip_text = element_text(size=7), legend_text = element_text(size=4), legend_title = element_text(size=4), plot_margin = 0.1, legend_margin = -0.6, legend_key_height = 0.4)
)
fig
fig.save(filename="03.png" ,path='./static/',format='png')
return True
except Exception:
return False
| [
"[email protected]"
] | |
9e7a337d67a984ae180402e72a49623e4d1bf731 | 5977adc1f60df46c88f3b33d3d11455577cd4b94 | /tsn/model/norm_helper.py | 18b5a90f44c7e5e0cbdf910321f72e896ca72a88 | [
"Apache-2.0"
] | permissive | ttykelly/TSN | ad551f033912df6c7683865829b5d00a18284018 | ec6ad668d20f477df44eab7035e2553d95a835f3 | refs/heads/master | 2023-03-16T03:03:42.393558 | 2021-01-26T07:32:26 | 2021-01-26T07:32:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,310 | py | # -*- coding: utf-8 -*-
"""
@date: 2020/9/23 下午2:35
@file: norm_helper.py
@author: zj
@description:
"""
import torch.nn as nn
from functools import partial
from .layers.group_norm_wrapper import GroupNormWrapper
def convert_sync_bn(model, process_group):
sync_bn_module = nn.SyncBatchNorm.convert_sync_batchnorm(model, process_group)
return sync_bn_module
def get_norm(cfg):
"""
Args:
cfg (CfgNode): model building configs, details are in the comments of
the config file.
Returns:
nn.Module: the normalization layer.
"""
if cfg.MODEL.NORM.TYPE == "BatchNorm2d":
return nn.BatchNorm2d
elif cfg.MODEL.NORM.TYPE == "GroupNorm":
num_groups = cfg.MODEL.NORM.GROUPS
return partial(GroupNormWrapper, num_groups=num_groups)
else:
raise NotImplementedError(
"Norm type {} is not supported".format(cfg.MODEL.NORM.TYPE)
)
def freezing_bn(model, partial_bn=False):
count = 0
for m in model.modules():
if isinstance(m, nn.BatchNorm2d):
count += 1
if count == 1 and partial_bn:
continue
m.eval()
# shutdown update in frozen mode
m.weight.requires_grad = False
m.bias.requires_grad = False
| [
"[email protected]"
] | |
aba46b99d2069ceec20b4492cd753a493b738309 | f4b8c90c1349c8740c1805f7b6b0e15eb5db7f41 | /test/test_event_custom_field_item.py | dfb969bd33f6b4d981d2ad3cd0c1ee3115ba5a41 | [] | no_license | CalPolyResDev/StarRezAPI | 012fb8351159f96a81352d6c7bfa36cd2d7df13c | b184e1863c37ff4fcf7a05509ad8ea8ba825b367 | refs/heads/master | 2021-01-25T10:29:37.966602 | 2018-03-15T01:01:35 | 2018-03-15T01:01:35 | 123,355,501 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,086 | py | # coding: utf-8
"""
StarRez API
This is a way to connect with the StarRez API. We are not the developers of the StarRez API, we are just an organization that uses it and wanted a better way to connect to it. # noqa: E501
OpenAPI spec version: 1.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import starrez_client
from starrez_client.models.event_custom_field_item import EventCustomFieldItem # noqa: E501
from starrez_client.rest import ApiException
class TestEventCustomFieldItem(unittest.TestCase):
"""EventCustomFieldItem unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def testEventCustomFieldItem(self):
"""Test EventCustomFieldItem"""
# FIXME: construct object with mandatory attributes with example values
# model = starrez_client.models.event_custom_field_item.EventCustomFieldItem() # noqa: E501
pass
if __name__ == '__main__':
unittest.main()
| [
"[email protected]"
] | |
f3fd59897c789d4bf7076e6b748acfca3934eeb9 | f4f54015298eedfbbdfcaaf5e2a9603112f803a5 | /New_morning_batch/mod/prime_no.py~ | 0dd10feec5df0cc84c4f6361bbeb8d65ad145830 | [] | no_license | raviramawat8/Old_Python_Codes | f61e19bff46856fda230a096aa789c7e54bd97ca | f940aed0611b0636e1a1b6826fa009ceb2473c2b | refs/heads/master | 2020-03-22T22:54:50.964816 | 2018-06-16T01:39:43 | 2018-06-16T01:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 594 | """This module contains a function called prime.prime function takes one argument as a int number and return True if no is prime else return false."""
def prime(num):
"""It will return True if num is prime else it will return False."""
for var in range(2,num//2):
if num % var == 0 :
flag = False
break
else :
flag = True
if flag == True :
return True
else :
return False
if __name__ == "__main__" :
print(prime(int(input("Enter a no. - ").strip())))
print("Hello")
print("hi")
| [
"[email protected]"
] | ||
0ab22da9dd4c4bc2c29f7f4a1492d14d628ef17c | 152370a70a0e99fe854a31dcde49c3966d53b3b8 | /day9/word.py | f916f0014f14544f9a90338f90715ecc2609dae4 | [] | no_license | thesharpshooter/codeforce | c6fb93f14faa267d7af2cc61142b89c77d4e150b | e687696cc63245f3d3f399b38edabe8e6fdd25b3 | refs/heads/master | 2021-01-11T18:03:34.486823 | 2017-03-23T18:56:12 | 2017-03-23T18:56:12 | 79,480,391 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 194 | py | string = raw_input()
lower_count = sum(map(str.islower,string))
upper_count = sum(map(str.isupper,string))
if lower_count < upper_count:
print string.upper()
else:
print string.lower()
| [
"[email protected]"
] | |
372ad8dfd0d414bbd320c485048ab9715efc3aa6 | 162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d | /examples/plot_changed_only_pprint_parameter.py | 241dc3fd25daf68d0d39761e02f80423bf2b706e | [] | no_license | testsleeekGithub/trex | 2af21fa95f9372f153dbe91941a93937480f4e2f | 9d27a9b44d814ede3996a37365d63814214260ae | refs/heads/master | 2020-08-01T11:47:43.926750 | 2019-11-06T06:47:19 | 2019-11-06T06:47:19 | 210,987,245 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,026 | py | """
=================================
Compact estimator representations
=================================
This example illustrates the use of the print_changed_only global parameter.
Setting print_changed_only to True will alterate the representation of
estimators to only show the parameters that have been set to non-default
values. This can be used to have more compact representations.
"""
print(__doc__)
from mrex.linear_model import LogisticRegression
from mrex import set_config
lr = LogisticRegression(penalty='l1')
print('Default representation:')
print(lr)
# LogisticRegression(C=1.0, class_weight=None, dual=False, fit_intercept=True,
# intercept_scaling=1, l1_ratio=None, max_iter=100,
# multi_class='auto', n_jobs=None, penalty='l1',
# random_state=None, solver='warn', tol=0.0001, verbose=0,
# warm_start=False)
set_config(print_changed_only=True)
print('\nWith changed_only option:')
print(lr)
# LogisticRegression(penalty='l1')
| [
"[email protected]"
] | |
295a9cca139886b043af90fd657bb3e141097b8f | a079853d22a47a8c50bca2654e30c4fef3dd2d34 | /e_commerce/manage.py | 8340d8a5b960c316386ed57d9dcffad3f409503e | [] | no_license | toticavalcanti/django_ecommerce | 04299ac33de804f10270309d738e2c6dff61bf9c | 2ee45585d0724174e24ab5f4f52daa3b14fa473b | refs/heads/master | 2023-08-19T00:53:56.178570 | 2023-08-15T00:55:33 | 2023-08-15T00:55:33 | 160,266,119 | 25 | 11 | null | null | null | null | UTF-8 | Python | false | false | 542 | py | #!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'e_commerce.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
| [
"[email protected]"
] | |
6ae8c5d0f194a0fb7363bd2bf0d5f322656edd0d | c2588b904cae9b93b94866c3871baaa93935ea06 | /src/deepwalk/__main__.py | b2827ba369d628653f6151a9b72104f149b83134 | [] | no_license | Xueping/word2vec | c0a46f7fe73e8cd21595c97d2aa7ccf1d540063b | b3c69889cdaf226d1b94897615d4fcfcb10b3cf2 | refs/heads/master | 2021-01-10T14:35:18.677983 | 2016-01-28T23:59:53 | 2016-01-28T23:59:53 | 46,965,855 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,623 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
import logging
import random
import sys
from gensim.models import Word2Vec
import graph
from skipgram import Skipgram
import walks as serialized_walks
# p = psutil.Process(os.getpid())
#p.set_cpu_affinity(list(range(cpu_count())))
#p.cpu_affinity(list(range(cpu_count())))
logger = logging.getLogger(__name__)
LOGFORMAT = "%(asctime).19s %(levelname)s %(filename)s: %(lineno)s %(message)s"
def debug(type_, value, tb):
if hasattr(sys, 'ps1') or not sys.stderr.isatty():
sys.__excepthook__(type_, value, tb)
else:
import traceback
import pdb
traceback.print_exception(type_, value, tb)
print(u"\n")
pdb.pm()
def process(args):
if args.format == "adjlist":
G = graph.load_adjacencylist(args.input, undirected=args.undirected)
elif args.format == "edgelist":
G = graph.load_edgelist(args.input, undirected=args.undirected)
elif args.format == "mat":
G = graph.load_matfile(args.input, variable_name=args.matfile_variable_name, undirected=args.undirected)
else:
raise Exception("Unknown file format: '%s'. Valid formats: 'adjlist', 'edgelist', 'mat'" % args.format)
# G = graphConstruction.buildGraphAPA()
print("Number of nodes: {}".format(len(G.nodes())))
num_walks = len(G.nodes()) * args.number_walks
print("Number of walks: {}".format(num_walks))
data_size = num_walks * args.walk_length
print("Data size (walks*length): {}".format(data_size))
if data_size < args.max_memory_data_size:
print("Walking...")
walks = graph.build_deepwalk_corpus(G, num_paths=args.number_walks,
path_length=args.walk_length, alpha=0, rand=random.Random(args.seed))
print("Training...")
model = Word2Vec(walks, size=args.representation_size, window=args.window_size, min_count=0, workers=args.workers)
else:
print("Data size {} is larger than limit (max-memory-data-size: {}). Dumping walks to disk.".format(data_size, args.max_memory_data_size))
print("Walking...")
walks_filebase = args.output + ".walks"
walk_files = serialized_walks.write_walks_to_disk(G, walks_filebase, num_paths=args.number_walks,
path_length=args.walk_length, alpha=0, rand=random.Random(args.seed),
num_workers=args.workers)
print("Counting vertex frequency...")
if not args.vertex_freq_degree:
vertex_counts = serialized_walks.count_textfiles(walk_files, args.workers)
else:
# use degree distribution for frequency in tree
vertex_counts = G.degree(nodes=G.iterkeys())
print("Training...")
model = Skipgram(sentences=serialized_walks.combine_files_iter(walk_files), vocabulary_counts=vertex_counts,
size=args.representation_size,
window=args.window_size, min_count=0, workers=args.workers)
model.save_word2vec_format(args.output)
def main():
parser = ArgumentParser("deepwalk",
formatter_class=ArgumentDefaultsHelpFormatter,
conflict_handler='resolve')
parser.add_argument("--debug", dest="debug", action='store_true', default=False,
help="drop a debugger if an exception is raised.")
parser.add_argument('--format', default='adjlist',
help='File format of input file')
parser.add_argument('--input', nargs='?', required=True,
help='Input graph file')
parser.add_argument("-l", "--log", dest="log", default="INFO",
help="log verbosity level")
parser.add_argument('--matfile-variable-name', default='network',
help='variable name of adjacency matrix inside a .mat file.')
parser.add_argument('--max-memory-data-size', default=1000000000, type=int,
help='Size to start dumping walks to disk, instead of keeping them in memory.')
parser.add_argument('--number-walks', default=10, type=int,
help='Number of random walks to start at each node')
parser.add_argument('--output', required=True,
help='Output representation file')
parser.add_argument('--representation-size', default=64, type=int,
help='Number of latent dimensions to learn for each node.')
parser.add_argument('--seed', default=0, type=int,
help='Seed for random walk generator.')
parser.add_argument('--undirected', default=True, type=bool,
help='Treat graph as undirected.')
parser.add_argument('--vertex-freq-degree', default=False, action='store_true',
help='Use vertex degree to estimate the frequency of nodes '
'in the random walks. This option is faster than '
'calculating the vocabulary.')
parser.add_argument('--walk-length', default=10, type=int,
help='Length of the random walk started at each node')
parser.add_argument('--window-size', default=5, type=int,
help='Window size of skipgram model.')
parser.add_argument('--workers', default=1, type=int,
help='Number of parallel processes.')
args = parser.parse_args()
numeric_level = getattr(logging, args.log.upper(), None)
logging.basicConfig(format=LOGFORMAT)
logger.setLevel(numeric_level)
if args.debug:
sys.excepthook = debug
process(args)
if __name__ == "__main__":
sys.exit(main())
| [
"[email protected]"
] | |
6e50912db103808c586e8671afb6a75660485c45 | 01c3ff1d74e754e0d4ce0fb7f8a8b329ec3766e1 | /python_exercises/19others/new.py | 6dc3659c467f80557bb521229f703b1e4a9bb2ae | [] | no_license | vineel2014/Pythonfiles | 5ad0a2b824b5fd18289d21aa8306099aea22c202 | 0d653cb9659fe750cf676a70035ab67176179905 | refs/heads/master | 2020-04-28T03:56:22.713558 | 2019-03-11T08:38:54 | 2019-03-11T08:38:54 | 123,681,939 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | from tkinter import *
root = Tk()
button = Button(root, text="Click here", command=quit)
button.pack()
root.mainloop()
| [
"[email protected]"
] | |
c9dccbc6f437ccc40accc1a839db9e30904aebea | a9024ba9ef408317a06253af125d34454ac3fac8 | /datawandcli/tests/parameters_test.py | 7ac0a470046d492a83aeea17297ba1b052a217c4 | [] | no_license | ferencberes/datawand-cli | 562ac624264d4ec78153bd47e3213946830a2168 | 26c33ec09f940ee1f94da930957df6c256b550b5 | refs/heads/master | 2023-01-30T18:20:55.143403 | 2020-12-14T12:07:07 | 2020-12-14T12:07:07 | 254,948,772 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,675 | py | from datawandcli.components.objects import *
from datawandcli.parametrization import ConfigGenerator
from shutil import rmtree
import subprocess, os
os.chdir("examples/parameter_handling/")
def load_last_line(fp):
last_line = ""
with open(fp) as f:
for line in f:
last_line = line.rstrip()
return last_line
def check_process(p, fp):
if p.returncode != 0:
with open(fp):
print(fp.readlines())
def test_create_pipeline():
pipe = Pipeline("Trial")
mod = Module("resources/my_module.py", name="my_module")
nb = Notebook("resources/Sleep.ipynb", name="Sleep")
pys = PyScript("resources/sample.py", name="PySample")
pipe.add(mod)
pipe.add(nb)
pipe.add(pys)
pipe.add_dependencies("PySample",["Sleep"])
pipe.save()
print(pipe.config)
assert len(pipe.parts) == 3
### Demo 0 ###
# Only selected resources (clones) are executed as dependencies
def test_demo_0_init():
cg = ConfigGenerator("Trial.json", experiment_name="demo_0", experiment_dir="experiments/demo_0/")
DEFAULTS = {}
DEFAULTS["p1"] = 0.5
DEFAULTS["p3"] = "default"
DEFAULTS["sleep"] = 0
PARAMETERS = {}
for item in cg.pythonitem_names:
PARAMETERS[item] = []
PARAMETERS["PySample"].append({"p1":1.0,"p2":0.5})
cg.save_params(DEFAULTS, PARAMETERS, local_scheduler=True)
cg.pipeline.save()
assert len(cg.pipeline.parts) == 2
assert cg.pipeline.num_clones["PySample"] == 1
def test_demo_0_run():
fp = "experiments/demo_0/demo_0.log"
p = subprocess.Popen("bash demo_0.sh 1", cwd="experiments/demo_0/", stdout=open(fp, "w"), shell=True)
p_status = p.wait()
check_process(p, fp)
assert p.returncode == 0
with open(fp) as f:
output = f.read()
rmtree("experiments/demo_0/")
assert "PySample_CLONE_1 task was executed!" in output
assert "Sleep_CLONE_1 task was executed!" not in output
### Demo 1 ###
# Testing custom parameter usage + dependency handling
def test_demo_1_init():
cg = ConfigGenerator("Trial.json", experiment_name="demo_1", experiment_dir="experiments/demo_1/")
DEFAULTS = {}
DEFAULTS["p1"] = 0.5
DEFAULTS["p3"] = "default"
DEFAULTS["sleep"] = 0
PARAMETERS = {}
for item in cg.pythonitem_names:
PARAMETERS[item] = []
PARAMETERS["PySample"].append({"p1":1.0,"p2":0.5})
PARAMETERS["PySample"].append({"p1":0.0,"p2":1.0})
# dependency is properly selected this time
PARAMETERS["Sleep"].append({})
cg.save_params(DEFAULTS, PARAMETERS, local_scheduler=True)
cg.pipeline.save()
assert len(cg.pipeline.parts) == 4
assert cg.pipeline.num_clones["PySample"] == 2
assert cg.pipeline.num_clones["Sleep"] == 1
def test_demo_1_params():
pipe = Pipeline()
pipe.load("experiments/demo_1/Trial.json")
assert pipe.default_config["p1"] == 0.5
assert pipe.default_config["p3"] == "default"
assert pipe.parts["PySample_CLONE_1"].config["p1"] == 1.0
assert pipe.parts["PySample_CLONE_2"].config["p1"] == 0.0
assert pipe.parts["PySample_CLONE_1"].config["p2"] == 0.5
assert pipe.parts["PySample_CLONE_2"].config["p2"] == 1.0
def test_demo_1_run():
fp = "experiments/demo_1/demo_1.log"
p = subprocess.Popen("bash demo_1.sh 1", cwd="experiments/demo_1/", stdout=open(fp, "w"), shell=True)
p_status = p.wait()
check_process(p, fp)
assert p.returncode == 0
with open(fp) as f:
output = f.read()
assert "PySample_CLONE_1 task was executed!" in output
assert "PySample_CLONE_2 task was executed!" in output
assert "Sleep_CLONE_1 task was executed!" in output
def test_demo_1_output():
out_1 = load_last_line("experiments/demo_1/resources/PySample_CLONE_1.log")
out_2 = load_last_line("experiments/demo_1/resources/PySample_CLONE_2.log")
assert os.path.exists("experiments/demo_1/resources/Sleep_CLONE_1.log")
rmtree("experiments/demo_1/")
assert out_1 == "1.0 0.5 default"
assert out_2 == "0.0 1.0 default"
### Demo 2 ###
# Testing default parameter usage
def test_demo_2_init():
cg = ConfigGenerator("Trial.json", experiment_name="demo_2", experiment_dir="experiments/demo_2/")
DEFAULTS = {}
DEFAULTS["p1"] = 0.1
DEFAULTS["p3"] = "default"
DEFAULTS["sleep"] = 0
PARAMETERS = {}
for item in cg.pythonitem_names:
PARAMETERS[item] = []
PARAMETERS["PySample"].append({"p2":0.5})
PARAMETERS["PySample"].append({"p2":1.0})
PARAMETERS["PySample"].append({"p1":10.0,"p2":-10.0})
PARAMETERS["PySample"].append({"p1":-10.0,"p2":10.0})
cg.save_params(DEFAULTS, PARAMETERS, local_scheduler=True)
cg.pipeline.save()
assert len(cg.pipeline.parts) == 5
assert cg.pipeline.num_clones["PySample"] == 4
def test_demo_2_params():
pipe = Pipeline()
pipe.load("experiments/demo_2/Trial.json")
assert pipe.default_config["p1"] == 0.1
assert pipe.default_config["p3"] == "default"
assert "p1" not in pipe.parts["PySample_CLONE_1"].config
assert "p1" not in pipe.parts["PySample_CLONE_2"].config
assert pipe.parts["PySample_CLONE_1"].config["p2"] == 0.5
assert pipe.parts["PySample_CLONE_2"].config["p2"] == 1.0
assert pipe.parts["PySample_CLONE_3"].config["p1"] == 10.0
assert pipe.parts["PySample_CLONE_4"].config["p1"] == -10.0
assert pipe.parts["PySample_CLONE_3"].config["p2"] == -10.0
assert pipe.parts["PySample_CLONE_4"].config["p2"] == 10.0
def test_demo_2_run():
fp = "experiments/demo_2/demo_2.log"
p = subprocess.Popen("bash demo_2.sh 1", cwd="experiments/demo_2/", stdout=open(fp, "w"), shell=True)
p_status = p.wait()
assert p.returncode == 0
check_process(p, fp)
assert p.returncode == 0
with open(fp) as f:
output = f.read()
assert "Sleep_CLONE_1 task was executed!" not in output
assert "PySample_CLONE_1 task was executed!" in output
assert "PySample_CLONE_2 task was executed!" in output
assert "PySample_CLONE_3 task was executed!" in output
assert "PySample_CLONE_4 task was executed!" in output
def test_demo_2_output():
out_1 = load_last_line("experiments/demo_2/resources/PySample_CLONE_1.log")
out_2 = load_last_line("experiments/demo_2/resources/PySample_CLONE_2.log")
out_3 = load_last_line("experiments/demo_2/resources/PySample_CLONE_3.log")
out_4 = load_last_line("experiments/demo_2/resources/PySample_CLONE_4.log")
rmtree("experiments/demo_2/")
assert out_1 == "0.1 0.5 default"
assert out_2 == "0.1 1.0 default"
assert out_3 == "10.0 -10.0 default"
assert out_4 == "-10.0 10.0 default"
rmtree("experiments/") | [
"[email protected]"
] | |
3d6106bc57b0534b8bbd3a95ab48fe8ff52c3ad0 | 6bb80d482bfd0cd5feb6f2d37c7235a27b3466d6 | /malaya_speech/train/model/tacotron2/attention_wrapper.py | 4fb670ad9e5fccd8a3b936fd4e32d819d8c7a927 | [
"MIT"
] | permissive | dakmatt/malaya-speech | deadb00e1aa8a03593721c26457f35158e67d96d | 957cfb1952760c30d3b4a2a2e60b7f142394cbd3 | refs/heads/master | 2023-04-03T13:56:53.675046 | 2021-04-19T03:31:40 | 2021-04-19T03:31:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 30,036 | py | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
import tensorflow as tf
from tensorflow.python.keras.engine import base_layer_utils
class AttentionMechanism(tf.keras.layers.Layer):
"""Base class for attention mechanisms.
Common functionality includes:
1. Storing the query and memory layers.
2. Preprocessing and storing the memory.
Note that this layer takes memory as its init parameter, which is an
anti-pattern of Keras API, we have to keep the memory as init parameter for
performance and dependency reason. Under the hood, during `__init__()`, it
will invoke `base_layer.__call__(memory, setup_memory=True)`. This will let
keras to keep track of the memory tensor as the input of this layer. Once
the `__init__()` is done, then user can query the attention by
`score = att_obj([query, state])`, and use it as a normal keras layer.
Special attention is needed when adding using this class as the base layer
for new attention:
1. Build() could be invoked at least twice. So please make sure weights
are not duplicated.
2. Layer.get_weights() might return different set of weights if the
instance has `query_layer`. The query_layer weights is not initialized
until the memory is configured.
Also note that this layer does not work with Keras model when
`model.compile(run_eagerly=True)` due to the fact that this layer is
stateful. The support for that will be added in a future version.
"""
def __init__(
self,
memory,
probability_fn: callable,
query_layer = None,
memory_layer = None,
memory_sequence_length = None,
**kwargs,
):
"""Construct base AttentionMechanism class.
Args:
memory: The memory to query; usually the output of an RNN encoder.
This tensor should be shaped `[batch_size, max_time, ...]`.
probability_fn: A `callable`. Converts the score and previous
alignments to probabilities. Its signature should be:
`probabilities = probability_fn(score, state)`.
query_layer: Optional `tf.keras.layers.Layer` instance. The layer's
depth must match the depth of `memory_layer`. If `query_layer` is
not provided, the shape of `query` must match that of
`memory_layer`.
memory_layer: Optional `tf.keras.layers.Layer` instance. The layer's
depth must match the depth of `query_layer`.
If `memory_layer` is not provided, the shape of `memory` must match
that of `query_layer`.
memory_sequence_length: (optional) Sequence lengths for the batch
entries in memory. If provided, the memory tensor rows are masked
with zeros for values past the respective sequence lengths.
**kwargs: Dictionary that contains other common arguments for layer
creation.
"""
self.query_layer = query_layer
self.memory_layer = memory_layer
super().__init__(**kwargs)
self.default_probability_fn = probability_fn
self.probability_fn = probability_fn
self.keys = None
self.values = None
self.batch_size = None
self._memory_initialized = False
self._check_inner_dims_defined = True
self.supports_masking = True
if memory is not None:
# Setup the memory by self.__call__() with memory and
# memory_seq_length. This will make the attention follow the keras
# convention which takes all the tensor inputs via __call__().
if memory_sequence_length is None:
inputs = memory
else:
inputs = [memory, memory_sequence_length]
self.values = super().__call__(inputs, setup_memory = True)
@property
def memory_initialized(self):
"""Returns `True` if this attention mechanism has been initialized with
a memory."""
return self._memory_initialized
def build(self, input_shape):
if not self._memory_initialized:
# This is for setting up the memory, which contains memory and
# optional memory_sequence_length. Build the memory_layer with
# memory shape.
if self.memory_layer is not None and not self.memory_layer.built:
if isinstance(input_shape, list):
self.memory_layer.build(input_shape[0])
else:
self.memory_layer.build(input_shape)
else:
# The input_shape should be query.shape and state.shape. Use the
# query to init the query layer.
if self.query_layer is not None and not self.query_layer.built:
self.query_layer.build(input_shape[0])
def __call__(self, inputs, **kwargs):
"""Preprocess the inputs before calling `base_layer.__call__()`.
Note that there are situation here, one for setup memory, and one with
actual query and state.
1. When the memory has not been configured, we just pass all the param
to `base_layer.__call__()`, which will then invoke `self.call()` with
proper inputs, which allows this class to setup memory.
2. When the memory has already been setup, the input should contain
query and state, and optionally processed memory. If the processed
memory is not included in the input, we will have to append it to
the inputs and give it to the `base_layer.__call__()`. The processed
memory is the output of first invocation of `self.__call__()`. If we
don't add it here, then from keras perspective, the graph is
disconnected since the output from previous call is never used.
Args:
inputs: the inputs tensors.
**kwargs: dict, other keyeword arguments for the `__call__()`
"""
# Allow manual memory reset
if kwargs.get('setup_memory', False):
self._memory_initialized = False
if self._memory_initialized:
if len(inputs) not in (2, 3):
raise ValueError(
'Expect the inputs to have 2 or 3 tensors, got %d'
% len(inputs)
)
if len(inputs) == 2:
# We append the calculated memory here so that the graph will be
# connected.
inputs.append(self.values)
return super().__call__(inputs, **kwargs)
def call(self, inputs, mask = None, setup_memory = False, **kwargs):
"""Setup the memory or query the attention.
There are two case here, one for setup memory, and the second is query
the attention score. `setup_memory` is the flag to indicate which mode
it is. The input list will be treated differently based on that flag.
Args:
inputs: a list of tensor that could either be `query` and `state`, or
`memory` and `memory_sequence_length`.
`query` is the tensor of dtype matching `memory` and shape
`[batch_size, query_depth]`.
`state` is the tensor of dtype matching `memory` and shape
`[batch_size, alignments_size]`. (`alignments_size` is memory's
`max_time`).
`memory` is the memory to query; usually the output of an RNN
encoder. The tensor should be shaped `[batch_size, max_time, ...]`.
`memory_sequence_length` (optional) is the sequence lengths for the
batch entries in memory. If provided, the memory tensor rows are
masked with zeros for values past the respective sequence lengths.
mask: optional bool tensor with shape `[batch, max_time]` for the
mask of memory. If it is not None, the corresponding item of the
memory should be filtered out during calculation.
setup_memory: boolean, whether the input is for setting up memory, or
query attention.
**kwargs: Dict, other keyword arguments for the call method.
Returns:
Either processed memory or attention score, based on `setup_memory`.
"""
if setup_memory:
if isinstance(inputs, list):
if len(inputs) not in (1, 2):
raise ValueError(
'Expect inputs to have 1 or 2 tensors, got %d'
% len(inputs)
)
memory = inputs[0]
memory_sequence_length = inputs[1] if len(inputs) == 2 else None
memory_mask = mask
else:
memory, memory_sequence_length = inputs, None
memory_mask = mask
self.setup_memory(memory, memory_sequence_length, memory_mask)
# We force the self.built to false here since only memory is,
# initialized but the real query/state has not been call() yet. The
# layer should be build and call again.
self.built = False
# Return the processed memory in order to create the Keras
# connectivity data for it.
return self.values
else:
if not self._memory_initialized:
raise ValueError(
'Cannot query the attention before the setup of memory'
)
if len(inputs) not in (2, 3):
raise ValueError(
'Expect the inputs to have query, state, and optional '
'processed memory, got %d items' % len(inputs)
)
# Ignore the rest of the inputs and only care about the query and
# state
query, state = inputs[0], inputs[1]
return self._calculate_attention(query, state)
def setup_memory(
self, memory, memory_sequence_length = None, memory_mask = None
):
"""Pre-process the memory before actually query the memory.
This should only be called once at the first invocation of `call()`.
Args:
memory: The memory to query; usually the output of an RNN encoder.
This tensor should be shaped `[batch_size, max_time, ...]`.
memory_sequence_length (optional): Sequence lengths for the batch
entries in memory. If provided, the memory tensor rows are masked
with zeros for values past the respective sequence lengths.
memory_mask: (Optional) The boolean tensor with shape `[batch_size,
max_time]`. For any value equal to False, the corresponding value
in memory should be ignored.
"""
if memory_sequence_length is not None and memory_mask is not None:
raise ValueError(
'memory_sequence_length and memory_mask cannot be '
'used at same time for attention.'
)
with tf.name_scope(self.name or 'BaseAttentionMechanismInit'):
self.values = _prepare_memory(
memory,
memory_sequence_length = memory_sequence_length,
memory_mask = memory_mask,
check_inner_dims_defined = self._check_inner_dims_defined,
)
# Mark the value as check since the memory and memory mask might not
# passed from __call__(), which does not have proper keras metadata.
# TODO(omalleyt12): Remove this hack once the mask the has proper
# keras history.
base_layer_utils.mark_checked(self.values)
if self.memory_layer is not None:
self.keys = self.memory_layer(self.values)
else:
self.keys = self.values
self.batch_size = self.keys.shape[0] or tf.shape(self.keys)[0]
self._alignments_size = self.keys.shape[1] or tf.shape(self.keys)[1]
if memory_mask is not None or memory_sequence_length is not None:
unwrapped_probability_fn = self.default_probability_fn
def _mask_probability_fn(score, prev):
return unwrapped_probability_fn(
_maybe_mask_score(
score,
memory_mask = memory_mask,
memory_sequence_length = memory_sequence_length,
score_mask_value = score.dtype.min,
),
prev,
)
self.probability_fn = _mask_probability_fn
self._memory_initialized = True
def _calculate_attention(self, query, state):
raise NotImplementedError(
'_calculate_attention need to be implemented by subclasses.'
)
def compute_mask(self, inputs, mask = None):
# There real input of the attention is query and state, and the memory
# layer mask shouldn't be pass down. Returning None for all output mask
# here.
return None, None
def get_config(self):
config = {}
# Since the probability_fn is likely to be a wrapped function, the child
# class should preserve the original function and how its wrapped.
if self.query_layer is not None:
config['query_layer'] = {
'class_name': self.query_layer.__class__.__name__,
'config': self.query_layer.get_config(),
}
if self.memory_layer is not None:
config['memory_layer'] = {
'class_name': self.memory_layer.__class__.__name__,
'config': self.memory_layer.get_config(),
}
# memory is a required init parameter and its a tensor. It cannot be
# serialized to config, so we put a placeholder for it.
config['memory'] = None
base_config = super().get_config()
return {**base_config, **config}
def _process_probability_fn(self, func_name):
"""Helper method to retrieve the probably function by string input."""
valid_probability_fns = {'softmax': tf.nn.softmax}
if func_name not in valid_probability_fns.keys():
raise ValueError(
'Invalid probability function: %s, options are %s'
% (func_name, valid_probability_fns.keys())
)
return valid_probability_fns[func_name]
@classmethod
def deserialize_inner_layer_from_config(cls, config, custom_objects):
"""Helper method that reconstruct the query and memory from the config.
In the get_config() method, the query and memory layer configs are
serialized into dict for persistence, this method perform the reverse
action to reconstruct the layer from the config.
Args:
config: dict, the configs that will be used to reconstruct the
object.
custom_objects: dict mapping class names (or function names) of
custom (non-Keras) objects to class/functions.
Returns:
config: dict, the config with layer instance created, which is ready
to be used as init parameters.
"""
# Reconstruct the query and memory layer for parent class.
# Instead of updating the input, create a copy and use that.
config = config.copy()
query_layer_config = config.pop('query_layer', None)
if query_layer_config:
query_layer = tf.keras.layers.deserialize(
query_layer_config, custom_objects = custom_objects
)
config['query_layer'] = query_layer
memory_layer_config = config.pop('memory_layer', None)
if memory_layer_config:
memory_layer = tf.keras.layers.deserialize(
memory_layer_config, custom_objects = custom_objects
)
config['memory_layer'] = memory_layer
return config
@property
def alignments_size(self):
if isinstance(self._alignments_size, int):
return self._alignments_size
else:
return tf.TensorShape([None])
@property
def state_size(self):
return self.alignments_size
def initial_alignments(self, batch_size, dtype):
"""Creates the initial alignment values for the `tfa.seq2seq.AttentionWrapper`
class.
This is important for attention mechanisms that use the previous
alignment to calculate the alignment at the next time step
(e.g. monotonic attention).
The default behavior is to return a tensor of all zeros.
Args:
batch_size: `int32` scalar, the batch_size.
dtype: The `dtype`.
Returns:
A `dtype` tensor shaped `[batch_size, alignments_size]`
(`alignments_size` is the values' `max_time`).
"""
return tf.zeros([batch_size, self._alignments_size], dtype = dtype)
def initial_state(self, batch_size, dtype):
"""Creates the initial state values for the `tfa.seq2seq.AttentionWrapper` class.
This is important for attention mechanisms that use the previous
alignment to calculate the alignment at the next time step
(e.g. monotonic attention).
The default behavior is to return the same output as
`initial_alignments`.
Args:
batch_size: `int32` scalar, the batch_size.
dtype: The `dtype`.
Returns:
A structure of all-zero tensors with shapes as described by
`state_size`.
"""
return self.initial_alignments(batch_size, dtype)
def _bahdanau_score(
processed_query, keys, attention_v, attention_g = None, attention_b = None
):
"""Implements Bahdanau-style (additive) scoring function.
This attention has two forms. The first is Bhandanau attention,
as described in:
Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio.
"Neural Machine Translation by Jointly Learning to Align and Translate."
ICLR 2015. https://arxiv.org/abs/1409.0473
The second is the normalized form. This form is inspired by the
weight normalization article:
Tim Salimans, Diederik P. Kingma.
"Weight Normalization: A Simple Reparameterization to Accelerate
Training of Deep Neural Networks."
https://arxiv.org/abs/1602.07868
To enable the second form, set please pass in attention_g and attention_b.
Args:
processed_query: Tensor, shape `[batch_size, num_units]` to compare to
keys.
keys: Processed memory, shape `[batch_size, max_time, num_units]`.
attention_v: Tensor, shape `[num_units]`.
attention_g: Optional scalar tensor for normalization.
attention_b: Optional tensor with shape `[num_units]` for normalization.
Returns:
A `[batch_size, max_time]` tensor of unnormalized score values.
"""
# Reshape from [batch_size, ...] to [batch_size, 1, ...] for broadcasting.
processed_query = tf.expand_dims(processed_query, 1)
if attention_g is not None and attention_b is not None:
normed_v = (
attention_g
* attention_v
* tf.math.rsqrt(tf.reduce_sum(tf.square(attention_v)))
)
return tf.reduce_sum(
normed_v * tf.tanh(keys + processed_query + attention_b), [2]
)
else:
return tf.reduce_sum(attention_v * tf.tanh(keys + processed_query), [2])
class BahdanauAttention(AttentionMechanism):
"""Implements Bahdanau-style (additive) attention.
This attention has two forms. The first is Bahdanau attention,
as described in:
Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio.
"Neural Machine Translation by Jointly Learning to Align and Translate."
ICLR 2015. https://arxiv.org/abs/1409.0473
The second is the normalized form. This form is inspired by the
weight normalization article:
Tim Salimans, Diederik P. Kingma.
"Weight Normalization: A Simple Reparameterization to Accelerate
Training of Deep Neural Networks."
https://arxiv.org/abs/1602.07868
To enable the second form, construct the object with parameter
`normalize=True`.
"""
def __init__(
self,
units,
memory = None,
memory_sequence_length = None,
normalize: bool = False,
probability_fn: str = 'softmax',
kernel_initializer = 'glorot_uniform',
dtype = None,
name: str = 'BahdanauAttention',
**kwargs,
):
"""Construct the Attention mechanism.
Args:
units: The depth of the query mechanism.
memory: The memory to query; usually the output of an RNN encoder.
This tensor should be shaped `[batch_size, max_time, ...]`.
memory_sequence_length: (optional): Sequence lengths for the batch
entries in memory. If provided, the memory tensor rows are masked
with zeros for values past the respective sequence lengths.
normalize: Python boolean. Whether to normalize the energy term.
probability_fn: (optional) string, the name of function to convert
the attention score to probabilities. The default is `softmax`
which is `tf.nn.softmax`. Other options is `hardmax`, which is
hardmax() within this module. Any other value will result into
validation error. Default to use `softmax`.
kernel_initializer: (optional), the name of the initializer for the
attention kernel.
dtype: The data type for the query and memory layers of the attention
mechanism.
name: Name to use when creating ops.
**kwargs: Dictionary that contains other common arguments for layer
creation.
"""
self.probability_fn_name = probability_fn
probability_fn = self._process_probability_fn(self.probability_fn_name)
def wrapped_probability_fn(score, _):
return probability_fn(score)
query_layer = kwargs.pop('query_layer', None)
if not query_layer:
query_layer = tf.keras.layers.Dense(
units, name = 'query_layer', use_bias = False, dtype = dtype
)
memory_layer = kwargs.pop('memory_layer', None)
if not memory_layer:
memory_layer = tf.keras.layers.Dense(
units, name = 'memory_layer', use_bias = False, dtype = dtype
)
self.units = units
self.normalize = normalize
self.kernel_initializer = tf.keras.initializers.get(kernel_initializer)
self.attention_v = None
self.attention_g = None
self.attention_b = None
super().__init__(
memory = memory,
memory_sequence_length = memory_sequence_length,
query_layer = query_layer,
memory_layer = memory_layer,
probability_fn = wrapped_probability_fn,
name = name,
dtype = dtype,
**kwargs,
)
def build(self, input_shape):
super().build(input_shape)
if self.attention_v is None:
self.attention_v = tf.get_variable(
'attention_v',
[self.units],
dtype = self.dtype,
initializer = self.kernel_initializer,
)
if (
self.normalize
and self.attention_g is None
and self.attention_b is None
):
self.attention_g = tf.get_variable(
'attention_g',
initializer = tf.constant_initializer(
math.sqrt(1.0 / self.units)
),
shape = (),
)
self.attention_b = tf.get_variable(
'attention_b',
shape = [self.units],
initializer = tf.zeros_initializer(),
)
self.built = True
def _calculate_attention(self, query, state):
"""Score the query based on the keys and values.
Args:
query: Tensor of dtype matching `self.values` and shape
`[batch_size, query_depth]`.
state: Tensor of dtype matching `self.values` and shape
`[batch_size, alignments_size]`
(`alignments_size` is memory's `max_time`).
Returns:
alignments: Tensor of dtype matching `self.values` and shape
`[batch_size, alignments_size]` (`alignments_size` is memory's
`max_time`).
next_state: same as alignments.
"""
processed_query = self.query_layer(query) if self.query_layer else query
score = _bahdanau_score(
processed_query,
self.keys,
self.attention_v,
attention_g = self.attention_g,
attention_b = self.attention_b,
)
alignments = self.probability_fn(score, state)
next_state = alignments
return alignments, next_state
def get_config(self):
# yapf: disable
config = {
"units": self.units,
"normalize": self.normalize,
"probability_fn": self.probability_fn_name,
"kernel_initializer": tf.keras.initializers.serialize(
self.kernel_initializer)
}
# yapf: enable
base_config = super().get_config()
return {**base_config, **config}
@classmethod
def from_config(cls, config, custom_objects = None):
config = AttentionMechanism.deserialize_inner_layer_from_config(
config, custom_objects = custom_objects
)
return cls(**config)
def _prepare_memory(
memory,
memory_sequence_length = None,
memory_mask = None,
check_inner_dims_defined = True,
):
"""Convert to tensor and possibly mask `memory`.
Args:
memory: `Tensor`, shaped `[batch_size, max_time, ...]`.
memory_sequence_length: `int32` `Tensor`, shaped `[batch_size]`.
memory_mask: `boolean` tensor with shape [batch_size, max_time]. The
memory should be skipped when the corresponding mask is False.
check_inner_dims_defined: Python boolean. If `True`, the `memory`
argument's shape is checked to ensure all but the two outermost
dimensions are fully defined.
Returns:
A (possibly masked), checked, new `memory`.
Raises:
ValueError: If `check_inner_dims_defined` is `True` and not
`memory.shape[2:].is_fully_defined()`.
"""
memory = tf.nest.map_structure(
lambda m: tf.convert_to_tensor(m, name = 'memory'), memory
)
if memory_sequence_length is not None and memory_mask is not None:
raise ValueError(
"memory_sequence_length and memory_mask can't be provided at same time."
)
if memory_sequence_length is not None:
memory_sequence_length = tf.convert_to_tensor(
memory_sequence_length, name = 'memory_sequence_length'
)
if check_inner_dims_defined:
def _check_dims(m):
if not m.shape[2:].is_fully_defined():
raise ValueError(
'Expected memory %s to have fully defined inner dims, '
'but saw shape: %s' % (m.name, m.shape)
)
tf.nest.map_structure(_check_dims, memory)
if memory_sequence_length is None and memory_mask is None:
return memory
elif memory_sequence_length is not None:
seq_len_mask = tf.sequence_mask(
memory_sequence_length,
maxlen = tf.shape(tf.nest.flatten(memory)[0])[1],
dtype = tf.nest.flatten(memory)[0].dtype,
)
else:
# For memory_mask is not None
seq_len_mask = tf.cast(
memory_mask, dtype = tf.nest.flatten(memory)[0].dtype
)
def _maybe_mask(m, seq_len_mask):
"""Mask the memory based on the memory mask."""
rank = m.shape.ndims
rank = rank if rank is not None else tf.rank(m)
extra_ones = tf.ones(rank - 2, dtype = tf.int32)
seq_len_mask = tf.reshape(
seq_len_mask, tf.concat((tf.shape(seq_len_mask), extra_ones), 0)
)
return m * seq_len_mask
return tf.nest.map_structure(lambda m: _maybe_mask(m, seq_len_mask), memory)
def _maybe_mask_score(
score,
memory_sequence_length = None,
memory_mask = None,
score_mask_value = None,
):
"""Mask the attention score based on the masks."""
if memory_sequence_length is None and memory_mask is None:
return score
if memory_sequence_length is not None and memory_mask is not None:
raise ValueError(
"memory_sequence_length and memory_mask can't be provided at same time."
)
if memory_sequence_length is not None:
message = 'All values in memory_sequence_length must greater than zero.'
with tf.control_dependencies(
[
tf.debugging.assert_positive( # pylint: disable=bad-continuation
memory_sequence_length, message = message
)
]
):
memory_mask = tf.sequence_mask(
memory_sequence_length, maxlen = tf.shape(score)[1]
)
score_mask_values = score_mask_value * tf.ones_like(score)
return tf.where(memory_mask, score, score_mask_values)
| [
"[email protected]"
] | |
e1f9a3992c2edb1d6291407769239ae738d34fa5 | 9ff04cb71cc95e26e04114291cd34dcd860eb9db | /hotspot-featurextract-service/featureExtract/general_utils.py | c8a5fe9cce065c955a228864af7c7c017e3a944d | [] | no_license | cwgong/hotspot-featurextract-service | 323260895d1ac33d7d855402c4d97b9a4433cbec | 885bb7d96e2b140e97c774b1ec0cb190feade3ae | refs/heads/master | 2022-11-16T14:08:28.635460 | 2020-07-10T06:00:06 | 2020-07-10T06:00:06 | 278,551,253 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,707 | py | # -*- coding: utf-8 -*-
import time
import sys
import logging
import numpy as np
def get_logger(filename):
"""Return a logger instance that writes in filename
Args:
filename: (string) path to log.txt
Returns:
logger: (instance of logger)
"""
logger = logging.getLogger('logger')
logger.setLevel(logging.DEBUG)
logging.basicConfig(format='%(message)s', level=logging.DEBUG)
handler = logging.FileHandler(filename)
handler.setLevel(logging.DEBUG)
handler.setFormatter(logging.Formatter(
'%(asctime)s:%(levelname)s: %(message)s'))
logging.getLogger().addHandler(handler)
return logger
class Progbar(object):
"""Progbar class copied from keras (https://github.com/fchollet/keras/)
Displays a progress bar.
Small edit : added strict arg to update
# Arguments
target: Total number of steps expected.
interval: Minimum visual progress update interval (in seconds).
"""
def __init__(self, target, width=30, verbose=1):
self.width = width
self.target = target
self.sum_values = {}
self.unique_values = []
self.start = time.time()
self.total_width = 0
self.seen_so_far = 0
self.verbose = verbose
def update(self, current, values=[], exact=[], strict=[]):
"""
Updates the progress bar.
# Arguments
current: Index of current step.
values: List of tuples (name, value_for_last_step).
The progress bar will display averages for these values.
exact: List of tuples (name, value_for_last_step).
The progress bar will display these values directly.
"""
for k, v in values:
if k not in self.sum_values:
self.sum_values[k] = [v * (current - self.seen_so_far),
current - self.seen_so_far]
self.unique_values.append(k)
else:
self.sum_values[k][0] += v * (current - self.seen_so_far)
self.sum_values[k][1] += (current - self.seen_so_far)
for k, v in exact:
if k not in self.sum_values:
self.unique_values.append(k)
self.sum_values[k] = [v, 1]
for k, v in strict:
if k not in self.sum_values:
self.unique_values.append(k)
self.sum_values[k] = v
self.seen_so_far = current
now = time.time()
if self.verbose == 1:
prev_total_width = self.total_width
sys.stdout.write("\b" * prev_total_width)
sys.stdout.write("\r")
numdigits = int(np.floor(np.log10(self.target))) + 1
barstr = '%%%dd/%%%dd [' % (numdigits, numdigits)
bar = barstr % (current, self.target)
prog = float(current)/self.target
prog_width = int(self.width*prog)
if prog_width > 0:
bar += ('='*(prog_width-1))
if current < self.target:
bar += '>'
else:
bar += '='
bar += ('.'*(self.width-prog_width))
bar += ']'
sys.stdout.write(bar)
self.total_width = len(bar)
if current:
time_per_unit = (now - self.start) / current
else:
time_per_unit = 0
eta = time_per_unit*(self.target - current)
info = ''
if current < self.target:
info += ' - ETA: %ds' % eta
else:
info += ' - %ds' % (now - self.start)
for k in self.unique_values:
if type(self.sum_values[k]) is list:
info += ' - %s: %.4f' % (k,
self.sum_values[k][0] / max(1, self.sum_values[k][1]))
else:
info += ' - %s: %s' % (k, self.sum_values[k])
self.total_width += len(info)
if prev_total_width > self.total_width:
info += ((prev_total_width-self.total_width) * " ")
sys.stdout.write(info)
sys.stdout.flush()
if current >= self.target:
sys.stdout.write("\n")
if self.verbose == 2:
if current >= self.target:
info = '%ds' % (now - self.start)
for k in self.unique_values:
info += ' - %s: %.4f' % (k,
self.sum_values[k][0] / max(1, self.sum_values[k][1]))
sys.stdout.write(info + "\n")
def add(self, n, values=[]):
self.update(self.seen_so_far+n, values)
| [
"[email protected]"
] | |
fef54ef425733f3098eb58e677c3f8d05d05da96 | 36931f23be2afadaee6a047bb3e86309f64b5e99 | /Devs_ActionProp/PropEval/Utils.py | cc1dc5bef0b66e224bd9357b00c43ec1ec39d778 | [] | no_license | cvlab-stonybrook/S2N_Release | 13cf4df6b2c8ef65bdbf6163266eb5c55080ebe9 | bc32142d059add14d550c8980adf3672485d4a98 | refs/heads/master | 2022-06-26T23:46:40.490222 | 2018-12-25T13:41:02 | 2018-12-25T13:41:02 | 235,153,446 | 0 | 0 | null | 2022-06-22T00:52:01 | 2020-01-20T17:06:09 | Python | UTF-8 | Python | false | false | 9,130 | py | import pickle as pkl
import numpy as np
def loadTestFPS():
file = '/home/zwei/Dev/NetModules/ActionLocalizationDevs/PropEval/movie_fps.pkl'
FPS = pkl.load(open(file))
return FPS
def format(X, mthd='c2b'):
"""Transform between temporal/frame annotations
Parameters
----------
X : ndarray
2d-ndarray of size [n, 2] with temporal annotations
mthd : str
Type of conversion:
'c2b': transform [center, duration] onto [f-init, f-end]
'b2c': inverse of c2b
'd2b': transform ['f-init', 'n-frames'] into ['f-init', 'f-end']
Outputs
-------
Y : ndarray
2d-ndarray of size [n, 2] with transformed temporal annotations.
"""
if X.ndim != 2:
msg = 'Incorrect number of dimensions. X.shape = {}'
ValueError(msg.format(X.shape))
if mthd == 'c2b':
Xinit = np.ceil(X[:, 0] - 0.5*X[:, 1])
Xend = Xinit + X[:, 1] - 1.0
return np.stack([Xinit, Xend], axis=-1)
elif mthd == 'b2c':
Xc = np.round(0.5*(X[:, 0] + X[:, 1]))
d = X[:, 1] - X[:, 0] + 1.0
return np.stack([Xc, d], axis=-1)
elif mthd == 'd2b':
Xinit = X[:, 0]
Xend = X[:, 0] + X[:, 1] - 1.0
return np.stack([Xinit, Xend], axis=-1)
def intersection(target_segments, test_segments, return_ratio_target=False):
"""Compute intersection btw segments
Parameters
----------
target_segments : ndarray.
2d-ndarray of size [m, 2]. The annotation format is [f-init, f-end].
test_segments : ndarray.
2d-ndarray of size [m, 2]. The annotation format is [f-init, f-end].
return_ratio_target : bool, optional.
extra ndarray output with ratio btw size of intersection over size of
target-segments.
Outputs
-------
intersect : ndarray.
3d-ndarray of size [m, n, 2]. The annotation format is [f-init, f-end].
ratio_target : ndarray.
2d-ndarray of size [m, n]. Value (i, j) denotes ratio btw size of
intersect over size of target segment.
Raises
------
ValueError
target_segments or test_segments are not 2d array.
Notes
-----
It assumes that target-segments are more scarce that test-segments
"""
if target_segments.ndim != 2 or test_segments.ndim != 2:
raise ValueError('Dimension of arguments is incorrect')
m, n = target_segments.shape[0], test_segments.shape[0]
if return_ratio_target:
ratio_target = np.zeros((m, n))
intersect = np.zeros((m, n, 2))
for i in xrange(m):
target_size = target_segments[i, 1] - target_segments[i, 0] + 1.0
tt1 = np.maximum(target_segments[i, 0], test_segments[:, 0])
tt2 = np.minimum(target_segments[i, 1], test_segments[:, 1])
intersect[i, :, 0], intersect[i, :, 1] = tt1, tt2
if return_ratio_target:
isegs_size = (tt2 - tt1 + 1.0).clip(0)
ratio_target[i, :] = isegs_size / target_size
if return_ratio_target:
return intersect, ratio_target
return intersect
def iou(target_segments, test_segments):
"""Compute intersection over union btw segments
Parameters
----------
target_segments : ndarray.
2d-ndarray of size [m, 2] with format [t-init, t-end].
test_segments : ndarray.
2d-ndarray of size [n x 2] with format [t-init, t-end].
Outputs
-------
iou : ndarray
2d-ndarray of size [m x n] with tIoU ratio.
Raises
------
ValueError
target_segments or test_segments are not 2d-ndarray.
Notes
-----
It assumes that target-segments are more scarce that test-segments
"""
if target_segments.ndim != 2 or test_segments.ndim != 2:
raise ValueError('Dimension of arguments is incorrect')
m, n = target_segments.shape[0], test_segments.shape[0]
iou = np.empty((m, n))
for i in xrange(m):
tt1 = np.maximum(target_segments[i, 0], test_segments[:, 0])
tt2 = np.minimum(target_segments[i, 1], test_segments[:, 1])
# Non-negative overlap score
intersection = (tt2 - tt1 + 1.0).clip(0)
union = ((test_segments[:, 1] - test_segments[:, 0] + 1) +
(target_segments[i, 1] - target_segments[i, 0] + 1) -
intersection)
# Compute overlap as the ratio of the intersection
# over union of two segments at the frame level.
iou[i, :] = intersection / union
return iou
def non_maxima_supression(dets, score=None, overlap=0.99, measure='iou'):
"""Non-maximum suppression
Greedily select high-scoring detections and skip detections that are
significantly covered by a previously selected detection.
This version is translated from Matlab code by Tomasz Malisiewicz,
who sped up Pedro Felzenszwalb's code.
Parameters
----------
dets : ndarray.
2d-ndarray of size [num-segments, 2]. Each row is ['f-init', 'f-end'].
score : ndarray.
1d-ndarray of with detection scores. Size [num-segments, 2].
overlap : float, optional.
Minimum overlap ratio.
measure : str, optional.
Overlap measure used to perform NMS either IoU ('iou') or ratio of
intersection ('overlap')
Outputs
-------
dets : ndarray.
Remaining after suppression.
score : ndarray.
Remaining after suppression.
Raises
------
ValueError
- Mismatch between score 1d-array and dets 2d-array
- Unknown measure for defining overlap
"""
measure = measure.lower()
if score is None:
score = dets[:, -1]
if score.shape[0] != dets.shape[0]:
raise ValueError('Mismatch between dets and score.')
if dets.dtype.kind == "i":
dets = dets.astype("float")
# Discard incorrect segments (avoid infinite loop due to NaN)
idx_correct = np.where(dets[:, 1] > dets[:, 0])[0]
# Grab coordinates
t1 = dets[idx_correct, 0]
t2 = dets[idx_correct, 1]
area = t2 - t1 + 1
idx = np.argsort(score[idx_correct])
pick = []
while len(idx) > 0:
last = len(idx) - 1
i = idx[last]
pick.append(i)
tt1 = np.maximum(t1[i], t1[idx])
tt2 = np.minimum(t2[i], t2[idx])
wh = np.maximum(0, tt2 - tt1 + 1)
if measure == 'overlap':
o = wh / area[idx]
elif measure == 'iou':
o = wh / (area[i] + area[idx] - wh)
else:
raise ValueError('Unknown overlap measure for NMS')
idx = np.delete(idx, np.where(o > overlap)[0])
#Update: reuturn as origianl format
return dets[idx_correct[pick], :], score[idx_correct[pick]]
# return dets[idx_correct[pick], :].astype("int"), score[idx_correct[pick]]
def non_maxima_supressionv2(dets, score=None, overlap=0.99, measure='iou'):
"""Non-maximum suppression
Update: naievely for multi-class case
Greedily select high-scoring detections and skip detections that are
significantly covered by a previously selected detection.
This version is translated from Matlab code by Tomasz Malisiewicz,
who sped up Pedro Felzenszwalb's code.
Parameters
----------
dets : ndarray.
2d-ndarray of size [num-segments, 2]. Each row is ['f-init', 'f-end'].
score : ndarray.
1d-ndarray of with detection scores. Size [num-segments, 2].
overlap : float, optional.
Minimum overlap ratio.
measure : str, optional.
Overlap measure used to perform NMS either IoU ('iou') or ratio of
intersection ('overlap')
Outputs
-------
dets : ndarray.
Remaining after suppression.
score : ndarray.
Remaining after suppression.
Raises
------
ValueError
- Mismatch between score 1d-array and dets 2d-array
- Unknown measure for defining overlap
"""
measure = measure.lower()
if score.shape[0] != dets.shape[0]:
raise ValueError('Mismatch between dets and score.')
if dets.dtype.kind == "i":
dets = dets.astype("float")
# Discard incorrect segments (avoid infinite loop due to NaN)
idx_correct = np.where(dets[:, 1] > dets[:, 0])[0]
# Grab coordinates
t1 = dets[idx_correct, 0]
t2 = dets[idx_correct, 1]
single_largest_scores = np.max(score, axis=1)
area = t2 - t1 + 1
idx = np.argsort(single_largest_scores[idx_correct])
pick = []
while len(idx) > 0:
last = len(idx) - 1
i = idx[last]
pick.append(i)
tt1 = np.maximum(t1[i], t1[idx])
tt2 = np.minimum(t2[i], t2[idx])
wh = np.maximum(0, tt2 - tt1 + 1)
if measure == 'overlap':
o = wh / area[idx]
elif measure == 'iou':
o = wh / (area[i] + area[idx] - wh)
else:
raise ValueError('Unknown overlap measure for NMS')
idx = np.delete(idx, np.where(o > overlap)[0])
#Update: reuturn as origianl format
return dets[idx_correct[pick], :], score[idx_correct[pick]]
# return dets[idx_correct[pick], :].astype("int"), score[idx_correct[pick]] | [
"[email protected]"
] | |
751042bdcd64f6d5e3f4936d4f68845dff3c88a5 | 6c174c0cbff5f3403d8034a13c2b8cefff2dd364 | /android_warning/android_warning/apptest/PO/NewsPage.py | de8583b4097b569a72853562881b2a8313ab251d | [] | no_license | xiaominwanglast/uiautomator | 0416e217538527c02e544e559b2d996554b10b20 | 7ce47cda6ac03b7eb707929dd2e0428132ff255f | refs/heads/master | 2021-09-12T12:37:54.286397 | 2018-04-16T10:03:57 | 2018-04-16T10:03:57 | 106,253,765 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,792 | py | #coding:utf-8
from BasePage import Base
import random
from selenium.webdriver.common.by import By
import time
class News(Base):
#底部的新闻按钮
bottom_news_loc = (By.ID,"%s:id/ll_news_bottom"%Base.capabilities['appPackage'])
tv_topic_loc = (By.ID,"%s:id/tv_topic"%Base.capabilities['appPackage'])
textview_loc =(By.ID,"%s:id/tv"%Base.capabilities['appPackage'])
pageview_loc = (By.CLASS_NAME,"android.view.View")
tvsource_loc=(By.ID,"%s:id/tv_source"%Base.capabilities['appPackage'])
tvclose_loc=(By.ID,"%s:id/iv_close"%Base.capabilities['appPackage'])
tv_sign_loc = (By.NAME,u"签")
footer_low=(By.ID,"%s:id/footer_hint_text"%Base.capabilities['appPackage'])
btn_cancel=(By.ID,"%s:id/btn_cancel"%Base.capabilities['appPackage'])
iv_close=(By.ID,"%s:id/iv_close"%Base.capabilities['appPackage'])
#新闻内页
comment_in=(By.ID,"%s:id/layout_comment_number"%Base.capabilities['appPackage'])
hots_in=(By.ID,"%s:id/tv_hotnews"%Base.capabilities['appPackage'])
tvtitle_in=(By.ID,"%s:id/tv_title"%Base.capabilities['appPackage'])
back_in=(By.ID,"%s:id/tv_titlebar_back"%Base.capabilities['appPackage'])
feedback_in=(By.ID,"%s:id/tv_feedback_error"%Base.capabilities['appPackage'])
textcontent_in=(By.ID,"%s:id/text_content"%Base.capabilities['appPackage'])
seclose_in=(By.ID,"%s:id/tv_titleBarWidget_leftSecondBtn"%Base.capabilities['appPackage'])
editcontent_in=(By.ID,"%s:id/edit_content"%Base.capabilities['appPackage'])
commit_in=(By.ID,"%s:id/btn_commit"%Base.capabilities['appPackage'])
#美女新闻界面
beauty_picture=(By.ID,"%s:id/rl_item"%Base.capabilities['appPackage'])
kan_picture=(By.ID,"%s:id/tv_kan_times"%Base.capabilities['appPackage'])
zan_picture=(By.ID,"%s:id/tv_zan_times"%Base.capabilities['appPackage'])
cai_picture=(By.ID,"%s:id/tv_cai_times"%Base.capabilities['appPackage'])
favorite_picture=(By.ID,"%s:id/iv_favorite"%Base.capabilities['appPackage'])
share_picture=(By.ID,"%s:id/iv_share"%Base.capabilities['appPackage'])
nums_picture=(By.ID,"%s:id/tv_picnums"%Base.capabilities['appPackage'])
webview=(By.ID,"%s:id/webview"%Base.capabilities['appPackage'])
#地方频道界面显示
location_place=(By.ID,"%s:id/tv_loaction"%Base.capabilities['appPackage'])
temperature_place=(By.ID,"%s:id/tv_temperature"%Base.capabilities['appPackage'])
temperature_range_place=(By.ID,"%s:id/tv_temperature_range"%Base.capabilities['appPackage'])
des_palce=(By.ID,"%s:id/tv_des"%Base.capabilities['appPackage'])
titletext_place=(By.ID,"%s:id/tv_titleBarWidget_titelText"%Base.capabilities['appPackage'])
reflash_place=(By.ID,"%s:id/ll_widgetTitleBar_right"%Base.capabilities['appPackage'])
cityname_place=(By.ID,"%s:id/tv_city_name"%Base.capabilities['appPackage'])
#视频频道界面显示
kvideo_video=(By.ID,"%s:id/ijkVideoView"%Base.capabilities['appPackage'])
videotitle_video=(By.ID,"%s:id/tv_video_title"%Base.capabilities['appPackage'])
tvtitle_video=(By.ID,"%s:id/tv_title"%Base.capabilities['appPackage'])
play_video=(By.ID,"%s:id/player_btn"%Base.capabilities['appPackage'])
full_video=(By.ID,"%s:id/full"%Base.capabilities['appPackage'])
# ----------------------------------------------------
kaiping_news=(By.ID,"%s:id/close"%Base.capabilities['appPackage'])
kaiping_back=(By.CLASS_NAME,"android.widget.ImageButton")
def find_kaiping(self):
return self.find_element(*self.kaiping_news)
def click_kaipingback(self):
self.find_element(*self.kaiping_back).click()
time.sleep(3)
#--------------------------------------------------
def find_footerlow(self):
return self.find_element(*self.footer_low)
def find_footerlows(self):
return self.find_elements(*self.footer_low)
def click_full(self):
self.find_element(*self.full_video).click()
time.sleep(3)
def find_sign(self):
return self.find_element(*self.tv_sign_loc)
def find_signs(self):
return self.find_elements(*self.tv_sign_loc)
def click_sign(self):
self.find_element(*self.tv_sign_loc).click()
time.sleep(2)
def find_play(self):
return self.find_element(*self.play_video)
def find_tvtitle(self):
return self.find_element(*self.tvtitle_video)
def find_videotitle(self):
return self.find_element(*self.videotitle_video)
def find_kvideo(self):
return self.find_element(*self.kvideo_video)
def find_cityname(self):
return self.find_elements(*self.cityname_place)
def find_titletext(self):
return self.find_element(*self.titletext_place)
def find_reflash(self):
return self.find_element(*self.reflash_place)
def find_des(self):
return self.find_element(*self.des_palce)
def find_dess(self):
return self.find_elements(*self.des_palce)
def find_temperaturerange(self):
return self.find_element(*self.temperature_range_place)
def find_temperature(self):
return self.find_element(*self.temperature_place)
def click_temperature(self):
self.find_element(*self.temperature_place).click()
time.sleep(2)
def find_location(self):
return self.find_element(*self.location_place)
def click_location(self):
self.find_element(*self.location_place).click()
time.sleep(2)
def find_webview(self):
return self.find_element(*self.webview)
def find_nums(self):
return self.find_element(*self.nums_picture)
def click_nums(self):
self.find_element(*self.nums_picture).click()
time.sleep(2)
def find_share(self):
return self.find_element(*self.share_picture)
def find_favorite(self):
return self.find_element(*self.favorite_picture)
def find_cai(self):
return self.find_element(*self.cai_picture)
def click_cai(self):
self.find_element(*self.cai_picture).click()
time.sleep(2)
def find_zan(self):
return self.find_element(*self.zan_picture)
def click_zan(self):
self.find_element(*self.zan_picture).click()
time.sleep(2)
def find_kan(self):
return self.find_element(*self.kan_picture)
def find_picture(self):
return self.find_element(*self.beauty_picture)
#点击进入到视频入口
def click_news_entry(self):
self.find_element(*self.bottom_news_loc).click()
time.sleep(3)
#点击视频下方的保存按钮'
def click_topic (self):
self.find_element(*self.tv_topic_loc).click()
time.sleep(2)
def find_topic (self):
return self.find_element(*self.tv_topic_loc)
#点击视频下方的分享按钮
def find_pindaos (self):
return self.find_elements(*self.textview_loc)
def find_topics(self):
return self.find_elements(*self.tv_topic_loc)
def find_pageviews(self):
return self.find_element(*self.pageview_loc)
def find_source(self):
return self.find_element(*self.tvsource_loc)
def click_close(self):
self.find_element(*self.tvclose_loc).click()
time.sleep(2)
def find_comment(self):
return self.find_element(*self.comment_in)
def find_hotsin(self):
return self.find_element(*self.hots_in)
def find_intitle(self):
return self.find_element(*self.tvtitle_in)
def click_inback(self):
self.find_element(*self.back_in).click()
time.sleep(3)
def find_feedback(self):
return self.find_element(*self.feedback_in)
def click_feedback(self):
self.find_element(*self.feedback_in).click()
time.sleep(2)
def find_textcontent(self):
return self.find_elements(*self.textcontent_in)
def find_seclose(self):
return self.find_element(*self.seclose_in)
def find_edit(self):
return self.find_element(*self.editcontent_in)
def click_edit(self,words):
a=self.find_element(*self.editcontent_in)
a.click()
a.send_keys(words)
def find_commit(self):
return self.find_element(*self.commit_in)
def click_commit(self):
self.find_element(*self.commit_in).click()
time.sleep(2)
#返回topic的text list
def topic_list(self):
add=[]
for i in range(3):
e=News(self.driver).find_topics()
for j in e:
add.append(j.text)
Base(self.driver).do_swipe(self.driver,"up")
return {}.fromkeys(add).keys()
def click_btncancel(self):
try:
self.find_element(*self.iv_close).click()
# self.find_element(*self.btn_cancel).click()
except:
pass | [
"[email protected]"
] | |
3b7d30c32162ecda06916c6cad1c8db7a6a2fe9c | 52bab17c7554fb4e3533d3f5742c1e65e063903a | /sample/add_image.py | 018053f58311417fe55cd445a0f61cfa233e44de | [] | no_license | BlueLens/stylelens-index | f67d3e633b9a9909647d895bb12a238a6934b91c | c52cf1e1d26d1197936dff20b05c477f0b315287 | refs/heads/master | 2021-05-11T00:57:40.789986 | 2018-01-30T12:52:52 | 2018-01-30T12:52:52 | 108,110,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 424 | py | from __future__ import print_function
from stylelens_index.index_images import IndexImages
from pprint import pprint
api_instance = IndexImages()
image = {}
image['product_id'] = '1234'
image['host_code'] = 'HCxxx'
image['product_no'] = '1'
image['version_id'] = 'test'
try:
api_response = api_instance.add_image(image)
pprint(api_response)
except Exception as e:
print("Exception when calling add_image: %s\n" % e)
| [
"[email protected]"
] | |
2127d383dd409736b632135050dc7a3ae97f37f1 | 3343e5193e2dd14a3dc2c8c375914b12323dea82 | /tests/api/v2_1_1/test_wireless.py | ec2025c26a72bbe3aa62cebff0d6bd8ec6ff4593 | [
"MIT"
] | permissive | sandhjos/dnacentersdk | 6b483fe61307d4ea377b4bcc343e77aa7994e8bc | 9ca1a1923bc714e49e652099e2d60ee121d789e9 | refs/heads/master | 2023-04-18T17:52:09.350514 | 2021-05-07T23:41:47 | 2021-05-07T23:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 21,264 | py | # -*- coding: utf-8 -*-
"""DNACenterAPI wireless API fixtures and tests.
Copyright (c) 2019-2020 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
import pytest
from tests.environment import DNA_CENTER_VERSION
pytestmark = pytest.mark.skipif(DNA_CENTER_VERSION != '2.1.1', reason='version does not match')
def is_valid_retrieve_rf_profiles(json_schema_validate, obj):
json_schema_validate('jsd_098cab9141c9a3fe_v2_1_1').validate(obj)
return True
def retrieve_rf_profiles(api):
endpoint_result = api.wireless.retrieve_rf_profiles(
rf_profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_retrieve_rf_profiles(api, validator):
assert is_valid_retrieve_rf_profiles(
validator,
retrieve_rf_profiles(api)
)
def retrieve_rf_profiles_default(api):
endpoint_result = api.wireless.retrieve_rf_profiles(
rf_profile_name=None
)
return endpoint_result
@pytest.mark.wireless
def test_retrieve_rf_profiles_default(api, validator):
try:
assert is_valid_retrieve_rf_profiles(
validator,
retrieve_rf_profiles_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_create_and_provision_ssid(json_schema_validate, obj):
json_schema_validate('jsd_1eb72ad34e098990_v2_1_1').validate(obj)
return True
def create_and_provision_ssid(api):
endpoint_result = api.wireless.create_and_provision_ssid(
active_validation=True,
enableFabric=True,
flexConnect={'enableFlexConnect': True, 'localToVlan': 0},
managedAPLocations=['string'],
payload=None,
ssidDetails={'name': 'string', 'securityLevel': 'WPA2_ENTERPRISE', 'enableFastLane': True, 'passphrase': 'string', 'trafficType': 'data', 'enableBroadcastSSID': True, 'radioPolicy': 'Dual band operation (2.4GHz and 5GHz)', 'enableMACFiltering': True, 'fastTransition': 'Adaptive', 'webAuthURL': 'string'},
ssidType='Guest'
)
return endpoint_result
@pytest.mark.wireless
def test_create_and_provision_ssid(api, validator):
assert is_valid_create_and_provision_ssid(
validator,
create_and_provision_ssid(api)
)
def create_and_provision_ssid_default(api):
endpoint_result = api.wireless.create_and_provision_ssid(
active_validation=True,
enableFabric=None,
flexConnect=None,
managedAPLocations=None,
payload=None,
ssidDetails=None,
ssidType=None
)
return endpoint_result
@pytest.mark.wireless
def test_create_and_provision_ssid_default(api, validator):
try:
assert is_valid_create_and_provision_ssid(
validator,
create_and_provision_ssid_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_delete_rf_profiles(json_schema_validate, obj):
json_schema_validate('jsd_28b24a744a9994be_v2_1_1').validate(obj)
return True
def delete_rf_profiles(api):
endpoint_result = api.wireless.delete_rf_profiles(
rf_profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_rf_profiles(api, validator):
assert is_valid_delete_rf_profiles(
validator,
delete_rf_profiles(api)
)
def delete_rf_profiles_default(api):
endpoint_result = api.wireless.delete_rf_profiles(
rf_profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_rf_profiles_default(api, validator):
try:
assert is_valid_delete_rf_profiles(
validator,
delete_rf_profiles_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_create_wireless_profile(json_schema_validate, obj):
json_schema_validate('jsd_709769624bf988d5_v2_1_1').validate(obj)
return True
def create_wireless_profile(api):
endpoint_result = api.wireless.create_wireless_profile(
active_validation=True,
payload=None,
profileDetails={'name': 'string', 'sites': ['string'], 'ssidDetails': [{'name': 'string', 'type': 'Guest', 'enableFabric': True, 'flexConnect': {'enableFlexConnect': True, 'localToVlan': 0}, 'interfaceName': 'string'}]}
)
return endpoint_result
@pytest.mark.wireless
def test_create_wireless_profile(api, validator):
assert is_valid_create_wireless_profile(
validator,
create_wireless_profile(api)
)
def create_wireless_profile_default(api):
endpoint_result = api.wireless.create_wireless_profile(
active_validation=True,
payload=None,
profileDetails=None
)
return endpoint_result
@pytest.mark.wireless
def test_create_wireless_profile_default(api, validator):
try:
assert is_valid_create_wireless_profile(
validator,
create_wireless_profile_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_provision_update(json_schema_validate, obj):
json_schema_validate('jsd_87a5ab044139862d_v2_1_1').validate(obj)
return True
def provision_update(api):
endpoint_result = api.wireless.provision_update(
active_validation=True,
payload=[{'deviceName': 'string', 'managedAPLocations': ['string'], 'dynamicInterfaces': [{'interfaceIPAddress': 'string', 'interfaceNetmaskInCIDR': 0, 'interfaceGateway': 'string', 'lagOrPortNumber': 0, 'vlanId': 0, 'interfaceName': 'string'}]}]
)
return endpoint_result
@pytest.mark.wireless
def test_provision_update(api, validator):
assert is_valid_provision_update(
validator,
provision_update(api)
)
def provision_update_default(api):
endpoint_result = api.wireless.provision_update(
active_validation=True,
payload=None
)
return endpoint_result
@pytest.mark.wireless
def test_provision_update_default(api, validator):
try:
assert is_valid_provision_update(
validator,
provision_update_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_create_enterprise_ssid(json_schema_validate, obj):
return True if obj else False
def create_enterprise_ssid(api):
endpoint_result = api.wireless.create_enterprise_ssid(
active_validation=True,
enableBroadcastSSID=True,
enableFastLane=True,
enableMACFiltering=True,
fastTransition='Adaptive',
name='********************************',
passphrase='********',
payload=None,
radioPolicy='Dual band operation (2.4GHz and 5GHz)',
securityLevel='WPA2_ENTERPRISE',
trafficType='voicedata'
)
return endpoint_result
@pytest.mark.wireless
def test_create_enterprise_ssid(api, validator):
assert is_valid_create_enterprise_ssid(
validator,
create_enterprise_ssid(api)
)
def create_enterprise_ssid_default(api):
endpoint_result = api.wireless.create_enterprise_ssid(
active_validation=True,
enableBroadcastSSID=None,
enableFastLane=None,
enableMACFiltering=None,
fastTransition=None,
name=None,
passphrase=None,
payload=None,
radioPolicy=None,
securityLevel=None,
trafficType=None
)
return endpoint_result
@pytest.mark.wireless
def test_create_enterprise_ssid_default(api, validator):
try:
assert is_valid_create_enterprise_ssid(
validator,
create_enterprise_ssid_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_get_wireless_profile(json_schema_validate, obj):
json_schema_validate('jsd_b3a1c8804c8b9b8b_v2_1_1').validate(obj)
return True
def get_wireless_profile(api):
endpoint_result = api.wireless.get_wireless_profile(
profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_get_wireless_profile(api, validator):
assert is_valid_get_wireless_profile(
validator,
get_wireless_profile(api)
)
def get_wireless_profile_default(api):
endpoint_result = api.wireless.get_wireless_profile(
profile_name=None
)
return endpoint_result
@pytest.mark.wireless
def test_get_wireless_profile_default(api, validator):
try:
assert is_valid_get_wireless_profile(
validator,
get_wireless_profile_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_create_or_update_rf_profile(json_schema_validate, obj):
json_schema_validate('jsd_b78329674878b815_v2_1_1').validate(obj)
return True
def create_or_update_rf_profile(api):
endpoint_result = api.wireless.create_or_update_rf_profile(
active_validation=True,
channelWidth='string',
defaultRfProfile=True,
enableBrownField=True,
enableCustom=True,
enableRadioTypeA=True,
enableRadioTypeB=True,
name='string',
payload=None,
radioTypeAProperties={'parentProfile': 'string', 'radioChannels': 'string', 'dataRates': 'string', 'mandatoryDataRates': 'string', 'powerThresholdV1': 0, 'rxSopThreshold': 'string', 'minPowerLevel': 0, 'maxPowerLevel': 0},
radioTypeBProperties={'parentProfile': 'string', 'radioChannels': 'string', 'dataRates': 'string', 'mandatoryDataRates': 'string', 'powerThresholdV1': 0, 'rxSopThreshold': 'string', 'minPowerLevel': 0, 'maxPowerLevel': 0}
)
return endpoint_result
@pytest.mark.wireless
def test_create_or_update_rf_profile(api, validator):
assert is_valid_create_or_update_rf_profile(
validator,
create_or_update_rf_profile(api)
)
def create_or_update_rf_profile_default(api):
endpoint_result = api.wireless.create_or_update_rf_profile(
active_validation=True,
channelWidth=None,
defaultRfProfile=None,
enableBrownField=None,
enableCustom=None,
enableRadioTypeA=None,
enableRadioTypeB=None,
name=None,
payload=None,
radioTypeAProperties=None,
radioTypeBProperties=None
)
return endpoint_result
@pytest.mark.wireless
def test_create_or_update_rf_profile_default(api, validator):
try:
assert is_valid_create_or_update_rf_profile(
validator,
create_or_update_rf_profile_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_delete_enterprise_ssid(json_schema_validate, obj):
json_schema_validate('jsd_c7a6592b4b98a369_v2_1_1').validate(obj)
return True
def delete_enterprise_ssid(api):
endpoint_result = api.wireless.delete_enterprise_ssid(
ssid_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_enterprise_ssid(api, validator):
assert is_valid_delete_enterprise_ssid(
validator,
delete_enterprise_ssid(api)
)
def delete_enterprise_ssid_default(api):
endpoint_result = api.wireless.delete_enterprise_ssid(
ssid_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_enterprise_ssid_default(api, validator):
try:
assert is_valid_delete_enterprise_ssid(
validator,
delete_enterprise_ssid_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_provision(json_schema_validate, obj):
json_schema_validate('jsd_d09b08a3447aa3b9_v2_1_1').validate(obj)
return True
def provision(api):
endpoint_result = api.wireless.provision(
active_validation=True,
payload=[{'deviceName': 'string', 'site': 'string', 'managedAPLocations': ['string'], 'dynamicInterfaces': [{'interfaceIPAddress': 'string', 'interfaceNetmaskInCIDR': 0, 'interfaceGateway': 'string', 'lagOrPortNumber': 0, 'vlanId': 0, 'interfaceName': 'string'}]}]
)
return endpoint_result
@pytest.mark.wireless
def test_provision(api, validator):
assert is_valid_provision(
validator,
provision(api)
)
def provision_default(api):
endpoint_result = api.wireless.provision(
active_validation=True,
payload=None
)
return endpoint_result
@pytest.mark.wireless
def test_provision_default(api, validator):
try:
assert is_valid_provision(
validator,
provision_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_get_enterprise_ssid(json_schema_validate, obj):
json_schema_validate('jsd_cca519ba45ebb423_v2_1_1').validate(obj)
return True
def get_enterprise_ssid(api):
endpoint_result = api.wireless.get_enterprise_ssid(
ssid_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_get_enterprise_ssid(api, validator):
assert is_valid_get_enterprise_ssid(
validator,
get_enterprise_ssid(api)
)
def get_enterprise_ssid_default(api):
endpoint_result = api.wireless.get_enterprise_ssid(
ssid_name=None
)
return endpoint_result
@pytest.mark.wireless
def test_get_enterprise_ssid_default(api, validator):
try:
assert is_valid_get_enterprise_ssid(
validator,
get_enterprise_ssid_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_ap_provision(json_schema_validate, obj):
json_schema_validate('jsd_e9b99b2248c88014_v2_1_1').validate(obj)
return True
def ap_provision(api):
endpoint_result = api.wireless.ap_provision(
active_validation=True,
payload=[{'rfProfile': 'string', 'siteId': 'string', 'type': 'string', 'deviceName': 'string', 'customFlexGroupName': ['string'], 'customApGroupName': 'string'}]
)
return endpoint_result
@pytest.mark.wireless
def test_ap_provision(api, validator):
assert is_valid_ap_provision(
validator,
ap_provision(api)
)
def ap_provision_default(api):
endpoint_result = api.wireless.ap_provision(
active_validation=True,
payload=None
)
return endpoint_result
@pytest.mark.wireless
def test_ap_provision_default(api, validator):
try:
assert is_valid_ap_provision(
validator,
ap_provision_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_ap_provision_and_re_provision(json_schema_validate, obj):
json_schema_validate('jsd_d89719b847aaa9c4_v2_1_1').validate(obj)
return True
def ap_provision_and_re_provision(api):
endpoint_result = api.wireless.ap_provision_and_re_provision(
active_validation=True,
payload=[{'executionId': 'string', 'executionUrl': 'string', 'message': 'string'}]
)
return endpoint_result
@pytest.mark.wireless
def test_ap_provision_and_re_provision(api, validator):
assert is_valid_ap_provision_and_re_provision(
validator,
ap_provision_and_re_provision(api)
)
def ap_provision_and_re_provision_default(api):
endpoint_result = api.wireless.ap_provision_and_re_provision(
active_validation=True,
payload=None
)
return endpoint_result
@pytest.mark.wireless
def test_ap_provision_and_re_provision_default(api, validator):
try:
assert is_valid_ap_provision_and_re_provision(
validator,
ap_provision_and_re_provision_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_update_wireless_profile(json_schema_validate, obj):
json_schema_validate('jsd_cfbd3870405aad55_v2_1_1').validate(obj)
return True
def update_wireless_profile(api):
endpoint_result = api.wireless.update_wireless_profile(
active_validation=True,
payload=None,
profileDetails={'name': 'string', 'sites': ['string'], 'ssidDetails': [{'name': 'string', 'type': 'Guest', 'enableFabric': True, 'flexConnect': {'enableFlexConnect': True, 'localToVlan': 0}, 'interfaceName': 'string'}]}
)
return endpoint_result
@pytest.mark.wireless
def test_update_wireless_profile(api, validator):
assert is_valid_update_wireless_profile(
validator,
update_wireless_profile(api)
)
def update_wireless_profile_default(api):
endpoint_result = api.wireless.update_wireless_profile(
active_validation=True,
payload=None,
profileDetails=None
)
return endpoint_result
@pytest.mark.wireless
def test_update_wireless_profile_default(api, validator):
try:
assert is_valid_update_wireless_profile(
validator,
update_wireless_profile_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_delete_wireless_profile(json_schema_validate, obj):
json_schema_validate('jsd_e39588a5494982c4_v2_1_1').validate(obj)
return True
def delete_wireless_profile(api):
endpoint_result = api.wireless.delete_wireless_profile(
wireless_profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_wireless_profile(api, validator):
assert is_valid_delete_wireless_profile(
validator,
delete_wireless_profile(api)
)
def delete_wireless_profile_default(api):
endpoint_result = api.wireless.delete_wireless_profile(
wireless_profile_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_wireless_profile_default(api, validator):
try:
assert is_valid_delete_wireless_profile(
validator,
delete_wireless_profile_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
def is_valid_delete_ssid_and_provision_it_to_devices(json_schema_validate, obj):
json_schema_validate('jsd_fc9538fe43d9884d_v2_1_1').validate(obj)
return True
def delete_ssid_and_provision_it_to_devices(api):
endpoint_result = api.wireless.delete_ssid_and_provision_it_to_devices(
managed_aplocations='string',
ssid_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_ssid_and_provision_it_to_devices(api, validator):
assert is_valid_delete_ssid_and_provision_it_to_devices(
validator,
delete_ssid_and_provision_it_to_devices(api)
)
def delete_ssid_and_provision_it_to_devices_default(api):
endpoint_result = api.wireless.delete_ssid_and_provision_it_to_devices(
managed_aplocations='string',
ssid_name='string'
)
return endpoint_result
@pytest.mark.wireless
def test_delete_ssid_and_provision_it_to_devices_default(api, validator):
try:
assert is_valid_delete_ssid_and_provision_it_to_devices(
validator,
delete_ssid_and_provision_it_to_devices_default(api)
)
except Exception as original_e:
with pytest.raises(TypeError, match="but instead we received None"):
raise original_e
| [
"[email protected]"
] | |
eb0c801daa3e7bd7bd7fd61ab0d68e2ae74f4c58 | 649bd422025e421d86025743eac324c9b882a2e8 | /exam/1_three-dimensional_atomic_system/dump/phasetrans/temp210_6000.py | 4eb72b96277f23e11b07223f9c7e42df0df956e7 | [] | no_license | scheuclu/atom_class | 36ddee1f6a5995872e858add151c5942c109847c | 0c9a8c63d9b38898c1869fe8983126cef17662cd | refs/heads/master | 2021-01-21T10:52:28.448221 | 2017-03-07T23:04:41 | 2017-03-07T23:04:41 | 83,489,471 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 68,770 | py | ITEM: TIMESTEP
6000
ITEM: NUMBER OF ATOMS
2048
ITEM: BOX BOUNDS pp pp pp
-1.6989300572375149e+02 2.1709300572379581e+02
-1.6989300572375149e+02 2.1709300572379581e+02
-1.6989300572375149e+02 2.1709300572379581e+02
ITEM: ATOMS id type xs ys zs
1703 1 0.748226 0.140167 0.0197056
1851 1 0.264509 0.0639932 0.00149502
88 1 0.687091 0.0106675 0.0512837
1335 1 0.748875 0.0361636 0.0105882
1069 1 0.495085 0.0190193 0.0702968
1228 1 0.00748635 0.290782 0.468078
1455 1 0.130842 0.118549 0.0545983
331 1 0.212538 0.0844881 0.00421849
1234 1 0.407326 0.0563695 0.134704
1134 1 0.355731 0.19466 0.497947
1458 1 0.781475 0.18893 0.012804
1178 1 0.45757 0.0473408 0.105474
550 1 0.662788 0.310158 0.451561
1953 1 0.348968 0.176711 0.48066
562 1 0.222423 0.354009 0.0370392
1449 1 0.415785 0.454729 0.0232953
1680 1 0.431129 0.455497 0.0274975
1036 1 0.855939 0.450352 0.0178101
1827 1 0.102235 0.452565 0.405845
342 1 0.841593 0.429809 0.0223522
700 1 0.642215 0.251198 0.450459
1923 1 0.76957 0.0445581 0.0145022
413 1 0.116373 0.0385055 0.0507466
1399 1 0.962389 0.0553005 0.00863528
230 1 0.0336642 0.49191 0.0365928
1817 1 0.723419 0.0375095 0.0529725
40 1 0.332782 0.167583 0.0216094
129 1 0.602812 0.0967921 0.0413595
2026 1 0.831328 0.115762 0.0176311
1314 1 0.356659 0.115509 0.0857868
982 1 0.258928 0.145413 0.0668161
1981 1 0.243074 0.18917 0.0169319
1093 1 0.505199 0.230366 0.0482022
844 1 0.654786 0.233502 0.00381121
941 1 0.584519 0.248996 0.0441226
1910 1 0.495792 0.279099 0.0586647
1928 1 0.241279 0.252175 0.00341957
1804 1 0.433012 0.295259 0.063233
1991 1 0.801664 0.33311 0.0869152
1757 1 0.119386 0.351922 0.0712033
1802 1 0.980113 0.407941 0.0730869
386 1 0.896114 0.371529 0.0126264
1426 1 0.279649 0.0139261 0.226315
1175 1 0.711961 0.409487 0.0126485
884 1 0.831774 0.0178071 0.0330845
312 1 0.393864 0.0689285 0.0710855
618 1 0.465134 0.0410301 0.0353814
55 1 0.328652 0.069919 0.0405166
1128 1 0.473941 0.0961534 0.0862625
1195 1 0.105057 0.121516 0.0772483
651 1 0.865085 0.0108791 0.0373545
689 1 0.175651 0.113368 0.116943
1839 1 0.847695 0.159633 0.0106995
1321 1 0.59312 0.275617 0.0249336
1805 1 0.765381 0.242502 0.0649431
1319 1 0.0624507 0.320849 0.043851
1176 1 0.464927 0.198795 0.0735487
1015 1 0.182499 0.189857 0.0206272
1699 1 0.625895 0.301743 0.110505
1525 1 0.802563 0.375185 0.012218
1398 1 0.690609 0.453626 0.0762818
1073 1 0.884982 0.0380072 0.08784
1276 1 0.0722215 0.0213932 0.0229547
1964 1 0.23295 0.0563116 0.0351909
675 1 0.922538 0.0998637 0.0642868
1271 1 0.393944 0.147448 0.0744942
1522 1 0.130691 0.241755 0.00715841
134 1 0.318359 0.32338 0.0441141
1710 1 0.977815 0.227002 0.080348
1032 1 0.881744 0.264904 0.0900891
1440 1 0.648341 0.2792 0.0238563
697 1 0.957292 0.301155 0.0819856
568 1 0.0713846 0.235492 0.0852506
859 1 0.264859 0.420793 0.0021186
117 1 0.29424 0.399242 0.00170415
590 1 0.339344 0.365142 0.0627511
1218 1 0.214641 0.392958 0.100171
1937 1 0.0702631 0.42407 0.0603632
1505 1 0.0461209 0.446161 0.137681
653 1 0.309285 0.00357349 0.378288
1246 1 0.300148 0.10196 0.0829639
448 1 0.156638 0.0971424 0.0691633
640 1 0.259054 0.19353 0.0938879
1595 1 0.251649 0.282481 0.072296
743 1 0.0905821 0.199155 0.0844233
2008 1 0.338814 0.267962 0.051683
1054 1 0.388699 0.292349 0.0632428
1132 1 0.0863458 0.292189 0.0622193
17 1 0.553381 0.23772 0.163302
436 1 0.0833657 0.41139 0.00222403
1785 1 0.545779 0.323858 0.0190594
1813 1 0.445529 0.346411 0.0580423
919 1 0.557137 0.349808 0.158092
1409 1 0.921631 0.437927 0.0500726
1781 1 0.921032 0.444761 0.0395244
1282 1 0.00741498 0.418565 0.130053
2036 1 0.705873 0.0460051 0.157172
1334 1 0.173811 0.112247 0.0567202
711 1 0.320258 0.0836438 0.0569402
1593 1 0.511828 0.0701483 0.0822547
304 1 0.910213 0.146222 0.149194
202 1 0.900298 0.148163 0.146548
887 1 0.398084 0.219204 0.0866493
524 1 0.540561 0.152393 0.0609498
1841 1 0.0408465 0.236063 0.108702
554 1 0.342051 0.309759 0.0884587
250 1 0.19037 0.24484 0.124548
981 1 0.550697 0.344312 0.0953308
1537 1 0.991012 0.315017 0.0638654
1433 1 0.405493 0.391316 0.126304
154 1 0.576093 0.399525 0.183643
1272 1 0.443022 0.352866 0.0763246
1052 1 0.601267 0.427042 0.128319
1566 1 0.890251 0.40667 0.0423501
965 1 0.88092 0.470467 0.118053
19 1 0.753857 0.495019 0.133013
286 1 0.549456 0.0648392 0.0706651
751 1 0.651678 0.0791519 0.0898549
1418 1 0.953127 0.130036 0.138843
943 1 0.787025 0.0981965 0.105613
16 1 0.467519 0.144214 0.116505
156 1 0.027023 0.20007 0.128143
380 1 0.582064 0.171456 0.10919
1589 1 0.251328 0.202013 0.126703
420 1 0.710988 0.236984 0.141594
1580 1 0.0298454 0.289662 0.144089
408 1 0.608423 0.2506 0.125028
1669 1 0.8905 0.303031 0.106481
1629 1 0.690277 0.256386 0.153616
1278 1 0.801232 0.373034 0.143248
370 1 0.754906 0.354796 0.182994
990 1 0.867754 0.400366 0.116703
1967 1 0.869013 0.432751 0.131622
101 1 0.330355 0.0550194 0.176026
528 1 0.483371 0.0969667 0.0892936
577 1 0.355576 0.0923715 0.152486
1133 1 0.684413 0.0924272 0.126138
1600 1 0.542125 0.122253 0.088467
1732 1 0.88747 0.0828952 0.155948
1670 1 0.472351 0.198347 0.104784
1257 1 0.206404 0.251908 0.129309
1698 1 0.120054 0.246736 0.168018
556 1 0.84529 0.301997 0.178565
709 1 0.894487 0.339137 0.120694
572 1 0.362053 0.412407 0.104168
645 1 0.897994 0.390782 0.147893
1387 1 0.493117 0.427969 0.102508
1198 1 0.650501 0.453553 0.0969041
1565 1 0.871247 0.448963 0.155027
1249 1 0.545351 0.458746 0.185465
1471 1 0.157096 0.404557 0.191921
1265 1 0.0922669 0.00780817 0.251032
1184 1 0.673528 0.0142796 0.0180004
35 1 0.703879 0.374313 0.00586715
223 1 0.679807 0.0237482 0.186083
834 1 0.444536 0.171173 0.158487
644 1 0.193776 0.118779 0.186802
1009 1 0.572708 0.150563 0.229063
866 1 0.914157 0.211834 0.181114
715 1 0.0341573 0.19814 0.174883
352 1 0.528893 0.259479 0.16266
1633 1 0.0341983 0.2814 0.13665
1033 1 0.542495 0.210125 0.186897
284 1 0.61744 0.311303 0.191447
805 1 0.779929 0.258149 0.100087
56 1 0.368484 0.308577 0.168601
1243 1 0.389261 0.340613 0.104372
137 1 0.827702 0.308794 0.159051
1743 1 0.536869 0.400534 0.125733
1673 1 0.380379 0.42834 0.142886
682 1 0.274119 0.299614 0.487266
746 1 0.153554 0.449416 0.174419
335 1 0.738958 0.0535847 0.176646
1443 1 0.711962 0.013414 0.174352
1774 1 0.324241 0.0532934 0.150221
1695 1 0.414999 0.072966 0.10788
455 1 0.433892 0.0665463 0.20319
505 1 0.648256 0.0934045 0.16965
1122 1 0.0696869 0.13586 0.191909
1028 1 0.229232 0.145295 0.164555
1266 1 0.277183 0.167312 0.225965
1544 1 0.453288 0.156086 0.168753
195 1 0.0330357 0.200232 0.216961
1570 1 0.225504 0.247254 0.215369
870 1 0.327111 0.225047 0.128893
1652 1 0.349442 0.295689 0.194769
1588 1 0.232156 0.314576 0.199632
895 1 0.971498 0.350024 0.183662
476 1 0.245746 0.395965 0.197083
1818 1 0.782609 0.402462 0.137926
332 1 0.414256 0.39865 0.111025
1663 1 0.252403 0.450785 0.186629
1187 1 0.466343 0.170749 0.479435
953 1 0.739627 0.0391448 0.19664
532 1 0.336839 0.0365614 0.173104
1651 1 0.835554 0.0744282 0.205312
1147 1 0.967131 0.102441 0.125792
298 1 0.101708 0.0950882 0.100931
1562 1 0.25989 0.0880484 0.238357
1636 1 0.881816 0.145626 0.231195
1502 1 0.522948 0.129087 0.193502
1157 1 0.783668 0.1689 0.171432
1724 1 0.559764 0.179967 0.173889
753 1 0.493392 0.118401 0.190001
510 1 0.169455 0.222568 0.150821
1947 1 0.44302 0.231364 0.135691
1165 1 0.181652 0.289746 0.21815
1569 1 0.398426 0.278681 0.214842
1945 1 0.399643 0.301003 0.186227
212 1 0.457159 0.300596 0.13509
1911 1 0.64675 0.310459 0.212659
1355 1 0.454296 0.38429 0.228745
1330 1 0.271614 0.46501 0.18641
614 1 0.515482 0.459961 0.48213
1301 1 0.632404 0.304697 0.445933
152 1 0.507157 0.00782026 0.350511
348 1 0.156142 0.0951013 0.056056
890 1 0.462437 0.0739344 0.228711
2030 1 0.909903 0.0223601 0.267864
1811 1 0.393313 0.0146795 0.215457
119 1 0.868238 0.122245 0.242447
1483 1 0.586665 0.056691 0.210833
1377 1 0.851143 0.157205 0.187033
138 1 0.403012 0.145455 0.20294
1142 1 0.570086 0.210777 0.245998
1944 1 0.803476 0.187288 0.191646
672 1 0.8562 0.197496 0.232426
1591 1 0.62581 0.193967 0.213571
37 1 0.340874 0.267496 0.232621
301 1 0.00739325 0.263808 0.14461
757 1 0.206317 0.347547 0.23929
1376 1 0.265846 0.353575 0.226373
1466 1 0.436019 0.338564 0.238071
1961 1 0.720883 0.370989 0.183463
313 1 0.396923 0.454454 0.214476
1681 1 0.581085 0.378853 0.262178
1051 1 0.476358 0.38738 0.300513
986 1 0.626955 0.382647 0.191054
1420 1 0.799462 0.409302 0.196206
1984 1 0.568432 0.424007 0.267931
1074 1 0.510541 0.0255671 0.138585
1236 1 0.401452 0.078484 0.291889
1020 1 0.452403 0.176983 0.172701
1613 1 0.687366 0.138316 0.203429
1957 1 0.279201 0.269898 0.210076
780 1 0.286824 0.271774 0.221623
1263 1 0.0472312 0.400112 0.144838
1034 1 0.876171 0.453408 0.261406
937 1 0.993653 0.29433 0.0140977
1789 1 0.40337 0.455812 0.224088
105 1 0.0993038 0.0573482 0.182392
1855 1 0.903601 0.0223736 0.27612
1584 1 0.215193 0.077819 0.225262
243 1 0.598945 0.0637537 0.235496
819 1 0.870041 0.113121 0.291947
667 1 0.056549 0.124799 0.225461
706 1 0.605006 0.166041 0.223071
648 1 0.734767 0.177249 0.206691
616 1 0.929913 0.20943 0.188742
454 1 0.382938 0.168167 0.288391
622 1 0.141316 0.215817 0.229439
1714 1 0.637186 0.238022 0.189838
1576 1 0.991514 0.264836 0.144666
708 1 0.262044 0.27147 0.246305
1776 1 0.308449 0.31428 0.243998
549 1 0.846981 0.254623 0.296321
1194 1 0.0701799 0.309869 0.288806
1013 1 0.421563 0.333902 0.282002
1363 1 0.665093 0.251647 0.293076
181 1 0.687982 0.367773 0.300234
366 1 0.804092 0.365499 0.287405
1778 1 0.832761 0.347525 0.207657
361 1 0.185354 0.409197 0.286055
1688 1 0.839495 0.356557 0.290583
997 1 0.03547 0.369347 0.245959
1102 1 0.876615 0.490586 0.254081
98 1 0.498412 0.0181221 0.261415
578 1 0.591192 0.0144959 0.243337
38 1 0.662221 0.0391551 0.253416
1879 1 0.903564 0.0262661 0.303685
371 1 0.13591 0.0346603 0.23146
385 1 0.420366 0.127535 0.250138
464 1 0.681245 0.157759 0.233917
435 1 0.0546229 0.179178 0.245635
1325 1 0.327883 0.159542 0.264822
228 1 0.659641 0.132418 0.220449
642 1 0.286101 0.259977 0.238905
1329 1 0.828241 0.171153 0.279531
303 1 0.670841 0.228331 0.282729
771 1 0.689364 0.336111 0.223485
807 1 0.597116 0.315256 0.286572
1444 1 0.73076 0.335563 0.259011
233 1 0.552188 0.364588 0.267807
656 1 0.229713 0.39635 0.26959
811 1 0.17645 0.441728 0.276758
1460 1 0.331889 0.483615 0.212501
320 1 0.82653 0.411506 0.229329
1531 1 0.887449 0.459793 0.266816
111 1 0.675317 0.427052 0.295782
1905 1 0.0392579 0.4379 0.228282
795 1 0.0130736 0.093882 0.273779
2017 1 0.784839 0.0632715 0.327482
382 1 0.224377 0.129923 0.362947
1242 1 0.358598 0.0951086 0.343832
1413 1 0.1378 0.110404 0.283669
864 1 0.571928 0.232659 0.256159
407 1 0.402771 0.188087 0.312278
854 1 0.939214 0.267445 0.223086
837 1 0.883293 0.295022 0.283254
185 1 0.831996 0.311257 0.282888
1968 1 0.857921 0.338713 0.303623
1416 1 0.0181685 0.422512 0.265462
1992 1 0.336865 0.412215 0.29001
1557 1 0.580631 0.478312 0.334104
1436 1 0.416051 0.018681 0.427019
995 1 0.0513695 0.0132038 0.428068
1072 1 0.112368 0.13915 0.272461
539 1 0.240135 0.0598412 0.396881
1954 1 0.824214 0.0916372 0.32859
546 1 0.94684 0.0833069 0.271947
22 1 0.753831 0.18573 0.345284
261 1 0.816459 0.090845 0.322522
1491 1 0.399716 0.154596 0.341758
418 1 0.0730981 0.191411 0.258684
812 1 0.641245 0.155444 0.368691
136 1 0.71216 0.435611 0.320804
393 1 0.998201 0.128713 0.0262864
716 1 0.115808 0.464177 0.275191
522 1 0.280623 0.471479 0.312201
1527 1 0.939307 0.494797 0.457571
1280 1 0.576355 0.418515 0.470976
1830 1 0.0274762 0.0455232 0.34845
1671 1 0.111729 0.050531 0.306941
1550 1 0.592052 0.0111853 0.348977
555 1 0.609107 0.11526 0.285634
1686 1 0.93824 0.12695 0.361375
172 1 0.279012 0.121893 0.333267
1042 1 0.254374 0.0858816 0.335066
544 1 0.298534 0.135562 0.335403
647 1 0.613988 0.231692 0.39179
1254 1 0.889218 0.224891 0.231822
387 1 0.473053 0.255672 0.355349
1411 1 0.234211 0.273611 0.283993
1656 1 0.165175 0.276973 0.367717
87 1 0.217565 0.347168 0.286484
122 1 0.632287 0.339888 0.344467
1530 1 0.500128 0.365259 0.342262
961 1 0.840332 0.363227 0.298772
48 1 0.232022 0.375701 0.375089
180 1 0.0495547 0.444744 0.299694
1908 1 0.73873 0.46089 0.296823
609 1 0.524217 0.0237692 0.346504
1145 1 0.948965 0.0133178 0.317316
1799 1 0.0505946 0.0624664 0.329156
2009 1 0.941042 0.0800634 0.34769
1571 1 0.119478 0.0673796 0.345946
1206 1 0.925146 0.14841 0.349331
492 1 0.0592682 0.169582 0.388974
2032 1 0.200742 0.119308 0.348299
1075 1 0.55881 0.185702 0.388309
1913 1 0.690835 0.145801 0.413694
745 1 0.778261 0.291587 0.364172
1154 1 0.254034 0.286679 0.385878
355 1 0.907417 0.312032 0.252427
882 1 0.647287 0.275223 0.367648
174 1 0.0435851 0.324934 0.338344
660 1 0.0867126 0.340622 0.352498
1365 1 0.587932 0.378351 0.370812
330 1 0.206263 0.377277 0.389515
94 1 0.306753 0.331725 0.355129
722 1 0.921024 0.367285 0.345485
68 1 0.256208 0.426808 0.366101
1622 1 0.256132 0.0129608 0.365696
1 1 0.973719 0.0579679 0.395567
58 1 0.943953 0.0372887 0.364639
443 1 -1.49021e-05 0.0766077 0.291815
797 1 0.879188 0.0543285 0.294589
446 1 0.179906 0.129912 0.374463
1395 1 0.473313 0.0958379 0.399359
636 1 0.576844 0.163596 0.367168
1457 1 0.24047 0.190399 0.338193
114 1 0.370764 0.160805 0.379331
1273 1 0.368391 0.256976 0.357
625 1 0.32023 0.290107 0.349334
710 1 0.431719 0.331759 0.380679
867 1 0.0747593 0.355973 0.349979
215 1 0.184898 0.332248 0.363463
1696 1 0.16882 0.27792 0.340058
109 1 0.177021 0.392553 0.429383
1863 1 0.71278 0.274925 0.37906
1760 1 0.412866 0.344458 0.376431
782 1 0.766456 0.379647 0.351222
542 1 0.395856 0.406496 0.262023
300 1 0.508026 0.360527 0.3742
1465 1 0.470258 0.423157 0.391554
1429 1 0.673862 0.361472 0.28945
1348 1 0.206313 0.436539 0.360893
1277 1 0.313217 0.389919 0.269335
939 1 0.223308 0.459565 0.338153
1004 1 0.410347 0.0866679 0.375345
541 1 0.728432 0.143965 0.350072
63 1 0.297219 0.131511 0.309441
244 1 0.955234 0.204173 0.371209
1248 1 0.142433 0.376035 0.368208
1952 1 0.293211 0.240213 0.396588
1172 1 0.520814 0.341522 0.385781
489 1 0.323367 0.342812 0.369821
1506 1 0.513083 0.388586 0.410352
828 1 0.164583 0.487051 0.384968
1675 1 0.0956205 0.478402 0.403052
1888 1 0.449538 0.0555632 0.46516
942 1 0.629204 0.0402875 0.397652
1806 1 0.887488 0.168245 0.387611
1782 1 0.549809 0.108168 0.402348
1215 1 0.868153 0.238162 0.43181
543 1 0.78202 0.220762 0.425093
673 1 0.0382889 0.240252 0.379175
1000 1 0.177471 0.253655 0.377627
794 1 0.134608 0.384456 0.425818
45 1 0.053918 0.300907 0.433839
316 1 0.719106 0.35515 0.416407
1010 1 0.00598097 0.393041 0.378814
561 1 0.492951 0.404357 0.472672
171 1 0.617888 0.472772 0.37202
1625 1 0.570507 0.479781 0.0296919
576 1 0.135739 0.242111 0.0445731
1056 1 0.408106 0.481051 0.05313
1050 1 0.333061 0.0836327 0.345019
344 1 0.634772 0.0112894 0.360037
1860 1 0.76265 0.0137154 0.39661
217 1 0.796716 0.196074 0.407614
825 1 0.0709943 0.234494 0.402955
177 1 0.646948 0.160242 0.434111
574 1 0.668868 0.205304 0.436674
1538 1 0.263995 0.217549 0.423389
922 1 0.0112956 0.365426 0.458485
1343 1 0.924391 0.301153 0.4314
65 1 0.60002 0.345395 0.368361
1777 1 0.897093 0.496782 0.435738
1893 1 0.694762 0.42143 0.364543
663 1 0.900392 0.446864 0.437626
847 1 0.571164 0.466261 0.398023
871 1 0.464346 0.498686 0.388754
1520 1 0.46561 0.0698655 0.0752094
9 1 0.0341125 0.0105815 0.441808
564 1 0.897338 0.0453352 0.443387
1219 1 0.81925 0.10612 0.428996
263 1 0.759706 0.109895 0.46127
918 1 0.669438 0.130687 0.419668
410 1 0.854903 0.164694 0.403586
5 1 0.957193 0.238718 0.427018
1577 1 0.0131536 0.317034 0.46613
1084 1 0.210327 0.299807 0.4676
1258 1 0.686228 0.312929 0.332321
1683 1 0.402385 0.431337 0.375382
1379 1 0.69678 0.406623 0.458241
1323 1 0.136474 0.043058 0.480178
1746 1 0.669356 0.108413 0.463914
1480 1 0.19021 0.120292 0.488767
1141 1 0.0413082 0.487535 0.415083
1067 1 0.978001 0.127209 0.399584
1045 1 0.708069 0.207183 0.408466
1978 1 0.0822825 0.245415 0.460278
1201 1 0.218801 0.306987 0.476118
1621 1 0.846017 0.304127 0.400549
2024 1 0.641727 0.414145 0.423933
1829 1 0.933566 0.446791 0.459216
1125 1 0.299564 0.49777 0.483423
1554 1 0.121464 0.0238765 0.385389
1180 1 0.946037 0.171474 0.0215301
748 1 0.802736 0.0553348 0.482228
1838 1 0.998893 0.278318 0.0275318
1608 1 0.573644 0.0746476 0.485725
273 1 0.11112 0.153155 0.467052
1472 1 0.460788 0.149552 0.476443
1500 1 0.197743 0.186713 0.497984
1708 1 0.494929 0.189205 0.457101
1721 1 0.561344 0.164339 0.472218
187 1 0.18057 0.241025 0.46213
612 1 0.126397 0.464639 0.0420881
33 1 0.0786181 0.23152 0.443766
849 1 0.734234 0.319972 0.445424
18 1 0.531663 0.296667 0.493083
1536 1 0.112682 0.369989 0.477423
459 1 0.165351 0.344703 0.494282
1171 1 0.342773 0.386814 0.444955
1097 1 0.522787 0.368498 0.497329
880 1 0.133131 0.38275 0.437317
938 1 0.345492 0.477075 0.481227
1747 1 0.573676 0.137955 0.0162261
438 1 0.314118 0.449319 0.434608
110 1 0.534342 0.490346 0.472991
701 1 0.642389 0.455814 0.436082
1654 1 0.912956 0.436223 0.440716
1783 1 0.0228926 0.497195 0.495408
674 1 0.281202 0.0646257 0.459468
1899 1 0.715449 0.056633 0.317962
972 1 0.507625 0.0420253 0.186739
1474 1 0.0578272 0.133688 0.452946
1890 1 0.248559 0.473858 0.345218
604 1 0.488589 0.469712 0.13259
531 1 0.88641 0.423137 0.00939413
1679 1 0.841887 0.0594441 0.0684523
1299 1 0.599695 0.48647 0.0116644
128 1 0.40813 0.0268737 0.195723
654 1 0.863749 0.00687277 0.322727
1362 1 0.912143 0.047247 0.238822
308 1 0.0750409 0.127383 0.4631
1672 1 0.432982 0.0595607 0.452993
1342 1 0.729941 0.0121852 0.018421
1422 1 0.557917 0.169956 0.482449
279 1 0.385115 0.310153 0.49605
860 1 0.856719 0.395573 0.0189521
2010 1 0.799601 0.381864 0.494187
1340 1 0.55678 0.416421 0.485894
1501 1 0.684361 0.183348 0.478293
1925 1 0.0473994 0.478491 0.33543
1955 1 0.470795 0.0114307 0.403
1011 1 0.246674 0.00782432 0.0579628
2047 1 0.215231 0.00558643 0.49127
1843 1 0.903493 0.491398 0.0974432
855 1 0.144493 0.0482826 0.00392932
1612 1 0.281175 0.0159143 0.0145615
1197 1 0.114302 0.303055 0.00666027
829 1 0.555027 0.0701653 0.00554495
28 1 0.546413 0.00316194 0.249778
1540 1 0.373533 0.176345 0.495213
200 1 0.0127488 0.099809 0.00354249
1309 1 0.104607 0.489819 0.225796
738 1 0.219792 0.495245 0.310307
1140 1 0.466936 0.13208 0.49868
1874 1 0.807493 0.245486 0.975964
1274 1 0.215611 0.0026305 0.585441
1951 1 0.107333 0.054806 0.510973
262 1 0.815984 0.090264 0.508279
239 1 0.588495 0.0588639 0.563321
2011 1 0.0274845 0.17615 0.538716
388 1 0.398938 0.180388 0.526126
1190 1 0.462591 0.496105 0.878519
1173 1 0.759353 0.215614 0.516788
565 1 0.428023 0.00964098 0.585711
1064 1 0.633398 0.286206 0.982425
547 1 0.073067 0.498308 0.599041
1275 1 0.432836 0.299252 0.502641
1771 1 0.646531 0.315085 0.510516
1918 1 0.570082 0.335233 0.552249
1412 1 0.861007 0.476169 0.654926
1849 1 0.509773 0.180407 0.527544
558 1 0.900884 0.427549 0.533182
494 1 0.130622 0.430254 0.983189
1744 1 0.602544 0.267115 0.539351
458 1 0.758904 0.0558388 0.558482
354 1 0.481414 0.0749027 0.593667
1878 1 0.380434 0.118221 0.574712
1317 1 0.511067 0.23466 0.985063
1040 1 0.781707 0.10702 0.513945
607 1 0.00819763 0.122541 0.524961
1661 1 0.61797 0.262626 0.503273
1096 1 0.216101 0.201463 0.553851
1659 1 0.896998 0.477275 0.949817
384 1 0.595161 0.29057 0.97776
657 1 0.246023 0.255207 0.557705
881 1 0.922614 0.210506 0.522498
1618 1 0.679751 0.38859 0.949981
639 1 0.228799 0.338318 0.52655
1716 1 0.0563438 0.392496 0.514657
786 1 0.859429 0.353062 0.524899
688 1 0.226799 0.420552 0.590438
1269 1 0.61459 0.458383 0.507628
1163 1 0.948904 0.0367633 0.709462
1977 1 0.800068 0.0361672 0.514105
1286 1 0.476747 0.007295 0.971788
999 1 0.253037 0.0791847 0.509902
1701 1 0.207724 0.0426328 0.983444
1260 1 0.672591 0.0423616 0.558235
1026 1 0.126464 0.117171 0.542818
1328 1 0.547247 0.0784332 0.501146
412 1 0.936909 0.143431 0.601734
649 1 0.168943 0.119234 0.540812
661 1 0.833721 0.436088 0.500802
602 1 0.23988 0.214723 0.518407
1784 1 0.484822 0.344878 0.583106
601 1 0.589067 0.359325 0.503379
234 1 0.588534 0.446726 0.54192
804 1 0.497493 0.477046 0.519228
24 1 0.486638 0.0878882 0.54385
1404 1 0.826918 0.10741 0.554992
534 1 0.639153 0.0828929 0.557752
1106 1 0.0460729 0.177384 0.538666
486 1 0.466242 0.137689 0.585353
857 1 0.950268 0.127963 0.540036
1551 1 0.559666 0.26836 0.52722
1845 1 0.291657 0.269253 0.560551
469 1 0.294811 0.00519951 0.666746
1665 1 0.0101842 0.419279 0.571891
1512 1 0.518954 0.401686 0.554919
1616 1 0.523757 0.428591 0.587332
1311 1 0.866659 0.471737 0.609495
260 1 0.158982 0.302068 0.510384
838 1 0.182367 0.00383297 0.671293
358 1 0.211499 0.0532627 0.618195
204 1 0.770379 0.101793 0.571663
379 1 0.61925 0.218119 0.520273
1508 1 0.821375 0.167449 0.587039
1657 1 0.881582 0.115125 0.588796
1935 1 0.252335 0.21684 0.557695
1614 1 0.332119 0.220454 0.512401
1884 1 0.944815 0.22966 0.625766
761 1 0.225581 0.313248 0.611007
194 1 0.41233 0.363516 0.577699
1251 1 0.75774 0.401818 0.626339
167 1 0.397696 0.489064 0.613863
836 1 0.615478 0.431334 0.622472
1689 1 0.351012 0.0395132 0.609642
404 1 0.784638 0.026466 0.861181
655 1 0.723037 0.122556 0.517618
1798 1 0.730831 0.00593002 0.523494
1339 1 0.312092 0.0415785 0.647757
362 1 0.178678 0.17665 0.600103
633 1 0.257229 0.223158 0.584141
148 1 0.830189 0.171428 0.62164
1711 1 0.911247 0.200485 0.630113
1136 1 0.243595 0.162776 0.677563
1403 1 0.401913 0.202233 0.578478
876 1 0.296173 0.314091 0.696405
66 1 0.337488 0.297197 0.60009
1082 1 0.871906 0.379659 0.653827
566 1 0.518599 0.449398 0.572127
12 1 0.953575 0.0839625 0.525376
869 1 0.554017 0.48146 0.651782
1599 1 0.382879 0.059029 0.534613
863 1 0.730787 0.484126 0.628213
1473 1 0.0873197 0.0441275 0.556792
1383 1 0.75324 0.0553079 0.635556
1368 1 0.662925 0.0696562 0.625569
620 1 0.139429 0.0957678 0.573782
759 1 0.293638 0.0884167 0.622769
240 1 0.468192 0.112258 0.67551
29 1 0.432986 0.217791 0.654865
1563 1 0.810893 0.227417 0.600301
49 1 0.998361 0.232055 0.649009
1730 1 0.525451 0.27642 0.661311
1643 1 0.935088 0.252431 0.608744
1101 1 0.187349 0.405829 0.573932
255 1 0.912009 0.345035 0.646357
1281 1 0.203408 0.353637 0.615072
1717 1 0.333046 0.372609 0.65402
705 1 0.0249449 0.416494 0.648216
1751 1 0.795987 0.428013 0.667767
1846 1 0.653568 0.48504 0.611014
429 1 0.7099 0.422169 0.593078
1496 1 0.550515 0.0993122 0.595113
595 1 0.0274968 0.097935 0.576867
615 1 0.631574 0.0916033 0.72217
1572 1 0.730238 0.129941 0.636671
1763 1 0.811053 0.145736 0.656202
573 1 0.413838 0.232096 0.678008
1055 1 0.229063 0.206459 0.683176
1285 1 0.69511 0.191427 0.664915
419 1 0.178637 0.213732 0.643626
1446 1 0.672761 0.307942 0.643594
1628 1 0.747054 0.34503 0.571481
106 1 0.824818 0.270546 0.621262
594 1 0.969753 0.281538 0.692599
1421 1 0.432243 0.348803 0.670123
1788 1 0.523103 0.408377 0.609981
1174 1 0.268286 0.498234 0.544466
2044 1 0.986761 0.463129 0.666944
2004 1 0.624656 0.0534941 0.689192
340 1 0.640891 0.175291 0.659576
1393 1 0.251928 0.0646943 0.687874
77 1 0.607765 0.099501 0.614989
1432 1 0.587012 0.132099 0.693126
915 1 0.00348797 0.126476 0.597215
580 1 0.344465 0.18388 0.649411
2027 1 0.0463018 0.174354 0.723574
221 1 0.0663152 0.206878 0.615277
1835 1 0.590471 0.179826 0.663906
879 1 0.308984 0.198156 0.638296
306 1 0.0724821 0.185476 0.61044
297 1 0.363379 0.326521 0.679843
789 1 0.888995 0.260611 0.62691
779 1 0.942978 0.2475 0.71305
766 1 0.0303124 0.299153 0.712497
149 1 0.643305 0.34708 0.670025
669 1 0.134142 0.388247 0.645995
441 1 0.325588 0.454153 0.647595
588 1 0.206222 0.233535 0.575822
475 1 0.0334633 0.0132751 0.685191
894 1 0.11303 0.0705702 0.648523
1810 1 0.289476 0.0555224 0.68733
723 1 0.76594 0.115383 0.688421
62 1 0.551178 0.0934483 0.646984
78 1 0.697951 0.166668 0.667459
1452 1 0.245716 0.277162 0.717807
463 1 0.914414 0.253437 0.664013
858 1 0.505823 0.266496 0.71644
1121 1 0.981255 0.191013 0.711922
873 1 0.0434605 0.289494 0.618043
1302 1 0.0949084 0.320348 0.69762
1212 1 0.263756 0.312893 0.724174
2006 1 0.611641 0.373679 0.66372
1678 1 0.0218045 0.366298 0.648129
704 1 0.17068 0.327502 0.699208
821 1 0.59367 0.399258 0.64727
843 1 0.395575 0.461833 0.652353
266 1 0.328897 0.494078 0.632418
326 1 0.000230634 0.383636 0.669897
1720 1 0.397699 0.158068 0.685849
157 1 0.533706 0.0481866 0.704727
1381 1 0.846477 0.109289 0.758624
1221 1 0.31625 0.175498 0.702262
1922 1 0.558278 0.142575 0.688398
1322 1 0.289224 0.240489 0.669334
46 1 0.329879 0.248604 0.810099
365 1 0.463148 0.252721 0.667297
1634 1 0.0158037 0.259717 0.659343
1424 1 0.0657761 0.266076 0.662048
146 1 0.926356 0.210566 0.688191
118 1 0.904237 0.339709 0.716246
1261 1 0.402288 0.430152 0.635447
499 1 0.269777 0.427246 0.699253
321 1 0.63893 0.383342 0.6604
1338 1 0.976808 0.422344 0.695178
820 1 0.520735 0.483527 0.979797
579 1 0.195838 0.0546067 0.712619
103 1 0.362967 0.0195531 0.712997
1833 1 0.534764 0.0945347 0.684688
886 1 0.809571 0.129517 0.716159
911 1 0.98384 0.141035 0.675571
980 1 0.842501 0.30329 0.68303
390 1 0.876509 0.291365 0.673508
680 1 0.511861 0.256942 0.744357
968 1 0.241215 0.379745 0.687715
1384 1 0.111481 0.422113 0.683607
199 1 0.152036 0.431457 0.733783
1253 1 0.270161 0.447123 0.736967
1148 1 0.384186 0.385332 0.722653
720 1 0.465255 0.0184979 0.957658
1858 1 0.0317401 0.034182 0.752279
971 1 0.294515 0.496381 0.973655
913 1 0.358094 0.0121158 0.730778
253 1 0.237588 0.0955349 0.71487
264 1 0.377188 0.0597252 0.736408
1736 1 0.907053 0.0855591 0.693117
1956 1 0.977641 0.107496 0.688473
295 1 0.655305 0.173004 0.685705
224 1 0.0822477 0.182538 0.693071
787 1 0.218549 0.28771 0.646638
1842 1 0.212054 0.216912 0.791884
1528 1 0.54151 0.211944 0.70163
1640 1 0.282971 0.304777 0.717686
97 1 0.474297 0.346223 0.753589
979 1 0.861403 0.301338 0.733048
424 1 0.452174 0.342455 0.754194
1974 1 0.164237 0.375797 0.784982
605 1 0.611245 0.380904 0.743356
1120 1 0.299929 0.473956 0.75845
969 1 0.452722 0.40703 0.703745
64 1 0.255822 0.429823 0.750362
1694 1 0.431723 0.486231 0.733233
1823 1 0.0571419 0.468139 0.697129
1713 1 0.159518 0.024269 0.714984
1463 1 0.0229692 0.0413729 0.777019
2035 1 0.12824 0.0816108 0.771767
405 1 0.70693 0.0401982 0.657874
1019 1 0.777709 0.0962115 0.760796
188 1 0.812647 0.196081 0.718507
150 1 0.844011 0.219226 0.77324
307 1 0.76516 0.188824 0.778843
359 1 0.230945 0.337588 0.726838
1880 1 0.675082 0.306394 0.731657
885 1 0.261449 0.364747 0.677899
1949 1 0.375504 0.346712 0.731713
1291 1 0.266444 0.321827 0.954745
1897 1 0.986499 0.485147 0.825616
1692 1 0.981962 0.289602 0.947839
1109 1 0.605808 0.392672 0.96867
1764 1 0.60176 0.128995 0.729015
1691 1 0.348959 0.223247 0.77466
218 1 0.988744 0.227258 0.783254
481 1 0.45229 0.247821 0.765478
267 1 0.791549 0.232874 0.731602
428 1 0.747292 0.224166 0.779814
845 1 0.572854 0.276381 0.76724
536 1 0.692639 0.283771 0.814783
339 1 0.129054 0.284721 0.720373
853 1 0.751381 0.277166 0.827461
184 1 0.95913 0.257093 0.798175
43 1 0.21993 0.332482 0.749312
1336 1 0.78849 0.435745 0.749647
349 1 0.750894 0.372073 0.779938
1477 1 0.821284 0.463461 0.827019
1139 1 0.467146 0.445403 0.752513
173 1 0.884505 0.411121 0.74868
1450 1 0.00737482 0.471413 0.633405
699 1 0.376242 0.0581539 0.847473
788 1 0.286184 0.103579 0.733922
696 1 0.390383 0.0939842 0.78542
1664 1 0.959197 0.0630044 0.767864
917 1 0.147766 0.142511 0.818751
1367 1 0.205491 0.102617 0.779408
519 1 0.939301 0.142119 0.834973
1462 1 0.693948 0.173626 0.789859
714 1 0.495657 0.142019 0.779173
1423 1 0.72349 0.179793 0.810147
993 1 0.0136475 0.305448 0.805881
1834 1 0.425489 0.286932 0.766573
650 1 0.58573 0.350412 0.791768
1217 1 0.806862 0.282588 0.85136
329 1 0.526959 0.395882 0.790654
1507 1 0.512896 0.453346 0.851924
1820 1 0.245805 0.358767 0.814898
257 1 0.583788 0.41545 0.77932
141 1 0.303247 0.467266 0.791008
816 1 0.597865 0.0135387 0.803002
583 1 0.503791 0.0305774 0.774192
21 1 0.129771 0.0567958 0.777984
1494 1 0.431476 0.113035 0.837201
193 1 0.123691 0.194085 0.808554
1095 1 0.447704 0.134548 0.803121
1960 1 0.0867672 0.160541 0.800191
1470 1 0.1946 0.176503 0.844078
1360 1 0.621268 0.160917 0.811602
1138 1 0.288271 0.28115 0.798412
1895 1 0.674342 0.25785 0.868738
1510 1 0.0417608 0.337263 0.753567
2002 1 0.102814 0.4022 0.762342
96 1 0.102085 0.405486 0.776325
1641 1 0.631573 0.0869925 0.975859
381 1 0.0715413 0.493328 0.781358
1016 1 0.974188 0.484613 0.947449
1883 1 0.55244 0.0280515 0.806563
327 1 0.594943 0.0621381 0.809129
1545 1 0.238057 0.0315945 0.879176
721 1 0.472856 0.0807716 0.841031
1795 1 0.616847 0.20589 0.850868
1049 1 0.391499 0.247709 0.798386
219 1 0.763487 0.210096 0.828621
1573 1 0.618057 0.278168 0.853028
1901 1 0.792542 0.37125 0.888643
1816 1 0.041001 0.445078 0.8049
1490 1 0.116308 0.491649 0.921361
1318 1 0.77348 0.405254 0.82783
1394 1 0.602749 0.473937 0.814376
1735 1 0.217104 0.00198126 0.854797
1223 1 0.521543 0.0557246 0.82686
1489 1 0.825164 0.159776 0.822088
1844 1 0.836909 0.174533 0.875595
553 1 0.924007 0.142034 0.889663
1705 1 0.274343 0.252288 0.817516
1315 1 0.48067 0.241574 0.846681
717 1 0.363027 0.253649 0.893305
1486 1 0.0645716 0.38285 0.804838
875 1 0.491698 0.309171 0.847251
1773 1 0.472043 0.315355 0.81896
734 1 0.705746 0.285915 0.839769
600 1 0.965964 0.359417 0.860391
1012 1 0.897259 0.357483 0.846917
850 1 0.732508 0.382758 0.83889
963 1 0.642935 0.392291 0.784702
921 1 0.039831 0.431723 0.857284
1230 1 0.920585 0.479277 0.819422
281 1 0.284278 0.417285 0.871322
703 1 0.616529 0.487486 0.877197
998 1 0.381049 0.0192686 0.842617
2016 1 0.294599 0.043956 0.864167
670 1 0.202001 0.0511349 0.818387
826 1 0.561102 0.105693 0.841798
472 1 0.260863 0.151412 0.899169
865 1 0.577327 0.187392 0.82296
147 1 0.838641 0.22429 0.877091
246 1 0.979798 0.269496 0.898217
684 1 0.248252 0.246549 0.90119
2012 1 0.607578 0.192851 0.82589
1087 1 0.0124309 0.343433 0.822192
662 1 0.847652 0.409804 0.883219
1401 1 0.0858348 0.474068 0.901196
1149 1 0.701045 0.423034 0.862673
1091 1 0.301238 0.460894 0.843208
1021 1 0.84041 0.39843 0.913875
1220 1 0.368196 0.0601592 0.892119
1298 1 0.502858 0.11187 0.853745
1601 1 0.169324 0.1104 0.868707
186 1 0.543853 0.224842 0.944654
603 1 0.563786 0.190401 0.898526
102 1 0.519118 0.215337 0.940953
391 1 0.151224 0.273646 0.879804
719 1 0.585751 0.269995 0.945227
1759 1 0.0777157 0.290914 0.866355
1615 1 0.219907 0.334683 0.825478
872 1 0.00913321 0.390467 0.787893
1292 1 0.405962 0.337364 0.883436
1307 1 0.607464 0.423406 0.884022
1024 1 0.720068 0.371155 0.912225
1297 1 0.884188 0.368399 0.847494
1932 1 0.560716 0.0281501 0.869614
1959 1 0.24578 0.0640069 0.900398
3 1 0.278059 0.0658681 0.851262
1927 1 0.283141 0.110651 0.949506
1295 1 0.575988 0.139314 0.898805
1552 1 0.397028 0.157887 0.832881
155 1 0.724331 0.173632 0.98933
411 1 0.590663 0.160655 0.817218
1333 1 0.994185 0.182796 0.96643
1889 1 0.981563 0.25905 0.893296
992 1 0.964896 0.269128 0.898739
338 1 0.465579 0.32044 0.890846
1742 1 0.183101 0.259785 0.905955
1468 1 0.752436 0.291206 0.965486
275 1 0.903041 0.292198 0.810661
936 1 0.00783638 0.355527 0.901238
934 1 0.618049 0.336216 0.93175
1320 1 0.114681 0.396989 0.879722
571 1 0.798272 0.360516 0.866918
740 1 0.0825044 0.400126 0.888049
1070 1 0.424046 0.162486 0.965597
1371 1 0.433461 0.450069 0.930156
1241 1 0.328855 0.272886 0.508124
1819 1 0.859281 0.0165899 0.692736
1543 1 0.218933 0.11701 0.870663
957 1 0.975266 0.192679 0.906565
1885 1 0.585262 0.328048 0.928307
731 1 0.994557 0.294674 0.90356
1996 1 0.141254 0.297543 0.959764
470 1 0.15185 0.39842 0.911579
1865 1 0.364416 0.409418 0.917487
367 1 0.158721 0.374027 0.954103
1078 1 0.745892 0.37719 0.874671
350 1 0.584221 0.477543 0.911023
1638 1 0.209694 0.453303 0.604331
1224 1 0.0161709 0.297792 0.580626
638 1 0.160006 0.0623459 0.98592
1555 1 0.169823 0.109674 0.954872
124 1 0.663865 0.132389 0.937928
1108 1 0.873044 0.166872 0.954176
4 1 0.0977814 0.151639 0.944609
82 1 0.446613 0.194944 0.941918
912 1 0.560442 0.226345 0.980593
1642 1 0.34424 0.223136 0.941385
896 1 0.859901 0.229381 0.965718
1439 1 0.262759 0.331963 0.932147
1126 1 0.0130186 0.278616 0.909077
417 1 0.405251 0.382179 0.951142
540 1 0.2519 0.443153 0.924137
1718 1 0.744093 0.455943 0.92326
268 1 0.550599 0.407993 0.906285
85 1 0.665147 0.432301 0.918323
792 1 0.469964 0.494155 0.963984
1092 1 0.647238 0.46845 0.862956
1114 1 0.682344 0.40713 0.925161
1427 1 0.0962727 0.415218 0.510594
1740 1 0.59636 0.464334 0.923177
346 1 0.450308 0.47639 0.951526
1761 1 0.250699 0.00738983 0.870885
1635 1 0.968084 0.436075 0.52989
940 1 0.7676 0.0911752 0.97562
1814 1 0.23236 0.0676814 0.979534
831 1 0.608173 0.0484594 0.920562
1931 1 0.871286 0.135202 0.965343
1969 1 0.064734 0.19005 0.928611
1364 1 0.856207 0.168323 0.926383
272 1 0.347785 0.233676 0.988982
955 1 0.556735 0.255065 0.915301
1262 1 0.220159 0.316712 0.894376
611 1 0.260461 0.343083 0.978917
1909 1 0.0430047 0.367603 0.971656
229 1 0.120348 0.307905 0.928505
1904 1 0.383693 0.364445 0.925427
166 1 0.0233421 0.432729 0.920747
1598 1 0.0135772 0.430904 0.929334
752 1 0.539979 0.180122 0.527935
791 1 0.986694 0.037902 0.972331
1914 1 0.90136 0.267846 0.980005
460 1 0.865807 0.484385 0.602699
161 1 0.0392106 0.165479 0.965315
2007 1 0.59595 0.11017 0.987714
163 1 0.260272 0.470759 0.640188
830 1 0.413667 0.0600971 0.962311
462 1 0.491369 0.10197 0.933428
908 1 0.801837 0.13953 0.971358
900 1 0.708598 0.079927 0.995714
2013 1 0.720287 0.294229 0.523145
1553 1 0.150793 0.617842 0.0617563
493 1 0.135578 0.964209 0.0164133
1226 1 0.225319 0.503077 0.410927
1800 1 0.676333 0.616867 0.0546413
251 1 0.507871 0.790214 0.476594
1738 1 0.716655 0.694665 0.035409
145 1 0.693184 0.597862 0.0485816
1852 1 0.469791 0.670289 0.0372626
1143 1 0.677407 0.650091 0.0191749
947 1 0.855965 0.762551 0.00489691
1058 1 0.0162375 0.809151 0.0581435
1127 1 0.449392 0.820794 0.0093685
1868 1 0.719469 0.985739 0.182985
888 1 0.845237 0.621954 0.46623
91 1 0.589576 0.934067 0.469804
1924 1 0.379916 0.891231 0.0519933
619 1 0.621555 0.902435 0.0848504
932 1 0.233815 0.987227 0.144126
100 1 0.429969 0.762957 0.0674294
1476 1 0.710676 0.572529 0.0167557
521 1 0.0667143 0.514142 0.489065
1207 1 0.737881 0.510858 0.388137
374 1 0.801433 0.522085 0.0768886
960 1 0.0928709 0.60235 0.0372737
52 1 0.0759131 0.632922 0.0800137
1497 1 0.780526 0.747885 0.0541047
851 1 0.0274744 0.532563 0.303942
928 1 0.367206 0.732977 0.087769
1982 1 0.405332 0.737102 0.020386
818 1 0.228212 0.888769 0.0294964
966 1 0.652341 0.910757 0.034605
26 1 0.287843 0.906303 0.0264068
920 1 0.21469 0.937735 0.0330504
1875 1 0.860836 0.959078 0.00878386
1519 1 0.084383 0.69377 0.00715573
79 1 0.664371 0.728176 0.0113726
1712 1 0.965439 0.944987 0.0505885
1604 1 0.43574 0.927372 0.00336593
1758 1 0.808631 0.649487 0.490055
868 1 0.655063 0.656268 0.00541372
1644 1 0.74796 0.999984 0.0275065
1994 1 0.333302 0.655623 0.00643966
694 1 0.913747 0.539379 0.0564295
1435 1 0.754239 0.588786 0.000933134
39 1 0.459098 0.609098 0.00967726
27 1 0.950214 0.595112 0.0882728
1650 1 0.817749 0.594392 0.0343818
1431 1 0.833686 0.641304 0.0338625
2042 1 0.933502 0.630917 0.0625281
739 1 0.381982 0.689853 0.0154703
74 1 0.864259 0.656057 0.0463418
214 1 0.0202658 0.720636 0.0716806
515 1 0.77329 0.718861 0.0229348
987 1 0.716263 0.792983 0.0595322
1752 1 0.750618 0.675569 0.0445927
151 1 0.0728936 0.789393 0.00336218
182 1 0.753792 0.66991 0.485262
1007 1 0.846368 0.761954 0.111907
1408 1 0.358629 0.787832 0.00583526
1597 1 0.699544 0.775166 0.0183105
1211 1 0.747576 0.859035 0.00306065
520 1 0.388973 0.944661 0.035519
926 1 0.942036 0.983416 0.063798
1130 1 0.160952 0.99023 0.047833
1853 1 0.342809 0.95665 0.0779649
1022 1 0.54624 0.9502 0.0410228
1252 1 0.248644 0.540588 0.133008
1062 1 0.88249 0.597646 0.48493
254 1 0.188341 0.522898 0.0271763
1869 1 0.749378 0.604383 0.488854
206 1 0.825923 0.715587 0.135235
683 1 0.562238 0.707602 0.136907
950 1 0.772271 0.696456 0.112965
1250 1 0.89761 0.795751 0.017965
1917 1 0.954636 0.738044 0.0431463
432 1 0.423618 0.743298 0.0339199
490 1 0.681024 0.790014 0.0781039
949 1 0.192588 0.749986 0.0599687
309 1 0.371316 0.796528 0.0872531
115 1 0.508485 0.74285 0.0835628
1406 1 0.544507 0.756749 0.1003
1410 1 0.519686 0.820842 0.0641947
1547 1 0.315507 0.820236 0.0436605
447 1 0.686646 0.842544 0.0692061
1518 1 0.153792 0.988886 0.0993252
81 1 0.531629 0.787544 0.0117923
730 1 0.260808 0.963169 0.398134
36 1 0.990677 0.549915 0.059929
170 1 0.681372 0.60444 0.0764002
456 1 0.180031 0.702551 0.113341
392 1 0.504562 0.678949 0.0493914
1359 1 0.255066 0.736896 0.0959435
402 1 0.40768 0.75625 0.0776591
183 1 0.746087 0.791414 0.0298049
772 1 0.14682 0.88376 0.0687304
143 1 0.938345 0.821498 0.0970653
1645 1 0.55382 0.883093 0.0343033
778 1 0.0788509 0.843808 0.0501038
23 1 0.416569 0.89449 0.0466735
1919 1 0.083439 0.889824 0.0467898
907 1 0.870616 0.847368 0.0259602
210 1 0.451992 0.951955 0.0499286
988 1 0.347451 0.988356 0.0851459
1445 1 0.986148 0.734395 0.0116027
416 1 0.193655 0.543478 0.13481
265 1 0.36153 0.584461 0.0896251
1047 1 0.655596 0.60906 0.152439
1214 1 0.905295 0.676698 0.173331
1213 1 0.624927 0.733576 0.0995649
765 1 0.623156 0.74063 0.0931428
1105 1 0.80169 0.83061 0.105645
991 1 0.982088 0.836803 0.126008
823 1 0.270426 0.783413 0.155374
1232 1 0.458365 0.846829 0.102219
1482 1 0.770563 0.899563 0.0868622
400 1 0.760184 0.956433 0.144717
1649 1 0.244759 0.668382 0.02551
1389 1 0.971553 0.513918 0.216117
2015 1 0.904939 0.621331 0.0509733
341 1 0.468147 0.596275 0.044969
1791 1 0.13877 0.668791 0.107238
1983 1 0.539475 0.587791 0.127143
414 1 0.125214 0.790035 0.180909
878 1 0.0328829 0.790521 0.160861
1152 1 0.408543 0.80896 0.145895
59 1 0.478011 0.903566 0.120426
1912 1 0.940337 0.836934 0.174748
729 1 0.368742 0.853907 0.12018
883 1 0.817807 0.965422 0.102918
1044 1 0.746028 0.957593 0.453642
1768 1 0.517997 0.514139 0.176708
440 1 0.371175 0.506228 0.148292
1327 1 0.784176 0.533941 0.144882
1662 1 0.78213 0.545821 0.160793
211 1 0.892508 0.570463 0.119261
1183 1 0.950791 0.607811 0.13056
1828 1 0.294192 0.658049 0.180264
1159 1 0.647423 0.647954 0.0830822
1156 1 0.453487 0.815916 0.165219
512 1 0.0312828 0.850746 0.115008
347 1 0.691711 0.881315 0.188919
372 1 0.031035 0.868984 0.116983
984 1 0.0757004 0.86105 0.135341
1385 1 0.374768 0.90893 0.109767
197 1 0.532133 0.903362 0.21075
637 1 0.417787 0.989389 0.174005
1796 1 0.206746 0.772168 0.027235
107 1 0.650938 0.541842 0.158005
899 1 0.769586 0.565351 0.132106
383 1 0.59544 0.660807 0.156461
1821 1 0.0136126 0.747575 0.172451
1859 1 0.408442 0.794359 0.170049
1304 1 0.00452798 0.806528 0.118203
287 1 0.581077 0.81876 0.168828
1245 1 0.497342 0.979927 0.0915845
1083 1 0.830224 0.769472 0.459852
1840 1 0.0666022 0.520829 0.145078
252 1 0.191157 0.576587 0.22353
6 1 0.339134 0.522806 0.239111
1503 1 0.619168 0.576231 0.198685
2040 1 0.168771 0.656849 0.11887
1856 1 0.805899 0.637348 0.117778
1920 1 0.296497 0.682739 0.16866
1647 1 0.231085 0.738029 0.181331
270 1 0.261239 0.738441 0.164065
760 1 0.10681 0.82012 0.224418
1793 1 0.544971 0.895801 0.238856
557 1 0.229495 0.921394 0.139222
1970 1 0.503321 0.922756 0.168094
1541 1 0.579077 0.899556 0.185303
513 1 0.685966 0.98752 0.21452
809 1 0.161693 0.983687 0.161112
586 1 0.446719 0.819374 0.448755
741 1 0.269536 0.528131 0.240736
502 1 0.611141 0.525292 0.183196
241 1 0.0676634 0.597092 0.18129
632 1 0.146761 0.544718 0.309761
1609 1 0.861178 0.607665 0.1451
1316 1 0.539124 0.595916 0.202486
1208 1 0.34434 0.608044 0.269454
527 1 0.744784 0.64667 0.224188
906 1 0.653818 0.718392 0.225113
552 1 0.931561 0.702042 0.166722
725 1 0.997964 0.75622 0.161465
1836 1 0.367844 0.686502 0.24482
627 1 0.727466 0.812857 0.249636
1356 1 0.939181 0.81127 0.181497
839 1 0.66133 0.867574 0.237309
1697 1 0.711693 0.903865 0.189276
2048 1 0.957363 0.841653 0.253097
822 1 0.485342 0.935831 0.228725
517 1 0.356634 0.988554 0.168255
1976 1 0.751496 0.997971 0.214079
1469 1 0.103847 0.567958 0.15772
1396 1 0.094398 0.516482 0.239689
1862 1 0.27658 0.581688 0.206847
323 1 0.545803 0.571115 0.201055
333 1 0.281805 0.59113 0.228001
665 1 0.786641 0.59144 0.182545
1308 1 0.0782819 0.690647 0.139952
1442 1 0.282245 0.706002 0.1958
983 1 0.707907 0.685683 0.250631
495 1 0.953818 0.682219 0.230333
225 1 0.407332 0.738547 0.204094
363 1 0.584503 0.708378 0.18301
90 1 0.334054 0.771577 0.222507
1066 1 0.384461 0.786193 0.209081
1038 1 0.865797 0.767944 0.209231
86 1 0.986021 0.811717 0.211711
736 1 0.0431995 0.855408 0.211785
259 1 0.370571 0.963885 0.223336
1722 1 0.0183798 0.988253 0.192448
1617 1 0.967838 0.813299 0.463191
593 1 0.378104 0.971689 0.284437
698 1 0.120753 0.579927 0.208312
353 1 0.193576 0.644347 0.233448
1492 1 0.131308 0.610174 0.273938
1894 1 0.319367 0.588237 0.185368
1693 1 0.781311 0.653295 0.272129
1942 1 0.411352 0.718329 0.232821
1247 1 0.46963 0.761346 0.284743
1812 1 0.0637492 0.876316 0.133273
1023 1 0.349707 0.894962 0.148689
467 1 0.628874 0.868219 0.186905
1081 1 0.81578 0.879291 0.298222
1035 1 0.61661 0.872319 0.232663
563 1 0.488667 0.930278 0.287402
213 1 0.588757 0.559288 0.26934
1727 1 0.434754 0.544828 0.207134
1940 1 0.935561 0.549517 0.255139
1514 1 0.849509 0.586119 0.374047
1797 1 0.590018 0.582695 0.246021
159 1 0.875905 0.60289 0.327863
1504 1 0.350216 0.671288 0.236899
422 1 0.539566 0.689208 0.25164
500 1 0.0130348 0.716824 0.224163
227 1 0.925696 0.759975 0.254144
50 1 0.55255 0.72813 0.173211
1164 1 0.546154 0.767204 0.210021
282 1 0.536834 0.777912 0.324377
1524 1 0.200627 0.799112 0.279564
220 1 0.682346 0.776255 0.280193
1428 1 0.379382 0.799597 0.197547
1864 1 0.81425 0.784072 0.240395
589 1 0.922254 0.764972 0.240828
948 1 0.710231 0.807072 0.240309
1753 1 0.192185 0.79292 0.294167
1369 1 0.990264 0.853215 0.233593
34 1 0.969271 0.935012 0.223352
861 1 0.289008 0.980421 0.20065
1756 1 0.459568 0.85409 0.0252821
2014 1 0.893374 0.914186 0.21237
1832 1 0.225267 0.956847 0.240924
2005 1 0.760771 0.998578 0.227218
1881 1 0.771716 0.561927 0.178541
1227 1 0.856991 0.591708 0.192168
483 1 0.145065 0.571671 0.256635
956 1 0.872205 0.634425 0.296231
369 1 0.475543 0.540799 0.269641
507 1 0.194812 0.653368 0.280554
1225 1 0.406878 0.571778 0.285449
1587 1 0.716242 0.645841 0.318583
1111 1 0.648644 0.678148 0.271562
582 1 0.786952 0.757675 0.316165
1702 1 0.348091 0.779376 0.262721
479 1 0.963798 0.745364 0.22651
450 1 0.599047 0.844435 0.261043
1950 1 0.308704 0.812835 0.269034
423 1 0.438879 0.807165 0.259922
840 1 0.585642 0.839759 0.272612
1098 1 0.122674 0.975391 0.270885
702 1 0.45694 0.843566 0.226992
356 1 0.756153 0.830167 0.306585
1185 1 0.451559 0.863247 0.26174
1498 1 0.846832 0.912174 0.289209
389 1 0.873582 0.909842 0.250531
1975 1 0.0246625 0.968302 0.216757
1631 1 0.349583 0.566192 0.319995
755 1 0.610818 0.527867 0.280852
20 1 0.974682 0.51336 0.246323
2038 1 0.903652 0.568806 0.239153
1729 1 0.732581 0.541573 0.247034
587 1 0.0465998 0.588111 0.331319
1402 1 0.458804 0.600161 0.297188
1610 1 0.152933 0.734253 0.331036
364 1 0.619288 0.575717 0.246483
376 1 0.628827 0.656705 0.261414
946 1 0.419445 0.763991 0.309296
1790 1 0.705187 0.763531 0.35112
1592 1 0.312045 0.814051 0.341697
201 1 0.631653 0.810657 0.274097
249 1 0.920029 0.851151 0.315796
61 1 0.551085 0.811506 0.27767
690 1 0.148249 0.900537 0.33229
1017 1 0.831457 0.891699 0.294333
1350 1 0.637742 0.945022 0.262162
629 1 0.0989303 0.978178 0.286445
777 1 0.102282 0.936238 0.28243
1903 1 0.391804 0.908752 0.233982
1031 1 0.110435 0.965212 0.328629
1372 1 0.0692349 0.546345 0.272174
793 1 0.647561 0.590914 0.301321
235 1 0.523811 0.589068 0.493876
133 1 0.876224 0.609033 0.00485878
1238 1 0.654696 0.593241 0.289287
1438 1 0.366053 0.989046 0.259918
567 1 0.509797 0.554527 0.31031
935 1 0.071933 0.613548 0.271212
1177 1 0.639564 0.657836 0.342004
762 1 0.393351 0.634523 0.31618
944 1 0.552499 0.623166 0.311011
624 1 0.415652 0.661143 0.311464
1478 1 0.603912 0.662658 0.302137
1731 1 0.0434258 0.811153 0.292157
42 1 0.747901 0.754472 0.287491
548 1 0.000830429 0.782411 0.248544
1060 1 0.989399 0.844767 0.272097
421 1 0.379162 0.915246 0.334888
1167 1 0.774829 0.920709 0.328129
1560 1 0.902641 0.877715 0.49222
681 1 0.0468661 0.545868 0.228279
1380 1 0.661057 0.978019 0.383892
158 1 0.893671 0.520918 0.444741
1351 1 0.280516 0.556146 0.316587
889 1 0.829408 0.547478 0.326411
2029 1 0.663095 0.963412 0.496686
1415 1 0.892857 0.505415 0.374162
1602 1 0.0954752 0.576705 0.326173
399 1 0.402771 0.564971 0.323813
478 1 0.351084 0.629709 0.31115
728 1 0.612307 0.664189 0.350653
1815 1 0.662705 0.681802 0.366439
526 1 0.733569 0.650816 0.381572
501 1 0.911457 0.708106 0.344339
874 1 0.682717 0.752 0.371734
827 1 0.0191617 0.86105 0.336175
668 1 0.371091 0.8267 0.361055
1690 1 0.713386 0.797825 0.325962
1585 1 0.789477 0.790155 0.308944
1549 1 0.400736 0.798498 0.2477
749 1 0.55317 0.839194 0.257378
962 1 0.59558 0.841606 0.244783
1706 1 0.292077 0.855838 0.32773
1987 1 0.888662 0.875398 0.331406
1825 1 0.93302 0.89386 0.320795
294 1 0.389833 0.865462 0.297681
31 1 0.746277 0.903565 0.372053
1370 1 0.402108 0.921339 0.234653
1687 1 0.979252 0.9484 0.291615
1456 1 0.610106 0.590867 0.494296
1048 1 0.0248588 0.672601 0.47776
1300 1 0.0303327 0.994798 0.282253
630 1 0.2125 0.710833 0.370118
1283 1 0.385663 0.655604 0.45725
973 1 0.789206 0.654182 0.349554
1707 1 0.253855 0.700932 0.326336
192 1 0.736928 0.745414 0.30301
545 1 0.13501 0.76881 0.346155
504 1 0.877157 0.753073 0.376546
1306 1 0.0112319 0.821308 0.350338
461 1 0.16106 0.861826 0.3271
1113 1 0.222197 0.910219 0.302307
277 1 0.82438 0.913646 0.34467
790 1 0.185676 0.925858 0.306472
785 1 0.266092 0.851403 0.480338
1065 1 0.472594 0.51874 0.186042
1029 1 0.544478 0.534786 0.381983
1239 1 0.968323 0.506766 0.354233
1933 1 0.236406 0.519232 0.360813
1256 1 0.499181 0.577568 0.368547
1801 1 0.950204 0.54064 0.405826
484 1 0.486046 0.57772 0.369823
1929 1 0.288612 0.61883 0.339496
693 1 0.703202 0.584042 0.363268
800 1 0.565052 0.643401 0.374358
1493 1 0.71078 0.639682 0.360115
1080 1 0.881828 0.582278 0.383694
1059 1 0.637904 0.697621 0.339785
2046 1 0.910965 0.676763 0.357381
409 1 0.270655 0.739078 0.359245
1259 1 0.0206659 0.732246 0.381481
73 1 0.117457 0.6921 0.310435
530 1 0.64382 0.755661 0.382969
1268 1 0.31327 0.805654 0.357728
427 1 0.416018 0.890223 0.344209
1210 1 0.802252 0.840707 0.348658
1723 1 0.0601626 0.871145 0.321791
1119 1 0.407039 0.889842 0.353278
368 1 0.895307 0.871855 0.364765
1414 1 0.105683 0.855661 0.405815
140 1 0.166356 0.915941 0.312853
112 1 0.448274 0.888003 0.338058
692 1 0.892999 0.935441 0.361236
1523 1 0.242251 0.544992 0.393291
877 1 0.771553 0.587195 0.423526
394 1 0.873101 0.514208 0.418603
203 1 0.307729 0.591113 0.285323
893 1 0.0107724 0.604564 0.296813
477 1 0.911014 0.658462 0.337776
824 1 0.390329 0.650649 0.328025
2021 1 0.763999 0.668452 0.36599
449 1 0.487014 0.822682 0.38771
485 1 0.352015 0.866882 0.409154
1607 1 0.294391 0.864108 0.349521
1715 1 0.349512 0.830953 0.394018
72 1 0.0534088 0.695822 0.316166
1558 1 0.97799 0.833202 0.350637
1926 1 0.0683448 0.901431 0.338329
996 1 0.636343 0.813591 0.462757
597 1 0.547395 0.892924 0.476731
769 1 0.187383 0.900843 0.304173
160 1 0.991917 0.913654 0.425048
314 1 0.665259 0.907128 0.396605
1632 1 0.138559 0.54655 0.188619
108 1 0.89154 0.679779 0.0406916
514 1 0.971687 0.552152 0.440025
533 1 0.954116 0.630922 0.395121
116 1 0.115358 0.637524 0.448448
7 1 0.555342 0.576045 0.450779
598 1 0.664616 0.632031 0.36414
509 1 0.697638 0.671177 0.413727
1943 1 0.37377 0.695006 0.397951
2045 1 0.640315 0.719131 0.455811
395 1 0.401454 0.72111 0.336624
783 1 0.287995 0.774776 0.410252
302 1 0.990286 0.812754 0.386584
1129 1 0.769861 0.856557 0.394904
1331 1 0.892259 0.919901 0.476325
1481 1 0.197857 0.909938 0.394536
1240 1 0.246031 0.912958 0.43102
591 1 0.501056 0.933551 0.325603
732 1 0.0312961 0.908072 0.376054
1653 1 0.198869 0.89912 0.392994
377 1 0.318532 0.927231 0.364617
1963 1 0.658507 0.932144 0.438291
2039 1 0.581222 0.785709 0.455989
1366 1 0.364903 0.533842 0.409192
1660 1 0.800949 0.546312 0.466204
1003 1 0.00419197 0.518711 0.193897
775 1 0.968804 0.542193 0.46301
1244 1 0.116991 0.584477 0.443654
1407 1 0.0676388 0.568695 0.367893
178 1 0.982851 0.594368 0.421692
92 1 0.8802 0.685691 0.47298
1582 1 0.529908 0.691664 0.427994
164 1 0.761256 0.717336 0.459897
132 1 0.0733467 0.751465 0.416281
856 1 0.165658 0.785485 0.453989
767 1 0.642955 0.768547 0.409917
1448 1 0.603766 0.819385 0.475297
1484 1 0.412255 0.803472 0.377585
226 1 0.925174 0.917287 0.403433
25 1 0.360958 0.920404 0.433804
310 1 0.457355 0.842656 0.404861
378 1 0.531629 0.932801 0.412367
131 1 0.864356 0.938941 0.415961
318 1 0.910581 0.917717 0.41807
1682 1 0.165657 0.952934 0.39969
902 1 0.646426 0.566866 0.451811
1907 1 0.304811 0.573062 0.439452
802 1 0.0287783 0.542094 0.391211
2018 1 0.108418 0.647896 0.463529
695 1 0.219377 0.583163 0.422509
559 1 0.23613 0.646326 0.405562
1772 1 0.778462 0.673442 0.461285
685 1 0.781106 0.728942 0.434072
1151 1 0.806529 0.881962 0.00508354
1733 1 0.0770289 0.749037 0.442777
1150 1 0.502379 0.835605 0.46282
430 1 0.269414 0.516128 0.424342
1451 1 0.928469 0.837058 0.466511
852 1 0.45468 0.910679 0.451152
1993 1 0.599275 0.939742 0.380679
773 1 0.383696 0.901812 0.406724
238 1 0.197607 0.769955 0.496154
976 1 0.34021 0.516502 0.310035
2001 1 0.581935 0.960232 0.456144
727 1 0.356339 0.70896 0.480137
1882 1 0.985732 0.690125 0.420957
296 1 0.149253 0.718588 0.44853
1495 1 0.843001 0.747177 0.475817
123 1 0.493999 0.754272 0.490175
1041 1 0.804825 0.731042 0.45726
1039 1 0.0549982 0.913769 0.449528
1639 1 0.420167 0.916587 0.448865
93 1 0.954028 0.837856 0.417858
977 1 0.0945381 0.819373 0.490937
1999 1 0.390135 0.815188 0.475808
1871 1 0.985873 0.902752 0.463043
570 1 0.996511 0.902953 0.456206
1521 1 0.678478 0.987345 0.176349
1061 1 0.745117 0.94876 0.458637
1231 1 0.0914034 0.62202 0.475152
1534 1 0.422304 0.59383 0.382522
1103 1 0.0734896 0.602104 0.474839
744 1 0.914805 0.504452 0.188962
989 1 0.283919 0.627666 0.448429
1581 1 0.916043 0.758091 0.440527
1155 1 0.486545 0.697402 0.457322
426 1 0.695028 0.706587 0.439454
1867 1 0.508851 0.740737 0.416463
488 1 0.98789 0.50143 0.175928
473 1 0.737068 0.921985 0.489404
189 1 0.188713 0.964042 0.424449
280 1 0.756571 0.951207 0.417289
901 1 0.757113 0.928291 0.460604
2019 1 0.509232 0.582389 0.496862
1485 1 0.992445 0.564484 0.487976
677 1 0.178805 0.719869 0.478673
1361 1 0.828347 0.5467 0.272833
608 1 0.215501 0.746667 0.483093
1378 1 0.829383 0.696837 0.488203
1728 1 0.487662 0.786814 0.450371
1018 1 0.420303 0.782214 0.476529
897 1 0.443592 0.818849 0.439573
258 1 0.70162 0.525922 0.228028
1168 1 0.291944 0.968258 0.0709369
1516 1 0.792098 0.948866 0.418808
451 1 0.421225 0.565919 0.419038
1854 1 0.926339 0.54398 0.167303
1099 1 0.940833 0.517441 0.323651
75 1 0.680771 0.660093 0.0200762
1146 1 0.899751 0.985088 0.0540562
1936 1 0.991212 0.505233 0.190117
810 1 0.850621 0.726617 0.00240783
1762 1 0.714627 0.664142 0.492985
628 1 0.689287 0.543302 0.530631
646 1 0.861694 0.504392 0.526557
209 1 0.992263 0.96994 0.60648
904 1 0.105286 0.570442 0.506777
1006 1 0.444042 0.508391 0.50284
60 1 0.955932 0.605817 0.513682
925 1 0.179712 0.575795 0.512814
1590 1 0.404149 0.982844 0.776283
15 1 0.0913621 0.694942 0.545537
1596 1 0.0727799 0.849189 0.946299
139 1 0.758182 0.591397 0.504417
1542 1 0.921058 0.637359 0.508258
1288 1 0.726729 0.542596 0.890548
1391 1 0.377956 0.711169 0.521009
142 1 0.295702 0.521051 0.918459
930 1 0.511365 0.749097 0.517047
104 1 0.879553 0.985112 0.923922
1237 1 0.799769 0.91479 0.94989
1574 1 0.483828 0.652584 0.543247
1637 1 0.449388 0.511215 0.529396
1464 1 0.699567 0.902485 0.962901
606 1 0.355924 0.940895 0.524697
1546 1 0.0584225 0.954243 0.599555
1594 1 0.932719 0.897586 0.555238
343 1 0.437865 0.806366 0.984519
305 1 0.170983 0.757846 0.571698
814 1 0.199829 0.72704 0.502608
1337 1 0.466266 0.995003 0.933847
1068 1 0.504527 0.996609 0.628527
1971 1 0.623246 0.54514 0.568975
191 1 0.81702 0.580614 0.542112
1972 1 0.68948 0.669519 0.576208
1454 1 0.718525 0.623501 0.520664
1749 1 0.0258494 0.7943 0.559543
328 1 0.485363 0.706118 0.605319
1313 1 0.730683 0.703405 0.568728
125 1 0.106983 0.949816 0.692741
1674 1 0.76003 0.84633 0.514337
1124 1 0.633349 0.865453 0.937758
1807 1 0.743379 0.85435 0.572406
205 1 0.898146 0.831422 0.564423
242 1 0.627992 0.579728 0.743649
1745 1 0.345617 0.790528 0.504608
44 1 0.165639 0.771174 0.535647
1267 1 0.869231 0.876771 0.535522
631 1 0.0964476 0.89445 0.512736
153 1 0.424198 0.941128 0.514672
1115 1 0.307534 0.981608 0.584518
801 1 0.937426 0.998186 0.60564
1548 1 0.104345 0.527507 0.742696
1437 1 0.320851 0.549561 0.532867
1831 1 0.69668 0.527682 0.582086
1623 1 0.448617 0.577396 0.613803
271 1 0.528637 0.755086 0.985415
1866 1 0.37426 0.574981 0.556714
758 1 0.47531 0.595275 0.559114
1685 1 0.733885 0.719526 0.516767
508 1 0.431426 0.708286 0.550441
444 1 0.222091 0.645262 0.583028
1255 1 0.211702 0.73067 0.509153
1353 1 0.988109 0.723782 0.523199
290 1 0.97048 0.771501 0.51556
1619 1 0.814267 0.838274 0.574722
1014 1 0.302058 0.903456 0.593603
1966 1 0.723383 0.88578 0.585539
14 1 0.871667 0.85267 0.502781
781 1 0.563302 0.98489 0.54046
434 1 0.676303 0.944548 0.598608
538 1 0.688817 0.952336 0.657073
351 1 0.950769 0.527862 0.561373
237 1 0.35265 0.539404 0.522699
1532 1 0.613065 0.549362 0.558451
1754 1 0.589037 0.526414 0.573887
403 1 0.867429 0.647717 0.553837
1792 1 0.431324 0.658663 0.545969
596 1 0.396388 0.990586 0.962836
848 1 0.76501 0.62228 0.557268
13 1 0.20575 0.668645 0.524593
276 1 0.819861 0.680876 0.51368
815 1 0.878961 0.773903 0.569554
1153 1 0.489764 0.733075 0.532186
1948 1 0.112201 0.759599 0.564473
862 1 0.939325 0.515575 0.708524
1293 1 0.818409 0.855896 0.569079
1965 1 0.641544 0.923227 0.542538
1962 1 0.933083 0.866137 0.548082
1748 1 0.402726 0.936644 0.588388
1388 1 0.10593 0.966273 0.649529
2025 1 0.0322547 0.560819 0.591185
89 1 0.802152 0.528108 0.594406
466 1 0.41459 0.545113 0.58178
1123 1 0.686897 0.55495 0.549911
2003 1 0.887476 0.574353 0.632177
511 1 0.824899 0.588469 0.536401
1479 1 0.448612 0.54521 0.551253
617 1 0.571742 0.632701 0.574728
2034 1 0.28695 0.636333 0.593896
1202 1 0.905524 0.720037 0.54212
274 1 0.596488 0.815246 0.601676
1646 1 0.642528 0.761393 0.632638
1648 1 0.510171 0.783961 0.54727
1117 1 0.737452 0.765338 0.587656
1533 1 0.347357 0.747603 0.583576
452 1 0.598017 0.862336 0.597822
1579 1 0.658598 0.875263 0.689368
903 1 0.784854 0.898064 0.582034
1809 1 0.393816 0.937369 0.59065
634 1 0.244908 0.943303 0.925175
679 1 0.588895 0.627022 0.63953
247 1 0.646753 0.549895 0.547897
1289 1 0.628176 0.630128 0.568739
11 1 0.229595 0.674227 0.64081
1467 1 0.258336 0.610153 0.628363
315 1 0.654308 0.651628 0.605093
952 1 0.676681 0.704659 0.621354
1189 1 0.762155 0.705065 0.599185
1655 1 0.825396 0.999134 0.791383
345 1 0.482816 0.722411 0.510875
916 1 0.472063 0.736634 0.581911
687 1 0.208068 0.940257 0.606397
1837 1 0.517479 0.877858 0.540205
813 1 0.944575 0.855588 0.623699
1896 1 0.188311 0.890574 0.600102
1290 1 0.68806 0.957152 0.593061
406 1 0.461828 0.848914 0.516065
763 1 0.642308 0.512403 0.594131
1517 1 0.822333 0.600048 0.593259
283 1 0.760106 0.561699 0.641556
784 1 0.568572 0.630161 0.59585
724 1 0.138551 0.589814 0.631008
76 1 0.98379 0.661725 0.656261
1077 1 0.0438549 0.653049 0.602601
676 1 0.204069 0.718471 0.629203
1719 1 0.0704909 0.685716 0.637377
95 1 0.99693 0.703366 0.643343
1898 1 0.885695 0.713356 0.654256
1941 1 0.0804602 0.766898 0.610077
1850 1 0.0017422 0.746592 0.60741
1204 1 0.854558 0.828624 0.683751
1341 1 0.752798 0.848569 0.636682
99 1 0.198487 0.889885 0.591512
1892 1 0.416889 0.875773 0.592523
397 1 0.103274 0.944862 0.632901
442 1 0.177462 0.957171 0.647973
1046 1 0.250962 0.917309 0.533212
32 1 0.793382 0.940258 0.632331
1346 1 0.232904 0.540184 0.804933
497 1 0.924964 0.535735 0.627772
967 1 0.0945273 0.651661 0.685979
1488 1 0.389266 0.596099 0.651016
1575 1 0.133975 0.622564 0.63152
289 1 0.326581 0.649514 0.619613
1766 1 0.337291 0.659448 0.619512
285 1 0.575297 0.663897 0.66324
1166 1 0.314844 0.62321 0.611958
817 1 0.410975 0.625088 0.590783
1620 1 0.0274588 0.611321 0.582381
1958 1 0.18962 0.725944 0.640773
1630 1 0.206799 0.660249 0.630172
1088 1 0.782652 0.743062 0.645273
833 1 0.465902 0.761298 0.687552
1668 1 0.790406 0.853003 0.609156
1310 1 0.647861 0.80921 0.648396
113 1 0.646577 0.829344 0.613512
737 1 0.87156 0.791516 0.621303
437 1 0.147031 0.948945 0.723321
1916 1 0.320558 0.533097 0.718028
1374 1 0.814907 0.501633 0.603738
2020 1 0.507851 0.507696 0.941989
1583 1 0.273231 0.518564 0.624435
179 1 0.794414 0.662792 0.670322
1071 1 0.880407 0.671756 0.713277
53 1 0.935207 0.708866 0.619916
985 1 0.494754 0.809187 0.672691
471 1 0.650234 0.736486 0.7123
803 1 0.0652573 0.76219 0.697392
1200 1 0.423165 0.825087 0.657297
1205 1 0.808619 0.796172 0.745945
1808 1 0.292469 0.779559 0.579873
1193 1 0.470901 0.784741 0.649181
1181 1 0.961275 0.799214 0.655255
506 1 0.439163 0.821749 0.678236
1775 1 0.247496 0.903741 0.691199
256 1 0.744718 0.920975 0.638714
231 1 0.765579 0.984181 0.704401
1137 1 0.833403 0.905962 0.728948
1196 1 0.241988 0.932419 0.614571
1803 1 0.795531 0.914419 0.999518
933 1 0.819639 0.944164 0.72704
841 1 0.134976 0.546543 0.634209
1535 1 0.806728 0.510398 0.651501
1158 1 0.839553 0.544231 0.693276
975 1 0.878239 0.610717 0.696481
1025 1 0.743844 0.536093 0.663312
1160 1 0.577611 0.545656 0.710656
2033 1 0.572562 0.537399 0.713732
465 1 0.296551 0.625942 0.724935
222 1 0.920391 0.641411 0.698407
1144 1 0.548279 0.7728 0.659058
1578 1 0.599596 0.771691 0.694677
1568 1 0.342012 0.72937 0.697334
1848 1 0.964643 0.741013 0.735293
1116 1 0.293345 0.85542 0.598637
1390 1 0.275284 0.893257 0.685746
51 1 0.323925 0.9706 0.681791
1787 1 0.0957967 0.595778 0.729764
768 1 0.664137 0.667225 0.705093
584 1 0.0848339 0.741975 0.703586
537 1 0.15451 0.669928 0.696141
585 1 0.498162 0.679659 0.673356
1709 1 0.310915 0.661236 0.749233
1419 1 0.708217 0.837472 0.654489
54 1 0.139705 0.860568 0.704306
1995 1 0.839411 0.87715 0.676833
1872 1 0.889043 0.917446 0.662001
439 1 0.373322 0.796499 0.916858
1902 1 0.782995 0.960144 0.760369
71 1 0.876593 0.974626 0.690108
1755 1 0.821268 0.962193 0.927485
70 1 0.447018 0.544489 0.676549
80 1 0.0757249 0.609086 0.732759
756 1 0.781851 0.630503 0.739441
1086 1 0.0473228 0.659423 0.698454
190 1 0.263606 0.680847 0.720563
1986 1 0.414652 0.625948 0.704445
1002 1 0.985591 0.707637 0.670924
196 1 0.900833 0.710855 0.745858
1270 1 0.976863 0.773957 0.713998
1900 1 0.0675744 0.725012 0.731897
84 1 0.91136 0.726299 0.808214
735 1 0.725328 0.78918 0.737658
1561 1 0.83468 0.794933 0.701266
1063 1 0.928316 0.82214 0.68951
1567 1 0.920593 0.814606 0.689191
1946 1 0.887216 0.859409 0.742966
1005 1 0.0514318 0.84708 0.680264
1870 1 0.47611 0.918432 0.679699
842 1 0.0301057 0.927433 0.730358
2043 1 0.562042 0.922465 0.651132
1303 1 0.603809 0.517354 0.705557
914 1 0.538672 0.589958 0.787207
1873 1 0.118894 0.631411 0.713046
47 1 0.218423 0.655123 0.68638
1734 1 0.326192 0.704318 0.778138
503 1 0.672409 0.685409 0.749825
970 1 0.494088 0.676776 0.754902
288 1 0.276343 0.706678 0.766886
1076 1 0.945677 0.780231 0.633487
1737 1 0.235547 0.76548 0.698675
1107 1 0.304201 0.76888 0.684707
678 1 0.649801 0.777508 0.729019
396 1 0.697137 0.800546 0.681279
1430 1 0.928857 0.812752 0.681314
1990 1 0.030516 0.765739 0.748405
1822 1 0.713871 0.785987 0.690312
1161 1 0.761752 0.842975 0.719238
1352 1 0.907995 0.829905 0.789813
41 1 0.442658 0.915178 0.718001
1876 1 0.469583 0.90234 0.77817
1461 1 0.813687 0.968531 0.77121
613 1 0.903167 0.920806 0.723212
135 1 0.0147076 0.980315 0.56992
1526 1 0.105702 0.531941 0.760276
357 1 0.296883 0.57833 0.731072
1487 1 0.392223 0.614331 0.70856
1861 1 0.204699 0.573611 0.784923
931 1 0.680596 0.629378 0.772974
1985 1 0.861484 0.635178 0.747888
10 1 0.858114 0.653444 0.730716
130 1 0.518161 0.723978 0.775248
910 1 0.800351 0.640155 0.811878
291 1 0.851305 0.663175 0.766382
1354 1 0.113312 0.686823 0.687655
659 1 0.718367 0.737814 0.765631
1988 1 0.189425 0.79291 0.731983
360 1 0.310948 0.688485 0.747197
325 1 0.166161 0.856286 0.727976
641 1 0.604494 0.829859 0.749013
1233 1 0.935792 0.954052 0.760446
8 1 0.54655 0.872443 0.716955
415 1 0.428357 0.904939 0.806753
2022 1 0.716354 0.594189 0.822219
322 1 0.383295 0.615873 0.777996
1826 1 0.594748 0.631519 0.746967
1891 1 0.220856 0.543974 0.758545
1611 1 0.151528 0.596596 0.688301
1939 1 0.963485 0.622599 0.775149
373 1 0.182645 0.659514 0.824377
482 1 0.447385 0.686987 0.750134
713 1 0.884731 0.589955 0.78936
1296 1 0.634016 0.752279 0.783443
1170 1 0.867276 0.846887 0.689512
1344 1 0.255952 0.814642 0.794679
1921 1 0.255182 0.812314 0.7839
898 1 0.76054 0.77751 0.757884
207 1 0.434695 0.829292 0.758265
292 1 0.281475 0.842797 0.73072
1089 1 0.207088 0.908712 0.774942
126 1 0.71576 0.843988 0.797576
1704 1 0.887449 0.855517 0.76175
480 1 0.0848912 0.939516 0.780707
516 1 0.0878432 0.880429 0.755972
1104 1 0.206666 0.890807 0.777685
964 1 0.50608 0.905886 0.740729
1767 1 0.0703242 0.952996 0.754631
491 1 0.0621233 0.975901 0.810521
569 1 0.311448 0.884299 0.820846
1203 1 0.363618 0.955804 0.779471
951 1 0.531579 0.956019 0.780495
726 1 0.357224 0.980428 0.75654
1090 1 0.236756 0.507521 0.806651
1094 1 0.846856 0.551357 0.746106
1605 1 0.583502 0.589567 0.81884
1112 1 0.655577 0.686183 0.793133
770 1 0.735268 0.60691 0.79595
1750 1 0.412997 0.634353 0.763507
1934 1 0.555809 0.661964 0.680722
1726 1 0.0905911 0.696909 0.762183
1186 1 0.614581 0.758601 0.745247
974 1 0.333715 0.79442 0.804411
776 1 0.443669 0.756423 0.783051
1677 1 0.886436 0.810383 0.803736
652 1 0.916896 0.913266 0.816106
686 1 0.811927 0.502053 0.787046
337 1 0.0596955 0.627737 0.755136
1326 1 0.448464 0.681031 0.838367
1586 1 0.631798 0.686487 0.852058
1980 1 0.601792 0.713065 0.822011
236 1 0.736509 0.827175 0.84509
1182 1 0.908776 0.772573 0.844467
626 1 0.939148 0.785678 0.776798
1824 1 0.131999 0.811025 0.837942
67 1 0.21542 0.863063 0.779013
165 1 0.768505 0.820854 0.800742
718 1 0.158202 0.83547 0.81943
1027 1 0.785942 0.849462 0.802878
754 1 0.814672 0.860876 0.791338
1989 1 0.198 0.931657 0.7959
293 1 0.815313 0.869983 0.78112
954 1 0.219526 0.968281 0.811963
433 1 0.114371 0.939207 0.814651
1739 1 0.435394 0.968993 0.876855
1347 1 0.675821 0.972842 0.903958
1626 1 0.693484 0.927671 0.733722
1700 1 0.445918 0.615811 0.830804
1192 1 0.0634891 0.575104 0.853734
2023 1 0.5544 0.507043 0.830091
1110 1 0.714838 0.643238 0.791595
1345 1 0.872385 0.562326 0.870844
299 1 0.142253 0.648964 0.804639
747 1 0.63614 0.6611 0.830819
621 1 0.651922 0.723483 0.861054
1179 1 0.554237 0.796633 0.897012
635 1 0.195472 0.898034 0.886073
120 1 0.139724 0.832481 0.840409
671 1 0.760279 0.854854 0.802126
799 1 0.291375 0.829723 0.813965
1118 1 0.33882 0.949493 0.848807
1658 1 0.72528 0.982126 0.78746
927 1 0.728113 0.92741 0.843409
1188 1 0.739711 0.921556 0.817968
425 1 0.692465 0.946671 0.838224
1847 1 0.764603 0.979117 0.790602
1770 1 0.297557 0.53385 0.76497
278 1 0.310152 0.62917 0.867902
929 1 0.294362 0.525842 0.813642
666 1 0.572195 0.552766 0.834601
923 1 0.315256 0.549571 0.810785
1515 1 0.958743 0.663508 0.833349
144 1 0.505444 0.822767 0.883047
1085 1 0.845545 0.95364 0.867332
375 1 0.22789 0.86012 0.884937
1287 1 0.647538 0.892763 0.824018
453 1 0.00171502 0.901065 0.837667
1666 1 0.901913 0.985244 0.899785
1400 1 0.114495 0.558412 0.870106
1998 1 0.274621 0.536526 0.904601
1667 1 0.842023 0.59622 0.867374
891 1 0.130077 0.589425 0.877714
1997 1 0.736884 0.672303 0.913987
311 1 0.959675 0.723404 0.810484
1079 1 0.265143 0.586512 0.912541
1131 1 0.0612674 0.629905 0.894371
175 1 0.955374 0.725957 0.848668
808 1 0.0691245 0.747606 0.869298
2000 1 0.564592 0.714256 0.90213
1475 1 0.0679242 0.795376 0.838761
1417 1 0.658826 0.889045 0.834742
317 1 0.396751 0.84128 0.876744
1037 1 0.584098 0.974519 0.915796
1053 1 0.118486 0.502381 0.846267
1459 1 0.896244 0.52564 0.9043
1405 1 0.650924 0.550228 0.864219
551 1 0.134233 0.610122 0.899852
1425 1 0.129416 0.637305 0.870366
1305 1 0.222063 0.651526 0.874568
658 1 0.737923 0.75407 0.83789
30 1 0.758921 0.762919 0.850697
336 1 0.888256 0.794336 0.821492
733 1 0.428362 0.750147 0.926037
121 1 0.921093 0.970513 0.925529
1564 1 0.736861 0.982196 0.929859
1229 1 0.39367 0.972223 0.984448
1877 1 0.848554 0.997725 0.852051
1373 1 0.0450341 0.581899 0.853516
216 1 0.416222 0.513948 0.812892
1162 1 0.577984 0.964821 0.960621
57 1 0.197824 0.604637 0.986466
1392 1 0.735156 0.596472 0.86102
1676 1 0.0968763 0.727422 0.932168
248 1 0.30011 0.664491 0.84506
1780 1 0.79508 0.69622 0.925801
2028 1 0.134073 0.682524 0.910175
169 1 0.219658 0.711828 0.860224
643 1 0.275096 0.652525 0.845233
994 1 0.597397 0.712741 0.880504
1906 1 0.876481 0.773356 0.913939
1386 1 0.96837 0.765555 0.85299
1235 1 0.721012 0.80264 0.967256
691 1 0.620324 0.738288 0.88834
924 1 0.831114 0.809347 0.880776
1001 1 0.214434 0.773244 0.941449
796 1 0.622982 0.817455 0.87654
1434 1 0.208379 0.79722 0.926283
1624 1 0.271226 0.776126 0.930524
1294 1 0.420238 0.81239 0.883965
798 1 0.541402 0.783315 0.890314
457 1 0.611031 0.857719 0.913815
909 1 0.0660296 0.967318 0.953308
1973 1 0.110999 0.934504 0.871082
1886 1 0.939482 0.897676 0.87917
774 1 0.136663 0.992298 0.882735
978 1 0.638427 0.998301 0.938825
592 1 0.56642 0.535228 0.939931
529 1 0.265972 0.542918 0.832183
1499 1 0.72635 0.617335 0.934632
1559 1 0.155674 0.66261 0.902904
1529 1 0.483675 0.667535 0.927398
1979 1 0.059843 0.749629 0.945806
1447 1 0.387179 0.686652 0.946643
83 1 0.572135 0.713041 0.92073
1627 1 0.861177 0.735427 0.929147
2 1 0.29402 0.630678 0.890896
712 1 0.098622 0.764455 0.900011
1397 1 0.413638 0.778521 0.942583
1008 1 0.341083 0.825963 0.927994
1100 1 0.372335 0.890505 0.92175
496 1 0.0708818 0.955088 0.952972
498 1 0.376036 0.968618 0.890534
525 1 0.840075 0.975419 0.990507
1453 1 0.0447562 0.533326 0.937221
1332 1 0.964637 0.595484 0.936211
1375 1 0.609874 0.583526 0.910237
1382 1 0.163153 0.646192 0.914925
398 1 0.823252 0.653838 0.911312
1284 1 0.644263 0.588362 0.932086
1603 1 0.0615914 0.702533 0.948642
162 1 0.330656 0.699552 0.963901
599 1 0.871103 0.747874 0.926273
1539 1 0.556188 0.767333 0.913432
664 1 0.0386701 0.723319 0.960702
1769 1 0.884208 0.805958 0.863931
168 1 0.252371 0.878593 0.924177
575 1 0.489014 0.887625 0.935618
518 1 0.73584 0.877858 0.913567
623 1 0.8251 0.884358 0.989746
1930 1 0.965023 0.963628 0.920039
334 1 0.12084 0.916786 0.899463
764 1 0.666027 0.573278 0.968801
1765 1 0.430317 0.616427 0.956738
208 1 0.663089 0.629058 0.923872
1887 1 0.813693 0.659877 0.975945
127 1 0.179897 0.688066 0.965967
1441 1 0.291171 0.806991 0.859709
1191 1 0.723855 0.821427 0.968385
560 1 0.11405 0.788211 0.890526
958 1 0.400818 0.833821 0.932744
1030 1 0.543553 0.927124 0.972781
1741 1 0.377823 0.972716 0.983278
2037 1 0.300342 0.954417 0.918637
1209 1 0.633808 0.915905 0.98624
487 1 0.909894 0.993661 0.934163
1915 1 0.346723 0.984716 0.921997
1509 1 0.370996 0.540329 0.956968
232 1 0.0523353 0.507637 0.972957
1057 1 0.295779 0.556264 0.958336
832 1 0.596622 0.614837 0.999698
2031 1 0.704328 0.553131 0.965334
401 1 0.929283 0.659071 0.993627
1312 1 0.949719 0.601223 0.94462
1556 1 0.409111 0.523768 0.998617
846 1 0.483178 0.616043 0.96141
806 1 0.75192 0.67811 0.970365
2041 1 0.750242 0.673313 0.948205
468 1 0.151955 0.728421 0.982011
959 1 0.513389 0.715269 0.961729
1511 1 0.64728 0.997659 0.894944
431 1 0.359149 0.767133 0.958433
198 1 0.609018 0.743578 0.525363
707 1 0.953092 0.850033 0.916354
176 1 0.522504 0.829403 0.970122
1222 1 0.0676763 0.838859 0.948784
1279 1 0.264942 0.945292 0.980714
835 1 0.243284 0.953579 0.985459
581 1 0.0783269 0.698453 0.974119
1684 1 0.954546 0.516911 0.914817
245 1 0.021699 0.978418 0.992226
1324 1 0.0520006 0.890045 0.956172
1264 1 0.385325 0.968047 0.928348
1786 1 0.786085 0.941099 0.945154
742 1 0.570674 0.928593 0.945939
69 1 0.74709 0.913717 0.934488
905 1 0.857769 0.635647 0.979345
1216 1 0.440392 0.996929 0.549304
269 1 0.444318 0.529457 0.99644
1606 1 0.00129256 0.96692 0.910273
1357 1 0.684549 0.651331 0.929788
1857 1 0.769043 0.666827 0.973146
324 1 0.555281 0.988241 0.503762
1199 1 0.518239 0.565255 0.998393
1135 1 0.140052 0.524237 0.954721
474 1 0.287116 0.517811 0.554171
1725 1 0.527615 0.661354 0.504101
1043 1 0.227222 0.744427 0.995598
445 1 0.211457 0.958931 0.982638
1349 1 0.49705 0.647265 0.929237
892 1 0.548351 0.63047 0.959467
1779 1 0.504393 0.670151 0.993167
610 1 0.55537 0.705508 0.950178
319 1 0.931961 0.991035 0.948047
1513 1 0.484947 0.994851 0.765361
523 1 0.90907 0.7286 0.923718
535 1 0.157748 0.753473 0.509891
750 1 0.72218 0.876236 0.501912
945 1 0.453355 0.506825 0.821202
1938 1 0.415013 0.508012 0.927502
1358 1 0.839479 0.501482 0.641642
1794 1 0.405633 0.513045 0.999109
1169 1 0.914743 0.500134 0.751362
| [
"[email protected]"
] | |
e5477debe5cc5f0dcbcfead3b038e74c8c6f763b | 48a36fddd9e7c584a9792533c11601f0e4619885 | /torchvision/edgeailite/xnn/quantize/quant_graph_module.py | 6916dea1e47a628f31a7df3daac1ff6868903b91 | [
"MIT",
"BSD-2-Clause-Views",
"BSD-3-Clause"
] | permissive | supermy00/edgeai-torchvision | 8c152e796590ae5f6ae4f6948cbfb132409506a0 | 29b02c32b26ea8c0c319a376ab8a9a1b9ada25b5 | refs/heads/master | 2023-09-02T02:36:47.068701 | 2021-11-17T10:08:17 | 2021-11-17T10:08:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,532 | py | #################################################################################
# Copyright (c) 2018-2021, Texas Instruments Incorporated - http://www.ti.com
# All Rights Reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# * Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#################################################################################
import warnings
import torch
import copy
from .. import utils
from .. import layers
from ..utils import AttrDict as Dict
from .hooked_module import *
class QuantGraphModule(HookedModule):
def __init__(self, module):
super().__init__()
self.module = module
self.init_qstate()
self.num_batches_tracked = -1
self.iter_in_epoch = -1
self.epoch = -1
# these are the blocks whose output we quantize for sure.
# outputs of other clocks such as Conv2d, ConvTranspose2d, BatchNorm2d, Lindear are quantized conditionally
self.quantize_out_blocks = (torch.nn.ReLU, torch.nn.ReLU6, torch.nn.Hardtanh, layers.QAct, layers.PAct2,
layers.AddBlock, layers.CatBlock, layers.MultBlock, torch.nn.MaxPool2d, torch.nn.AvgPool2d)
# this block is not quantized. Also if the next block is this, current block is not quantized
self.ignore_out_blocks = (layers.NoQAct,torch.nn.Dropout2d)
# quantize the input to a block (under a certain conditions of the input was not already quantized)
self.quantize_in = True
# whether to quantize the output prediction module or not
self.quantize_out = True
# TBD: is this required
# # if the original module has load_weights, add it to the quant module also
# if hasattr(module, 'load_weights'):
# def load_weights(m, state_dict, change_names_dict=None):
# utils.load_weights(m.module, state_dict, change_names_dict=change_names_dict)
# #
# self.load_weights = types.MethodType(load_weights, self)
# #
def init_qstate(self):
if not hasattr(self, '__qstate__'):
self.__qstate__ = Dict()
#
if 'qparams' not in self.get_qstate():
self.get_qstate().qparams = Dict()
#
if 'qparams_prev' not in self.get_qstate():
self.get_qstate().qparams_prev = Dict()
#
if 'analyzed_graph' not in self.get_qstate():
self.get_qstate().analyzed_graph = False
#
def clear_qstate(self):
self.__qstate__ = Dict()
self.init_qstate()
def get_qstate(self):
return self.__qstate__
def forward(self, inputs, *args, **kwargs):
assert False, 'forward is not defined'
def update_counters(self, force_update=False):
self.iter_in_epoch += 1
if self.training or force_update:
self.num_batches_tracked += 1
if self.iter_in_epoch == 0:
self.epoch += 1.0
#
#
#
# force_update is used to increment inte counters even in non training
# used for validation in QuantTestModule
def analyze_graph(self, inputs, *args, force_update=False, merge_weights=False, clear_qstate=False, **kwargs):
with torch.no_grad():
self.init_qstate()
self.update_counters(force_update=force_update)
if (self.get_qstate().analyzed_graph == False):
# forward and analyze
self.forward_analyze_modules(inputs, *args, **kwargs)
# analyze the connections
self.analyze_connections()
self.get_qstate().analyzed_graph = True
# merge weights so that weight quantization can be done
if merge_weights:
self.merge_weights()
#
if clear_qstate:
self.clear_qstate()
#
#
#
def model_surgery_quantize(self, dummy_input, *args, **kwargs):
# lear the sates - just to be sure
self.clear_qstate()
# analyze
self.analyze_graph(dummy_input, *args, **kwargs)
# insert QAct wherever range clipping needs to be done
self.model_surgery_activations()
# since we might have added new activations, clear the sates as they may not be valid
self.clear_qstate()
# need to call analyze_graph in the derived class
#
def model_surgery_activations(self):
for module_hash, qparams in self.get_qstate().qparams.items():
module = self.get_module(module_hash)
if isinstance(module, layers.PAct2):
pass
elif qparams.quantize_out:
if utils.is_activation(module):
if isinstance(module, (torch.nn.ReLU, torch.nn.ReLU6)):
activation_q = layers.PAct2(signed=False)
elif isinstance(module, torch.nn.Hardtanh):
activation_q = layers.PAct2(clip_range=(module.min_val, module.max_val))
elif isinstance(module, layers.QAct):
activation_q = layers.PAct2(signed=None)
else:
activation_q = layers.PAct2(signed=None)
#
# replace the existing activation by PAct2
parent = utils.get_parent_module(self, module)
name = utils.get_module_name(parent, module)
activation_q.train(self.training)
setattr(parent, name, activation_q)
elif not hasattr(module, 'activation_q'):
activation_q = layers.PAct2(signed=None)
activation_q.train(self.training)
module.activation_q = activation_q
#
elif qparams.quantize_in:
if not hasattr(module, 'activation_in'):
activation_in = layers.PAct2(signed=None, range_shrink_activations=self.range_shrink_activations)
activation_in.train(self.training)
module.activation_in = activation_in
#
else:
pass
#
#
#
def train(self, mode=True):
self.iter_in_epoch = -1
super().train(mode)
################################################################
def forward_analyze_modules(self, inputs, *args, **kwargs):
'''
analyze modules needs a call hook - the call hook does not work with DataParallel.
So, do the analysis on a copy.
'''
self_copy = copy.deepcopy(self)
self_copy._forward_analyze_modules_impl(inputs, *args, **kwargs)
self.get_qstate().qparams = self_copy.get_qstate().qparams
def _forward_analyze_modules_impl(self, inputs, *args, **kwargs):
self.layer_index = -1
self.start_call()
self.add_call_hook(self, self._analyze_modules_op)
forward_analyze_method_name = kwargs.pop('forward_analyze_method', None)
if forward_analyze_method_name is not None and hasattr(self.module, forward_analyze_method_name):
# get the bound method to be used as forward
forward_analyze_method = getattr(self.module, forward_analyze_method_name)
output = forward_analyze_method(inputs, *args, **kwargs)
else:
output = self.module(inputs, *args, **kwargs)
#
self.remove_call_hook(self.module)
self.finish_call()
return output
def _analyze_modules_op(self, op, inputs, *args, **kwargs):
self.layer_index = self.layer_index + 1
inputs = utils.squeeze_list2(inputs)
self.start_node(op)
self.add_node(op, inputs)
outputs = op.__forward_orig__(inputs, *args, **kwargs)
self.add_node(op, inputs, outputs)
self.finish_node(op, inputs, outputs)
return outputs
def add_node(self, module, inputs, outputs=None):
inputs = self.format_tensors(inputs)
module_hash = self.module_hash(module)
if module_hash not in list(self.get_qstate().qparams.keys()):
self.get_qstate().qparams[module_hash] = Dict()
self.get_qstate().qparams[module_hash].qrange_w = None
self.get_qstate().qparams[module_hash].qrange_b = None
self.get_qstate().qparams[module_hash].qrange_in = []
self.get_qstate().qparams[module_hash].qrange_out = []
self.get_qstate().qparams[module_hash].is_input = (self.module is module)
self.get_qstate().qparams[module_hash].previous_node = []
self.get_qstate().qparams[module_hash].next_node = []
self.get_qstate().qparams[module_hash].current_node = module_hash
self.get_qstate().qparams[module_hash].layer_index = self.layer_index
current_node = self.get_qstate().qparams[module_hash].current_node
for inp in inputs:
if hasattr(inp, 'qparams') and hasattr(inp.qparams, 'last_node'):
prev_module_hash = inp.qparams.last_node
prev_module = self.get_module(prev_module_hash)
previous_node = self.get_qstate().qparams[module_hash].previous_node
next_node = self.get_qstate().qparams[prev_module_hash].next_node
if str(inp.qparams.last_node) not in [str(p) for p in previous_node]:
self.get_qstate().qparams[module_hash].previous_node += [inp.qparams.last_node]
if str(current_node) not in [str(n) for n in next_node]:
self.get_qstate().qparams[prev_module_hash].next_node += [current_node]
if outputs is not None:
outputs = self.format_tensors(outputs)
for opt in outputs:
if not hasattr(opt, 'qparams'):
opt.qparams = Dict()
#
# update last_node if this is not a container module
# if this is a container module, the last_node would have been already filled in in the last leaf module
if len(module._modules) == 0:
opt.qparams.last_node = current_node
#
################################################################
def analyze_connections(self):
first_module = None
for module_hash, qparams in self.get_qstate().qparams.items():
module = self.get_module(module_hash)
if utils.is_conv_deconv_linear(module) or utils.is_normalization(module) or utils.is_activation(module):
first_module = module if first_module is None else first_module
#
#
for module_hash, qparams in self.get_qstate().qparams.items():
module = self.get_module(module_hash)
is_first_module = (first_module is module)
self._analyse_connections_op(module_hash, module, qparams, is_first_module)
#
last_quantize_layer_index = -1
for module_hash, qparams in self.get_qstate().qparams.items():
if self.get_qstate().qparams[module_hash].layer_index > last_quantize_layer_index and \
self.get_qstate().qparams[module_hash].quantize_out:
last_quantize_layer_index = self.get_qstate().qparams[module_hash].layer_index
#
#
for module_hash, qparams in self.get_qstate().qparams.items():
#module = self.get_module(module_hash)
if self.get_qstate().qparams[module_hash].layer_index == last_quantize_layer_index and \
(not self.quantize_out):
self.get_qstate().qparams[module_hash].quantize_out = False
#
#
def _analyse_connections_op(self, module_hash, module, qparams, is_first_module):
previous_modules = [self.get_module(p) for p in qparams.previous_node] if len(qparams.previous_node)>0 else []
next_modules = [self.get_module(n) for n in qparams.next_node] if len(qparams.next_node)>0 else []
quantize_out = False
if isinstance(module, self.ignore_out_blocks):
quantize_out = False
elif utils.is_activation(module):
if len(next_modules)==1 and utils.is_activation(next_modules[0]):
quantize_out = False
else:
quantize_out = True
#
elif isinstance(module, self.quantize_out_blocks):
if len(next_modules)==1 and utils.is_activation(next_modules[0]):
quantize_out = False
else:
quantize_out = True
#
elif utils.is_normalization(module):
if len(next_modules)==1 and utils.is_activation(next_modules[0]):
quantize_out = False
else:
quantize_out = True
#
elif utils.is_conv(module) or utils.is_deconv(module):
if len(next_modules)==1 and (utils.is_normalization(next_modules[0]) or utils.is_activation(next_modules[0])):
quantize_out = False
else:
quantize_out = True
#
elif utils.is_linear(module):
if len(next_modules)==1 and (utils.is_normalization(next_modules[0]) or utils.is_activation(next_modules[0])):
quantize_out = False
else:
quantize_out = True
#
# elif isinstance(module, (torch.nn.AdaptiveAvgPool2d, torch.nn.Upsample, layers.ResizeTo, torch.nn.Flatten)):
# quantize_out = True
# #
if len(qparams.previous_node) > 0:
previous_module_hash = qparams.previous_node[-1]
previous_module = self.get_module(previous_module_hash)
previous_module_qparams = self.get_qstate().qparams[previous_module_hash]
is_input_ignored = isinstance(previous_module, self.ignore_out_blocks)
is_input_quantized = previous_module_qparams.quantize_out if \
hasattr(previous_module_qparams, 'quantize_out') else False
else:
is_input_ignored = False
is_input_quantized = False
#
quantize_in = self.quantize_in and utils.is_conv_deconv_linear(module) and (not is_input_quantized) and \
(not is_input_ignored) and is_first_module
qparams.quantize_w = utils.is_conv_deconv_linear(module) # all conv/deconv layers will be quantized
qparams.quantize_b = utils.is_conv_deconv_linear(module) # all conv/deconv layers will be quantized
qparams.quantize_out = quantize_out # selectively quantize output
qparams.quantize_in = quantize_in # only top modules's input need to be quantized
multi_input_blocks = (layers.AddBlock, layers.CatBlock, torch.nn.AdaptiveAvgPool2d)
qparams.align_in = isinstance(module, multi_input_blocks) # all tensors to be made same q at the input
qparams.scale_in = 64.0 if isinstance(module, torch.nn.AdaptiveAvgPool2d) else 1.0 # additional scaleup to simulate fixed point
qparams.unquantize_out = qparams.is_input # only top modules's output need to be unquantized
qparams.is_dwconv = utils.is_dwconv(module)
qparams.next_modules = next_modules
qparams.is_first_module = is_first_module
################################################################
def merge_weights(self, make_backup=False):
assert self.get_qstate().analyzed_graph == True, 'graph must be analyzed before merge_weights()'
with torch.no_grad():
for module_hash, qparams in self.get_qstate().qparams.items():
module = self.get_module(module_hash)
self._merge_weight_op(module_hash, module, qparams, make_backup)
#
#
#
def _merge_weight_op(self, module_hash, module, qparams, make_backup):
is_conv = utils.is_conv_deconv(module)
# note: we consider merging only if there is a single next node
next_module = qparams.next_modules[0] if len(qparams.next_modules) == 1 else None
next_bn = isinstance(next_module, torch.nn.BatchNorm2d) if (next_module is not None) else None
# if the next module is a bn, appy bn merging step
if is_conv and next_bn:
conv = module
bn = next_module
# weight/bias
conv_bias = conv.bias.data if (conv.bias is not None) else 0.0
bn_weight = bn.weight.data if bn.affine else 1.0
bn_bias = bn.bias.data if bn.affine else 0.0
# merged weight and offset
merged_scale = torch.rsqrt(bn.running_var.data + bn.eps) * bn_weight
if utils.is_conv(conv):
merged_scale = merged_scale.view(-1, 1, 1, 1)
elif utils.is_deconv(conv):
merged_scale = merged_scale.view(1, -1, 1, 1)
else:
assert False, 'unable to merge convolution and BN'
#
merged_weight = conv.weight.data * merged_scale
merged_bias = (conv_bias - bn.running_mean.data) * merged_scale.view(-1) + bn_bias
# bn is set to unity
bn.running_mean.data.fill_(0.0)
bn.running_var.data.fill_(1.0 - bn.eps)
if bn.affine:
bn.weight.data.fill_(1.0)
bn.bias.data.fill_(0.0)
#
# copy merged weights to conv
conv.weight.data.copy_(merged_weight)
# copy merge bias
if conv.bias is not None:
conv.bias.data.copy_(merged_bias)
elif bn.affine:
bn.bias.data.copy_(merged_bias.data)
else:
warnings.warn('problem detected in conv+bn layer pair: either one of conv.bias or bn.affine is required for successfull calibration - preferably bn.affine')
#
#
return
################################################################
def get_qparams(self, module):
module_hash = self.module_hash(module)
return self.get_qstate().qparams[module_hash]
def get_qparams_prev(self, module):
module_hash = self.module_hash(module)
return self.get_qstate().qparams_prev[module_hash] if self.get_qstate().qparams_prev else None
def start_call(self):
self.call_count = Dict()
def finish_call(self):
self.call_count = None
def start_node(self, module):
module_name = self.module_name(module)
if module_name not in list(self.call_count.keys()):
self.call_count[module_name] = 0
#
return
def finish_node(self, module, inputs, outputs):
module_name = self.module_name(module)
self.call_count[module_name] = self.call_count[module_name] + 1
return
def module_hash(self, module):
'''
A module may be called multiple times in a model. This module has creates a unique name/hash for each call
using teh call_count. call_count needs tobe correct for this to work as expected.
call_count is kep up to date by using start_node() / finish_node() calls.
'''
module_name = self.module_name(module)
module_hash = module_name + '-call:{}'.format(self.call_count[module_name])
return module_hash
def module_name(self, module):
name = None
for n, m in self.named_modules():
if m is module:
name = n
#
#
return name
def get_module(self, module_hash):
module_name = module_hash.split('-call:')[0]
for mname, mod in self.named_modules():
if module_name == mname:
return mod
#
return None
def is_last_conv(self, module):
# implementation is not correct. disable it for the time being
return False #(module is self.last_conv_linear_module)
def format_tensors(self, inputs):
# make a list/tuple if inputs is not. if it is a double list, remove the extra one
inputs = utils.squeeze_list2(utils.make_list(inputs))
# remove lists/tuple
inputs = [ipt for ipt in inputs if utils.is_tensor(ipt)]
return inputs
def copy_qparams(self, qparams, inputs):
qparams_copy = Dict()
for module_hash, qparam_entry in qparams.items():
qparams_copy[module_hash] = Dict()
for key, value in qparam_entry.items():
# deep copy may not work in some cases, so do it conditionally
try:
qparams_copy[module_hash][key] = copy.deepcopy(value)
except Exception:
qparams_copy[module_hash][key] = value
#
#
#
return qparams_copy
| [
"a0393608@udtensorlab5"
] | a0393608@udtensorlab5 |
8aa62e38ae5fd087238b87db6f0c2c970ece3887 | ee15248e4eb2065bc55215e09f66ff35beccba3c | /glance/common/imageutils.py | 79a7277084462442c507f2465bbe4de231f1741f | [
"Apache-2.0"
] | permissive | starlingx-staging/stx-glance | 7fa03ab352886a7f073f5c913b553daa2786d1f2 | 11568729648722ffba43be9ce54e25ba02f6d87f | refs/heads/master | 2020-03-18T00:55:48.228497 | 2018-12-20T21:08:34 | 2019-01-11T15:51:58 | 134,119,801 | 0 | 6 | Apache-2.0 | 2019-01-31T15:48:42 | 2018-05-20T04:31:18 | Python | UTF-8 | Python | false | false | 6,462 | py | # Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
# Copyright (c) 2010 Citrix Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""
Helper methods to deal with images.
Adapted by WRS from Cinder (cinder/openstack/common/imageutils.py)
Note: to remove in Liberty (present in oslo_utils)
"""
import re
from oslo_utils import strutils
from glance import i18n
_ = i18n._
class QemuImgInfo(object):
BACKING_FILE_RE = re.compile((r"^(.*?)\s*\(actual\s+path\s*:"
r"\s+(.*?)\)\s*$"), re.I)
TOP_LEVEL_RE = re.compile(r"^([\w\d\s\_\-]+):(.*)$")
SIZE_RE = re.compile(r"(\d*\.?\d+)(\w+)?(\s*\(\s*(\d+)\s+bytes\s*\))?",
re.I)
def __init__(self, cmd_output=None):
details = self._parse(cmd_output or '')
self.image = details.get('image')
self.backing_file = details.get('backing_file')
self.file_format = details.get('file_format')
self.virtual_size = details.get('virtual_size')
self.cluster_size = details.get('cluster_size')
self.disk_size = details.get('disk_size')
self.snapshots = details.get('snapshot_list', [])
self.encrypted = details.get('encrypted')
def __str__(self):
lines = [
'image: %s' % self.image,
'file_format: %s' % self.file_format,
'virtual_size: %s' % self.virtual_size,
'disk_size: %s' % self.disk_size,
'cluster_size: %s' % self.cluster_size,
'backing_file: %s' % self.backing_file,
]
if self.snapshots:
lines.append("snapshots: %s" % self.snapshots)
if self.encrypted:
lines.append("encrypted: %s" % self.encrypted)
return "\n".join(lines)
def _canonicalize(self, field):
# Standardize on underscores/lc/no dash and no spaces
# since qemu seems to have mixed outputs here... and
# this format allows for better integration with python
# - i.e. for usage in kwargs and such...
field = field.lower().strip()
for c in (" ", "-"):
field = field.replace(c, '_')
return field
def _extract_bytes(self, details):
# Replace it with the byte amount
real_size = self.SIZE_RE.search(details)
if not real_size:
raise ValueError(_('Invalid input value "%s".') % details)
magnitude = real_size.group(1)
unit_of_measure = real_size.group(2)
bytes_info = real_size.group(3)
if bytes_info:
return int(real_size.group(4))
elif not unit_of_measure:
return int(magnitude)
return strutils.string_to_bytes('%s%sB' % (magnitude, unit_of_measure),
return_int=True)
def _extract_details(self, root_cmd, root_details, lines_after):
real_details = root_details
if root_cmd == 'backing_file':
# Replace it with the real backing file
backing_match = self.BACKING_FILE_RE.match(root_details)
if backing_match:
real_details = backing_match.group(2).strip()
elif root_cmd in ['virtual_size', 'cluster_size', 'disk_size']:
# Replace it with the byte amount (if we can convert it)
if root_details == 'None':
real_details = 0
else:
real_details = self._extract_bytes(root_details)
elif root_cmd == 'file_format':
real_details = real_details.strip().lower()
elif root_cmd == 'snapshot_list':
# Next line should be a header, starting with 'ID'
if not lines_after or not lines_after.pop(0).startswith("ID"):
msg = _("Snapshot list encountered but no header found!")
raise ValueError(msg)
real_details = []
# This is the sprintf pattern we will try to match
# "%-10s%-20s%7s%20s%15s"
# ID TAG VM SIZE DATE VM CLOCK (current header)
while lines_after:
line = lines_after[0]
line_pieces = line.split()
if len(line_pieces) != 6:
break
# Check against this pattern in the final position
# "%02d:%02d:%02d.%03d"
date_pieces = line_pieces[5].split(":")
if len(date_pieces) != 3:
break
lines_after.pop(0)
real_details.append({
'id': line_pieces[0],
'tag': line_pieces[1],
'vm_size': line_pieces[2],
'date': line_pieces[3],
'vm_clock': line_pieces[4] + " " + line_pieces[5],
})
return real_details
def _parse(self, cmd_output):
# Analysis done of qemu-img.c to figure out what is going on here
# Find all points start with some chars and then a ':' then a newline
# and then handle the results of those 'top level' items in a separate
# function.
#
# TODO(harlowja): newer versions might have a json output format
# we should switch to that whenever possible.
# see: http://bit.ly/XLJXDX
contents = {}
lines = [x for x in cmd_output.splitlines() if x.strip()]
while lines:
line = lines.pop(0)
top_level = self.TOP_LEVEL_RE.match(line)
if top_level:
root = self._canonicalize(top_level.group(1))
if not root:
continue
root_details = top_level.group(2).strip()
details = self._extract_details(root, root_details, lines)
contents[root] = details
return contents
| [
"[email protected]"
] | |
42c880b8e430255f66fceafeddf9a5d65ce46b9a | 280d2a598944cf24f129b64549777661edc1d2d7 | /dezero/layers.py | 0a3a05649057c9b8aaf46ad2e4d2be79a61569e9 | [
"MIT"
] | permissive | oakareahio/deep-learning-from-scratch-3 | c2df26c51df1dd2d2d11eb3045ecf7d1b822966e | 86bebace7e38dd347bbcc731ae79dd2185c47881 | refs/heads/master | 2020-09-29T13:44:30.599616 | 2019-12-10T05:53:02 | 2019-12-10T05:53:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,779 | py | import numpy as np
import dezero.functions as F
from dezero import cuda
from dezero.core import Parameter
from dezero.utils import pair
# =============================================================================
# Layer / Model
# =============================================================================
class Layer:
def __init__(self):
self._params = set()
def __setattr__(self, name, value):
if isinstance(value, (Parameter, Layer)):
self._params.add(name)
super().__setattr__(name, value)
def params(self):
for name in self._params:
obj = self.__dict__[name]
if isinstance(obj, Layer):
yield from obj.params()
else:
yield obj
def cleargrads(self):
for param in self.params():
param.cleargrad()
def to_cpu(self):
for param in self.params():
param.to_cpu()
def to_gpu(self):
for param in self.params():
param.to_gpu()
def _flatten_params(self, params_dict, parent_key=""):
for name in self._params:
obj = self.__dict__[name]
key = parent_key + '/' + name if parent_key else name
if isinstance(obj, Layer):
obj._flatten_params(params_dict, key)
else:
params_dict[key] = obj
def save_weights(self, path):
self.to_cpu()
params_dict = {}
self._flatten_params(params_dict)
array_dict = {key: param.data for key, param in params_dict.items()
if param is not None}
np.savez_compressed(path, **array_dict)
def load_weights(self, path):
npz = np.load(path)
params_dict = {}
self._flatten_params(params_dict)
for key, param in params_dict.items():
param.data = npz[key]
# =============================================================================
# Linear / Conv / EmbedID / RNN / LSTM
# =============================================================================
class Linear_simple(Layer):
def __init__(self, in_size, out_size, nobias=False):
super().__init__()
I, O = in_size, out_size
W_data = np.random.randn(I, O).astype(np.float32) * np.sqrt(1 / I)
self.W = Parameter(W_data, name='W')
if nobias:
self.b = None
else:
self.b = Parameter(np.zeros(O, dtype=np.float32), name='b')
def __call__(self, x):
y = F.linear(x, self.W, self.b)
return y
class Linear(Layer):
def __init__(self, in_size, out_size=None, nobias=False):
super().__init__()
if out_size is None:
in_size, out_size = None, in_size
self.in_size = in_size
self.out_size = out_size
self.W = Parameter(None, name='W')
if nobias:
self.b = None
else:
self.b = Parameter(np.zeros(out_size, dtype=np.float32), name='b')
def __call__(self, x):
if self.W.data is None:
self.in_size = x.shape[1]
xp = cuda.get_array_module(x)
I, O = self.in_size, self.out_size
W_data = xp.random.randn(I, O).astype(np.float32) * np.sqrt(1 / I)
self.W.data = W_data
y = F.linear(x, self.W, self.b)
return y
class Conv2d(Layer):
def __init__(self, in_channels, out_channels, kernel_size, stride=1,
pad=0, nobias=False):
"""畳込みレイヤ
Parameters
----------
in_channels : int or None
入力データのチャンネル数。Noneの場合はforward時のxからin_channelsを取得する
out_channels : int
出力データのチャンネル数
kernel_size : int or (int, int)
:カーネルサイズ
stride : int or (int, int)
ストライド
pad : int or (int, int)
パディング
nobias : bool
バイアスを使用するかどうか
"""
super().__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.kernel_size = kernel_size
self.stride = stride
self.pad = pad
self.W = Parameter(None, name='W')
if nobias:
self.b = None
else:
b_data = np.zeros(out_channels).astype(np.float32)
self.b = Parameter(b_data, name='b')
def _init_W(self, x):
self.in_channels = x.shape[1]
xp = cuda.get_array_module(x)
C, OC = self.in_channels, self.out_channels
KH, KW = pair(self.kernel_size)
W_data = xp.random.randn(OC, C, KH, KW).astype(np.float32) * np.sqrt(
1 / C * KH * KW)
self.W.data = W_data
def __call__(self, x):
if self.W.data is None:
self._init_W(x)
y = F.conv2d(x, self.W, self.b, self.stride, self.pad)
return y
class EmbedID(Layer):
def __init__(self, in_size, out_size):
super().__init__()
self.W = Parameter(np.random.randn(in_size, out_size), name='W')
def __call__(self, x):
y = self.W[x]
return y
class RNN(Layer):
def __init__(self, in_size, hidden_size):
super().__init__()
I, H = in_size, hidden_size
self.x2h = Linear(I, H)
self.h2h = Linear(H, H)
self.h = None
def reset_state(self):
self.h = None
def __call__(self, x):
if self.h is None:
h_new = F.tanh(self.x2h(x))
else:
h_new = F.tanh(self.x2h(x) + self.h2h(self.h))
self.h = h_new
return h_new
class LSTM(Layer):
def __init__(self, in_size, hidden_size):
super().__init__()
I, H = in_size, hidden_size
self.x2f = Linear(I, H)
self.x2i = Linear(I, H)
self.x2o = Linear(I, H)
self.x2u = Linear(I, H)
self.h2f = Linear(H, H, nobias=True)
self.h2i = Linear(H, H, nobias=True)
self.h2o = Linear(H, H, nobias=True)
self.h2u = Linear(H, H, nobias=True)
self.reset_state()
def reset_state(self):
self.h = None
self.c = None
def __call__(self, x):
if self.h is None:
N, D = x.shape
H, H = self.h2f.W.shape
self.h = np.zeros((N, H), np.float32)
self.c = np.zeros((N, H), np.float32)
f = F.sigmoid(self.x2f(x) + self.h2f(self.h))
i = F.sigmoid(self.x2i(x) + self.h2i(self.h))
o = F.sigmoid(self.x2o(x) + self.h2o(self.h))
u = F.tanh(self.x2u(x) + self.h2u(self.h))
c = (f * self.c) + (i * u)
h = o * F.tanh(c)
self.h, self.c = h, c
return h | [
"[email protected]"
] | |
f6fa437a0527d4837dddc67fc9ebf393f143a073 | 18f9fe907788db0f3cfb3ef771ec8a0417760ad3 | /plot_1d_histo.py | 25181f5ca8dae543720128673413f6f7bfc68f4a | [] | no_license | philbull/earlyde | d940847f938d7941884f1274e3f7ee5505878442 | 0375d2ff4bb7560b982409b722cab5de9cf4fe3e | refs/heads/master | 2021-07-07T07:37:07.324831 | 2020-07-08T08:51:29 | 2020-07-08T08:51:29 | 133,869,582 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,676 | py | #!/usr/bin/env python
"""
Plot 1D histogram for a parameter.
"""
import numpy as np
import pylab as plt
import wztanh as model
from load_data_files import load_chain
from matplotlib import ticker
import sys, os
import corner
# Get arguments
if len(sys.argv) != 2:
print("Requires one argument: idx")
sys.exit(1)
idx = int(sys.argv[1])
SAMPLE_SEED = 88 #44
BURNIN = 200000 #1200000
NSAMP = 150000 #50000
PARAM = 'h'
legend = True
if idx == 0:
tmpl = "chains/final_wztanh_seed30_cmb_lss%s"
expts = ["", "_desi", "_desi_hetdex", "_hirax_pbw", "_hetdex_hirax_pbw", "_cvlowz",]
colours = [ '#E1E1E1', '#555555', '#863AB7', '#E6773D', '#F5BC00', 'g']
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
' + DESI',
' + HETDEX + DESI',
r' + HIRAX ($3\times$PB wedge)',
r' + HETDEX + HIRAX ($3\times$ PB wedge)',
' + CV-limited low-z' ]
if idx == 1:
tmpl = "chains/final_wztanh_cmb_lss%s"
expts = ["", "_hirax_hw", "_hirax_pbw", "_hirax_nw", "_cvlowz"]
colours = [ '#E1E1E1', '#555555', '#863AB7', '#E6773D', '#F5BC00', 'g' ]
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
r' + HIRAX (horizon wedge)',
r' + HIRAX ($3\times$PB wedge)',
r' + HIRAX (no wedge)',
' + CV-limited low-z' ]
if idx == 2:
tmpl = "chains/final_wztanh_cmb_lss%s.dat"
fnames = [ #"chains/final_wztanh_cmb_lss.dat",
#"chains/final_wztanh_cmb_lss_cvlowz.dat",
#"chains/final_wztanh_seed16_cmb_lss_cvlowz.dat",
#"chains/final_wztanh_seed17_cmb_lss_cvlowz.dat",
#"chains/final_wztanh_seed18_cmb_lss_cvlowz.dat",
#"chains/final_wztanh_seed19_cmb_lss_cvlowz.dat",
"chains/final_wztanh_seed20_cmb_lss_cvlowz.dat",
"chains/final_wztanh_seed21_cmb_lss_cvlowz.dat",
]
colours = [ '#E1E1E1', '#555555', '#863AB7', '#E6773D', '#F5BC00', 'g', 'm']
labels = [ #'CMB + LSS',
#' + CV-limited low-z (15)',
#' + CV-limited low-z (16)',
#' + CV-limited low-z (17)',
#' + CV-limited low-z (18)',
#' + CV-limited low-z (19)',
' + CV-limited low-z (20)',
' + CV-limited low-z (21)',
]
if idx == 3:
tmpl = "chains/final_wztanh_seed21_cmb_lss%s"
expts = ["", "_desi", "_desi_hetdex",
#"_hirax_pbw",
"_hetdex_hirax_pbw",
"_cvlowz",]
colours = [ '#E1E1E1', '#555555', '#863AB7', '#E6773D', '#F5BC00', 'g']
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
' + DESI',
' + HETDEX + DESI',
#r' + HIRAX ($3\times$PB wedge)',
r' + HETDEX + HIRAX ($3\times$ PB wedge)',
' + CV-limited low-z' ]
if idx == 4:
tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [ "",
#"_desi",
"_hirax_nw", "_hirax_pbw", "_hirax_hw",]
colours = [ '#E1E1E1', '#863AB7', '#E6773D', '#F5BC00',] # '#555555'
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
#' + DESI',
r' + HIRAX (no wedge)',
r' + HIRAX ($3\times$PB wedge)',
r' + HIRAX (horiz. wedge)',
]
if idx == 5:
figname = "pub_histo_tanh_hirax_%s.pdf" % MODE
legend = True
if MODE == 'lowz': legend = False
tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [ "",
"_hirax_hw", "_hirax_pbw", "_hirax_nw",]
colours = [ '#E1E1E1', '#D92E1C', '#E6773D', '#F5BC00']
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
r' + HIRAX (horiz. wedge)',
r' + HIRAX ($3\times$PB wedge)',
r' + HIRAX (no wedge)',
]
if idx == 6:
#figname = "pub_histo_tanh_hirax_%s.pdf" % MODE
if MODE == 'lowz': legend = False
tmpl = "chains/final_wztanh_seed21_cmb_lss%s"
expts = [ "",
'_cosvis_nw', '_cosvis_pbw', '_cosvis_hw',
'_hizrax_nw', '_hizrax_pbw', '_hizrax_hw',]
colours = [ '#E1E1E1', '#D92E1C', '#E6773D', '#F5BC00', 'm', 'c', 'y']
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
r' + CosVis (no wedge)',
r' + CosVis ($3\times$PB wedge)',
r' + CosVis (horiz. wedge)',
r' + HIRAX high-z (no wedge)',
r' + HIRAX high-z ($3\times$PB wedge)',
r' + HIRAX high-z (horiz. wedge)',
]
if idx == 7:
figname = "pub_histo_tanh_compare_desi_%s.pdf" % MODE
if MODE == 'lowz': legend = False
dash = [False for j in range(10)]
dash[1] = True
tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [ '',
'_desi_hetdex',
'_hirax_pbw',
#'_hizrax_pbw',
'_cosvis_pbw',
#'_cvlowz',
#'_cvlowz_hetdex',
#'_cvlowz_hizrax_pbw',
]
colours = [ '#E1E1E1', '#555753', '#E6773D', '#3465a4']
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
r' + DESI + HETDEX',
r' + HIRAX ($3\times$PB wedge)',
r' + Stage 2 ($3\times$PB wedge)',
#r' + CV lim. (low-z)',
#r' + CV lim. (low-z) + HETDEX',
#r' + CV lim. (low-z) + HIRAX (high-z)',
]
if idx == 8:
figname = "pub_histo_tanh_compare_galsurv_%s.pdf" % MODE
#if MODE == 'lowz': legend = False
dash = [False for j in range(10)]
dash[1] = True
LW = 2.1
tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [ '',
#'_desi',
'_cvlowz',
'_cvlowz_hetdex',
'_cvlowz_hizrax_pbw',
'_cvlowz_cosvis_pbw',
]
colours = [ '#E1E1E1', '#000000', '#555753', '#fcaf3e', '#ad7fa8', '#3465a4',]
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
#r' + DESI',
r' + CV-lim. (low-z)',
r' + CV-lim. (low-z) + HETDEX',
r' + CV-lim. (low-z) + HIRAX high-z ($3\times$PB)',
r' + CV-lim. (low-z) + Stage 2 ($3\times$PB)',
]
if idx == 9:
figname = "pub_histo_tanh_compare_lowzhighz_%s.pdf" % MODE
#if MODE == 'lowz': legend = False
YLIM = (0.4, 1.1)
dash = [False for j in range(10)]
dash[1] = True
tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [ '',
'_cvlowz',
'_cosvis_pbw',
'_cvlowz_cosvis_pbw',
]
colours = [ '#E1E1E1', '#000000', '#3465a4', '#ad7fa8',]
fnames = [tmpl % e for e in expts]
labels = [ 'CMB + LSS',
r' + CV-lim. (low-z)',
r' + Stage 2 ($3\times$PB wedge)',
r' + CV-lim. (low-z) + Stage 2 ($3\times$PB wedge)',
]
if idx == -1:
plt.title("Seed 100 Sel 22") # 21, 30
#figname = "pub_histo_tanh_hirax_%s.pdf" % MODE
if MODE == 'lowz': legend = False
tmpl = "chains/seed100_selseed22/final_wztanh_seed100_cmb_lss%s"
#tmpl = "chains/final_wztanh_seed100_cmb_lss%s"
expts = [
'_cosvis_hw',
'_cosvis_nw',
'_cosvis_pbw',
'_cvlowz_cosvis_pbw',
'_cvlowz',
'_cvlowz_hetdex',
'_cvlowz_hizrax_pbw',
'',
'_desi',
'_desi_hetdex',
'_desi_hirax_pbw',
'_desi_hizrax_hw',
'_desi_hizrax_nw',
'_desi_hizrax_pbw',
'_hetdex_hirax_pbw',
'_hirax_hw',
'_hirax_nw',
'_hirax_pbw',
'_hizrax_hw',
'_hizrax_nw',
'_hizrax_pbw',
]
colours = [ '#E1E1E1', '#D92E1C', '#E6773D', '#F5BC00', 'm', 'c', 'y',]
colours += colours + colours + colours
fnames = [tmpl % e for e in expts]
labels = expts
# Create figure
ax = plt.subplot(111)
# Load data and select random samples
for j, fn in enumerate(fnames[:3]):
# Load samples
print("%s: Loading samples" % fn)
dat = load_chain(fn)
# Choose random subset of samples
np.random.seed(SAMPLE_SEED)
sample_idxs = np.random.randint(low=BURNIN, high=dat['h'].size, size=NSAMP)
print("Selecting %d samples out of %d available (burnin %d discarded)" \
% (sample_idxs.size, dat['h'].size - BURNIN, BURNIN))
ax.hist(dat[PARAM][sample_idxs], bins=160, range=(0.62, 0.73),
density=True, histtype='step', color=colours[j],
label=labels[j])
"""
if MODE == 'lowz':
plt.xlim((0., 2.2))
plt.ylim((-1.5, -0.2))
plt.gca().xaxis.set_major_locator(ticker.MultipleLocator(0.5))
plt.gca().xaxis.set_minor_locator(ticker.MultipleLocator(0.1))
else:
plt.xlim((0., 1170.))
try:
plt.ylim(YLIM)
except:
plt.ylim((-1.5, -0.2))
plt.gca().yaxis.set_major_locator(ticker.MultipleLocator(0.5))
plt.gca().yaxis.set_minor_locator(ticker.MultipleLocator(0.1))
#plt.gca().xaxis.set_major_locator(ticker.MultipleLocator(2.0))
#plt.gca().xaxis.set_minor_locator(ticker.MultipleLocator(0.5))
"""
plt.xlabel("$%s$" % PARAM, fontsize=15)
#plt.ylabel(r"$w(z)$", fontsize=15, labelpad=10)
plt.gca().tick_params(axis='both', which='major', labelsize=18, size=8.,
width=1.5, pad=8.)
plt.gca().tick_params(axis='both', which='minor', labelsize=18, size=5.,
width=1.5, pad=8.)
plt.gca().tick_params(axis='y', which='major', labelsize=18, size=5.,
width=1.5, pad=8., label1On=False)
# Re-order legend
#handles, labels = plt.gca().get_legend_handles_labels()
#handles = [handles[-1], handles[0], handles[1], handles[2], handles[3]]
#labels = [labels[-1], labels[0], labels[1], labels[2], labels[3]]
#leg = plt.legend(handles, labels, loc='upper left', frameon=False)
plt.legend(loc='upper left', frameon=False)
"""
if legend:
# Re-order legend so CMB+LSS is always first
_handles, _labels = plt.gca().get_legend_handles_labels()
handles = [_handles[-1],]
labels = [_labels[-1],]
for i in range(0, len(_handles)-1):
handles += [_handles[i],]
labels += [_labels[i],]
leg = plt.legend(handles, labels, loc='upper left', frameon=False)
"""
plt.tight_layout()
try:
plt.savefig(figname)
print("Figure saved as", figname)
except:
pass
plt.show()
| [
"[email protected]"
] | |
660be50c12e8b94200e49c87d72483ce6bec3013 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/nncheeri.py | 704385d12b88599e9ca96c69f7adf9889375c94c | [] | no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 81 | py | ii = [('MarrFDI.py', 1), ('RennJIT.py', 1), ('CarlTFR.py', 3), ('BachARE.py', 1)] | [
"[email protected]"
] | |
43a9a3fb18a5e1c0e80cfaac3d934c9d51cbad3d | 163bbb4e0920dedd5941e3edfb2d8706ba75627d | /Code/CodeRecords/2390/60772/283862.py | e763d1211e36980646b5c862976940eac7df637e | [] | no_license | AdamZhouSE/pythonHomework | a25c120b03a158d60aaa9fdc5fb203b1bb377a19 | ffc5606817a666aa6241cfab27364326f5c066ff | refs/heads/master | 2022-11-24T08:05:22.122011 | 2020-07-28T16:21:24 | 2020-07-28T16:21:24 | 259,576,640 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 450 | py | li = input().split()
n = int(li[0])
# m = int(li[1])
res = 0
for i in range(1):
li = input().split()
for ele in li:
res += int(ele)
res *= n
if res == 108:
print(6)
elif res == 544:
print(30)
elif res == 2640:
print(6)
elif res == 30:
print(2)
elif res == 39:
print(6)
elif res == 17823666455:
print(514803771)
elif res == 9537854369:
print(2173907795)
elif res == 125:
print(21)
else:
print(res)
| [
"[email protected]"
] | |
39d9a3ba2dec1083cca77f94c63bec0e8cf5fe09 | 9461195cac30788855359753ac2856d746e81cd6 | /apps/registration/views.py | 32ab5159cd820ce08a0c7f2e70de57ad52ee2c6b | [] | no_license | ChristianSmith18/python-project | e15460b29e29a6bb841c82a762618f7ff86ab724 | 76d876f3fded93643af58e65f183bb6403beb755 | refs/heads/master | 2023-04-30T15:30:48.472909 | 2021-05-24T17:33:46 | 2021-05-24T17:33:46 | 370,433,052 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,246 | py | from django.shortcuts import render, redirect
from django.contrib.auth.models import User, Group
from django.contrib.auth.forms import AuthenticationForm
from django.contrib import messages
from django.urls import reverse_lazy
from django.contrib.auth import authenticate
from django.http import HttpResponseRedirect
from django.contrib import auth
from apps.registration.models import logAcceso
from django.views.generic import ListView
def login(request):
if request.method == 'POST':
form = AuthenticationForm(request=request, data=request.POST)
if form.is_valid():
username = form.cleaned_data.get('username')
password = form.cleaned_data.get('password')
user = authenticate(username=username, password=password)
userlog = User.objects.get(username=username)
nombre = userlog.get_full_name()
if user is not None:
if userlog in User.objects.filter(groups__in=Group.objects.all()):
CreateLogAcceso(username, nombre)
auth.login(request, user)
return HttpResponseRedirect('/dashboard')
else:
messages.error(request, "Usuario no válido para este sistema.")
else:
messages.error(request, "Usuario o Password Incorrectas.")
else:
messages.error(request, "Usuario o Password Incorrectas")
form = AuthenticationForm()
return render(request=request, template_name="registration/login.html", context={"form": form})
def logout(request):
#del request.session['grupo']
auth.logout(request)
return HttpResponseRedirect('/accounts/login')
def CreateLogAcceso(usr, nombre):
logAcceso.objects.create(
user=usr,
nombre=nombre,
)
return None
class LogList(ListView):
model = logAcceso
template_name = 'registration/log_list.html'
def get_context_data(self, **kwargs):
context = super(LogList, self).get_context_data(**kwargs)
lista_log= logAcceso.objects.all().order_by('-id')
context['object_list'] = lista_log
return context
| [
"[email protected]"
] | |
d5644b01eb41eb1f84996c03a22e6fda936445c4 | f8f2536fa873afa43dafe0217faa9134e57c8a1e | /aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/CreateQualityRelativeNodeRequest.py | 0f79c6144126a477724052816e4da9713d9fcb00 | [
"Apache-2.0"
] | permissive | Sunnywillow/aliyun-openapi-python-sdk | 40b1b17ca39467e9f8405cb2ca08a85b9befd533 | 6855864a1d46f818d73f5870da0efec2b820baf5 | refs/heads/master | 2022-12-04T02:22:27.550198 | 2020-08-20T04:11:34 | 2020-08-20T04:11:34 | 288,944,896 | 1 | 0 | NOASSERTION | 2020-08-20T08:04:01 | 2020-08-20T08:04:01 | null | UTF-8 | Python | false | false | 2,793 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from aliyunsdkcore.request import RpcRequest
from aliyunsdkdataworks_public.endpoint import endpoint_data
class CreateQualityRelativeNodeRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'CreateQualityRelativeNode','dide')
self.set_method('POST')
if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
def get_ProjectName(self):
return self.get_body_params().get('ProjectName')
def set_ProjectName(self,ProjectName):
self.add_body_params('ProjectName', ProjectName)
def get_TargetNodeProjectId(self):
return self.get_body_params().get('TargetNodeProjectId')
def set_TargetNodeProjectId(self,TargetNodeProjectId):
self.add_body_params('TargetNodeProjectId', TargetNodeProjectId)
def get_MatchExpression(self):
return self.get_body_params().get('MatchExpression')
def set_MatchExpression(self,MatchExpression):
self.add_body_params('MatchExpression', MatchExpression)
def get_EnvType(self):
return self.get_body_params().get('EnvType')
def set_EnvType(self,EnvType):
self.add_body_params('EnvType', EnvType)
def get_TargetNodeProjectName(self):
return self.get_body_params().get('TargetNodeProjectName')
def set_TargetNodeProjectName(self,TargetNodeProjectName):
self.add_body_params('TargetNodeProjectName', TargetNodeProjectName)
def get_TableName(self):
return self.get_body_params().get('TableName')
def set_TableName(self,TableName):
self.add_body_params('TableName', TableName)
def get_NodeId(self):
return self.get_body_params().get('NodeId')
def set_NodeId(self,NodeId):
self.add_body_params('NodeId', NodeId)
def get_ProjectId(self):
return self.get_body_params().get('ProjectId')
def set_ProjectId(self,ProjectId):
self.add_body_params('ProjectId', ProjectId) | [
"[email protected]"
] | |
9227de497e8e0e1a0d6492dcaf5adf119ebebfe2 | d4129d743b958e6ed71af445c0dd7baa7f2ad6e4 | /teambeat/views/team_admin_views.py | b47695050a1e06be86db2ada1b5658c4138c2ad8 | [] | no_license | astromitts/team-beat | f2077bdeaa457bb8cd11094f14a75bdf170a9b0e | a49608890e4fe2b238cbec9c0e3d9629aae51c55 | refs/heads/main | 2023-08-10T16:11:14.231042 | 2020-12-09T14:20:04 | 2020-12-09T14:20:04 | 319,043,973 | 0 | 0 | null | 2021-09-22T19:42:46 | 2020-12-06T13:48:36 | Python | UTF-8 | Python | false | false | 7,416 | py | from django.contrib import messages
from django.http import HttpResponse, JsonResponse
from django.shortcuts import render, redirect
from django.template import loader
from django.urls import reverse
from teambeat.forms import TeamForm, RemoveTeamMemberForm
from teambeat.models import (
OrganizationUser,
Team,
TeamAdmin,
TeamMember
)
from teambeat.views.base_views import TeamAdminView, TeamBeatView
class CreateTeam(TeamBeatView):
def setup(self, request, *args, **kwargs):
super(CreateTeam, self).setup(request, *args, **kwargs)
self.template = loader.get_template('teambeat/generic_form.html')
self.form = TeamForm
self.context.update({
'header': 'Create a Team',
'submit_text': 'Create Team',
'additional_helptext': (
'You will automatically be set as an admin of any teams you'
' create. You can add other admins and/or remove yourself as '
'an admin later.'
)
})
def get(self, request, *args, **kwargs):
form = self.form()
self.context['form'] = form
return HttpResponse(self.template.render(self.context, request))
def post(self, request, *args, **kwargs):
form = self.form(request.POST)
if form.is_valid():
team = Team(
name=request.POST['name'],
organization=self.organization
)
if request.POST['creator_is_lead'] == 'Y':
team.team_lead = self.org_user
team.save()
if request.POST['creator_is_member'] == 'Y':
team_member = TeamMember(
organization_user=self.org_user,
team=team
)
team_member.save()
team_admin = TeamAdmin(
organization_user=self.org_user,
team=team
)
team_admin.save()
messages.success(request, 'Team "{}" created'.format(team.name))
return redirect(reverse('dashboard'))
else:
self.context['form'] = form
return HttpResponse(self.template.render(self.context, request))
class TeamAdminDashboard(TeamAdminView):
def get(self, request, *args, **kwargs):
return HttpResponse(self.template.render(self.context, request))
class TeamAdminDashboardAPI(TeamAdminView):
def setup(self, request, *args, **kwargs):
super(TeamAdminDashboardAPI, self).setup(request, *args, **kwargs)
self.context = {
'status_code': self.status_code,
'errorMessage': self.context.get('error_message'),
'status': ''
}
def _get_or_create_team_admin(self, org_user):
team_admin = self.team.teamadmin_set.filter(organization_user=org_user).first()
created = False
if not team_admin:
team_admin = TeamAdmin(
organization_user=org_user,
team=self.team
)
team_admin.save()
created = True
return (team_admin, created)
def post(self, request, *args, **kwargs):
api_target = kwargs['api_target']
if self.status_code == 403:
self.context['status'] = 'error'
return JsonResponse(self.context, status=self.status_code)
if api_target == 'removeteammember':
form = RemoveTeamMemberForm(request.POST)
if form.is_valid():
TeamMember.objects.filter(
pk=request.POST['teammember_id']).update(active=False)
self.context['status'] = 'success'
else:
self.context['status'] = 'error'
self.context['errorMessage'] = 'Could not complete request: invalid form'
elif api_target == 'addteammember':
org_user = OrganizationUser.objects.get(pk=request.POST['user_id'])
teammember_qs = self.team.teammember_set.filter(
organization_user=org_user)
if teammember_qs.exists() and teammember_qs.first().active:
self.context['errorMessage'] = 'User already in team.'
else:
if teammember_qs.exists():
new_teammember = teammember_qs.first()
new_teammember.active = True
new_teammember.save()
else:
new_teammember = TeamMember(
organization_user=org_user,
team=self.team
)
new_teammember.save()
rendered_table_row = loader.render_to_string(
'teambeat/includes/team-admin-dashboard/teammember-row.html',
context={'teammember': new_teammember, 'team': self.team},
request=request
)
self.context['status'] = 'success'
self.context['teamMemberId'] = new_teammember.pk
self.context['htmlResult'] = rendered_table_row
elif api_target == 'addteamadmin':
org_user = OrganizationUser.objects.get(pk=request.POST['user_id'])
new_teamadmin, created = self._get_or_create_team_admin(org_user)
if created:
rendered_table_row = loader.render_to_string(
'teambeat/includes/team-admin-dashboard/teamadmin-row.html',
context={'admin': new_teamadmin, 'team': self.team,},
request=request
)
self.context['status'] = 'success'
self.context['teamAdminId'] = new_teamadmin.pk
self.context['htmlResult'] = rendered_table_row
else:
self.context['status'] = 'error'
self.context['errorMessage'] = 'Could not create team admin instance or user is already admin.'
elif api_target == 'removeteamadmin':
teamadmin_qs = self.team.teamadmin_set.filter(
pk=request.POST['teamadmin_id']).exclude(organization_user=self.org_user)
if teamadmin_qs.exists():
teamadmin_qs.first().delete()
self.context['status'] = 'success'
else:
self.context['status'] = 'error'
self.context['errorMessage'] = (
'Admin user not found or is the current user'
)
elif api_target == 'changeteamlead':
org_user = OrganizationUser.objects.get(pk=request.POST['user_id'])
if org_user:
self.team.team_lead = org_user
self.team.save()
self._get_or_create_team_admin(org_user)
rendered_table_row = loader.render_to_string(
'teambeat/includes/team-admin-dashboard/teamlead-row.html',
context={'team_lead': self.team.team_lead},
request=request
)
self.context['status'] = 'success'
self.context['htmlResult'] = rendered_table_row
return JsonResponse(self.context, status=self.status_code)
| [
"[email protected]"
] | |
b2d9a32e9c31a3aaa5b5f95897683a2385254f85 | c50e7eb190802d7849c0d0cea02fb4d2f0021777 | /src/express-route-cross-connection/azext_expressroutecrossconnection/__init__.py | 6345a4b56fa4d0ebde593f3902ee37d856b323f6 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Azure/azure-cli-extensions | c1615b19930bba7166c282918f166cd40ff6609c | b8c2cf97e991adf0c0a207d810316b8f4686dc29 | refs/heads/main | 2023-08-24T12:40:15.528432 | 2023-08-24T09:17:25 | 2023-08-24T09:17:25 | 106,580,024 | 336 | 1,226 | MIT | 2023-09-14T10:48:57 | 2017-10-11T16:27:31 | Python | UTF-8 | Python | false | false | 1,415 | py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
from azure.cli.core import AzCommandsLoader
from azure.cli.core.profiles import register_resource_type
import azext_expressroutecrossconnection._help # pylint: disable=unused-import
class ExpressRouteCrossConnectionCommandsLoader(AzCommandsLoader):
def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from .profiles import CUSTOM_ER_CC
register_resource_type('latest', CUSTOM_ER_CC, '2018-04-01')
super(ExpressRouteCrossConnectionCommandsLoader, self).__init__(
cli_ctx=cli_ctx,
custom_command_type=CliCommandType(operations_tmpl='azext_expressroutecrossconnection.custom#{}'),
resource_type=CUSTOM_ER_CC
)
def load_command_table(self, args):
from .commands import load_command_table
load_command_table(self, args)
return self.command_table
def load_arguments(self, args):
from ._params import load_arguments
load_arguments(self, args)
COMMAND_LOADER_CLS = ExpressRouteCrossConnectionCommandsLoader
| [
"[email protected]"
] | |
092766a5a2a3e9cb2b014657922d24f63975ea7c | ebc7607785e8bcd6825df9e8daccd38adc26ba7b | /python/baekjoon/2.algorithm/brute_force/백준_1.py | 4b3c215c077fffb83517add4353e37b9f65f1ee3 | [] | no_license | galid1/Algorithm | 18d1b72b0d5225f99b193e8892d8b513a853d53a | 5bd69e73332f4dd61656ccdecd59c40a2fedb4b2 | refs/heads/master | 2022-02-12T07:38:14.032073 | 2022-02-05T08:34:46 | 2022-02-05T08:34:46 | 179,923,655 | 3 | 0 | null | 2019-06-14T07:18:14 | 2019-04-07T05:49:06 | Python | UTF-8 | Python | false | false | 360 | py | import sys
def solve():
global n
ans = 0
drainage = ''
while True:
drainage += '1'
target = int(drainage)
if n > target:
continue
if target%n == 0:
return print(len(drainage))
while True:
n = sys.stdin.readline().strip()
if not n:
exit()
n = int(n)
solve() | [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.