-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor(eos_designs): Move eos_designs Python modules to PyAVD (#4120)
- Loading branch information
1 parent
216934f
commit 765f599
Showing
148 changed files
with
1,173 additions
and
938 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_facts/MOVED_TO_PYAVD.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The eos_designs_facts Python module has been moved to PyAVD in the folder /python-avd/pyavd/_eos_designs/eos_designs_facts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# Configuration applied to collection by ansible-test | ||
# https://github.com/ansible/ansible/blob/devel/test/lib/ansible_test/_data/sanity/pylint/config/collection.cfg | ||
|
||
[MASTER] | ||
ignore-paths= | ||
# The cv_client api is generated from proto files, so it should not be linted. | ||
plugins/plugin_utils/cv_client/api/ | ||
|
||
[MESSAGES CONTROL] | ||
disable= | ||
abstract-method, | ||
access-member-before-definition, | ||
arguments-differ, | ||
assignment-from-no-return, | ||
assignment-from-none, | ||
attribute-defined-outside-init, | ||
bad-indentation, | ||
bad-mcs-classmethod-argument, | ||
broad-except, | ||
c-extension-no-member, | ||
cell-var-from-loop, | ||
chained-comparison, | ||
comparison-with-callable, | ||
consider-iterating-dictionary, | ||
consider-merging-isinstance, | ||
consider-using-dict-comprehension, | ||
consider-using-enumerate, | ||
consider-using-get, | ||
consider-using-in, | ||
consider-using-set-comprehension, | ||
consider-using-ternary, | ||
deprecated-method, | ||
deprecated-module, | ||
eval-used, | ||
exec-used, | ||
expression-not-assigned, | ||
fixme, | ||
function-redefined, | ||
global-statement, | ||
global-variable-undefined, | ||
import-error, | ||
import-self, | ||
inconsistent-return-statements, | ||
invalid-envvar-default, | ||
invalid-name, | ||
invalid-sequence-index, | ||
keyword-arg-before-vararg, | ||
len-as-condition, | ||
line-too-long, | ||
literal-comparison, | ||
locally-disabled, | ||
method-hidden, | ||
missing-docstring, | ||
no-else-raise, | ||
no-else-return, | ||
no-member, | ||
no-name-in-module, | ||
no-value-for-parameter, | ||
non-iterator-returned, | ||
not-a-mapping, | ||
not-an-iterable, | ||
not-callable, | ||
pointless-statement, | ||
pointless-string-statement, | ||
possibly-unused-variable, | ||
protected-access, | ||
redefined-argument-from-local, | ||
redefined-builtin, | ||
redefined-outer-name, | ||
reimported, | ||
relative-beyond-top-level, # https://github.com/PyCQA/pylint/issues/2967 | ||
signature-differs, | ||
simplifiable-if-expression, | ||
simplifiable-if-statement, | ||
subprocess-popen-preexec-fn, | ||
super-init-not-called, | ||
superfluous-parens, | ||
too-few-public-methods, | ||
too-many-ancestors, | ||
too-many-arguments, | ||
too-many-boolean-expressions, | ||
too-many-branches, | ||
too-many-function-args, | ||
too-many-instance-attributes, | ||
too-many-lines, | ||
too-many-locals, | ||
too-many-nested-blocks, | ||
too-many-public-methods, | ||
too-many-return-statements, | ||
too-many-statements, | ||
trailing-comma-tuple, | ||
trailing-comma-tuple, | ||
try-except-raise, | ||
unbalanced-tuple-unpacking, | ||
undefined-loop-variable, | ||
unexpected-keyword-arg, | ||
ungrouped-imports, | ||
unidiomatic-typecheck, | ||
unnecessary-pass, | ||
unsubscriptable-object, | ||
unsupported-assignment-operation, | ||
unsupported-delete-operation, | ||
unsupported-membership-test, | ||
unused-argument, | ||
unused-import, | ||
unused-variable, | ||
used-before-assignment, | ||
useless-object-inheritance, | ||
useless-return, | ||
useless-super-delegation, | ||
wrong-import-order, | ||
wrong-import-position, | ||
|
||
[BASIC] | ||
bad-names=foo, | ||
bar, | ||
baz, | ||
toto, | ||
tutu, | ||
tata, | ||
_, | ||
|
||
good-names=i, | ||
j, | ||
k, | ||
ex, | ||
Run, | ||
|
||
[TYPECHECK] | ||
ignored-modules= | ||
_MovedItems, |
1 change: 1 addition & 0 deletions
1
ansible_collections/arista/avd/roles/eos_designs/python_modules/MOVED_TO_PYAVD.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
All Python modules have been moved to PyAVD in the folder /python-avd/pyavd/_eos_designs/structured_config/ |
6 changes: 0 additions & 6 deletions
6
ansible_collections/arista/avd/roles/eos_designs/python_modules/base/__init__.py
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...e_collections/arista/avd/roles/eos_designs/python_modules/connected_endpoints/__init__.py
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...tions/arista/avd/roles/eos_designs/python_modules/core_interfaces_and_l3_edge/__init__.py
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...s/arista/avd/roles/eos_designs/python_modules/custom_structured_configuration/__init__.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.